Commit Graph

29 Commits

Author SHA1 Message Date
rr- 731c0442e9 server/search: change named token detection
In particular, treat tokens starting with : as anonymous tokens.
2016-05-24 10:29:14 +02:00
rr- 172b956e48 server/search: permit search for tags by alias 2016-05-11 23:47:50 +02:00
rr- 6179f016ae server/search: make searches case insensitive 2016-05-11 23:47:50 +02:00
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- 0b20132a2f server/api + docs/api: organize responses 2016-04-28 18:20:50 +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- 46ee9faf72 server/snapshots: add snapshot lists 2016-04-21 19:27:30 +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- 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- 1597ae7c5c server/db: refactor session usage 2016-04-18 23:06:51 +02:00
rr- 08271caf32 server/search: rename search criterion 2016-04-17 18:17:18 +02:00
rr- c957befbd0 server/search: simplify virtual token mappings 2016-04-17 18:17:18 +02:00
rr- bc15fb6675 server/posts: add sketch of post table 2016-04-17 16:35:31 +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- 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- 219ab7c2c3 server/general: be more pythonic 2016-04-03 23:21:22 +02:00