Commit Graph

1232 Commits

Author SHA1 Message Date
rr-
72072db078 client/tags: show tag suggestions in tag input 2016-07-30 23:10:58 +02:00
rr-
c1c47de3a5 client/posts: links in edit mode preserve mode 2016-07-30 23:10:58 +02:00
rr-
4b75aab816 client/posts: implement exit confirmation 2016-07-30 23:10:58 +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-
dbf44ed58f client/tags: mark used tags in autocomplete 2016-07-30 23:10:58 +02:00
rr-
81afd383fa client/tags: fade out tag colors after 2.5s 2016-07-30 23:10:58 +02:00
rr-
af455b901f client/tags: make implications yellow 2016-07-30 23:10:58 +02:00
rr-
e4954140f8 client/tags: rewrite tag input
Suggestions will be reimplemented in separate commit
2016-07-30 23:10:38 +02:00
rr-
5e47c5c0c6 server/users: use HTTPS for Gravatar 2016-07-30 13:43:15 +02:00
rr-
ef76cdaf8a server/posts: always use null size for bad images 2016-07-30 13:43:15 +02:00
rr-
298aedbc75 server/tags: sort relations like post tags 2016-07-30 13:43:15 +02:00
rr-
7e6e59417e client/tags: allow deleting used tags 2016-07-30 13:43:15 +02:00
rr-
f40e41ae8b server/tags: allow deleting used tags 2016-07-30 13:43:15 +02:00
rr-
f63851e2cf client/build: fix JSCS warnings 2016-07-30 13:43:15 +02:00
rr-
d91352a3b0 client/general: ditch tabular forms 2016-07-30 13:41:44 +02:00
rr-
797e5d4244 client/css: fix combobox height on Firefox
https://bugzilla.mozilla.org/show_bug.cgi?id=454625
2016-07-30 13:41:44 +02:00
rr-
611cb3b9f9 client/home: fix post not being bound to its model
This resulted in errors while presenting post content control - it tried
to use methods that were available only in the actual model.
2016-07-30 13:41:44 +02:00
rr-
76e9307449 client/tags: fix window title 2016-07-29 11:00:26 +02:00
rr-
ef4806e142 client/posts: display edit link for tagless posts 2016-07-28 23:10:41 +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-
6635b507f2 client/posts: fix losing query after exiting edit 2016-07-26 23:20:16 +02:00
rr-
8de7541bc5 client/posts: fix stripping query for edit page 2016-07-26 23:20:15 +02:00
rr-
8ef0017531 server/tags: improve tag export performance
2000 ms --> 250 ms (including overhead of unknown size).
Not bad if you ask me.
2016-07-26 23:20:15 +02:00
rr-
3f2717843a server/middleware: log request method 2016-07-26 23:20:15 +02:00
rr-
3f7ccfaea2 client/users: refactor to match other models 2016-07-26 23:20:15 +02:00
rr-
d2a5e1056d client/models: discard field declarations
This has important side effect that matters when we check for data
changes using _orig dictionary. Previously, _orig was empty (so its
members fields were undefiend) whereas the real fields were declared as
nulls. This meant that for new entities, the conditions were always
true, which is unintended. Now both _orig and the class itself are
initially populated with _updateFromResponse which syncs the state
between them, removing the problem.
2016-07-26 23:15:05 +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-
b378ce7ede client/posts: move relations above tags 2016-07-26 20:38:12 +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-
0db70f7951 client/css: stylize cursor of disabled elements 2016-07-26 19:57:41 +02:00
rr-
faf461419f client/posts: fix JSCS complaint 2016-07-17 21:15:50 +02:00
rr-
603420a31d server/middleware: remove unused import 2016-07-17 21:14:56 +02:00
rr-
247a1e9bbe server/tools: migrate files incrementally 2016-07-17 21:14:03 +02:00
rr-
b7f2982c9e server/posts: fix relations bidirectionality 2016-07-17 21:14:03 +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-
394e51ed21 client/general: improve scrolling 2016-07-13 17:18:28 +02:00
rr-
5d8dd9cb05 client/paging: fix endless scroll return path
Since some refactors it has always been returning to page 1.
2016-07-08 00:54:24 +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-
cd1f4709f0 client/home: change apparance 2016-07-08 00:08:44 +02:00
rr-
6140872cd9 client/posts: add implications recursively 2016-07-06 23:03:37 +02:00
rr-
fccedc090f client/posts: add mass tag 2016-07-06 23:03:37 +02:00
rr-
99011b02d7 client/home: fix missing info on featured post 2016-07-06 00:07:46 +02:00
rr-
7e62751e4e client/tags: fix hovering over autocomplete in FF
Hovering over an autocomplete box always selected the last element
rather than the element under the cursor. This is because resultIndex
was bound by reference.

This looks like a bug in FF implementation of "for (let [x, y] of ...)"
-rather than binding "x" and "y" to the scope of the loop, it's
equivalent to "for (var [x, y] of ...)", which causes nasty anomalies
for functions created inside the loop body.
2016-07-05 23:59:10 +02:00
rr-
0d9c2b7cc8 server/tags: fix tag names allowing whitespace 2016-07-05 23:59:10 +02:00
rr-
abd8e9e89c client/general: handle spaces in autocomplete 2016-07-03 19:38:17 +02:00