summaryrefslogtreecommitdiffstats
path: root/.eslintrc
Commit message (Collapse)AuthorAgeFilesLines
* Add some ESLint rules and fix some related issuesMaxime Quandalle2015-10-141-26/+32
|
* Add some passing ESlint rulesMaxime Quandalle2015-09-081-66/+35
|
* Centralize all mutations at the model levelMaxime Quandalle2015-09-081-0/+1
| | | | | | | | | | | | | | | This commit uses a new package that I need to document. It tries to solve the long-standing debate in the Meteor community about allow/deny rules versus methods (RPC). This approach gives us both the centralized security rules of allow/deny and the white-list of allowed mutations similarly to Meteor methods. The idea to have static mutation descriptions is also inspired by Facebook's Relay/GraphQL. This will allow the development of a REST API using the high-level methods instead of the MongoDB queries to do the mapping between the HTTP requests and our collections.
* Show avatars in search resultsMaxime Quandalle2015-09-061-0/+1
| | | | Fixes #265
* Change our presence packageMaxime Quandalle2015-09-041-1/+1
| | | | | | | | | tmeasday:presence was doing unnecessary ping calls to the server every 5 seconds instead of using the status of the DDP connection (this could save a fair amount of traffic in case of important server load). I guess this change also fixes #221, but since no issue reproduction was provided, it's difficult to tell.
* Enforce a consistent ES6 coding styleMaxime Quandalle2015-09-031-0/+157
Replace the old (and broken) jshint + jscsrc by eslint and configure it to support some of the ES6 features. The command `eslint` currently has one error which is a bug that was discovered by its static analysis and should be fixed (usage of a dead object).