Commit Graph

1149 Commits

Author SHA1 Message Date
rr-
25de62411f client/tags: improve table appearance 2016-05-09 11:21:09 +02:00
rr-
29b0fde9a7 client/paging: improve endless paging
- Change page number indicator
- Remove most of the scrolling cruft as it has no chance of working
  anyway, thanks to our benevolent browsers
- Scroll to page header if the page is not the first one (I'm surprised
  this even works)
- Use promises rather than timers
- Simplify top page detection using .elementFromPoint rather than
  iterating over all pages. Coincidentally, this seems to work slightly
  better
2016-05-09 11:17:26 +02:00
rr-
f39e58b1bc server/db: create indexes 2016-05-09 09:43:00 +02:00
rr-
4558557656 server/tools: add parallelism to content import 2016-05-09 09:42:31 +02:00
rr-
356d5050fd server/tools: add v1.x migration script 2016-05-08 23:26:46 +02:00
rr-
2330cf017d server/db: fix mappings
Post notes had mixed up column types. I fixed that and at the same time,
I took the opportunity to convert everything into Unicode. Also, I've
changed existing migrations rather than creating new ones - it's not
like we're even close to alpha...
2016-05-08 22:18:13 +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-
d813601d92 server/api: log queries in debug mode 2016-05-08 20:33:16 +02:00
rr-
7610761ec8 client/general: add nprogress to API calls 2016-05-08 18:59:11 +02:00
rr-
f083e5fdc8 client/general: scroll to top on page change 2016-05-08 18:56:08 +02:00
rr-
906eddc61f server/users: change avatars to PNG 2016-05-08 18:04:06 +02:00
rr-
da1386c7d2 client/auth: forget user when they try to log in
This is to let user log in if their login cookie is broken (for example
when it refers to a non existing user). Normally, the client should
treat errors caused by cookie logins as temporary server failures,
inform the user about it and leave the cookie, so that when the server
is up again, all user needs to do is to reload the page rather than
logging again.
2016-05-08 18:04:06 +02:00
rr-
0d2fc830a6 client/build: add missing dependency 2016-05-08 18:04:06 +02:00
rr-
2bd02f4921 server/users: fix detecting duplicate user names 2016-05-08 18:04:05 +02:00
rr-
0214341473 server/users: prohibit using special ranks
Anonymous is self explanatory.
Nobody is used solely to mark certain operation as unavailable even to
administrators (<- nobody is higher than administrator).
2016-05-08 18:04:05 +02:00
rr-
198cb0af3e server/users: hardcode available ranks 2016-05-08 16:59:25 +02:00
rr-
58964bcdc9 server/posts: add post listing 2016-05-07 21:50:37 +02:00
rr-
9b591c3f1b server/posts: remember source for URL content 2016-05-05 13:46:57 +02:00
rr-
148858fde9 server/middleware: download files 2016-05-05 13:46:50 +02:00
rr-
ab493a01b4 server/net: add basic downloader 2016-05-05 13:24:50 +02:00
rr-
e632324f72 server/posts: add post updating 2016-05-02 21:58:13 +02:00
rr-
067e438b8c server/posts: add hasCustomThumbnail to post info 2016-05-02 00:07:33 +02:00
rr-
ce095816d9 server/posts: add post creating 2016-05-02 00:07:33 +02:00
rr-
a567974784 server/general: refactor method names 2016-04-30 23:54:05 +02:00
rr-
f38acf6868 server/func: add content-type related utilities 2016-04-30 17:28:31 +02:00
rr-
4530b6e3b8 server/tests: show SQL queries only with -v 2016-04-30 12:46:52 +02:00
rr-
29b57b0af0 client/nav: fix accesskey alignment 2016-04-29 13:24:01 +02:00
rr-
98738dc497 client/users: fix inability to remove email 2016-04-29 13:19:11 +02:00
rr-
da5b32feeb server/users: fix hiding email from admins etc 2016-04-29 13:16:16 +02:00
rr-
d67a1b2f1c client/css: stylize focused elements 2016-04-29 12:58:56 +02:00
rr-
266f5c027f client/tags: add tag listing 2016-04-29 12:58:56 +02:00
rr-
c55fb2ef41 server/tags: output tag usage count 2016-04-29 12:58:56 +02:00
rr-
21fd25dd12 server/tags: create tag categories automatically 2016-04-29 12:58:56 +02:00
rr-
f59c1e0346 server/tags: create tag categories automatically 2016-04-29 10:33:46 +02:00
rr-
0f90196ad5 client/users: fix listing users 2016-04-29 10:17:55 +02:00
rr-
83cc7a568d server/posts: add post (un)favoriting 2016-04-28 19:04:44 +02:00
rr-
0b20132a2f server/api + docs/api: organize responses 2016-04-28 18:20:50 +02:00
rr-
2b69e9b461 server/posts: add post deleting 2016-04-27 19:24:50 +02:00
rr-
587a8f8276 server/posts: add post retrieving 2016-04-25 10:48:15 +02:00
rr-
52f4018bee server/comments+posts: add rating 2016-04-24 16:37:11 +02:00
rr-
8fb536c8f0 server/general: move not found errors to func 2016-04-24 14:34:01 +02:00
rr-
0b47957bb9 server/comments: add comment search 2016-04-24 11:56:14 +02:00
rr-
b75cfff8f7 server/comments: add comment retrieving 2016-04-24 11:24:36 +02:00
rr-
10f8f443f1 server/comments: add comment deleting 2016-04-24 11:16:24 +02:00
rr-
48cb172cc8 server/comments: add comment updating 2016-04-24 10:31:49 +02:00
rr-
612734e9ff server/comments: add comment creating 2016-04-24 10:31:49 +02:00
rr-
6e6c57d44a server/api: move serializers to func layer 2016-04-24 10:31:49 +02:00
rr-
093863b944 server/comments: add comment tables 2016-04-24 10:31:49 +02:00
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