Commit graph

58 commits

Author SHA1 Message Date
Sacha Greif
7b46b5ffb7 Merge branch 'namespace2' of https://github.com/TelescopeJS/Telescope into namespace2
# Conflicts:
#	packages/telescope-posts/lib/routes.js
2015-05-02 09:53:40 +09:00
Sacha Greif
40fe20aac1 working on posts lists templates and subscriptions 2015-05-02 09:52:39 +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
fc8af1c9da owner -> member; set allow/deny for posts, comments, users 2015-04-28 17:15:53 +09:00
Sacha Greif
e26fb593ea Using AutoForm for comment submit form 2015-04-28 09:44:43 +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
1f87ae90fc give names to callback functions 2015-04-27 10:12:48 +09:00
Sacha Greif
0643437c67 Settings.addToSchema -> Settings.registerField 2015-04-25 13:11:28 +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
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
ab77526a0f namespacing and refactoring template modules 2015-04-23 17:45:37 +09:00
Sacha Greif
bd290058d7 completely refactoring callback hooks system 2015-04-23 15:42:05 +09:00
Sacha Greif
9c5e3a56c6 Make optional packages depend on core only 2015-04-22 16:52:42 +09:00
Sacha Greif
08c6e373fc bringing packages back into core repo after all 2015-04-22 07:50:11 +09:00
Sacha Greif
43b7256680 Packageifying… 2015-04-21 11:02:02 +09:00
Sacha Greif
7a29c64509 telescope:i18n 2015-04-20 15:20:10 +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
Delgermurun
666577f4cb Template[getTemplate('XYZ')] => Template.XYZ 2015-04-13 14:52:03 +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
Sacha Greif
57fa01c6bb various mobile css fixes; fix mobile nav 2015-04-03 09:48:30 +09:00
Delgermurun
057580b793 Settings package 2015-03-28 18:38:20 +09:00
Delgermurun
5cd7c53ff7 Messages package 2015-03-27 16:38:47 +08:00
Sacha Greif
8a8cf53fee using font awesome for icons 2015-03-24 13:13:04 +09:00
Sacha Greif
efcf801f22 make sure set object is not empty 2015-03-20 16:51:28 +09:00
Sacha Greif
ea24b5242d Merge branch 'master' of https://github.com/TelescopeJS/Telescope 2015-03-16 10:01:22 +09:00
Sacha Greif
0e3a96f50b fix embedly bug 2015-03-12 16:04:54 +09:00
Sacha Greif
937b37f319 show different embedly missing api key to non admins 2015-03-12 07:01:55 +09:00
Sacha Greif
3e97b453de make thumbnail URL work with https 2015-03-11 11:54:57 +09:00
Sacha Greif
7ac82b579d couple tweaks to make getFormSchema work 2015-03-10 14:09:06 +09:00
Sacha Greif
bdc3e4eba4 Merge pull request #766 from ndarilek/master
Various accessibility fixes, mainly hiding unnecessary elements from scr...
2015-03-10 10:49:20 +09:00
Sacha Greif
9cf14b9be0 Adding missing i18n keys 2015-02-23 09:08:50 +01:00
Nolan Darilek
f89e8ff7e2 Various accessibility fixes, mainly hiding unnecessary elements from screen readers, adding screen-reader-only content and using live regions for real-time content. 2015-02-12 23:44:59 -06:00
Julian Ćwirko
edb609f739 polish translation - only lang files 2015-02-03 08:38:47 +01:00
Ibrahim Cesar
c54c90ac55 Translated package to Brazilian Portuguese 2015-02-02 12:46:46 -02:00
Sacha Greif
1aefbea3cd fixing mobile version for grid layout 2015-01-27 11:44:06 +09:00
Sacha Greif
05cfd0f4a1 add link for regenerating thumbnail 2015-01-19 15:32:08 +09:00
Sacha Greif
35ae630ebd working on grid layout; added callback for injecting CSS classes for post items 2015-01-19 11:40:27 +09:00
Sacha Greif
8c141e0ce0 make sure to return post object 2014-12-27 22:07:26 +09:00
Sacha Greif
a39569e883 make embedly call async 2014-12-24 09:42:10 +09:00
Sacha Greif
3d8e6f9237 updating autoform and simpleschema 2014-12-19 11:37:23 +09:00
Sacha Greif
8a16e2a01e add thumbnail too if it hasn't been set yet 2014-12-18 15:10:01 +09:00
Sacha Greif
48ca46bc32 float thumbnail right on mobile 2014-12-14 12:43:52 +09:00
Sacha Greif
fb91613cfe refactor all the things!
- changed the layout CSS for post modules
- changed order of modules
- changed markup of modules
2014-12-14 12:38:48 +09:00
Sacha Greif
fb0cd210b3 refactoring post module markup and CSS 2014-12-13 17:43:52 +09:00
Sacha Greif
78cf9b8439 fix #617 2014-12-12 08:26:10 +09:00
Sacha Greif
baf7aec813 test if Embedly key exists, and if not show message 2014-12-11 15:36:49 +09:00