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
..
database Zscan (#8458) 5 years ago
files fix: #8352, remove webfonts (#8354) 5 years ago
helpers fix: vulnerability in cover and admin uploads (#8419) 5 years ago
mocks fix: try again 5 years ago
.eslintrc ESlint no-unused-vars 8 years ago
api.js feat: increase wait 5 years ago
authentication.js feat: add privilege give/rescind hooks (#8336) 5 years ago
batch.js Async refactor in place (#7736) 6 years ago
blacklist.js fix(deps): update to eslint@6 6 years ago
build.js fix: #8134, upgrade mkdirp to 1.0.x 5 years ago
categories.js fix: missing await 5 years ago
controllers-admin.js feat: consolidation of flags to reduce flagspam, #8510 5 years ago
controllers.js fix: remove old test 5 years ago
coverPhoto.js fix: #7116 6 years ago
database.js fix: db info page 6 years ago
defer-logger.js upgrade to winston 3.1, closes #6590 (#6838) 6 years ago
emailer.js fixed tests, closes #6371 7 years ago
feeds.js feat: add privilege give/rescind hooks (#8336) 5 years ago
file.js fix: vulnerability in cover and admin uploads (#8419) 5 years ago
flags.js feat: consolidation of flags to reduce flagspam, #8510 5 years ago
groups.js fix: groups.updateCover 5 years ago
image.js up deps 8 years ago
locale-detect.js fix: #7038, autoLocale logic not playing nicely with no-refresh auths (#7059) 6 years ago
messaging.js fix: #6422, update deleted/restored messages 5 years ago
meta.js fix: return null if field does not exist 5 years ago
notifications.js fix: tests 5 years ago
pagination.js ESlint object-curly-spacing 8 years ago
plugins-installed.js feat: move plugin tests to separate file 5 years ago
plugins.js feat: move plugin tests to separate file 5 years ago
posts.js feat: #8524, allow editing category of queued topic 5 years ago
pubsub.js fix: #8474 5 years ago
rewards.js fix: change params 5 years ago
search-admin.js style(eslint): match operator-linebreak preferences 6 years ago
search.js feat: add privilege give/rescind hooks (#8336) 5 years ago
settings.js more settings tests 6 years ago
socket.io.js fix: event tests 5 years ago
template-helpers.js feat: more discrete commit-on-save instead of commit-on-change w/ confirm modals (#8541) 5 years ago
topics.js feat: #3783, min/max tags per category 5 years ago
translator.js fix: #7974 (#7976) 5 years ago
uploads.js feat: remove file.isFileTypeAllowed 5 years ago
user.js fix: edge case in test 5 years ago
utils.js feat: remove deprecated utils.walk 5 years ago