Barış Soner Uşaklı
1d01741ae7
fix : #10208 , don't use leading slash in directory names
...
change to use decodeURIComponent in utils.params
3 years ago
Barış Soner Uşaklı
a75a043b61
feat: allow % in tags, #10135
3 years ago
Barış Soner Uşaklı
91e21ecc62
fix: utils method
3 years ago
Barış Soner Uşaklı
9f1b8a3b1e
refactor: use hasOwnProperty
3 years ago
Barış Soner Uşaklı
dbba0c396b
refactor: remove object.create
3 years ago
Barış Soner Uşaklı
3d3ae82f5b
refactor: remove unused args
3 years ago
Barış Soner Uşaklı
7b99dc46eb
test: utils.params
3 years ago
Barış Soner Uşaklı
fb363957d1
refactor: tab rules
3 years ago
gasoved
b0a24d6dd5
refactor: var to const and let ( #9885 )
...
* refactor: var to const and let
* fix: missed global bootbox usage
* refactor: align with eslint expectations
3 years ago
Barış Soner Uşaklı
a7668a7fb1
refactor: use utils.debounce
...
fixes socket message spam in chat resize
3 years ago
psychobunny
2bfa63aecf
feat: `hidden` class to FOUC
4 years ago
Barış Soner Uşaklı
48bc23c065
refactor: remove startsWith/endsWith
4 years ago
Julian Lam
f8e1a74c26
fix: wrong qs param, allow string to be passed to util.getDaysArray
4 years ago
Peter Jaszkowiak
cc9d6fd08b
chore: eslint max-len
4 years ago
Peter Jaszkowiak
dad01e3051
chore: eslint no-bitwise
4 years ago
Barış Soner Uşaklı
4a0d883359
breaking: #8808 , remove utils.slugify
4 years ago
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
4 years ago
Barış Soner Uşaklı
ba2e1c4c7e
fix: show more lines
4 years ago
Barış Soner Uşaklı
01265d08f3
feat: add stack to deprecate message
4 years ago
Barış Soner Uşaklı
bddfcb5867
feat: #8734 , add slugify module, deprecate utils.slugify
4 years ago
Barış Soner Uşaklı
9f9164a9be
fix : #8582
5 years ago
Barış Soner Uşaklı
609e37a67b
feat: remove deprecated utils.walk
5 years ago
Barış Soner Uşaklı
2a00b0e973
fix: utils.params({url: ''})
5 years ago
Aziz Khoury
acca0b956e
more secure isRelativeUrl ( #8087 )
5 years ago
Barış Soner Uşaklı
441dd86d29
fix: convert param to string in slugify
...
fixes adding users to privilege table
5 years ago
Baris Usakli
95ab071254
fix: remove jquery
5 years ago
Andrew Rodrigues
40f131a6bb
fix: potential for XSS here
5 years ago
Barış Soner Uşaklı
4170abfd6b
feat: add utils.promiseParallel
6 years ago
Barış Soner Uşaklı
b53a60c278
feat: show best & latest posts on profile
6 years ago
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
6 years ago
Barış Soner Uşaklı
c7abf07a3d
fix : #7324
...
added disableToType option
6 years ago
Peter Jaszkowiak
ba619c7ec8
style(eslint): match operator-linebreak preferences
6 years ago
Barış Soner Uşaklı
ed1bf9a16f
add more info to advanced db page
6 years ago
Barış Soner Uşaklı
69bb3293ee
misc fixes
...
handle spider uids properly
6 years ago
Julian Lam
aef1c155cc
hey husky wtf you doin'
6 years ago
Julian Lam
da10ca084b
fix : #6921 , allow square brackets in usernames
6 years ago
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 😬
6 years ago
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
6 years ago
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.
7 years ago
Julian Lam
964fd20213
removed addNoReferrer usage as it is done server-side now
7 years ago
Barış Soner Uşaklı
cf087b6070
#6272 strip all tags
7 years ago
Julian Lam
5302e79b56
fixing accidental usage of .includes
...
@benlubar
7 years ago
psychobunny
843fee62e2
utils.debounce
7 years ago
Julian Lam
f138d3cb70
adding noopener and noreferrer to links in widgets
7 years ago
Barış Soner Uşaklı
faded26dea
Revert "disallow underscore in slugs ( #6133 )"
...
This reverts commit 4fc3115f33
.
7 years ago
Julian Lam
4fc3115f33
disallow underscore in slugs ( #6133 )
7 years ago
Baris Usakli
c9465403f5
closes #6023
7 years ago
Peter Jaszkowiak
46fafb20b9
Remove string.js dependency
7 years ago
psychobunny
a13a5c02e9
closes #5899
8 years ago
Baris Usakli
7538210b07
#5772
...
load correct timeago settings on cold load instead of after page load
8 years ago