Commit graph

64 commits

Author SHA1 Message Date
Maxime Quandalle
8b5fd09ff3 Fix layout on Apple devices
The layout issue was related to the lack of autoprexing for CSS
properties. c69f993 did improve the reload time significantly but for
that I had to replace `mquandalle:stylus` by the core `stylus`
package. Unfortunatly it is currently difficult to run an autoprefixer
with the core CSS compilers (as reported in
https://github.com/meteor/meteor/issues/5219).

So instead we rely on `nib` which transparently define some mixins for
autoprefixing, the only restrictions being that we have to manually
`@import 'nib'` on top of stylus files.

Fixes #461
2016-01-02 14:26:48 +01:00
alayek
23ca733afd change edit card title input to textarea for editing larger titles 2016-01-01 02:47:19 +05:30
Maxime Quandalle
0833a22742 Forbid trailing spaces 2015-12-30 16:49:39 +01:00
Liming Xie
354eff9f7b add: support compact mode for mobile web, auto adapt to small screen/window 2015-12-17 14:23:35 +08:00
Maxime Quandalle
0954ef3e44 Dynamically resize the new card form if the title is too long 2015-12-09 23:20:53 -05:00
floatinghotpot
672c21bfe0 bugfix: only care active members, also optimize some code 2015-12-08 16:03:31 +08:00
Maxime Quandalle
5763714d22 Enphasize keyboard shortcuts with a dedicated style
Also add release notes related to the #387 merge.

-- Fluctuat nec mergitur
2015-11-25 09:39:29 -08:00
Maxime Quandalle
da599a19ba Merge GitHub PR #387 2015-11-15 14:22:59 -08:00
floatinghotpot
eaf2afb44c add preview attached image, allow upload image from clipboard and drag & drp 2015-11-13 11:13:54 +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
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
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
f3fc154eb0 Re-implement label deletion
This was not ported during v0.9 re-factor.

Fixes #322
2015-10-20 19:07:24 +02:00
Maxime Quandalle
43de3b8a01 Prevent dublicated empty labels of the same color 2015-10-14 23:40:27 +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
a78debc461 Support app deployment under a path prefix
Fixes #133
2015-10-08 23:28:27 +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
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
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
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
82b3227778 Fix member permission modification
Fixes #280
2015-09-05 01:37:55 +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
ed35a88a56 Fix attachments downloading
Fixes #219
Fixes #256
2015-09-02 20:16:53 +02:00
Maxime Quandalle
39666d236a Re-enable attachments on sandstorm
Credits go to @dwrensha who implement the required MongoDB upgrade on
meteor-spk.
2015-09-01 22:27:57 +02:00
Maxime Quandalle
9961de9c30 Update translation source file 2015-09-01 14:38:07 +02:00
Maxime Quandalle
0ce381aa0a Fix the horizontal canvas scrolling on card opening 2015-08-31 23:27:31 +02:00
Maxime Quandalle
21f90382d0 Temporarily hide the attachment feature on sandstorm
Our spk currently have an issue with the bundled MongoDB (forked)
version that breaks if some files are inserted in a GridFS collection.

We need to find out a way to upgrade and migrate the bundled database
until we can re-enable the attachment feature.

Note that the feature is unmodified, it's just hidden in the UI.
2015-08-31 16:34:55 +02:00
Maxime Quandalle
9efd565f74 Don't save a draft if the card description hasn't been modified 2015-08-31 16:34:55 +02:00
Maxime Quandalle
d644cba38f Replace the component bounded cachedValue by a global UnsavedEdits
This new draft saving system is currently only implemented for the
card description and comment. We need better a component
inheritance/composition model to support this for all editable fields.

Fixes #186
2015-08-31 15:52:16 +02:00
Maxime Quandalle
cc88e78483 Fix property passing in the userAvatar component
Fixes #257
2015-08-30 20:01:05 +02:00
Maxime Quandalle
bc9d9c2a42 Redesign the card design header and change header menu icon 2015-08-30 16:02:25 +02:00
Maxime Quandalle
dc3cbdd20e Hide feature non-member users can't use
Fixes #206
Fixes #244
2015-08-28 12:15:29 +02:00
Maxime Quandalle
2cd0402e72 Fix label alignement on Safari
Safari infer different values for the `vertical-align` property of
`inline-block` element. See this answer for more details:

  http://stackoverflow.com/a/4828136/1652064

Fixes #177
2015-08-28 10:59:46 +02:00
Maxime Quandalle
91cfcf7b12 Yet another iteration on the user interface
* Automatically display the overlay when the card details is opened
  (previously we waited for the mouse to enter the card details panel)
* Improve the design of the minicards badges
* Change the minicard background when it is hovered or selected
* Removes unimplemented features links from the UI
* Fix the board canvas position when the sidebar is open (was hidden
  behind)

Fixes #215
2015-08-28 06:07:21 +02:00
Maxime Quandalle
b5dabfe886 More explicit file names 2015-08-28 02:25:26 +02:00
Maxime Quandalle
35d1d6b463 Display keyboard shortcuts on a modal
Fixes #241
2015-08-28 00:41:50 +02:00
Maxime Quandalle
60712e1ac4 Fix EscapeActions click in handling
Fixes a bug introduced in 07cc454 and one introduced in 22e854c.
2015-08-25 23:40:57 +02:00
Maxime Quandalle
07cc454b41 Upgrade meteor to 1.2-rc.4 and package versions
The new version of meteor speeds up the reload cycle, which is super
valuable during the development. I also removed the "imply-everything"
"meteor-platform" package in favor of a more fined-grained package
selection.

This version also introduces ES6 support with transparent babeljs
transpilation. Most features are enable (with the notable exception of
ES6 modules) and this commit started to use them in places where a XXX
comment suggested it.
2015-08-25 18:08:04 +02:00
Maxime Quandalle
8ae6abe603 Switch the font to roboto 2015-08-20 15:59:00 +02:00
Yasar icli
a79599d76c profile name changed fullname and comma hotfix. 2015-07-18 13:43:59 +03:00
Maxime Quandalle
8cf9ec2660 Allow a user to edit its profile or avatar from a member popover
Fixes the data context on the member popover in the details pane. Also
change the way Popover detect if the click is initiated from a parent
popover -- from reading Blaze context, to looking at the event target
parents.
2015-06-19 14:39:38 +02:00
Maxime Quandalle
fad4cba5e2 Improve card and list sortable drag
Use a custom build of jquery-ui with only the plugins we need (instead
of including everything).

Fix a tricky bug of conflict between Blaze reactive updates and
jquery-ui (which caused cards to sometimes disappear).
2015-06-17 12:51:03 +02:00
Maxime Quandalle
f039923ac1 Fix #196 2015-06-16 23:32:47 +02:00
Maxime Quandalle
758d350f78 Fix #199 2015-06-16 22:41:19 +02:00
Maxime Quandalle
e001c3409a Fix card attachments
Closes #192.
2015-06-13 15:04:55 +02:00
Maxime Quandalle
c894567987 Work on the card activities and comments
This commit also introduces a new CSSEvents object that is used to
abstract vendor specifics events related to CSS transitions and
animations.

Fixes #183.
Fixes #179.
2015-06-12 17:48:15 +02:00
Maxime Quandalle
216887490e Fix card title edition
Closes #184
2015-06-11 12:35:08 +02:00
Maxime Quandalle
46cc691534 Re-factor the avatar system and support avatar uploads
The user is now able to upload an avatar, and pick one in a list.

This functionality should eventually be abstracted in a community
package but we still need to work on a great public API. We rely on
collectionFS to manage uploaded avatars. We also removed
bengott:avatar which was trying to solve the wrong problem (namely
displaying the avatar, which is as simple as displaying an image), and
not a avatar system as it should be.

Gravatar support is coming (back) soon. We may also want to have a
list of default fun avatars the user can choose instead of uploading
its own one.
2015-06-09 15:57:45 +02:00