Commit graph

9 commits

Author SHA1 Message Date
Brooks Becton
d48043c7ee Added swipebox package and added it to attachement images
Also removed '.js-open-viewer' and it's styling stub
2017-10-28 10:15:47 -05:00
Ghassen Rjab
4ad4c6ea22 Assign user to attachment before inserting 2017-08-31 22:14:57 +01:00
Maxime Quandalle
0833a22742 Forbid trailing spaces 2015-12-30 16:49:39 +01:00
floatinghotpot
eaf2afb44c add preview attached image, allow upload image from clipboard and drag & drp 2015-11-13 11:13:54 +08: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
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
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
e001c3409a Fix card attachments
Closes #192.
2015-06-13 15:04:55 +02:00
Renamed from client/components/cards/events.js (Browse further)