Commit Graph

63 Commits

Author SHA1 Message Date
Aziz Khoury
ed7631cab5 tab indent fix 2014-07-15 13:39:02 -04:00
Aziz Khoury
d1f97723e7 Group.join() callback made optional 2014-07-15 13:32:21 -04:00
barisusakli
64d04f7aa6 closes #1803 2014-07-07 17:36:14 -04:00
barisusakli
d57f183f42 privileges.posts.get takes an array of pids now 2014-06-28 14:59:01 -04:00
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
2014-06-28 01:03:26 -04:00
barisusakli
03ec1c3216 added group.hide back into groups.join 2014-06-18 20:00:01 -04:00
barisusakli
3c44beb4bb group userTitle default 2014-06-16 13:10:00 -04:00
barisusakli
ab80016910 fixed group hide for privilege groups 2014-06-14 18:26:16 -04:00
barisusakli
07275b5fc4 some checks to make last admin isnt removed 2014-06-13 22:48:24 -04:00
barisusakli
42d03cc491 closes #1678 2014-06-13 18:27:03 -04:00
barisusakli
3b1e373e7b group titles 2014-06-12 18:53:58 -04:00
Julian Lam
eb2929f497 removing slufigication when checking for group existence 2014-05-26 21:37:50 -04:00
Julian Lam
3baf00208f slugifying group name when checking for existence 2014-05-26 21:13:18 -04:00
Julian Lam
f20926f93d finished up group list and group details pages - closed #1563 2014-05-23 09:49:18 -04:00
Julian Lam
8a510c340b limiting user and group creation so that their slugs can't intersect. 2014-05-22 10:21:27 -04:00
Julian Lam
1d7c293197 added option to remove ephemeralGroups from groups listing 2014-05-21 11:30:32 -04:00
Julian Lam
b1534b7798 removing allowGuestPosting logic in NodeBB 2014-05-16 16:29:43 -04:00
Julian Lam
c297e2f2f8 ephemeral groups - guests 2014-05-16 15:10:06 -04:00
barisusakli
0ac58dbee6 more error strings 2014-04-09 21:56:30 -04:00
Julian Lam
d1a64798b9 removing use of slugs in groups... pending having more time 2014-04-09 14:46:18 -04:00
Julian Lam
bd2a1a3efa Revert "reverting groups.js to 4701eb1cee1a35b7f059f4362773bd9d67b7370c"
This reverts commit d8df9ab3ed.
2014-04-09 14:37:16 -04:00
psychobunny
d8df9ab3ed reverting groups.js to 4701eb1cee 2014-04-09 14:11:03 -04:00
Julian Lam
49a686af78 fixing groups tests 2014-04-08 17:37:11 -04:00
Julian Lam
14b9c03199 First pass at #1331 - Groups.search() + Tests 2014-04-05 13:01:31 -04:00
Julian Lam
4701eb1cee updating groups so that members leave a group when it is deleted 2014-03-21 09:27:13 -04:00
Julian Lam
0e44eb8629 final refactoring pass for groups -- #1252 2014-03-20 16:26:00 -04:00
Julian Lam
7b4f596aba updating all group lib methods, and their callers -- #1252 2014-03-20 09:13:09 -04:00
Julian Lam
befaa56ad0 derp derp derp more refactoring of groups 2014-03-19 20:40:34 -04:00
Julian Lam
c893effcb9 WIP commit -- groups refactoring + upgrade scripts 2014-03-19 20:33:39 -04:00
Julian Lam
4239c376c8 truncating user list in Groups ACP page, resolved #1132. Refactored system groups handling 2014-03-19 10:27:02 -04:00
barisusakli
1354739d19 user deletion #746
user deletion NOT SKALABLE
2014-03-14 19:07:50 -04:00
barisusakli
b413f06b72 removed unused function from groups, jshint 2014-03-09 23:51:09 -04:00
Julian Lam
fdd2dc322b first pass #992 2014-02-19 18:44:31 -05:00
psychobunny
6496ad95e8 Revert "closes #992"
This reverts commit ed4b0461b9.
2014-02-19 02:07:48 -05:00
psychobunny
ed4b0461b9 closes #992 2014-02-17 17:47:03 -05:00
Julian Lam
d360a9bcac resolved #868 2014-02-06 17:09:36 -05:00
Julian Lam
d380f69310 support for "registered users" and "administrators" in access control (categories). Renamed "Administrators" group to "administrators", and made hidden 2014-01-23 16:19:10 -05:00
Julian Lam
2495b5b89b refactored group category permissions, removed getCategoryAccess method call 2014-01-08 21:25:01 -05:00
psychobunny
36e1a121ed removing some console.log's 2013-12-17 17:48:51 -05:00
root
35ad3be969 Adding support for restricting category read access based on user groups 2013-12-17 20:34:21 +00:00
Baris Soner Usakli
097810a057 parseInt fixes getObjects fix 2013-12-05 21:29:51 -05:00
Baris Usakli
7875138c08 added parseInt 2013-12-05 13:11:27 -05:00
Baris Soner Usakli
e066fbf36a sets are storing numbers in mongo as opposed to redis which stores strings, causes tons of problems 2013-12-04 18:26:26 -05:00
Baris Soner Usakli
3775c8e50a tons more changes 2013-12-02 19:40:11 -05:00
Julian Lam
38da65ee58 tweaks to category permission modal 2013-11-28 14:27:19 -05:00
Julian Lam
e3e1a556cd groups pruning method 2013-11-28 12:55:05 -05:00
Julian Lam
69427fa10e tweaks to make the ACP work better on tablets, some work on hidden groups 2013-11-27 20:20:08 -05:00
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...
2013-11-27 20:07:04 -05:00
Julian Lam
df2e9b4b47 admin panel integration for category whitelisting 2013-11-27 16:23:30 -05:00
Julian Lam
f0e8633dcc category whitelisting for posting messages, isAdmin now error-first 2013-11-27 12:47:00 -05:00