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
Barış Soner Uşaklı
a73c755b05
feat: closes #8308 , edit post notif for watched topic posts
2020-05-10 22:21:32 -04:00
Barış Soner Uşaklı
edf9fe3b7f
feat: add null tests for sorted sets
2020-05-09 10:38:56 -04:00
Barış Soner Uşaklı
6a5e86dc66
fix : #8305 , don't use null values
2020-05-09 09:18:31 -04:00
Barış Soner Uşaklı
aad0880f7c
feat: add filter:categories.getRecentTopicReplies
...
pass req.query to getRecentTopicReplies
2020-05-08 22:36:16 -04:00
Barış Soner Uşaklı
7e42988489
refactor: shorter function
2020-05-08 20:27:04 -04:00
Opliko
c4545381d7
feat: Add hooks for user blocks ( #8296 )
...
* Add hooks for user blocks
* change naming
* Fix the filter...
fixes #8109
2020-05-08 14:42:02 -04:00
Barış Soner Uşaklı
7d08184372
fix: winston showing json object
2020-05-07 12:48:39 -04:00
Barış Soner Uşaklı
0431d75f0d
fix : #8297 , uids.length is different than topics.length
2020-05-05 21:32:07 -04:00
Julian Lam
fcb81cb8ca
fix : #8297 guest handles shown in category.tpl
2020-05-05 20:42:02 -04:00
Barış Soner Uşaklı
16a98eaf50
fix: only add to set if numRecentReplies>0
2020-05-05 14:12:46 -04:00
Barış Soner Uşaklı
b25b51bd97
feat: add action:post.updatePostVoteCount
2020-05-05 13:09:17 -04:00
Barış Soner Uşaklı
6c59683b16
refactor: change to action:categories.updateRecentTid
2020-05-04 21:17:05 -04:00
Barış Soner Uşaklı
ecd622fdf5
fix: failing tests @julianlam
2020-05-04 15:02:04 -04:00
Barış Soner Uşaklı
51933c1fcb
feat: add filter:categories.updateRecentTid
2020-05-04 13:09:34 -04:00
Barış Soner Uşaklı
478ed6c16f
refactor: match core field name pinned
2020-05-04 12:37:42 -04:00
Julian Lam
0053e779e8
feat: response:router.page, dep. filter variant
2020-05-04 09:52:36 -04:00
Barış Soner Uşaklı
9839346ec3
fix : #8290 , if there are no filters go to ?reset=1
...
dont count ?page=1 as a filter
2020-05-03 14:48:15 -04:00
Barış Soner Uşaklı
5ebcdb1806
fix : #8287 , fix users:flags as well
2020-05-02 15:34:58 -04:00
Barış Soner Uşaklı
4f1128fd2b
fix: add missing await
2020-05-02 13:34:19 -04:00
Barış Soner Uşaklı
9d153fd388
fix : #8287 , dont readd user after deletion
...
don't add user uid back to users:* sorted sets if they are deleted
upgrade script to fix users:* sorted sets
2020-05-02 13:27:16 -04:00
Barış Soner Uşaklı
4d6b2ec3ce
fix: missing await
2020-05-01 23:54:17 -04:00
Barış Soner Uşaklı
0391856d7d
fix : #8286 , rescind notif when its resolved/rejected
2020-05-01 13:32:20 -04:00
Barış Soner Uşaklı
0ca84bd9f4
fix : #8284 , parse ToS on register
...
rewrite intersitials to async/await
2020-04-30 15:13:14 -04:00
Barış Soner Uşaklı
0c7c70edaf
fix: crash in topic controller
2020-04-28 17:27:31 -04:00
psychobunny
fe03effe7d
Revert "fix: crash when res.locals.linkTags is undefined"
...
This reverts commit 7cab2b0fea .
2020-04-28 17:27:06 -04:00
Andrew Rodrigues
7cab2b0fea
fix: crash when res.locals.linkTags is undefined
2020-04-28 15:49:06 -04:00
Barış Soner Uşaklı
e80b81010c
fix : #8272 user link in digest email
2020-04-24 22:02:10 -04:00
Julian Lam
5a1c6ee7ed
fix: response hook logic
...
After some more thought, a response hook should be checking for
whether headers are sent, and executing (or not executing) the
default logic in that case.
Before, we were relying on hooks to call data.next() to continue
execution, but it makes more sense to have the listener either
send a response or not, and handle the behaviour afterwards.
2020-04-24 11:51:33 -04:00
Julian Lam
ccc6118d30
Testing suite integration for openapi spec ( #8263 )
...
* feat: testing suite integration for openapi spec
The testing suite now takes the openapi spec into account. It will
check each route defined, make a call to it, and compare the
response with the defined schema. Any mismatches will cause the
test to fail.
* fix(openapi): removed debug stuff from tests
* fix(openapi): fixed some tests
* fix(openapi): added additional check to tests, test fixes
* fix(openapi): better tests, fixed spec errors
* fix(openapi): bad conditional in test
* fix: oops
* fix(openapi): more tests fixing
* fix(openapi): more tests
* fix(openapi): fix some more tests
* fix: verbose'd an info log
* fix: topic pagination route returns schema-optimized pagination block
* fix(openapi): more test/spec fixes
* fix(openapi): accidentally sending in authenticated jar for anon routes
* fix(openapi): more test/spec fixes
* fix(openapi): more spec fixes
* fix: timestampReadable Invalid Date
* fix(openapi): more tests... almost there
* fix(openapi): more tests fixing
* fix(openapi): finally all tests passing
* fix(openapi): added reverse test to compare response to spec
... and fixed all the tests that broke
* fix: remove tests related to group covers, as route is gone
* fix(openapi): broken test on travis
* fix(openapi): broken test on travis
* fix(openapi): broken test on travis
* fix(openapi): object cache is not present for psql
* fix: tests
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com >
2020-04-23 21:50:08 -04:00
Barış Soner Uşaklı
4eafe0f057
fix : #8269 , return array of topics from hook
2020-04-23 11:32:24 -04:00