Barış Soner Uşaklı
6399b42826
feat: closes #9845 , sort by views
4 years ago
Barış Soner Uşaklı
2657804c1f
fix : #9790 , fix sorting of more than one page of pinned topics
4 years ago
psychobunny
ae793b4a44
chore: found some hooks that don't play well docgen
4 years ago
Barış Soner Uşaklı
358ad74054
feat: closes #9684 , allow event deletion
...
fix: topic events appearing before necro messages
feat: add move topic event
feat: add ability to delete specific topic events via events.purge
4 years ago
gasoved
077330b764
feat: scheduled topics ( #9399 )
...
* feat: scheduled topics
* refactor: linting fixes
* fix: tests
* fix(test): race condition
* fix: make a single request
4 years ago
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
4 years ago
Julian Lam
8e93bf7362
feat(topic-events): client-side handling on topic event log
4 years ago
Julian Lam
425eca145b
refactor(topic-events): fire topic event logging in topics/tools instead, pass uid into payload
4 years ago
Julian Lam
c0fb1cb59c
fix : #9194 global mods unable to pin or unpin topics
4 years ago
Barış Soner Uşaklı
d2888d1d1f
Category tags ( #8938 )
...
* feat: wip category tags
* fix: tag search
* feat: remove debug
* fix: returns of searchTags and autocomplete
* fix: alpha sort
* fix: redis
* fix: delete zsets on category purge, fix another test
* fix: test
5 years ago
Barış Soner Uşaklı
954dc5b7be
feat: #8983 , update pin tooltip in topic
5 years ago
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
5 years ago
Julian Lam
046d0b1637
feat: allow pins to expire (if set) ( #8908 )
...
* fix: add back topic assert middleware for pin route
* feat: server-side handling of pin expiries
* refactor: togglePin to not require uid parameter [breaking]
* feat: automatic unpinning if pin has expiration set
* feat: client-side modal for setting pin expiration
* refactor: categories.getPinnedTids to accept multiple cids
... in preparation for pin expiry logic, direct access to *:pinned zsets is discouraged
* fix: remove references to since-removed jobs file for topics
* feat: expire pins when getPinnedTids is called
* refactor: make the togglePin change non-breaking
The 'action:topic.pin' hook now sends uid again, as before. However, if it is a system action (that is, a pin that expired), 'system' will be sent in instead of a valid uid
5 years ago
Barış Soner Uşaklı
0e58fa33eb
feat: match hook property to topic property
5 years ago
Barış Soner Uşaklı
478ed6c16f
refactor: match core field name pinned
5 years ago
Barış Soner Uşaklı
59cf0e80d2
fix: throw error if topic does not exist
5 years ago
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
6 years ago
Barış Soner Uşaklı
f8c8038a06
refactor: remove log, topics.exists
6 years ago
Baris Usakli
8bf40d04c9
fix : #7788 , fix on topic move and new post
6 years ago
Barış Soner Uşaklı
99cf47ee08
feat: get rid of async.eachSeries
6 years ago
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
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
6 years ago
Barış Soner Uşaklı
198d05875f
feat: cleanup, use bulk
6 years ago
Barış Soner Uşaklı
29a124c412
feat: use db.sortedSetsAdd
6 years ago
Barış Soner Uşaklı
8e3bf58106
fix : #7338
6 years ago
Barış Soner Uşaklı
f3a679e268
remove parseInts
7 years ago
Barış Soner Uşaklı
728e7bdae9
remove more parseInts
7 years ago
Barış Soner Uşaklı
537b7ff7e8
remove more parseInts
7 years ago
Barış Soner Uşaklı
f7a0815b46
fix redis tests
7 years ago
Barış Soner Uşaklı
2c3fd5fbce
remove some dupe code
7 years ago
Barış Soner Uşaklı
8ceb102ed3
closes #6274
8 years ago
Barış Soner Uşaklı
ba56810790
upgrade script fixes
8 years ago
Barış Soner Uşaklı
9d7e0775aa
closes #6214
8 years ago
Barış Soner Uşaklı
b58387c822
closes #6214
8 years ago
Barış Soner Uşaklı
2565b6e542
on pin remove from votes sorted set
8 years ago
Baris Usakli
43bec4cb45
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
8 years ago
Baris Usakli
6778cce265
add new zset
8 years ago
Baris Usakli
6a6dc7ef06
closes #5990
8 years ago
Julian Lam
184dacf1d7
Merge branch 'master' into develop
8 years ago
Barış Soner Uşaklı
67ca1881bd
closes #5831
8 years ago
Barış Soner Uşaklı
e0dc47f883
closes #5779
8 years ago
Peter Jaszkowiak
3c2d4fe649
Switch from underscore to lodash
8 years ago
Barış Soner Uşaklı
f6ac92111b
style changes
8 years ago
Julian Lam
72e77772db
Merge branch 'master' into develop
8 years ago
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
8 years ago
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
8 years ago
Peter Jaszkowiak
604358ecc4
ESlint keyword-spacing, no-multi-spaces
8 years ago
Peter Jaszkowiak
277a7fb8b4
ESlint key-spacing, no-trailing-spaces
8 years ago
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
8 years ago
barisusakli
3fb7f9fce5
closes #5398
9 years ago