Commit graph

89 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
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
b2d6e94265 updating package versions 2015-05-16 12:05:53 +09:00
Sacha Greif
3772c89da6 clean up more exports 2015-05-13 11:55:10 +09:00
Sacha Greif
6be2d73d75 namespacing email stuff 2015-05-13 11:52:00 +09:00
Sacha Greif
48c6d49c7c propertyName -> fieldName; propertySchema -> fieldSchema 2015-05-10 14:36:47 +09:00
Sacha Greif
3c22937896 userCreated -> onCreateUser; fixing getting started package 2015-05-08 11:45:09 +09:00
Sacha Greif
0fd0407d4e working on users package and migrating email_hash to emailHash 2015-05-06 12:16:50 +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
40d38d1364 clean up comment edit form; continue namespacing users.telescope 2015-04-28 15:54:19 +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
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
478e7ce934 more callback namespacing and refactoring 2015-04-23 16:53:20 +09:00
Sacha Greif
bd290058d7 completely refactoring callback hooks system 2015-04-23 15:42:05 +09:00
Sacha Greif
04061aca9e change callback syntax and add return statement 2015-04-23 11:24:59 +09:00
Sacha Greif
9c5e3a56c6 Make optional packages depend on core only 2015-04-22 16:52:42 +09:00
Sacha Greif
93a3861265 trackEvent > Events.track; add files to telescope:core 2015-04-22 11:49:42 +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
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
666577f4cb Template[getTemplate('XYZ')] => Template.XYZ 2015-04-13 14:52:03 +09:00
Sacha Greif
cb7b4164ab collapse user menu by default 2015-04-08 11:57:53 +09:00
Delgermurun
057580b793 Settings package 2015-03-28 18:38:20 +09:00
Sacha Greif
35efbeb3ee refactoring menu component 2015-03-28 10:54:41 +09:00
Sacha Greif
3f323cd9cb fix dropdown padding 2015-03-27 14:40:11 +09:00
Sacha Greif
8fc95a316c fix mobile nav 2015-03-24 17:03:37 +09:00
Sacha Greif
f59ad553b6 close dropdown when clicking "mark all as read" 2015-03-23 11:35:49 +09:00
Sacha Greif
9c5d3534cb refactoring dropdown CSS 2015-03-23 11:28:36 +09:00
Sacha Greif
51b52da004 working on admin menu 2015-03-23 10:32:56 +09:00
Sacha Greif
7de8974fc4 fixing top nav & notifications 2015-03-22 12:27:05 +09:00
Sacha Greif
c8871dd424 updated Herald to 1.3.0 2015-03-03 09:31:40 +01:00
Sacha Greif
3df1d31d6a update herald; clean up packages file 2015-02-11 19:35:36 +09:00
Julian Ćwirko
edb609f739 polish translation - only lang files 2015-02-03 08:38:47 +01:00
Ibrahim Cesar
8ba6b7c56e Translated package to Brazilian Portuguese 2015-02-02 12:51:16 -02:00
Sacha Greif
b992538c7e fix #737 2015-02-01 20:44:13 +09:00
Sacha Greif
ea1521d141 do not notify users of their own posts 2015-01-27 12:34:37 +09:00
Sacha Greif
c38c1c6434 fixing email notification templates 2015-01-22 09:19:52 +09:00
Sacha Greif
333b64ae45 adding notifications for approved posts for both admins and end users 2015-01-21 16:47:22 +09:00
Sacha Greif
3b51d0ef1c bunch of small fixes 2015-01-20 16:18:27 +09:00
Sacha Greif
bdf9945440 fixing notifications edge cases 2015-01-20 12:35:25 +09:00
Sacha Greif
bc6987dda7 refactoring notifications and adding notifications for post subscribers 2015-01-20 11:59:40 +09:00
Anthony Mayer
f197b930e6 Cleaning up vote click handling functions and adding tests.
Also combining can.upvote and can.downvote and deleting unused permissions function and random cleanup.
2015-01-19 00:04:41 -08:00
Sacha Greif
6a8a6ee8bb working on getting started package 2014-12-31 17:44:21 +09:00