Commit Graph

165 Commits (13fa1f6b9a03dbaf92ec42c8d6ec370ecb43f3a0)

Author SHA1 Message Date
barisusakli 054ceab0be isMemberOfGroups fix
barisusakli 5292bdad5a closes
Aziz Khoury ed7631cab5 tab indent fix
Aziz Khoury d1f97723e7 Group.join() callback made optional
barisusakli 64d04f7aa6 closes
barisusakli d57f183f42 privileges.posts.get takes an array of pids now
barisusakli c3a9767bf6 late night optimizations
-isMemberOfSets returns true/false instead of 1/0
-when loading the posts of a topic only get the userdata for each user
once, before this commit if a topic had 10 posts from 2 different users
we were getting the user data for each user 5 times (drunk)
-getVoteStatusByPostIDs and getFavouritesByPostIDs no longer make
pids.length calls to the db, they use isMemberOfSets now
-getUserInfoForPost renamed to getUserInfoForPosts and doesnt make
uids.length calls to db, uses getMultipleUserFields instead
barisusakli 03ec1c3216 added group.hide back into groups.join
barisusakli 3c44beb4bb group userTitle default
barisusakli ab80016910 fixed group hide for privilege groups
barisusakli 07275b5fc4 some checks to make last admin isnt removed
barisusakli 42d03cc491 closes
barisusakli 3b1e373e7b group titles
Julian Lam eb2929f497 removing slufigication when checking for group existence
Julian Lam 3baf00208f slugifying group name when checking for existence
Julian Lam f20926f93d finished up group list and group details pages - closed
Julian Lam 8a510c340b limiting user and group creation so that their slugs can't intersect.
Julian Lam 1d7c293197 added option to remove ephemeralGroups from groups listing
Julian Lam b1534b7798 removing allowGuestPosting logic in NodeBB
Julian Lam c297e2f2f8 ephemeral groups - guests
barisusakli 0ac58dbee6 more error strings
Julian Lam d1a64798b9 removing use of slugs in groups... pending having more time
Julian Lam bd2a1a3efa Revert "reverting groups.js to 4701eb1cee1a35b7f059f4362773bd9d67b7370c"
This reverts commit d8df9ab3ed.
psychobunny d8df9ab3ed reverting groups.js to 4701eb1cee
Julian Lam 49a686af78 fixing groups tests
Julian Lam 14b9c03199 First pass at - Groups.search() + Tests
Julian Lam 4701eb1cee updating groups so that members leave a group when it is deleted
Julian Lam 0e44eb8629 final refactoring pass for groups --
Julian Lam 7b4f596aba updating all group lib methods, and their callers --
Julian Lam befaa56ad0 derp derp derp more refactoring of groups
Julian Lam c893effcb9 WIP commit -- groups refactoring + upgrade scripts
Julian Lam 4239c376c8 truncating user list in Groups ACP page, resolved . Refactored system groups handling
barisusakli 1354739d19 user deletion
user deletion NOT SKALABLE
barisusakli b413f06b72 removed unused function from groups, jshint
Julian Lam fdd2dc322b first pass
psychobunny 6496ad95e8 Revert "closes #992"
This reverts commit ed4b0461b9.
psychobunny ed4b0461b9 closes
Julian Lam d360a9bcac resolved
Julian Lam d380f69310 support for "registered users" and "administrators" in access control (categories). Renamed "Administrators" group to "administrators", and made hidden
Julian Lam 2495b5b89b refactored group category permissions, removed getCategoryAccess method call
psychobunny 36e1a121ed removing some console.log's
root 35ad3be969 Adding support for restricting category read access based on user groups
Baris Soner Usakli 097810a057 parseInt fixes getObjects fix
Baris Usakli 7875138c08 added parseInt
Baris Soner Usakli e066fbf36a sets are storing numbers in mongo as opposed to redis which stores strings, causes tons of problems
Baris Soner Usakli 3775c8e50a tons more changes
Julian Lam 38da65ee58 tweaks to category permission modal
Julian Lam e3e1a556cd groups pruning method
Julian Lam 69427fa10e tweaks to make the ACP work better on tablets, some work on hidden groups
Julian Lam 8b62041d28 refactored groups and categories, groups no longer explodes when
attempting to add members to a whitelist that doesn't exist, isEmpty
checks (new methods!) and such...
Julian Lam df2e9b4b47 admin panel integration for category whitelisting
Julian Lam f0e8633dcc category whitelisting for posting messages, isAdmin now error-first
Julian Lam 974629ce85 hahah, bad paste, missing a bunch of line endings
Julian Lam 72ef8c839f Merge remote-tracking branch 'origin/master' into category-whitelisting
Conflicts:
	src/groups.js
psychobunny 46d6d7637e potentially fixes ubbmigrator issue https://github.com/akhoury/nodebb-plugin-ubbmigrator/issues/2
Julian Lam 4e2326fc84 Merge remote-tracking branch 'origin' into category-whitelisting
psychobunny a1839d90fd prevent admin group from being deleted, closes
Julian Lam 18009ebb39 interim commit
psychobunny 28704a6164 hinting
psychobunny aea3181d27 formatting - server side core
Baris Usakli bb14881b63 change getUserData to return err
Julian Lam bec0b46a2c refactoring installation scripts to use node prompt module, lots of other fixes
fixed , fixed , fixed 
Julian Lam f39932ece7 group join leave, and updating
Julian Lam 85ac4aac94 group creation and deletion
Julian Lam f2b8813fb9 brain dumped groups lib