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
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
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
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
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
Sacha Greif
5a868730da
Add link for clearing thumbnail ( fix #607 )
2014-12-10 17:00:22 +09:00
Sacha Greif
97804989a3
use console.log() instead of throwing error to prevent post submit interruption ( fix #607 )
2014-12-10 10:14:27 +09:00
Sacha Greif
b6c54c106d
renaming errors to messages
2014-12-06 17:41:15 +09:00
Sacha Greif
ff8bf40694
Merge branch 'telescope-master-semantic-messages' of https://github.com/AdmitHub/Telescope into AdmitHub-telescope-master-semantic-messages
...
Conflicts:
client/helpers/handlebars.js
client/views/comments/comment_edit.js
client/views/comments/comment_form.js
client/views/comments/comment_item.js
client/views/posts/modules/post_upvote.js
client/views/posts/post_edit.js
client/views/posts/post_submit.js
client/views/users/user_edit.js
client/views/users/user_email.js
lib/router.js
packages/telescope-tags/lib/client/views/category_item.js
2014-12-06 17:34:08 +09:00
Sacha Greif
52ef153a2d
make embedly work for non-admins too
2014-12-06 11:56:57 +09:00
Sacha Greif
1795552287
Mark some settings field as private and don't publish them
2014-12-04 13:36:06 +09:00
Sacha Greif
9bf9ee6f30
renaming embedly package
2014-12-03 08:43:26 +09:00