barisusakli
dc68dce27f
check err
11 years ago
root---
f2d07d3182
fix fatal error when renaming group with no users
11 years ago
barisusakli
fed8cc6d53
optimize privileges and assorted fixes.
...
* new methods
privileges.categories.filter
privileges.topics.filter
privileges.posts.filter
they take a list of ids and a privilege, and return the filtered list of
ids, faster than doing async.filter and calling the db for each id.
* remove event listeners on recent page before adding
* group.exists works for both single group names and arrays
* helpers.allowedTo works for both a single cid and an array of cids
* moved filter:topic.post hook right before topic creation.
* moved filter:topic.reply hook right before topic reply.
11 years ago
Julian Lam
b7d27fe48b
god damnit @barisusakli :P
11 years ago
barisusakli
fde8e9d90f
on group destroy, remove it from all groups
...
previously if a group was destroyed it was left behind in privilege
groups
11 years ago
barisusakli
8113ed6a4d
closes #1883 , no upgrade script #successkid
11 years ago
barisusakli
054ceab0be
isMemberOfGroups fix
11 years ago
barisusakli
5292bdad5a
closes #1871
11 years ago
Aziz Khoury
ed7631cab5
tab indent fix
11 years ago
Aziz Khoury
d1f97723e7
Group.join() callback made optional
11 years ago
barisusakli
64d04f7aa6
closes #1803
11 years ago
barisusakli
d57f183f42
privileges.posts.get takes an array of pids now
11 years ago
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
11 years ago
barisusakli
03ec1c3216
added group.hide back into groups.join
11 years ago
barisusakli
3c44beb4bb
group userTitle default
11 years ago
barisusakli
ab80016910
fixed group hide for privilege groups
11 years ago
barisusakli
07275b5fc4
some checks to make last admin isnt removed
11 years ago
barisusakli
42d03cc491
closes #1678
11 years ago
barisusakli
3b1e373e7b
group titles
11 years ago
Julian Lam
eb2929f497
removing slufigication when checking for group existence
11 years ago
Julian Lam
3baf00208f
slugifying group name when checking for existence
11 years ago
Julian Lam
f20926f93d
finished up group list and group details pages - closed #1563
11 years ago
Julian Lam
8a510c340b
limiting user and group creation so that their slugs can't intersect.
11 years ago
Julian Lam
1d7c293197
added option to remove ephemeralGroups from groups listing
11 years ago
Julian Lam
b1534b7798
removing allowGuestPosting logic in NodeBB
11 years ago
Julian Lam
c297e2f2f8
ephemeral groups - guests
11 years ago
barisusakli
0ac58dbee6
more error strings
11 years ago
Julian Lam
d1a64798b9
removing use of slugs in groups... pending having more time
11 years ago
Julian Lam
bd2a1a3efa
Revert "reverting groups.js to 4701eb1cee1a35b7f059f4362773bd9d67b7370c"
...
This reverts commit d8df9ab3ed
.
11 years ago
psychobunny
d8df9ab3ed
reverting groups.js to 4701eb1cee
11 years ago
Julian Lam
49a686af78
fixing groups tests
11 years ago
Julian Lam
14b9c03199
First pass at #1331 - Groups.search() + Tests
11 years ago
Julian Lam
4701eb1cee
updating groups so that members leave a group when it is deleted
11 years ago
Julian Lam
0e44eb8629
final refactoring pass for groups -- #1252
11 years ago
Julian Lam
7b4f596aba
updating all group lib methods, and their callers -- #1252
11 years ago
Julian Lam
befaa56ad0
derp derp derp more refactoring of groups
11 years ago
Julian Lam
c893effcb9
WIP commit -- groups refactoring + upgrade scripts
11 years ago
Julian Lam
4239c376c8
truncating user list in Groups ACP page, resolved #1132 . Refactored system groups handling
11 years ago
barisusakli
1354739d19
user deletion #746
...
user deletion NOT SKALABLE
11 years ago
barisusakli
b413f06b72
removed unused function from groups, jshint
11 years ago
Julian Lam
fdd2dc322b
first pass #992
11 years ago
psychobunny
6496ad95e8
Revert "closes #992"
...
This reverts commit ed4b0461b9
.
11 years ago
psychobunny
ed4b0461b9
closes #992
11 years ago
Julian Lam
d360a9bcac
resolved #868
11 years ago
Julian Lam
d380f69310
support for "registered users" and "administrators" in access control (categories). Renamed "Administrators" group to "administrators", and made hidden
11 years ago
Julian Lam
2495b5b89b
refactored group category permissions, removed getCategoryAccess method call
11 years ago
psychobunny
36e1a121ed
removing some console.log's
11 years ago
root
35ad3be969
Adding support for restricting category read access based on user groups
11 years ago
Baris Soner Usakli
097810a057
parseInt fixes getObjects fix
11 years ago
Baris Usakli
7875138c08
added parseInt
11 years ago