Barış Soner Uşaklı
93bdfe2f10
perf: reorder async calls
2020-10-26 21:09:51 -04:00
Barış Soner Uşaklı
a05905f196
performance improvements ( #8795 )
...
* perf: nconf/winston/render
cache nconf.get calls
modify middleware.pageView to call next earlier
don't call winston.verbose on every hook see https://github.com/winstonjs/winston/issues/1669
translate header/footer separately and cache results for guests
* fix: copy paste fail
* refactor: style and fire hook only log in dev mode
* fix: cache key, header changes based on template
* perf: change replace
* fix: add missing await
* perf: category
* perf: lodash clone
* perf: remove escapeRegexChars
2020-10-26 10:43:18 -04:00
Barış Soner Uşaklı
0db0231cff
feat: move postercount to topic hash
2020-10-24 21:14:52 -04:00
Barış Soner Uşaklı
203db47b30
fix: return early for guests/spiders
2020-10-24 01:49:22 -04:00
Julian Lam
177a961000
feat: new filter filter:teasers.configureStripTags
2020-10-21 14:04:52 -04:00
Barış Soner Uşaklı
7a019494e8
feat: add filter.topics.getPostReplies
2020-10-20 12:00:56 -04:00
Barış Soner Uşaklı
7beaf49028
feat: set unread false for guests
2020-10-12 15:16:58 -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ı
83d4e7efaa
feat: add number of posters to topic
2020-09-23 00:59:42 -04:00
Julian Lam
81595095da
feat: allow plugins to override tags and tag counts
2020-09-22 15:58:24 -04:00
Barış Soner Uşaklı
de824007d9
feat: allow custom req.query.filter on /unread /recent
2020-09-13 19:41:39 -04:00
Barış Soner Uşaklı
65d049c6f9
fix: tests
2020-09-11 00:55:43 -04:00
Barış Soner Uşaklı
2d5bd153e0
fix: check if unread_tids are followed
2020-09-11 00:39:45 -04:00
Barış Soner Uşaklı
1e5981c0d6
feat: replace relative urls to absolute before sending email notifs
...
https://github.com/NodeBB/NodeBB/pull/8366/files
2020-09-03 12:02:07 -04:00
Barış Soner Uşaklı
55533b11e5
fix: dupes in unread followed topics
2020-08-25 08:51:15 -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ı
519e665939
fix : #8538 , go to first unread instead of last read
2020-07-31 10:34:10 -04:00
Barış Soner Uşaklı
ce6b20c4b7
feat: remove topics.async.getTopicData usage
2020-07-24 12:02:16 -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ı
d6c619cf1a
fix: don't show blocked users under nested replies
2020-07-06 15:50:19 -04:00
Barış Soner Uşaklı
fef04fcf6b
fix: missing backgroundImage #8386
2020-07-04 16:08:05 -04:00
Barış Soner Uşaklı
fd400a008d
fix: don't show in unreplied if score is null
2020-06-27 21:28:23 -04:00
Barış Soner Uşaklı
e09ab3dc19
feat: closes #8440 , allow configuring max topic count
2020-06-27 18:11:27 -04:00
Barış Soner Uşaklı
c718b7293e
feat: #3783 , min/max tags per category
2020-06-24 16:02:57 -04:00
Manuel Valle
056f85f864
Topic hooks extension ( #8413 )
...
* Update data.js with new hook
Implemented new 'filter:topic.getFields' hook as in posts
* Update data.js
* Update data.js
2020-06-16 13:50:07 -04:00
Barış Soner Uşaklı
bb3aa54006
feat: merge changes
...
allow selecting main topic to merge into
allow specifying a new title for merge topic
upon merge go to correct topic
new tests for merging with options
2020-06-10 12:48:32 -04:00
Barış Soner Uşaklı
7d484fc0ad
refactor: use getSortedSetMembers
2020-05-26 22:56:54 -04:00
Barış Soner Uşaklı
f3afba6156
feat: filter followed tids by category
2020-05-25 21:14:49 -04:00
Barış Soner Uşaklı
1b9e8928eb
feat: use getSortedSetsMembers to load followed tids
2020-05-25 16:59:53 -04:00
Barış Soner Uşaklı
7f24200c73
feat: add folder to filter:uploadImage and filter:uploadFile
2020-05-22 10:00:24 -04:00
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