You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
..
admin feat: more discrete commit-on-save instead of commit-on-change w/ confirm modals (#8541) 5 years ago
emails fix: #8272 user link in digest email 5 years ago
install fix: #7472 6 years ago
modals fix: resolve CORS error on uploading via URL 6 years ago
partials Added user consent pages (#6430) 7 years ago
400.tpl Revert "Merge pull request #5923 from NodeBB/patch-5922" 8 years ago
403.tpl Revert "Merge pull request #5923 from NodeBB/patch-5922" 8 years ago
404.tpl
500-embed.tpl normalising behaviour for subfolder installs, #6410 7 years ago
500.tpl Revert "Merge pull request #5923 from NodeBB/patch-5922" 8 years ago
503.tpl
sitemap.tpl