summaryrefslogtreecommitdiff
path: root/client/js/util/views.js
AgeCommit message (Collapse)Author
2025-02-15Merge branch 'master' into hunternifHunternif
2024-03-21client/views: better pool name fallbackEva
2024-03-21client/views: more thorough link fallbacksEva
Prevents a bunch of errors that can happen when a resource is deleted.
2021-08-07client: fix errors after merge (escapeTagName)Hunternif
2021-08-04Merge remote-tracking branch 'origin/master' into hunternifHunternif
# Conflicts: # client/css/post-content-control.styl # client/css/post-list-view.styl # client/html/post_edit_sidebar.tpl # client/js/controllers/post_list_controller.js # client/js/controllers/post_main_controller.js # client/js/controllers/post_upload_controller.js # client/js/controllers/tag_controller.js # client/js/controllers/user_list_controller.js # client/js/controls/expander_control.js # client/js/controls/post_content_control.js # client/js/controls/post_edit_sidebar_control.js # client/js/controls/post_readonly_sidebar_control.js # client/js/controls/tag_input_control.js # client/js/main.js # client/js/models/abstract_list.js # client/js/models/post.js # client/js/models/post_list.js # client/js/models/settings.js # client/js/models/tag.js # client/js/models/tag_list.js # client/js/tags.js # client/js/util/search.js # client/js/util/touch.js # client/js/util/uri.js # client/js/util/views.js # client/js/views/post_main_view.js # client/js/views/post_upload_view.js # client/js/views/posts_header_view.js # client/js/views/posts_page_view.js # client/js/views/settings_view.js # client/js/views/tag_view.js # client/package-lock.json # client/package.json # server/config.yaml.dist # server/szurubooru/api/__init__.py # server/szurubooru/api/post_api.py # server/szurubooru/api/tag_api.py # server/szurubooru/func/posts.py # server/szurubooru/func/tags.py # server/szurubooru/model/__init__.py # server/szurubooru/model/post.py # server/szurubooru/model/tag.py # server/szurubooru/search/configs/__init__.py # server/szurubooru/search/configs/post_search_config.py # server/szurubooru/search/executor.py # server/szurubooru/tests/api/test_post_retrieving.py # server/szurubooru/tests/api/test_post_updating.py # server/szurubooru/tests/api/test_tag_updating.py # server/szurubooru/tests/conftest.py # server/szurubooru/tests/func/test_posts.py # server/szurubooru/tests/func/test_tags.py # server/szurubooru/tests/search/configs/test_post_search_config.py
2020-07-08client/js/views: fix pool links for deleted poolsShyam Sunder
Fixes #333
2020-06-23client/pools: inherit option to show underscores as spacesShyam Sunder
2020-06-06client+server: implement code autoformatting using prettier and blackShyam Sunder
2020-06-04client+server: add post pools featureShyam Sunder
2020-06-04client/js: format code to ESLintShyam Sunder
2020-05-04Add list of posts to poolsRuin0x11
2020-05-03Add pool CRUD operations/pagesRuin0x11
2019-05-22Add setting to display underscores as spaces in tagsneobooru
2019-05-08client: use cachenumber in random post buttonHunternif
2019-05-07client: save post id in metric sorter urlHunternif
2019-05-03client: fix "Start sorting" button, so that it immediately updates the url ↵Hunternif
with selected metrics. Also fix non-focusable links.
2019-05-03client: metric sorter UI, view & controllerHunternif
2019-04-29client: selecting metrics modifies query, but doesn't show in search boxHunternif
2019-04-27client: prettier design for metric headerHunternif
2019-04-22client: fix displaying 0 in number inputsHunternif
2019-04-22client: ui to create exact value post metricHunternif
2018-03-25server/auth: add token authenticationReAnzu
* 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
2017-10-01remove tags.jsonrr-
2017-02-07client/tags: use new color input (#119)rr-
2017-01-21client: refactor linking and routingrr-
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-08client/posts: show ! in title for similar postsrr-
2017-01-08client/posts: tweak upload appearance and UXrr-
2016-11-11client/settings: add ability to autoplay videosrr-
2016-11-11client/views: refactor make(Non)VoidElementrr-
Merge into one function
2016-10-22client/css: align radioboxes to first linerr-
2016-10-02client/views: escape tag/user/post linksrr-
2016-09-29client/build: ditch arrayToObjectrr-
UglifyJS seems to have troubles using it, I didn't want to investigate it too much as it's just a syntactic sugar used in about 4 places so I just removed it altogether
2016-09-26client/views: show "!" in document title on errorsrr-
Closes #96
2016-09-10client/errors: show errors in inline Markdownrr-
2016-08-28client/paging: avoid redrawing header navigationrr-
2016-08-28client/general: remove spurious console.logrr-
2016-08-23client/general: show empty thumbnails as gridrr-
2016-08-22client/general: add empty href for link buttonsrr-
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-21client/posts: implement upload formrr-
2016-08-20client/snapshots: add snapshots browserrr-
2016-08-05client/general: clean up, refactorrr-
2016-08-05client/settings: add posts per page optionrr-
2016-08-02client/general: fix support for deleted usersrr-
2016-07-26client/posts: respect edit privileges in sidebarrr-
2016-07-13client/general: improve scrollingrr-
2016-07-08client/general: refactor URL parameter handlingrr-
2016-06-23client/general: escape entity names in linksrr-
2016-06-23client/views: escape HTMLrr-
This lets client use < > in tag names.
2016-06-23client/tags: add summary view, add tag descriptionrr-
2016-06-23client/tags: fix tag categories with spacesrr-