Commit graph

73 commits

Author SHA1 Message Date
Sacha Greif
8903efc672 fix embody profiling issue and make categories prefillable 2015-10-20 11:56:02 +09:00
Sacha Greif
bc4c480e85 return data in embedly callback 2015-10-18 17:34:02 +09:00
Sacha Greif
26a88ac7a2 add regenerateAllThumbnails method 2015-10-01 16:13:54 +09:00
Sacha Greif
dafae9b57c working on permissions and router filters 2015-09-19 10:33:37 +09:00
Sacha Greif
25545e60b9 add afterEmbedlyPrefill callback 2015-09-14 17:11:53 +09:00
Sacha Greif
adc7fd0965 do not try updating categories count if post has no categories 2015-08-24 12:29:39 +09:00
Sacha Greif
aea9c327f9 Get link source name and URL from Embedly if available 2015-08-24 12:26:20 +09:00
Sacha Greif
04df5f7bd3 limit video lightboxes to youtube and vimeo 2015-08-13 09:35:37 +09:00
Sacha Greif
83c6f97ee5 only show "play" button for media with the "video" type 2015-08-12 10:51:26 +09:00
Sacha Greif
72bcdfd620 fix postClass callback 2015-08-03 20:02:54 +09:00
Sacha Greif
285aa810d1 use collection helpers in templates instead of postLink and target template helpers 2015-08-01 12:49:44 +09:00
Sacha Greif
836e95bb49 fix thumbnail dimensions 2015-07-22 15:06:03 +09:00
Sacha Greif
62459bfb8e make lightbox video responsive using fitvids 2015-07-20 09:15:12 +09:00
Sacha Greif
3f6be9e15b various CSS and template tweaks 2015-07-17 16:17:26 +09:00
Sacha Greif
3a5117069a more checks 2015-07-10 11:40:11 +09:00
Sacha Greif
2b7f573217 fixing bug where video kept playing when closing lightbox 2015-07-07 10:55:09 +09:00
Sacha Greif
7e48d49366 working on post URL slugs 2015-06-18 13:04:38 +09:00
Sacha Greif
e89565164b fix #1001 2015-06-05 11:28:02 +09:00
Sacha Greif
5f9bd0d223 more template name changes 2015-05-18 10:12:48 +09:00
Sacha Greif
c8754f0dd3 register -> add 2015-05-17 15:38:02 +09:00
Sacha Greif
48c6d49c7c propertyName -> fieldName; propertySchema -> fieldSchema 2015-05-10 14:36:47 +09:00
Sacha Greif
fcc290c55f fixing comment and post edit before hooks 2015-05-04 12:32:00 +09:00
Sacha Greif
b15ff1f0ac fix updateMediaOnEdit callback 2015-05-04 10:24:39 +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
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
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
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