Commit Graph

9377 Commits (28359665187b0a3b9ec6226dca1234ebdbd725a5)

Author SHA1 Message Date
Barış Soner Uşaklı 794bf01b21 feat: allow changing default search in
Julian Lam cf4b78dbd3 Revert "fix: taskbar icon not pushed via composer/persona"
This reverts commit 3a81c8fd42.
psychobunny d2492ef48e style: eslint
psychobunny 3a81c8fd42 fix: taskbar icon not pushed via composer/persona
@antosik, partially reverted your PR:
342503e07a

just specifically this file: 342503e07a/public/src/modules/taskbar.js

I'm not 100% sure, but it might be because this hook is called sooner than the hook being registered? https://github.com/NodeBB/nodebb-theme-persona/blob/master/public/persona.js#L100-L101  @julianlam
Misty (Bot) 0c672d8faa Latest translations and fallbacks
Barış Soner Uşaklı 382a4c2785 feat: , use radio buttons for flag reasons
Misty (Bot) 2f2e6b4b5e Latest translations and fallbacks
Anton Grigoryev 342503e07a
Feat: Client-side hooks - replace window.trigger ()
* feat/clientside-hooks: replace window.trigger with hooks.fire

* feat(clientside-hooks): Move hooks require to the top

* fix: simplifying complex logical expression

* fix: client-side hook for translator - post-review fixes
Misty (Bot) a850dd2e34 Latest translations and fallbacks
Misty (Bot) 4c67592f55 Latest translations and fallbacks
Misty (Bot) 8100b6a841 Latest translations and fallbacks
Barış Soner Uşaklı 8bf2896d6c fix: lint
Barış Soner Uşaklı 358ad74054 feat: closes , allow event deletion
fix: topic events appearing before necro messages
feat: add move topic event
feat: add ability to delete specific topic events via events.purge
Julian Lam f653a6ff6a feat: replace eslint configs on server and client side to inherit rules from eslint-config-nodebb
opliko 5e6b8433a3 change font order
opliko f576d6e0ea fix solid font weight in shim
opliko a370c26f73 feat: re-add FontAwesome font for compatibility
opliko 41762e6603 feat: update to FontAwesome 5.15, resolve
Misty (Bot) fadb71bff5 Latest translations and fallbacks
Misty (Bot) 39911a9fc5 Latest translations and fallbacks
Misty (Bot) e8b2aa51bf Latest translations and fallbacks
Misty (Bot) d675795749 Latest translations and fallbacks
Misty (Bot) 46243719b7 Latest translations and fallbacks
Julian Lam bbbacd86ab feat: updated email confirmation alert to more closely reflect email usage, remembering dismissal
Julian Lam 58adb76246 feat: allow requirejs modules to be awaited
Julian Lam 0e05cbe1f7 feat: show instructional modal after email change request
Julian Lam 824a72b220 fix: updated ACP > Manage > Users to handle users with no email address
Julian Lam 3bcd1f1438 fix: email validation flow, so that it actually works, fixed event logging bug, new email verification template
gasoved a917210c5b feat: invites no longer require email
Julian Lam 81611ae1c4 fix(emails): broken test for api/user/email/:email
+ fixed broken tests due to unexpected behaviour for email confirmation
Julian Lam be97aa6f13 feat(emails): +includeUnverifiedEmails ACP setting
Julian Lam ab9b671693 fix(emails): broken test due to sticky registration interstitial
Julian Lam 69c96dd23c refactor(emails): more work in update email interstitial, interstitial skipping, email change on confirmation, deprecation of requireEmailConfirmation
Julian Lam f365bc4600 refactor(emails): interstitial for adding/updating email
Julian Lam 74aaa0a926 feat: show different registration intersitial lead text on new account vs. existing
Julian Lam 7c1d1c777b refactor(emails): remove email validation on client and server side
Julian Lam 12b2a979a0 feat: removal of emailExists socket listener
Misty (Bot) c54d339dca Latest translations and fallbacks
Misty (Bot) 09c2b85e36 Latest translations and fallbacks
Misty (Bot) 9f56c893ab Latest translations and fallbacks
Misty (Bot) 8826e7a858 Latest translations and fallbacks
Misty (Bot) 6650c0bbf7 Latest translations and fallbacks
Misty (Bot) b837e04ae0 Latest translations and fallbacks
Misty (Bot) 84830bf7c8 Latest translations and fallbacks
Misty (Bot) 9efdbecc00 Latest translations and fallbacks
Julian Lam 21359eabac feat: convert _fireStaticHook to async function (auto-refactor by vscode)
Julian Lam 6bc090f8bb docs: some hook deprecation notices
Julian Lam ef4e74bfc8 refactor: client-side to use flag notes API
Julian Lam cc6cbfcdc4
Flags API ()
* feat: new routes for flags API

+ flag get
+ flag creation, migration from socket method
+ flag update, migration from socket method
* fixed bug where you could not unassign someone from a flag

* feat: tests for new flags API

added missing files for schema update

* fix: flag tests to use Write API instead of sockets

* feat: flag notes API + tests

* chore: remove debug line

* test: fix breaking test on mongo
Misty (Bot) 71bc258731 Latest translations and fallbacks
psychobunny acb11cc764 fix: use hooks module instead of window trigger
Misty (Bot) c4be0078ed Latest translations and fallbacks
Misty (Bot) f9a89adc97 Latest translations and fallbacks
Barış Soner Uşaklı 4a56388ec3
feat: store topic tags in topic hash ()
* feat: store topic tags in topic hash

breaking: remove color info from tags (use css)

* fix: remove unused tag modal

* fix: tag search
psychobunny 522291726d style: lint
psychobunny e0db904b0e feat: new hook `action:topics.loading` (in the same format as `action:posts.loading`)
psychobunny 8ae4c30029 feat: schedule deprecation for `action:category.loaded` and `action:category.loading`. Use `action:topics.loaded/ing` instead
(or action:ajaxify.end if you are using it to check cid on page load)
psychobunny 07f25d8c47 fix: made TopicList.onTopicsLoaded private [breaking]
Misty (Bot) 62cd5f669b Latest translations and fallbacks
Misty (Bot) 98b685d9c5 Latest translations and fallbacks
Julian Lam 7036c3751e feat: internationalize API error messages
Barış Soner Uşaklı 5fd190f7c4 feat: , change category desc to multiline
Misty (Bot) 7da8f12173 Latest translations and fallbacks
Misty (Bot) 5fe074c133 Latest translations and fallbacks
Misty (Bot) d9ea704731 Latest translations and fallbacks
Misty (Bot) f7f008a779 Latest translations and fallbacks
Misty (Bot) 7b20cd304b Latest translations and fallbacks
Misty (Bot) b3658329da Latest translations and fallbacks
Julian Lam b896484351 fix: , re-jig top bar of Admin > Manage > Users
Misty (Bot) 4d6421bb76 Latest translations and fallbacks
Julian Lam 849049765b fix: , sanitize all attributes in meta and link tags
Julian Lam 09bac6bd7e fix: convert some hooks to use hooks module
re: 
Misty (Bot) a76eab1ca2 Latest translations and fallbacks
Misty (Bot) e6f30d2a36 Latest translations and fallbacks
Misty (Bot) 366b36a560 Latest translations and fallbacks
Barış Soner Uşaklı 561ce7d30a fix: , translate content property of meta tags
Barış Soner Uşaklı 9a9250338a Merge branch 'master' of https://github.com/NodeBB/NodeBB
Barış Soner Uşaklı 2fe30b6fa0 feat: , allow setting custom icon names
Misty (Bot) eacd00e9a4 Latest translations and fallbacks
Barış Soner Uşaklı 84e065752f
fix: ()
dont allow regular user to remove system tags
Misty (Bot) 50e1a1a7ca Latest translations and fallbacks
Barış Soner Uşaklı c92fc19b5c fix: , add group chat filter to /notifications
Misty (Bot) ab5e2a4163 Latest translations and fallbacks
Barış Soner Uşaklı 7b4c0a1683 fix: keep query params when switching chat
Misty (Bot) dc613835e1 Latest translations and fallbacks
Misty (Bot) 8f58c97c6d Latest translations and fallbacks
Barış Soner Uşaklı be19f27f40 feat: add filter:categories.categorySearch
Misty (Bot) 3cc3ef6e70 Latest translations and fallbacks
Misty (Bot) db5f988324 Latest translations and fallbacks
Barış Soner Uşaklı cc0cf99fed
feat: allow nested properties on category page ()
* feat: allow nested properties on category page

* fix: remove debug

* fix: remove debug
Misty (Bot) 8f00abc838 Latest translations and fallbacks
Barış Soner Uşaklı 39e1359142 fix: schema
Barış Soner Uşaklı 8ea58432c9 feat: show ip on acp manage users
update url on search
show matching ip when searching by ip
add ip to export csv
Misty (Bot) 1709139200 Latest translations and fallbacks
psychobunny 2db77b0cd2 docs: add undoTimeout
psychobunny e588948ff5 feat: add undoTimeout to moving posts as well
psychobunny 05cc7ccb60 feat: make undoTimeout configurable, closes
Julian Lam 93d94564c1 fix: , incorrect placeholder string in some translations
Mats c448ba6f5a
Fixes flag note editing, deletion, and template update ()
* Fixes flag note editing, deletion, and template update

Flag note datetime should be int.
Corrects argument order for note reloading.

* Chore: add missing radix

* fix: empty append bug

This line results in an error message popping up when clicking the flag notes text box, as the 'appendNote' case fires with no text. I can't tell that it serves any function.
Misty (Bot) 21c992242e Latest translations and fallbacks
Misty (Bot) 866a53088b Latest translations and fallbacks
Mats f9b248b87f fix: updates navigation menu user icon
Misty (Bot) e6c3840a4d Latest translations and fallbacks
Misty (Bot) b9482e3c87 Latest translations and fallbacks
Julian Lam d2960aeb09 feat: added GET user route for api v3
Misty (Bot) 925883bf4c Latest translations and fallbacks
Misty (Bot) 609e579442 Latest translations and fallbacks
Misty (Bot) 99472e7652 Latest translations and fallbacks
Mats e6ef094079
Re-enable "change username" button after failed attempt ()
* Re-enable "change username" button after failed attempt

* chore: proper indentation
Misty (Bot) 0a5f165371 Latest translations and fallbacks
Misty (Bot) 573a6e11e3 Latest translations and fallbacks
Misty (Bot) d81ce3e566 Latest translations and fallbacks
Barış Soner Uşaklı f5847f4f02 feat: , set order help text
Misty (Bot) 728db64485 Latest translations and fallbacks
Misty (Bot) 70852c24de Latest translations and fallbacks
Misty (Bot) 2e6a01a7c8 Latest translations and fallbacks
Misty (Bot) f645a96d18 Latest translations and fallbacks
Julian Lam 8cc61f1197 feat: automatically attempt reconnection on window focus
Julian Lam ec6d1e2321
fix: session reroll causes socket.io to become confused ()
* fix:  session reroll causes socket.io to become confused

* fix: added return

* fix: simpler logic for error handling

* fix: overly sensitive catch
Julian Lam 6ef0c8e950 docs: update API docs to better outline authentication options
Misty (Bot) b4c31f78ec Latest translations and fallbacks
Misty (Bot) 7f7d5a8f79 Latest translations and fallbacks
Misty (Bot) 230bbf01fc Latest translations and fallbacks
Misty (Bot) d8a8864cee Latest translations and fallbacks
Misty (Bot) 3cfd8f7671 Latest translations and fallbacks
Misty (Bot) 45a4bb4174 Latest translations and fallbacks
Misty (Bot) 32d67666cd Latest translations and fallbacks
gasoved ce5fea2abd fix: do not register SW for Safari until upstream fixes
gasoved cb1dd0a3db
fix: infinite scroll with small number of items ()
Misty (Bot) 9950602eff Latest translations and fallbacks
Julian Lam db48b9527d fix: unable to properly ajaxify to home on subfolder installs if anchor did not have a trailing slash
Misty (Bot) 8789716ae4 Latest translations and fallbacks
Misty (Bot) ac1a272321 Latest translations and fallbacks
Misty (Bot) 55e3f5c1db Latest translations and fallbacks
Julian Lam d08d0c42e9 docs: update API authentication verbiage
Barış Soner Uşaklı b40fc4b64d feat: send notifications on accept/reject
psychobunny 2bfa63aecf feat: `hidden` class to FOUC
Misty (Bot) 3b98d83a6b Latest translations and fallbacks
Misty (Bot) 56f6b98b80 Latest translations and fallbacks
Misty (Bot) a90f123b50 Latest translations and fallbacks
Misty (Bot) eca6a8aa2e Latest translations and fallbacks
Barış Soner Uşaklı 9b71b087ec feat: lang strings
psychobunny a9978fcfd2 feat: rate limit file uploads
Misty (Bot) 0a3a22db9d Latest translations and fallbacks
Misty (Bot) f44ec97f3b Latest translations and fallbacks
Misty (Bot) c484ed4858 Latest translations and fallbacks
Misty (Bot) 0cfccee3bd Latest translations and fallbacks
psychobunny 93598982f9 fix: stripTags for editing sorted list items as well
psychobunny b5ce8d257c style: eslint
gasoved 8faa6e4515
feat: filter flags by username ()
* feat: filter flags by username 

* feat: toggle flag filter text
Misty (Bot) 47348d2c9f Latest translations and fallbacks
psychobunny 75073c0ed3 fix: stripHTMLTags for sorted list entries
psychobunny e50408b461 fix: restore original behavior for up/downvoting when logged out
Misty (Bot) b93a2717fd Latest translations and fallbacks
psychobunny 60eed8d89f fix: let recent replies respect oldest/newest sort settings
Misty (Bot) e2105ca8fa Latest translations and fallbacks
Misty (Bot) c66032d169 Latest translations and fallbacks
Julian Lam 95d5359cbe fix: copy change on plugin activate to instruct admins to rebuild as well as restart
re: 
Misty (Bot) f40ee34c5b Latest translations and fallbacks
Barış Soner Uşaklı 1af34b43e3 fix: , load hooks on page load
Barış Soner Uşaklı d09cdc0436 fix: spec
Barış Soner Uşaklı f32ea1737a fix: , don't call leaveRoom in maintenance mode
Barış Soner Uşaklı c5ae8a70e1 fix:
Misty (Bot) 81f2fb201e Latest translations and fallbacks
Misty (Bot) e0f23c9031 Latest translations and fallbacks
Misty (Bot) 22474753c4 Latest translations and fallbacks
Misty (Bot) 7754c1f66e Latest translations and fallbacks
Barış Soner Uşaklı cb53a64cde fix: acp crash
Misty (Bot) e963715e94 Latest translations and fallbacks
Barış Soner Uşaklı dbb59228f2 feat: add action:posts.loaded
Barış Soner Uşaklı 536591f842 fix: , include query params in previousUrl
psychobunny 1ad1787eaa fix: thumb count not updated when uploading multiple thumbs at a time
gasoved aa0137b1c4
feat: rescheduling (editing ST) ()
Misty (Bot) 75a4d37e2e Latest translations and fallbacks
Misty (Bot) 4c66c7f9b2 Latest translations and fallbacks
psychobunny 01f63e5d58 fix: change email button stays disabled if user submitted an invalid email
psychobunny cfdef77b28 fix: use app.logout() to clear session after deleting user
I think this was originally changed when we added logging in/out without refreshing, but didn't change this back after reverting that feature
Misty (Bot) a72cc99012 Latest translations and fallbacks
Misty (Bot) 40ed7a3b1e Latest translations and fallbacks
Barış Soner Uşaklı 344575dde1
feat: add hooks to language loading ()
and flushNamespace method
Barış Soner Uşaklı b06f0ea20e feat: doggy.gif
gasoved a3e95e798f feat: allow adding sorted-list items from forms outside of modal
Misty (Bot) 60e3131c81 Latest translations and fallbacks
gasoved 077330b764
feat: scheduled topics ()
* feat: scheduled topics

* refactor: linting fixes

* fix: tests

* fix(test): race condition

* fix: make a single request
Misty (Bot) 66e986960d Latest translations and fallbacks
Julian Lam d9e2029074 fix: hooks for alert animate, no more fadein/fadeout for reconnect alert
Misty (Bot) 831ecc6af0 Latest translations and fallbacks
Misty (Bot) 280e163690 Latest translations and fallbacks
Barış Soner Uşaklı e42b152f16 fix: , use posts:view_deleted
Misty (Bot) ab38f745a0 Latest translations and fallbacks
Barış Soner Uşaklı 3c4e93a3c1 fix:
Barış Soner Uşaklı cef58d1d6f fix:
Barış Soner Uşaklı 93c595d95e fix: , update flag post tools
Misty (Bot) 026ceaf3ec Latest translations and fallbacks
Misty (Bot) d56bca65aa Latest translations and fallbacks
Barış Soner Uşaklı ee69c1f80e fix: selector
Misty (Bot) 17693dd5ca Latest translations and fallbacks
Barış Soner Uşaklı dd12c83fa0 feat: make info page full width
Barış Soner Uşaklı 262e059fa6 fix: inf scroll with subfolder install
Barış Soner Uşaklı 2041b8084f fix: flicker on dashboard
Julian Lam d1685600d3 refactor: deprecate action:script.load, use filter:script.load instead
Misty (Bot) 6a354db491 Latest translations and fallbacks
Barış Soner Uşaklı 03e306349c fix: , don't try to load undefined images
Barış Soner Uşaklı 482641e30e fix: , add missing translation string
Misty (Bot) 754965b572 Latest translations and fallbacks
Barış Soner Uşaklı 1e1127bd20 fix: spec
Barış Soner Uşaklı e539ff4f95 Merge branch 'master' of https://github.com/NodeBB/NodeBB
Barış Soner Uşaklı 617f4730a0 fix: crash if unreadTopics is undefined
Misty (Bot) df0518f934 Latest translations and fallbacks
Barış Soner Uşaklı f45c0aab51 fix: dont crash if login el doesnt exist
Barış Soner Uşaklı 52082e1296 feat: add resolve flag to post tools
Julian Lam 2a939aad8d fix: regression via c1b3079d93
Also refactored privilege render logic so that it no longer needs a server-side hack to render column count
Julian Lam 4cbd13fd9c feat: hide revert button in ACP > Privileges until privileges change
Julian Lam 8472513093 fix: change notification updateCount to use client-side hooks
Misty (Bot) 6b4cd7557c Latest translations and fallbacks
Misty (Bot) 5ec22c6845 Latest translations and fallbacks
Julian Lam 98bf4064e7 refactor: account edit logic and template, closes
Misty (Bot) 62bf211894 Latest translations and fallbacks
Barış Soner Uşaklı a9b33ed39f
Delete favicon.ico
psychobunny 771a8955a4 fix: best not to check file exists on every page load; copying favicon to uploads/system folder instead
Barış Soner Uşaklı 2085a7d163 Merge branch 'master' of https://github.com/NodeBB/NodeBB
Barış Soner Uşaklı 17184bface feat: add missing translation keys
Misty (Bot) 4a9b3af278 Latest translations and fallbacks
Barış Soner Uşaklı e787e6ea22 fix: if no in passed use "titles" to match header search
Barış Soner Uşaklı 696c489524 feat: add back topic id input
Misty (Bot) 4c73c26dd8 Latest translations and fallbacks
Barış Soner Uşaklı 8a4c361ece fix: , don't close quicksearch results if mouse is down on them
Misty (Bot) 2826e29494 Latest translations and fallbacks
Barış Soner Uşaklı 3aa26c4df2 fix: , only log email errors once per digest, notification push
show notice in acp
Julian Lam c5e257888a fix: bad logic when inserting rows to privilege tables, also a missing tfoot 🦶
Julian Lam c265016944 fix: app.parseAndTranslate to always return promise
Misty (Bot) 67bb63bd09 Latest translations and fallbacks
psychobunny 66196d2caf feat: allow for settings.save/settings.load on client side
w/ optional data-socket-get / data-socket-set params on form element for custom calls
Julian Lam e755067387 docs: fixed typo
Barış Soner Uşaklı 48bc23c065 refactor: remove startsWith/endsWith
Julian Lam b5a6a3149d refactor: app.parseAndTranslate to return promise if no callback passed
Julian Lam c1b3079d93 feat: category privilege API routes
closes 
Julian Lam 1e579428e7 fix: bug where fallback window trigger was not firing if there were no hook listeners attached
... so in essence the backwards compatibility was not working at all.

closes 
Misty (Bot) b2c1b4ac45 Latest translations and fallbacks
Julian Lam 7d391d4789 feat: new client-side hook `filter:api.options` to allow plugins to modify api requests
preetykumar 2826c6986c
Update taskbar.js ()
* Update taskbar.js

add aria-label to make the link text discernible to screen readers.

* place quotes around attribute value

Co-authored-by: Peter Jaszkowiak <p.jaszkow@gmail.com>
Misty (Bot) 21377cfa2b Latest translations and fallbacks
Misty (Bot) 35a3cc3461 Latest translations and fallbacks
Julian Lam 2b7d0b5a47 fix: user icon text overflow in some cases
Julian Lam 114e3a1e76 fix: use components for toggleNavbar instead
Misty (Bot) 21634e2681 Latest translations and fallbacks
Julian Lam 73dc64d9ff feat: add dashboard sub-pages to ACP menu
Julian Lam 655e2c67ad fix: timeago missing on table update
Julian Lam 0804d54759 spec: schema docs for new ACP dashboard subpage routes
Julian Lam 2f89b0d791 feat: recent logins sessions table in dashbaord subpage
Julian Lam e1ed514b10 feat: topics dashboard details subpage
Julian Lam c57c77030e feat: update user list in dashboard/users on graph update
Julian Lam 3fa2e3cef2 refactor: have Graph.init and Graph.update return promises
Julian Lam f8e1a74c26 fix: wrong qs param, allow string to be passed to util.getDaysArray
Julian Lam 6fdcae7320 feat: req.query parsing and dynamically loading data instead
Julian Lam f561799f74 refactor: abstract out some client side dashboard code into modules, analytics subpages for users, topics, and logins
Misty (Bot) aed8b123bc Latest translations and fallbacks
Julian Lam d0136074b6 feat: allow hook unregistration, and temporary page-based hooks
Temporary hooks automatically unregister themselves on the next ajaxify, making them perfect for in-page events.
Barış Soner Uşaklı de6d156533 Merge branch 'master' of https://github.com/NodeBB/NodeBB
Barış Soner Uşaklı 7ae7626c1b Revert "feat: add logout to invalid session"
This reverts commit beb1427387.
Misty (Bot) 49c369528d Latest translations and fallbacks
Peter Jaszkowiak 0d59fe3d2b fix(): api v3 post, put, del JSON
also allow `app.alertError` to be called without an argument
also fix `./nodebb build --dev` to actually build in dev mode
Julian Lam 9a9f366d3b feat: track login sessions for admin dashboard reporting
Misty (Bot) 0bc74e7056 Latest translations and fallbacks
Julian Lam beaac0a1ab fix: allow hidden inputs in user settings page
Misty (Bot) cf1939e16d Latest translations and fallbacks
Julian Lam c96fd3b19b feat: pass user picture object into change_picture_modal
Julian Lam 28f6931e16 refactor: move picture change client-side logic to its own rjs module
Barış Soner Uşaklı beb1427387 feat: add logout to invalid session
Julian Lam d3a9e76ae2 test(user): added additional tests for icon background colour
Julian Lam 955021247e feat(user): icon background selector in change picture modal
Julian Lam b4c0b32b26 fix: use root context if buildAvatar context is undefined
Misty (Bot) e23bf9f94d Latest translations and fallbacks
Misty (Bot) f9fc884867 Latest translations and fallbacks
Barış Soner Uşaklı fa91525a6d fix: use bootbox module
Barış Soner Uşaklı 0e07f3c9ba feat: allow defining a list of system tags
Misty (Bot) ce3f581434 Latest translations and fallbacks
Barış Soner Uşaklı 9ce6f8ad93 feat: add tag filter to getSortedTopics
Julian Lam 4c078084dc test: fix spec for topic thumbs
Julian Lam 1d9ade4c36 test: added missing properties to topicObject
Julian Lam b31f6dd24a test: added missing test file
Julian Lam ad54b174a4 test: topic reordering tests
Julian Lam 7223074f1d feat: ability to re-order topic thumbnails
Julian Lam db027170a8 feat: add close button to topic thumbnail modal
Misty (Bot) 2821b917d0 Latest translations and fallbacks
Misty (Bot) 59885a9e2e Latest translations and fallbacks
Misty (Bot) b5b92768e2 Latest translations and fallbacks
Misty (Bot) 3ad25e8ff6 Latest translations and fallbacks
Julian Lam 36e8d251c8 fix: use of removed URL to get post data
Julian Lam 8fd78ce512 feat: post-queue topic event
Misty (Bot) 48a3c4bd2e Latest translations and fallbacks
Barış Soner Uşaklı 3595473485 feat: load user posts/topics via xhr on infinitescroll
Misty (Bot) 3a61ac2119 Latest translations and fallbacks
Misty (Bot) 949f043a96 Latest translations and fallbacks
Misty (Bot) 0092df2c02 Latest translations and fallbacks
Barış Soner Uşaklı 670cde78da feat: add invalid event name to error message
Peter Jaszkowiak cc9d6fd08b chore: eslint max-len
Peter Jaszkowiak 62869bae3d chore: eslint function-paren-newline
Peter Jaszkowiak 9f6a682ca9 chore: eslint no-script-url
Peter Jaszkowiak dad01e3051 chore: eslint no-bitwise
Peter Jaszkowiak 58528d1a3e chore: eslint rules matching existing styles
Julian Lam 16610b2dca fix: pass jquery object in to action:notifications.loaded hook
Julian Lam 7edc8f458d feat: new notifications load/loaded hooks on client side
refactored `toggleTimeagoShorthand` code to be inside of a hook listener
Barış Soner Uşaklı 0cca6893f3 fix: ,
Barış Soner Uşaklı cfa0d42390 fix: don't use global bootbox obj
Barış Soner Uşaklı 550cd995e8 fix: remove console.log
Barış Soner Uşaklı fca17cb713 fix: move service worker back to relative_path/service-worker.js
Barış Soner Uşaklı ab0ef44289 fix: spec
Barış Soner Uşaklı a4878a5b22 fix: markread selector
Misty (Bot) 429cff93ee Latest translations and fallbacks
Barış Soner Uşaklı 3090a2aee4 fix: position when scrolling up
if sorting is newest to oldest scrollTop wont be changed if you are at the top of the page
Barış Soner Uşaklı 47299ea587
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

* feat: new category filter/search WIP

* feat: remove categories from /tag

* fix: dont load all categories when showing move modal

* feat: allow adding custom categories to list

* breaking: dont load entire category tree on post queue

removed unused code
add hooks to filter/selector
add options to filter/selector

* feat: make selector modal work again

* feat: replace old search module

* fix: topic move selector

* feat: dont load all categories on create category modal

* fix: fix more categorySelectors

* feat: dont load entire category tree on group details page

* feat: dont load all categories on home page and user settings page

* feat: add pagination to /user/:userslug/categories

* fix: update schemas

* fix: more tests

* fix: test

* feat: flags page, dont return entire category tree

* fix: flag test

* feat: categories manage page

dont load all categories
allow changing root category
clear caches properly

* fix: spec

* feat: admins&mods page

dont load all categories

* fix: spec

* fix: dont load all children when opening dropdown

* fix: on search results dont return all children

* refactor: pass all options, rename options.cids to options.selectedCids

* fix: 

* fix: index 0

* fix: spec

* feat: , add setObjectBulk

* refactor: shoter updateOrder

* feat: selectors on categories/category

* fix: tests and search filter

* fix: category update test

* feat: pagination on acp categories page

show order in set order modal

* fix: allow drag&drop on pages > 1 in /admin/manage/categories

* fix: teasers for deep nested categories

fix sub category display on /category page

* fix: spec

* refactor: use eslint-disable-next-line

* refactor: shorter
Misty (Bot) 73c9c1c25a Latest translations and fallbacks
Julian Lam 67e3fb6498 fix: register returnTo logic to match login route
Login route saves the previous page by checking for the X-Return-To header. This header is automatically set by ajaxify.
Login takes this value and saves it to `req.session`.

Up until now, `/register` saved the previous URL in a hidden input, and redirected based on that value, but it occasionally conflicted with req.session.returnTo. It was also confusing because it did not match how login handled the values.

This commit updates the route handling so it works identically to `/login`.
Misty (Bot) 9576bec6c3 Latest translations and fallbacks
Misty (Bot) 4939837d5b Latest translations and fallbacks
Julian Lam 74be1a5963 chore: fallbacks
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