Commit graph

122 commits

Author SHA1 Message Date
Yannik Schweinzer
ea4d12aaf4 missed var keyword 2015-03-18 18:25:17 +01:00
saimeunt
39f08a97b3 Refactor postAfterEditMethodCallbacks execution on server 2015-03-14 10:04:52 +01:00
Sacha Greif
b7ad74e6e6 Use new set of arguments for methods and hooks 2015-03-10 14:24:05 +09:00
Sacha Greif
acc9aedd6d fix security issue with posts editing 2015-02-12 08:24:41 +09:00
Sacha Greif
1b3eae1e39 Fix post approval date bug 2015-02-05 09:20:48 +09:00
Sacha Greif
6d490d88c4 fix #699 2015-02-03 11:17:34 +09:00
Sacha Greif
5517841de3 Merge branch 'devel' 2015-01-27 11:12:19 +09:00
Sacha Greif
2c4e154dca whoops 2015-01-22 13:47:56 +09:00
Sacha Greif
fe222144f2 fix case 2015-01-22 12:03:44 +09:00
Sacha Greif
8931fa11a5 fixing issue with submitting extra properties 2015-01-22 10:59:13 +09:00
Sacha Greif
0d65cb9f1c added postApprovedCallbacks 2015-01-21 16:47:02 +09:00
Sacha Greif
bbf30fea0d Merge branch 'master' of https://github.com/TelescopeJS/Telescope 2015-01-18 11:12:12 +09:00
Sacha Greif
ff1d92f977 clean up post and settings schema, and i18n labels 2015-01-18 10:56:01 +09:00
comerc
d213e29712 Update posts.js 2015-01-08 12:28:57 +03: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
6a8a6ee8bb working on getting started package 2014-12-31 17:44:21 +09:00
Sacha Greif
0ee7eeb3cb run collection hook on client too 2014-12-30 13:47:14 +09:00
Sacha Greif
b70cee68b8 updated autoform 2014-12-29 18:24:26 +09:00
Sacha Greif
03922286e1 refactoring comment form code and fixing upvote issue 2014-12-28 12:13:13 +09:00
Sacha Greif
f2760f9168 refactoring comment submit method 2014-12-24 10:13:48 +09:00
Sacha Greif
a39569e883 make embedly call async 2014-12-24 09:42:10 +09:00
Sacha Greif
a85e09f9ad make post-submit callbacks run on server only 2014-12-22 11:49:35 +09:00
Sacha Greif
4312a39f2a "updateObject" -> "modifier" 2014-12-22 09:50:45 +09:00
Sacha Greif
6fc3bb7092 use type=method for submit and edit forms 2014-12-22 09:49:28 +09:00
Sacha Greif
24a0f9b830 refactor voting code to accept function calls from server 2014-12-20 17:34:15 +09:00
Sacha Greif
0b751d086c working on post-by-feed package 2014-12-18 16:01:18 +09:00
Sacha Greif
a6267c69de splitting submitPost into client/server and server functions 2014-12-18 15:09:30 +09:00
Sacha Greif
d1679bd7c0 Admin posts are now automatically accepted 2014-12-10 10:52:40 +09:00
Sacha Greif
6339657503 force sticky property to default to false when not set 2014-12-08 19:51:06 +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
305322bf25 bring back posts delete link 2014-12-08 16:10:32 +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
Sacha Greif
52ef153a2d make embedly work for non-admins too 2014-12-06 11:56:57 +09:00
Sacha Greif
f2736c05c7 limit autoValue to inserts 2014-12-05 09:44:50 +09:00
Sacha Greif
053183f5b5 fix approve/unapprove links 2014-12-05 09:33:07 +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
Sacha Greif
0cca37a253 refactoring embedly module and triggering API call on URL field change 2014-11-29 15:24:01 +09:00
Sacha Greif
d36bbf69ab refactoring submitPost and editPost 2014-11-29 11:14:44 +09:00
Sacha Greif
618371636d working on post edit form 2014-11-29 10:25:11 +09:00
Sacha Greif
0031d07468 finishing post submit form refactoring 2014-11-28 15:18:55 +09:00
Sacha Greif
672be96c9b working on post submit form 2014-11-28 11:19:55 +09:00
Sacha Greif
96176398e3 create datetimepicker custom field type package 2014-11-27 17:43:27 +09:00
Sacha Greif
b8dc56ea40 Merge branch 'master' into quickform
Conflicts:
	.meteor/versions
	client/views/settings/quickFormSettings.html
	collections/posts.js
	lib/router.js
	packages/telescope-api/versions.json
	packages/telescope-base/versions.json
	packages/telescope-module-embedly/versions.json
	packages/telescope-module-share/versions.json
	packages/telescope-notifications/versions.json
	packages/telescope-rss/versions.json
	packages/telescope-theme-base/versions.json
	packages/telescope-theme-hubble/versions.json
2014-11-26 11:22:54 +09:00
Daniel Chcouri
2605dcb27c Convert translation keys format to tap:i18n standard
all_lower_cased_underscored_sperated names
2014-11-19 00:00:09 +08:00
Charlie DeTar
ea7efc3550 Replace "throwError" with "flashMessage" and type
Currently, ``throwError`` is used for all manner of messages, including
errors, "success" messages, and "info" messages.  This makes appropriate
styling of the error message difficult.  In addition, the name
``throwError`` seems to create confusion, implying that an error will
actually be thrown (e.g. stopping execution when a user isn't logged in
[0][1]), when in fact it just displays a message.

Replace ``throwError`` with ``flashMessage``, and reliably include a
message "type" (e.g. "error", "success", "info") every time.  rename
``lib/errors.js`` to ``lib/messages.js`` to more accurately reflect its
function.

This commit doesn't rename the message collection (``Errors``), nor the
template responsible for rendering the messages (``error_item.html``) --
that should probably still be done, but has higher likelihood of
trouble for existing alternate themes and installations.

[0] 6ccf7d7d47/client/views/users/user_edit.js (L43)
[1] 083a4c4dc4/client/views/users/user_email.js (L13)
2014-11-05 13:12:09 -07:00
Steffen Strätz
6e863598d1 Merged 2014-10-16 00:32:08 +02:00
Steffen Strätz
2fd22e9d41 Renamed "postCount" to "postsCount" to follow naming pattern of other counters 2014-10-16 00:12:13 +02:00
Steffen Strätz
1a4d5cc7a7 - Renamed user "commentCount" to match post "commentsCount"
- Refactored post click counting to match naming convention with viewsCount and commentsCount and removed security issue in client code
- Fixed bug that user commentsCount would not show correctly in list
- Added migrations "commentCountToCommentsCount" and "clicksToClicksCount"
2014-10-15 22:03:12 +02:00
Steffen Strätz
e7e1accc79 - Added view counting for posts
- Refactored click counting to match view counting
- Renamed User "commentCount" to match Post "commentsCount"
- Removed security issue in client side click counting (now calling server method instead)
2014-10-15 21:23:43 +02:00
Sacha Greif
4eb53c693c updated autoform and testing date time field 2014-10-08 18:38:01 +09:00