rr-
aa95afb989
client/tags: fix crash without exported tags
2016-06-03 21:37:30 +02:00
rr-
9d6878a1aa
client/posts: bind 'p' key
2016-06-03 19:47:09 +02:00
rr-
c114cec642
client/posts: add safety buttons
2016-06-03 19:47:09 +02:00
rr-
dcaf650244
client/posts: change hover border
2016-06-02 23:56:56 +02:00
rr-
f8e6d07fea
client/posts: add proof of concept for post list
2016-06-02 23:39:38 +02:00
rr-
802c7feca0
server/search: add safety search for posts
2016-06-02 13:58:08 +02:00
rr-
aa2f4559b7
client/settings: add option to upscale small posts
2016-06-01 23:42:42 +02:00
rr-
d6f27e82c6
client/notes: fix placement after mouse scroll
2016-06-01 23:42:42 +02:00
rr-
fd2df3966d
client/home: show top nav after all, improve looks
2016-06-01 23:42:42 +02:00
rr-
8d1e23aa63
server/general: flatten responses
2016-05-30 22:54:33 +02:00
rr-
5427b0d25a
client/home: make footer less prominent
2016-05-29 12:49:24 +02:00
rr-
aa71ccb02c
client/home: show who featured the post
2016-05-29 12:48:51 +02:00
rr-
9b0c2012a7
client/home: show post notes (read-only)
2016-05-29 12:41:22 +02:00
rr-
53fd6fb29b
client/home: view featured post, add search form
2016-05-29 12:41:22 +02:00
rr-
6d6cce20dd
client/misc: add formatMarkdown()
2016-05-29 12:41:22 +02:00
rr-
1a6ea4f58a
client/top-nav: hide top nav for home
2016-05-29 12:41:22 +02:00
rr-
bab88f4739
client/top-nav: reuse makeAccessLink
2016-05-29 12:40:53 +02:00
rr-
79f22d27cd
client/views: reuse mutation observer
2016-05-29 12:40:36 +02:00
rr-
8591449508
client/posts: catch post search route
2016-05-29 12:40:36 +02:00
rr-
87e8fb2e7d
client/general: unimplemented views empty viewport
2016-05-29 12:40:36 +02:00
rr-
d99c03b9fa
client/home: render disk usage and post count
2016-05-22 22:39:31 +02:00
rr-
7aaa28f9de
client/tags: add setting default tag 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-
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-
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-
8866a46f68
client/general: rename certain views
2016-05-11 12:17:40 +02:00
rr-
3856e9fd0d
client/general: fix JSCS warnings
2016-05-10 14:13:24 +02:00
rr-
27533483b2
client/tags: make headers clickable
2016-05-10 14:06:52 +02:00
rr-
27cce56054
client/tags: add tag category editing
2016-05-10 13:26:17 +02:00
rr-
be0a70355d
client/paging: replace 'var' with 'let'
...
Old habits die hard
2016-05-10 12:18:06 +02:00
rr-
7b342b58b5
client/users: fix links to post search queries
2016-05-10 12:18:06 +02:00
rr-
6405fbe9f2
client/general: replace handlebars with underscore
2016-05-09 22:36:29 +02:00
rr-
c34b1e3ccf
client/css: fix clipped input text
2016-05-09 22:36:29 +02:00
rr-
58134ae2c6
client/css: remove nprogress spinner
2016-05-09 18:14:22 +02:00
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-
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-
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-
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-
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-
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-
0f90196ad5
client/users: fix listing users
2016-04-29 10:17:55 +02:00
rr-
a30886cc70
server/search: rename order: to sort:
2016-04-22 19:37:58 +02:00
rr-
a197368bc5
client/paging: fix endless pager issues
2016-04-17 09:24:05 +02:00
rr-
0bc45e9c45
server/search: support -min and -max suffixes
2016-04-17 08:31:46 +02:00
rr-
71e8e32faf
client/users: change search syntax help link
2016-04-17 00:03:56 +02:00
rr-
925bfcecc5
client/help: split search help into sections
2016-04-17 00:03:45 +02:00
rr-
61d2fb88ea
server/tags: add tag listing
2016-04-16 21:24:09 +02:00
rr-
e4239a199c
server/api: refactor + remove ID from user JSON
2016-04-16 15:49:21 +02:00
rr-
b382f3398f
client/users: add keyboard shortcuts to user list
2016-04-14 21:50:59 +02:00
rr-
ef3dc1fa75
client/paging: refactor manual pager
2016-04-14 21:50:59 +02:00
rr-
0ddbc64320
client/css: tweak help button appearance
2016-04-14 21:50:59 +02:00
rr-
c2aa497d91
client/settings: decouple settings from controller
2016-04-14 21:50:59 +02:00
rr-
00bf279396
client/views: fix access key underline
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-
286df9faf3
docs+client/users: document user filtering
2016-04-14 19:58:28 +02:00
rr-
f34e83b325
client/users: add filtering
2016-04-14 17:50:46 +02:00
rr-
90559ffcdb
client/build: fix IE11 transpiling
2016-04-14 17:50:38 +02:00
rr-
7cf4e6c37d
client/paging: compact page no. for endless pager
2016-04-14 17:50:38 +02:00
rr-
334ff8edcd
client/css: align controls in horizontal forms
2016-04-14 17:50:38 +02:00
rr-
c92c7b722f
client/css: don't use monospace fonts
2016-04-14 17:50:29 +02:00
rr-
905faf3721
client/css: scale to device width
2016-04-14 17:50:04 +02:00