Commit Graph

64 Commits (833c73e81b9ec73a8f92a35dcdde1a7083b2851b)

Author SHA1 Message Date
Barış Soner Uşaklı 12c8b1c2bc fix: dont allow adding duplicates to privileges page
hightlight uid/group if it is added again from autocomplete
Julian Lam b6b94a56dc refactor: moved ip-blacklist and post-queue styles/tpls to themes
This is a breaking change!, re: 
Julian Lam a716a5529c
feat: more discrete commit-on-save instead of commit-on-change w/ confirm modals ()
* feat: privileges save button, , WIP

* fix: disable firefox autocomplete on privilege form fields

* feat: closes  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
Barış Soner Uşaklı 560f3eb173 feat: css fixes
Barış Soner Uşaklı 91411cc47c feat: add privileges shortcut to groups list
fix issues with escape group names
Julian Lam 8473e165a6 fix: too small sortable handle for ACP>Manage>Categories
The handle was initially just the icon, but now it is the icon
and the category label itself.
Barış Soner Uşaklı db07dd8565 fix: less fixes for category dropdown
Barış Soner Uşaklı 24535a62e7 feat: make category tools in acp a dropdown
add view category, view privileges into dropdown
psychobunny 4c90fac412 fix: cursor for category select
psychobunny 10e4ae629c feat: highlight privs row if group is added / navigating from group page
Barış Soner Uşaklı 05c9fe2735 feat: , allow changing user groups from manage users page
Barış Soner Uşaklı 1bda92e3fc fix: , break-word on post-queue
Barış Soner Uşaklı c2e7ae7f41 fix:
Baris Usakli 31bb2ae9af feat: make user cards look less derpy
Baris Usakli de437e36a5 fix: admins&mods when there are mutliple lines of users
Barış Soner Uşaklı 11bb2f1560 closes
Baris Usakli 46576189be closes
Barış Soner Uşaklı 8446a733e5 closes
psychobunny d4a11de07d move blacklist.less into admin/manage/ip-blacklist.less
Barış Soner Uşaklı e9360347ea less padding, closes
pichalite 1d5b3cc73f ACP manage tags page UI changes
pichalite dcb0f18422 ACP manage groups UI updates
Peter Jaszkowiak 94eb74646c `admin/manage/categories` translations
- Fix privilege table headers so bottom borders align
- Fix `/admin` route to show Dashboard title correctly
- Translate ACP category management and privileges templates
- Translate ACP category management JS
- Remove unnecessary translates in JS
- Fix bootbox wrapper to work with translations containing html
psychobunny bcb3903446 priv table headers
Julian Lam 785f4fc5a0 updating to jQuery 3.x on frontend and ACP
Julian Lam b3d6a8ef9a mobile fixes for registration queue page
barisusakli 8c3b52ef36 closes
Julian Lam eb8b6af7fb Fix global mod priv check and styling for flags page
pichalite 511a4b7700 remove dashed border
barisusakli 32ca95319e closes
pichalite 329e32901f style updates
Julian Lam a936866688 revamped ACP Flags interface,
Julian Lam b52475c270 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/client/account/edit.js
	src/middleware/middleware.js
	src/socket.io/meta.js
	src/socket.io/user/picture.js
	src/user.js
	src/views/admin/manage/group.tpl
barisusakli e2a5440ae8 closes
Julian Lam 167ba64018 using fancy new mixin
Julian Lam 4c96f95330 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/app.js
	public/src/client/account/edit.js
Lesterpig 4c2e701338 ACP: Fix layout for long category description
See 
Julian Lam 97dd5500a1 Merge remote-tracking branch 'origin/master' into user-icons
barisusakli bcd8bdf0df closes
Julian Lam f6d5b52a8b WIP user-icons
psychobunny 969522c2d2 manage/categories
psychobunny d5b88e9c35 fixed markup on /group page
psychobunny e04495b012 underped tags page
psychobunny 28e2297e63 fixed categories layout
psychobunny 6cf0697621 fixed indenting to match style
psychobunny 396013c8fd added a faint separator to the categories listing
Julian Lam 6fedcca4ee changed a bunch of whitespace back into tabs, and fixed issue where categories without a parentCid were not showing up at all in the ACP
Julian Lam 478850ac05 rewrote a bit of the code so that templates.js is called asynchronously, and moved indentation levels to CSS instead of inlined styling.
Nicolas Siver 1bfb41bccb sorting tree
Nicolas Siver 46ce3aae9f tree view