Commit graph

10898 commits

Author SHA1 Message Date
floatinghotpot
eaf2afb44c add preview attached image, allow upload image from clipboard and drag & drp 2015-11-13 11:13:54 +08:00
Maxime Quandalle
cb3bd86396 Improve Sandstorm usernames management
We now use the `preferredHandle` exposed by Sandstorm as source for
the username and append a number if the username is already taken
since we need to ensure username uniqueness (eg 'max', 'max1', 'max2')

Fixes #352
2015-11-11 14:16:40 -08:00
Maxime Quandalle
fc82f7227a Complete the release notes for #342 2015-11-08 23:31:08 -08:00
Maxime Quandalle
642ade9dc1 Merge branch 'minicard-editor' into devel 2015-11-08 23:27:37 -08:00
Maxime Quandalle
5d77ad4f6b Finish the minicard editor auto-completion feature
This commit stands on the initial support implemented in #342. We now
avoid error-prone parsing step by adding the member or the label
directly to the card object.

We also added support for `Tab` to completion on our textComplete
component.

Closes #342
2015-11-08 23:17:24 -08:00
Maxime Quandalle
a6bd49da9f Update Meteor packages 2015-11-08 21:15:31 -08:00
Maxime Quandalle
e551d067b1 Share the useraccounts configuration with the server
The previous users accounts templates configuration only happened on
the client, which was wrong and caused some bugs, for instance an
invalid URL was generated in the reset password e-mail.

Fixes #297
2015-11-02 18:47:06 -08:00
Maxime Quandalle
f9cbc1da4c Fix an exception introduced in 41b23f8 2015-11-01 17:21:05 -08:00
Maxime Quandalle
2b134ff7a9 Merge branch 'devel' into minicard-editor
Conflicts:
	client/components/lists/listBody.js
2015-10-31 12:49:58 +01:00
Maxime Quandalle
41b23f88ae Implement fast-render
This required updating 3stack:presence because of the following bug:

  https://github.com/3stack-software/meteor-presence/pull/3
2015-10-30 03:05:43 +01:00
Maxime Quandalle
dd3cdf3945 Fix some bugs introduced in aa974aa
Yes Wekan need some tests. Yes I need to stop refactoring my code
when I’m halp-sleeping in my bed at 4am.
2015-10-29 23:17:21 +01:00
Maxime Quandalle
e92f67f191 Update eslint-plugin-meteor to 1.7.0
This fixes https://github.com/dferber90/eslint-plugin-meteor/issues/49
2015-10-29 18:47:39 +01:00
Maxime Quandalle
68521fc1c3 Update packages and update Meteor to 1.2.1
Blaze-components had yet another methods rename.
2015-10-29 15:35:33 +01:00
Maxime Quandalle
dd10154392 Clean the linting script
This also has the side effect of correcting the `npm test` Unix exit
status number -- which was previously always 0.

We also edit the website URL.
2015-10-29 01:17:23 +01:00
Maxime Quandalle
aae5030b53 Merge pull request #370 from dferber90/linter
Add ESLint-plugin-Meteor
2015-10-28 23:36:04 +01:00
Dominik Ferber
c9130324f6 Enable more ESLint-plugin-Meteor rules 2015-10-27 18:34:09 +01:00
Dominik Ferber
6e87d50941 Adapt CI 2015-10-27 18:01:44 +01:00
Dominik Ferber
3956a6ec20 Add eslint-plugin-meteor
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.
2015-10-27 17:40:38 +01:00
Dominik Ferber
3ad672a20b Add missing semicolon 2015-10-27 17:38:04 +01:00
Maxime Quandalle
31b60d82fc Upgrade Meteor to 1.2.1-rc4
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()`.
2015-10-23 16:56:55 +02:00
Xavier Priour
658ef5ebe1 Merge branch 'devel' into feature/import-board-members 2015-10-23 03:38:38 +02:00
Xavier Priour
027aacb50e Import members: added UI 2015-10-23 03:37:34 +02:00
Maxime Quandalle
b3696e1e3b Fix a typo in the card activity
Fixes #366
2015-10-22 18:35:17 +02:00
Maxime Quandalle
b9d20e04f2 Display the board name in the page title
Fixes #364
2015-10-22 18:13:16 +02:00
Maxime Quandalle
aa974aa54a Prefer ES5 methods over underscore utilities
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
2015-10-22 18:13:12 +02:00
Maxime Quandalle
23961ff28a Create a security disclosure process 2015-10-21 17:59:33 +02:00
Maxime Quandalle
c6b12dc5ad Upgrade peerlibrary:blaze-components to v0.14
This change includes method renames and others UI related packages
updates.
2015-10-21 04:34:44 +02:00
Maxime Quandalle
9154b06fc3 Upgrade kenton:accounts-sandstorm package to 0.1.6
We now delegates more user attributes sync (avatar and permissions) to
this package instead of doing it ourselves.
2015-10-21 04:26:16 +02:00
Maxime Quandalle
7a5f030cc8 Merge branch 'xavierpriour-devel' into devel
Conflicts:
	models/import.js
2015-10-20 20:06:26 +02:00
Maxime Quandalle
118b434a5a Provide a default date for lists and cards creation date
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.
2015-10-20 20:02:12 +02:00
Maxime Quandalle
f3fc154eb0 Re-implement label deletion
This was not ported during v0.9 re-factor.

Fixes #322
2015-10-20 19:07:24 +02:00
Xavier Priour
8e0ad91191 Import board: map team permission, and refactor code to share with card import 2015-10-19 20:14:29 +02:00
Xavier Priour
ec304de811 Import board: check json structure before importing 2015-10-19 12:41:56 +02:00
Xavier Priour
456674f111 Import board: set proper color and modifiedAt dates 2015-10-19 11:46:04 +02:00
Xavier Priour
4540bd36c4 Import board: import comments and log activities 2015-10-19 00:59:50 +02:00
Xavier Priour
469d47cd9f Import board: create board, lists, and cards 2015-10-18 01:02:44 +02:00
Xavier Priour
595d5f97ac Import board: now proper createdAt dates 2015-10-17 19:29:25 +02:00
Xavier Priour
468694a84c Import board: added UI 2015-10-17 18:00:46 +02:00
Maxime Quandalle
6dedf673d5 Prevent duplicate board labels
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.
2015-10-16 17:49:25 +02:00
Maxime Quandalle
15ebfa63c6 Translate the label colors 2015-10-15 00:52:32 +02:00
Maxime Quandalle
944a1065d3 Add some ESLint rules and fix some related issues 2015-10-14 23:50:12 +02:00
Maxime Quandalle
43de3b8a01 Prevent dublicated empty labels of the same color 2015-10-14 23:40:27 +02:00
Maxime Quandalle
ab761f1186 Draft v0.10 release notes 2015-10-14 23:30:51 +02:00
Xavier Priour
b670a1ab36 Import single card: proper error handling 2015-10-14 23:23:17 +02:00
Xavier Priour
7d57ce896b Import single card: create an 'importCard' activity entry 2015-10-14 23:23:16 +02:00
Xavier Priour
4b99ce2aa2 Import single card: check user authorized 2015-10-14 23:23:16 +02:00
Xavier Priour
81bd551137 Import single card: now uses historical dates 2015-10-14 23:23:16 +02:00
Xavier Priour
d8892d6408 Import single card: refactor to meteor method 2015-10-14 23:23:16 +02:00
Xavier Priour
7e64c22c1a Import single card: archived card 2015-10-14 23:23:16 +02:00
Xavier Priour
68518f5497 Import single card: map labels 2015-10-14 23:23:16 +02:00