Commit Graph

8181 Commits (2adae879496624fd7baa410601f02a349e46d2bd)

Author SHA1 Message Date
Misty (Bot) ea53c95d67 Latest translations and fallbacks
Misty (Bot) 2aa36b649a Latest translations and fallbacks
Barış Soner Uşaklı 3f01f4a2b8 Revert "feat: load timeago strings client-side"
This reverts commit 558a2d739c.
Julian Lam 558a2d739c feat: load timeago strings client-side
9adaccd036 introduced the ability to
configure an assetBaseUrl, but the timeago strings were still
calling a hardcoded value as it was handled server-side. There's
no need for the strings to be loaded until timeago is initialised.
Barış Soner Uşaklı 79e847d424 fix: , only navigate if user is in same topic
Julian Lam 8ff09630b6 fix(openapi): new api definition
Julian Lam 9adaccd036 feat: +assetBaseUrl, -l10BaseUrl, -requireBaseUrl
Additional base URLs were necessary for benchpress and translator,
and in order to not clutter the API response with needless one-
time use base URLs, I decided to use a single base that is used
by all of the services, assetBaseUrl.
Misty (Bot) 75ef4bbe34 Latest translations and fallbacks
Julian Lam d6297b28e9 fix: tests
Misty (Bot) 8a6bc10eb1 Latest translations and fallbacks
Julian Lam def16f9e97 feat: introduce overridable l10nBaseUrl config value
Misty (Bot) 9846498df7 Latest translations and fallbacks
Barış Soner Uşaklı dfabd0a3fe feat: remove administrator property from public routes
Barış Soner Uşaklı 4216c277d5 feat: focus username when modal is shown
Misty (Bot) 3463fc51c6 Latest translations and fallbacks
Julian Lam 2ee6248316 refactor: for codeclimate
Julian Lam a7071bb808 fix: map instead of forEach in privileges save
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
Misty (Bot) 8da742e065 Latest translations and fallbacks
Misty (Bot) 903c407171 Latest translations and fallbacks
Barış Soner Uşaklı e7a502e0aa feat: add ability to search groups in group details page
Barış Soner Uşaklı 519e665939 fix: , go to first unread instead of last read
Misty (Bot) 029f477434 Latest translations and fallbacks
Barış Soner Uşaklı 9e80a9efdd fix: , dont show modal on search
Barış Soner Uşaklı fb7bb8d400 feat: use category selector in category page
fix privilege shortcuts in group page after search
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
Misty (Bot) caa78cc1f6 Latest translations and fallbacks
Julian Lam c705e08a76 feat: allow direct link to flag from post tools,
Barış Soner Uşaklı 8415d2f014 fix: api test
Barış Soner Uşaklı c4829fd8c2 feat: allow changing requirejs base url
Barış Soner Uşaklı bbc7737e14 feat: ability to clear cache from acp
Barış Soner Uşaklı 69fb15276c fix: tests
Barış Soner Uşaklı 8d8117ffa1 feat: reduce amount of data loaded on acp admin page
get rid of socket call and use ajaxify.data.categories
Misty (Bot) d580cf01c3 Latest translations and fallbacks
Barış Soner Uşaklı f48d155670 fix: tests
Barış Soner Uşaklı fd4c3cda42 fix: , remove new notif alert
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.
Misty (Bot) 93d1ceccdd Latest translations and fallbacks
Misty (Bot) 43e9c25d26 Latest translations and fallbacks
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
Barış Soner Uşaklı 609e37a67b feat: remove deprecated utils.walk
Julian Lam 55b0e902fb feat: consolidation of flags to reduce flagspam,
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, 

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

    feat: upgrade script for 
psychobunny 4c90fac412 fix: cursor for category select
psychobunny bc26883aed refactor: setting codeclimate to A
psychobunny 8769e28b28 fix: api docs for admin/manage/groups/x
psychobunny a6ae69737b Merge branch 'master' of https://github.com/NodeBB/NodeBB
psychobunny 10e4ae629c feat: highlight privs row if group is added / navigating from group page
psychobunny 53f6139b8c feat: prevent navigation away from groups page if changes are unsaved