Barış Soner Uşaklı
af43f0e48e
fix : #8656 , rename /api/me to /api/self
2020-09-21 11:11:56 -04:00
Barış Soner Uşaklı
e90940949c
fix: openapi
2020-09-10 18:50:07 -04:00
Barış Soner Uşaklı
5f10d67db5
Remove sounds ( #8617 )
...
* feat: remove sounds
* feat: remove more sounds
* feat: disable sounds plugin
* fix: openapi
2020-09-06 23:45:00 -04:00
Julian Lam
b587127560
fix: new openapi def for replies addition
2020-08-27 14:56:51 -04:00
Julian Lam
e0c7d65a92
Revert "feat: add reply count to getPostSummaryByPids"
...
This reverts commit de0f4aadb8 .
2020-08-27 14:44:51 -04:00
Julian Lam
de0f4aadb8
feat: add reply count to getPostSummaryByPids
2020-08-27 13:21:18 -04:00
Barış Soner Uşaklı
4f7cfd5372
fix: openapi spec
2020-08-22 17:33:57 -04:00
Barış Soner Uşaklı
c4ad14cb68
fix: api spec
2020-08-22 17:30:34 -04:00
Julian Lam
2a948d32a4
Revert "test(openapi): missing commonprops addition"
...
This reverts commit 0dc55bbc80 .
2020-08-20 13:21:26 -04:00
Julian Lam
0dc55bbc80
test(openapi): missing commonprops addition
2020-08-20 10:50:45 -04:00
Julian Lam
d935f03636
fix(openapi): tests
2020-08-18 21:42:36 -04:00
Julian Lam
8ff09630b6
fix(openapi): new api definition
2020-08-10 10:35:44 -04:00
Julian Lam
d6297b28e9
fix: tests
2020-08-07 11:45:15 -04:00
Barış Soner Uşaklı
dfabd0a3fe
feat: remove administrator property from public routes
2020-08-05 14:24:00 -04: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
Barış Soner Uşaklı
fb7bb8d400
feat: use category selector in category page
...
fix privilege shortcuts in group page after search
2020-07-30 14:55:28 -04: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
Barış Soner Uşaklı
8415d2f014
fix: api test
2020-07-29 14:29:07 -04:00
Barış Soner Uşaklı
69fb15276c
fix: tests
2020-07-29 12:19:07 -04:00
Barış Soner Uşaklı
f48d155670
fix: tests
2020-07-27 21:50:07 -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
psychobunny
8769e28b28
fix: api docs for admin/manage/groups/x
2020-07-23 23:00:02 -04:00
Barış Soner Uşaklı
42af4b572b
fix: api tests
2020-07-23 16:54:36 -04:00
Barış Soner Uşaklı
a46adb3fd5
fix: more tests
2020-07-21 20:43:16 -04:00
Barış Soner Uşaklı
67ca5e3256
fix: tests
2020-07-21 18:26:26 -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ı
658dd03b03
feat: add tools to recent/unread ( #8477 )
...
* feat: add tools to recent/unread
* fix: open api spec
* fix: more api spec
2020-07-08 14:09:10 -04:00
Barış Soner Uşaklı
5f1865c0b7
fix: openapi
2020-07-04 16:54:18 -04:00
Barış Soner Uşaklı
65c0adc720
fix: openapi
2020-07-04 16:49:33 -04:00
Julian Lam
c468942f14
fix(openapi): tests
2020-07-03 12:12:07 -04:00
Barış Soner Uşaklı
c718b7293e
feat: #3783 , min/max tags per category
2020-06-24 16:02:57 -04:00
Barış Soner Uşaklı
f03ca0867b
fix: tests
2020-06-23 00:46:59 -04:00
Barış Soner Uşaklı
8383992dcc
feat: move export functions into child processes
2020-06-23 00:23:46 -04:00
Julian Lam
4cae893f49
fix(openapi): tests for #8412
2020-06-16 11:58:28 -04:00
Julian Lam
6a96944247
fix(openapi): api change for #8387
2020-06-09 10:25:19 -04:00
Julian Lam
a82e9bd7f6
feat: privileges for Admin Control Panel ( #8355 )
...
* feat: acp privileges (WIP)
* fix: restore global privilege hooks
* refactor: using cid 0 in admin privs
* fix: no need for zebrastripe-reset
* feat: manage:categories privilege WIP
* feat: renamed prefix to admin:, settigns and dashboard privs
* fix: nofocus on acp privs group find modal
* refactor: privileges.x.get() to not used hardcoded privs
* fix: crash if unable to get latest version
* feat: setting acp priv
* Revert "fix: crash if unable to get latest version"
This reverts commit afdb235f48 .
* feat: user/privilege acp privs
* fix: category selector in manage/privileges
* fix: guests potentially becoming admins
* fix: bug in setting admin privs
* fix: some last minute things + api docs
* fix: some more last minute fixes
2020-06-05 15:26:51 -04:00
Barış Soner Uşaklı
1b5d5425b4
fix: handle search tag permission as well
2020-06-04 21:42:38 -04:00
Barış Soner Uşaklı
2100a03c1a
refactor: change name to privileges to match other apis
2020-06-04 21:31:02 -04:00
cryptoethic
f6b92d241a
fix: checking correct permissions for user search ( #8371 )
...
* fix: checking correct permissions for user search
* fix: missing permissions porperty in openapi /api/search
2020-06-04 21:27:43 -04:00
Julian Lam
98dffa3af8
fix: tests due to 0633ad327
2020-05-31 21:09:19 -04:00
Julian Lam
a51fff8bd1
refactor: remove general menu from ACP ( #8347 )
...
* refactor: remove general menu from ACP
* fix: incorrect translation keys, fixed tests
2020-05-29 09:59:22 -04:00
Julian Lam
a0e243eea1
fix(openapi): schema for new flags api
2020-05-26 21:17:42 -04:00
Julian Lam
6f504c4142
Remove allowFileUploads ACP option ( #8324 )
...
* feat: allow awaitable upgrade scripts
* feat: allowFileUploads removal upgrade script
* refactor: remove unnecessary ACP option `allowFileUploads`
* fix: updated upgrade script template to not use callback arg
* fix: upgrade script as per @baris
* fix: add missing await
* fix: add missing await
2020-05-21 16:06:35 -04:00
Julian Lam
45dfeeb033
fix(openapi): broken tests
2020-05-13 12:45:18 -04:00
Julian Lam
aa4ae78b63
fix(docs): added titles to all routes
2020-05-11 20:33:22 -04:00
Julian Lam
9fd5c439b2
feat: write-api update, WIP
2020-05-11 20:33:22 -04:00
Barış Soner Uşaklı
4e14cb5767
fix: add missing schema item
2020-05-11 14:20:03 -04:00
Barış Soner Uşaklı
84383d3995
fix: spec
2020-05-03 22:00:25 -04:00
Julian Lam
23a0b8c54c
fix(openapi): v14 test fix
2020-04-24 17:45:40 -04:00