Barış Soner Uşaklı
81e33b9391
fix : #8317
2020-05-15 22:10:50 -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ı
a73c755b05
feat: closes #8308 , edit post notif for watched topic posts
2020-05-10 22:21:32 -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ı
478ed6c16f
refactor: match core field name pinned
2020-05-04 12:37:42 -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
Barış Soner Uşaklı
59cf0e80d2
fix: throw error if topic does not exist
2020-04-02 22:56:59 -04:00
Barış Soner Uşaklı
32ada7c4e7
fix : #8188 , fix bookmark if sorting is newest_to_oldest
2020-02-27 17:21:36 -05:00
Barış Soner Uşaklı
bc93b5676c
fix : #8175
2020-02-22 16:01:04 -05:00
Barış Soner Uşaklı
e74954407f
fix : #8157 , update recent tid when post is moved
2020-02-11 15:30:15 -05:00
Baris Usakli
236e1e6859
fix: return correct number of suggested topics
2020-02-07 14:50:18 -05:00
Barış Soner Uşaklı
8c48f94b96
fix : #8139 , dont allow restore if not deleted by self
2020-01-28 13:03:58 -05:00
Barış Soner Uşaklı
9969dd6335
fix: use view_deleted when filtering, closes #8137
2020-01-28 12:42:57 -05:00
Barış Soner Uşaklı
b7a57996f7
fix: escape topic.thumb
2020-01-15 18:53:08 -05:00
Barış Soner Uşaklı
b91c4790d1
fix: dont show delete topics on unread
2019-10-29 21:28:28 -04:00
Barış Soner Uşaklı
0e5e47f410
fix: parseInt cutoff
2019-10-24 19:55:21 -04:00
Barış Soner Uşaklı
e020b85bf5
feat: add filter:topics.unreadCutoff
2019-10-24 19:38:37 -04:00
Opliko
989107d9b5
feat: Add filter:topic.delete and filter:topic.restore ( #7946 ) ( #7989 )
...
* Add filter:topic.delete
* Don't return undefined data
* add topic.restore and pass canRestore to filter
* fix some bugs created by conflict resolution and new changes
* more readable hook
* fix styling for TravisCI
* literally just two newlines so that TravisCI builds again
2019-10-22 19:25:54 -04:00
Barış Soner Uşaklı
661a0f5068
fix: don't show deleted topics on unread
2019-10-09 18:03:07 -04:00
Barış Soner Uşaklı
ac4a500402
fix: remove 0 fields
2019-10-07 23:43:08 -04:00
Barış Soner Uşaklı
f8c8038a06
refactor: remove log, topics.exists
2019-10-04 19:19:01 -04:00
Barış Soner Uşaklı
b192605450
feat: add new hook to get custom category tids for unread
2019-10-01 22:14:50 -04:00
Barış Soner Uşaklı
05e753c73b
refactor: remove var
2019-10-01 21:08:24 -04:00
Barış Soner Uşaklı
10f168b824
fix : #7934 , return tids
2019-10-01 13:02:56 -04:00
Baris Usakli
b93c826d35
feat: add new hook filteR:topics.getSortedTids
...
to let plugins replace the logic used to retrieve tids
2019-09-30 14:56:11 -04:00
Barış Soner Uşaklı
ffe3670ff5
feat: deprecate file.isFileTypeAllowed
...
use image.isFileTypeAllowed, this function was always meant for images
2019-09-29 19:53:03 -04:00
Barış Soner Uşaklı
0ced71be39
refactor: async/await flags
2019-09-26 22:51:11 -04:00
Barış Soner Uşaklı
310c6fd33f
properly filter /unread /recent /popular /top ( #7927 )
...
* feat: add failing test for pagination
* feat: test
* fix: redis tests
* refactor: remove logs
* fix: add new test
* feat: make sortedSetRangeByScore work with keys on redis
* fix: hardcoded set name
* feat: show topics from readable categories on recent/popular/top
* feat: rewrite unread topics
respect watched categories and followed topics
* fix: term + watched
2019-09-26 21:55:49 -04:00
Barış Soner Uşaklı
f05c1dae69
feat: actually cache duh
2019-09-13 22:13:27 -04:00
Barış Soner Uşaklı
63bd252fba
feat: cache tags:topic:count
2019-09-13 22:06:10 -04:00
Barış Soner Uşaklı
5c2afe5eac
refactor: async/await socket.io/topics
2019-09-12 23:27:36 -04:00
Barış Soner Uşaklı
1d7e0c6341
feat: allow floating pinned topics to top in getSortedTopics
2019-08-22 13:04:14 -04:00
Julian Lam
29f96b199c
fix(style): requiring parens in block bodies
2019-08-13 15:12:27 -04:00
Julian Lam
0921230976
fix(style): updated code to follow new eslint recommendations
...
Squashed commit of the following:
commit f9ce878b26
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 14:30:46 2019 -0400
fix(style): updated code to follow new eslint recommendations
commit 80dd370e41
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 14:14:58 2019 -0400
fix(deps): update dependency sitemap to v4
Squashed commit of the following:
commit f4dd9cabb2
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 11:33:05 2019 -0400
fix: resolved breaking changes from sitemap v4 upgrade
commit 9043415ee1
Merge: e3352b272 72590b346
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 11:09:55 2019 -0400
Merge branch 'master' into renovate/sitemap-4.x
commit e3352b272e
Author: Renovate Bot <bot@renovateapp.com >
Date: Mon Aug 12 07:59:05 2019 +0000
fix(deps): update dependency sitemap to v4
commit 8e3c0cdcae
Author: Renovate Bot <bot@renovateapp.com >
Date: Fri Aug 9 00:49:51 2019 +0000
fix(deps): update dependency commander to v3
commit 2104449d38
Author: Renovate Bot <bot@renovateapp.com >
Date: Tue Aug 13 15:00:27 2019 +0000
fix(deps): update dependency mongodb to v3.3.0
commit d2937f446a
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Tue Aug 13 10:36:48 2019 -0400
feat: async/await admin/controllers
commit 1b97e8b199
Author: Misty (Bot) <deploy@nodebb.org >
Date: Tue Aug 13 09:28:39 2019 +0000
Latest translations and fallbacks
commit 69a48957a2
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Mon Aug 12 21:56:09 2019 -0400
feat: async/await
commit b9b2a7e593
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Mon Aug 12 20:58:29 2019 -0400
feat: async/await refactor
controllers/accounts
commit a8d43a1759
Author: Baris Usakli <barisusakli@gmail.com >
Date: Mon Aug 12 14:49:40 2019 -0400
feat: async/await controllers/accounts
commit 2f25aae57b
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Sun Aug 11 23:09:50 2019 -0400
fix : #7831 , fix pagination
convert to async/await
commit c9e83f2374
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Sun Aug 11 00:14:35 2019 -0400
fix: remove empty line
commit 30be91b26c
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Sun Aug 11 00:13:41 2019 -0400
fix: remove useless catchs and empty line
commit 2e4a71c0b6
Author: Renovate Bot <bot@renovateapp.com >
Date: Sat Aug 10 06:51:50 2019 +0000
chore(deps): update dependency eslint-config-airbnb-base to v14
2019-08-13 15:12:27 -04:00
Barış Soner Uşaklı
292bbe3449
fix: remove empty line
2019-08-11 00:14:35 -04:00
Baris Usakli
9780f5b975
fix : #7809 , dont check postDelay if submitting from queue
2019-07-30 13:19:50 -04:00
Baris Usakli
8bf40d04c9
fix : #7788 , fix on topic move and new post
2019-07-26 14:23:10 -04:00
Julian Lam
66aa443b7a
feat: added filter:tags.getAll plugin hook
2019-07-24 12:06:54 -04:00
Barış Soner Uşaklı
99cf47ee08
feat: get rid of async.eachSeries
2019-07-23 21:47:33 -04:00
Barış Soner Uşaklı
3c32d8600f
fix : #7788 No new posts ( #7793 )
...
* feat: debug no-new-posts
* feat: add test for user delete
* fix: timeout for flag test
* feat: shorter
2019-07-23 21:11:04 -04:00
Barış Soner Uşaklı
13aaf07bf5
fix: getTopicsFromSet
2019-07-14 17:48:02 -04:00
Barış Soner Uşaklı
805dcd7ca2
Async refactor in place ( #7736 )
...
* feat: allow both callback&and await
* feat: ignore async key
* feat: callbackify and promisify in same file
* Revert "feat: callbackify and promisify in same file"
This reverts commit cea206a9b8 .
* feat: no need to store .callbackify
* feat: change getTopics to async
* feat: remove .async
* fix: byScore
* feat: rewrite topics/index and social with async/await
* fix: rewrite topics/data.js
fix issue with async.waterfall, only pass result if its not undefined
* feat: add callbackify to redis/psql
* feat: psql use await
* fix: redis 🌋
* feat: less returns
* feat: more await rewrite
* fix: redis tests
* feat: convert sortedSetAdd
rewrite psql transaction to async/await
* feat: 🐶
* feat: test
* feat: log client and query
* feat: log bind
* feat: more logs
* feat: more logs
* feat: check perform
* feat: dont callbackify transaction
* feat: remove logs
* fix: main functions
* feat: more logs
* fix: increment
* fix: rename
* feat: remove cls
* fix: remove console.log
* feat: add deprecation message to .async usage
* feat: update more dbal methods
* fix: redis :voodoo:
* feat: fix redis zrem, convert setObject
* feat: upgrade getObject methods
* fix: psql getObjectField
* fix: redis tests
* feat: getObjectKeys
* feat: getObjectValues
* feat: isObjectField
* fix: add missing return
* feat: delObjectField
* feat: incrObjectField
* fix: add missing await
* feat: remove exposed helpers
* feat: list methods
* feat: flush/empty
* feat: delete
* fix: redis delete all
* feat: get/set
* feat: incr/rename
* feat: type
* feat: expire
* feat: setAdd
* feat: setRemove
* feat: isSetMember
* feat: getSetMembers
* feat: setCount, setRemoveRandom
* feat: zcard,zcount
* feat: sortedSetRank
* feat: isSortedSetMember
* feat: zincrby
* feat: sortedSetLex
* feat: processSortedSet
* fix: add mising await
* feat: debug psql
* fix: psql test
* fix: test
* fix: another test
* fix: test fix
* fix: psql tests
* feat: remove logs
* feat: user arrow func
use builtin async promises
* feat: topic bookmarks
* feat: topic.delete
* feat: topic.restore
* feat: topics.purge
* feat: merge
* feat: suggested
* feat: topics/user.js
* feat: topics modules
* feat: topics/follow
* fix: deprecation msg
* feat: fork
* feat: topics/posts
* feat: sorted/recent
* feat: topic/teaser
* feat: topics/tools
* feat: topics/unread
* feat: add back node versions
disable deprecation notice
wrap async controllers in try/catch
* feat: use db directly
* feat: promisify in place
* fix: redis/psql
* feat: deprecation message
logs for psql
* feat: more logs
* feat: more logs
* feat: logs again
* feat: more logs
* fix: call release
* feat: restore travis, remove logs
* fix: loops
* feat: remove .async. usage
2019-07-09 12:46:49 -04:00
Barış Soner Uşaklı
bd640a1107
Topic await errors ( #7727 )
...
* feat: derp await
* feat: restore user.getSettings
* feat: cleanup
* feat: make tid const
* feat: cleanup
* fix: tests
* feat: deprecate filter:controllers.topic.get
* feat: rewrite post-index logic
* feat: change calculation to match others
* fix: use .async
* feat: remove try/catch wrapper
2019-07-03 12:48:26 -04:00
Baris Usakli
708df46ebe
fix: dont display post tools if there are no options
2019-06-26 12:14:38 -04:00
Barış Soner Uşaklı
3100d803c7
feat: use arrow functions
2019-06-25 17:53:01 -04:00
Barış Soner Uşaklı
198d05875f
feat: cleanup, use bulk
2019-06-24 21:36:20 -04:00