Commit graph

89 commits

Author SHA1 Message Date
Sacha Greif
a896a434a0 add CSS class to comment list + small tweaks 2015-10-14 10:24:10 +09:00
Sacha Greif
2a3981253e refactor modules code a bit; still working on menu component 2015-10-08 11:13:48 +09:00
Sacha Greif
ba53b99927 cleaning up and refactoring menu 2015-10-07 15:04:22 +09:00
Sacha Greif
a503772f87 fix post categories links and i18n issue 2015-09-23 10:23:39 +09:00
Sacha Greif
4894d5f4f2 sign-in/sign-up routes; clean up 2015-09-18 16:27:59 +09:00
Sacha Greif
c9ba892057 newsletter and notifications 2015-09-18 11:21:01 +09:00
Sacha Greif
50c48745a3 migrating to Flow Router (WIP) 2015-09-17 14:51:14 +09:00
Sacha Greif
1d52fdd384 menu item custom data context is now passed as item.data; added setting to switch between single and multiple categories filter; categories admin route is now admin/categories; added support for multiple categories at the same time 2015-09-11 10:51:21 +09:00
Sacha Greif
4d8f6f7e79 New post approval/rejection workflow; Removed status radio button from post edit form; Added rejected view to show all rejected posts 2015-09-06 11:37:48 +09:00
Charlie DeTar
fbee25c506 Use abstraction of adminUsers 2015-09-03 14:22:38 -06:00
Sacha Greif
01fa2db936 Menus refactoring 2015-08-21 10:20:48 +09:00
Sacha Greif
c000e3f2dd add comments and notifications indexes 2015-08-13 11:32:41 +09:00
Sacha Greif
7088b71760 working on hierarchical categories 2015-08-05 18:49:11 +09:00
Sacha Greif
b02b5688b3 removing module template to simplify template structure 2015-07-20 10:11:55 +09:00
Sacha Greif
dc8a0fb1e2 make template highlighting code more flexible, tweak header layout; revert a couple changes 2015-07-15 10:06:44 +09:00
Sacha Greif
6c10a8e4df renamed nav template to header; more template and CSS tweaks 2015-07-14 21:45:18 +09:00
Sacha Greif
af55ad222e refactor notifications menu code; add hasNotifications helper 2015-07-14 12:57:40 +09:00
Sacha Greif
297d6c844b updating history; small tweaks 2015-07-14 11:40:58 +09:00
Sacha Greif
3a5117069a more checks 2015-07-10 11:40:11 +09:00
Sacha Greif
9b6f86e102 fix test routes 2015-06-25 11:18:26 +09:00
Sacha Greif
a7e633eeb3 updating avatar package 2015-06-25 11:00:23 +09:00
Sacha Greif
d58a0af788 revert to previous data structure and use transform approach after all 2015-06-25 10:44:35 +09:00
Sacha Greif
2481f36f53 working on onsite issue 2015-06-24 18:51:32 +09:00
Sacha Greif
7b34f71b2d clean up 2015-06-24 15:39:26 +09:00
Sacha Greif
c206230ee5 completely refactor notifications code 2015-06-24 15:38:14 +09:00
Sacha Greif
b15d9095c0 add email testing routes for post approved, new comment, and new reply; clean up notifications; clean up posts, comments, user, utils helpers; change post URL format to /id/slug 2015-06-19 11:52:57 +09:00
Sacha Greif
c268d142cb fixing get/set user setting 2015-06-08 09:54:42 +09:00
Sacha Greif
8356f43a8f migrate newsletter settings; use Users.getSetting 2015-06-08 08:52:41 +09:00
Jeremy Shimko
bb4bafa3bc update email notification logic for new schema 2015-06-06 00:36:58 -04:00
Jeremy Shimko
e501f4ae3f add email notification settings to user profile 2015-06-06 00:35:51 -04: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
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
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
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