Commit Graph

170 Commits

Author SHA1 Message Date
barisusakli
33e8ecc1f4 closes #5404 2017-04-22 19:07:57 -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
André Zanghelini
03d432182b Fix postcount is expected to be Number (#5567) 2017-04-03 12:45:43 -04:00
barisusakli
3b41c40b93 refactor deleter code to use unixtimestamp 2017-03-10 22:22:08 +03:00
psychobunny
b3f8428691 closes #5510 2017-03-10 13:36:24 -05:00
Julian Lam
e71bd7a27f Merge branch 'master' into styleguide 2017-02-24 11:45:04 -05:00
barisusakli
ca1fe557c7 topic controller tests 2017-02-24 16:26:19 +03: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
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
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
d8a1e98a43 fix permalinks on pagination 2016-11-26 01:18:57 +03:00
barisusakli
b49af0a135 #5223
adjust pagination so each page shows `postsPerPage` posts
2016-11-21 13:49:36 +03:00
Sergii Paryzhskyi
e515b791da Fix eslint rules (#5117)
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
2016-10-25 15:34:47 -04: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
Barış Soner Uşaklı
3a50c46572 Merge pull request #5033 from BenLubar/page-removed-from-url
Include page number in redirected topics
2016-09-30 22:23:11 +03:00
barisusakli
4ce8e2224a optimize topics.markTopicNotificationsRead
let's not call it once for each tid
2016-09-19 23:43:50 +03:00
Ben Lubar
7d90a94261 Include page number in redirected topics 2016-09-14 20:57:51 -05:00
barisusakli
58ab76d3c2 action:category.loaded, sort qs on category page 2016-07-21 23:53:43 +03:00
Ben Lubar
85e42aee6e make ?page=[numbers] links work for users with pagination disabled. remove ?page when updating the URL for infinite scroll 2016-07-17 15:47:58 -05:00
barisusakli
14b067a838 closes #4800 2016-06-28 12:34:16 +03:00
psychobunny
b37b083a4d new privilege: Access Topic
differentiation between Access Category and Access Topic, ie. allows you
to see the category view but not actually enter the topic itself
2016-05-28 05:41:17 -04:00
Barış Soner Uşaklı
86cab0787a closes #4668 2016-05-21 19:26:06 +03:00
barisusakli
b3fa5583f8 closes #4650 2016-05-16 12:34:47 +03:00
barisusakli
69e25fe4d5 closes #4612 2016-05-09 23:39:00 +03:00
barisusakli
25f3a31ff1 closes #4587 2016-04-30 10:47:28 +03:00
barisusakli
ff9b2bad49 closes #4512 2016-04-18 16:07:04 +03:00
Ben Lubar
c7cfe45d0b fix double-URL-encoding causing redirect loops 2016-03-22 19:54:27 -05:00
barisusakli
f665a1e353 closes #4394 2016-03-21 17:49:44 +02:00
barisusakli
9e44bd3d21 up themes 2016-03-18 10:33:10 +02:00
Julian Lam
3f998a9081 Updated topic and category controller to not redirect on incorrect
slug if the call is made via API route.

Cold load? Anything goes.
2016-03-14 13:05:55 -04:00
accalia
d6f669ef3f fix #4350; When redirecting to fix slug, preserve any provided post_index 2016-03-10 22:49:57 -05:00
barisusakli
d067943773 fix double escaping in title and og:title 2016-03-09 19:49:36 +02:00
barisusakli
211311214e https://github.com/NodeBB/NodeBB/issues/4204 2016-02-24 22:47:31 +02:00
Barış Soner Uşaklı
573840ccbd changed to title raw 2016-02-18 20:26:09 +02:00
barisusakli
2fc385f723 closes #4141, closes #4149 2016-02-18 18:32:16 +02:00
barisusakli
5ac02a59ac remove some more config from api/config 2016-02-10 12:12:13 +02:00
barisusakli
1a87767c2c removed extra isAdminOrMod check 2016-01-27 20:36:40 +02:00
barisusakli
dbc04cb4a2 getTopicWithPosts change, fix feeds 2016-01-21 20:51:15 +02:00
barisusakli
53a88d5d63 fix crash due to hook change 2016-01-21 10:47:40 +02:00
pichalite
53bbc17f32 add uid to hook 2016-01-21 04:10:38 +00:00
barisusakli
d9b6a06714 limit topic views by session 2016-01-03 14:37:37 +02:00
Julian Lam
97ce08f5af Removed rel="canonical", closes #3758
On the advice of the following articles:
  - http://googlewebmastercentral.blogspot.com/2013/04/5-common-mistakes-with-relcanonical.html
  - https://moz.com/blog/rel-confused-answers-to-your-rel-canonical-questions

rel="canonical" should not be shown on the same page
as rel="prev" and rel="next" as Google will implicitly
assume that they all point to the same page. With the
"pageless" variety only showing the first page of posts,
it explains exactly why any post content after the first
page is not indexed by Google.

... or perhaps it *is* indexed, but not returned. Who
the heck knows. 😄
2015-11-25 11:27:23 -05:00
barisusakli
b08f6073de check ogImageUrl 2015-11-17 15:49:01 -05:00