Barış Soner Uşaklı
4045681aa7
fix: add ?page= to canonical urls
...
#11770
for spiders to use pagination
2023-06-30 20:51:03 -04:00
Barış Soner Uşaklı
c21d7dbc7e
fix: dont overwrite postIndex
...
if its not on the current page
2023-06-22 22:26:08 -04:00
Barış Soner Uşaklı
cbd98c1b28
fix: closes #11731 , set postIndex on pagination
2023-06-22 21:16:11 -04:00
Barış Soner Uşaklı
73c808683f
only load postData for main post
2023-06-14 22:12:37 -04:00
Barış Soner Uşaklı
ec0da196d8
chore: whopps
2023-05-01 14:22:56 -04:00
Barış Soner Uşaklı
83fca31628
feat: closes #11549 , new error pages
2023-05-01 14:20:39 -04:00
Barış Soner Uşaklı
c3854b786e
feat: closes #11432 , use edited time if its greater
2023-04-26 16:16:44 -04:00
Julian Lam
e6d7e55fbc
fix: missing postAtIndex handling
2023-02-24 14:23:46 -05:00
Julian Lam
4cf04f06f6
feat: add rel="author" to topic route
...
re: #11248
2023-02-24 14:05:25 -05:00
Barış Soner Uşaklı
aba420a3f3
feat: setting to show signatures only once in topics, closes #10071
2022-08-16 18:06:16 -04:00
Barış Soner Uşaklı
0e60a704a5
fix: 'unread' postIndex regression closes #10607
2022-05-12 11:33:11 -04:00
CommanderRoot
200f0b2e4f
refactor: replace deprecated String.prototype.substr() ( #10432 )
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com >
2022-03-31 13:49:56 -04:00
Barış Soner Uşaklı
371b46581a
fix : #10366 , remove dupe /files
...
dont display duplicate thumb og:image items
2022-03-07 18:44:31 -05:00
Barış Soner Uşaklı
8c67031609
feat: show posts previews if enabled on mouse over
2021-11-01 15:09:05 -04:00
Barış Soner Uşaklı
6da3239230
refactor: less.render already returns promise
...
rename callback to next to match other controllers
2021-10-18 18:12:23 -04:00
Barış Soner Uşaklı
ff78969c2c
fix: lint
2021-07-08 11:25:54 -04:00
Barış Soner Uşaklı
55d7e55867
fix: tests
2021-07-08 11:22:36 -04:00
Barış Soner Uşaklı
6ed7e937ce
refactor: fix wording
2021-07-08 11:07:52 -04:00
Barış Soner Uşaklı
47c8c69264
fix: keep query string on redirects
2021-07-08 11:06:20 -04:00
Barış Soner Uşaklı
0d975bc4fb
fix: dont show system tags in whitelist dropdown to regular users
2021-06-22 12:21:40 -04:00
Barış Soner Uşaklı
036f935fa9
fix : #9473 ( #9476 )
2021-04-08 13:02:40 -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
Peter Jaszkowiak
cc9d6fd08b
chore: eslint max-len
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
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
ab98740821
fix : #9100 topic thumbs in OG image tags
2020-12-11 15:38:40 -05:00
Barış Soner Uşaklı
35f932cd64
feat: #8171 , add oldCategory if topic is moved
2020-11-17 13:56:04 -05:00
Barış Soner Uşaklı
1d6bcbebde
feat: https://github.com/NodeBB/NodeBB/issues/8147
2020-11-16 21:31:55 -05:00
Barış Soner Uşaklı
9e3eb5d41a
feat: #8821 , allow guest topic views
2020-11-05 20:52:43 -05: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
Julian Lam
68f8d6e3a1
fix : #8549 send 308 Permanent Redirect on topic/category shortlinks
2020-08-06 10:49:15 -04:00
Barış Soner Uşaklı
2c35d0ba87
refactor: change incrementViewCount and markAsRead to async/await
2020-08-05 22:05:35 -04:00
Barış Soner Uşaklı
4eae927d14
feat: remove deprecated hooks
2020-07-24 10:39:51 -04:00
Barış Soner Uşaklı
e80379dc0e
feat: display stack trace on winston.error
2020-06-20 23:32:12 -04:00
Barış Soner Uşaklı
0c7c70edaf
fix: crash in topic controller
2020-04-28 17:27:31 -04:00
psychobunny
fe03effe7d
Revert "fix: crash when res.locals.linkTags is undefined"
...
This reverts commit 7cab2b0fea .
2020-04-28 17:27:06 -04:00
Andrew Rodrigues
7cab2b0fea
fix: crash when res.locals.linkTags is undefined
2020-04-28 15:49:06 -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ı
23571224b5
feat: add parent cids to body class
2020-03-26 12:04:04 -04:00
Barış Soner Uşaklı
10989cccaa
fix: meta description missing if url doesn't have post index
2019-12-30 22:19:00 -05:00
Baris Usakli
4d66978338
fix : #8073 , configurable necroThreshold
2019-12-03 12:11:39 -05:00
Julian Lam
cf7e0cfd2d
feat: no more session cookie for guests ( #7982 )
...
* feat: no more session cookie for guests
* fix(tests): added additional tests and fixed the broken test
2019-10-22 13:38:36 -04:00
Baris Usakli
ecf39727cc
fix : #7912
2019-09-20 11:44:49 -04:00
Barış Soner Uşaklı
0843497dd4
fix : #7893 , check private upload setting
2019-09-10 18:01:37 -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ı
9b3f4b98d1
feat: #7743 finish topics controller
2019-07-22 18:52:31 -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
Barış Soner Uşaklı
15391da51e
fix : #7431 , add /unread link to topic route
2019-05-18 18:14:12 -04:00