rr-
524cbd0680
client/users: fix presenting user rank
2016-05-21 12:03:49 +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-
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-
198cb0af3e
server/users: hardcode available ranks
2016-05-08 16:59:25 +02:00
rr-
98738dc497
client/users: fix inability to remove email
2016-04-29 13:19:11 +02:00
rr-
e4239a199c
server/api: refactor + remove ID from user JSON
2016-04-16 15:49:21 +02:00
rr-
f34e83b325
client/users: add filtering
2016-04-14 17:50:46 +02:00
rr-
a83a896dde
client/pager: cache state between navigations
2016-04-14 00:41:34 +02:00
rr-
43c657e371
client/paging: don't include empty parameters
2016-04-13 22:15:40 +02:00
rr-
b7a67fc01c
views/paging: add endless pager
2016-04-13 00:27:36 +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-
8f5890ab67
client/general: refactor promises
2016-04-09 23:41:56 +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-
e12492bd4d
client/api: fix removing cookies on login failures
2016-04-09 22:23:24 +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-
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-
90d4401024
client/api: move cookies management to API
2016-04-08 10:03:29 +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-
e487adcc97
split files into client/ and server/
2016-04-01 18:48:16 +02:00