Commit graph

117 commits

Author SHA1 Message Date
Sacha Greif
d1423bb191 fix #1009 2015-08-01 16:19:15 +09:00
Sacha Greif
0bf28dd3b4 add "only" and "except" options to modules 2015-07-30 09:07:37 +09:00
Sacha Greif
b8dd7257b7 implement post-specific SEO logic for open graph and Twitter tags 2015-07-27 15:15:57 +09:00
Sacha Greif
975439cdd9 fix user not defined issue in user menu 2015-07-27 15:10:48 +09:00
Sacha Greif
8659d8a2e0 various layout and css tweaks 2015-07-22 15:06:53 +09:00
Sacha Greif
b64945418d set data context for post page inside post property, not on root 2015-07-22 15:06:45 +09:00
Sacha Greif
b02b5688b3 removing module template to simplify template structure 2015-07-20 10:11:55 +09:00
Sacha Greif
cef678811c small tweaks 2015-07-17 08:40:02 +09:00
Sacha Greif
2d13f42c75 enable using template as menuLabel; icon tweaks 2015-07-16 12:03:15 +09:00
Sacha Greif
7fa932874b use flexbox for top header layout 2015-07-15 15:26:25 +09:00
Sacha Greif
53fad7f3db renamed "postsListTop" zone to "top"; removed footer template; added Telescope.debug.refresh() function; improved debugging 2015-07-15 12:33:06 +09:00
Sacha Greif
dc8a0fb1e2 make template highlighting code more flexible, tweak header layout; revert a couple changes 2015-07-15 10:06:44 +09:00
Sacha Greif
6c10a8e4df renamed nav template to header; more template and CSS tweaks 2015-07-14 21:45:18 +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
Sacha Greif
66bf156169 working on debug package 2015-07-14 16:47:46 +09:00
Sacha Greif
b5bf6b26c4 Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel 2015-07-10 13:53:29 +09:00
Sacha Greif
bfd36c5213 using audit-argument-check and adding check to all methods 2015-07-10 11:05:13 +09:00
Jeremy Shimko
8e3c5218da allow hero modules to be full width of viewport
and constrain current internal hero modules back into the .content-wrapper max-width
2015-07-09 10:26:33 -04:00
Sacha Greif
3142da417b preload pages subscription; get rid of global subscriptions fastRender code since that's done automatically 2015-07-08 15:37:55 +09:00
Sacha Greif
9eef5fdf07 use Subs Manager for some template-level subscriptions to fix post page content flash issue 2015-07-07 12:54:23 +09:00
Sacha Greif
ffe1cf3316 only add trailing slash to siteUrl, not other url fields 2015-06-25 12:03:10 +09:00
Sacha Greif
0c492e3012 added canonical link 2015-06-19 16:39:13 +09:00
Sacha Greif
8dba4c5c5c only add trailing slash if URL contains only two slashes 2015-06-19 09:46:42 +09:00
Sacha Greif
1575aeb43b working on i18n 2015-06-15 19:05:42 +09:00
John Pinkerton
e666e3a5cd Add Extra CSS settings field. Fixes #949 2015-06-11 18:38:04 -04:00
John Pinkerton
62a2e5acbb Return null if bootstrap-url is blank. Fixes #1012 2015-06-10 21:13:24 -04:00
Sacha Greif
bc77ce6204 enforcing better URL formatting for Site URL setting. 2015-06-05 12:01:50 +09:00
Sacha Greif
b793931649 split out menu item 2015-06-05 10:55:27 +09:00
Sacha Greif
e74bea4555 making invite stuff work 2015-05-18 18:32:54 +09:00
Sacha Greif
29babb9a38 postListTop -> postsListTop; Telescope.utils.colorTable -> Telescope.colorElements.colorTable; reogranize menus code 2015-05-18 11:39:12 +09:00
Sacha Greif
60024af0d1 Telescope.menus -> Telescope.menuItems 2015-05-18 11:11:14 +09:00
Sacha Greif
b72ef6fd45 renaming posts templates 2015-05-18 10:30:08 +09:00
Sacha Greif
5f9bd0d223 more template name changes 2015-05-18 10:12:48 +09:00
Sacha Greif
767d4b8178 template camelCase -> underscore 2015-05-18 10:00:41 +09:00
Sacha Greif
c8754f0dd3 register -> add 2015-05-17 15:38:02 +09:00
Sacha Greif
aa12450688 fix #972 and fix uninvited users being allowed to post bug 2015-05-17 12:04:46 +09:00
Sacha Greif
c836384012 enable password change 2015-05-16 13:13:45 +09:00
Sacha Greif
affec3c1c8 using spacebars helpers for profileUrl, username, and displayName 2015-05-14 16:42:19 +09:00
Sacha Greif
6be2d73d75 namespacing email stuff 2015-05-13 11:52:00 +09:00
Sacha Greif
8570beb809 small bug fixes 2015-05-11 18:20:05 +09:00
Sacha Greif
b62419ab69 Add debug view for template modules 2015-05-10 13:37:19 +09:00
Sacha Greif
bd441a689d fix pending posts; let users access their own pending posts 2015-05-09 13:26:31 +09:00
Sacha Greif
09eb158e3e clean up 2015-05-08 09:44:06 +09:00
Sacha Greif
02153a45ff use auto form for profile completion screen 2015-05-06 12:56:59 +09:00
Sacha Greif
cbce5d5be3 fix cancelDownvote 2015-05-06 12:17:07 +09:00
Sacha Greif
be35c98822 Add third "constant" parameter to callbacks; split callbacks.run into run and runAsync; split postEdit and commentEdit in two 2015-05-04 10:19:50 +09:00
Sacha Greif
80750f83ac UI.registerHelper -> Template.registerHelper; fix logo 2015-05-02 11:45:25 +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
40d38d1364 clean up comment edit form; continue namespacing users.telescope 2015-04-28 15:54:19 +09:00
Sacha Greif
3f66f1f10c fix voting code 2015-04-28 10:12:35 +09:00