Commit Graph

164 Commits

Author SHA1 Message Date
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
Julian Lam
72e77772db Merge branch 'master' into develop 2017-02-24 12:46:40 -05:00
Peter Jaszkowiak
93f38d4f30 ESlint no-multi-assign
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
2017-02-18 18:06:28 -07:00
Peter Jaszkowiak
fdf4f873bf ESlint eqeqeq
and require-jsdoc, no-negated-condition
2017-02-18 14:36:16 -07:00
Peter Jaszkowiak
09e868ce5f ESlint no-useless-escape, no-else-return 2017-02-18 14:27:26 -07:00
Peter Jaszkowiak
a0a50677da ESlint n-loop-func, yoda 2017-02-18 14:00:29 -07:00
Peter Jaszkowiak
c4bdb72941 ESlint no-unneeded-ternary
and no-extend-native, no-sequences
2017-02-18 12:59:46 -07:00
Peter Jaszkowiak
3b0dd2d1ef ESlint padded-blocks 2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
f3a8256f35 ESlint strict 2017-02-18 02:23:47 -07:00
Peter Jaszkowiak
a038c66549 ESlint quotes 2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
604358ecc4 ESlint keyword-spacing, no-multi-spaces 2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
a5a3f3089a ESlint no-mixed-operators 2017-02-18 01:51:11 -07:00
Peter Jaszkowiak
2e031f3759 ESlint comma-spacing 2017-02-18 01:31:47 -07:00
Peter Jaszkowiak
277a7fb8b4 ESlint key-spacing, no-trailing-spaces 2017-02-18 01:27:46 -07:00
Peter Jaszkowiak
34e233fe1d ESlint spaced-comment 2017-02-18 01:25:46 -07:00
Peter Jaszkowiak
532951c24f ESlint space-in-parens, block-spacing 2017-02-18 01:21:34 -07:00
Peter Jaszkowiak
b1b486f729 ESlint quote-props 2017-02-18 01:19:20 -07:00
Peter Jaszkowiak
3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
554075b312 ESlint no-continue 2017-02-17 22:31:05 -07:00
Peter Jaszkowiak
879470f417 ESlint brace-style 2017-02-17 22:11:35 -07:00
Peter Jaszkowiak
2ba46808a1 ESlint one-var, fix comma-dangle 2017-02-17 20:20:42 -07:00