Commit graph

24 commits

Author SHA1 Message Date
Sacha Greif
b0a1f645c8 fix collection internationalization for other collections 2015-09-04 12:19:56 +09:00
Sacha Greif
c8754f0dd3 register -> add 2015-05-17 15:38:02 +09:00
Sacha Greif
89300d115c cleaning up schemas 2015-05-11 12:15:10 +09:00
Sacha Greif
48c6d49c7c propertyName -> fieldName; propertySchema -> fieldSchema 2015-05-10 14:36:47 +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
10166402ef use fields method to restrict fields after all 2015-04-28 11:32:53 +09:00
Sacha Greif
06106ed124 use schema transforms and editableBy property to control AutoForm omitted fields 2015-04-27 17:15:16 +09:00
Sacha Greif
47b7482420 namespace schemas; migrate user profiles 2015-04-27 09:55:29 +09:00
Sacha Greif
8e5446cc75 refactoring custom fields 2015-04-24 09:28:50 +09:00
Sacha Greif
08c6e373fc bringing packages back into core repo after all 2015-04-22 07:50:11 +09:00
Sacha Greif
3d383e06e1 more packageification; removed meteor hacks:npm; changed telescope-blank to custom 2015-04-21 11:42:47 +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
Sacha Greif
0d27313b03 Merge branch 'post-by-feed-fix' of https://github.com/delgermurun/Telescope into delgermurun-post-by-feed-fix 2015-03-18 09:14:08 +09:00
Sacha Greif
793c6450e7 small fix 2015-03-18 09:10:11 +09:00
Delgermurun
a05fa134e4 Assign feed item's categories to post.
Changed htmlparser2 to node-feedparser
2015-03-17 10:40:45 +08:00
Sacha Greif
759719547b remove console.log 2015-02-11 18:25:38 +09:00
Accentax
557d4e54fb added category assignment 2015-02-09 18:39:50 +00:00
Sacha Greif
f01f084525 feeds can now be assigned to a user 2015-01-14 12:31:09 +09:00
Sacha Greif
a5911bf3f7 remove enableFeeds setting; stop synced-cron message logging 2015-01-06 09:51:35 +09:00
Sacha Greif
37ab8d48b9 feeds require to be enabled 2014-12-31 11:54:38 +09:00
Sacha Greif
d83fa19ed8 add insert allow for feeds 2014-12-19 14:39:43 +09:00
Sacha Greif
d4dcd66a57 using auto form for feeds 2014-12-19 14:32:25 +09:00
Sacha Greif
0b751d086c working on post-by-feed package 2014-12-18 16:01:18 +09:00
Sacha Greif
a379f605cf renaming "rss" to "feed" 2014-12-18 10:47:37 +09:00