Commit Graph

48 Commits

Author SHA1 Message Date
rr- 1476c84a9d server/posts: add featured post retrieval 2016-04-23 08:07:21 +02:00
rr- cf00a3a2de server/posts: add post featuring 2016-04-22 20:58:04 +02:00
rr- a67a5069b7 server/info: implement simple global info
For now it returns total post count and disk usage. To reduce stress on
the file system, the disk usage is cached for an hour.
2016-04-21 19:48:47 +02:00
rr- 46ee9faf72 server/snapshots: add snapshot lists 2016-04-21 19:27:30 +02:00
rr- 97bd935bb6 server/tags: add listing tag siblings 2016-04-20 21:31:46 +02:00
rr- 747c730688 server/tags: add tag merging 2016-04-20 19:02:39 +02:00
rr- a926838b90 server/general: rename 'misc' to 'util' 2016-04-20 11:59:46 +02:00
rr- 57b18c6461 server/general: rename 'util' to 'func' 2016-04-20 11:58:17 +02:00
rr- 661c0248d2 server/api: return snapshots to client 2016-04-20 11:15:46 +02:00
rr- 2e57a0746f server/general: consistently use db.session 2016-04-19 18:10:22 +02:00
rr- fe56e376f6 server/tags: export also tag categories 2016-04-19 15:51:26 +02:00
rr- 884747bbbd server/tags: prohibit deleting last tag category 2016-04-19 13:10:07 +02:00
rr- 58838f8bd9 server/tests: refactor tests 2016-04-19 13:01:50 +02:00
rr- 2fba374e65 server/tags: introduce tag category API 2016-04-19 12:05:14 +02:00
rr- 83784c5e76 server/api: improve input sanitization, fix docs 2016-04-19 11:55:31 +02:00
rr- 7263849fac server/tags: make creating tag relations optional 2016-04-19 00:18:52 +02:00
rr- 1597ae7c5c server/db: refactor session usage 2016-04-18 23:06:51 +02:00
rr- e3a4793d54 server/tags: move tag categories to database 2016-04-18 22:08:30 +02:00
rr- 1c064778c6 server/tests: adapt freezegun
The reason why this is added to the project is because it has turned out
mocking the time is not as trivial as I originally anticipated
(specifically, there are some problems with SQLite).
2016-04-18 19:42:24 +02:00
rr- e42cede27c server/users: allow rank+avatar when creating user 2016-04-17 19:02:39 +02:00
rr- bc15fb6675 server/posts: add sketch of post table 2016-04-17 16:35:31 +02:00
rr- 9ac70dbed4 server/tags: simplify relations model 2016-04-17 12:54:31 +02:00
rr- 470ff70f91 server/tests: use common fixtures in pw reset test 2016-04-17 12:54:30 +02:00
rr- 9247e11596 server/tags: add JSON export 2016-04-16 23:05:31 +02:00
rr- fa6b808659 server/tags: add single tag retrieving 2016-04-16 17:26:10 +02:00
rr- 37a86816af server/tags: add tag deleting 2016-04-16 17:03:28 +02:00
rr- e4239a199c server/api: refactor + remove ID from user JSON 2016-04-16 15:49:21 +02:00
rr- adecdd4cd9 server/tags: add tag updating 2016-04-16 13:41:19 +02:00
rr- 9e873145a4 server/tags: add tag creating 2016-04-16 09:19:55 +02:00
rr- 063b0c4799 server/context: add get_param_as_list 2016-04-15 23:26:38 +02:00
rr- 3d4ceb13b8 server/api: move all io mgmt to context
where input/output includes files, JSON metadata and GET parameters.
Additionally, formalize context with a new class, Context.
2016-04-15 23:26:38 +02:00
rr- 07ea920def server/tests: switch to pytest 2016-04-15 18:00:06 +02:00
rr- 7f8c2cfa00 server/tests: test uploading avatar 2016-04-14 21:50:59 +02:00
rr- d97a332d23 server/api: let users control page size 2016-04-10 22:14:25 +02:00
rr- e8aeb11081 server/users: add avatar support 2016-04-09 22:38:57 +02:00
rr- 450a61c1e1 server/users: add user removal 2016-04-09 09:21:56 +02:00
rr- 8023c29c0e server/search: fix case in result JSON 2016-04-09 08:58:24 +02:00
rr- ee28d95537 server/users: first user becomes an admin 2016-04-08 19:46:59 +02:00
rr- 8be93f6c70 client/users: add user view prototype 2016-04-07 00:08:18 +02:00
rr- c46dc08c1b server/tests: fix pylint score 2016-04-06 22:48:45 +02:00
rr- 55cc7b59e4 client+server: switch to yaml config 2016-04-06 22:36:04 +02:00
rr- 19a357611b server: rename 'access ranks' to just 'ranks' 2016-04-06 19:16:44 +02:00
rr- 92dd958866 client+server: finish password reminders 2016-04-06 17:56:34 +02:00
rr- 1fb2f53914 server/users: make user names case insensitive 2016-04-06 17:34:01 +02:00
rr- ad6750a055 server/users: improve api coverage in tests 2016-04-05 15:15:31 +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- 1ed17a2046 server/users: add editing users 2016-04-03 18:13:22 +02:00