Commit Graph

47 Commits (15ce23da4c2adb4f7556abb7567acfbdfe9db828)

Author SHA1 Message Date
Barış Soner Uşaklı 2ee2cd528f feat:
Barış Soner Uşaklı c72da5595a fix:
3 new global privileges
view:users
view:tags
view:groups
Barış Soner Uşaklı 9d1fcf4e36 fix: closes
Baris Usakli 7809ba2800 fix: , closes
Barış Soner Uşaklı eb7ae54f81
Category watch state ()
* feat: wip, category watch change

* feat: pass data to client

* feat: allow changing state

* fix: account page categories

* fix: show in unread if topic is followed or category is watched

* feat: add default watch state to acp

* feat: save user category watch state

* feat: update unread recent pages

* fix: remove dupe code

* fix: flip conditions

* fix: handle empty arrays

* fix: ignore/watch on others profile

* feat: upgrade script for category states

if there are any users ignoring categories set their state in new zset and delete cid:<cid>:ignorers

* fix: upgrade

* fix: tests

* fix: redis count

* fix: more tests
Baris Usakli d3c6cba33f closes
Barış Soner Uşaklı a63ddbe2aa fix:
if category doesn't exist return null and 404
Baris Usakli cd46febdd0 fix lint
Baris Usakli b86f155690 fix:
Baris Usakli 3c611d85ed closes
- on category setParent dialog do not show children of current category
- break recursion if category parentCid is equal to child cid to prevent
infinite loop
- dont allow setting the parentCid of a category to one of it's children
Barış Soner Uşaklı c738dc7d3e remove some more parseInts
Barış Soner Uşaklı ee2f9e9434 remove some parseInts
Baris Usakli baf91089a6 remove unused methods
Barış Soner Uşaklı 805da98a36 remove unnecessary groups.resetCache calls
Barış Soner Uşaklı 77beaf2e15
Allow local login,closes ()
* WIP

* reset groups cache after every suite
Julian Lam 8d41e319ea fixed tests
Julian Lam 510dd268cc fix tests
Barış Soner Uşaklı a7267df404 closes
Barış Soner Uşaklı 8e8058ec6e closes
Barış Soner Uşaklı e1c6761087 closes
Baris Usakli ecf6c0f3ec closes
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
Barış Soner Uşaklı 7fe9366103 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Barış Soner Uşaklı d65f494c6d closes
Baris Usakli 0ea4ee7dda Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Baris Usakli 4903585d88 refactor userPrivileges and groupPrivileges
Baris Usakli 037a0e5239 closes
also fix reverse infinite scroll when sorting is changed
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
barisusakli 324e5be7bd privileges tests
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks
Peter Jaszkowiak 2e031f3759 ESlint comma-spacing
Peter Jaszkowiak 52f2028206 ESlint no-multiple-empty-lines
Peter Jaszkowiak b09b3aef7f ESlint no-undef, remove global comments
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle
barisusakli 0b9829850c closes
barisusakli 55416911f7 category tests
barisusakli 1440139903 more tests
barisusakli c33d3e874a store pinned topics in new zset
keep pinned topics on top on different sort types
barisusakli 1658ebbe20 categories update test
barisusakli db14c29e41 socket.io/categories tests
barisusakli cec3b650c3 category route test
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
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule
barisusakli 6c634b0689 fix tabs
barisusakli 038418bf87 batch.processArray
use batch.processArray in notifications.push and moveRecentReplies
added notification tests
added test for moveRecentReplies
clear group cache if a group is deleted
HeeL 4c6a75d85c Rename tests folder to test to follow standards