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
Barış Soner Uşaklı
dd8d4f206a
fix: remove async.series, dont crash if postAtIndex is undefined
2019-03-19 11:55:53 -04:00
Julian Lam
697a6597f3
fix : #7444 Re-factor handling of og:image tags ( #7463 )
...
* fix: display proper site logo or og-image with sizes in head
* fix: refactor og:image logic, #7444
- Updated logic to set additional og:image tags based on more
factors
- logo.png fallback
* feat: save image sizes on post upload, re: #7444
* fix: awaiting addTags in topic controller
* fix: pass strings to meta tags object
* fix: sending absolute image url to meta tag
* fix: removed unneeded async and requiring sync db
* feat: upgrade to calculate image sizes for all post uploads tracked
* fix: tests
2019-03-18 12:09:10 -04:00
Julian Lam
745a9589e9
Use topics:read privilege for topic filtering use cases ( #7462 )
...
* fix: use topics:read privilege for topic filtering use cases
* fix: tests
* fix: more broken tests
2019-03-16 14:51:46 -04:00
Barış Soner Uşaklı
a22a3a9861
fix: log error to prevent headers already sent
...
retry on uniq index fail
2019-01-24 12:42:36 -05:00
Barış Soner Uşaklı
b9b9d8b2e9
feat: name topic controller
2018-12-17 17:16:51 -05:00
Barış Soner Uşaklı
9f5062682d
fix: unread badge
...
- only increase unread badge if topic or category is watched
- fix logic for "there are new posts/topics" on /unread and /recent
2018-12-15 16:38:30 -05:00
Barış Soner Uşaklı
14c4552304
dont modify session for spiders
2018-12-14 20:10:07 -05:00
Barış Soner Uşaklı
f3a679e268
remove parseInts
2018-10-25 17:02:59 -04:00
Barış Soner Uşaklı
ac39112271
remove more parseInts
2018-10-21 19:33:46 -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ı
e7cd552e33
closes #6568
2018-06-12 16:05:26 -04:00
Barış Soner Uşaklı
d31d8fa806
move category pageview to controllers
...
so topic views are tracked as category views
2018-06-01 14:57:59 -04:00
Barış Soner Uşaklı
47606c8df5
merge
2018-04-05 16:46:32 -04:00
Barış Soner Uşaklı
ac1f7eefe5
closes #2304
2018-01-31 15:20:17 -05:00
Barış Soner Uşaklı
813fdaf6f6
fix pageCount calculation
2018-01-23 15:52:54 -05:00
Barış Soner Uşaklı
50cc62e2aa
fix rss feed on topic #6184
2017-12-19 12:27:23 -05:00
Barış Soner Uşaklı
27b65a439a
refactor of og:image code
2017-12-08 12:17:16 -05:00
Barış Soner Uşaklı
dace7d716f
get all images in post
2017-12-08 11:46:05 -05:00
Barış Soner Uşaklı
aa1d22ec79
handle relative images
2017-12-08 11:37:57 -05:00
Barış Soner Uşaklı
15a8ec2138
fix url
2017-12-08 11:27:55 -05:00
Barış Soner Uşaklı
ae5dc795c3
#5824
2017-12-08 11:23:47 -05:00
Peter Jaszkowiak
46fafb20b9
Remove string.js dependency
2017-10-13 21:02:41 -06:00
Barış Soner Uşaklı
67ba6bb820
closes #5977
2017-10-10 11:26:41 -04:00
Barış Soner Uşaklı
f989988178
closes #1668
2017-09-22 10:26:03 -04:00
Barış Soner Uşaklı
0f234601f1
style changes
2017-06-22 19:03:49 -04:00
Baris Usakli
77994dcf69
fix link tag url
2017-06-22 13:04:24 -04:00
Baris Usakli
ef9e656f34
closes #5740
...
added token to topic page as well
check privilege even if token is provided
tests
2017-06-22 12:44:37 -04:00
Barış Soner Uşaklı
b13ed26587
closes #5755
2017-06-13 20:15:48 -04:00
Barış Soner Uşaklı
bcc566fb68
remove unnecessary checks
2017-05-27 00:47:04 -04:00
Baris Usakli
062bced3dd
cleanup and tests
2017-05-25 16:40:07 -04:00
Barış Soner Uşaklı
77894915eb
closes #5684
2017-05-19 19:35:10 -04:00
barisusakli
33e8ecc1f4
closes #5404
2017-04-22 19:07:57 -04:00
Peter Jaszkowiak
0fe10f5e86
Escape topic titles at the source, deduplicate
2017-04-15 01:38:42 -06:00
Peter Jaszkowiak
1fb48ef7a7
Fix #5592 ( #5593 )
...
* Fix #5592
Escape translation tokens in topic titles, descriptions, profile about, and post contents
* Fix tests
2017-04-13 21:37:54 +03: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
André Zanghelini
03d432182b
Fix postcount is expected to be Number ( #5567 )
2017-04-03 12:45:43 -04:00
barisusakli
3b41c40b93
refactor deleter code to use unixtimestamp
2017-03-10 22:22:08 +03:00
psychobunny
b3f8428691
closes #5510
2017-03-10 13:36:24 -05:00
Julian Lam
e71bd7a27f
Merge branch 'master' into styleguide
2017-02-24 11:45:04 -05:00
barisusakli
ca1fe557c7
topic controller tests
2017-02-24 16:26:19 +03:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
a038c66549
ESlint quotes
2017-02-18 01:56:23 -07:00