Commit graph

46 commits

Author SHA1 Message Date
Lauri Ojansivu
eb9d417a27 Add mixmax:smart-disconnect to lower CPU usage when
browser tab is not selected. Thanks mfshiu !
Related wekan/wekan-mongodb#2
2017-12-12 14:06:14 +02:00
Lauri Ojansivu
8dd6255ebf Revert back to Meteor v1.4, Node v4.8.6 and MongoDB v3.2.18 2017-12-12 13:58:46 +02:00
Lauri Ojansivu
415fafe7f6 Add mixmax:smart-disconnect to lower CPU usage when
browser tab is not selected. Thanks mfshiu !
Related wekan/wekan-mongodb#2
2017-12-12 13:50:19 +02:00
Lauri Ojansivu
7afea1809f Revert Meteor 1.6.1 upgrade because it broke Wekan. So now using Meteor 1.6. 2017-12-11 21:13:30 +02:00
Lauri Ojansivu
1790b99fe0 Version updates. 2017-12-11 18:15:02 +02:00
Lauri Ojansivu
ba9e163dd5 Remove not needed packages. Upgrade packages. Update Sandstorm capnp path.
Note: This version does not work on Sandstorm yet.
2017-12-03 18:50:22 +02:00
Lauri Ojansivu
d6a5cb534d Try upgrading Wekan to Node v6.12 and Meteor 1.6, still using MongoDB 3.2.18.
Standalone Wekan seems to work, needs testing.
This does not fix crash bug of MongoDB 3.4.x.
This version does not yet work on Sandstorm.
2017-12-03 02:29:37 +02:00
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
Lauri Ojansivu
a62c8eb5a0 Add emojis back, because removing them broke local dev Sandstorm.
Thanks to xet7 ! Opens #1248, opens #743, opens #643, opens #323
2017-09-25 19:40:41 +03:00
Lauri Ojansivu
c4fd729b34 Remove emoji support, because it breaks MAC addresses, urls, code etc.
Thanks to xet7 ! Closes #1248, closes #743, closes #643, closes #323
2017-09-25 18:30:26 +03:00
Lauri Ojansivu
2302453b36 Node.js etc updates. Thanks to johnleeming !
Fix: Adding user to board causes node.js to crash. Thanks to nztqa ! Closes #1131
2017-07-15 00:01:45 +03:00
nztqa
d31b4cd2d9 Add http package 2017-07-09 14:56:40 +09:00
Lauri Ojansivu
f0f27d1b95 Remove submodules and clone them instead, only latest history and one branch. Closes #977 2017-06-23 17:17:02 +03:00
Lauri Ojansivu
728535a0e9 Fix Case-sensitive email handling. Thanks to nztqa ! Closes #675 2017-06-23 10:10:20 +03:00
huneau romain
b5271e5346 add token authentication, only admin can use api 2017-05-11 12:15:02 +02:00
Lauri Ojansivu
f8cd29ea24 Updating meteor dependencies, because wekan still seems to work. 2017-04-27 21:04:31 +03:00
Brylie Christopher Oxley
ebe42b4358 meteor update all packages 2017-03-30 12:29:20 +03:00
Serubin
92a34ba6a7 Added local dependency for flow-router 2017-03-22 22:23:49 -04:00
shoetten
de3be14d01 Use atmosphere package of bootstrap-datepicker lib. 2016-11-22 21:28:54 +01:00
Maxime Quandalle
35c6b51a3f
Meteor and Meteor packages updates
Meteor was updated to 1.3.4.4, though we haven't modified the code base to
organize it around the new module system, we will still benefit from the
possibility of importing NPM packages dirrectly. From my tests, it also improves
the build time.

Also as https://github.com/meteor/meteor/pull/5841 was merged in Meteor 1.3.4.2,
\#385 is now fixed.

We updated the following packages in the process:

aldeed:collection2          upgraded from 2.8.0 to 2.9.1
aldeed:collection2-core     upgraded from 1.0.0 to 1.1.1
alethes:pages               upgraded from 1.8.4 to 1.8.6
arillo:flow-router-helpers  upgraded from 0.4.7 to 0.5.2
blaze-html-templates        removed from your project
cfs:http-methods            upgraded from 0.0.30 to 0.0.32
cosmos:browserify           removed from your project
cottz:publish-relations     upgraded from 2.0.0 to 2.0.6
kadira:dochead              upgraded from 1.4.0 to 1.5.0
kadira:flow-router          upgraded from 2.10.1 to 2.12.1
kenton:accounts-sandstorm   upgraded from 0.1.8 to 0.5.1
meteorhacks:fast-render     upgraded from 2.11.0 to 2.14.0
meteorhacks:inject-data*    upgraded from 1.4.1 to 2.0.0
meteorhacks:meteorx         added, version 1.4.1
meteorhacks:subs-manager    upgraded from 1.6.3 to 1.6.4
mquandalle:jade             upgraded from 0.4.8 to 0.4.9
softwarerero:accounts-t9n   upgraded from 1.1.7 to 1.3.4
tap:i18n                    upgraded from 1.7.0 to 1.8.2
templates:tabs              upgraded from 2.2.0 to 2.2.2
useraccounts:core           upgraded from 1.13.1 to 1.14.2
useraccounts:flow-routing   upgraded from 1.13.1 to 1.14.2
useraccounts:unstyled       upgraded from 1.13.1 to 1.14.2
2016-07-18 17:51:41 +02:00
Maxime Quandalle
61e6e71f29 Downgrade blaze-component
The upgrade in 9ef8eba introduced a breaking change.

peerlibrary:blaze-components  downgraded from 0.16.2 to 0.15.1
peerlibrary:data-lookup       removed from your project

Fixes #471
2016-01-05 18:14:56 +01:00
Maxime Quandalle
c69f993013 Accelerate the build process
Following a valuable comment from @Slava [0], this commit improves the
build and the reload time of Wekan. It does so by implementing the
following changes:

* Upgrade the meteor build tool to a version which includes a fix to
  an issue with the caching of the dependency resolution [1]. This fix
  will be included in Meteor 1.3, so we won't have to use a
  "special release" anymore;
* Change the stylus package from `mquandalle:stylus` to `stylus` as we
  don't use the libraries included with my (mquandalle) version like
  Jeet or Rupture, and the core package implement the new meteor build
  plugin API with caching. The generated CSS file is slighly different
  mostly mostly because we miss some autoprefixed values but even
  until meteor-core figure out a good way to configure CSS
  autoprefixing, the benefits (better compile time) outweights the
  cons. For record I attached a diff in the generated style [2];
* Upgrade `mquandalle:jade` to a version that implements the build
  plugin caching correctly.

These 3 changes decrease the reload time of about 50% on my computer.

[0]: https://github.com/meteor/meteor/issues/5269#issuecomment-166422201
[1]: https://github.com/meteor/meteor/pull/5747
[2]: https://gist.github.com/mquandalle/e95198626767b56fc63a
2015-12-24 14:39:07 +01:00
Xavier Priour
d08e1cc45b Export Wekan now server-based with proper auth 2015-12-16 21:58:43 +01:00
Xavier Priour
0608b90d3b Merge remote-tracking branch 'upstream/devel' into devel 2015-12-16 16:23:58 +01:00
Maxime Quandalle
677e9937e0 Replace reywood:publish-composite by cottz:publish-relations
Since bug #431 is due to publish-composite I tried to fix this package
and propose a pull request but the code was difficult to refactor. I
decided to use @cottz package instead which handled DDP messages in
the correct order.

Fixes #431
2015-12-14 20:23:43 +01:00
Xavier Priour
18697d45f6 board export now checks authentication 2015-12-13 20:02:34 +01:00
Xavier Priour
f20b5d04f5 export board to Wekan JSON 2015-12-09 00:35:45 +01: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
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
b9d20e04f2 Display the board name in the page title
Fixes #364
2015-10-22 18:13:16 +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
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
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
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
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