Last week I had a special task. I had to implement file uploading.
Well, you might say, what is so special about that?
So, I has to be able to upload huge files (GBs) in reliable and background manner.
I use angular.js for the client side so I searched for a solution that has no dependency (like JQuery).
So I need something that:
can upload file in chunks
can resume upload ofter connection loss (user does not want to reupload 50GB file after connection loss in 99% :)
can run without user interaction and can run in background
does not have any dependency on libs that I do not need
I found tus.io, a protocol that meet the first 2 requirements.
There are already some implementation but no angular specific.
That is why I wrote angular-tus-io.
It uses angular $http service and HTML5 File API for chunk creation.
Node.js is on server so I firstly looked at brewtus.
But I did not like structure of code so I have rewritten it as well.
Now it can be used as express application.
It has some other features.
E.g. you can say what filename to store particular file under on server.
Check it out on github.com/vencax/brewtus.
I have discovered Netlify CMS, great CMS application for statically generated webs.
It’s build with react and redux (pitty, I prefer MobX, but :),
is modularized, already has build in support for github-pages based web
and most important is fact that it can be compiled and the resulting files can put next to your pages and be served as another page of your web.
After long period I have finished another version of eduit project.
It uses SQL database as user storage because I believe that LDAP is pain in ..
Server uses libnssmysql for user SAM, but samba has its own user backend, FUUU!
Yesterday I have upgraded postgress server packages on my server.
It has not started anymore so I have begun searching why.
The log told me that I use data created for old version of postgress.
So the migration journey begun.