Barış Soner Uşaklı
91411cc47c
feat: add privileges shortcut to groups list
...
fix issues with escape group names
5 years ago
Barış Soner Uşaklı
8415d2f014
fix: api test
5 years ago
Barış Soner Uşaklı
69fb15276c
fix: tests
5 years ago
Barış Soner Uşaklı
f48d155670
fix: tests
5 years ago
Julian Lam
55b0e902fb
feat: consolidation of flags to reduce flagspam, #8510
...
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, #8510
commit 08c75c020021ada754bf0e39eae77d631b01dee5
Author: Julian Lam <julian@nodebb.org>
Date: Thu Jul 16 20:53:18 2020 -0400
feat: upgrade script for #8510
5 years ago
psychobunny
8769e28b28
fix: api docs for admin/manage/groups/x
5 years ago
Barış Soner Uşaklı
42af4b572b
fix: api tests
5 years ago
Barış Soner Uşaklı
a46adb3fd5
fix: more tests
5 years ago
Barış Soner Uşaklı
67ca5e3256
fix: tests
5 years ago
Barış Soner Uşaklı
00d39fb32c
feat: #8460 , export groups members as csv
5 years ago
Barış Soner Uşaklı
3dcf538773
feat: #8023 , allow wildcard search for uid/email
5 years ago
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
5 years ago
Barış Soner Uşaklı
5f1865c0b7
fix: openapi
5 years ago
Barış Soner Uşaklı
65c0adc720
fix: openapi
5 years ago
Julian Lam
c468942f14
fix(openapi): tests
5 years ago
Barış Soner Uşaklı
c718b7293e
feat: #3783 , min/max tags per category
5 years ago
Barış Soner Uşaklı
f03ca0867b
fix: tests
5 years ago
Barış Soner Uşaklı
8383992dcc
feat: move export functions into child processes
5 years ago
Julian Lam
4cae893f49
fix(openapi): tests for #8412
5 years ago
Julian Lam
6a96944247
fix(openapi): api change for #8387
5 years ago
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 afdb235f48eb0072d88de45f3a1e0151281095b3.
* 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
5 years ago
Barış Soner Uşaklı
1b5d5425b4
fix: handle search tag permission as well
5 years ago
Barış Soner Uşaklı
2100a03c1a
refactor: change name to privileges to match other apis
5 years ago
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
5 years ago
Julian Lam
98dffa3af8
fix: tests due to 0633ad327
5 years ago
Julian Lam
a51fff8bd1
refactor: remove general menu from ACP ( #8347 )
...
* refactor: remove general menu from ACP
* fix: incorrect translation keys, fixed tests
5 years ago
Julian Lam
a0e243eea1
fix(openapi): schema for new flags api
5 years ago
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
5 years ago
Julian Lam
45dfeeb033
fix(openapi): broken tests
5 years ago
Julian Lam
aa4ae78b63
fix(docs): added titles to all routes
5 years ago
Julian Lam
9fd5c439b2
feat: write-api update, WIP
5 years ago
Barış Soner Uşaklı
4e14cb5767
fix: add missing schema item
5 years ago
Barış Soner Uşaklı
84383d3995
fix: spec
5 years ago
Julian Lam
23a0b8c54c
fix(openapi): v14 test fix
5 years ago
Barış Soner Uşaklı
9ffdab02d0
fix: tag of /api/unread/total
5 years ago
Julian Lam
ccc6118d30
Testing suite integration for openapi spec ( #8263 )
...
* feat: testing suite integration for openapi spec
The testing suite now takes the openapi spec into account. It will
check each route defined, make a call to it, and compare the
response with the defined schema. Any mismatches will cause the
test to fail.
* fix(openapi): removed debug stuff from tests
* fix(openapi): fixed some tests
* fix(openapi): added additional check to tests, test fixes
* fix(openapi): better tests, fixed spec errors
* fix(openapi): bad conditional in test
* fix: oops
* fix(openapi): more tests fixing
* fix(openapi): more tests
* fix(openapi): fix some more tests
* fix: verbose'd an info log
* fix: topic pagination route returns schema-optimized pagination block
* fix(openapi): more test/spec fixes
* fix(openapi): accidentally sending in authenticated jar for anon routes
* fix(openapi): more test/spec fixes
* fix(openapi): more spec fixes
* fix: timestampReadable Invalid Date
* fix(openapi): more tests... almost there
* fix(openapi): more tests fixing
* fix(openapi): finally all tests passing
* fix(openapi): added reverse test to compare response to spec
... and fixed all the tests that broke
* fix: remove tests related to group covers, as route is gone
* fix(openapi): broken test on travis
* fix(openapi): broken test on travis
* fix(openapi): broken test on travis
* fix(openapi): object cache is not present for psql
* fix: tests
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
5 years ago
Julian Lam
d342a28c16
fix(openapi): remove account and group upload routes
...
re: #8260
5 years ago
Julian Lam
058a15dbb2
fix(openapi): more fleshing out
5 years ago
Julian Lam
bae88e089a
fix(openapi): fleshed out admin routes
5 years ago
Julian Lam
8387178b25
feat(openapi): merging openapi-test branch into master
5 years ago
Julian Lam
ab4bd7e146
fix(openapi): added some descriptions
5 years ago
Julian Lam
2395d2be2e
fix(openapi): added PostsObject component
5 years ago
Julian Lam
23dd2727f2
fix(openapi): finished moving all category objects out
5 years ago
Julian Lam
c939f8c66d
fix(openapi): changed some descriptions
5 years ago
Julian Lam
55d0a9ffea
fix(openapi): added CategoryObject component
5 years ago
Julian Lam
646fac1e53
fix(openapi): removed repeated breadcrumb blocks in favour of $ref
5 years ago
Julian Lam
ac579f9dc2
fix(openapi): remove all repeated pagination blocks in favour of
5 years ago
Julian Lam
1cf62095dc
fix(openapi): removed warning for category mods route
5 years ago
Julian Lam
3a5c6e07f9
fix(openapi): normalising the file for programmatic updates
5 years ago
Julian Lam
65c78de6fe
feat(openapi): move all commonprops out for commonprops component
5 years ago
psychobunny
cd5065572c
feat: moved component specs into separate files
5 years ago
Julian Lam
2425f4533f
feat(openapi): added template to commonprops
5 years ago
Julian Lam
64d79fe5f6
feat: added UserObject, UserObjectFull, Breadcrumb, Pagination component
5 years ago
psychobunny
ae3e90d693
feat: added some summary and descriptions
5 years ago
Barış Soner Uşaklı
442c018ec0
feat: add some descriptions
5 years ago
Barış Soner Uşaklı
eade13f928
feat: common schema
5 years ago
Julian Lam
32985eb12e
Merge remote-tracking branch 'refs/remotes/origin/master'
5 years ago
Julian Lam
7b31fb34a7
fix: missing descriptions for common properties
5 years ago
Barış Soner Uşaklı
9987813f30
feat: add page query param to docs
5 years ago
Barış Soner Uşaklı
bbddaadf51
feat: tag route doc
5 years ago
Julian Lam
03739b6f83
fix: some definitions in read API spec
5 years ago
Julian Lam
455d42bcfa
fix: tagged all routes in read api spec
5 years ago
Julian Lam
7b155dab74
feat: added auto-generated, slimmed-down openapi 3.0 file for read api
5 years ago