Commit graph

410 commits

Author SHA1 Message Date
Shyam Sunder
8fa84abdc4 client/posts: provide link for danbooru image search 2021-01-08 11:03:38 -05:00
Shyam Sunder
b9451bef4a client/posts/edit: maintain post editing state for arrow key nav
Fixes #373
2021-01-08 10:21:56 -05:00
Shyam Sunder
eaa6107a6c client/posts: support content aware post flow option 2020-09-27 20:11:56 -04:00
Shyam Sunder
afe4c5c847 client/tag-categories: sort by order on tag-category edit page 2020-09-25 00:02:12 -04:00
neobooru
d2b6ecef4d server+client: update tag category api + fix formatting 2020-09-23 13:48:47 +02:00
neobooru
06ad8b1882 client+server: add tag category ordering feature
Fixes  #209
2020-09-19 22:55:17 +02:00
Shyam Sunder
c004eb36c2 client/css: implement dark theme option 2020-08-26 13:19:56 -04:00
Shyam Sunder
1bbcaf11f7 client/posts: add tag implications when autocompleting mass tag inputs
Closes #334. This solution should function similar to single post
tagging. Implications are automatically added but this also allows
for them to review and manually remove any unwanted implications.
2020-08-23 13:11:19 -04:00
Shyam Sunder
74c97efdef client/search: fix autocomplete for composite queries
Fixes #342
2020-08-22 10:17:59 -04:00
Shyam Sunder
13e2888ae4 client/js/views: fix pool links for deleted pools
Fixes #333
2020-07-08 17:28:20 -04:00
Shyam Sunder
0137cf383a client/markdown: use DOMPurify over marked.js sanitizer
See markedjs/marked#1232
2020-06-23 13:24:59 -04:00
Shyam Sunder
d420609f97 client/pools: inherit option to show underscores as spaces 2020-06-23 12:36:26 -04:00
Shyam Sunder
029c112011 client/html: fix upload error when pool input is disabled 2020-06-22 16:44:41 -04:00
Shyam Sunder
b8c5b27195 client/html: hide 'pools' in navbar if user doesn't have privileges 2020-06-22 15:47:57 -04:00
Shyam Sunder
57193b5715 client+server: implement code autoformatting using prettier and black 2020-06-06 08:58:23 -04:00
Shyam Sunder
c5358f7f83 client+server: add post pools feature 2020-06-04 21:01:28 -04:00
Shyam Sunder
4329b1620f client/js: format code to ESLint 2020-06-04 19:02:33 -04:00
Ruin0x11
1be947e946 PR fixes 2020-06-02 17:43:18 -07:00
Ruin0x11
6b8e3f251f Implement pool merging 2020-05-04 15:15:51 -07:00
Ruin0x11
ffba010ae4 Implement updating pools of a post from details sidebar 2020-05-04 14:44:16 -07:00
Ruin0x11
8795279a73 Add pool input box in post details 2020-05-04 02:20:23 -07:00
Ruin0x11
e6bf102bc0 Add list of posts to pools 2020-05-04 00:09:33 -07:00
Ruin0x11
d59ecb8e23 Add pool CRUD operations/pages 2020-05-03 19:53:28 -07:00
rr-
6a95a66f12 client/file-dropper: fix undefined variable 2020-04-20 18:31:15 +02:00
Shyam Sunder
08e62ec885 client/posts: don't define flags on post upload 2020-04-01 21:01:20 -04:00
Shyam Sunder
af6eff9ff8 client/posts: allow for multiple source URLs to be entered and viewed 2020-01-26 17:49:04 -05:00
neobooru
eb49aea683 client/posts: remember offset when opening/closing bulk editor
Fixes rr-#274
Squashed with commit "client/posts: make prevQuery a const"
2019-10-25 11:10:56 -04:00
neobooru
73c53fa4e2 all: add support for webp images
Includes webp test image
Merges #283
2019-10-08 18:22:47 -04:00
neobooru
c9eae00c8c client/login: always store login cookie as 'auth'
Fixes #268
2019-09-29 23:14:14 -04:00
neobooru
0839dafd34 client/auth: call tags.refreshCategoryColorMap() after login
When the tag category list permission is not anonymous the category colors fail to load if you are not logged in, and because the page doesn't reload (SPA) the tag colors are still broken after logging in. Manually calling refreshCategoryColorMap after logging in solves this issue.
2019-07-24 16:42:37 +02:00
neobooru
8f0835f27b client/tag_categories: load tag_categories after (attempted) login
Fixes #262
2019-07-22 19:58:16 -04:00
neobooru
b8699d59d2 client/upload: automatically set source when uploading from url
Fixes #230
2019-07-23 01:20:42 +02:00
Shyam Sunder
e0fc790822 client/settings: Cache calls to settings.get() 2019-05-23 20:27:59 -04:00
neobooru
7b236b02c9 Add setting to display underscores as spaces in tags 2019-05-22 23:10:27 +02:00
ReAnzu
8e1e6af232 client/tag_categories: lowercase all color input on tag_categories 2019-04-08 23:50:20 +02:00
rr-
93910a1655 client/tags: fix post search links 2019-04-08 22:06:42 +02:00
ReAnzu
a4215e35dc client/post: Require the post to not be in edit mode. 2019-04-08 21:36:48 +02:00
ReAnzu
a48116aa05 client/post: Add swipe left and swipe right gestures to post content
client/post: Add swipe left and swipe right gestures to post content
2019-04-08 21:36:48 +02:00
raku-cat
3e6b98df92 client: Reimplement post source functionality 2019-02-08 16:43:38 -05:00
Robin Appelman
e6445b431f client/posts: fix absolute url on certain domains
Use the document base href to generate absolute url.
Otherwise the image link send to IQDB/google images will be invalid
2018-12-22 12:25:12 +01:00
Shyam Sunder
2235a72d2f server+client: added sound flag to video posts 2018-09-24 11:36:13 +02:00
Shyam Sunder
cbf67587e2 client: Some minor fixups to base URL feature
* Cleanup cookie storage path
* Cleanup Data URL
2018-08-23 21:04:19 +02:00
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
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
Shyam Sunder
3972b902d8 client: fetch configurations from server at runtime
Permissions, regex filters, app title, email info,
and safety now fetched using server's Info API
2018-06-27 21:20:03 +02:00
Nesswit
2bf361c64a client/posts: fix upload error caused by anonymous node
Anonymous node does not exist in view when a user without anonymous upload permission tries to post upload. So in this case we should check for the existence of anonymousNode first.
2018-05-21 21:41:23 +02:00
Michael Serajnik
d39439d549 client/posts: fix viewport height calculation on iOS 2018-05-01 22:26:17 +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
23a28ce69c client/css: make tab navigations scrollable on smaller screens 2018-03-10 17:45:37 +01:00