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
5ed51ef90f
add menuLabelTemplate and menuLabelData options to menu component
2015-08-15 11:42:32 +09:00
Sacha Greif
99ed0398c7
move user_menu.html and user_menu.js from telescope:core to telescope:users
2015-08-15 11:41:30 +09:00
Sacha Greif
e7f9154ef9
Merge pull request #1015 from johnthepink/fix-bootstrap-url
...
Fix Removing URL on Edit
2015-08-12 16:33:03 +09:00
Sacha Greif
c0040932a5
menu component label tweaks
2015-08-07 11:24:54 +09:00
Sacha Greif
e8d2ada7ee
add hierarchical category menu to admin categories page and autoform forms
2015-08-07 11:17:03 +09:00
Sacha Greif
fc7f77a2e9
style subcategories in mobile nav
2015-08-05 19:24:35 +09:00
Sacha Greif
7088b71760
working on hierarchical categories
2015-08-05 18:49:11 +09:00
Sacha Greif
089706dea6
history update; various tweaks
2015-08-03 20:03:06 +09:00
Sacha Greif
0bf28dd3b4
add "only" and "except" options to modules
2015-07-30 09:07:37 +09:00
Sacha Greif
975439cdd9
fix user not defined issue in user menu
2015-07-27 15:10:48 +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
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
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
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
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
767d4b8178
template camelCase -> underscore
2015-05-18 10:00:41 +09:00
Sacha Greif
affec3c1c8
using spacebars helpers for profileUrl, username, and displayName
2015-05-14 16:42:19 +09:00
Sacha Greif
b62419ab69
Add debug view for template modules
2015-05-10 13:37:19 +09:00
Sacha Greif
09eb158e3e
clean up
2015-05-08 09:44:06 +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
e0b9bf36b7
namespacing user roles
2015-04-27 17:14:07 +09:00
Sacha Greif
964f91aa88
refactoring menus API
2015-04-24 10:49:24 +09:00
Sacha Greif
7770c21d3a
Making module system more flexible to accept wrapping divs
2015-04-24 10:22:17 +09:00
Sacha Greif
36e2d063ce
nicer API namespacing
2015-04-24 09:48:36 +09:00
Sacha Greif
8e5446cc75
refactoring custom fields
2015-04-24 09:28:50 +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
d675b21e27
more namespacing
2015-04-23 10:39:58 +09:00
Sacha Greif
443ab712cf
move users templates and menu and postList components
2015-04-22 12:20:21 +09:00
Sacha Greif
362506a199
move core templates
2015-04-22 12:14:59 +09:00
Sacha Greif
93a3861265
trackEvent > Events.track; add files to telescope:core
2015-04-22 11:49:42 +09:00