Barış Soner Uşaklı
02ea17ea1b
breaking: remove deprecated groups socket calls
...
socket.emit('groups.join') removed use `PUT /api/v3/groups/:slug/membership/:uid`
socket.emit('groups.leave') removed use `DELETE /api/v3/groups/:slug/membership/:uid`
socket.emit('groups.grant') removed, `PUT /api/v3/groups/:slug/ownership/:uid`
socket.emit('groups.rescind') removed, `DELETE /api/v3/groups/:slug/ownership/:uid`
socket.emit('groups.update') removed, `PUT /api/v3/groups/:slug`
socket.emit('groups.create') removed, `POST /api/v3/groups`
socket.emit('groups.delete') removed, `DELETE /api/v3/groups`
3 years ago
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
4 years ago
Julian Lam
80ee3dfbd1
fix(api): tests
4 years ago
Julian Lam
32e36f7b2e
feat(api): group ownership API route, switch client-side to use API route
4 years ago
Julian Lam
1cd2689cf6
refactor(api): deprecated groups update socket in favour of API lib
4 years ago
Barış Soner Uşaklı
2b73a14e42
fix : #8933
4 years ago
Barış Soner Uşaklı
e367c5403e
refactor: move groups.leave, fix some tests
5 years ago
Barış Soner Uşaklı
8ae1f81cf4
feat: refactor groups.delete
5 years ago
Barış Soner Uşaklı
d69e503d21
feat: move groups.join to api
5 years ago
Barış Soner Uşaklı
5e2caf19f5
refactor: use single function for api code
5 years ago
Barış Soner Uşaklı
872bacf1c4
Admin/users ( #8762 )
...
* feat: wip admin/users
* feat: more work
* feat: more fixes
* feat: #8662 , verified/unverified user groups
* feat: add filter
* feat: change user search to use filters array
* refactor: remove unused search call
* fix: tests
* fix: cant join system groups
* fix: upgrade script
5 years ago
Barış Soner Uşaklı
dc29f4dca2
refactor: switch to using slugify module
5 years ago
Julian Lam
3ea1aa4780
refactor(writeapi): update route prefix to api/v3, default error option
5 years ago
Julian Lam
40dc1c38d3
feat(writeapi): added DELETE /groups/:slug/membership/:uid route
5 years ago
Julian Lam
952dc211dd
feat(writeapi): added group joining and deletion
5 years ago
Julian Lam
ba345e53e8
feat(writeapi): added POST /api/v1/groups
5 years ago
Barış Soner Uşaklı
35a538ec2a
feat: allow adding multiple users to group
5 years ago
Barış Soner Uşaklı
f1974fb900
refactor: pass only needed data
5 years ago
Barış Soner Uşaklı
73ddf1cb98
fix: groups.updateCover
5 years ago
Barış Soner Uşaklı
690bb69d03
fix : #8154 , respect stop
5 years ago
Barış Soner Uşaklı
f23bc347b1
fix : #8156 dont allow loading members from hidden groups
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
Baris Usakli
b323df2fe0
fix: allow members to search as well
5 years ago
Baris Usakli
c2cd7de891
fix : #8069 , dont show hidden groups in search
5 years ago
Barış Soner Uşaklı
ed1223645e
feat: send notification to group owners when someone leaves
6 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
Julian Lam
c44bf48c01
fix: removed console.logs
6 years ago
Julian Lam
f736f0b382
fix: broken tests from 71b205a889
6 years ago
Julian Lam
1ce33faaea
feat: additional events logged for various group actions
...
closes #7841
6 years ago
Julian Lam
71b205a889
refactor: async/await for src/socket.io/groups.js
6 years ago
Barış Soner Uşaklı
2f0a331f02
fix: don't return promise
6 years ago
Barış Soner Uşaklı
a2f08e7da2
fix : #7240
6 years ago
Barış Soner Uşaklı
9d1fcf4e36
fix: closes #7217
6 years ago
Peter Jaszkowiak
ba619c7ec8
style(eslint): match operator-linebreak preferences
6 years ago
Barış Soner Uşaklı
69bb3293ee
misc fixes
...
handle spider uids properly
7 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 😬
7 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
7 years ago
Barış Soner Uşaklı
57b7c7ede4
closes #6607
7 years ago
Barış Soner Uşaklı
9132743870
#6481
7 years ago
Barış Soner Uşaklı
5e90e4db02
closes #5618
8 years ago
Barış Soner Uşaklı
f6ac92111b
style changes
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
e71bd7a27f
Merge branch 'master' into styleguide
8 years ago
barisusakli
3a87f2566a
more group tests
8 years ago
barisusakli
b7d5bc7dc8
more group tests
8 years ago
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
8 years ago
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
8 years ago