Commit Graph

8760 Commits (68da1c558fb0ff7b8ee22970ed7888bf75ac5f46)

Author SHA1 Message Date
Julian Lam 68da1c558f fix: update grammar on unban text
Julian Lam c729adeb08 fix: privileges page - tweak icon position and width, group name wrapping
gasoved 53e0d4d2e0 feat: banned-users group
Julian Lam 4af9c2fcdd fix: autofocus on search field in ACP > Manage > Plugins
gasoved cabec378f4 fix: openapi test specs
gasoved a2a7557cc0 refactor: update dom after diff deletion better
gasoved 4447a64eaa refactor: removed 3 lines
gasoved 72b050b4a8 test: post diff deletion tests
gasoved eb642f40b9 feat: , ability to delete a post's diffs
Misty (Bot) a87416971b Latest translations and fallbacks
Julian Lam 501441b736 feat: add .delete() method to api module
psychobunny 58655e9a0b fix: invalid API call when unfollowing a user
Misty (Bot) 526df41db1 Latest translations and fallbacks
Barış Soner Uşaklı 833c73e81b fix: example
Barış Soner Uşaklı cc560ca3f9 feat: doc add description
Barış Soner Uşaklı ed11e17129 feat: add doc for query param
Opliko 2bc74cffe6
fix: , scope service worker to relative_path for the forum ()
Adds a `Service-Worker-Allowed` header on `assets/src/service-worker.js` URL and uses `scope` option during registration to ensure the service worker is correctly scoped to the entire forum and only the forum.
Barış Soner Uşaklı d1364c3130
Categories refactor ()
* feat: wip categories pagination

* feat: add subCategoriesPerPage setting

* feat: add load more sub categories button to category page

* fix: openapi spec

* feat: show sub categories left on category page

hide button when no more categories left

* breaking: rename categories to allCategories on /search

categories contains the search results

* fix: spec

* refactor: remove cidsPerPage

* fix: tests

* feat: use component for subcategories

* fix: prevent negative subCategoriesLeft
Barış Soner Uşaklı 4c12e0aaf8 fix: update docs
Julian Lam 5131eb6b90 fix: `action:admin.settingsLoaded` to use new hooks lib
Julian Lam b0f5d5a594 fix: crash on firing action hook that had no listeners registered
Julian Lam 1a04ec6419 fix: bug where `action:settings.sorted-list.loaded` fired early
The hook was fired before the elements had been added to the DOM.

Also, I updated it to use the new hooks lib.
Barış Soner Uşaklı a29dd21de4 fix: don't translate message on every ajaxify
Misty (Bot) 195e688bac Latest translations and fallbacks
Julian Lam 4029ec3713 fix: multiple sorted-lists do not save to the correct set
Misty (Bot) 406faf4c66 Latest translations and fallbacks
Julian Lam f8bf9e99c4 fix: pass module name to `static:script.init`, +comments
I feel it is difficult to know exactly what the original use-cases were for these hooks, so some comments may be helpful.
Julian Lam 4bb3b0323d feat: guard password fields in login/register against accidental caps lock
Misty (Bot) 53a6dca3c6 Latest translations and fallbacks
Barış Soner Uşaklı faeb637353 fix: tests remove old routes
Barış Soner Uşaklı 05be1c6603 feat: restore action:script.load, allow modifying loaded module via static:script.init
Julian Lam 8b09292e77 chore: add deprecation notice in comments for ajaxify.loadExtraScripts
Julian Lam 7da1b43f2b fix: script failure if client-side page script does not exist
Julian Lam dc84559d0b feat(topic-events): topic events GET route in write API
Julian Lam 8e93bf7362 feat(topic-events): client-side handling on topic event log
Julian Lam df2fdd56ba fix(topic-events): repeated invocations of Posts.addTopicEvents caused dupes to be added to DOM
Julian Lam 9559fad8ac refactor(topic-events): expose addTopicEvents method in topic posts lib
+ allow it to accept an array of events, or fall back to ajaxify data otherwise
Julian Lam 882e6a159c feat(topic-events): handle newest_to_oldest sort in topic events, WIP
Julian Lam 2293a07a06 feat(topic-events): generic css for timeline-event
Julian Lam 611d1f872d feat(topic-events): support for uids in topic event payloads
Julian Lam ab2e1ecb40 feat(topic-events): work in progress topic events logic and client-side implementation
Julian Lam faf5960373 fix: bug where `action:ajaxify.end` was never called if there were no init scripts
Julian Lam 8e5687a4af refactor(hooks): deprecate `action:script.load` client-side hook
Use `static:script.init` instead.
Julian Lam efff8e2ae2 fix(hooks): bug where hook firing would fail if there were no listeners
Julian Lam e7bd038db1 refactor(hooks): better error handling
Hook listeners can both throw and reject, and it will be handled appropriately (e.g. filters won't fail)
Julian Lam 1d77572117 feat(hooks): update action:ajaxify.end to use new hooks module
Julian Lam 412d285850 fix(hooks): fallback handling for core invocations of hooks.fire
+ .on() which is the same as .register()
Julian Lam 01c9b1847e feat(hooks): client-side hooks module
Similar to server-side, comes with three hook types, filter, action, and static. Behaviour also mimics server-side.
Misty (Bot) 42c0f9ac52 Latest translations and fallbacks
Misty (Bot) 39bc741bca Latest translations and fallbacks