Commit graph

55 commits

Author SHA1 Message Date
Sacha Greif
625511aeb2 non-admins should not be able to access rejected posts 2015-02-22 09:05:47 +01:00
Sacha Greif
a7970cd076 fix posts default issue 2015-02-12 18:57:37 +09:00
Sacha Greif
e7d22a4718 remove console.log 2015-02-11 19:24:05 +09:00
Sacha Greif
4e3f4ce174 Refactor default view route controller code and use tagline in title on homepage 2015-02-11 19:15:29 +09:00
Sacha Greif
f9cff37ccf make sure post is defined 2015-02-11 18:03:08 +09:00
Sacha Greif
6c07c9cbab Don't let non-admins access pending posts. 2015-02-05 09:32:43 +09:00
Sacha Greif
9a23f144d3 do not put comment reply page behind log-in 2015-02-03 15:43:57 +09:00
Sacha Greif
6d490d88c4 fix #699 2015-02-03 11:17:34 +09:00
Sacha Greif
f2e8ea068a fix #742 2015-02-02 18:53:42 +09:00
Sacha Greif
bedefbb653 do not overwrite this._terms in PostsListController's data function 2015-01-24 10:53:11 +09:00
Sacha Greif
6868a69f3e Fix “post awaiting moderation” message 2015-01-21 11:09:18 +09:00
Sacha Greif
3b51d0ef1c bunch of small fixes 2015-01-20 16:18:27 +09:00
Sacha Greif
c6befe9b19 publish post author on single comment pages 2015-01-20 16:08:10 +09:00
Anthony Mayer
2bafca52e3 Fixing style issues.
Also, switching Router.routes[].path to Router.path
2015-01-19 00:48:17 -08:00
Anthony Mayer
f197b930e6 Cleaning up vote click handling functions and adding tests.
Also combining can.upvote and can.downvote and deleting unused permissions function and random cleanup.
2015-01-19 00:04:41 -08:00
Sacha Greif
e7e64be5f6 added missing this.next() 2015-01-10 12:46:44 +09:00
Sacha Greif
b9df5c9100 refactor post list markup 2015-01-10 11:38:19 +09:00
Sacha Greif
18b8576091 use onBeforeAction instead of onRun 2015-01-09 15:23:30 +09:00
Sacha Greif
56b53e9026 make load more template work again for regular post list 2015-01-08 17:07:17 +09:00
Sacha Greif
535acb9da8 refactoring singleDay package and postsList module 2015-01-08 15:38:07 +09:00
Anthony Mayer
f9d9891fba Getting rid of redundant permissions functions
Switched everything over to use can.* functions from telescope-lib instead of using can* functions from lib/permissions.js, deleted lib/permissions.js, added some tests for permissions, and some other random cleanup like deleting unused code.

Conflicts:
	client/views/comments/comment_form.js
2015-01-07 08:22:46 +01:00
Sacha Greif
c5ce397c17 remove unnecessary decodeUrl (fix #675) 2015-01-06 09:32:27 +09:00
Sacha Greif
0a5f30ce71 use "Telescope" as site title when not defined 2015-01-05 16:32:38 +09:00
Sacha Greif
c9d13c3159 show message when user cannot comment; redirect to sign in form when not logged in 2015-01-05 16:32:26 +09:00
Sacha Greif
f5354bf69d renaming viewNav to viewsMenu and adminNav to adminMenu 2015-01-05 10:06:30 +09:00
Sacha Greif
ecad51bbbd make release notes into a package 2014-12-31 11:05:25 +09:00
Sacha Greif
ed03fa38a1 working on release notes 2014-12-30 19:14:44 +09:00
Sacha Greif
c74a9ae8b0 add loading indicators to forms 2014-12-27 18:34:01 +09:00
Sacha Greif
97962562cf make sure post is loaded 2014-12-18 15:09:50 +09:00
Sacha Greif
1f825fe15b add description setting and use it as description for root path 2014-12-17 09:49:56 +09:00
Sacha Greif
2f273011b1 adding title and description to profile pages 2014-12-15 09:52:37 +09:00
Sacha Greif
f8cb992069 Adding descriptions in post list pages and showing them in menus. 2014-12-15 09:46:51 +09:00
Sacha Greif
2a316ea798 fix sign-out route 2014-12-13 11:58:47 +09:00
Sacha Greif
09885700b0 set page title at router controller level 2014-12-11 12:38:53 +09:00
Sacha Greif
47252eb233 do not redirect if we don't find a post for that link (fix Open Redirect security issue) 2014-12-10 11:16:02 +09:00
Sacha Greif
0c6150371b refactoring invites publication 2014-12-08 22:17:43 +09:00
Sacha Greif
755451b394 modularising the user edit page 2014-12-08 20:36:46 +09:00
Sacha Greif
980af66167 refactoring and modularising user profile page publications 2014-12-08 17:25:11 +09:00
Sacha Greif
7879172c5d refactoring parameters to simplify showing/hiding future posts, and adding "scheduled" view 2014-12-08 16:39:10 +09:00
Sacha Greif
75bd8d9920 extracting digest into its own package 2014-12-08 11:15:20 +09:00
Sacha Greif
4f9c8295d6 Merge branch 'master' into arunoda-fr2
Conflicts:
	lib/router/users.js
2014-12-08 10:30:31 +09:00
Sacha Greif
ff8bf40694 Merge branch 'telescope-master-semantic-messages' of https://github.com/AdmitHub/Telescope into AdmitHub-telescope-master-semantic-messages
Conflicts:
	client/helpers/handlebars.js
	client/views/comments/comment_edit.js
	client/views/comments/comment_form.js
	client/views/comments/comment_item.js
	client/views/posts/modules/post_upvote.js
	client/views/posts/post_edit.js
	client/views/posts/post_submit.js
	client/views/users/user_edit.js
	client/views/users/user_email.js
	lib/router.js
	packages/telescope-tags/lib/client/views/category_item.js
2014-12-06 17:34:08 +09:00
Anthony Mayer
23b72b9cb8 Switching from manually generating urls to using IronRouter functions.
Using {{pathFor}}, path(), and url() where possible. Passing in path
to Meteor.absoluteUrl() where the IronRouter functions didn't make sense.
Also deleting some random unused code.
2014-12-03 00:06:00 -08:00
Anthony Mayer
c8d5e3ca25 Fixes #444 - Adding UserEditController to show invites correctly
Gets rid of AccountController in favor of UserEditController, which
shows data consistently for both admins and owners. Also, makes sure
that only authorized users can see the page.
2014-11-30 18:23:19 -08:00
Anthony Mayer
494f27bf9b Fixing duplicate search logs. 2014-11-28 17:46:23 -08:00
Arunoda Susiripala
75278fbae2 added fast-render 2.0 support 2014-11-27 17:25:01 +05:30
Sacha Greif
d3283e9b9c Merge branch 'master' of https://github.com/TelescopeJS/Telescope 2014-11-25 15:47:49 +09:00
Anthony Mayer
350240f39a Fixes #541 2014-11-22 21:19:55 -08:00
Sacha Greif
8cb60619f8 Merge branch 'integrate-tap-i18n' of github.com:theosp/Telescope into theosp-integrate-tap-i18n 2014-11-20 10:31:20 +09:00
Sacha Greif
eb082473ed refactor server-side email template routes 2014-11-19 15:14:54 +09:00