Shyam Sunder
565027269c
client/js/router.js: Reads <base> href tag
2018-08-23 21:04:19 +02:00
Shyam Sunder
defada45ab
client: adapted code to use <base> HTML tag
2018-08-23 21:04:19 +02:00
Michael Serajnik
b22c887e4b
client: add basic web app support
2018-08-06 14:12:29 +02:00
Shyam Sunder
60ab9246c6
client: improved build.js, use relative links
...
* Removed unnecessary require('config.js') calls
* 'markdown.js' now uses rel. links in EntityPermalinkWrapper
* 'password_reset.py' now generates rel. links
* Removed 'Base URL' config parameter
* Removed 'API URL' config parameter
* 'build.js' no longer reads/requires config.yaml
* Updated documentation
* Removed unnecessary node packages used in 'build.js'
abandon api_url parameter
2018-07-06 19:40:20 +02:00
ReAnzu
2a69f0193f
server/auth: add token authentication
...
* Users are only authenticated against their password on login,
and to retrieve a token
* Passwords are wiped from the GUI frontend and cookies
after login and token retrieval
* Tokens are revoked at the end of the session/logout
* If the user chooses the "remember me" option,
the token is stored in the cookie
* Tokens correctly delete themselves on logout
* Tokens can expire at user-specified date
* Tokens have their last usage time
* Tokens can have user defined descriptions
* Users can manage login tokens in their account settings
2018-03-25 22:23:29 +02:00
Michael Serajnik
26a1451ff6
client/css: improve mobile styling
2018-03-10 17:45:37 +01:00
Michael Serajnik
85cb3d4702
client/help: fix spelling issues
2017-12-02 23:38:22 +01:00
rr-
1c4c5c5f91
remove tags.json
2017-10-01 21:48:00 +02:00
Robin Appelman
253e28c1b5
client/posts: add shortcut for deleting posts
2017-09-23 20:05:57 +02:00
rr-
87735110aa
client/posts: add copying notes to clipboard
...
Saves some frustration when losing changes due to editing conflict
2017-08-25 23:53:51 +02:00
rr-
043b182b5e
client/paging: add cues for qutebrowser
2017-06-25 17:47:40 +02:00
rr-
ba4df16499
server/search: add search term escaping
2017-04-24 21:59:38 +02:00
rr-
77bf3bdc3c
client/posts: add option to disable safety ratings
2017-03-30 20:50:12 +02:00
rr-
49feb932f3
client/tags: merging can now also add aliases
2017-03-04 16:55:53 +01:00
rr-
5467ca6b7e
client/posts: improve placeholder in file dropper
...
The default one was too long to fit in the sidebar
2017-02-21 19:09:18 +01:00
rr-
d00d282bff
client/posts: improve file dropper appearance
2017-02-21 19:00:02 +01:00
rr-
34366b72fb
client/file-dropper: add ability to lock URLs
2017-02-21 18:59:12 +01:00
rr-
5dfdfd49e9
client/paging: fix loading on small page sizes
...
Fixes #126
2017-02-19 14:24:01 +01:00
rr-
c01214e919
server/password-reset: support having no smtp
2017-02-17 23:10:51 +01:00
rr-
aa1f4d3ff8
client/posts: add file extensions info to upload
2017-02-12 10:40:50 +01:00
rr-
1caf76b1b2
client/posts: add bulk safety editing ( #122 )
2017-02-11 22:03:38 +01:00
rr-
0dc7a4058e
client/posts: refactor bulk tag editor
...
Extract the state that controls mass tag form in the posts list header
to a separate class.
It's not exactly a 100% reusable control (the .tpl is shared), but it
should greatly simplify reading the JS.
2017-02-11 21:58:26 +01:00
rr-
0e4e994431
client: rename 'mass tag' to 'bulk edit tags'
...
That way other bulk operations will be easier to name.
This also changes the privilege name.
2017-02-11 19:50:22 +01:00
rr-
fdad08e176
server: use index-based paging ( #123 )
2017-02-09 22:40:00 +01:00
rr-
00c3a4320b
server/posts: support aspect-ratio search query
2017-02-05 22:09:33 +01:00
rr-
0b21d98c9b
server/posts: support note-text search query
2017-02-05 21:51:53 +01:00
rr-
1f14f2fc16
docs/api: add info about wildcards
2017-02-05 21:47:52 +01:00
rr-
1acceb941d
client: refactor linking and routing
...
Print all links through new uri.js component
Refactor the router to use more predictable parsing
Fix linking to entities with weird names (that contain slashes, + etc.)
2017-01-21 00:13:35 +01:00
rr-
f00cc5f3fa
client/posts: search for similar posts on upload
2017-01-08 02:26:26 +01:00
rr-
d1bb33ecf0
client/posts: tweak upload appearance and UX
2017-01-08 02:26:13 +01:00
rr-
58fabc6e36
client/merge: add search button
2017-01-03 21:58:32 +01:00
rr-
4340b4d9b2
client/posts: fix resize modes on chrome
2017-01-03 20:14:27 +01:00
rr-
e2fcd08ce9
client/comments: fix header wrapping on chrome
2017-01-03 19:37:59 +01:00
rr-
fe0ba63f19
client/comments: rework comments appearance and UX
2016-12-25 21:49:39 +01:00
rr-
cf24d63fa4
client/css: fix lists in comments css inheritance
...
Markdown lists in comments inherited some unwanted CSS rules. The fix is
to make the culprit rules apply to more specific elements.
2016-12-22 23:45:14 +01:00
rr-
40fa118cca
client/settings: fix hint button placement
2016-12-22 23:45:14 +01:00
rr-
32d498c74b
client/markdown: allow to specify image size
2016-12-22 23:41:43 +01:00
rr-
6bf5764c6c
client/posts: fix adding loop flag to non videos
2016-11-27 22:05:12 +01:00
rr-
81080da06f
client/settings: add ability to autoplay videos
2016-11-11 23:14:51 +01:00
rr-
143a015473
client/posts: control over video loops on upload
...
Also loop videos by default
2016-11-11 22:35:58 +01:00
rr-
141c9fcdc9
server/tags: merge also tag relations
2016-10-22 18:02:50 +02:00
rr-
f1445b9c24
client/posts: add post merging
2016-10-22 14:05:56 +02:00
rr-
8c0fa7f49e
client/posts: fix post mgmt privilege checking
2016-10-22 14:03:34 +02:00
rr-
9aa59a228e
client/css: align radioboxes to first line
2016-10-22 14:03:34 +02:00
rr-
b0c5031001
client+server/posts: reverse next/prev post role
...
In the post list, when we navigate to the page with ">" button, we
navigate to older posts.
In the post view, when we navigate to the page with ">" button, we
navigate to older posts as well.
However, in the post list, the ">" button is called "next page".
At the same time, in the post view, the ">" button was called "previous
post". Now it's called "next post".
The difference isn't visible to normal users nor even API consumers as
the "get posts around post X" request isn't documented.
The change is motivated not only by consistency, but to also improve
compatibility with Vimperator's `[[` and `]]`. Vimperator assumes the
word "next" refers to ">" and the word "previous" refers to "<".
2016-10-02 17:07:08 +02:00
rr-
7648f479a9
client/posts: add 'skip duplicates' to upload form
...
Closes #102
2016-09-29 22:26:37 +02:00
rr-
7862fecbc9
client/posts: add upload cancelling
2016-09-29 21:55:20 +02:00
rr-
3d122441a2
client/general: remove 404 image
...
It used to be relevant when we had Tsukasa for mascot, but since the 2.x
strives to look more "professional" and there's no Tsukasa in the
README, it just looks out of place.
2016-09-29 10:53:34 +02:00
rr-
cf1e1670c4
client/posts: allow clicking on upload thumbnails
2016-09-10 16:13:57 +02:00
rr-
0f0e6c4e24
client/posts: add border around tagless posts
2016-09-10 11:36:51 +02:00
rr-
3149c43b7e
client/settings: change checkbox label
...
Makes it consistent with others checkboxes, each one of which uses a
verb in its label
2016-09-10 11:36:03 +02:00
rr-
2c283f3058
client/posts: move submit buttons to top
2016-09-10 09:57:20 +02:00
rr-
b829f89f1b
client/posts: change 'submit'->'save' in edit form
2016-09-10 09:50:58 +02:00
rr-
dfc65e5a7c
client/general: add < > vim navigation hints
...
For example, in Vimperator, one now can navigate to previous/next page
or post by pressing f< or f>.
2016-08-28 23:40:28 +02:00
rr-
cf1d15354d
client/paging: avoid redrawing header navigation
2016-08-28 23:40:28 +02:00
rr-
79d7b83e39
client/posts: fix mass tag
2016-08-28 22:23:20 +02:00
rr-
02d631a65d
client/css: improve appearance on small screens
2016-08-27 22:19:01 +02:00
rr-
f63d024777
client/css: improve comment edit form background
...
If text area was bigger than the post, switching to preview mode
showed gray space under the text. Now the preview pane's background
should fill the whole edit box size.
2016-08-27 22:19:01 +02:00
rr-
514c4349e0
client/css: split into files
2016-08-27 22:19:01 +02:00
rr-
473f2a4ddc
client/posts: make rating icons consistent
2016-08-27 22:19:01 +02:00
rr-
63e8683fb8
client/tags: change 'edit time' to 'created on'
2016-08-27 15:29:40 +02:00
rr-
8f230f5701
client/css: fix wrapping tags in read-only sidebar
2016-08-26 23:52:03 +02:00
rr-
422b99ac8d
server/search: add content-checksum
2016-08-26 16:26:06 +02:00
rr-
7451d16baf
client/css: fix tag list style
2016-08-25 00:04:34 +02:00
rr-
0a488afbd8
client/posts: add webm thumbs to upload form
2016-08-24 13:29:29 +02:00
rr-
3da4c54030
client/posts: add controls for reordering uploads
2016-08-24 13:00:17 +02:00
rr-
7f4a2c1ceb
client/posts: show tag/note counters in expanders
2016-08-23 23:19:40 +02:00
rr-
495f98a65f
client/auth: fix edit sidebar for management only
2016-08-23 23:14:05 +02:00
rr-
d753bdfab1
client/auth: fix edit tag tab visibility
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-
124e871022
client/users: stop native completion
...
Disabled for user registration and editing where it causes more mess
than good.
2016-08-22 21:46:30 +02:00
rr-
d5e197e6ea
client/general: add empty href for link buttons
...
In e464e69
I removed href='#' but I noticed that it broke some things.
Readding href serves two purposes:
- it makes links reachable with Tab key
- it makes links clickable with Enter key
The alternative to this approach was to introduce [tabindex] and [role]
attributes. But not only using tabindex=0 with <a/> is questionable,
it'd require adding a keyboard handler that'd intercept space and return
key presses and simulated link clicks. Since it's best to leave this
kind of thing to the native UI, I went with readding hrefs instead. I
believe that hash hrefs, even though being a common practice, are silly,
so I decided to settle down with empty hrefs.
As a bonus, I added a snippet that prevents middle mouse clicks from
opening such links/buttons in new tabs, which was the motivation for
e464e69
.
2016-08-22 01:40:30 +02:00
rr-
c7f36c893f
client/expanders: extract HTML
2016-08-22 01:40:30 +02:00
rr-
0a326972c3
client/tag-input: add 'add' button
2016-08-22 00:54:11 +02:00
rr-
d0c0652720
client/tag-input: extract HTML template
2016-08-22 00:54:11 +02:00
rr-
5bcf44aa2d
client/posts: implement upload form
2016-08-21 23:43:36 +02:00
rr-
dbd36256ce
client/file-dropper: support Vimperator focus
2016-08-20 22:47:45 +02:00
rr-
03b5e933bf
client/file-dropper: add URL support
2016-08-20 22:47:45 +02:00
rr-
9014baab92
client/snapshots: add snapshots browser
2016-08-20 13:01:17 +02:00
rr-
d23300645f
client/tags: fix tag category template
2016-08-05 23:12:42 +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-
9383fd2b27
client/settings: rearrange the form, add hints
2016-08-05 23:02:41 +02:00
rr-
d5a00fe4b9
client/posts: add note editing
2016-08-05 23:02:41 +02:00
rr-
7f53abb498
client/tags: remove unused cruft
2016-08-04 00:30:24 +02:00
rr-
67f803a2f2
client/general: fix support for deleted users
2016-08-02 12:27:02 +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-
51ea06d837
client/posts: add expanders to edit sidebar
2016-08-02 12:27:01 +02:00
rr-
9ee973ce1c
client/posts: add custom thumbnail discarding
2016-07-31 23:54:29 +02:00
rr-
673bb52d4a
client/tags: add ability to turn off suggestions
2016-07-31 23:07:01 +02:00
rr-
1fbeecb0a2
client/help: correct obsolete information
2016-07-30 23:12:31 +02:00
rr-
e464e69b36
client/general: remove faux href='#' from links
2016-07-30 23:12:31 +02:00
rr-
245ce258a9
client/tags: improve copying tag list
...
- Don't copy tag count
- Don't copy × button
- Copy spaces between tags
2016-07-30 23:12:08 +02:00
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-
e4954140f8
client/tags: rewrite tag input
...
Suggestions will be reimplemented in separate commit
2016-07-30 23:10:38 +02:00
rr-
7e6e59417e
client/tags: allow deleting used tags
2016-07-30 13:43:15 +02:00