Commit Graph

153 Commits

Author SHA1 Message Date
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
Raphael Beer
cf7b7a8d4c Respond with 404 when topic inside hidden category 2015-11-17 09:10:20 +01:00
Julian Lam
34725ec3e5 Fixes #3852
Added meta data to user profile pages, and also added noEscape
option to meta tag input. If set, validator escaping won't be
run on that value.
2015-11-11 14:20:43 -05:00
barisusakli
46c2563164 removed rooms.js removed browsing users, removed chat syncing across sockets
use lastonline for online detection
2015-11-05 12:34:39 -05:00
barisusakli
1ecf27417a removed commented out stuff removed topics.enter 2015-11-05 11:53:17 -05:00
barisusakli
353ebb71d2 removed unnecessary if 2015-10-27 17:03:14 -04:00
barisusakli
c2b29ff4c4 add page to canonical link #3758 2015-10-15 16:20:21 -04:00
barisusakli
2d96cdba1c closes #3720 2015-10-07 16:13:42 -04:00
barisusakli
2d01fe78d0 removed privileges.posts.get from addPostData
privilege data is already available higher up
2015-10-06 18:36:03 -04:00
barisusakli
902f529d53 closes #3692 2015-09-30 16:08:12 -04:00
barisusakli
5a3a627fcd fix rel tag urls 2015-09-29 20:30:42 -04:00
barisusakli
c617a3f008 inf scroll changes
dont load main post if start > 0
2015-09-24 21:14:41 -04:00
barisusakli
933a89d2ae closes #3654 removed double escape 2015-09-23 01:17:31 -04:00
barisusakli
3416f600c5 #3654 2015-09-23 00:21:58 -04:00
barisusakli
80701f44d6 fix syntax 2015-09-22 20:34:37 -04:00
barisusakli
b3cbb46010 #3654
include add post index
2015-09-22 20:28:53 -04:00
barisusakli
fb6abd32c4 closes #3461 2015-09-22 20:19:48 -04:00
barisusakli
f3b6a5fbb9 generic getObject 2015-09-21 12:59:41 -04:00