Commit Graph

248 Commits (1493afee2a5d658611ae0694bb0da13cf5119c69)

Author SHA1 Message Date
Barış Soner Uşaklı 50d9a3f0a7 dont call groups.get just to read 2 values
Barış Soner Uşaklı 3f1726636f groups create/delete/update
barisusakli 5ce617ca5a fix case in search
barisusakli 63489457fe group search change
Julian Lam d052db85e0 fixed bug where isMemberOfGroupList would return null if there were no groups to check, instead of false
barisusakli aa577f4adc part 1
no upgrade script yet
Julian Lam 8aac4bdfa1 fixed issue where Groups.getUserGroups called getGroupsData on all groups, resulting in a very unscalable method if called on forum with thousands of groups
Julian Lam fc1b0c8d24 allowing topic, post, and user creation to specify a timestamp for insertion into the past
barisusakli 36853f4ad8 filter priv/registered-users/guests in groups.list
barisusakli ffac8eb41d closes
barisusakli b48fdfadad set group member count to 1 on group creation
Julian Lam 5a6c46a0a0 updating group creation method to send back group data in the return callback, and to include the ownerUid if one was passed in
barisusakli 7632997a99 closes
barisusakli 878e548296 renamed end to stop globally
fixed getting favourites for admins
barisusakli 8026b3c7d8 closes
barisusakli ed8d60b76b move registered-users/guests to top remove admins from priv settings
Julian Lam d3af278123 removed old code that was no longer necessary, updated privilege table to show all groups (similar to previous behaviour), fixes
Julian Lam 9b84a887d3 a huge frickin' number of changes for . This is part of
barisusakli 9d62709f7c doggy.gif
barisusakli e4431f62b2 fix group update text
barisusakli 358f6f61f7 closes , closes
options.unescape was not used correctly
fix groups.update so it  doesnt overwrite data if some fields are not
passed in
barisusakli c63d5f4b7a test
barisusakli 9f4f858ff9 group member search
only look in uids that are member of the group, added custom findUids
function to user.search
barisusakli d342e01ef1 search group members
Julian Lam f0ad2020df updated sorting logic (syntax error)
Barış Soner Uşaklı d2e8d4d86e slice doesnt deep clone derp
Julian Lam d7cd936b54 added preserveCase option to slugify
Barış Soner Uşaklı e8644dac26 group.hidden is already bool
Barış Soner Uşaklı 8cb18b1e48 possible fix to group category
barisusakli f7f453f8cd closes
Julian Lam ade12116a1 closed
Julian Lam ba7c873f07 closed
Julian Lam 03e39f7b9b isInvited mechanic for
Julian Lam 8262c38ac8 upgrading privilege sets to be system groups, so they're not in the way
Julian Lam d3ff6a9f47 hidden groups are invisible to non-members,
Julian Lam 8b81f3d835 server-side support for hidden option in group admin,
Barış Soner Uşaklı f9581e435d getGroupsData method and filter:groups.get
Barış Soner Uşaklı 97c0b130ca closes
Julian Lam 502e806f88 fixed -- group creation now using language keys, and no longer succeeds if a group by the name of 'guest' is created.
Julian Lam 081462983a refactored the groups update method a bit, and now if a group has pending members and it becomes a public group, those users become members
Julian Lam 957415463f Merge branch '0.7.0'
Conflicts:
	package.json
	src/search.js
Julian Lam ff5eeb3a85 fixed
barisusakli 2911de0af9 really fix tests
barisusakli 16537bc636 prevent double callback
barisusakli 311fd00ecd dont allow guests to join groups
barisusakli 15b5c56612 Merge remote-tracking branch 'origin/master' into 0.7.0
barisusakli 2c033bf286 set memberCount to 0 on creation
barisusakli b3a968e006 merge
barisusakli dc2a2aa98e store group member count in group hash
yet another upgrade script
Julian Lam ecfa8f7a7d passing memberCount and createTime into getUserGroups
Julian Lam da0b2c84e6 passing memberCount and createTime into getUserGroups
Julian Lam 939e623547 collapsing a bunch of whitespace using async.apply, and also fixed as well
Julian Lam a7a4edfd37 administrators group no longer shows up in group searches
barisusakli 57453f33ab new group members route
getMembers can take start end
ability to specify how many group members to return
Julian Lam 08e39d150e fixed
barisusakli bf9b633d50 fix Group.exists if an array is passed in
barisusakli 26defd7dca Groups.getGroupNameByGroupSlug
Julian Lam 0bf98b5494 simplified isOwner check because there's no need to check admin status as admins automatically become owners now
Julian Lam 0c2d2a28ba admins can bypass the request step of a group and just join it, and they also become owners when they join a group
Julian Lam d2217b8137 closed
barisusakli f3719df997 getGroups method to get a range
Julian Lam 3ade5da00f groups sorting by creation date
barisusakli 25f6b816ed send iso and unix timestamp
barisusakli c379753341 upgrade scripts
upgrade groups to sorted set(groups:createtime) upgrade
upgrade groups:<name>:members to sorted set
new database methods
tests
Julian Lam 4a3255d4fd search sorting
Julian Lam 2a6de59277 if group search is executed with empty string, return all groups
Julian Lam fd8a885145 fixed tests by removing the broken one, heh heh heh
Julian Lam 6502dd2561 group searching
barisusakli dd38ee96fa return cover:url in user groups
barisusakli 21522e59c4 added slug to user group return
Julian Lam 5160ab1ed1 closed
barisusakli ad21e73491 send values to plugins when updating groups
Julian Lam eb5b8ccec3 better check for group exist, groups with different cases can no longer be created,
barisusakli 9f8b274e24 filter:group.get
barisusakli 94fa212eab added filter:groups.get
Julian Lam c026a64e8e adding concept of group slugs, . ping @barisusakli for downstream plugin changes
barisusakli 6f140384e0 send groupData on action:group.create
Julian Lam 04be40158c if you attempt to join a group when you're already in a group, you can't anymore.
Julian Lam 577a646adc this should appease @barisusakli
Julian Lam 8d23265324 sending in groupObj data into group.delete hook
Julian Lam fa87d883dc allowing "hidden" to be passed directly to Groups.create
Julian Lam d813bda883 update, create, destroy hooks,
Julian Lam 5c6dfb7462 missed one, @EisFrei
Julian Lam cfdd4ec164 Revert "missed one, ping @EisFrei"
This reverts commit 2ed6b78cc5.
Julian Lam 2ed6b78cc5 missed one, ping @EisFrei
Julian Lam 666cef4029 updated hooks action:groups.join, action:groups.leave, and action:groups.requestMembership to match other action hooks in group namespace (that's "group", not "groups"), ping @EisFrei
Julian Lam 36a49cd994 guests can no longer attempt to join a group,
Julian Lam 87b9a60610 fixed group renaming, ping @schamper
Julian Lam 7289d50e6c whoops, fixing travis and groups
Julian Lam d02f7e0e42
Julian Lam 6ac04e9da7 closed
Julian Lam 698f598a30 default cover photo for groups,
Julian Lam 675968f0f3 cover photo for groups,
Julian Lam 635393a274 group creation and deletion from outside ACP,
Julian Lam b4731ad47b added colorpicker to frontend, badge colour changes for groups,
Julian Lam 7be0830751 properly showing private state in group details,
Julian Lam 84c19921b9 newly created groups automatically assign the creator as the owner, some tweaks to isPrivate parsing, added groups link to header,
Julian Lam 65537d997f if a group is deleted, flush the owner and pending sets, too
Julian Lam 96c37c25b0 join, leave, accept, reject: handlers + UI,
Julian Lam 3a3d45155e show pending members in frontend UI,