Commit Graph

2118 Commits

Author SHA1 Message Date
Misty (Bot)
75ef4bbe34 Latest translations and fallbacks 2020-08-09 09:05:53 +00:00
Misty (Bot)
8a6bc10eb1 Latest translations and fallbacks 2020-08-07 09:06:08 +00:00
Misty (Bot)
9846498df7 Latest translations and fallbacks 2020-08-06 09:06:05 +00:00
Misty (Bot)
3463fc51c6 Latest translations and fallbacks 2020-08-04 09:06:28 +00:00
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
2020-08-03 20:42:45 -04:00
Misty (Bot)
8da742e065 Latest translations and fallbacks 2020-08-03 09:06:00 +00:00
Misty (Bot)
903c407171 Latest translations and fallbacks 2020-08-02 09:05:38 +00:00
Misty (Bot)
029f477434 Latest translations and fallbacks 2020-07-31 09:06:17 +00:00
Barış Soner Uşaklı
91411cc47c feat: add privileges shortcut to groups list
fix issues with escape group names
2020-07-30 12:26:37 -04:00
Misty (Bot)
caa78cc1f6 Latest translations and fallbacks 2020-07-30 09:06:18 +00:00
Julian Lam
c705e08a76 feat: allow direct link to flag from post tools, #8531 2020-07-29 16:55:18 -04:00
Misty (Bot)
d580cf01c3 Latest translations and fallbacks 2020-07-28 09:06:14 +00:00
Barış Soner Uşaklı
fd4c3cda42 fix: #4695, remove new notif alert 2020-07-27 21:34:21 -04:00
Misty (Bot)
93d1ceccdd Latest translations and fallbacks 2020-07-27 17:18:47 +00:00
Misty (Bot)
43e9c25d26 Latest translations and fallbacks 2020-07-27 17:09:09 +00:00
Barış Soner Uşaklı
24535a62e7 feat: make category tools in acp a dropdown
add view category, view privileges into dropdown
2020-07-27 12:39:32 -04:00
Julian Lam
55b0e902fb feat: consolidation of flags to reduce flagspam, #8510
Squashed commit of the following:

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

    fix: more tests

commit 32f9af2a87
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 e509075351
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 24 10:52:46 2020 -0400

    fix: controllers-admin test

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

    fix(tests): dummy commit to trigger travisCI

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

    fix(openapi): openapi spec changes

commit 8089a74e89
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 a099892b37
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 b24999682f
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 15:08:23 2020 -0400

    feat: handling multiple reporters per flag, #8510

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

    feat: upgrade script for #8510
2020-07-24 14:10:37 -04:00
Barış Soner Uşaklı
23a9a334cd feat: short more info 2020-07-21 18:08:53 -04:00
Barış Soner Uşaklı
1e7397b1b8 feat: allow searching categories in ACP 2020-07-20 13:17:08 -04:00
Barış Soner Uşaklı
320008cd49 feat: #8509, don't scroll chat to bottom if user scrolled up 2020-07-19 14:34:31 -04:00
psychobunny
06143ca7d7 feat: added quick link to edit privileges on the category edit page 2020-07-17 16:27:47 -04:00
Julian Lam
1e14af4503 fix: composer textarea placeholder l10n /cc @pitaj 2020-07-16 16:25:36 -04:00
Julian Lam
9fb9185fa7 feat: hide some filters behind 'more filters' button 2020-07-16 09:32:20 -04:00
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
2020-07-15 17:10:49 -04:00
Julian Lam
f85a45c722 feat: logic for flag note deletion, #8499 2020-07-14 13:38:28 -04:00
Barış Soner Uşaklı
00d39fb32c feat: #8460, export groups members as csv 2020-07-10 13:12:14 -04:00
Barış Soner Uşaklı
3dcf538773 feat: #8023, allow wildcard search for uid/email 2020-07-09 23:57:54 -04:00
Barış Soner Uşaklı
46a6686300 fix: category search in selector 2020-07-09 19:08:01 -04:00
Barış Soner Uşaklı
c513b88dff feat: #8427, daily downvote limits 2020-07-09 12:51:05 -04:00
Barış Soner Uşaklı
4adbf87c6c feat: warn user if whitelisted tags are less than minTags 2020-07-08 21:36:48 -04:00
Barış Soner Uşaklı
9eb748b985 fix: #8467, fix url to merged topic in subfolder installs 2020-07-05 17:41:39 -04:00
Misty (Bot)
fe908cc022 Latest translations and fallbacks 2020-07-01 09:05:28 +00:00
Misty (Bot)
a1a5424047 Latest translations and fallbacks 2020-06-30 09:05:40 +00:00
Julian Lam
6931f29d53 feat: allow flagging of user acounts from post tools menu 2020-06-29 19:49:52 -04:00
Misty (Bot)
1b1e9b6725 Latest translations and fallbacks 2020-06-29 09:06:13 +00:00
Misty (Bot)
e66b526ca0 Latest translations and fallbacks 2020-06-28 09:05:21 +00:00
Barış Soner Uşaklı
e09ab3dc19 feat: closes #8440, allow configuring max topic count 2020-06-27 18:11:27 -04:00
Misty (Bot)
c0857f6390 Latest translations and fallbacks 2020-06-26 09:05:58 +00:00
Misty (Bot)
9b20d0ce20 Latest translations and fallbacks 2020-06-25 09:07:32 +00:00
Barış Soner Uşaklı
bffb830d87 feat: add missing translation key 2020-06-24 16:20:50 -04:00
Misty (Bot)
d50f7c7dfa Latest translations and fallbacks 2020-06-23 09:06:09 +00:00
Barış Soner Uşaklı
8383992dcc feat: move export functions into child processes 2020-06-23 00:23:46 -04:00
Misty (Bot)
76c577fa3c Latest translations and fallbacks 2020-06-21 09:05:12 +00:00
Misty (Bot)
55f8f99bcd Latest translations and fallbacks 2020-06-20 09:05:21 +00:00
Misty (Bot)
757cfe80be Latest translations and fallbacks 2020-06-19 09:05:58 +00:00
Misty (Bot)
f5b3713313 Latest translations and fallbacks 2020-06-17 09:05:42 +00:00
Julian Lam
35a06a8419 feat: #8412 breadcrumbs for ip-blacklist/post queue/flags 2020-06-16 11:34:44 -04:00
Misty (Bot)
7fe9c1a26d Latest translations and fallbacks 2020-06-16 09:05:31 +00:00
Misty (Bot)
cdf81159df Latest translations and fallbacks 2020-06-15 18:42:49 +00:00
Julian Lam
d5af976915 feat: #8408 flags' quick assignment 2020-06-15 14:22:59 -04:00