Commit Graph

115 Commits

Author SHA1 Message Date
rr- 7fa8593b0a client/general: improve URL escaping
Specifically, cater for /, + and % in URL components.
2016-09-04 02:07:22 +02:00
rr- acd989cabb client/tags: fix URL redirections
User controller didn't need intervention but I refactored it to match
tag controller anyway.
2016-08-28 23:57:53 +02:00
rr- cf1d15354d client/paging: avoid redrawing header navigation 2016-08-28 23:40:28 +02:00
rr- 63e8683fb8 client/tags: change 'edit time' to 'created on' 2016-08-27 15:29:40 +02:00
rr- 495f98a65f client/auth: fix edit sidebar for management only 2016-08-23 23:14:05 +02:00
rr- 3ff48667a0 client/auth: fix swapped tag deleting and merging 2016-08-23 23:14:05 +02:00
rr- 34022d8fc8 client/auth: fix not hiding anonymity checkbox 2016-08-23 23:14:05 +02:00
rr- e90b8972c7 client/auth: fix being able to rate/fav things 2016-08-23 23:12:29 +02:00
rr- 4ca7c49239 client/auth: fix masstag privilege bypass
Visiting mass-tag URL directly ignored masstag privileges and showed
tag/untag controls (although didn't show the controls in the header).
After this change, bypassing mass tag privileges got a little bit
harder. (It's still possible for the user to talk directly to the API
after all.)
2016-08-23 23:12:29 +02:00
rr- 1e9ee0838a client/auth: hide signup link in top nav if needed 2016-08-23 23:12:29 +02:00
rr- 08c6c2c145 client/auth: show errors early in controllers
In other words, verify the privileges client-side before issuing an
request to the server. This commit focuses on routing (e.g. clicking a
link while not logged in), rather than DOM element visibility that
should be already taken care of.
2016-08-23 23:12:29 +02:00
rr- fec31d7946 client/users: add exit confirmation for edit form 2016-08-22 21:38:34 +02:00
rr- ea947ed91e client/tags: add exit confirmation for edit form 2016-08-22 21:38:31 +02:00
rr- d8d4654849 client/events: adjust event names
1. "change" should be used to passive changes.
2. "submit" should be used to form submits.

These are not interchangeable.
2016-08-22 21:36:45 +02:00
rr- 5bcf44aa2d client/posts: implement upload form 2016-08-21 23:43:36 +02:00
rr- 9014baab92 client/snapshots: add snapshots browser 2016-08-20 13:01:17 +02:00
rr- 46435182f6 client/posts: fix mass tag not sending version 2016-08-08 17:45:49 +02:00
rr- 1b62daed9a client/general: clean up, refactor 2016-08-05 23:02:41 +02:00
rr- 9304e309f6 client/settings: add posts per page option 2016-08-05 23:02:41 +02:00
rr- 0c64d1fe1c client/posts: add post deleting 2016-08-02 12:27:01 +02:00
rr- 179cf57cb9 client/posts: add post featuring 2016-08-02 12:27:01 +02:00
rr- 3176709288 client/posts: clear messages before submit
Saving the post twice resulted in two 'Post saved!' messages.
2016-07-31 23:55:22 +02:00
rr- 193e34aff8 client/posts: improve form behavior when saving
- Disable and enable the form
- Notify about success in the sidebar
- Notify about errors in the sidebar rather than using a native alert
2016-07-30 23:10:58 +02:00
rr- 76e9307449 client/tags: fix window title 2016-07-29 11:00:26 +02:00
rr- 1ed7ad4173 client/posts: add simple thumbnail editing 2016-07-28 23:10:40 +02:00
rr- 3d8eaab57a client/posts: add post content editing 2016-07-27 22:27:33 +02:00
rr- 8de7541bc5 client/posts: fix stripping query for edit page 2016-07-26 23:20:15 +02:00
rr- 7022686b77 client/tags: improve privilege checking
- Hide fields that are uneditable, rather than disabling them
- Support fragmented edit privileges (e.g. roles than can edit only some
  aspects of tags) - up until now the client tried to send everything at
  once, which resulted in errors for such cases.
2016-07-26 20:49:48 +02:00
rr- 8a68e182fd client/posts: implement loop video flag 2016-07-26 20:38:12 +02:00
rr- 865c4f3b79 client/posts: respect edit privileges in sidebar 2016-07-26 20:38:12 +02:00
rr- 7488abb332 client/posts: add simple editing 2016-07-17 20:32:00 +02:00
rr- 651c3f6925 client/posts: fix post edit route 2016-07-17 19:00:40 +02:00
rr- 2a39ec165d client/general: add title to every page 2016-07-13 21:50:07 +02:00
rr- 8901658c17 client/posts: strip junk from post permalinks
Thanks for inspiration, StackExchange
2016-07-08 00:54:24 +02:00
rr- 5ac5eb5503 client/general: refactor URL parameter handling 2016-07-08 00:54:24 +02:00
rr- fccedc090f client/posts: add mass tag 2016-07-06 23:03:37 +02:00
rr- 1f413763bd client/posts: remember fit mode 2016-06-29 18:54:49 +02:00
rr- 2f20bc1619 client/general: fix certain error handlers 2016-06-23 12:47:56 +02:00
rr- f3049e5546 client/tags: add summary view, add tag description 2016-06-23 00:17:11 +02:00
rr- eb09677bf8 client/general: replace direct API with models 2016-06-20 23:52:09 +02:00
rr- e4b4276f3b client/top-nav: fix activating list items 2016-06-19 21:38:39 +02:00
rr- 39c0c4f338 client/posts: remember search for prev/next post 2016-06-18 11:47:08 +02:00
rr- a697aba1b0 client/general: remove api calls from controls
Introduce some missing models along the way
2016-06-18 10:35:20 +02:00
rr- 54e3099c56 client/general: refactor control flow
- Controller lifetime is bound to route lifetime
- View lifetime is bound to controller lifetime
- Control lifetime is bound to view lifetime
- Enhanced event dispatching
- Enhanced responsiveness in some places
- Views communicate user input to controllers via new event system
2016-06-18 10:35:20 +02:00
rr- 7f46f72a74 client/auth: fix password reminder 2016-06-17 00:38:43 +02:00
rr- 2ac8d8650c client/posts: introduce post model
Now to replace all the api calls in views with event system... and then
do the same for user, tag and comment
2016-06-14 07:50:22 +02:00
rr- 6fcf81e55d client/posts: split controllers 2016-06-14 07:50:22 +02:00
rr- 0f1e234a5d client/top-nav: trying out actual mvc 2016-06-13 22:43:07 +02:00
rr- 3cbcbf1140 client/general: fix jscs warnings 2016-06-12 22:10:20 +02:00
rr- 0547ec5aa2 client/paging: remember results in history 2016-06-12 22:02:15 +02:00