Commit Graph

41 Commits

Author SHA1 Message Date
Peter Jaszkowiak
46fafb20b9 Remove string.js dependency 2017-10-13 21:02:41 -06:00
Barış Soner Uşaklı
1019feb569 fix method name 2017-09-12 11:51:38 -04:00
Barış Soner Uşaklı
f42119673f fix string cids in post summaries 2017-09-12 11:41:52 -04:00
Baris Usakli
062bced3dd cleanup and tests 2017-05-25 16:40:07 -04:00
Peter Jaszkowiak
0fe10f5e86 Escape topic titles at the source, deduplicate 2017-04-15 01:38:42 -06:00
Peter Jaszkowiak
1fb48ef7a7 Fix #5592 (#5593)
* Fix #5592
Escape translation tokens in topic titles, descriptions, profile about, and post contents

* Fix tests
2017-04-13 21:37:54 +03: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
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
604358ecc4 ESlint keyword-spacing, no-multi-spaces 2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
barisusakli
f505b47ac9 prevent crash if topic is not found 2016-12-22 12:19:07 +03:00
Julian Lam
ead4de6c6f Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint 2016-10-13 14:43:28 -04:00
barisusakli
5f16205d15 closes #5109 2016-10-13 13:20:45 +03:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927 Fix space-infix-ops linter rule 2016-10-13 11:42:29 +02:00
barisusakli
caf30b5580 use post 2016-10-12 22:22:15 +03:00
barisusakli
460ac17eaa closes #4647
addm upvotes, downvotes and votes to getPostSummary
2016-10-12 22:20:06 +03:00
barisusakli
c8f270ec67 another validator.escape fix 2016-08-27 02:01:41 +03:00
barisusakli
805b452ae1 closes #4981 2016-08-27 00:37:13 +03:00
Mathias Schreck
ce9ee62fa0 Handle callback errors 2016-08-17 12:54:59 +02:00
Mega
0f89fc8214 close #4822 2016-07-05 03:38:15 +05:00
barisusakli
5e5e46e95f closes #4499 2016-04-29 20:35:57 +03:00
barisusakli
f3d2ad5f1f lets break some themes :evil: 2016-03-03 20:13:41 +02:00
psychobunny
726c3802e1 isMainPost for post summary 2015-11-03 14:53:20 -05:00
barisusakli
f4bfcc7351 removed icon:bgColor and icon:text from db calls
calculates from username on the fly
2015-10-29 16:35:53 -04:00
Julian Lam
f6d5b52a8b WIP user-icons 2015-09-27 12:57:21 -04:00
barisusakli
5950f97f96 more refactors 2015-09-25 17:38:58 -04:00
Julian Lam
87111ee6be fixed #3007 2015-07-24 10:22:21 -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
barisusakli
cc6f37ac4e added category bgColor/color to getPostSummary 2015-04-10 13:29:09 -04:00
EvSpirit
0fcd4dee58 #2886 Check subcategories when showing category recent topics 2015-03-24 21:39:28 +03:00
barisusakli
b268927cf9 removedu if from filter:parse,post, parse strip teaser content 2015-03-23 19:32:32 -04:00
barisusakli
10928ed11b escape post content 2015-02-07 23:51:25 -05:00
barisusakli
a69eafd9f7 added postcount to topic 2014-11-24 21:45:18 -05:00
barisusakli
871cf8a3b7 shorter getTeasers 2014-11-18 22:19:17 -05:00
Julian Lam
20ea40133b added four new hooks: filter:categories.recent, filter:privileges.categories.get, filter:privileges.posts.filter, filter:privileges.topics.filter 2014-11-14 17:31:44 -05:00
barisusakli
7225c0d45b finish up posts refactor 2014-11-11 18:55:49 -05:00
barisusakli
c18de5cdd2 posts/recent.js refactor 2014-11-09 01:30:27 -05:00
barisusakli
263f479b20 posts.js refactor pt1 2014-11-09 01:12:24 -05:00