Commit graph

478 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-
af22ec735d server/posts: send mime type to client 2016-05-22 22:50:00 +02:00
rr-
d99c03b9fa client/home: render disk usage and post count 2016-05-22 22:39:31 +02:00
rr-
ae1cd7884c docs/api: add missing info on post feature input 2016-05-22 22:35:40 +02:00
rr-
7aaa28f9de client/tags: add setting default tag category 2016-05-22 22:17:11 +02:00
rr-
77998f1660 server/tags: let mods set default category 2016-05-22 22:17:11 +02:00
rr-
4b3640bf2e client/css: remove margin above certain headings 2016-05-22 22:17:11 +02:00
rr-
ed05ac3c57 client/tags: fix renaming tag not redirecting url 2016-05-22 22:17:11 +02:00
rr-
7ea4718b1b client/tags: add suggesting related tags 2016-05-22 22:17:11 +02:00
rr-
fa4412ef90 client/api: let caller disable nprogress 2016-05-22 22:17:11 +02:00
rr-
fa14bf714c server/tags: create snapshots for automatic tags 2016-05-22 22:17:11 +02:00
rr-
6a48020426 server/tags: fix sorting tag siblings 2016-05-22 22:17:11 +02:00
rr-
cf3b97b8de server/tags: change response key
Since we're using "results" everywhere else, it makes little sense for
tag siblings to use "siblings" node.
2016-05-22 11:05:18 +02:00
rr-
16d4d3ca68 server/favorites: favoriting sets score to 1 2016-05-21 22:35:18 +02:00
rr-
519f606a39 client/build: Google Droid Sans → local Open Sans 2016-05-21 14:02:08 +02:00
rr-
f721554724 client/build: don't use CDN for FontAwesome 2016-05-21 12:35:41 +02:00
rr-
d8c20b89c6 client/build: organize assets into directories 2016-05-21 12:33:02 +02:00
rr-
dd3774ee57 client/users: fix user update success notification 2016-05-21 12:03:49 +02:00
rr-
524cbd0680 client/users: fix presenting user rank 2016-05-21 12:03:49 +02:00
rr-
df5d72d429 client/general: show correct URL in 404 page 2016-05-21 12:03:49 +02:00
rr-
e7fe7d3899 client/general: add 404 page
Reuses old 404 image from 1.x branch, may be subject to change.
2016-05-21 11:49:32 +02:00
rr-
6beffc2ec1 client/home: link to szurubooru code 2016-05-21 11:38:24 +02:00
rr-
2fade2f08c client/css: improve appearance on small screens 2016-05-21 11:17:11 +02:00
rr-
432d57096e client/build: pick up changes faster 2016-05-21 10:34:29 +02:00
rr-
94a228b1e7 client/build: roll back to underscore
lodash adds extra 50K for no benefit.
2016-05-21 10:04:23 +02:00
rr-
98c6128829 client/build: true template precompiling
Rather than putting templates in DOM nodes, output JS functions
themselves.

This fixes transpiling for IE11, where ES6 parts of the templates
wouldn't get passed through Babel.
2016-05-21 10:04:23 +02:00
rr-
052a7ca684 client/general: use 'ctx' variable for templates 2016-05-21 09:46:53 +02:00
rr-
bae238794a client/general: reduce lodash usages 2016-05-21 08:27:10 +02:00
rr-
a32c5d1399 client/misc: remove String.format()
...and replace them with ES6 template literals I've just learned about.
2016-05-21 00:08:43 +02:00
rr-
249d6073c0 client/build: remove babel when not transpiling 2016-05-21 00:08:43 +02:00
rr-
69fe8ec31a client/general: refactor all the things
- Move controls to the "controls/" directory
- Make controls interface look similar to each other
- Prefix "private" methods and attributes with underscore
2016-05-21 00:08:43 +02:00
rr-
c88dfd228a server/images: replace pipes with temp files
ffmpeg's GIF demuxer needs the input stream to be seekable, which rules
pipes out.
2016-05-20 21:34:02 +02:00
rr-
d2b9cece28 views/autocomplete: remove unused nodes 2016-05-20 18:43:27 +02:00
rr-
f2833b6e76 views/tags: automatically add implied tags 2016-05-19 23:32:23 +02:00
rr-
50404d5f5e client/general: change templates extension
...from .Handlebars' (which the project no longer uses) .hbs, to a more
generic .tpl. Additionally, replace hyphens with underscores for
consistency.
2016-05-18 00:15:28 +02:00
rr-
407848706a views/tags: add tag input control
For now, without tag relations
2016-05-18 00:13:17 +02:00
rr-
5736b4adc1 views/tags: add autocomplete control 2016-05-17 11:34:47 +02:00
rr-
dbaf71b8eb client/forms: disable button outline on Chrome 2016-05-17 11:34:46 +02:00
rr-
83086fddd0 client/general: skip vendor JS on watch 2016-05-14 14:47:48 +02:00
rr-
e6be94d139 client/build: always compress vendor JS 2016-05-14 14:47:36 +02:00
rr-
914bee4c64 client/build: compile vendor packages separately 2016-05-14 13:50:39 +02:00
rr-
2cba1a432f client/general: replace underscore with lodash 2016-05-14 13:12:01 +02:00
rr-
d123f27815 clients/general: fix empty view message handling 2016-05-12 00:13:01 +02:00
rr-
414f841944 client/tags: fix unbound EmptyView 2016-05-12 00:12:48 +02:00
rr-
b1deb617bc client/tags: add tag merging, editing and deleting 2016-05-11 23:47:50 +02:00
rr-
2a4241641c client/events: improve event dispatching
This commit introduces timer-less retry system:

1. Any change to URL is going to stop listening to any messages.
2. If a message is sent and there's no handler that could pick it up,
   the message gets enqueued.
3. The message is sent again to the first handler that attaches itself
   to given event type.

While in theory this is full of holes (no control over the first
handler), in practice, it works quite well.

Additionally, views.listenToMessages was attaching to completely wrong
DOM node; this commit fixes this as well.
2016-05-11 23:47:50 +02:00
rr-
09bc5f10f9 client/tags: fix hiding table for no results 2016-05-11 23:47:50 +02:00
rr-
205f372f76 server/tests: colorize verbose output 2016-05-11 23:47:50 +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