Commit Graph

24 Commits

Author SHA1 Message Date
Shyam Sunder 6de0a74257 server/config: fix deprecated database string format 2022-02-08 09:58:56 -05:00
Shyam Sunder e656a3c46a server/docker: unify test and main Dockerfiles 2020-08-28 14:43:10 -04:00
Shyam Sunder 57193b5715 client+server: implement code autoformatting using prettier and black 2020-06-06 08:58:23 -04:00
Shyam Sunder ea623449e7 server: format code to flake8 2020-06-05 10:02:18 -04:00
Shyam Sunder 1a8de9ef3a all: purge remaining elasticsearch artifacts 2020-03-13 22:45:11 -04:00
Shyam Sunder e3401b3993 server/config: gracefully handle bad config files 2020-03-13 13:17:41 -04:00
Shyam Sunder 54eab0aa35 server/image-hash: optionally allow for elasticsearch authentication 2019-09-15 16:50:47 -04:00
Shyam Sunder 26127eaaf5 server/config: use safer YAML loader
Fixes #254
2019-04-27 18:08:47 -04:00
Shyam Sunder cbf67587e2 client: Some minor fixups to base URL feature
* Cleanup cookie storage path
* Cleanup Data URL
2018-08-23 21:04:19 +02:00
rr- 8da22cbd5e server: fix paths to config 2018-08-03 21:04:23 +02:00
Shyam Sunder 6a6c4dc822 build: add Docker functionality and documentation 2018-07-25 13:39:57 +02:00
rr- ad842ee8a5 server: refactor + add type hinting
- Added type hinting (for now, 3.5-compatible)
- Split `db` namespace into `db` module and `model` namespace
- Changed elastic search to be created lazily for each operation
- Changed to class based approach in entity serialization to allow
  stronger typing
- Removed `required` argument from `context.get_*` family of functions;
  now it's implied if `default` argument is omitted
- Changed `unalias_dict` implementation to use less magic inputs
2017-02-05 16:34:45 +01:00
rr- 9aea55e3d1 server/general: embrace most of PEP8
Ignored only the rules about continuing / hanging indentation.

Also, added __init__.py to tests so that pylint discovers them. (I don't
buy pytest's BS about installing your package.)
2016-08-14 16:44:03 +02:00
rr- cecf620126 server/config: move config validation to app.py 2016-05-10 12:15:33 +02:00
rr- 198cb0af3e server/users: hardcode available ranks 2016-05-08 16:59:25 +02:00
rr- e3a4793d54 server/tags: move tag categories to database 2016-04-18 22:08:30 +02:00
rr- e4239a199c server/api: refactor + remove ID from user JSON 2016-04-16 15:49:21 +02:00
rr- 9e873145a4 server/tags: add tag creating 2016-04-16 09:19:55 +02:00
rr- e8aeb11081 server/users: add avatar support 2016-04-09 22:38:57 +02:00
rr- 55cc7b59e4 client+server: switch to yaml config 2016-04-06 22:36:04 +02:00
rr- 219ab7c2c3 server/general: be more pythonic 2016-04-03 23:21:22 +02:00
rr- 2578a297bf server/general: improve pylint score
+ incorporate some in-house rules - no more useless doc strings...
2016-04-03 19:17:54 +02:00
rr- 9ce67b64ed server/api: add password reminders 2016-04-03 18:26:16 +02:00
rr- e487adcc97 split files into client/ and server/ 2016-04-01 18:48:16 +02:00