Barış Soner Uşaklı
a8e642ade2
refactor: skip content length check if submitting from post-queue
2022-04-21 12:23:37 -04:00
Magnus
7bd3e31dec
Fullname in notifications ( #10157 )
...
* init - fullname notifications setting
* fullname in topic reply
* fullname for group-request-membership
* fullname for group-leave notification
* fullname for new-post-flag & new-user-flag
* removed log
* fullname for user follow
* fullname in message notification
* fullname in follow
* fullname for sendNotificationToPostOwner
* fullname in sendNotificationToTopicOwner
* fullname in doExport
* shorthand name set
* shorter name set
* fullname in notifications
* displayname for notifications
* removed unused require
2022-01-19 10:19:11 -05:00
Barış Soner Uşaklı
4799efc790
fix : #10167 , fix regression prevent guest post
2022-01-15 10:29:52 -05:00
Barış Soner Uşaklı
f918a38164
breaking: remove socket.emit('topics.follow')
...
remove socket.emit('topics.changeWatching')
2021-12-13 12:55:54 -05:00
Julian Lam
be43cd2597
Topic Linkbacks ( #9825 )
...
* feat: WIP topic linkbacks, + failing tests
* test: don't accidentally comment out all of the post tests
* fix: rename to "backlinks"
* feat: more stub code, more failing tests
* feat: backend methods and passing tests for topic backlinks
* test: uncomment test/posts.js again
* fix: missing quotation mark in topic event helper
* fix: superfluous usage of Promise.all
* test: fix broken test -- used hardcoded (and incorrect) url
* test: parseInt shenanigans
2021-09-29 12:26:15 -04:00
Barış Soner Uşaklı
6399b42826
feat: closes #9845 , sort by views
2021-09-28 11:13:56 -04:00
Julian Lam
ce8ea6ea42
fix: bad uid reference
2021-09-21 13:03:59 -04:00
Julian Lam
f194809f06
feat: move filter:topic.post hook to top of method
2021-09-21 13:00:45 -04:00
Julian Lam
7777812e62
fix: update Topics.post and Topics.reply so that plugins can modify uid (or redirect a reply to a different topic)
...
/cc @antosik
2021-09-21 11:26:17 -04:00
Barış Soner Uşaklı
4a56388ec3
feat: store topic tags in topic hash ( #9656 )
...
* feat: store topic tags in topic hash
breaking: remove color info from tags (use css)
* fix: remove unused tag modal
* fix: tag search
2021-07-12 19:25:04 -04:00
gasoved
077330b764
feat: scheduled topics ( #9399 )
...
* feat: scheduled topics
* refactor: linting fixes
* fix: tests
* fix(test): race condition
* fix: make a single request
2021-03-24 14:28:02 -04:00
Barış Soner Uşaklı
4ac38ab2bc
fix: lint
2021-03-15 14:32:15 -04:00
Barış Soner Uşaklı
eb360351e5
fix : #9394 , fix guest handles
2021-03-15 14:03:35 -04:00
Barış Soner Uşaklı
0e07f3c9ba
feat: allow defining a list of system tags
2021-02-17 14:44:04 -05:00
Peter Jaszkowiak
23f212a4c0
chore: eslint prefer-destructuring
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
2021-02-08 18:06:44 -05:00
Julian Lam
713f029dc8
fix: removing ability to specify deprecated topic 'thumb' on topic creation
2020-12-18 15:25:37 -05:00
Julian Lam
1f0c1cd229
fix: references to since-removed Topics.thumbs.resizeAndUpload
2020-12-09 10:42:41 -05:00
Julian Lam
4fc9da81a9
refactor: topic thumbs lib to topics.thumbs
2020-12-09 10:42:41 -05:00
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
2020-11-20 16:32:39 -05:00
Barış Soner Uşaklı
fb567a7a33
feat: #4456
2020-11-17 22:11:39 -05:00
Julian Lam
1392d064a1
fix(writeapi): normalizing data
2020-10-27 20:37:23 -04:00
Barış Soner Uşaklı
dc29f4dca2
refactor: switch to using slugify module
2020-10-11 21:49:37 -04:00
Barış Soner Uşaklı
bb224184d8
fix : #8539 , enforce content checks for post queue
2020-07-31 13:37:14 -04:00
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
2020-07-08 14:09:10 -04:00
Barış Soner Uşaklı
c718b7293e
feat: #3783 , min/max tags per category
2020-06-24 16:02:57 -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ı
ac4a500402
fix: remove 0 fields
2019-10-07 23:43:08 -04:00
Baris Usakli
9780f5b975
fix : #7809 , dont check postDelay if submitting from queue
2019-07-30 13:19:50 -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ı
cd2f72fb73
feat: pass topic creation data to action:topic.save
2019-01-30 10:32:50 -05:00
Barış Soner Uşaklı
f3a679e268
remove parseInts
2018-10-25 17:02:59 -04:00
Barış Soner Uşaklı
9c022afae1
Parse int ( #6853 )
...
* Store config fields as JSON in the db
Fewer parseInts
* Remove unnecessary parseInts
* remove some dupe code add tests
* remove console.log
* remove more parseInts
* WIP: read meta.configs defaults from defaults.json
remove more parseInts
* more work
* add log for failing test
* update admin pwd
* fix tests, dont require posts/cache before configs are initialized
* handle saves
* Test boolean conditions
* remove more parseInts
* Fix boolean values
* remove lots more parseInts
* removed json parsing
* renamed var to number
* categories dont have timestamp
2018-10-21 16:47:51 -04:00
Barış Soner Uşaklı
cf75c79611
Unread changes closes #6781 ( #6783 )
...
* WIP
* more unread work
* faster teaser block handling
if user doesn't have anyone blocked don't check
* much faster filtering of blocked posts
* add missing uid
* add tidsByFilter to return
* dont load all pids to find previous non-blocked teaser
* fix unread filters
they no longer use unread/new unread/watched etc they are query strings now
* shorter nav item code
* add unreplied to filters
fix icons not clearing to 0
dont increment unread counters if there is a reply in a topic where you ignored the topic creator
2018-09-24 12:58:59 -04:00
Barış Soner Uşaklı
f77e7de285
closes #6067
2018-06-03 14:25:27 -04:00
Barış Soner Uşaklı
4ee2284066
closes #6489
2018-05-07 12:23:08 -04:00
Barış Soner Uşaklı
3551a34138
up spam be gone
2018-02-06 12:55:03 -05:00
Barış Soner Uşaklı
510e57d414
on new topic create add to votes sorted set
2018-01-08 12:22:24 -05:00
Peter Jaszkowiak
46fafb20b9
Remove string.js dependency
2017-10-13 21:02:41 -06:00
Julian Lam
3bd02d58e3
fixes logic that allowed posts beyond maximum post length if min is set to 0, @barisusakli
2017-06-28 12:25:51 -04:00
Julian Lam
28d8be8b9d
fixed #5782
2017-06-28 11:20:57 -04:00
Barış Soner Uşaklı
d65f494c6d
closes #5127
2017-06-16 14:25:40 -04:00
Peter Jaszkowiak
3c2d4fe649
Switch from underscore to lodash
2017-05-27 14:51:45 -06:00
Peter Jaszkowiak
2b2544a4b1
Deprecate non-standard String.prototype.rtrim
2017-05-09 14:37:35 -06:00
barisusakli
e3205bcfad
merge
2017-04-16 14:26:12 -04:00
Peter Jaszkowiak
0fe10f5e86
Escape topic titles at the source, deduplicate
2017-04-15 01:38:42 -06:00
Julian Lam
d18cfced96
Merge remote-tracking branch 'origin/master' into develop
2017-04-12 23:57:14 -04:00
Peter Jaszkowiak
1892492505
Deprecate utils.walk, remove prototype modification
2017-04-08 21:02:06 -06:00
Peter Jaszkowiak
1ed571189c
Make utils and translator easier to require
...
Move utils.walk to file.walk, backwards compatible
2017-04-08 20:27:52 -06:00