2326 Commits (b312725fd33c5247d7697c22e69c65f75866b333)

Author SHA1 Message Date
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ı 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
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
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
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
Misty (Bot) 0b57ec19ce Latest translations and fallbacks 4 years ago
Misty (Bot) e6b9e8ddee Latest translations and fallbacks 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
Misty (Bot) 113d3324fb Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 9e3eb5d41a feat: #8821, allow guest topic views 4 years ago
Misty (Bot) 841cbcc3e3 Latest translations and fallbacks 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
Misty (Bot) 5605a0d1b7 Latest translations and fallbacks 4 years ago
Misty (Bot) 822c13f199 Latest translations and fallbacks 4 years ago
Misty (Bot) 89a1f481e0 Latest translations and fallbacks 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
Misty (Bot) 1b50e1a062 Latest translations and fallbacks 4 years ago
Misty (Bot) 854d61a257 Latest translations and fallbacks 4 years ago
Misty (Bot) d52992de1b Latest translations and fallbacks 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
Misty (Bot) 0a4fd50aac Latest translations and fallbacks 4 years ago
Misty (Bot) ea830871c2 Latest translations and fallbacks 4 years ago
Misty (Bot) d5d05e17af Latest translations and fallbacks 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 2ec838fc59 feat(writeapi): token generation/delete routes, ACP updates 4 years ago
Julian Lam 49652e6f1b feat: management of API tokens via ACP 4 years ago
Misty (Bot) af90b99706 Latest translations and fallbacks 4 years ago
Misty (Bot) 174e239332 Latest translations and fallbacks 4 years ago
Misty (Bot) d93315e3ee Latest translations and fallbacks 4 years ago
Misty (Bot) 6ee0cad289 Latest translations and fallbacks 4 years ago
Misty (Bot) c65ea5bfa6 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı e60357d20d
feat: #6594, add top/popular sections to digest email (#8709) 4 years ago
Misty (Bot) 39b51707ce Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı c33dc90562 Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Barış Soner Uşaklı 54737d3076 feat: #8233, search sub categories 4 years ago
Misty (Bot) f693ce97bf Latest translations and fallbacks 4 years ago
psychobunny 14ba1a6dbb feat: analytics:maxCache setting in ACP
I removed a TODO from core. Watch your head as flying pigs are abound
4 years ago
psychobunny 9c5b690799 feat: up recommended size to 512x512 + ACP labels for PWA 4 years ago
psychobunny 6478b32d0e feat: upload maskable icon for PWA 4 years ago
Julian Lam b12e8d6312 feat: show top 5 trending plugins in new tab in Extend > Plugins 4 years ago
psychobunny 4c1e717b2b fix: update notification delay ACP help text 4 years ago
psychobunny 5b427a0c3b feat: option in ACP to configure notification/email delay for chats 4 years ago
Misty (Bot) f66cb05fcf Latest translations and fallbacks 4 years ago
Timothy Fike f85fe7faff
don't invite an already invited email (#8688)
* don't invite an already invited email

* add email-invited translation string
4 years ago
Misty (Bot) 852ec92e93 Latest translations and fallbacks 4 years ago
Misty (Bot) 7fa61fafbf Latest translations and fallbacks 4 years ago
Julian Lam 5ddf70221c feat: upon plugin installation via ACP, check against nbbpm first 4 years ago
Misty (Bot) 8b855720f8 Latest translations and fallbacks 4 years ago
psychobunny 2ad3305879 fix: language key in reset password 4 years ago
Misty (Bot) 6ebd2c80e7 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı bd9b6c99e6 feat: add missing lang key 4 years ago
Misty (Bot) 9e7f5b9403 Latest translations and fallbacks 4 years ago
Misty (Bot) bd10559121 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 95c65e2da0 Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Barış Soner Uşaklı 23de5613bd feat: add x-posts/x-votes keys 4 years ago
Misty (Bot) 4f9131fdc3 Latest translations and fallbacks 4 years ago
Julian Lam 43571bac38 feat: hotkey "/" to open ACP search 4 years ago
Misty (Bot) 21ae81b4af Latest translations and fallbacks 4 years ago
Misty (Bot) 74f14829a0 Latest translations and fallbacks 4 years ago
Misty (Bot) 66ef90df9f Latest translations and fallbacks 4 years ago
Julian Lam 762e9fe88c feat: undo for posts move 4 years ago
Barış Soner Uşaklı 5a40d26b44 feat: #8626, new move posts modal 4 years ago
Misty (Bot) 0cec103489 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı a34b685c65 fix: remove lang keys, remove sounds menu 4 years ago
Misty (Bot) 61590c7e54 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 46ab2711d4 fix: #8432, add CSP frame-ancestors 4 years ago
Misty (Bot) b7db0f200e Latest translations and fallbacks 4 years ago
Misty (Bot) 2a4f4f5aec Latest translations and fallbacks 4 years ago
Misty (Bot) b201bb2111 Latest translations and fallbacks 4 years ago
Julian Lam 0c20351702 feat: additional sorting options for flags
+ upvotes, +downvotes, +replies
4 years ago
Misty (Bot) 02a5fe9c68 Latest translations and fallbacks 4 years ago
Misty (Bot) c25af08da0 Latest translations and fallbacks 4 years ago
Julian Lam a93e19559d fix: #8411 missing language sources for ip-blacklist/post-queue 4 years ago
Julian Lam 4dc6e64a94 refactor: ip-blacklist and post-queue language files
closes #8411
4 years ago
Kyle Farris 2b785628e7
fix: removed invalid options for the sendmail transport (#8576)
* Removed invalid options for the sendmail transport that were causing Nodemailer to return the SMTPTransport instead.

* Removed options for rate limiting in admin email interface. Added new option for toggling whether to use pooled connections.
4 years ago
Misty (Bot) 073c4d7886 Latest translations and fallbacks 4 years ago
Julian Lam abb5e81d0d feat: allow undo of topic move 4 years ago
Julian Lam bacee6b467 fix: missing localisation for topic move error 4 years ago
Misty (Bot) 5f15afff39 Latest translations and fallbacks 4 years ago
Misty (Bot) 074d7dfd86 Latest translations and fallbacks 4 years ago
Misty (Bot) f425cecded Latest translations and fallbacks 4 years ago
Julian Lam a3a2279358 feat: logic for bulk actions in flags list, #8571 4 years ago
Misty (Bot) bb7bd1b421 Latest translations and fallbacks 4 years ago
Misty (Bot) 07ebc81a2f Latest translations and fallbacks 4 years ago
Julian Lam 334be11382 fix: no-widgets messaging in ACP + copy 4 years ago
Julian Lam 346db0d84d feat: flags list sorting, closes #8569 4 years ago
Misty (Bot) 1101fa3394 Latest translations and fallbacks 4 years ago
Misty (Bot) 6bb60b0965 Latest translations and fallbacks 4 years ago
Misty (Bot) 7f57d39cd5 Latest translations and fallbacks 4 years ago
Misty (Bot) 2b930c894a Latest translations and fallbacks 4 years ago
Misty (Bot) ea53c95d67 Latest translations and fallbacks 4 years ago
Misty (Bot) 2aa36b649a Latest translations and fallbacks 5 years ago
Misty (Bot) 75ef4bbe34 Latest translations and fallbacks 5 years ago
Misty (Bot) 8a6bc10eb1 Latest translations and fallbacks 5 years ago
Misty (Bot) 9846498df7 Latest translations and fallbacks 5 years ago
Misty (Bot) 3463fc51c6 Latest translations and fallbacks 5 years ago
Julian Lam a716a5529c
feat: more discrete commit-on-save instead of commit-on-change w/ confirm modals (#8541)
* feat: privileges save button, #8537, WIP

* fix: disable firefox autocomplete on privilege form fields

* feat: closes #8537 privilege changes commit on save

- new language strings for confirmation and success modals/toasts
- indeterminate privilege handling (/cc @psychobunny)
- added new discard button
- both discard and save buttons now have confirmation dialogs

* fix(tests): remove duplicate template helper test

* fix(tests): broken template helper test

* feat: confirm dialogs for all privilege copy actions

Also, ability to add user to a privilege table without needing
to refresh the privilege table.

* feat: group row addition w/o table refresh

breaking: helpers.getUserPrivileges and helpers.getGroupPrivileges
no longer make socket calls to the following hooks:

- filter:privileges.list, filter:privileges.admin.list,
  filter:privileges.global.list, filter:privileges.groups.list,
  filter:privileges.admin.groups.list,
  filter:privileges.gloval.groups.list

The filters are still called, but done before the helper method
is called, and the results are passed in instead. This change
should only affect you if you directly call the helper methods,
otherwise the change is transparent.

* fix: stale ajaxify data on privilege category switch

* fix: implicit privileges not showing for user privs

* fix: groups, not group, also fix tests

* fix(tests): again

* fix: wrong tpl rendered when adding group to global priv table
5 years ago
Misty (Bot) 8da742e065 Latest translations and fallbacks 5 years ago
Misty (Bot) 903c407171 Latest translations and fallbacks 5 years ago
Misty (Bot) 029f477434 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 91411cc47c feat: add privileges shortcut to groups list
fix issues with escape group names
5 years ago
Misty (Bot) caa78cc1f6 Latest translations and fallbacks 5 years ago
Julian Lam c705e08a76 feat: allow direct link to flag from post tools, #8531 5 years ago
Misty (Bot) d580cf01c3 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı fd4c3cda42 fix: #4695, remove new notif alert 5 years ago
Misty (Bot) 93d1ceccdd Latest translations and fallbacks 5 years ago
Misty (Bot) 43e9c25d26 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 24535a62e7 feat: make category tools in acp a dropdown
add view category, view privileges into dropdown
5 years ago
Julian Lam 55b0e902fb feat: consolidation of flags to reduce flagspam, #8510
Squashed commit of the following:

commit c6d09396208a10c244d7b3d22ffd2d7dd1274d3a
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 24 13:41:32 2020 -0400

    fix: more tests

commit 32f9af2a87a81fa62ecca01e71d6f0d5b9d37ba1
Merge: e50907535 4eae927d1
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 24 10:53:04 2020 -0400

    Merge remote-tracking branch 'origin/master' into singleton-flags

commit e50907535109dbdbe8f15c3e2fcdf22d90b1332a
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 24 10:52:46 2020 -0400

    fix: controllers-admin test

commit fd5af99e303de48a80b0ccc166eee19175cf232b
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 17:26:55 2020 -0400

    fix(tests): dummy commit to trigger travisCI

commit c452a6ffcfaef91403de084c4ae16795cb23c60e
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 17:05:09 2020 -0400

    fix(openapi): openapi spec changes

commit 8089a74e89128141ab1e6f8ff83447114b3b846b
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 15:48:00 2020 -0400

    fix: reversing the order of reports for display purposes

commit a099892b377333561c72f1ad5b6b20ddb4ce8a96
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 15:45:44 2020 -0400

    refactor: run all flag creation calls in a single batch

commit b24999682f9d5a33a08a049749c1f0eb4f00facc
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 15:08:23 2020 -0400

    feat: handling multiple reporters per flag, #8510

commit 08c75c020021ada754bf0e39eae77d631b01dee5
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Jul 16 20:53:18 2020 -0400

    feat: upgrade script for #8510
5 years ago
Barış Soner Uşaklı 23a9a334cd feat: short more info 5 years ago
Barış Soner Uşaklı 1e7397b1b8 feat: allow searching categories in ACP 5 years ago
Barış Soner Uşaklı 320008cd49 feat: #8509, don't scroll chat to bottom if user scrolled up 5 years ago
psychobunny 06143ca7d7 feat: added quick link to edit privileges on the category edit page 5 years ago
Julian Lam 1e14af4503 fix: composer textarea placeholder l10n /cc @pitaj 5 years ago
Julian Lam 9fb9185fa7 feat: hide some filters behind 'more filters' button 5 years ago
Julian Lam e3e55f25d0 refactor: flag sanity checks, +feat: flag limits
- Added new config flag:limitPerTarget, to disallow flags after an item has
  already been flagged x times (default 0, or infinite)
- New zset flags:byTarget, score is the number of times a flag has been made
  against that item
- "already-flagged" translation key removed, now "post-already-flagged" or
  "user-already-flagged" -- this fixed bug where flagging a user you've already
  flagged would tell you you've already flagged this post already.
- Refactored Flags.canFlag to throw errors only, instead of returning boolean
- Updated ACP form inputs for reputation settings page to be more bootstrappy
- +1 upgrade script
5 years ago
Julian Lam f85a45c722 feat: logic for flag note deletion, #8499 5 years ago
Barış Soner Uşaklı 00d39fb32c feat: #8460, export groups members as csv 5 years ago
Barış Soner Uşaklı 3dcf538773 feat: #8023, allow wildcard search for uid/email 5 years ago
Barış Soner Uşaklı 46a6686300 fix: category search in selector 5 years ago
Barış Soner Uşaklı c513b88dff feat: #8427, daily downvote limits 5 years ago
Barış Soner Uşaklı 4adbf87c6c feat: warn user if whitelisted tags are less than minTags 5 years ago
Barış Soner Uşaklı 9eb748b985 fix: #8467, fix url to merged topic in subfolder installs 5 years ago
Misty (Bot) fe908cc022 Latest translations and fallbacks 5 years ago
Misty (Bot) a1a5424047 Latest translations and fallbacks 5 years ago
Julian Lam 6931f29d53 feat: allow flagging of user acounts from post tools menu 5 years ago
Misty (Bot) 1b1e9b6725 Latest translations and fallbacks 5 years ago
Misty (Bot) e66b526ca0 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı e09ab3dc19 feat: closes #8440, allow configuring max topic count 5 years ago
Misty (Bot) c0857f6390 Latest translations and fallbacks 5 years ago
Misty (Bot) 9b20d0ce20 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı bffb830d87 feat: add missing translation key 5 years ago
Misty (Bot) d50f7c7dfa Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 8383992dcc feat: move export functions into child processes 5 years ago