Commit graph

10296 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
Maxime Quandalle
0cdcccf1f6 Send invite email in the server console in development mode
Meteor support that use case for us, we don't need to implement our
own validate strategy on top of that. This was also discussed as part
of the #454 review.
2016-01-01 13:31:54 +01:00
Maxime Quandalle
9fa2917634 Merge pull request #463 from alayek/autosize-card-title
Autosize card title

Fixes #394
2016-01-01 10:45:07 +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
9c013d3233 Merge branch 'master' into devel
Conflicts:
	sandstorm-pkgdef.capnp
2015-12-30 19:42:35 +01:00
Maxime Quandalle
5495829f11 Release 0.10.1 2015-12-30 19:36:08 +01:00
Maxime Quandalle
0587223489 Fix avatar support on Sanstorm
The bug comes for 9154b06 which this commit partially reverts. The
synchronization between the user document profile and the Sandstorm
HTTP headers is still not perfect. Having a clean model may requires
the `accounts-sandstorm` to expose a hook to modify the user document
just after the `services.sandstorm` credentials are updated.

Fixes #460
2015-12-30 19:36:01 +01:00
Maxime Quandalle
15e692a7d2 Fix drag and drop on Sandstorm
This bug was introduced with the introduction of fast-render in
41b23f8. With fast-render data is available instantly after the page
logging, but calls to `Meteor.userId()` still return `null` as the
user isn't authenticated on the DDP channel yet (previously the data
was loaded on DDP after user authentication). Which mean that we know
need to reactively activate Drag and Drop on user log in.

I'm not sure why I was not able to reproduce this bug outside of
Sandstorm.

Fixes #453
2015-12-30 19:35:56 +01:00
Maxime Quandalle
d9b74131ae Fix avatar support on Sanstorm
The bug comes for 9154b06 which this commit partially reverts. The
synchronization between the user document profile and the Sandstorm
HTTP headers is still not perfect. Having a clean model may requires
the `accounts-sandstorm` to expose a hook to modify the user document
just after the `services.sandstorm` credentials are updated.

Fixes #460
2015-12-30 19:34:18 +01:00
Maxime Quandalle
f6c01161a0 Fix drag and drop on Sandstorm
This bug was introduced with the introduction of fast-render in
41b23f8. With fast-render data is available instantly after the page
logging, but calls to `Meteor.userId()` still return `null` as the
user isn't authenticated on the DDP channel yet (previously the data
was loaded on DDP after user authentication). Which mean that we know
need to reactively activate Drag and Drop on user log in.

I'm not sure why I was not able to reproduce this bug outside of
Sandstorm.

Fixes #453
2015-12-30 19:22:30 +01:00
Maxime Quandalle
46bf6ef803 Force new lines at the end of files 2015-12-30 17:03:27 +01:00
Maxime Quandalle
0833a22742 Forbid trailing spaces 2015-12-30 16:49:39 +01:00
Maxime Quandalle
6dc7404f23 Share the router configuration between the client and the server 2015-12-28 23:13:20 +01:00
Maxime Quandalle
592aa6d576 Partially revert aae5030
As discussed in #370 and announced in the official Eslint-meteor
plugin repository (https://github.com/dferber90/eslint-plugin-meteor),
it is recommended to not use this plugin anymore has the author has it
is currently broken and the author has abandoned it.
2015-12-24 13:13:05 +01:00
Maxime Quandalle
d9bc56896d Merge pull request #455 from floatinghotpot/bugfix-userform
optimize login form layout & css
2015-12-28 10:44:11 +01:00
floatinghotpot
55bd26dc9c Optimize login form layout & css
Fixes #448
2015-12-28 11:35:38 +08:00
Maxime Quandalle
cf6139d9e3 Upgrade the version of mquandalle:jade
v0.4.7 was bugged, see https://github.com/mquandalle/meteor-jade/issues/195
2015-12-26 23:31:21 +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
Maxime Quandalle
f90ac03f6d Release 0.10.0
Closes #425
2015-12-22 22:55:13 +01:00
Maxime Quandalle
d6ba734fa9 Release 0.10.0 2015-12-22 22:19:27 +01:00
Maxime Quandalle
94e57dcf71 Pull translations from Transifex 2015-12-22 22:18:55 +01:00
Maxime Quandalle
c615d1d273 Remove the import trello card feature
See the following discussion for rationale:

  https://github.com/wekan/wekan/issues/113#issuecomment-163039089
2015-12-22 22:08:01 +01:00
Maxime Quandalle
e124ad8ed9 Fix invitation email subject 2015-12-21 23:46:51 +01:00
Maxime Quandalle
a762f6dc9d Support card and and drop on mobile web
Fixes #449
2015-12-21 23:01:14 +01:00
Maxime Quandalle
17a2118b38 Don't display sing-in link to connected users 2015-12-21 19:20:27 +01:00
Maxime Quandalle
9b9d21030b Don't publish private boards meta-data to former members
Fixes #302
2015-12-21 18:05:40 +01:00
Maxime Quandalle
8a47cfa4ba Unassign members before removing them from a board
Closes #399
2015-12-21 17:54:21 +01:00
Maxime Quandalle
2cb6195591 Release v0.10.0-rc4 2015-12-19 18:28:04 +01:00
Maxime Quandalle
7c4640bb63 Improve some activitiy messages
Fixes #433
2015-12-19 17:51:56 +01:00
Maxime Quandalle
f30c776f20 Fix home header bar
The issue was introduced in 3b2eb0f but was only partially fixed (in
urgency) in 71b9a42. We sould have test to avoid these trivial
regressions! (I guess React will also yelp in this particular case by
removing the need to link the template and the "component", and thus
removing the possibility to break this link)

Fixes #434
2015-12-19 17:39:38 +01:00
Maxime Quandalle
299c429042 Merge pull request #435 from xavierpriour/devel
Export a board to JSON

Fixes #396
2015-12-18 00:35:32 +01:00
Xavier Priour
115ea533f6 Export: improved API routes
- use an explicit "boards" domain: /api/boards/:boardId
- pass authToken as a request parameter: /api/boards/:boardId?authToken=:token
- in the future, same route can be used with authToken set in the Authenticate: header easily
2015-12-17 23:57:28 +01:00
Maxime Quandalle
dbb6921faa Merge pull request #444 from floatinghotpot/patch-9
fix board header issue
2015-12-17 14:59:03 +01:00
floatinghotpot
d2ac3dc63d fix board headeer issue 2015-12-17 20:38:33 +08:00
Xavier Priour
a45a899137 Improved doc on server-side export route 2015-12-17 13:11:33 +01:00
Xavier Priour
43b1c4b576 Merge remote-tracking branch 'upstream/devel' into devel 2015-12-17 11:59:26 +01:00
Xavier Priour
4cea6fca90 Export: include attachments 2015-12-17 11:58:55 +01:00
Xavier Priour
3a52d7d7af Export: add _format field 2015-12-17 10:22:48 +01:00
Maxime Quandalle
ce88495d47 Complete the release notes for 0.10 2015-12-17 07:42:09 +01:00
Maxime Quandalle
d6f1e61130 Merge pull request #442 from floatinghotpot/mobile-web
This PR improves the UI on devices or windows with small screens.

Fixes #75 
Fixes #437
2015-12-17 07:29:46 +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
Xavier Priour
d08e1cc45b Export Wekan now server-based with proper auth 2015-12-16 21:58:43 +01:00
Maxime Quandalle
15245a9055 Merge pull request #439 from Zyko0/devel
One click deploy to Scalingo
2015-12-16 20:02:28 +01:00
Xavier Priour
efe7c21d57 Export wekan: do not export board.stars 2015-12-16 16:30:48 +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
bertrand jung
06eff61f99 Add Scalingo one-click deploy 2015-12-14 15:20:16 +01:00
Xavier Priour
f5eba16a50 fix eslint 2015-12-13 21:38:22 +01:00
Xavier Priour
e304185c23 Merge remote-tracking branch 'upstream/devel' into devel 2015-12-13 20:02:51 +01:00
Xavier Priour
18697d45f6 board export now checks authentication 2015-12-13 20:02:34 +01:00