| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
These indexes will optimize the queries that are used in the board and card
views.
Fixes #524.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We cannot rely on the automatic userId setting of the collection hooks.
If a user is created during invitation, the userId field will contain
the id of the inviting user.
This fix this, by mocking the CollectionHooks.getUserId function and
returning the userId of the new user for all new documents after
creating the user.
|
| |
| |
| |
| |
| |
| | |
The duplicated logic was nessessary because the before.insert hook was
not called before validation, when inserting was initiated on the server.
Using autoValues fixed this problem.
|
| |
| |
| |
| | |
Replace before.insert hook with SimpleSchema and autoValue.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The before.insert hooks have the problem, that they are executed in a
different order if called from the client or from the server. If called
from the client, the before.insert hook is called before validation of
the schema, but if called from the server, the validation is called
first and fails.
|
|/
|
|
| |
The name of the profile field was changed log ago. This fixes the
remaining wrong references.
|
|
|
|
| |
The ES5 reduce method also needs a initial value. This bug was
introduced in aa974aa54ab6e5b7db7450206d12b44ffb3a0306.
|
|
|
|
| |
This commit also tweak the code style following backward-incompatible v2 rules.
|
|
|
|
|
|
|
|
| |
This commit also removes the “import a single Trello card” as we couldn’t figure
out some reasonable use case.
We also create a new publication on the server to provide the minimal user
profile informations required to display an avatar.
|
|\
| |
| | |
Add notifications, allow watch boards / lists / cards
|
| | |
|
| | |
|
|/
|
|
|
| |
It hides the leading slash treatment as an hidden implementation
detail.
|
|
|
|
|
|
| |
New site url
New contact email
New year!
|
|
|
|
|
|
| |
Meteor support that use case for us, we don't need to implement our
own validate strategy on top of that. This was also discussed as part
of the #454 review.
|
|
|
|
|
|
|
|
|
|
| |
The bug comes for 9154b06 which this commit partially reverts. The
synchronization between the user document profile and the Sandstorm
HTTP headers is still not perfect. Having a clean model may requires
the `accounts-sandstorm` to expose a hook to modify the user document
just after the `services.sandstorm` credentials are updated.
Fixes #460
|
|
|
|
|
|
|
| |
As discussed in #370 and announced in the official Eslint-meteor
plugin repository (https://github.com/dferber90/eslint-plugin-meteor),
it is recommended to not use this plugin anymore has the author has it
is currently broken and the author has abandoned it.
|
|
|
|
|
|
| |
- use an explicit "boards" domain: /api/boards/:boardId
- pass authToken as a request parameter: /api/boards/:boardId?authToken=:token
- in the future, same route can be used with authToken set in the Authenticate: header easily
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
to quit
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
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()`.
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
We now delegates more user attributes sync (avatar and permissions) to
this package instead of doing it ourselves.
|
|\
| |
| |
| |
| | |
Conflicts:
models/import.js
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|