35 Commits (bcbc0854972888597f36d68b3bf781510894bae7)

Author SHA1 Message Date
Julian Lam 4a63c20a72 chore: some optimizations for codeclimate 4 years ago
Renovate Bot 1e5621c049 fix(deps): update dependency sanitize-html to v2 4 years ago
Barış Soner Uşaklı 1e5981c0d6 feat: replace relative urls to absolute before sending email notifs
https://github.com/NodeBB/NodeBB/pull/8366/files
5 years ago
Peter Jaszkowiak 8c314fe461 Support allowing classes
Otherwise `<input class="form-control">` can't work
5 years ago
Julian Lam 0c4cd840a0 fix: added comment back 6 years ago
Julian Lam fe452762b7 fix: inability for plugins to actually alter parser sanitization config
/cc @pitaj
6 years ago
Julian Lam 2580306db9 feat: html sanitization on all filter:parse.* hooks, closes #7872 6 years ago
Barış Soner Uşaklı c0c6c652be feat: #7743, finish post module 6 years ago
Barış Soner Uşaklı ac39112271 remove more parseInts 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
Barış Soner Uşaklı 6c15aee888 add cache hits/misses to posts cache 6 years ago
Peter Jaszkowiak 46fafb20b9 Remove string.js dependency 7 years ago
Barış Soner Uşaklı 3049f5cf1f #5522 test 8 years ago
Barış Soner Uşaklı 6635b50c35 closes #5522 8 years ago
Peter Jaszkowiak 1fb48ef7a7 Fix #5592 (#5593)
* Fix #5592
Escape translation tokens in topic titles, descriptions, profile about, and post contents

* Fix tests
8 years ago
Peter Jaszkowiak 1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
8 years ago
barisusakli 8d493bf3b0 post parse test 8 years ago
Peter Jaszkowiak 04bb6513b0 ESlint no-cond-assign, no-void, valid-jsdoc 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces 8 years ago
Peter Jaszkowiak 2ba46808a1 ESlint one-var, fix comma-dangle 8 years ago
Julian Lam f0936fcafb fixes #5225 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
barisusakli b0f630aaec always use string as cache key 9 years ago
barisusakli f20efda911 call posts.relativeToAbsolute when needed 9 years ago
Barış Soner Uşaklı 0e466122e2 closes #4717 9 years ago
Julian Lam 81bbe93640 fixes #4653 9 years ago
barisusakli c71ffed69c closes #4362 9 years ago
barisusakli 46c8101c5c closes #4152 9 years ago
Julian Lam bbc42a937e fixed LRU cache problem 9 years ago
barisusakli 9f48d3e6d2 check pid before setting cache 9 years ago
barisusakli 1b7ca555e0 closes #3879 9 years ago
Julian Lam e75ec97049 closes #3121 -- if for any reason postData.content is not a string, make sure it is a string before it hits plugins. 10 years ago
barisusakli 1f06f90a50 closes #3051
updated lru to latest
created new files posts/cache.js posts/parse.js posts/edit.js
10 years ago