summaryrefslogtreecommitdiffstats
path: root/models
Commit message (Collapse)AuthorAgeFilesLines
* add: invite user via email, invited user can accept or decline, allow member ↵floatinghotpot2015-12-072-19/+172
| | | | to quit
* i18n-ize meteor email templatesfloatinghotpot2015-12-041-0/+10
|
* Fix code styleXavier Priour2015-12-021-4/+1
|
* Import trello: map card author and board adminsXavier Priour2015-12-021-17/+37
|
* Import trello: map comment authorXavier Priour2015-12-021-18/+32
|
* Fix #417: exception when importing older boards (missing creationDate)Xavier Priour2015-12-021-14/+35
|
* code review fixesXavier Priour2015-11-171-2/+2
|
* Import attachmentsXavier Priour2015-11-162-62/+119
|
* Import members: board importXavier Priour2015-11-141-5/+30
|
* Import members: working on card importXavier Priour2015-11-131-3/+19
|
* merge with /develXavier Priour2015-11-133-17/+21
|\
| * Add eslint-plugin-meteorDominik Ferber2015-10-272-14/+20
| | | | | | | | | | | | | | | | Add rules for eslint-plugin-meteor. Use local version of eslint and eslint-plugin-meteor, instead of relying on global versions. Ensures consistent versions of eslint and eslint-plugin-meteor for all developers.
| * Upgrade Meteor to 1.2.1-rc4Maxime Quandalle2015-10-231-2/+2
| | | | | | | | | | | | This version includes a more complete selection of ES2015 polyfills that I started used across the code base, for instance by replacing `$.trim(str)` by `str.trim()`.
* | Import members: UI flow okXavier Priour2015-11-131-1/+3
|/
* Prefer ES5 methods over underscore utilitiesMaxime Quandalle2015-10-222-9/+9
| | | | | | | | | | | | | | Since 07cc454 (ie the switch to Meteor 1.2) we includes the `es5-shim` polyfill to support methods like `Array.prototype.forEach` in a consistent way across all supported browsers (IE8+). MDG recently released a blog post recommending the use of these native methods instead of underscore [0]. We know follow this recommendation. This commit also favor some ES6 features (argument defaults, destructing assignment) in places where we didn’t use them. [0]: http://info.meteor.com/blog/es2015-get-started
* Upgrade kenton:accounts-sandstorm package to 0.1.6Maxime Quandalle2015-10-211-0/+13
| | | | | We now delegates more user attributes sync (avatar and permissions) to this package instead of doing it ourselves.
* Merge branch 'xavierpriour-devel' into develMaxime Quandalle2015-10-202-103/+353
|\ | | | | | | | | Conflicts: models/import.js
| * Provide a default date for lists and cards creation dateMaxime Quandalle2015-10-201-24/+36
| | | | | | | | | | | | | | | | See https://github.com/wekan/wekan/pull/362#issuecomment-149645497 for motivation. This commit also contains cosmetic changes to the import Popup and on the code style to be more consistent with the code base.
| * Import board: map team permission, and refactor code to share with card importXavier Priour2015-10-192-132/+80
| |
| * Import board: check json structure before importingXavier Priour2015-10-191-6/+58
| |
| * Import board: set proper color and modifiedAt datesXavier Priour2015-10-191-7/+28
| |
| * Import board: import comments and log activitiesXavier Priour2015-10-191-49/+117
| |
| * Import board: create board, lists, and cardsXavier Priour2015-10-181-13/+66
| |
| * Import board: now proper createdAt datesXavier Priour2015-10-171-0/+73
| |
| * Import board: added UIXavier Priour2015-10-171-5/+20
| |
* | Re-implement label deletionMaxime Quandalle2015-10-201-1/+1
| | | | | | | | | | | | This was not ported during v0.9 re-factor. Fixes #322
* | Prevent duplicate board labelsMaxime Quandalle2015-10-162-42/+31
|/ | | | | | 43de3b8 did prevent empty labels with the same color, but we also want to prevent label with the same non-empty name and same color because the rationale is identical.
* Add some ESLint rules and fix some related issuesMaxime Quandalle2015-10-141-8/+7
|
* Prevent dublicated empty labels of the same colorMaxime Quandalle2015-10-141-5/+14
|
* Import single card: proper error handlingXavier Priour2015-10-141-22/+26
|
* Import single card: create an 'importCard' activity entryXavier Priour2015-10-141-8/+22
|
* Import single card: check user authorizedXavier Priour2015-10-141-10/+16
|
* Import single card: now uses historical datesXavier Priour2015-10-141-11/+20
|
* Import single card: refactor to meteor methodXavier Priour2015-10-141-0/+98
|
* Import single card: archived cardXavier Priour2015-10-141-2/+3
|
* Import single card: map labelsXavier Priour2015-10-141-2/+8
|
* Centralize all mutations at the model levelMaxime Quandalle2015-09-089-0/+1166
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.