Commit graph

29 commits

Author SHA1 Message Date
Sacha Greif
d43a4c6395 Changing package versions to match Telescope version 2015-05-18 12:10:07 +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
41767aa8d8 more name changes 2015-05-18 10:36:39 +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
b2d6e94265 updating package versions 2015-05-16 12:05:53 +09:00
Sacha Greif
c823a57805 show settings saved message and scroll back to top 2015-05-14 11:42:09 +09:00
Sacha Greif
89300d115c cleaning up schemas 2015-05-11 12:15:10 +09:00
Sacha Greif
bb32278b5c working on documentation 2015-05-10 13:37:42 +09:00
Sacha Greif
3aa67a7d81 namespace i18n.setLanguage 2015-05-06 16:40:27 +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
47b7482420 namespace schemas; migrate user profiles 2015-04-27 09:55:29 +09:00
Sacha Greif
2a46bb11e9 rename publication options 2015-04-25 13:20:51 +09:00
Sacha Greif
b6e213abc4 Settings.collection -> Settings 2015-04-25 13:04:10 +09:00
Sacha Greif
6a5eee0dcb working on user schema; i18n'ing schemas 2015-04-25 13:03:04 +09:00
Sacha Greif
d0c97e7ba9 manually merging in changes from user accounts branch 2015-04-25 12:39:07 +09:00
Sacha Greif
964f91aa88 refactoring menus API 2015-04-24 10:49:24 +09:00
Sacha Greif
799ea244aa getting core packages to work with api.imply 2015-04-22 16:26:01 +09:00
Sacha Greif
e5f1db1208 remove all packages; temporarily disable sitemap package 2015-04-22 12:46:06 +09:00
Sacha Greif
99988b6405 add telescope:core 2015-04-22 08:47:23 +09:00
Sacha Greif
08c6e373fc bringing packages back into core repo after all 2015-04-22 07:50:11 +09:00
Sacha Greif
6d980f9325 change package names; remove submodules 2015-04-20 14:58:48 +09:00
Sacha Greif
50fc3eb11a Merge branch 'namespace' of https://github.com/TelescopeJS/Telescope into namespace
# Conflicts:
#	lib/users.js
#	packages/telescope-base/lib/base.js
#	packages/telescope-base/package.js
#	packages/telescope-lib
2015-04-20 13:57:37 +09:00
Delgermurun
16d9eaf0f9 Delete all getTemplate related codes 2015-04-13 16:29:33 +09:00
Sacha Greif
bca4d19562 use function for defaultView as well 2015-04-10 14:46:22 +09:00
Sacha Greif
8871734cfc show all post views in settings 2015-04-10 14:16:26 +09:00
Sacha Greif
ffdbaed70d Merge branch 'settings-package' of https://github.com/delgermurun/Telescope into delgermurun-settings-package
Conflicts:
	.meteor/packages
	.meteor/versions
	client/components/postList/posts_list.js
	client/main.js
	lib/router/filters.js
	lib/router/posts.js
	lib/router/users.js
	packages/telescope-base/package.js
	packages/telescope-daily/lib/routes.js
	packages/telescope-module-share/package.js
	packages/telescope-seo/lib/routes.js
	packages/telescope-seo/lib/seo.js
	packages/telescope-seo/package.js
	packages/telescope-singleday/lib/routes.js
2015-04-08 09:20:50 +09:00
Delgermurun
057580b793 Settings package 2015-03-28 18:38:20 +09:00