8902 Commits (5e2e7a582d88e5fcd5f7a78a8d57e8fbb6a9fbfa)

Author SHA1 Message Date
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