Commit graph

18 commits

Author SHA1 Message Date
azivner
734b45dc67 returning 401 for unauthorized API calls while redirecting to /login for unauthorized page access 2017-09-30 18:38:22 -04:00
azivner
ff58456332 basic conflict detection based on the audit log 2017-09-29 00:17:28 -04:00
azivner
8ec2c6c338 api for history 2017-09-20 22:30:11 -04:00
azivner
1d395badfa password now encrypts random "data key" which is then used for encryption of the actual data 2017-09-16 23:21:46 -04:00
azivner
5b84487aac encryption timeout is now configurable in the db 2017-09-12 23:04:17 -04:00
azivner
b4f9fc3a5e username, password and flask_secret_key are now persisted in database 2017-09-12 21:06:09 -04:00
azivner
1f19c9cd0d password is loaded on the fly so it's not necessary to restart app for the changes to take place (if no re-encryption is done) 2017-09-09 14:25:35 -04:00
azivner
c06c837904 password is moved out of config file into separate generated file 2017-09-09 14:21:57 -04:00
azivner
eff67cbf27 login uses my_scrypt to reuse the same scrypt code 2017-09-09 13:57:01 -04:00
azivner
b83f090486 password change (reencryption) 2017-09-09 13:53:58 -04:00
azivner
9ba958205d frontend now generates two scrypt hashes with different salts - one for verification and one for encryption. Lowered complexity to half to not affect frontend performance. 2017-09-08 20:55:24 -04:00
azivner
87c1a95ccc verifying password with hash on the backend to make sure we don't decrypt garbage and also to make sure that everything is encrypted with same password/key 2017-09-05 21:22:16 -04:00
azivner
c16ed9546b got rid of flask_restful and using plain flask to handle REST API calls 2017-08-30 23:07:45 -04:00
azivner
361e69d236 node filtering now scans also note content (using backend) 2017-08-29 22:58:44 -04:00
azivner
e6c759e476 https can be disabled 2017-08-16 20:48:40 -04:00
azivner
c5660986d6 path to document file is now configurable, flask secret is now also taken from configuration 2017-08-15 22:57:44 -04:00
azivner
3c924afbca configurable port plus support for SSL 2017-08-14 21:05:01 -04:00
azivner
191f70477c app broken up into individual files/modules 2017-08-13 19:43:33 -04:00