Barış Soner Uşaklı
ec5582b53c
feat: add privilege give/rescind hooks ( #8336 )
...
* feat: add privilege give/rescind hooks
action:privileges.categories.give/rescind
action:privileges.global.give/rescind
breaking change, privileges.categories.give/rescind and privileges.global.give/rescind use full privilege name for groups ie `groups:find` instead of `find`
* fix: tests, privileges renamed
2020-05-26 21:57:38 -04:00
Julian Lam
442fe65f5a
fix: remove tests related to group covers, as route is gone
2020-04-23 19:47:39 -04:00
Barış Soner Uşaklı
61da8c29ac
fix: group create/join/update name validation
2020-01-07 15:40:54 -05:00
Baris Usakli
c2cd7de891
fix : #8069 , dont show hidden groups in search
2019-11-29 13:35:50 -05:00
Barış Soner Uşaklı
3caa387ac6
fix: tests
2019-10-01 11:09:44 -04:00
Barış Soner Uşaklı
96ab8d05aa
fix: only allow png/jpg/bmp in cover/profile images
2019-09-21 23:10:49 -04:00
Julian Lam
1796b65d34
feat: option to restrict group leaving, closes #7770
2019-09-05 12:01:42 -04:00
Barış Soner Uşaklı
f15c7f12b3
refactor: async/await
2019-08-19 23:17:43 -04:00
Barış Soner Uşaklı
fa26855671
feat: #7842 , make isInvited, isPending work with uids
2019-08-18 20:57:14 -04:00
Julian Lam
c44bf48c01
fix: removed console.logs
2019-08-14 15:20:13 -04:00
Julian Lam
f736f0b382
fix: broken tests from 71b205a889
2019-08-14 15:19:00 -04:00
Barış Soner Uşaklı
9d1fcf4e36
fix: closes #7217
2019-02-04 14:16:47 -05:00
Barış Soner Uşaklı
7e828404f6
fix : #7116
...
dont save relative_path in db for group covers
2018-12-18 19:43:28 -05:00
Barış Soner Uşaklı
afa84023a2
closes #6942
2018-11-11 18:42:15 -05:00
Barış Soner Uşaklı
b6771836cf
closes #6937
2018-11-10 20:51:07 -05:00
Baris Usakli
566564ed74
fix redis tests
...
fixed typo in groups/data.js
added postcount,viewcount to int fields
2018-10-26 13:01:34 -04:00
Barış Soner Uşaklı
175e13edf6
group data
2018-10-23 08:28:59 -04:00
Barış Soner Uşaklı
b57db7fd8e
update groups join to take array of group names ( #6834 )
...
* allow groups.join to take an array of group names
* pass an array to groups.join/leave in privileges
* split up groups/membership
* add hits/miss to group cache
* fix typo
2018-10-15 13:45:55 -04:00
Barış Soner Uşaklı
805da98a36
remove unnecessary groups.resetCache calls
2018-09-30 13:42:33 -04:00
Barış Soner Uşaklı
cdc3ef09e9
closes #6481
2018-05-02 13:49:08 -04:00
Barış Soner Uşaklı
9132743870
#6481
2018-05-02 12:43:13 -04:00
Baris Usakli
ecc2b9560d
parseInt data.hidden add tests
2018-02-07 13:02:04 -05:00
Barış Soner Uşaklı
ff6c6a54c1
make upload permissions global
...
give upload image permission to registered users on install
add global privileges to app.user.privileges for client side use
2018-01-03 13:27:34 -05:00
Baris Usakli
de55c8e431
closes #4070
2017-08-02 13:03:39 -04:00
Baris Usakli
18181260e7
closes #5836
2017-07-18 13:36:21 -04:00
Barış Soner Uşaklı
4f31dec82c
reduce usage of io.emit in tests
2017-06-02 16:51:36 -04:00
Peter Jaszkowiak
b171f3072b
Fix many "duplicate key" errors
...
- Reset defaults after every test
- Remove individual `after(db.emptydb)` calls
- Fix async.every in groups test
- Update plugin list in socket tests
2017-05-26 17:16:59 -06:00
Barış Soner Uşaklı
466e6d7c53
make renameGroup public for #5706
2017-05-26 00:26:25 -04:00
Barış Soner Uşaklı
376c71adda
group search tests
2017-05-12 19:51:33 -04:00
barisusakli
57691d9ad8
test for system group rename
2017-03-09 17:18:30 +03:00
Julian Lam
e71bd7a27f
Merge branch 'master' into styleguide
2017-02-24 11:45:04 -05:00
barisusakli
3a87f2566a
more group tests
2017-02-24 15:05:00 +03:00
barisusakli
b7d5bc7dc8
more group tests
2017-02-24 12:54:16 +03:00
Peter Jaszkowiak
dd2b930824
Resolve merge conflicts, minify only .js files
2017-02-23 18:31:49 -07:00
Peter Jaszkowiak
ee9d7584e4
Fix test, misc
2017-02-23 17:29:08 -07:00
barisusakli
ef90702049
closes #5459
2017-02-20 21:28:02 +03:00
Peter Jaszkowiak
93f38d4f30
ESlint no-multi-assign
...
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
2017-02-18 18:06:28 -07:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
74b9f1a016
closes #5262
2016-12-07 11:57:27 +03:00
barisusakli
4b6e4f085d
more tests
...
group cover upload tests
registration approval queue tests
2016-12-02 14:05:59 +03:00
barisusakli
9ba93d8be9
group search tests
2016-12-01 17:21:09 +03:00
barisusakli
ea007e2da4
closes #5245
2016-12-01 11:52:35 +03:00
barisusakli
dff4ee767c
more group tests
2016-11-26 12:03:21 +03:00
barisusakli
60b3db7b34
dont use hardcoded uid
2016-11-23 15:51:47 +03:00
barisusakli
86deeaaf39
more group tests
2016-11-22 17:58:04 +03:00
barisusakli
cecb4c0403
some more group tests
2016-11-22 17:21:30 +03:00
barisusakli
4a0f67afdc
search tests
...
new method emptydb
use emptydb instead of flushdb, flushdb removes indices for mongo which
breaks search tests
initialize meta.config properly in tests
enable nodebb-plugin-dbsearch for tests
2016-10-17 23:34:14 +03:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00