282 Commits (9521c8deb76748d080f98e7613fe06a2b34fbeb4)

Author SHA1 Message Date
Barış Soner Uşaklı a024cc1344
fix: whitespace 5 years ago
Barış Soner Uşaklı 0595e71078
fix: typo 5 years ago
Barış Soner Uşaklı 89b010249d
fix: #8392, clear group member cache when group is renamed 5 years ago
Julian Lam 922d49be0b fix(style): switch..case 5 years ago
Barış Soner Uşaklı 8e23dec84b fix: lint 5 years ago
Barış Soner Uşaklı b73aa84ddc fix: tests 5 years ago
Barış Soner Uşaklı dd3893b134 fix: move start/stop every iteration 5 years ago
Barış Soner Uşaklı 4abe5eb7ff Revert "fix: #8154, move start/stop every iteration"
This reverts commit 300c04cef9.
5 years ago
Barış Soner Uşaklı 300c04cef9 fix: #8154, move start/stop every iteration 5 years ago
Barış Soner Uşaklı 690bb69d03 fix: #8154, respect stop 5 years ago
Barış Soner Uşaklı 03a02e5d1d fix: #8155, don't validate name on update if groupName didn't change 5 years ago
Barış Soner Uşaklı c35a21d7f0 fix: #8135 5 years ago
Barış Soner Uşaklı 61da8c29ac fix: group create/join/update name validation 5 years ago
Barış Soner Uşaklı 48f086279c fix: don't crash if groupData is missing 5 years ago
Barış Soner Uşaklı 05c9fe2735 feat: #5272, allow changing user groups from manage users page 5 years ago
Barış Soner Uşaklı 1cedc4a0d6 feat: #7957, allow post queue based on group
allow multiple select in ACP pages
5 years ago
Barış Soner Uşaklı 3775301f24 fix: #7958, give rewards one by one
no need to check group.exists when leaving groups, if group doesn't exists isMember will be false anyways
5 years ago
Baris Usakli 5b458fc7ca fix: #7953, allow icon only group badges 5 years ago
Barış Soner Uşaklı 3caa387ac6 fix: tests 5 years ago
Barış Soner Uşaklı ed1223645e feat: send notification to group owners when someone leaves 5 years ago
Barış Soner Uşaklı 96ab8d05aa fix: only allow png/jpg/bmp in cover/profile images 5 years ago
Julian Lam 1796b65d34 feat: option to restrict group leaving, closes #7770 6 years ago
Barış Soner Uşaklı f15c7f12b3 refactor: async/await 6 years ago
Barış Soner Uşaklı 1e0190abef fix: #7842, groups.invite works with an array of uids 6 years ago
Barış Soner Uşaklı fa26855671 feat: #7842, make isInvited, isPending work with uids 6 years ago
Julian Lam 1a2a381ae3 feat: notification on membership acceptance, closes #7835 6 years ago
Julian Lam c44bf48c01 fix: removed console.logs 6 years ago
Julian Lam f736f0b382 fix: broken tests from 71b205a889 6 years ago
Barış Soner Uşaklı 8e75646ac0 feat: shorter name 6 years ago
Barış Soner Uşaklı daed76d5d6 feat: cache group:members for priv groups 6 years ago
Barış Soner Uşaklı 72def7dfa6 feat: #7743 finish groups 6 years ago
Barış Soner Uşaklı a39ca51e06 feat: #7743, groups/index, invite, leave,membership 6 years ago
Barış Soner Uşaklı d5342a40ba feat: #7743,groups/index,join 6 years ago
Barış Soner Uşaklı 87b1148fa8
fix: tests 6 years ago
Baris Usakli fcd4445a89 feat: #7743, groups/delete,ownership,posts,user 6 years ago
Baris Usakli 5e8614e15b feat: #7743 groups/cover,create,data 6 years ago
Barış Soner Uşaklı 198d05875f feat: cleanup, use bulk 6 years ago
Barış Soner Uşaklı 5b85ed318a fix: #7625, on group rename update nav/widget items 6 years ago
Barış Soner Uşaklı 48538b28be feat: optimize group rename
removed async.each
6 years ago
Barış Soner Uşaklı 0dca13e9c2 feat: optimize copy privileges 6 years ago
jayjay9 8945ebcb81 fix: group cover upload not working for s3 upload (#7571) 6 years ago
Julian Lam 745a9589e9
Use topics:read privilege for topic filtering use cases (#7462)
* fix: use topics:read privilege for topic filtering use cases

* fix: tests

* fix: more broken tests
6 years ago
Baris Usakli b48b6d75e5 fix: callbacks 6 years ago
Baris Usakli 7211dde7b9 feat: #7358 6 years ago
Barış Soner Uşaklı efd7d953de fix: uid check 6 years ago
Barış Soner Uşaklı c24dcf78b7 fix: uid checks 6 years ago
Barış Soner Uşaklı 428f587cbe fix: #7208 6 years ago
Baris Usakli 7809ba2800 fix: #7193, closes #7194 6 years ago
Barış Soner Uşaklı 7e828404f6 fix: #7116
dont save relative_path in db for group covers
6 years ago
Baris Usakli f4ea2c43ab feat: #7120 6 years ago
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