Commit graph

48 commits

Author SHA1 Message Date
Maxime Quandalle
cdcada16a6 Update dependencies
3stack:presence             upgraded from 1.0.4 to 1.0.5
arillo:flow-router-helpers  upgraded from 0.4.5 to 0.4.7
cosmos:browserify           upgraded from 0.8.3 to 0.9.2
fortawesome:fontawesome     upgraded from 4.4.0 to 4.5.0
kadira:blaze-layout         upgraded from 2.2.0 to 2.3.0
kadira:flow-router          upgraded from 2.9.0 to 2.10.0
meteorhacks:fast-render     upgraded from 2.10.0 to 2.11.0
useraccounts:core           upgraded from 1.12.4 to 1.13.0
useraccounts:flow-routing   upgraded from 1.12.4 to 1.13.0
useraccounts:unstyled       upgraded from 1.12.4 to 1.13.0
2015-12-07 19:07:37 -05:00
Maxime Quandalle
0623c8ea52 Merge pull request #411 from floatinghotpot/patch-4
add: set user preferred lang and allow select lang for user form
2015-12-07 19:02:31 -05:00
floatinghotpot
ec130d4480 add: use user preferred lang for user form, and allow selecting 2015-12-07 12:36:51 +08:00
floatinghotpot
011f53ad08 add: invite user via email, invited user can accept or decline, allow member to quit 2015-12-07 11:15:57 +08:00
Maxime Quandalle
827663f255 Sync Sandstorm URL and page title with the inner Wekan grain
The page title synchronization required implementing reactivity in the
kadira:dochead package, see https://github.com/kadirahq/meteor-dochead/pull/25

Closes #403.
2015-11-27 16:36:38 -08:00
Maxime Quandalle
643eb8a7e1 Fix #409
Credits goes to @floatinghotpot, thanks!
2015-11-25 21:55:22 -08:00
Xavier Priour
33193b6f7b code review fixes 2015-11-17 08:52:55 +01:00
Xavier Priour
dd0a6e1a82 Import members: board import 2015-11-14 01:41:02 +01:00
Xavier Priour
a7427b9ae4 merge with /devel 2015-11-13 12:43:34 +01:00
Xavier Priour
3dc70b3ea4 Import members: UI flow ok 2015-11-13 12:35:41 +01: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
a6bd49da9f Update Meteor packages 2015-11-08 21:15:31 -08: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
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
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
b9d20e04f2 Display the board name in the page title
Fixes #364
2015-10-22 18:13:16 +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
15ebfa63c6 Translate the label colors 2015-10-15 00:52:32 +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
a78debc461 Support app deployment under a path prefix
Fixes #133
2015-10-08 23:28:27 +02:00
hack1m
6db8bfc343 updated to Meteor 1.2.0.2 2015-10-05 16:25:27 +08:00
Maxime Quandalle
b8403b9c35 Upgrade to Meteor 1.2 2015-09-22 15:24:18 +02:00
Maxime Quandalle
bc1a576a67 Upgrade Meteor 1.2 to RC 14
This fixes the weird trace reported in #264 and in
https://github.com/meteor/meteor/issues/5107.
2015-09-12 23:44:46 +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
cd8434bf22 Upgrade dependencies 2015-09-06 22:35:49 +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
40fafd4b14 Upgrade meteor to v1.2-rc12 2015-09-04 01:02:51 +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
732aa5eccb Upgrade Meteor to v1.2-rc7 2015-08-28 11:54:02 +02:00
Maxime Quandalle
84f49fa7a1 Call me Wekan
Thank you @neynah for the Wekan icons

Closes #247
2015-08-28 09:52:20 +02:00
Maxime Quandalle
6730478008 Replace bower packages by meteor ones
Bower build process was sometimes unpredictable and had unspecified
dependencies (git) that caused bugs (eg #164, #172). Meteor packages
have better integration with the meteor build system and ensure
deterministic build, the downside being that we have to maintain
wrapper of JS package just for the purpose of publishing in
atmosphere. Others are also struggling with this, see for instance:

  https://github.com/MeteorCommunity/discussions/issues/14

Hopefully we'll have a better solution one day (official browserify
integration? Who knows.)

As a side effect the new release of perfect-scrollbar breaks the
style, this will be fixed in a later commit.

Fixes #172
2015-08-25 20:31:09 +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
d5eec54c72 Start the migration from iron-router to flow-router
Motivations:

* Iron-Router foces us to use Tracker.nonreactive black magic in order
  to avoid un-necessary re-renders;
* There is a community consensus (supported by some MDG members) that
  the flow-router API is easier to reason about;
* The useraccounts now supports flow router (that was a blocking
  element when I considered the switch ~3months ago)

On the server we use the Picker router, as encouraged by the Kadira
team (which develop both Flow and Picker routers).

In the current state of things there are some bugs related to the
missing Loading architecure. Previously onRendered callback where
always called when the data the component needed was available, now
we have to handle this ourselves, which we will in a following commit.
2015-08-23 11:11:03 +02:00
Maxime Quandalle
04bfbd5bd1 Implement list restoration 2015-08-22 02:06:49 +02:00
Maxime Quandalle
4fc72d64b4 Upgrade dependencies
This includes a security fix in mquandalle:bower, and a new package
for useraccounts iron-router templates which forced us to move some
configuration function calls.
2015-08-22 01:05:09 +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
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
Maxime Quandalle
5cd0ec08aa Use GitHub flavored markdown
Replace meteor core markdown package by perak:markdown, that supports
line breaks and tables.

Fixes #124.
2015-06-06 11:00:18 +02:00
Maxime Quandalle
5d1c6b63be Upgrade packages 2015-06-03 06:59:42 +02:00
Maxime Quandalle
f4c80d1315 Implement presence indicators 2015-05-30 15:50:48 +02:00
Maxime Quandalle
9a45f3752f Improve scrolling
We now replace native scrollbar by custom ones on the list card (which
is required by the new ergonomics in the parent commit), but the
"scrolling engine", is still native, we just hide the scrollbar and
draw our own in HTML/CSS using the perfect-scrollbar package (from
bower).

This commit also implements component scrolling when certain actions
are performed, eg scroll to the bottom when the new card composer is
opened.
2015-05-24 22:16:40 +02:00
Maxime Quandalle
d81cad4251 Upgrade dependencies 2015-05-22 19:47:55 +02:00
Maxime Quandalle
790a0e0a2d Upgrade the useraccount system that support autofocus
v1.10.0 fixes https://github.com/meteor-useraccounts/core/issues/384
2015-05-18 12:49:11 +02:00
Maxime Quandalle
018bb343b5 Fix new list form
Fixes #157.
2015-05-14 15:21:48 +02:00
Maxime Quandalle
22b8b6ab20 Style tweaks
Follows strictly jshint and jscs rules.
2015-05-14 14:28:47 +02:00
Maxime Quandalle
2dbea30842 Renaissance
_,,ad8888888888bba,_
                  ,ad88888I888888888888888ba,
                ,88888888I88888888888888888888a,
              ,d888888888I8888888888888888888888b,
             d88888PP"""" ""YY88888888888888888888b,
           ,d88"'__,,--------,,,,.;ZZZY8888888888888,
          ,8IIl'"                ;;l"ZZZIII8888888888,
         ,I88l;'                  ;lZZZZZ888III8888888,
       ,II88Zl;.                  ;llZZZZZ888888I888888,
      ,II888Zl;.                .;;;;;lllZZZ888888I8888b
     ,II8888Z;;                 `;;;;;''llZZ8888888I8888,
     II88888Z;'                        .;lZZZ8888888I888b
     II88888Z; _,aaa,      .,aaaaa,__.l;llZZZ88888888I888
     II88888IZZZZZZZZZ,  .ZZZZZZZZZZZZZZ;llZZ88888888I888,
     II88888IZZ<'(@@>Z|  |ZZZ<'(@@>ZZZZ;;llZZ888888888I88I
    ,II88888;   `""" ;|  |ZZ; `"""     ;;llZ8888888888I888
    II888888l            `;;          .;llZZ8888888888I888,
   ,II888888Z;           ;;;        .;;llZZZ8888888888I888I
   III888888Zl;    ..,   `;;       ,;;lllZZZ88888888888I888
   II88888888Z;;...;(_    _)      ,;;;llZZZZ88888888888I888,
   II88888888Zl;;;;;' `--'Z;.   .,;;;;llZZZZ88888888888I888b
   ]I888888888Z;;;;'   ";llllll;..;;;lllZZZZ88888888888I8888,
   II888888888Zl.;;"Y88bd888P";;,..;lllZZZZZ88888888888I8888I
   II8888888888Zl;.; `"PPP";;;,..;lllZZZZZZZ88888888888I88888
   II888888888888Zl;;. `;;;l;;;;lllZZZZZZZZW88888888888I88888
   `II8888888888888Zl;.    ,;;lllZZZZZZZZWMZ88888888888I88888
    II8888888888888888ZbaalllZZZZZZZZZWWMZZZ8888888888I888888,
    `II88888888888888888b"WWZZZZZWWWMMZZZZZZI888888888I888888b
     `II88888888888888888;ZZMMMMMMZZZZZZZZllI888888888I8888888
      `II8888888888888888 `;lZZZZZZZZZZZlllll888888888I8888888,
       II8888888888888888, `;lllZZZZllllll;;.Y88888888I8888888b,
      ,II8888888888888888b   .;;lllllll;;;.;..88888888I88888888b,
      II888888888888888PZI;.  .`;;;.;;;..; ...88888888I8888888888,
      II888888888888PZ;;';;.   ;. .;.  .;. .. Y8888888I88888888888b,
     ,II888888888PZ;;'                        `8888888I8888888888888b,
     II888888888'                              888888I8888888888888888
    ,II888888888                              ,888888I8888888888888888
   ,d88888888888                              d888888I8888888888ZZZZZZ
,ad888888888888I                              8888888I8888ZZZZZZZZZZZZ
888888888888888'                              888888IZZZZZZZZZZZZZZZZZ
8888888888P'8P'                               Y888ZZZZZZZZZZZZZZZZZZZZ
888888888,  "                                 ,ZZZZZZZZZZZZZZZZZZZZZZZ
8888888888,                                ,ZZZZZZZZZZZZZZZZZZZZZZZZZZ
888888888888a,      _                    ,ZZZZZZZZZZZZZZZZZZZZ88888888
888888888888888ba,_d'                  ,ZZZZZZZZZZZZZZZZZ8888888888888
8888888888888888888888bbbaaa,,,______,ZZZZZZZZZZZZZZZ88888888888888888
88888888888888888888888888888888888ZZZZZZZZZZZZZZZ88888888888888888888
8888888888888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888888
888888888888888888888888888888888ZZZZZZZZZZZZZZ88888888888888888888888
8888888888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888888888
88888888888888888888888888888ZZZZZZZZZZZZZZ888888888888888888888888888
8888888888888888888888888888ZZZZZZZZZZZZZZ88888888888888888 Normand  8
88888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888 Veilleux 8
8888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888888888888888
2015-05-12 19:33:50 +02:00