Commit graph

29 commits

Author SHA1 Message Date
Sacha Greif
7dc169ee3a add removeUser method to also remove a user's post 2015-09-21 09:59:17 +09:00
Sacha Greif
4894d5f4f2 sign-in/sign-up routes; clean up 2015-09-18 16:27:59 +09:00
Sacha Greif
50c48745a3 migrating to Flow Router (WIP) 2015-09-17 14:51:14 +09:00
Sacha Greif
18d1f78e70 remove post delete link from edit page; add it to post item 2015-09-12 11:07:53 +09:00
Sacha Greif
4d8f6f7e79 New post approval/rejection workflow; Removed status radio button from post edit form; Added rejected view to show all rejected posts 2015-09-06 11:37:48 +09:00
Sacha Greif
0f6fdf4647 accessibility improvements 2015-08-18 10:29:16 +09:00
Sacha Greif
5fe4272c06 Refactoring post admin links on post item 2015-08-18 10:21:21 +09:00
Sacha Greif
44f872cb1a add explicit moduleData argument to modules; clean up module code 2015-08-16 17:36:40 +09:00
Sacha Greif
773aa026d2 adding moduleClass helper to modules 2015-08-16 17:34:54 +09:00
Sacha Greif
a93b10f13a use collection helper instead of {{pathFor 'post_page'}} 2015-08-01 12:52:33 +09:00
Sacha Greif
285aa810d1 use collection helpers in templates instead of postLink and target template helpers 2015-08-01 12:49:44 +09:00
Sacha Greif
8ac1ab68f3 make approvePost and unapprovePost methods take postId instead of post as argument. 2015-07-28 10:59:04 +09:00
Sacha Greif
3e87fd3c98 putting banners and errors styles in base theme 2015-07-20 16:30:23 +09:00
Sacha Greif
b02b5688b3 removing module template to simplify template structure 2015-07-20 10:11:55 +09:00
Sacha Greif
38aa0c1433 Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel 2015-07-16 08:37:34 +09:00
Sacha Greif
793019297e more work on debug package; started restructuring templates to wrap them all in an outer HTML element and avoid text nodes 2015-07-14 19:39:37 +09:00
Martin Pauly
5e078f833e Added a title attribute to the avatar links to give an overview who has posted on a topic even if no avatars are available. 2015-07-11 12:26:02 +02:00
Sacha Greif
9b8bbaeed3 calling vote methods with id and not whole object 2015-07-10 11:06:40 +09:00
Sacha Greif
05f656a407 working on post downvote setting 2015-06-18 16:46:45 +09:00
Sacha Greif
7e48d49366 working on post URL slugs 2015-06-18 13:04:38 +09:00
Sacha Greif
b72ef6fd45 renaming posts templates 2015-05-18 10:30:08 +09:00
Sacha Greif
affec3c1c8 using spacebars helpers for profileUrl, username, and displayName 2015-05-14 16:42:19 +09:00
Sacha Greif
2bb4913fb2 cleaning up user helpers 2015-05-13 11:01:03 +09:00
Sacha Greif
bb32278b5c working on documentation 2015-05-10 13:37:42 +09:00
Maxime Quandalle
94c6121d91 Improve jsHint consistency
This commit touch a lot of lines of code with the goal to be more
rigorous about JavaScript code conventions defined in the `.jshintrc`.

Some modification:

* Add a list of used global symbols in the corresponding section of
  `.jshintrc`
* Use local variables instead of global in a lot of places where the
  keyword `var` was mistakenly forgotten
* Add missing semi-colons after instructions
* Add new lines at the end of files
* Remove trailing whitespaces
* Use newer name of some Meteor APIs, eg `addFiles` instead of
  `add_files`
* Add missing `break` statements in `switch` blocks
* Use `===` instead of `==` and `!==` instead of `!=`
* Remove unused variables

This commit should also fix a few bugs due to this lack of rigor. One
example of that was the test `typeof navElements === "array"` that was
never true because in JavaScript, `typeof [] === "object"`, we
replaced this test by the `_.isArray` method provided by underscore.
It might also fix some potential collision related to global
variables.

There is still plenty of work until Telescope code base passes jsHint
validation, but at least this commit is a step in the right direction.
2015-05-01 18:38:27 +02:00
Sacha Greif
e0b9bf36b7 namespacing user roles 2015-04-27 17:14:07 +09:00
Sacha Greif
eb0aba65e5 simplifying modules code 2015-04-24 08:13:41 +09:00
Sacha Greif
ab77526a0f namespacing and refactoring template modules 2015-04-23 17:45:37 +09:00
Sacha Greif
03f450e9d2 move posts and comments templates to their respective packages 2015-04-22 12:09:57 +09:00