Commit Graph

25 Commits

Author SHA1 Message Date
rr- fcbfa90879 serevr/tags: fix search by post count and category 2016-05-09 22:36:29 +02:00
rr- 339c9a3333 server/tags: reduce number of queries
On a test page with 50 tags, 158 queries were reduced to 3:

1. Get the authenticated user
2. Get tags for given page
3. Count all tags

Looks just about right.
2016-05-08 20:33:16 +02:00
rr- 58964bcdc9 server/posts: add post listing 2016-05-07 21:50:37 +02:00
rr- da5b32feeb server/users: fix hiding email from admins etc 2016-04-29 13:16:16 +02:00
rr- 0b47957bb9 server/comments: add comment search 2016-04-24 11:56:14 +02:00
rr- a30886cc70 server/search: rename order: to sort: 2016-04-22 19:37:58 +02:00
rr- 2e57a0746f server/general: consistently use db.session 2016-04-19 18:10:22 +02:00
rr- 1597ae7c5c server/db: refactor session usage 2016-04-18 23:06:51 +02:00
rr- e8a9c4ad51 server/db: fix ambiguous names 2016-04-18 19:24:09 +02:00
rr- 9ac70dbed4 server/tags: simplify relations model 2016-04-17 12:54:31 +02:00
rr- cecab3caf0 server/tests: fix test name 2016-04-17 10:08:11 +02:00
rr- 0bc45e9c45 server/search: support -min and -max suffixes 2016-04-17 08:31:46 +02:00
rr- 61d2fb88ea server/tags: add tag listing 2016-04-16 21:24:09 +02:00
rr- c71c082000 server/search: fix missing default search order 2016-04-16 18:55:04 +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- b5e9f37450 server/search: protect against weird page numbers 2016-04-14 21:50:59 +02:00
rr- 35c549493c server/users: support wildcards in user search 2016-04-14 21:50:59 +02:00
rr- 0b5f436f40 server/users: sort by name by default 2016-04-11 21:43:58 +02:00
rr- d97a332d23 server/api: let users control page size 2016-04-10 22:14:25 +02:00
rr- b6df2ed903 server/search: prefer hyphens to underscores 2016-04-09 08:58:06 +02:00
rr- c46dc08c1b server/tests: fix pylint score 2016-04-06 22:48:45 +02:00
rr- 19a357611b server: rename 'access ranks' to just 'ranks' 2016-04-06 19:16:44 +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