psychobunny
2bfa63aecf
feat: hidden class to FOUC
2021-04-26 11:17:46 -04:00
Barış Soner Uşaklı
48bc23c065
refactor: remove startsWith/endsWith
2021-03-04 13:18:29 -05:00
Julian Lam
f8e1a74c26
fix: wrong qs param, allow string to be passed to util.getDaysArray
2021-02-24 12:51:20 -05:00
Peter Jaszkowiak
cc9d6fd08b
chore: eslint max-len
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
dad01e3051
chore: eslint no-bitwise
2021-02-08 18:06:44 -05:00
Barış Soner Uşaklı
4a0d883359
breaking: #8808 , remove utils.slugify
2020-12-06 13:18:09 -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
Barış Soner Uşaklı
ba2e1c4c7e
fix: show more lines
2020-10-12 20:42:08 -04:00
Barış Soner Uşaklı
01265d08f3
feat: add stack to deprecate message
2020-10-12 14:33:21 -04:00
Barış Soner Uşaklı
bddfcb5867
feat: #8734 , add slugify module, deprecate utils.slugify
2020-10-11 21:25:31 -04:00
Barış Soner Uşaklı
9f9164a9be
fix : #8582
2020-08-26 22:04:18 -04:00
Barış Soner Uşaklı
609e37a67b
feat: remove deprecated utils.walk
2020-07-24 14:29:08 -04:00
Barış Soner Uşaklı
2a00b0e973
fix: utils.params({url: ''})
2020-05-19 17:42:44 -04:00
Aziz Khoury
acca0b956e
more secure isRelativeUrl ( #8087 )
2019-12-17 16:08:09 -05:00
Barış Soner Uşaklı
441dd86d29
fix: convert param to string in slugify
...
fixes adding users to privilege table
2019-10-17 18:55:56 -04:00
Baris Usakli
95ab071254
fix: remove jquery
2019-09-30 13:16:21 -04:00
Andrew Rodrigues
40f131a6bb
fix: potential for XSS here
2019-09-26 14:00:01 -04:00
Barış Soner Uşaklı
4170abfd6b
feat: add utils.promiseParallel
2019-07-09 22:00:46 -04:00
Barış Soner Uşaklı
b53a60c278
feat: show best & latest posts on profile
2019-06-22 22:52:10 -04:00
Aziz Khoury
a6436716ea
feat: hooks can now return promise or call callbacks
...
* hooks can now return promise or call callbacks, either way works
* cleanups
* moar cleanups and fix callback 1st null arg
* rm unnessesary spread
2019-06-10 12:05:27 -04:00
Barış Soner Uşaklı
c7abf07a3d
fix : #7324
...
added disableToType option
2019-01-30 10:33:15 -05:00
Peter Jaszkowiak
ba619c7ec8
style(eslint): match operator-linebreak preferences
2018-11-30 13:38:59 -05:00
Barış Soner Uşaklı
ed1bf9a16f
add more info to advanced db page
2018-11-28 19:24:54 -05:00
Barış Soner Uşaklı
69bb3293ee
misc fixes
...
handle spider uids properly
2018-11-12 00:20:44 -05:00
Julian Lam
aef1c155cc
hey husky wtf you doin'
2018-11-07 16:02:48 -05:00
Julian Lam
da10ca084b
fix : #6921 , allow square brackets in usernames
2018-11-07 16:01:31 -05:00
renovate[bot]
64b9dabff8
chore(deps): update dependency eslint-config-airbnb-base to v13 ( #6599 )
...
* chore(deps): update dependency eslint-config-airbnb-base to v13
* chore: #6599 , linting 😬
2018-11-07 15:53:14 -05: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
Julian Lam
f97b64a0c6
Fixes #6317
...
While not the most elegant solution, I'm only really interested in
stopping registrations that contain two emails in one field.
The only separators I know of are the comma and semicolon. If
there are more, please let me know.
2018-02-27 15:23:55 -05:00
Julian Lam
964fd20213
removed addNoReferrer usage as it is done server-side now
2018-02-20 16:42:13 -05:00
Barış Soner Uşaklı
cf087b6070
#6272 strip all tags
2018-02-10 14:42:02 -05:00
Julian Lam
5302e79b56
fixing accidental usage of .includes
...
@benlubar
2018-01-26 13:22:33 -05:00
psychobunny
843fee62e2
utils.debounce
2018-01-16 16:01:45 -05:00
Julian Lam
f138d3cb70
adding noopener and noreferrer to links in widgets
2018-01-15 15:29:33 -05:00
Barış Soner Uşaklı
faded26dea
Revert "disallow underscore in slugs ( #6133 )"
...
This reverts commit 4fc3115f33 .
2017-12-06 21:12:42 -05:00
Julian Lam
4fc3115f33
disallow underscore in slugs ( #6133 )
2017-11-30 15:22:33 -05:00
Baris Usakli
c9465403f5
closes #6023
2017-11-01 12:05:06 -04:00
Peter Jaszkowiak
46fafb20b9
Remove string.js dependency
2017-10-13 21:02:41 -06:00
psychobunny
a13a5c02e9
closes #5899
2017-08-23 18:14:59 -04:00
Baris Usakli
7538210b07
#5772
...
load correct timeago settings on cold load instead of after page load
2017-07-06 14:09:59 -04:00
Baris Usakli
51a85031f7
utils tests
2017-05-11 16:31:16 -04:00
Julian Lam
064a8aa6d7
Allowing custom date range to be supplied in pageviews graph, closes #5541
2017-05-11 11:41:36 -04:00
Barış Soner Uşaklı
17b57be835
Merge pull request #5661 from NodeBB/utils-rtrim
...
Deprecate non-standard `String.prototype.rtrim`
2017-05-09 16:44:43 -04:00
Peter Jaszkowiak
2b2544a4b1
Deprecate non-standard String.prototype.rtrim
2017-05-09 14:37:35 -06:00
Julian Lam
87fbb44ca8
fixes #5660 properly
2017-05-09 15:01:02 -04:00
Barış Soner Uşaklı
5673769c8c
add back removed rtrim method
2017-05-05 12:28:41 -04:00
barisusakli
36df4cdf97
fix cyclic dependency issue
2017-04-14 13:37:15 -04: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