Commit graph

1541 commits

Author SHA1 Message Date
Xavier Priour
7d57ce896b Import single card: create an 'importCard' activity entry 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
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
bf46a21405 Fix a typo in a function call introduced in a78debc 2015-10-13 14:10:56 +02:00
Kenton Hamaluik
3507c6565b Made colours light grey in the labels dropdown 2015-10-10 23:08:50 -06:00
Maxime Quandalle
a78debc461 Support app deployment under a path prefix
Fixes #133
2015-10-08 23:28:27 +02:00
Kenton Hamaluik
fde2a39ee3 Added coloured label badges in autocomplete list 2015-10-08 13:10:46 -06:00
Kenton Hamaluik
f5be121cf3 Pressing escape while autocomplete is open no longer closes the minicard 2015-10-08 12:32:31 -06:00
Kenton Hamaluik
c2cb17c5df Now cards with *only* metadata aren't created empty 2015-10-08 12:25:58 -06:00
Kenton Hamaluik
a212b1310c Added space after if to conform to formatting 2015-10-08 12:22:55 -06:00
Kenton Hamaluik
77ca52d8c2 Fixed issue with possible race condition, suggested by @mquandalle 2015-10-08 12:22:03 -06:00
Kenton Hamaluik
e4c5d2cbe6 Fixed typo in template for quick-adding a user. 2015-10-03 16:56:27 -06:00
Kenton Hamaluik
429686ef48 Made eslinter happy. 2015-10-03 16:53:45 -06:00
Kenton Hamaluik
d105da5bc7 Conformed to the 80-character line length limit. 2015-10-03 15:59:13 -06:00
Kenton Hamaluik
bfcfd2ebda Initial support for @user and #label use in new cards.
When creating a new [mini]card, typing `@` or `#` brings up an
auto-complete box for board members and labels which will get applied to
the card upon creation. These textual tags are removed from the card
title before saving to maintain sanity. If a label doesn't have a name,
it's colour is used (i.e. `red`, `purple`, etc).

This was developed to ease the creation of new cards and allow users to
rapidly create cards without having to click numerous times just to
apply labels & members.
2015-10-03 15:58:36 -06: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
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
b14fd985ff Add some strings to the translation set 2015-09-18 17:37:01 +02:00
Maxime Quandalle
786423ba9d Display “Filter cards” action for non-board members 2015-09-18 17:37:01 +02:00
Maxime Quandalle
ec92f84f41 Merge pull request #305 from AlexanderS/fix/multiselect-toggle
Fix multiselect toggle logic

This bug was introduced in 45b662a
2015-09-16 15:35:18 +02:00
Alexander Sulfrian
6277bd2a90 Fix multiselect toggle logic
If every element already has the label/member, we do not need to add it
but it should be removed and if every element does not have the element,
we should add it.
2015-09-16 04:30:02 +02:00
Alexander Sulfrian
c5c1d06446 Remove redundant words 2015-09-16 04:19:57 +02:00
Maxime Quandalle
0f014c954c Merge branch 'master' into devel 2015-09-10 19:25:15 +02:00
Maxime Quandalle
cad7741b54 Fix the draft saving feature on card switching 2015-09-10 19:11:19 +02:00
Maxime Quandalle
8182cd1193 Fix labels drag and drop from the sidebar
This bug was introduced in e964fbb5.

Fixes #295.
2015-09-10 18:27:04 +02:00
Maxime Quandalle
e65c79edfa Fix text selection in the card detailed pane
Fixes #255.
2015-09-10 18:22:10 +02:00
Maxime Quandalle
45b662a1dd Centralize all mutations at the model level
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.
2015-09-08 20:19:42 +02:00
Maxime Quandalle
dd95ecba98 Fix some dead links
This commit fixes the download link in the activity feed on the
sidebar and the mention link on card description and comments
(replaced by a popup).

`eslint .` now passes without any error or warning.

Fixes #286
2015-09-06 23:42:52 +02:00
Maxime Quandalle
76004e407c Fix header style when there are too much starred boards
Fixes #237
2015-09-06 23:08:49 +02:00
Maxime Quandalle
74fba0a817 Fix a recurrent English typo 2015-09-06 22:47:29 +02:00
Maxime Quandalle
54bc9d0dcb Add a missing translation 2015-09-06 22:36:36 +02:00
Maxime Quandalle
e964fbb5cc Hide some disabled forms for anonymous board viewers
Fixes #288
Fixes #289
Fixes #290
2015-09-06 03:54:36 +02:00
Maxime Quandalle
ddb6b62f53 Fix markdown rendering in the message viewer
Fixes #284
2015-09-06 03:34:06 +02:00
Maxime Quandalle
69250d0ae8 Show avatars in search results
Fixes #265
2015-09-06 03:33:47 +02:00
Maxime Quandalle
216de59aba Support avatars and improve permissions integration on sandstorm
We now update the internal state of the application every time a user
connects to the application, which means that if the sandstorm sharing
graph has changed since the last time we saw a user, his permissions
will be updated accordingly.
2015-09-05 23:33:44 +02:00
Maxime Quandalle
559de5602c Fix an issue with the star counter 2015-09-05 23:14:24 +02:00
Maxime Quandalle
82b3227778 Fix member permission modification
Fixes #280
2015-09-05 01:37:55 +02:00
Maxime Quandalle
521e661dcb Change our presence package
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.
2015-09-04 01:44:10 +02:00
Maxime Quandalle
b3851817ec Enforce a consistent ES6 coding style
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).
2015-09-03 23:12:46 +02:00
Maxime Quandalle
039cfe7edf Improve list title form 2015-09-02 22:56:12 +02:00
Maxime Quandalle
ed35a88a56 Fix attachments downloading
Fixes #219
Fixes #256
2015-09-02 20:16:53 +02:00