Commit graph

213 commits

Author SHA1 Message Date
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
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
Xavier Priour
432c1ebb5d Import single card: now with description and comments 2015-10-14 23:23:16 +02:00
Xavier Priour
1b9df00492 Import single card: title and proper sort index 2015-10-14 23:23:16 +02:00
Xavier Priour
bc79b83140 Add card import UI 2015-10-14 23:23:16 +02:00
Maxime Quandalle
758be3356c Use a better API to retrieve the new card position
Fixes #347
2015-10-13 19:56:04 +02:00
Maxime Quandalle
3f7df340e1 Set some DOM transformation to fix some of the accessibility issues
See #337 for the complete rationale by @ndarilek -- thank you :)

Closes #338
2015-10-13 19:49:00 +02:00
Maxime Quandalle
1bf9e65571 Remove the Meteor._wrapAsync depreciation warning
This warning was raised by the `cfs:storage-adapter` package and fixed
in https://github.com/CollectionFS/Meteor-CollectionFS/pull/663.
2015-10-13 18:44:46 +02:00
Maxime Quandalle
8bbc69616f Abstract the jquery-textcomplete integration with EscapeActions
We now can re-use this integration in multiple places, this will be
useful for #342 for instance.
2015-10-13 18:36:58 +02:00
Maxime Quandalle
e504ac2894 Enforce "public" visibility for Sandstorm boards
Fixes #346
2015-10-13 14:17:53 +02:00
Maxime Quandalle
bf46a21405 Fix a typo in a function call introduced in a78debc 2015-10-13 14:10:56 +02:00
Maxime Quandalle
380de21c20 Merge pull request #354 from xavierpriour/devel
Add editorconfig support
2015-10-13 00:04:45 +02:00
Xavier Priour
21dcd162f5 Add editorconfig support 2015-10-12 17:41:09 +02:00
Maxime Quandalle
a78debc461 Support app deployment under a path prefix
Fixes #133
2015-10-08 23:28:27 +02:00
Maxime Quandalle
c804813e5f Merge pull request #344 from hack1m/devel
Updated to Meteor 1.2.0.2
2015-10-06 00:02:28 +02:00
hack1m
6db8bfc343 updated to Meteor 1.2.0.2 2015-10-05 16:25:27 +08:00
Maxime Quandalle
57fa7af24c Merge pull request #326 from AlexanderS/fix/display-all-archived
sidebar: Filter archived cards/lists for current board
2015-09-24 15:12:47 +02:00
Alexander Sulfrian
b2ab174fd5 sidebar: Filter archived cards/lists for current board
The archived items should be filtered for the current board or else you
will get a global list of all archived items on all boards.
2015-09-24 12:32:48 +02:00
Maxime Quandalle
b8403b9c35 Upgrade to Meteor 1.2 2015-09-22 15:24:18 +02:00
Maxime Quandalle
5f239754d6 Merge pull request #317 from AlexanderS/fix/remove-member
Fix removeMemberPopup
2015-09-21 00:36:22 +02:00
Alexander Sulfrian
bf8f335ae7 Fix removeMemberPopup
The removeMemberPopup was missing the required helper to get the user and board
information and the user profile field is called "fullname" and not "name".
2015-09-20 23:52:51 +02:00
Maxime Quandalle
33888f9fbb Merge pull request #316 from AlexanderS/fix/delete-card
Fix card deletion

This bug was introduced in b3851817.
2015-09-20 16:57:00 +02:00
Alexander Sulfrian
f4a68a0f7d Fix Popup.afterCommit
We need to use "function() {}" instead of the ES6 style "() {}" with
popup.afterCommit because we need the original value of "this" inside
the callback.
2015-09-20 16:49:11 +02:00
Maxime Quandalle
9d5f473395 Merge pull request #314 from fisle/devel
Shortcut: Spacebar assigns self to current card, 'F' toggles filter sidebar
2015-09-19 15:51:46 +02:00
fisle
14b7213af4 Shortcut: F toggles filter sidebar 2015-09-19 16:46:49 +03:00
fisle
119d4b787d Shortcut: Spacebar assigns self to current card 2015-09-19 16:41:41 +03:00