Julian Lam
d02f7e0e42
#2609
2015-01-14 09:42:09 -05:00
Julian Lam
6ac04e9da7
closed #2609
2015-01-14 09:33:02 -05:00
Julian Lam
698f598a30
default cover photo for groups, #2588
2015-01-12 21:14:00 -05:00
Julian Lam
675968f0f3
cover photo for groups, #2588
2015-01-12 20:34:15 -05:00
Julian Lam
635393a274
group creation and deletion from outside ACP, #2588
2015-01-12 13:00:23 -05:00
Julian Lam
b4731ad47b
added colorpicker to frontend, badge colour changes for groups, #2588
2015-01-09 13:53:11 -05:00
Julian Lam
7be0830751
properly showing private state in group details, #2588
2015-01-09 10:45:50 -05:00
Julian Lam
84c19921b9
newly created groups automatically assign the creator as the owner, some tweaks to isPrivate parsing, added groups link to header, #2588
2015-01-09 10:33:54 -05:00
Julian Lam
65537d997f
if a group is deleted, flush the owner and pending sets, too
2015-01-09 09:43:45 -05:00
Julian Lam
96c37c25b0
join, leave, accept, reject: handlers + UI, #2588
2015-01-08 17:23:40 -05:00
Julian Lam
3a3d45155e
show pending members in frontend UI, #2588
2015-01-08 17:06:33 -05:00
Julian Lam
71b41239ac
attempting to join a private group causes the join to be pending, #2588
2015-01-08 16:50:31 -05:00
Julian Lam
d747ce5760
granting and rescinding ownership, #2588
2015-01-08 15:40:41 -05:00
Julian Lam
a907fa2187
added concept of group ownership, #2588
2015-01-08 15:40:38 -05:00
Julian Lam
917f76feab
group join/leave controls in groups list page (+ helper!)
2015-01-07 14:58:31 -05:00
barisusakli
be11577aa4
closes #2477
2014-12-01 20:28:36 -05:00
barisusakli
51c520f888
closes #2480
2014-11-30 12:52:16 -05:00
barisusakli
420aa5e102
fix moderators
2014-11-09 00:33:26 -05:00
barisusakli
1004fb2822
closes #2354
2014-11-06 16:29:14 -05:00
barisusakli
a6e498bb5d
error check
2014-11-05 16:48:12 -05:00
barisusakli
608943255b
better check
2014-11-05 16:42:32 -05:00
barisusakli
ec0624918f
possible fix for #2351
2014-11-05 13:35:15 -05:00
Julian Lam
0a38a783c7
TravisCI is TOO DAMN FAST
2014-11-04 18:59:26 -05:00
barisusakli
e769ebe668
closes #2347
2014-11-04 15:56:33 -05:00
psychobunny
50b264ac7d
prevent deleted users belonging to a group from breaking edit functionality
2014-10-29 21:07:46 -04:00
Martin Freisen
a258f2b20b
include plugins for the hooks to work
2014-09-27 00:54:51 +02:00
Martin Freisen
ab90d7b9d4
added hooks action:groups.join and action:groups.leave
2014-09-27 00:23:44 +02:00
barisusakli
7d93926ef7
removed async.map
2014-09-20 23:04:49 -04:00
psychobunny
16accf6cd0
fixing groups.leave
2014-09-17 18:32:38 -04:00
barisusakli
0a936e5dd1
unreadTids
2014-09-16 12:38:31 -04:00
barisusakli
7a61645256
less db calls
2014-09-14 12:07:25 -04:00
barisusakli
4e6719e0aa
added filterUids method to privileges
...
used to filter uids on a single category
2014-09-14 12:07:24 -04:00
barisusakli
779b2a8d73
optimize queries
2014-09-06 00:58:03 -04:00
barisusakli
ca90afd544
#1992
...
(drunk) not even done yet
2014-08-16 21:33:42 -04:00
barisusakli
b8279dc737
optimize getUserGroups to work with multiple user ids
2014-08-09 02:07:03 -04:00
barisusakli
76b257f7b8
optimized User.getUsers
2014-08-06 12:39:14 -04:00
barisusakli
97909a6cac
err checks
2014-08-01 18:21:39 -04:00
barisusakli
d9a0af712d
group null and err check
2014-07-31 08:01:11 -04:00
barisusakli
dc68dce27f
check err
2014-07-31 07:38:19 -04:00
root---
f2d07d3182
fix fatal error when renaming group with no users
2014-07-31 01:39:41 -04:00
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.
2014-07-29 21:51:46 -04:00
Julian Lam
b7d27fe48b
god damnit @barisusakli :P
2014-07-25 16:57:36 -04:00
barisusakli
fde8e9d90f
on group destroy, remove it from all groups
...
previously if a group was destroyed it was left behind in privilege
groups
2014-07-23 13:32:23 -04:00
barisusakli
8113ed6a4d
closes #1883 , no upgrade script #successkid
2014-07-23 03:09:07 -04:00
barisusakli
054ceab0be
isMemberOfGroups fix
2014-07-23 00:36:03 -04:00
barisusakli
5292bdad5a
closes #1871
2014-07-22 15:39:23 -04:00
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