9620 Commits (72b03d8deaf5d931586e1d62a7e40a185031992d)

Author SHA1 Message Date
psychobunny 07f25d8c47 fix: made TopicList.onTopicsLoaded private [breaking] 4 years ago
Misty (Bot) 62cd5f669b Latest translations and fallbacks 4 years ago
Misty (Bot) 98b685d9c5 Latest translations and fallbacks 4 years ago
Julian Lam 7036c3751e feat: internationalize API error messages 4 years ago
Barış Soner Uşaklı 5fd190f7c4 feat: #9651, change category desc to multiline 4 years ago
Misty (Bot) 7da8f12173 Latest translations and fallbacks 4 years ago
Misty (Bot) 5fe074c133 Latest translations and fallbacks 4 years ago
Misty (Bot) d9ea704731 Latest translations and fallbacks 4 years ago
Misty (Bot) f7f008a779 Latest translations and fallbacks 4 years ago
Misty (Bot) 7b20cd304b Latest translations and fallbacks 4 years ago
Misty (Bot) b3658329da Latest translations and fallbacks 4 years ago
Julian Lam b896484351 fix: #9634, re-jig top bar of Admin > Manage > Users 4 years ago
Misty (Bot) 4d6421bb76 Latest translations and fallbacks 4 years ago
Julian Lam 849049765b fix: #9636, sanitize all attributes in meta and link tags 4 years ago
Julian Lam 09bac6bd7e fix: convert some hooks to use hooks module
re: julianlam/nodebb-plugin-markdown#130
4 years ago
Misty (Bot) a76eab1ca2 Latest translations and fallbacks 4 years ago
Misty (Bot) e6f30d2a36 Latest translations and fallbacks 4 years ago
Misty (Bot) 366b36a560 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 561ce7d30a fix: #9629, translate content property of meta tags 4 years ago
Barış Soner Uşaklı 9a9250338a Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Barış Soner Uşaklı 2fe30b6fa0 feat: #9628, allow setting custom icon names 4 years ago
Misty (Bot) eacd00e9a4 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 84e065752f
fix: #9622 (#9623)
dont allow regular user to remove system tags
4 years ago
Misty (Bot) 50e1a1a7ca Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı c92fc19b5c fix: #9619, add group chat filter to /notifications 4 years ago
Misty (Bot) ab5e2a4163 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 7b4c0a1683 fix: keep query params when switching chat 4 years ago
Misty (Bot) dc613835e1 Latest translations and fallbacks 4 years ago
Misty (Bot) 8f58c97c6d Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı be19f27f40 feat: add filter:categories.categorySearch 4 years ago
Misty (Bot) 3cc3ef6e70 Latest translations and fallbacks 4 years ago
Misty (Bot) db5f988324 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı cc0cf99fed
feat: allow nested properties on category page (#9601)
* feat: allow nested properties on category page

* fix: remove debug

* fix: remove debug
4 years ago
Misty (Bot) 8f00abc838 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 39e1359142 fix: schema 4 years ago
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
4 years ago
Misty (Bot) 1709139200 Latest translations and fallbacks 4 years ago
psychobunny 2db77b0cd2 docs: add undoTimeout 4 years ago
psychobunny e588948ff5 feat: add undoTimeout to moving posts as well #9599 4 years ago
psychobunny 05cc7ccb60 feat: make undoTimeout configurable, closes #9599 4 years ago
Julian Lam 93d94564c1 fix: #9596, incorrect placeholder string in some translations 4 years ago
Mats c448ba6f5a
Fixes flag note editing, deletion, and template update (#9581)
* 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.
4 years ago
Misty (Bot) 21c992242e Latest translations and fallbacks 4 years ago
Misty (Bot) 866a53088b Latest translations and fallbacks 4 years ago
Mats f9b248b87f fix: updates navigation menu user icon 4 years ago
Misty (Bot) e6c3840a4d Latest translations and fallbacks 4 years ago
Misty (Bot) b9482e3c87 Latest translations and fallbacks 4 years ago
Julian Lam d2960aeb09 feat: added GET user route for api v3 4 years ago
Misty (Bot) 925883bf4c Latest translations and fallbacks 4 years ago
Misty (Bot) 609e579442 Latest translations and fallbacks 4 years ago
Misty (Bot) 99472e7652 Latest translations and fallbacks 4 years ago
Mats e6ef094079
Re-enable "change username" button after failed attempt (#9568)
* Re-enable "change username" button after failed attempt

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

* fix: added return

* fix: simpler logic for error handling

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

* feat: toggle flag filter text
4 years ago
Misty (Bot) 47348d2c9f Latest translations and fallbacks 4 years ago
psychobunny 75073c0ed3 fix: stripHTMLTags for sorted list entries 4 years ago
psychobunny e50408b461 fix: restore original behavior for up/downvoting when logged out 4 years ago
Misty (Bot) b93a2717fd Latest translations and fallbacks 4 years ago
psychobunny 60eed8d89f fix: let recent replies respect oldest/newest sort settings 4 years ago
Misty (Bot) e2105ca8fa Latest translations and fallbacks 4 years ago
Misty (Bot) c66032d169 Latest translations and fallbacks 4 years ago
Julian Lam 95d5359cbe fix: copy change on plugin activate to instruct admins to rebuild as well as restart
re: nodebb/nodebb-plugin-poll#122
4 years ago
Misty (Bot) f40ee34c5b Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 1af34b43e3 fix: #9474, load hooks on page load 4 years ago
Barış Soner Uşaklı d09cdc0436 fix: spec 4 years ago
Barış Soner Uşaklı f32ea1737a fix: #9466, don't call leaveRoom in maintenance mode 4 years ago
Barış Soner Uşaklı c5ae8a70e1 fix: #9463 4 years ago
Misty (Bot) 81f2fb201e Latest translations and fallbacks 4 years ago
Misty (Bot) e0f23c9031 Latest translations and fallbacks 4 years ago
Misty (Bot) 22474753c4 Latest translations and fallbacks 4 years ago
Misty (Bot) 7754c1f66e Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı cb53a64cde fix: acp crash 4 years ago
Misty (Bot) e963715e94 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı dbb59228f2 feat: add action:posts.loaded 4 years ago
Barış Soner Uşaklı 536591f842 fix: #9447, include query params in previousUrl 4 years ago
psychobunny 1ad1787eaa fix: thumb count not updated when uploading multiple thumbs at a time 4 years ago
gasoved aa0137b1c4
feat: rescheduling (editing ST) (#9445) 4 years ago
Misty (Bot) 75a4d37e2e Latest translations and fallbacks 4 years ago
Misty (Bot) 4c66c7f9b2 Latest translations and fallbacks 4 years ago
psychobunny 01f63e5d58 fix: change email button stays disabled if user submitted an invalid email 4 years ago
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
4 years ago
Misty (Bot) a72cc99012 Latest translations and fallbacks 4 years ago
Misty (Bot) 40ed7a3b1e Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 344575dde1
feat: add hooks to language loading (#9426)
and flushNamespace method
4 years ago
Barış Soner Uşaklı b06f0ea20e feat: doggy.gif 4 years ago
gasoved a3e95e798f feat: allow adding sorted-list items from forms outside of modal 4 years ago
Misty (Bot) 60e3131c81 Latest translations and fallbacks 4 years ago
gasoved 077330b764
feat: scheduled topics (#9399)
* feat: scheduled topics

* refactor: linting fixes

* fix: tests

* fix(test): race condition

* fix: make a single request
4 years ago
Misty (Bot) 66e986960d Latest translations and fallbacks 4 years ago
Julian Lam d9e2029074 fix: hooks for alert animate, no more fadein/fadeout for reconnect alert 4 years ago
Misty (Bot) 831ecc6af0 Latest translations and fallbacks 4 years ago
Misty (Bot) 280e163690 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı e42b152f16 fix: #9414, use posts:view_deleted 4 years ago
Misty (Bot) ab38f745a0 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 3c4e93a3c1 fix: #9411 4 years ago
Barış Soner Uşaklı cef58d1d6f fix: #9412 4 years ago
Barış Soner Uşaklı 93c595d95e fix: #9406, update flag post tools 4 years ago
Misty (Bot) 026ceaf3ec Latest translations and fallbacks 4 years ago
Misty (Bot) d56bca65aa Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı ee69c1f80e fix: selector 4 years ago
Misty (Bot) 17693dd5ca Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı dd12c83fa0 feat: make info page full width 4 years ago
Barış Soner Uşaklı 262e059fa6 fix: inf scroll with subfolder install 4 years ago
Barış Soner Uşaklı 2041b8084f fix: flicker on dashboard 4 years ago
Julian Lam d1685600d3 refactor: deprecate action:script.load, use filter:script.load instead 4 years ago
Misty (Bot) 6a354db491 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 03e306349c fix: #9387, don't try to load undefined images 4 years ago
Barış Soner Uşaklı 482641e30e fix: #9386, add missing translation string 4 years ago
Misty (Bot) 754965b572 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 1e1127bd20 fix: spec 4 years ago
Barış Soner Uşaklı e539ff4f95 Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Barış Soner Uşaklı 617f4730a0 fix: crash if unreadTopics is undefined 4 years ago
Misty (Bot) df0518f934 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı f45c0aab51 fix: dont crash if login el doesnt exist 4 years ago
Barış Soner Uşaklı 52082e1296 feat: add resolve flag to post tools 4 years ago
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
4 years ago
Julian Lam 4cbd13fd9c feat: hide revert button in ACP > Privileges until privileges change 4 years ago
Julian Lam 8472513093 fix: change notification updateCount to use client-side hooks 4 years ago
Misty (Bot) 6b4cd7557c Latest translations and fallbacks 4 years ago
Misty (Bot) 5ec22c6845 Latest translations and fallbacks 4 years ago
Julian Lam 98bf4064e7 refactor: account edit logic and template, closes #9364 4 years ago
Misty (Bot) 62bf211894 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı a9b33ed39f
Delete favicon.ico 4 years ago
psychobunny 771a8955a4 fix: #9362 best not to check file exists on every page load; copying favicon to uploads/system folder instead 4 years ago
Barış Soner Uşaklı 2085a7d163 Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Barış Soner Uşaklı 17184bface feat: add missing translation keys 4 years ago
Misty (Bot) 4a9b3af278 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı e787e6ea22 fix: if no in passed use "titles" to match header search 4 years ago
Barış Soner Uşaklı 696c489524 feat: add back topic id input 4 years ago
Misty (Bot) 4c73c26dd8 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 8a4c361ece fix: #9354, don't close quicksearch results if mouse is down on them 4 years ago
Misty (Bot) 2826e29494 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 3aa26c4df2 fix: #9339, only log email errors once per digest, notification push
show notice in acp
4 years ago
Julian Lam c5e257888a fix: #9351 bad logic when inserting rows to privilege tables, also a missing tfoot 🦶 4 years ago
Julian Lam c265016944 fix: app.parseAndTranslate to always return promise 4 years ago
Misty (Bot) 67bb63bd09 Latest translations and fallbacks 4 years ago
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
4 years ago
Julian Lam e755067387 docs: fixed typo 4 years ago
Barış Soner Uşaklı 48bc23c065 refactor: remove startsWith/endsWith 4 years ago
Julian Lam b5a6a3149d refactor: app.parseAndTranslate to return promise if no callback passed 4 years ago
Julian Lam c1b3079d93 feat: category privilege API routes
closes #9342
4 years ago
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 nodebb/nodebb-plugin-composer-default#147
4 years ago
Misty (Bot) b2c1b4ac45 Latest translations and fallbacks 4 years ago
Julian Lam 7d391d4789 feat: new client-side hook `filter:api.options` to allow plugins to modify api requests 4 years ago
preetykumar 2826c6986c
Update taskbar.js (#9314)
* 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>
4 years ago
Misty (Bot) 21377cfa2b Latest translations and fallbacks 4 years ago
Misty (Bot) 35a3cc3461 Latest translations and fallbacks 4 years ago
Julian Lam 2b7d0b5a47 fix: user icon text overflow in some cases 4 years ago
Julian Lam 114e3a1e76 fix: use components for toggleNavbar instead 4 years ago
Misty (Bot) 21634e2681 Latest translations and fallbacks 4 years ago
Julian Lam 73dc64d9ff feat: add dashboard sub-pages to ACP menu 4 years ago
Julian Lam 655e2c67ad fix: timeago missing on table update 4 years ago
Julian Lam 0804d54759 spec: schema docs for new ACP dashboard subpage routes 4 years ago
Julian Lam 2f89b0d791 feat: recent logins sessions table in dashbaord subpage 4 years ago
Julian Lam e1ed514b10 feat: topics dashboard details subpage 4 years ago
Julian Lam c57c77030e feat: update user list in dashboard/users on graph update 4 years ago
Julian Lam 3fa2e3cef2 refactor: have Graph.init and Graph.update return promises 4 years ago
Julian Lam f8e1a74c26 fix: wrong qs param, allow string to be passed to util.getDaysArray 4 years ago
Julian Lam 6fdcae7320 feat: req.query parsing and dynamically loading data instead 4 years ago
Julian Lam f561799f74 refactor: abstract out some client side dashboard code into modules, analytics subpages for users, topics, and logins 4 years ago
Misty (Bot) aed8b123bc Latest translations and fallbacks 4 years ago
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.
4 years ago
Barış Soner Uşaklı de6d156533 Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Barış Soner Uşaklı 7ae7626c1b Revert "feat: add logout to invalid session"
This reverts commit beb1427387.
4 years ago
Misty (Bot) 49c369528d Latest translations and fallbacks 4 years ago
Peter Jaszkowiak 0d59fe3d2b fix(#9315): 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
4 years ago
Julian Lam 9a9f366d3b feat: track login sessions for admin dashboard reporting 4 years ago
Misty (Bot) 0bc74e7056 Latest translations and fallbacks 4 years ago
Julian Lam beaac0a1ab fix: allow hidden inputs in user settings page 4 years ago
Misty (Bot) cf1939e16d Latest translations and fallbacks 4 years ago
Julian Lam c96fd3b19b feat: pass user picture object into change_picture_modal 4 years ago
Julian Lam 28f6931e16 refactor: move picture change client-side logic to its own rjs module 4 years ago
Barış Soner Uşaklı beb1427387 feat: add logout to invalid session 4 years ago
Julian Lam d3a9e76ae2 test(user): added additional tests for icon background colour 4 years ago
Julian Lam 955021247e feat(user): icon background selector in change picture modal 4 years ago
Julian Lam b4c0b32b26 fix: use root context if buildAvatar context is undefined 4 years ago
Misty (Bot) e23bf9f94d Latest translations and fallbacks 4 years ago
Misty (Bot) f9fc884867 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı fa91525a6d fix: use bootbox module 4 years ago
Barış Soner Uşaklı 0e07f3c9ba feat: allow defining a list of system tags 4 years ago
Misty (Bot) ce3f581434 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 9ce6f8ad93 feat: add tag filter to getSortedTopics 4 years ago
Julian Lam 4c078084dc test: fix spec for topic thumbs 4 years ago
Julian Lam 1d9ade4c36 test: added missing properties to topicObject 4 years ago
Julian Lam b31f6dd24a test: added missing test file 4 years ago
Julian Lam ad54b174a4 test: topic reordering tests 4 years ago
Julian Lam 7223074f1d feat: ability to re-order topic thumbnails 4 years ago
Julian Lam db027170a8 feat: add close button to topic thumbnail modal 4 years ago
Misty (Bot) 2821b917d0 Latest translations and fallbacks 4 years ago
Misty (Bot) 59885a9e2e Latest translations and fallbacks 4 years ago
Misty (Bot) b5b92768e2 Latest translations and fallbacks 4 years ago
Misty (Bot) 3ad25e8ff6 Latest translations and fallbacks 4 years ago
Julian Lam 36e8d251c8 fix: use of removed URL to get post data 4 years ago
Julian Lam 8fd78ce512 feat: post-queue topic event 4 years ago
Misty (Bot) 48a3c4bd2e Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 3595473485 feat: load user posts/topics via xhr on infinitescroll 4 years ago
Misty (Bot) 3a61ac2119 Latest translations and fallbacks 4 years ago
Misty (Bot) 949f043a96 Latest translations and fallbacks 4 years ago
Misty (Bot) 0092df2c02 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 670cde78da feat: add invalid event name to error message 4 years ago
Peter Jaszkowiak cc9d6fd08b chore: eslint max-len 4 years ago
Peter Jaszkowiak 62869bae3d chore: eslint function-paren-newline 4 years ago
Peter Jaszkowiak 9f6a682ca9 chore: eslint no-script-url 4 years ago
Peter Jaszkowiak dad01e3051 chore: eslint no-bitwise 4 years ago
Peter Jaszkowiak 58528d1a3e chore: eslint rules matching existing styles 4 years ago
Julian Lam 16610b2dca fix: pass jquery object in to action:notifications.loaded hook 4 years ago
Julian Lam 7edc8f458d feat: new notifications load/loaded hooks on client side
refactored `toggleTimeagoShorthand` code to be inside of a hook listener
4 years ago
Barış Soner Uşaklı 0cca6893f3 fix: #9275, 4 years ago
Barış Soner Uşaklı cfa0d42390 fix: don't use global bootbox obj 4 years ago
Barış Soner Uşaklı 550cd995e8 fix: remove console.log 4 years ago
Barış Soner Uşaklı fca17cb713 fix: move service worker back to relative_path/service-worker.js 4 years ago
Barış Soner Uşaklı ab0ef44289 fix: spec 4 years ago
Barış Soner Uşaklı a4878a5b22 fix: markread selector 4 years ago
Misty (Bot) 429cff93ee Latest translations and fallbacks 4 years ago
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
4 years ago
Barış Soner Uşaklı 47299ea587
Categories refactor (#9257)
* 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: #9266

* fix: index 0

* fix: spec

* feat: #9265, 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
4 years ago
Misty (Bot) 73c9c1c25a Latest translations and fallbacks 4 years ago
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`.
4 years ago
Misty (Bot) 9576bec6c3 Latest translations and fallbacks 4 years ago
Misty (Bot) 4939837d5b Latest translations and fallbacks 4 years ago
Julian Lam 74be1a5963 chore: fallbacks 4 years ago
Julian Lam 68da1c558f fix: update grammar on unban text 4 years ago
Julian Lam c729adeb08 fix: privileges page - tweak icon position and width, group name wrapping 4 years ago
gasoved 53e0d4d2e0 feat: banned-users group 4 years ago
Julian Lam 4af9c2fcdd fix: autofocus on search field in ACP > Manage > Plugins 4 years ago
gasoved cabec378f4 fix: openapi test specs 4 years ago
gasoved a2a7557cc0 refactor: update dom after diff deletion better 4 years ago
gasoved 4447a64eaa refactor: removed 3 lines 4 years ago
gasoved 72b050b4a8 test: post diff deletion tests 4 years ago
gasoved eb642f40b9 feat: #9109, ability to delete a post's diffs 4 years ago
Misty (Bot) a87416971b Latest translations and fallbacks 4 years ago
Julian Lam 501441b736 feat: add .delete() method to api module 4 years ago
psychobunny 58655e9a0b fix: invalid API call when unfollowing a user 4 years ago
Misty (Bot) 526df41db1 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 833c73e81b fix: example 4 years ago
Barış Soner Uşaklı cc560ca3f9 feat: doc add description 4 years ago
Barış Soner Uşaklı ed11e17129 feat: add doc for query param 4 years ago
Opliko 2bc74cffe6
fix: #9127, scope service worker to relative_path for the forum (#9239)
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.
4 years ago
Barış Soner Uşaklı d1364c3130
Categories refactor (#9233)
* 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
4 years ago
Barış Soner Uşaklı 4c12e0aaf8 fix: update docs 4 years ago
Julian Lam 5131eb6b90 fix: `action:admin.settingsLoaded` to use new hooks lib 4 years ago
Julian Lam b0f5d5a594 fix: crash on firing action hook that had no listeners registered 4 years ago
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.
4 years ago
Barış Soner Uşaklı a29dd21de4 fix: don't translate message on every ajaxify 4 years ago
Misty (Bot) 195e688bac Latest translations and fallbacks 4 years ago
Julian Lam 4029ec3713 fix: multiple sorted-lists do not save to the correct set 4 years ago
Misty (Bot) 406faf4c66 Latest translations and fallbacks 4 years ago
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.
4 years ago
Julian Lam 4bb3b0323d feat: guard password fields in login/register against accidental caps lock 4 years ago
Misty (Bot) 53a6dca3c6 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı faeb637353 fix: tests remove old routes 4 years ago
Barış Soner Uşaklı 05be1c6603 feat: restore action:script.load, allow modifying loaded module via static:script.init 4 years ago
Julian Lam 8b09292e77 chore: add deprecation notice in comments for ajaxify.loadExtraScripts 4 years ago
Julian Lam 7da1b43f2b fix: script failure if client-side page script does not exist 4 years ago
Julian Lam dc84559d0b feat(topic-events): topic events GET route in write API 4 years ago
Julian Lam 8e93bf7362 feat(topic-events): client-side handling on topic event log 4 years ago
Julian Lam df2fdd56ba fix(topic-events): repeated invocations of Posts.addTopicEvents caused dupes to be added to DOM 4 years ago
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
4 years ago
Julian Lam 882e6a159c feat(topic-events): handle newest_to_oldest sort in topic events, WIP 4 years ago
Julian Lam 2293a07a06 feat(topic-events): generic css for timeline-event 4 years ago
Julian Lam 611d1f872d feat(topic-events): support for uids in topic event payloads 4 years ago
Julian Lam ab2e1ecb40 feat(topic-events): work in progress topic events logic and client-side implementation 4 years ago
Julian Lam faf5960373 fix: bug where `action:ajaxify.end` was never called if there were no init scripts 4 years ago
Julian Lam 8e5687a4af refactor(hooks): deprecate `action:script.load` client-side hook
Use `static:script.init` instead.
4 years ago
Julian Lam efff8e2ae2 fix(hooks): bug where hook firing would fail if there were no listeners 4 years ago
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)
4 years ago
Julian Lam 1d77572117 feat(hooks): update action:ajaxify.end to use new hooks module 4 years ago
Julian Lam 412d285850 fix(hooks): fallback handling for core invocations of hooks.fire
+ .on() which is the same as .register()
4 years ago
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.
4 years ago
Misty (Bot) 42c0f9ac52 Latest translations and fallbacks 4 years ago
Misty (Bot) 39bc741bca Latest translations and fallbacks 4 years ago
Julian Lam 8b72479f62 fix: remove 'filters' and 'categories' from flag details API return [breaking]
These options were originally used when the flag filters were shown in the sidebar. This has seen been removed, and so the information is now superfluous
4 years ago
Julian Lam 6b1c97db79 feat: feature flag for auto-resolving a user's flags on ban [breaking]
The default behaviour has now been changed to 'off'. Going forward, a user's flags will no longer automatically resolve on ban.
4 years ago
Misty (Bot) a396b1099c Latest translations and fallbacks 4 years ago
Julian Lam b2b1450e5d fix: #9217, render 400 error page on bad access to /register 4 years ago
Misty (Bot) 06e2ef1a8e Latest translations and fallbacks 4 years ago
Misty (Bot) 65849d9b93 Latest translations and fallbacks 4 years ago
Misty (Bot) d1f78cb8c0 Latest translations and fallbacks 4 years ago
Misty (Bot) a55051de2f Latest translations and fallbacks 4 years ago
Julian Lam 966c4117ec refactor(api): post move to write API 4 years ago
Barış Soner Uşaklı 0fa4c11ea6 fix: don't chagne scrollTop if at the top of page 4 years ago
Julian Lam e118e59ce0 refactor(api): post diffs to use write API 4 years ago
Barış Soner Uşaklı 1590cdf19f fix: #9206, fix double escaped arguments 4 years ago
Misty (Bot) a972b5a77a Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 3d36208877 Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Barış Soner Uşaklı 0a471b76b5 fix: use max 4 years ago
Barış Soner Uşaklı c30b40abe7 fix: keep 60 topics minimum on topic list 4 years ago
Misty (Bot) fc3a0bd427 Latest translations and fallbacks 4 years ago
Misty (Bot) a26bfb3fda Latest translations and fallbacks 4 years ago
Julian Lam a407a51da6 fix: #9178 missing language strings (and fallbacks) for post-queue 4 years ago
Misty (Bot) d90c7ff43b Latest translations and fallbacks 4 years ago
Misty (Bot) 6c855bf48e Latest translations and fallbacks 4 years ago
Misty (Bot) 96280d76af Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı d83d40cf9b fix: missing error message 4 years ago
Julian Lam 0da2843281 feat(api): schema definition for new credential checking route 4 years ago
Julian Lam 87a7d85e89 fix: missing breadcrumbs in schema 4 years ago
Barış Soner Uşaklı 072a0e32d8 feat: #8813, faster category search dropdown
when you have 4k+ categories manipulating DOM becomes very slow
clone the list and manipulate it outside of DOM, replace list on DOM when search is done
add utils.debounce so list is updated slower
4 years ago
Misty (Bot) afe6d84710 Latest translations and fallbacks 4 years ago
Misty (Bot) ebf1624a90 Latest translations and fallbacks 4 years ago
Misty (Bot) d1700c40e2 Latest translations and fallbacks 4 years ago
Julian Lam e5edbc6faf feat: automatically attempt socket.io reconnection on ajaxify
Also, updated messaging and toaster to accurately reflect offline-mode state
4 years ago
Julian Lam 041d45c3d2 fix: genericise .necro-post, bump persona to latest 4 years ago
Julian Lam edb8da1ef9 feat(api): closes #9123 category and topic routes migrated to Write API 4 years ago
Misty (Bot) 1002c14aa2 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 3121215e87 fix: #9127, use assets path 4 years ago
Barış Soner Uşaklı c1ecfd1ebf feat: #9135, don't try to reconnect forever 4 years ago
Julian Lam fb3f3f729f refactor(openapi): update TopicObject component to reference TopicObjectSlim in its schema 4 years ago
Barış Soner Uşaklı 20c1b684ed fix: #9151, dont use service worker for posts requests 4 years ago
Misty (Bot) f1ec4961d9 Latest translations and fallbacks 4 years ago
Misty (Bot) 29fcdc4c22 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 183cabe90f fix: #9150, fix selector so it doesn't add img-responsive to profile pics 4 years ago
Misty (Bot) d85e351f43 Latest translations and fallbacks 4 years ago
Julian Lam 223f0a5515 feat(acp): admin tags privilege 4 years ago
Julian Lam d90aa95808 feat: add confirmation modal when assigning admin:admins-mods privilege 4 years ago
Julian Lam fb46a8d975 feat(acp): admins-mods privilege 4 years ago
Misty (Bot) c62a6b6ca8 Latest translations and fallbacks 4 years ago
Julian Lam da191341e8 feat(acp): added new admin privilege for groups management 4 years ago
Julian Lam 3959a7bd9c fix(api): failing test due to missing file 4 years ago
Julian Lam 32e36f7b2e feat(api): group ownership API route, switch client-side to use API route 4 years ago
Julian Lam 98550d61d7 feat(api): add schema for groups update route 4 years ago
Julian Lam 4fc1337762 feat(api): added schema for email unsubscribe token 4 years ago
Julian Lam 1cd2689cf6 refactor(api): deprecated groups update socket in favour of API lib 4 years ago
Julian Lam e640a41a78 refactor(api): update group deletion calls to use write API 4 years ago
Misty (Bot) 4ac13160b5 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 2ef72a94c2 fix: #9136, fix move topic/post timeout errors 4 years ago
Peter Jaszkowiak 2be396ff6e fix: email testing and settings change from ACP
- changing email SMTP settings wouldn't apply the first time
- "Send Test Email" now will report emailer errors in most cases
4 years ago
Barış Soner Uşaklı b369dc888b fix: #9129, event is fired on socket.io 4 years ago
Julian Lam f416dc177a fix: all tests, wrap up work 4 years ago
Julian Lam 9c2de86a6e fix: two more routes 4 years ago
Julian Lam cb32e32ae3 feat: fix more tests, add more routes, update api test suite 4 years ago
Julian Lam 14c51e3c60 feat: add registration/complete route, fix some other tests 4 years ago
Julian Lam b9a61d2d45 fix: api tests 4 years ago
Julian Lam 9de35ec5a3 feat: add missing schemas for various ACP settings routes 4 years ago
Julian Lam c079051b19 fix: errors in write-api schema 4 years ago
Julian Lam 8e5a413e4e chore: minor reordering of lines 4 years ago
Julian Lam 990f107736 fix: broken tests from last round of fixes 4 years ago
Julian Lam d6de925348 feat: add missing schema for category update and deletion
Deleted CategoryObj component, since CategoryObject is used more
4 years ago
Julian Lam eef052c1bf fix: add missing token generation route to write api spec 4 years ago
Julian Lam d85181e031 feat: add schema for api ping routes 4 years ago
Julian Lam 878ee06715 refactor: schema backreference test to use map instead of reduce, properly check write-api routes 4 years ago
Julian Lam df8d62ba06 feat: normalize paths before comparison 4 years ago
psychobunny b8d4709eec fix(pwa): #9127 service-worker.js missing on subfolder installs 4 years ago
Barış Soner Uşaklı b7b588f5c8 fix: trigger action:posts.edited 4 years ago
Barış Soner Uşaklı feecd66506 fix: api usage 4 years ago
Barış Soner Uşaklı a15ef53c70 feat: add new client side hooks 4 years ago
Misty (Bot) e99fe307b6 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 3ed55799ab fix: #9114, fix client side groups update for memberPostCids 4 years ago
gasoved 3ba0575584 fix: don't check "select all" if there are no enabled checkboxes 4 years ago
Misty (Bot) 850bf497ea Latest translations and fallbacks 4 years ago
Misty (Bot) e7ac767080 Latest translations and fallbacks 4 years ago
Misty (Bot) 7eaedf4847 Latest translations and fallbacks 4 years ago
Julian Lam 15f1a08940 chore(i18n): fallbacks for new topic thumb keys 4 years ago
Julian Lam 2170c40007 fix: iteration logic bug 4 years ago
Julian Lam ae9439748d fix: spec 4 years ago
Julian Lam a30c8ab5c8 feat: clent-side modal for managing topic thumbs
closes #9087
4 years ago
Julian Lam d31aae167e fix(spec): broken link to status component 4 years ago
Julian Lam cb7e4cda2a feat: helper method to get thumbs by pid 4 years ago
Julian Lam 41379e27c8 fix: hack uploader to handle a response from v3 write api 4 years ago
Julian Lam 340387c18a fix: #9055, non-standard API response from addThumbs route
Also removed old thumb upload router handler, and updated uploadPost handling in composer to match new response schema
4 years ago
Julian Lam 5950683316 feat: closes #9048, tests for topic thumbs routes, write API schema 4 years ago
Julian Lam ef10b6b70d fix: missing file added 4 years ago
Julian Lam 1949d20a87 fix: spec 4 years ago
Barış Soner Uşaklı 0f480be658 fix: #9085, dont prevent admins from deleting other users 4 years ago
Barış Soner Uşaklı ff2aa17bbc fix: show errors when user delete fails 4 years ago
Barış Soner Uşaklı dd9ed23631 fix: dont start logout timer if adminReloginDuration is disabled 4 years ago
Misty (Bot) 8c125cab6c Latest translations and fallbacks 4 years ago
Misty (Bot) 68251fffe7 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 13d5a1440b fix: reconnectin no longer fires on socket.io 3 4 years ago
Misty (Bot) d95200ce60 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 74274b60ed feat: allow clicks on navigator, clean dupe code 4 years ago
Barış Soner Uşaklı 4a0d883359 breaking: #8808, remove utils.slugify 4 years ago
Barış Soner Uşaklı 91c20ceca5 fix: #9065, settings v2/v3 conflict 4 years ago
Misty (Bot) ba57876c96 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı a389a31b4a fix: timeago in navigation 4 years ago
Barış Soner Uşaklı 163d1a39ce fix: navigation fixes 4 years ago
Barış Soner Uşaklı 73d2f51d7a fix: cache some jquery objects 4 years ago
Barış Soner Uşaklı 63d0839550 fix: add ev.cancelable 4 years ago
Barış Soner Uşaklı 790f4e4521 fix: #9046, pretranslate string 4 years ago
Barış Soner Uşaklı 6669496dba
Navigator (#9049)
* feat: navigator changes

* fix: remove extra code

* feat: add lang keys
4 years ago
Barış Soner Uşaklı 5d00b0895b fix: sso redirect on /login & /api/login 4 years ago
Barış Soner Uşaklı 698718f87c feat: allow modifiying browser title on ajaxify 4 years ago
Barış Soner Uşaklı 7e867cf95e fix: #7597, fix progress bar of cover/profile uploads
send big cover images in chunks
4 years ago
Barış Soner Uşaklı 73746bb489 refactor: remove old hack 4 years ago
Barış Soner Uşaklı 6f68f4d20a fix: #9032, fix login redirect for sso plugins 4 years ago
Misty (Bot) b771a5733b Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 86b7f8a5d4 fix: #8962, dont show null for purged targets 4 years ago
Barış Soner Uşaklı 3488daa1e8 fix: selector on hooks page 4 years ago
Barış Soner Uşaklı 5f0f476b57 feat: #9005, use timestamp in profile/cover images
delete current one if keepAllUserImages is turned off
fix typo in data
4 years ago
Barış Soner Uşaklı 954dc5b7be feat: #8983, update pin tooltip in topic 4 years ago
psychobunny 69864b8746 fix(openapi): spec for c1a7968d23 4 years ago
psychobunny 53abada5f0 Revert "feat: option to allow auto-joining of groups (optionally skip the "request membership" step)"
This reverts commit 685f3c6aa6.
4 years ago
psychobunny af9e676291 Revert "fix(openapi): spec for 685f3c6aa6173383d6c31b87ed51cf8ed0ca44ce"
This reverts commit 1bb75e762e.
4 years ago
psychobunny 1bb75e762e fix(openapi): spec for 685f3c6aa6 4 years ago
psychobunny 685f3c6aa6 feat: option to allow auto-joining of groups (optionally skip the "request membership" step) 4 years ago
psychobunny c1a7968d23 feat: user notification settings for group.leave event 4 years ago
Barış Soner Uşaklı b46d2f93e6 fix: #9019, add missing lang strings 4 years ago
Misty (Bot) 4093ccf813 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı cfb7b113e9 fix: spec 4 years ago
Barış Soner Uşaklı 1eb5fabdb1 feat: #8900, postQueue setting for category 4 years ago
psychobunny 54dc449fb9 fix(acp): #9008 undefined link for "no users browsing" state on dashboard 4 years ago
psychobunny 286243cd37 fix(acp): #9009 no-users-browsing untranslated on dashboard 4 years ago
Misty (Bot) cfef2092de Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 4c650aeead feat: #8989, convert widget nav to dropdown 4 years ago
Barış Soner Uşaklı 5080f35752 fix: #8991, logout on password reset, dont verify email if password expired
dont allow same password on reset
4 years ago
Barış Soner Uşaklı 8adbf54ae6 fix: don't show topic search if no search privilege 4 years ago
Misty (Bot) f6765ec74d Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 546f58bf1f fix: timestamp in queue, add post queue strings 4 years ago
Misty (Bot) eb5a5b6ac2 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 1269103fbb fix: #8984, post-queue ux 4 years ago
Barış Soner Uşaklı d3c04afb98 fix: #8982, copy color on tag rename, dont copy if target exists
refresh page on tag rename
4 years ago
Barış Soner Uşaklı cbbda45102 fix: remove dupe 4 years ago
Barış Soner Uşaklı 700ef1af97 Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Barış Soner Uşaklı 4afdf8bc27 fix: spec, remove old tests 4 years ago
Julian Lam acb576662e fix(spec): from 6e6a7a8f8a 4 years ago
Barış Soner Uşaklı 6e6a7a8f8a fix: #8969, export csv to file 4 years ago
Julian Lam 1b1205a9ce fix(spec): broken test due to canFlag addition 4 years ago
Barış Soner Uşaklı 88e5cda5b4 fix: spec for /tag 4 years ago
Julian Lam 82ca376012 chore: fallbacks for nodebb.error 4 years ago
Julian Lam 1e7cf1cbc4 fix: #8971, disallow flags of privileged users (mods, gmods, admins) 4 years ago
Julian Lam 5b269bc5aa chore: fallbacks for nodebb.topic 4 years ago
Julian Lam 12b3aa0d8f feat: add translation key for pin icon label with expiry 4 years ago
Barış Soner Uşaklı cd072c0b74 Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Barış Soner Uşaklı 5c3deb4b0e fix: #8973, fix timestamp on ban modal 4 years ago
Julian Lam 22715d5413 refactor: add TopicObjectSlim common schema 4 years ago
Barış Soner Uşaklı c8554b78b9 fix: #8968, don't show topic search if search is not enabled 4 years ago
Misty (Bot) 664614bbe3 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 4c7374ea33 fix: flicker on tooltips if server call takes long time 4 years ago
gasoved a56a657759
fix: missing select/clear all checkbox added to category privileges template (#8967) 4 years ago
Julian Lam e1432caf92 feat: add cancel button to pin expiration modal 4 years ago
Julian Lam 15c6f32c93 refactor: pin/lock threadTools to use topicCommand, rewrote topicCommand to match categoryCommand signature 4 years ago
Barış Soner Uşaklı 7e6427bca7 fix: dont go back after delete account actions 4 years ago
Barış Soner Uşaklı 5ceda14874 Revert "fix: #8955, popstate to purged topic should go to homepage"
This reverts commit 39dae0aaff.
4 years ago
Julian Lam 39dae0aaff fix: #8955, popstate to purged topic should go to homepage 4 years ago
Misty (Bot) 97c037f0a1 Latest translations and fallbacks 4 years ago
Misty (Bot) 7de8b732c0 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı c037779fa1 feat: add topicOwnerPost #8778 4 years ago
Barış Soner Uşaklı 6a819944d5 chore: remove console.log 4 years ago
Julian Lam d584516947 fix: #8943, session mismatch modal thrown on login (race condition) 4 years ago
Julian Lam ac734b8335 fix: #8912 4 years ago
Barış Soner Uşaklı db1c140ff9 refactor: remove unused require 4 years ago
gasoved 00e75de736
feat: select/clear all checkboxes in privilege table (#8941) 4 years ago
Misty (Bot) 0dcc5b2bbf Latest translations and fallbacks 4 years ago
psychobunny 1c0e8c1663 fix: move meta.getServerTime call to admin namespace 4 years ago
Julian Lam 45a4f1361f chore(spec): replace ugly hack with another hack for optional properties 4 years ago
Barış Soner Uşaklı f20c12ee40 fix: add client side check for userslug #8939 4 years ago
Julian Lam 90434a4668 Revert "fix(spec): always show thumb in topic response"
This reverts commit 493c568a75.
4 years ago
Julian Lam 493c568a75 fix(spec): always show thumb in topic response 4 years ago
Julian Lam ae402e213e chore: move topic route schema up two levels as slug and index are optional 4 years ago
Julian Lam b3b501d789 chore: move category route schema up two levels as slug and index are optional 4 years ago
Misty (Bot) aa7a6991ff Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı cf903e4e8f fix: #8931, fix lang string 4 years ago
Barış Soner Uşaklı 95a3f03009 fix: #8932, fix client side error when updating username 4 years ago
Barış Soner Uşaklı b18e7e319b fix: spec 4 years ago
Barış Soner Uşaklı 5fa098326f fix: https://github.com/NodeBB/NodeBB/pull/8685
fix category link redirect on cold load
fix helpers.redirect if passed in url is external
fix ajaxify so it doesn't slice first character of external url
4 years ago
Misty (Bot) 093f984b03 Latest translations and fallbacks 4 years ago
Misty (Bot) e4d9934155 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı c2bb61231e fix: spec 4 years ago
Misty (Bot) bc871dc029 Latest translations and fallbacks 4 years ago
Julian Lam 046d0b1637
feat: allow pins to expire (if set) (#8908)
* fix: add back topic assert middleware for pin route

* feat: server-side handling of pin expiries

* refactor: togglePin to not require uid parameter [breaking]

* feat: automatic unpinning if pin has expiration set

* feat: client-side modal for setting pin expiration

* refactor: categories.getPinnedTids to accept multiple cids

... in preparation for pin expiry logic, direct access to *:pinned zsets is discouraged

* fix: remove references to since-removed jobs file for topics

* feat: expire pins when getPinnedTids is called

* refactor: make the togglePin change non-breaking

The 'action:topic.pin' hook now sends uid again, as before. However, if it is a system action (that is, a pin that expired), 'system' will be sent in instead of a valid uid
4 years ago
Misty (Bot) e5d94d9096 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 46acbfdaf1 fix: show messages after app load 4 years ago
Barış Soner Uşaklı 6ef7e8675f fix: #8915, fix queue not being cleared after firing click events
if you clicked elements early then on every ajaxify.end the same elements were getting click events @julianlam
4 years ago
Julian Lam 00aee84bf7
refactor: use categoryCommand local method for pin/lock in category tools (#8917)
* refactor: use categoryCommand local method for main actions in category tools

* fix: wrong command passed in
4 years ago
Misty (Bot) f7f119d5cc Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 9ca44e6f54
feat: add displayname into user obj #8637 (#8909)
* feat: add displayname into user obj #8637

* fix: spec

* perf: dont load settings if acp setting is turned off
4 years ago
Barış Soner Uşaklı 8d060065a0 fix: spec 4 years ago
Barış Soner Uşaklı e9585b9be2 fix: group userTitles translation escapes 4 years ago
Misty (Bot) 8de48c3935 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 4e9b10ab76 feat: #5274 4 years ago
Barış Soner Uşaklı fb567a7a33 feat: #4456 4 years ago
Barış Soner Uşaklı a6afcfd531 feat: #8475, allow flagging self posts
dont count flags towards self posts
dont allow flagging your own account
4 years ago
Barış Soner Uşaklı 62b62821c1 fix: navigation highlight
/top was getting hightlighted in navigation if you went into a /topic
4 years ago
Julian Lam a0b7a82350
feat(api): account deletion routes for the Write API (#8881)
* feat(api): account deletion routes for the Write API

* refactor: rewrite client-side calls to account deletion to use api

* style: apply DRY
4 years ago
Barış Soner Uşaklı 35f932cd64 feat: #8171, add oldCategory if topic is moved 4 years ago
Barış Soner Uşaklı b44ddecdf8 feat: #8204, separate notification type for group chats 4 years ago
Opliko 6e43086558
resolve #8444 - Allow nested objects in translations (#8793)
* feat: #8444 Allow nested objects in translations

* feat: #8444 Allow nested objects in translations

* style: don't change formatting

* fix: don't use the first string match if key isn't finished

* feat: #8444 Allow nested objects in translations

* feat: #8444 Allow nested objects in translations

* style: don't change formatting

* fix: don't use the first string match if key isn't finished

* feat: add nested translations test
4 years ago
Misty (Bot) fbdde03217 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 1d6bcbebde feat: https://github.com/NodeBB/NodeBB/issues/8147 4 years ago
Julian Lam d83eb7f89e refactor: client-side handlers for user invitations
DRY
4 years ago
gasoved 3ccebf112e
feat: invites regardless of registration type, invite privilege, groups to join on acceptance (#8786)
* feat: allow invites in normal registration mode + invite privilege

* feat: select groups to join from an invite

* test: check if groups from invitations have been joined

* fix: remove unused variable

* feat: write API versions of socket calls

* docs: openapi specs for the new routes

* test: iron out mongo redis difference

* refactor: move inviteGroups endpoint into write API

* refactor: use GET /api/v3/users/:uid/invites/groups

Instead of GET /api/v3/users/:uid/inviteGroups

* fix: no need for /api/v3 prefix when using api module

* fix: tests

* refactor: change POST /api/v3/users/invite

To POST /api/v3/users/:uid/invites

* refactor: make helpers.invite awaitable

* fix: restrict invite API to self-use only

* fix: move invite groups controller to write api, +tests

* fix: tests

Co-authored-by: Julian Lam <julian@nodebb.org>
4 years ago
Misty (Bot) ce9cf2a545 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 2f4653a3cc fix: spec 4 years ago
Barış Soner Uşaklı 9dac9630df fix: check tid in event handlers client side 4 years ago
Misty (Bot) 03329408b7 Latest translations and fallbacks 4 years ago
Misty (Bot) 7693ab90e2 Latest translations and fallbacks 4 years ago
Julian Lam fdab76f822 fix: #8872 missing admin/menu language key+fallback 4 years ago
Julian Lam 8518404e22
feat: allow groups to specify which cids to show member posts from (#8875)
* feat: allow groups to specify which cids to show member posts from

* docs: fix tests for openapi

* fix: test breakage caused by improper conditional

* feat: server-side checking of memberPostCids for validity

* feat: admin panel template update to select categories to include

* refactor: privilege helpers.isUserAllowedTo

... to helpers.isAllowedTo, allowing group names to be passed in
4 years ago
Misty (Bot) daf2e73c29 Latest translations and fallbacks 4 years ago
Opliko 04f4429f72
Resolve #7514 - optional timer for registration queue (#8796)
* feat: #7514 Optional timer for registration queue

* feat: show minutes in average time

* fix: don't show total number of minutes

* feat: implement requested changes

* fix: just store minutes instead of milliseconds

* feat: set default values
4 years ago
Julian Lam bcccb331db docs: openapi schema for user/group exist check, session deletion 4 years ago
Julian Lam 97842c43d3 test: new api test to ensure each path's parameters are defined in context 4 years ago
Julian Lam 769aba0aed fix: refresh flags list on bulk action success 4 years ago
Julian Lam f300c933a5 refactor: move session revocation route to write api 4 years ago
Misty (Bot) 0b57ec19ce Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 9f7902efdf fix: remove some unnecessary jquery wrappers 4 years ago
Barış Soner Uşaklı 978f1ee04f fix: send back jquery object to keep backwards compat 4 years ago
Peter Jaszkowiak e128264b66
refactor: change Benchpress.parse to .render (#8856)
It has been deprecated with no warning message for a while
Changing these over before enabling the warning message to reduce spam
4 years ago
Misty (Bot) e6b9e8ddee Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı fe63c6aef3 fix: spec 4 years ago
Barış Soner Uşaklı 2e44639210 fix: guest header/footer cache
allow clearing individual caches
4 years ago
Tobias Dossinger 1ce983ccb9
add public/language/de/admin/menu.json & public/language/de/admin/settings/api.json (#8842)
Co-authored-by: Tobias Dossinger <tobiasdossinger@Jans-MBP-3.localdomain>
Co-authored-by: Julian Lam <julian@nodebb.org>
4 years ago
Julian Lam 8368c25b1d chore: fallback l10n for admin-settings-api 4 years ago
Misty (Bot) e81e88f3e9 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı f1f9b225b0
feat: #8824, cache refactor (#8851)
* feat: #8824, cache refactor

ability to disable caches
ability to download contents of cache
refactor cache modules to remove duplicated code

* fix: remove duplicate hit/miss tracking

check cacheEnabled in getUncachedKeys
4 years ago
Julian Lam d263192271 feat: group exists API call in write api 4 years ago
Julian Lam 1446cec77f feat: user exist route in write api 4 years ago
Misty (Bot) 113d3324fb Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 9e3eb5d41a feat: #8821, allow guest topic views 4 years ago
Barış Soner Uşaklı 78ee83324c fix: #8838, fix chat dropdown timestamps
use shorthand like notification dropdown
4 years ago
psychobunny eec630f1ef fix(acp): max-height for plugin menu list 4 years ago
Julian Lam 1afd215050 feat: add back error handling for a number of api calls 4 years ago
Barış Soner Uşaklı 518d4fa170 fix: undefined call 4 years ago
Barış Soner Uşaklı 5a2b14b751 fix: client side crash when creating groups 4 years ago
psychobunny d40779a4ba feat(acp): autocomplete user search for welcome notifications 4 years ago
Barış Soner Uşaklı 715775a707 feat: #8817, add login clientside hooks
same as logout
4 years ago
Misty (Bot) 841cbcc3e3 Latest translations and fallbacks 4 years ago
Julian Lam a08fb8e53b fix: removed superfluous assignment 4 years ago
Julian Lam 0b6ef61e40 fix: createNewPosts to build tpl with ajaxify.data
If the post template contains references to items outside of the scope of the post, then when the post is loaded via IS, the expected values are empty.

This was due to createNewPosts calling app.parseAndTranslate with a subset of the page payload. This works fine in Persona (and most other themes)
because they do not refer to properties outside of the post object, but it may be helpful to include the rest of the ajaxify data as well.
4 years ago
Julian Lam bff53de03f fix: handle ACP category enable/disable states after call success 4 years ago
Julian Lam aa8faf58a0 refactor: remove /users/{uid}/settings/{setting} route
@baris Also, I am now allowing the following properties to be saved in User.saveSettings:
- categoryTopicSort
- topicPostSort
- setCategorySort
- setTopicSort
4 years ago
Barış Soner Uşaklı 9082062e90 fix: sort setting not using correct field name 4 years ago
Misty (Bot) 2baccd3ce2 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 6ac73ccb7e feat: #8801, disable express compression by default 4 years ago
Julian Lam cc1c722092 fix: breaking test from 0db0231cff
Also lowered export timeout to 5s
4 years ago
Julian Lam 14e5c24ec5 fix(openapi): final fixes to schemas 4 years ago
Julian Lam b2e9e3e048 fix(writeapi): more tweaks to schema files 4 years ago
Julian Lam 9f9e3c1582 fix(writeapi): fix components, + tag object schema 4 years ago
Julian Lam a4f3270fc5 fix(writeapi): missing files for tests 4 years ago
Julian Lam b092f65d95 fix(writeapi): tests 4 years ago
Julian Lam 93f65f89e7 fix(writeapi): added examples to all parameter objects in schema 4 years ago
Barış Soner Uşaklı a512d99472 refactor: remove unnecessary wrapper 4 years ago
Misty (Bot) 5605a0d1b7 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı a05905f196
performance improvements (#8795)
* perf: nconf/winston/render

cache nconf.get calls
modify middleware.pageView to call next earlier
don't call winston.verbose on every hook see https://github.com/winstonjs/winston/issues/1669
translate header/footer separately and cache results for guests

* fix: copy paste fail

* refactor: style and fire hook only log in dev mode

* fix: cache key, header changes based on template

* perf: change replace

* fix: add missing await

* perf: category

* perf: lodash clone

* perf: remove escapeRegexChars
4 years ago
Misty (Bot) 822c13f199 Latest translations and fallbacks 4 years ago
Misty (Bot) 89a1f481e0 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 0db0231cff feat: move postercount to topic hash 4 years ago
Barış Soner Uşaklı 7a3183520f fix: spec 4 years ago
Julian Lam 63e07c9433 fix: tests 4 years ago
Julian Lam c26f2b6599 feat(writeapi): user settings API 4 years ago
Baris Usakli 1a4c0decb7 fix: reset button loading html 4 years ago
Misty (Bot) c31cab3457 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı e6440c0d21 fix: #8779, fix move all
add new language keys
4 years ago
Misty (Bot) df1cfc4caf Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 3ee4936db6 fix: keep sortBy while searching 4 years ago
Barış Soner Uşaklı 85cfe49d65 fix: autocomplete.user on search page 4 years ago
Barış Soner Uşaklı cf474ab246 fix: spec 4 years ago
Misty (Bot) 1b50e1a062 Latest translations and fallbacks 4 years ago
Julian Lam ff4fcc23b6
Update bundled logos with new branding (#8702)
* feat: updating logo assets, square logos missing still

* fix: squared logo for touch icon and notification fallback

* fix: update link to favicon

* feat: add default touch icon sizes, if one isn't uploaded

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
4 years ago
Barış Soner Uşaklı c107649b40 fix: #8732 4 years ago
Barış Soner Uşaklı d9a16855d0 refactor: posts api 4 years ago
Barış Soner Uşaklı 272e73da53 refactor: post restore/delete/purge 4 years ago
Barış Soner Uşaklı 9738e20207 refactor: merge post.edit
fix: dont fadeout/fadeint if title/post didnt change
4 years ago
Barış Soner Uşaklı 2279e37261 refactor: deprecate socket.emit('users.search') use api route 4 years ago
Barış Soner Uşaklı 083c74e059 refactor: api categories 4 years ago
Misty (Bot) 854d61a257 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 51a60d3d46 fix: handler for group.join 4 years ago
Julian Lam 20bb9c7ec8 fix: csrf token only on non-GET routes 4 years ago
Barış Soner Uşaklı 3673accdb8 refactor: api module
only return promise if callback is undefined
dont append baseUrl if url already starts with api
correctly handle writeapi readapi response for data/error
remove unused onError
dont append empty ? to url for get routes
4 years ago
Julian Lam a784d10fff refactor: api module returns promise, error-first cb if cb passed in
no more separate onSuccess onError callbacks

/cc @baris
4 years ago
Misty (Bot) d52992de1b Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 4b9444f1a5 fix: avatar selector 4 years ago
Barış Soner Uşaklı 872bacf1c4
Admin/users (#8762)
* feat: wip admin/users

* feat: more work

* feat: more fixes

* feat: #8662, verified/unverified user groups

* feat: add filter

* feat: change user search to use filters array

* refactor: remove unused search call

* fix: tests

* fix: cant join system groups

* fix: upgrade script
4 years ago
Julian Lam bfaeb27c11 Merge branch 'write-api-csrf' 4 years ago
Julian Lam 1e07886f30 feat: require csrf token if not using bearer token 4 years ago
psychobunny 0e0f1506d2 fix: update server param to /api/v3 4 years ago
psychobunny c68653d035 fix: typo 4 years ago
psychobunny 7aa4d104af fix: testing openapi write tests 4 years ago
psychobunny 16873800a6 fix(openapi): users.yaml 4 years ago
psychobunny 54e6003a7c fix: test fix for write API
need to rewrite users.yaml to fix properly
4 years ago
Barış Soner Uşaklı ba2e1c4c7e fix: show more lines 4 years ago
Barış Soner Uşaklı 01265d08f3 feat: add stack to deprecate message 4 years ago
Misty (Bot) 0a4fd50aac Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı dc29f4dca2 refactor: switch to using slugify module 4 years ago
Barış Soner Uşaklı bddfcb5867 feat: #8734, add slugify module, deprecate utils.slugify 4 years ago
Barış Soner Uşaklı f16c8268cf feat: #8734, move bootstrap-tagsinput to package.json 4 years ago
Barış Soner Uşaklı eab7489ec5 feat: #8734, move deserialize/serialize to package.json 4 years ago
Barış Soner Uşaklı 948f26143c feat: #5964, #8734 remove colorpicker 4 years ago
Barış Soner Uşaklı c954db84e4 refactor: require style 4 years ago
Barış Soner Uşaklı 931d44b5e2 fix: undefined api require, @julianlam 4 years ago
Barış Soner Uşaklı e2d407b769 fix: watch tooltip 4 years ago
Barış Soner Uşaklı aedd28e0a6 fix: module name 4 years ago
Barış Soner Uşaklı c721625a95 feat: #8734 remove unused files 4 years ago
Barış Soner Uşaklı cc705e5e2b feat: #8734, move sortable to package.json 4 years ago
Barış Soner Uşaklı 75c9668656 fix: admin jquerui requires 4 years ago
Barış Soner Uşaklı 8c019a6a3b fix: timeago locale switch 4 years ago
Barış Soner Uşaklı 300a87559f feat: #8734, move bootbox to package.json 4 years ago
Barış Soner Uşaklı 420a312982 Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Barış Soner Uşaklı 3b231360d3 feat: load jquery-form before using 4 years ago
Barış Soner Uşaklı fda2aedfd8
feat: #8734, jquery-ui, jquery-form, timeago (#8748)
* feat: #8734, jquery-ui, jquery-form, timeago

get rid of forum/footer.js move that code to app.js & wait for app to load before calling ajaxify.end
make sockets.js a requirejs module
move jquery-ui to node_modules and load via requirejs
move jquery-form to node_modules and load via requirejs
move timeago to node_modules and load via requirejs
only include the css for needed jquery-ui widgets

* feat: keep socket/io global for backwards compat

* refactor: move socket listener to chat
4 years ago
Misty (Bot) ea830871c2 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 59311a63a0 feat: remove unused textcomplete file 4 years ago
Barış Soner Uşaklı ae3a231fce feat: #8734, remove semver.browser
use compare-versions as a module
4 years ago
Barış Soner Uşaklı 1531536d46 Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Barış Soner Uşaklı 2c1897b373 feat: #8734, move slideout to package.json 4 years ago
psychobunny dbb4cfe9d6 style(openapi): break write API routes into individual files 4 years ago
psychobunny ffac3c7902 style(openapi): move schemas and responses out of write.yaml 4 years ago
Barış Soner Uşaklı 9c157de05d feat: #8734, move tinycon to package.json 4 years ago
Barış Soner Uşaklı 45e8a4d588 fix: #8734 make nprogress module 4 years ago
Barış Soner Uşaklı 43589a744d feat: #8734, move visibilityjs to package.json 4 years ago
Barış Soner Uşaklı a46cbb623d feat: #8734, move nprogress to package.json 4 years ago
Barış Soner Uşaklı aa08f8826c feat: #8734 move r.js to package.json 4 years ago
Misty (Bot) d5d05e17af Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 12c8b1c2bc fix: dont allow adding duplicates to privileges page
hightlight uid/group if it is added again from autocomplete
4 years ago
Barış Soner Uşaklı f259063f08 fix: #8728, dont add admins to table 4 years ago
cryptoethic b3ed26ac2c
feat: revoke user sessions above threshold (#8731)
* feat: revoke user sessions above threshold

* fix: removed translations from en-US

* fix: defined default maxUserSessions in install\data\defaults.json
4 years ago
Julian Lam f870721fca feat(writeapi): file deletion route 4 years ago
Julian Lam a55b381791 feat(writeapi): admin settings update route 4 years ago
Julian Lam 2ec838fc59 feat(writeapi): token generation/delete routes, ACP updates 4 years ago
Julian Lam 2928b9b87a style: updates to openapi files 4 years ago
Julian Lam 3ea1aa4780 refactor(writeapi): update route prefix to api/v3, default error option 4 years ago
Julian Lam 0973feea16 feat(writeapi): post bookmarking 4 years ago