259 Commits (0e2b329bb783eecdd6c05cab87512f9629e367b8)

Author SHA1 Message Date
Barış Soner Uşaklı cdc3ef09e9 closes #6481 7 years ago
Barış Soner Uşaklı 9132743870 #6481 7 years ago
Barış Soner Uşaklı 55b872fe3e add check 7 years ago
Barış Soner Uşaklı 6a9a73c86c changes to leaveAllGroups
Groups.destroy can take an array of groupnames
Groups.leave can take an array of groupnames
db.incrObjectField/decrObjectField can take an array of keys
db.sortedSetRemove can take an array of keys and values
db.setRemove can take an array of keys
7 years ago
Barış Soner Uşaklı 2d7d4a3fb4 use setsRemove 7 years ago
Baris Usakli ecc2b9560d parseInt data.hidden add tests 7 years ago
Barış Soner Uşaklı 8689ffe78f closes #6291 7 years ago
Baris Usakli ecf6c0f3ec closes #4652 7 years ago
Baris Usakli 2053472ef3 closes #6180 7 years ago
Barış Soner Uşaklı dd176dd5f2
Notification delivery (#6072)
* ability for users to choose how they receive notifications

add type field to more notifications, the type field is used to
determine what to do based on user
setting(none,notification,email,notificationemail)

* change var name to types

* cleanup

* add event types for privileged users

* remove unused language keys

* fix uids check

* changed if statements

* upgrade script to preserver old settings
7 years ago
Julian Lam 7e0d0e0eb5 Merge remote-tracking branch 'origin/develop' 7 years ago
Barış Soner Uşaklı 54a84bf130 cache fixes 7 years ago
Peter Jaszkowiak e609e497b3 Provide more error information to logs
Provides full stack instead of just message
7 years ago
Barış Soner Uşaklı e7318a1cea Mongo cache (#6002)
* cache mongodb objects

remove user settings cache since it is cached at the object level

* removed indexOf from isMemberOfSets

* change has to get, change maxAge to 0
7 years ago
Peter Jaszkowiak da9da8190f Bump dependencies
Bumping eslint & configs meant making some linting fixes

For future reference, the `xmlhttprequest-ssl` library must be of equal versioning to the one in `engine.io-client`, otherwise it won't be deduped which causes the socket.io tests to fail
7 years ago
Barış Soner Uşaklı 4c0d430819 only return minimal info for pending and invited users 7 years ago
Barış Soner Uşaklı ed84794c1f fix lint 8 years ago
Barış Soner Uşaklı 48165b9011 closes #5875 8 years ago
Barış Soner Uşaklı 7a405da60f group member search change 8 years ago
Baris Usakli 18181260e7 closes #5836 8 years ago
Barış Soner Uşaklı a49a9a07b3 refactor groups.delete 8 years ago
Barış Soner Uşaklı 59b1d8fbae Merge pull request #5710 from NodeBB/_lodash
Switch from underscore to lodash
8 years ago
Barış Soner Uşaklı 5e90e4db02 closes #5618 8 years ago
Peter Jaszkowiak 3c2d4fe649 Switch from underscore to lodash 8 years ago
Barış Soner Uşaklı 890c2eff70 style changes 8 years ago
Barış Soner Uşaklı bcc566fb68 remove unnecessary checks 8 years ago
Barış Soner Uşaklı f1b8492164 remove unnecessary checks 8 years ago
Barış Soner Uşaklı 466e6d7c53 make renameGroup public for #5706 8 years ago
Barış Soner Uşaklı 8db193ff55 privileges style changes 8 years ago
Barış Soner Uşaklı 2faf175739 refactor 8 years ago
Barış Soner Uşaklı c9d502320f file.delete method 8 years ago
Barış Soner Uşaklı 376c71adda group search tests 8 years ago
Barış Soner Uşaklı 01e2263c01 more tests 8 years ago
Barış Soner Uşaklı 3a1eba2537 merge 8 years ago
Barış Soner Uşaklı 17d0759672 fix lint 8 years ago
Barış Soner Uşaklı 14f3907aa4 change the way group member posts are stored 8 years ago
psychobunny 5b4dcfafe2 Limiting group members here
Refactor incoming. @barisusakli
8 years ago
Barış Soner Uşaklı 0b3656f34c fix timeouts on category.purge when there are 20k groups 8 years ago
barisusakli da7bc5bb7a test fix 8 years ago
Julian Lam d18cfced96 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Peter Jaszkowiak 1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
8 years ago
Julian Lam 860999fa6c Merge remote-tracking branch 'origin/master' into develop 8 years ago
barisusakli c619b850ce fix tests 8 years ago
barisusakli 57691d9ad8 test for system group rename 8 years ago
Julian Lam af2d9fb85b Merge branch 'master' into develop 8 years ago
barisusakli 1bee91fa22 groups refactor 8 years ago
Julian Lam ddea9f534e running eslint again 8 years ago
Julian Lam 72e77772db Merge branch 'master' into develop 8 years ago
Julian Lam e71bd7a27f Merge branch 'master' into styleguide 8 years ago
barisusakli 3a87f2566a more group tests 8 years ago
Peter Jaszkowiak dd2b930824 Resolve merge conflicts, minify only `.js` files 8 years ago
Julian Lam 62e0f5f883 Merge remote-tracking branch 'origin/master' into develop 8 years ago
barisusakli ef90702049 closes #5459 8 years ago
Peter Jaszkowiak 144fa8698c Eslint no-lonely-if 8 years ago
Peter Jaszkowiak 09e868ce5f ESlint no-useless-escape, no-else-return 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 1493afee2a ESlint indent 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak feb8405f95 ESlint eol-last 8 years ago
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces 8 years ago
Peter Jaszkowiak 2e031f3759 ESlint comma-spacing 8 years ago
Peter Jaszkowiak 532951c24f ESlint space-in-parens, block-spacing 8 years ago
Peter Jaszkowiak 3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak 2ba46808a1 ESlint one-var, fix comma-dangle 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
Julian Lam 7f124a3ccf Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak aaacdb8413 Fix #5416, uploads path config setting
- Finish moving uploads route to `/assets/uploads`
- Remove `upload_url` config setting, it was broken
8 years ago
barisusakli 3fb7f9fce5 closes #5398 8 years ago
pichalite 8a68e1d918 Delete cover position data when cover photo is deleted 8 years ago
barisusakli 9627e53922 change group membership methods 8 years ago
barisusakli 74b9f1a016 closes #5262 8 years ago
barisusakli 4b6e4f085d more tests
group cover upload tests
registration approval queue tests
8 years ago
barisusakli 5cf8006640 fix style 8 years ago
barisusakli 9ba93d8be9 group search tests 8 years ago
barisusakli ea007e2da4 closes #5245 8 years ago
barisusakli 57c8e3e61c fix update privacy 8 years ago
barisusakli dff4ee767c more group tests 8 years ago
barisusakli 1a9dd2311c closes #5175 8 years ago
Sergii Paryzhskyi e515b791da Fix eslint rules (#5117)
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
HeeL 3fa1c1f927 Fix space-infix-ops linter rule 8 years ago
barisusakli 58810aa063 only delete priv groups if they are empty 8 years ago
barisusakli 038418bf87 batch.processArray
use batch.processArray in notifications.push and moveRecentReplies
added notification tests
added test for moveRecentReplies
clear group cache if a group is deleted
8 years ago
barisusakli a254222911 if user is already part of group skip instead of error 8 years ago
barisusakli 1a5e079919 closes #5037 9 years ago
barisusakli a42d8c5be2 simplify keys 9 years ago
barisusakli fac68d52f6 cache group membership methods
groups.isMember
groups.isMembers
groups.isMemberOfGroups
clear cache for user on group.join & group.leave
9 years ago
Mathias Schreck ce9ee62fa0 Handle callback errors 9 years ago
barisusakli 6c11709cf1 closes #4933 9 years ago
barisusakli 73c3da1a83 dont check maximum group name length if it is a privilege group 9 years ago
barisusakli 5cbfa6f212 closes #4881 9 years ago
Timothy Fike e112d284e5 filter:group.update 9 years ago
barisusakli 6332f47808 closes #4814 9 years ago
Barış Soner Uşaklı ca0bfc777e closes #4808 9 years ago
barisusakli 1e142a44cd closes #4775 9 years ago
barisusakli 1102a685d9 closes #4749 9 years ago
barisusakli 73e21d1d31 closes #4720 9 years ago
barisusakli 630dd66cf6 closes #4645 9 years ago
barisusakli e564260650 moved groupTitle from user settings to user profile/edit 9 years ago
psychobunny 3d0db5b397 closes #4481 9 years ago
pichalite 2f287f11b1 cleanup 9 years ago
pichalite c1c5db4b77 check for last owner on user kick from group 9 years ago
barisusakli c50d655922 closes #4325 9 years ago
barisusakli f0cc9120ba fix undefined next 9 years ago
Barış Soner Uşaklı 141d1b8ece dont update visible:memberCount if group is hidden, closes #4195 9 years ago
Julian Lam 30736c0ee9 allowed 'system' to be passed into group creation now 9 years ago
Julian Lam 3a6ad52ac8 closes #4164 9 years ago
Barış Soner Uşaklı d3087b4e05 changed userTitle of global mods 9 years ago
barisusakli 036e958bfe fix typo that causes bug in gorup sorting 9 years ago
barisusakli add4e6ee5b notifications.create can return null 9 years ago
barisusakli 86d70eca74 closes #4103 9 years ago
barisusakli 1070fff0e3 closes #3991 9 years ago
barisusakli 3ea453e8a0 closes #4006 9 years ago
barisusakli 6be8675580 closes #4012 9 years ago
barisusakli 9981555042 rename 9 years ago
barisusakli e067d26ca3 closes #3961 9 years ago
Julian Lam 2830538835 Cover photo removal for groups, #3832 9 years ago
barisusakli 2fef7acf4b closes #3805 9 years ago
barisusakli f4bfcc7351 removed icon:bgColor and icon:text from db calls
calculates from username on the fly
9 years ago
Julian Lam 526afc0910 Merge remote-tracking branch 'origin/master' into user-icons 9 years ago
psychobunny ef20141e8f jshint 9 years ago
psychobunny 61b1f5fe32 allow regular uploading (modal) of cover photo 9 years ago
Julian Lam f6d5b52a8b WIP user-icons 9 years ago
barisusakli 5950f97f96 more refactors 10 years ago
Julian Lam 137f2097db fixes #3669 10 years ago
barisusakli 31ddb8a0e0 uid can be group names :dull: 10 years ago
barisusakli 3858f6777d check groupName and uid on groups.join 10 years ago
barisusakli 8c2fdcc77c group escape fixes 10 years ago
barisusakli 915a992448 closes #3592 10 years ago
barisusakli a6c8cd50e9 fix group creation regression 10 years ago
barisusakli 442c4be4ec closes #3581 10 years ago
barisusakli 2c6f93efbd closes #3583 10 years ago
Julian Lam 3baad54223 Close #3578
This commit introduces notification creation if a user requests
membership to a group (in which case notifications are sent to
all group owners), and user invites to a group (in which case
a notification is sent to the invitee).
10 years ago
Julian Lam e25d2fa6e6 closed #2811 10 years ago
Julian Lam 534b13e089 fixed bug where ephemeral groups and the registered-users group wouldn't show in in ACP/category details page for privileges. 10 years ago
Barış Soner Uşaklı a12ecbc230 admin/manage/groups pagination 10 years ago
Barış Soner Uşaklı 7397d98647 fix create time sort 10 years ago
Barış Soner Uşaklı d0b1ebb8ea possible sort fix 10 years ago
Barış Soner Uşaklı 9a03671ad2 removed async.apply 10 years ago
barisusakli 491d376fb4 closes #2605 10 years ago
barisusakli 718f61e3bd closes #3263 10 years ago
barisusakli 8160188ef5 use correct names 10 years ago
barisusakli c81d6f8b57 refactor groups.invite request member ship 10 years ago
barisusakli 6fd772756c on user delete leaveAllGroups and remove from pending invited sets as well 10 years ago
barisusakli ba4e8c8955 small refactor to group show/hide 10 years ago
barisusakli cea385e572 closes #3223 10 years ago
barisusakli f6d025bc3f only call updatevisibility if hidden is passed in 10 years ago
barisusakli 2880a77a9f closes #3130 10 years ago
barisusakli 64ec397101 update membercount sorted set on join/leave 10 years ago
Barış Soner Uşaklı 4420e7a9fc closes #3188, closes #3170 10 years ago