Commit graph

83 commits

Author SHA1 Message Date
Delgermurun
5cd7c53ff7 Messages package 2015-03-27 16:38:47 +08:00
Sacha Greif
340c9c61ce updating settings form 2015-03-11 08:34:44 +09:00
Sacha Greif
b7ad74e6e6 Use new set of arguments for methods and hooks 2015-03-10 14:24:05 +09:00
Sacha Greif
a85e09f9ad make post-submit callbacks run on server only 2014-12-22 11:49:35 +09:00
Sacha Greif
6fc3bb7092 use type=method for submit and edit forms 2014-12-22 09:49:28 +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
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
eda570d66f clean up 2014-12-03 09:10:14 +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
96176398e3 create datetimepicker custom field type package 2014-11-27 17:43:27 +09:00
Sacha Greif
e11b6db40f show error message on post edit page 2014-11-18 10:31:29 +09:00
Sacha Greif
bf90eedf37 URL can now be removed when editing a post 2014-11-18 10:27:58 +09: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
Mitchell Wulfman
8250f52450 cache jQuery objects 2014-09-16 15:13:42 -04:00
Sacha Greif
e21f5c7056 adding new htmlBody field and adding hooks to sanitise it 2014-08-31 16:11:48 +09:00
Fabrice Delhoste
9511e7a912 Allow custom to cancel server call on edit/submit 2014-08-11 12:09:20 +02:00
Fabrice Delhoste
ad1b6abee1 Disabled submit while processing, like post_submit 2014-08-11 12:05:27 +02:00
Sacha Greif
902a2f94f1 Added rendered hooks (fix #330) 2014-08-01 09:07:58 +09:00
Sacha Greif
3dc08bcc0c working on callbacks 2014-07-05 18:06:28 +09:00
Sacha Greif
356e8250ef fix category bug #313 2014-07-05 13:07:28 +09:00
Sacha Greif
c483464f4d making all template helpers dynamic 2014-07-05 11:24:28 +09:00
Sacha Greif
03592fd727 fixing postedAt edit bug 2014-07-03 16:17:36 +09:00
Sacha Greif
07b84b608f fixing bugs 2014-07-03 14:13:47 +09:00
Sacha Greif
e1919593e7 refactoring dates and timestamps 2014-07-03 13:15:23 +09:00
Sacha Greif
77d572345b removing a few console.logs 2014-06-25 14:33:41 +09:00
Sacha Greif
d967812d60 adding telescope-base package to initialise common arrays 2014-06-22 14:53:17 +09:00
Sacha Greif
d8cb366754 adding order property to categories 2014-06-22 13:19:47 +09:00
Sacha Greif
199d27297c telescope-tags package now adds "categories" property to post schema 2014-06-22 12:58:41 +09:00
Sacha Greif
9f801f14fe fixing post edit and comment edit validations 2014-06-22 10:49:39 +09:00
Sacha Greif
738857a51e Merge branch 'master' into autoform
Conflicts:
	client/views/posts/post_page.js
2014-06-22 08:58:18 +09:00
Sacha Greif
bedc172985 fix sticky bug 2014-06-02 09:12:48 +09:00
Sacha Greif
3ac19b47ae sort user drop down alphabetically 2014-06-01 11:47:30 +09:00
Sacha Greif
5b766bb561 Merge branch 'master' into autoform 2014-05-19 09:10:23 +09:00
Sacha Greif
2a57a261d9 fixing post edit bug 2014-05-19 09:09:39 +09:00
Sacha Greif
9bf61f3807 Changing "headline" to "title" 2014-05-16 09:19:35 +09:00
Sacha Greif
8263575879 removing constant and fixing bugs 2014-05-01 19:58:56 -07:00
Sacha Greif
379c002698 working on 0.8 2014-04-30 16:58:11 -07:00
ajduke
aa6e909590 better redirection,error msg after post is deletd 2014-03-20 23:00:15 +05:30
Richard Pullinger
653d20f487 Only show category list on post submit/edit if there are categories 2014-01-30 19:49:03 +00:00
Tarang Patel
39eb1c8e0a Update Events
Move from using depreciated event declaration style. Still supported
not sure if future proof (see
https://github.com/meteor/meteor/blob/devel/packages/templating/deftempl
ate.js#L184)
2013-11-24 16:13:53 +02:00
Sacha Greif
c5821d5739 updated router and added nprogress hook 2013-10-24 14:34:50 +09:00
Sacha Greif
9066839a29 working on post and comment 2013-10-09 12:39:05 +09:00
Sacha Greif
d8070e51fa converting post edit page 2013-10-06 09:17:37 +09:00
Aykut Yaman
b9666b6fd7 delete post comments too when a post is deleted 2013-07-19 14:30:39 +03:00
Sacha Greif
c866cb6238 added autocomplete to select user form 2013-07-19 12:17:49 +09:00
Sacha Greif
a6693c75e1 fixed allow/deny bug 2013-07-05 07:09:15 +09:00
Sacha Greif
bb61e843c9 moved url shortening server-side 2013-07-04 12:05:09 +09:00
Sacha Greif
329a750be4 fixed post_edit 2013-04-06 13:44:52 +09:00