Barış Soner Uşaklı
|
658dd03b03
|
feat: add tools to recent/unread (#8477)
* feat: add tools to recent/unread
* fix: open api spec
* fix: more api spec
|
6 years ago |
Barış Soner Uşaklı
|
05e753c73b
|
refactor: remove var
|
6 years ago |
Barış Soner Uşaklı
|
292bbe3449
|
fix: remove empty line
|
6 years ago |
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 cea206a9b8e6d8295310074b18cc82a504487862.
* 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
|
7 years ago |
Baris Usakli
|
23da300958
|
feat: pass options to digest
|
7 years ago |
Barış Soner Uşaklı
|
f3a679e268
|
remove parseInts
|
7 years ago |
Barış Soner Uşaklı
|
537b7ff7e8
|
remove more parseInts
|
7 years ago |
Barış Soner Uşaklı
|
f5fe91286e
|
closes #6851
|
7 years ago |
Baris Usakli
|
b4d8b7cf38
|
move sorted topics code out of recent
|
7 years ago |
Barış Soner Uşaklı
|
8079d3d3b7
|
add tids used to returned data
|
7 years ago |
Barış Soner Uşaklı
|
a0f5461860
|
don't set and read from topic hash in parallel (#6831)
this was causing a test to fail, although very rarely
|
7 years ago |
Barış Soner Uşaklı
|
5c7dd54815
|
fix zsets and update them on post move, closes #6823 (#6827)
|
7 years ago |
Barış Soner Uşaklı
|
93d52ef338
|
default to 'recent' sort
|
7 years ago |
Barış Soner Uşaklı
|
2c3fd5fbce
|
remove some dupe code
|
8 years ago |
Barış Soner Uşaklı
|
2fd2accf8c
|
add tests for top topics
fix popular page displaying 18 topics per page
|
8 years ago |
Barış Soner Uşaklı
|
81328806a0
|
closes #6511
|
8 years ago |
Julian Lam
|
4f6cc20457
|
completed basic integration for #6463
|
8 years ago |
Baris Usakli
|
6778cce265
|
add new zset
|
8 years ago |
Baris Usakli
|
a500e0019c
|
closes #6005
|
8 years ago |
Baris Usakli
|
19dc7da42f
|
closes #5994
|
8 years ago |
Barış Soner Uşaklı
|
0de692188f
|
check topic.cid
|
8 years ago |
Julian Lam
|
c2f1d254cc
|
Merge branch 'master' into develop
|
9 years ago |
Julian Lam
|
e309ac5040
|
fixes #5790
|
9 years ago |
Baris Usakli
|
037a0e5239
|
closes #5742
also fix reverse infinite scroll when sorting is changed
|
9 years ago |
Baris Usakli
|
61eb7aa68b
|
more tests
|
9 years ago |
barisusakli
|
7b91da067b
|
closes #5602
|
9 years ago |
Peter Jaszkowiak
|
09e868ce5f
|
ESlint no-useless-escape, no-else-return
|
9 years ago |
Peter Jaszkowiak
|
896c8c7343
|
ESlint object-curly-spacing
|
9 years ago |
Peter Jaszkowiak
|
604358ecc4
|
ESlint keyword-spacing, no-multi-spaces
|
9 years ago |
Peter Jaszkowiak
|
277a7fb8b4
|
ESlint key-spacing, no-trailing-spaces
|
9 years ago |
Peter Jaszkowiak
|
bc1d70c126
|
ESlint comma-dangle
|
9 years ago |
barisusakli
|
c33d3e874a
|
store pinned topics in new zset
keep pinned topics on top on different sort types
|
9 years ago |
barisusakli
|
5cfe379841
|
fix recent for inf scroll
|
9 years ago |
HeeL
|
4a3c31b2dc
|
Fix space-before-function-paren linter rule
|
9 years ago |
barisusakli
|
f85ec96172
|
small change to new hook
|
10 years ago |
Timothy Fike
|
9fdd1b6b70
|
Don't return data for Topics.updateRecent
Update database if filter passes data back.
|
10 years ago |
Timothy Fike
|
fe3fbb7197
|
filter:topics.updateRecent
https://community.nodebb.org/topic/9165/prevent-specific-category-from-showing-in-recent
|
10 years ago |
barisusakli
|
2b8ecfbb94
|
dont add topic to `topics:recent` if its deleted
|
10 years ago |
barisusakli
|
ffff8093ba
|
make sure user is admin/mod before forking
|
10 years ago |
barisusakli
|
2b90568157
|
removed getLatestTids, renamed getPostsByTid removed unused tid param
|
11 years ago |
barisusakli
|
878e548296
|
renamed end to stop globally
fixed getting favourites for admins
|
11 years ago |
barisusakli
|
c1ac92ac19
|
popular topics will use topic creation time
|
11 years ago |
barisusakli
|
0a1fa72bd8
|
use loadMoreFromSet
|
11 years ago |
barisusakli
|
8e114c2093
|
moved isAdminOrMod check out of getTopicsByTids
|
11 years ago |
barisusakli
|
a75727bbbd
|
duh
|
11 years ago |
barisusakli
|
653850661e
|
topics.getTopics doesnt take set param
|
11 years ago |
barisusakli
|
c56b9aafff
|
closes #2289, replace Infinity with '+inf'
|
11 years ago |
barisusakli
|
c74370bfb1
|
removed recent/day week month
it starts with most recent 20 topics now and goes back instead of
showing empty if there are no new replies in the past 24 hours
|
11 years ago |
barisusakli
|
6aa53b8323
|
nextStart changes, fixed move topic notification text
|
11 years ago |
barisusakli
|
f3f4711a60
|
wait for callback
|
11 years ago |