Commit graph

52 commits

Author SHA1 Message Date
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-
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-
d123f27815 clients/general: fix empty view message handling 2016-05-12 00:13:01 +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-
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-
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-
6405fbe9f2 client/general: replace handlebars with underscore 2016-05-09 22:36:29 +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-
266f5c027f client/tags: add tag listing 2016-04-29 12:58:56 +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-
925bfcecc5 client/help: split search help into sections 2016-04-17 00:03:45 +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-
00bf279396 client/views: fix access key underline 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-
905faf3721 client/css: scale to device width 2016-04-14 17:50:04 +02:00
rr-
a83a896dde client/pager: cache state between navigations 2016-04-14 00:41:34 +02:00
rr-
26d46a43bf client/pager: synchronize page number with URL 2016-04-13 21:33:49 +02:00
rr-
b7a67fc01c views/paging: add endless pager 2016-04-13 00:27:36 +02:00
rr-
d3979d63dc client/paging: notify about empty results 2016-04-12 18:25:08 +02:00
rr-
21c15f4cb9 client/settings: add accountless settings 2016-04-11 22:48:47 +02:00
rr-
c543b77aed client/nav: add user avatar 2016-04-11 21:43:58 +02:00
rr-
1086bca3c2 client/views: fix rendering non-void elements 2016-04-11 19:23:53 +02:00
rr-
d6daf84da0 client/users: add basic users listing 2016-04-11 19:23:53 +02:00
rr-
4dcee37567 client/users: support avatar changing 2016-04-10 18:54:19 +02:00
rr-
e268d679d3 client/views: move form controls to HB helpers 2016-04-10 16:23:33 +02:00
rr-
5053598a13 client/views: extract empty view
...so that UsersController doesn't mess with DOM.
2016-04-09 22:39:13 +02:00
rr-
2e1823b708 client/views: replace inheritance with composition 2016-04-09 22:23:24 +02:00
rr-
4821f2ac6c client/users: add user deletion 2016-04-09 18:41:49 +02:00
rr-
b78d018870 client/login: don't show pw reset w/o working smtp 2016-04-08 20:09:32 +02:00
rr-
5bd7f1fa6c client/views: move notifications to controllers 2016-04-08 13:48:23 +02:00
rr-
0ceaa8da42 client/views: refactor rendering 2016-04-08 13:48:23 +02:00
rr-
7871c69aa3 client/users: implement account settings
(Without avatars yet.)
2016-04-08 10:18:39 +02:00
rr-
51a889e3a8 client/api: protect against null error messages 2016-04-08 09:48:47 +02:00
rr-
fe5946b4b0 client/misc: extract polyfills to separate file 2016-04-08 09:48:47 +02:00
rr-
8a1140eff6 client/api: convert messages to events 2016-04-08 09:48:47 +02:00
rr-
8be93f6c70 client/users: add user view prototype 2016-04-07 00:08:18 +02:00
rr-
5f29fa12c2 client/routing: move routing to controllers 2016-04-06 22:36:04 +02:00
rr-
55cc7b59e4 client+server: switch to yaml config 2016-04-06 22:36:04 +02:00
rr-
92dd958866 client+server: finish password reminders 2016-04-06 17:56:34 +02:00
rr-
42fdb49d1a client/forms: fix disabling forms 2016-04-06 15:11:20 +02:00
rr-
85ed552fce client/home: format absolute time 2016-04-05 17:57:26 +02:00