Commit Graph

38 Commits

Author SHA1 Message Date
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ı
4ee2284066 closes #6489 2018-05-07 12:23:08 -04:00
Julian Lam
850f59a1ae additional functionality, integration, and testing for #6455 2018-04-16 15:21:48 -04:00
Julian Lam
c1aa46c663 added new option to disable post diffs /cc @BenLubar 2018-04-02 10:04:54 -04:00
Julian Lam
501fc3cee9 WIP post diffs 2018-02-16 18:29:19 -05:00
Barış Soner Uşaklı
ae6a1b975d #6255
fix editing OP was causing title change event to be logged eventhough
title didn't change
2018-01-19 14:00:57 -05:00
Barış Soner Uşaklı
f3fda152bf closes #6216 2018-01-16 18:20:57 -05:00
Barış Soner Uşaklı
d65f494c6d closes #5127 2017-06-16 14:25:40 -04:00
Peter Jaszkowiak
3c2d4fe649 Switch from underscore to lodash 2017-05-27 14:51:45 -06:00
Baris Usakli
062bced3dd cleanup and tests 2017-05-25 16:40:07 -04:00
Barış Soner Uşaklı
6a822f729d add timestamp to topic edit hook 2017-05-04 13:19:28 -04:00
Julian Lam
d18cfced96 Merge remote-tracking branch 'origin/master' into develop 2017-04-12 23:57:14 -04: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
ddea9f534e running eslint again 2017-02-24 12:47:46 -05:00
Julian Lam
72e77772db Merge branch 'master' into develop 2017-02-24 12:46:40 -05: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
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
barisusakli
611be77361 closes #5353 2017-01-10 15:16:49 +03:00
barisusakli
ee75c69817 post edit tests 2016-11-11 17:28:36 +03:00
Timothy Fike
cfa5974515 Add oldTitle to topic edit hook 2016-10-16 12:14:54 -04:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
barisusakli
b0f630aaec always use string as cache key 2016-08-31 21:39:02 +03:00
barisusakli
07fe5057e1 make sure validator.escape() receives strings only 2016-08-27 15:45:15 +03:00
barisusakli
50aac3c6a4 closes #4979 closes #4984 2016-08-27 14:06:14 +03:00
barisusakli
56d325bd86 privilege fixes 2016-08-10 23:55:49 +03:00
pichalite
485db7a479 fix for removing topic thumb on edit 2016-03-24 13:33:42 +00:00
Ben Lubar
1d9ff2bc70 save slug correctly on edit 2016-03-22 19:51:31 -05:00
barisusakli
00d5303e33 fix typo 2016-03-09 18:06:10 +02:00
barisusakli
c9ac1a4027 https://github.com/akhoury/nodebb-plugin-spam-be-gone/issues/46 2016-03-09 16:42:26 +02:00
Julian Lam
098111ba5b Fixes bug where if post edit was called without a title, NodeBB would crash 2015-10-29 11:45:34 -04:00
barisusakli
f88d822fe2 make sure post exists before edit 2015-10-02 16:39:07 -04:00
barisusakli
8fb24f26e3 #3664 fix edit post 2015-09-23 20:20:30 -04:00
barisusakli
945a94f0ed delete cache on current process first 2015-07-18 13:59:40 -04:00
barisusakli
e023d01616 closes #3327 2015-07-16 14:07:39 -04:00
barisusakli
ea818e2af8 closes #3259 2015-06-25 15:15:33 -04:00
Julian Lam
c004efee3f closed #3084 2015-04-23 11:15:37 -04:00
barisusakli
1f06f90a50 closes #3051
updated lru to latest
created new files posts/cache.js posts/parse.js posts/edit.js
2015-04-20 17:56:48 -04:00