Barış Soner Uşaklı
dcb85ee7a1
#8344 ( #8346 )
...
* feat: wip
* feat: wrap middlewares
* feat: middleware errors
* feat: more middleware changes
* fix: remove unused async
* fix: prevent version errors from blocking acp render
* feat: wrap more middlewares
2020-06-03 20:18:42 -04:00
Julian Lam
023942da7d
refactor: making rendering of header and footer async functions
...
* refactor: make middleware.admin.renderHeader async
* refactor: making rendering of header and footer async functions
* fix: use app.renderAsync instead of promifying it
2020-06-03 19:07:08 -04:00
Julian Lam
922d49be0b
fix(style): switch..case
2020-06-03 11:26:08 -04:00
Barış Soner Uşaklı
5a2b515431
feat: #8349 , remove user posts from queue if user is deleted
2020-06-01 22:29:56 -04:00
Barış Soner Uşaklı
e603ebc0c6
fix : #8323 , let admins send validation emails without timeout
2020-06-01 21:54:47 -04:00
Barış Soner Uşaklı
2c9e865763
fix: retry failed setObject calls
2020-05-30 15:49:34 -04:00
Julian Lam
0633ad3277
fix: acp menu items
...
- Shuffled items in settings
- Moved post-queue and ip-blacklist to front-end
- Removed Settings > Sockets, merged with Settings > Advanced
2020-05-29 16:42:09 -04:00
Julian Lam
a83f4259e8
fix: re-jigged tags acp pages
2020-05-29 15:28:34 -04:00
Julian Lam
a51fff8bd1
refactor: remove general menu from ACP ( #8347 )
...
* refactor: remove general menu from ACP
* fix: incorrect translation keys, fixed tests
2020-05-29 09:59:22 -04:00
Barış Soner Uşaklı
5781a2dc65
feat: fix session mismatch errors by clearing cookie on logout ( #8338 )
...
* feat: fix session mismatch errors by clearing cookie on logout
* feat: remove app.upateHeader
ported from 2.0
* feat: handle if user doesn't click button and just refreshes page
2020-05-27 12:15:02 -04:00
Barış Soner Uşaklı
7d484fc0ad
refactor: use getSortedSetMembers
2020-05-26 22:56:54 -04:00
Barış Soner Uşaklı
0009f54e6e
feat: add getSortedSetMembers
2020-05-26 22:55:28 -04:00
Barış Soner Uşaklı
2727f472ed
feat: add the data from page into filter:middleware.renderHeader
2020-05-26 22:08:54 -04:00
Barış Soner Uşaklı
ec5582b53c
feat: add privilege give/rescind hooks ( #8336 )
...
* feat: add privilege give/rescind hooks
action:privileges.categories.give/rescind
action:privileges.global.give/rescind
breaking change, privileges.categories.give/rescind and privileges.global.give/rescind use full privilege name for groups ie `groups:find` instead of `find`
* fix: tests, privileges renamed
2020-05-26 21:57:38 -04:00
Julian Lam
cf00cda07c
refactor: src/flags.js because codeclimate
2020-05-26 20:40:55 -04:00
Julian Lam
8d995d1eb6
refactor: flags detail page
...
- Show account moderation history
- Ban and delete quick actions
Squashed commit of the following:
commit 0e782e65f4d48ae814708e510ec9d01bcdd914e0
Author: Julian Lam <julian@nodebb.org >
Date: Tue May 26 20:24:53 2020 -0400
fix(deps): use persona 10.1.41/vanilla 11.1.17
commit 369e073d3c3189d8ce181eb3d573489cbe54d4fc
Author: Julian Lam <julian@nodebb.org >
Date: Tue May 26 20:23:24 2020 -0400
fix: allow ban and delete exported methods to have cbs
commit b83a086ea31a77ec82d161306c0b9bc115cb2a3a
Merge: 525aae1ea 256ee45d3
Author: Julian Lam <julian@nodebb.org >
Date: Tue May 26 08:54:25 2020 -0400
Merge remote-tracking branch 'origin/master' into flags-improvements
commit 525aae1ea2e5d0103028a0f0c8dde05f172d088e
Author: Julian Lam <julian@nodebb.org >
Date: Tue May 26 08:53:39 2020 -0400
feat: integrate ban history and username changes to flag history list
commit 3e68ad28ba266f4c8620a676aa7f463f0a9d1df7
Author: Julian Lam <julian@nodebb.org >
Date: Mon May 25 18:22:53 2020 -0400
feat: allow ban and deletion from flag details page
commit a559ea1d8e8883385c2876868d855a0b93516c54
Author: Julian Lam <julian@nodebb.org >
Date: Mon May 25 18:22:00 2020 -0400
feat: export banAccount and deleteAccount methods from accounts module
2020-05-26 20:27:16 -04:00
Barış Soner Uşaklı
f3afba6156
feat: filter followed tids by category
2020-05-25 21:14:49 -04:00
Barış Soner Uşaklı
1b9e8928eb
feat: use getSortedSetsMembers to load followed tids
2020-05-25 16:59:53 -04:00
Barış Soner Uşaklı
a015af4a41
feat: add batch size to cursors
2020-05-22 20:25:26 -04:00
Barış Soner Uşaklı
0a31e3e6b0
fix : #8320 , dont load moderators separately for each category
2020-05-22 15:03:51 -04:00
Barış Soner Uşaklı
11bb6abb51
fix: show stack trace on startup errors
2020-05-22 15:02:23 -04:00
Barış Soner Uşaklı
9600ede579
feat: up cache size
2020-05-22 13:06:21 -04:00
Barış Soner Uşaklı
7f24200c73
feat: add folder to filter:uploadImage and filter:uploadFile
2020-05-22 10:00:24 -04:00
Barış Soner Uşaklı
3ec05eeaf8
fix: user faster method if sorting by smallest set
2020-05-21 22:57:48 -04:00
Barış Soner Uşaklı
4ee3543ea4
feat: tweak intersection code, add tests
2020-05-21 22:12:58 -04:00
Julian Lam
6f504c4142
Remove allowFileUploads ACP option ( #8324 )
...
* feat: allow awaitable upgrade scripts
* feat: allowFileUploads removal upgrade script
* refactor: remove unnecessary ACP option `allowFileUploads`
* fix: updated upgrade script template to not use callback arg
* fix: upgrade script as per @baris
* fix: add missing await
* fix: add missing await
2020-05-21 16:06:35 -04:00
Barış Soner Uşaklı
e5228179c1
Mongo intersection ( #8322 )
...
* feat: intersection without aggregation
* feat: intersection
* feat: remove debug code
2020-05-20 19:13:47 -04:00
Julian Lam
e327d1247e
Revert "fix: #8142 invalid session warning if server-side session destroyed"
...
This reverts commit 526b3cd9ec .
2020-05-20 11:27:13 -04:00
Barış Soner Uşaklı
cb662e15ce
feat: improve grunt restart/rebuild speed
2020-05-19 21:15:51 -04:00
Barış Soner Uşaklı
4263efa091
feat: don't overwrite req.query.lang if it exists
2020-05-19 14:18:07 -04:00
Barış Soner Uşaklı
12c6bc2e07
feat: convert queries so they used indices directly
2020-05-19 00:22:54 -04:00
Julian Lam
ae2db423ee
feat: cookie SameSite property
...
More information:
https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00#section-4.1.1
https://web.dev/samesite-cookies-explained/
2020-05-17 14:56:47 -04:00
Barış Soner Uşaklı
7a801abade
fix: tests on redis
2020-05-16 22:49:34 -04:00
Barış Soner Uşaklı
8bf980cb63
fix: tests, handle no sessions
2020-05-16 22:17:20 -04:00
Barış Soner Uşaklı
a0d76ff0a6
fix : #8318 , clean expired sessions on login and get
2020-05-16 20:20:47 -04:00
Barış Soner Uşaklı
2587112f9d
feat: if only one value is passed used faster function
2020-05-16 09:36:17 -04:00
Barış Soner Uşaklı
81e33b9391
fix : #8317
2020-05-15 22:10:50 -04:00
Julian Lam
526b3cd9ec
fix : #8142 invalid session warning if server-side session destroyed
...
Resolved regression caused by 5a0c7c1497
2020-05-15 16:41:35 -04:00
Barış Soner Uşaklı
5fd81c5c04
fix: check privileges before exporting post/topic data
2020-05-15 15:44:39 -04:00
Barış Soner Uşaklı
f0323b6cfa
feat: closes #8316 , add more data to export profile
2020-05-15 15:29:28 -04:00
Barış Soner Uşaklı
1d3fa3bc4e
feat: throw error if uid is missing for update
2020-05-15 15:23:01 -04:00
Barış Soner Uşaklı
dfae664e29
fix: exporting posts
2020-05-15 10:59:38 -04:00
Barış Soner Uşaklı
bdda022238
fix: undefined uid when downloading posts
2020-05-15 10:52:04 -04:00
Barış Soner Uşaklı
1ba6929cb3
fix : #8311 , fix allowUserHomePage value
...
was always sending 1 even if allowUserHomePage was disabled in acp
2020-05-13 12:35:58 -04:00
Barış Soner Uşaklı
0e58fa33eb
feat: match hook property to topic property
2020-05-13 12:18:30 -04:00
Barış Soner Uşaklı
bfad457275
feat: add methods for adding/removing tags from topics
2020-05-12 23:00:45 -04:00
Barış Soner Uşaklı
e20ad5c56e
fix: dont crash if topic is null
2020-05-12 22:42:55 -04:00
Barış Soner Uşaklı
c47a1c4df4
fix: convert cids to string for comparison
2020-05-12 14:57:37 -04:00
Barış Soner Uşaklı
97c086aba9
fix: missing await
2020-05-12 12:18:30 -04:00
Barış Soner Uşaklı
337be368eb
fix: category selector disabled categories
2020-05-11 09:25:28 -04:00