282 Commits (9521c8deb76748d080f98e7613fe06a2b34fbeb4)

Author SHA1 Message Date
Barış Soner Uşaklı 29b63ae7fb fix: #6979 6 years ago
Barış Soner Uşaklı f103390aa5 fix: #7103
update counter when user navigates to /unread
fix new topic alert on /unread
moved unread code from footer to unread
6 years ago
Barış Soner Uşaklı 8d7c3897f2 fix: #7043 6 years ago
Peter Jaszkowiak ba619c7ec8 style(eslint): match operator-linebreak preferences 6 years ago
Barış Soner Uşaklı e17c4b2766 uid fixes 6 years ago
Barış Soner Uşaklı afa84023a2 closes #6942 6 years ago
Barış Soner Uşaklı afa6c71b72 make it a method use batch 6 years ago
Zheyu Shen f9036e2a6f Update groups members' title when changing group name (#6939)
* Update groups members' title when changing group name

* Fix eslint
6 years ago
Barış Soner Uşaklı 18219bd5f3 closes #6938 6 years ago
Barış Soner Uşaklı 485fbf7386 show more lines in stack 6 years ago
Barış Soner Uşaklı b6771836cf closes #6937 6 years ago
renovate[bot] 64b9dabff8 chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599)
* chore(deps): update dependency eslint-config-airbnb-base to v13

* chore: #6599, linting 😬
6 years ago
Baris Usakli 566564ed74 fix redis tests
fixed typo in groups/data.js
added postcount,viewcount to int fields
6 years ago
Barış Soner Uşaklı fb6067a7ca only parse if field is requested 6 years ago
Barış Soner Uşaklı f3a679e268 remove parseInts 6 years ago
Baris Usakli 138154a71c move modules 6 years ago
Barış Soner Uşaklı 175e13edf6 group data 6 years ago
Barış Soner Uşaklı 9c022afae1
Parse int (#6853)
* Store config fields as JSON in the db

Fewer parseInts

* Remove unnecessary parseInts

* remove some dupe code add tests

* remove console.log

* remove more parseInts

* WIP: read meta.configs defaults from defaults.json

remove more parseInts

* more work

* add log for failing test

* update admin pwd

* fix tests, dont require posts/cache before configs are initialized

* handle saves

* Test boolean conditions

* remove more parseInts

* Fix boolean values

* remove lots more parseInts

* removed json parsing

* renamed var to number

* categories dont have timestamp
6 years ago
Barış Soner Uşaklı f5fe91286e closes #6851 6 years ago
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
6 years ago
Barış Soner Uşaklı b57db7fd8e
update groups join to take array of group names (#6834)
* allow groups.join to take an array of group names

* pass an array to groups.join/leave in privileges

* split up groups/membership

* add hits/miss to group cache

* fix typo
6 years ago
Barış Soner Uşaklı b7ead6dc9c
Replace jimp with sharp (#6774)
* add probe image size and max image size

* replace jimp and image-probe with sharp

* better name for test

* resize with just path

* resize thumb inplace

* use filename
6 years ago
Baris Usakli 5b45b2f72c closes #6729 7 years ago
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 8 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 10 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