Commit graph

236 commits

Author SHA1 Message Date
Maxime Quandalle
4f5cecf738 Merge #616 into devel 2016-07-18 15:40:41 +02:00
Alexander Sulfrian
855f56c61a profile.name is called profile.fullname (#615)
The name of the profile field was changed log ago. This fixes the
remaining wrong references.
2016-07-11 12:05:03 +02:00
Alexander Sulfrian
36f17a5717 UI: Fix overlapping click event handler (#614)
The click event handler for links in the card display are overlapping:
The general event for opening the link in a new window matches on user
mentions, too. But user mentions cannot be opened in a new window.
2016-07-11 12:04:42 +02:00
Alexander Sulfrian
3f12e3e96f UI: Fix small bug with the multi-selection button (#591)
This bug was introduced in 081b09207f.
2016-07-11 12:03:22 +02:00
Alexander Sulfrian
a2888250f4 Models: Replace before.insert with autoValues
The before.insert hooks have the problem, that they are executed in a
different order if called from the client or from the server. If called
from the client, the before.insert hook is called before validation of
the schema, but if called from the server, the validation is called
first and fails.
2016-06-03 03:56:35 +02:00
Alexander Sulfrian
5916ff3c1b UI: Add missing title attributes
The buttons of the normal view should have the same title attribute, than
the mini screen buttons.

I missed this in 0587158b6b.
2016-04-21 20:39:39 +02:00
Alexander Sulfrian
fad5150ada UI: Add log-in button to public boards
Even if a board is public and a user can view it, the user might want to
log in to be able to edit the board.

The button replaces the "public" permission indicator, because it is
obvious (if the user is not logged in and can view the board, it has to
be public).
2016-04-21 20:38:09 +02:00
Alexander Sulfrian
081b09207f UI: Only display the options, if there is a board
The board options does not have valid use case (or even valid values) if
the board is not found (either because the user is not logged in or the
board really does not exists).
2016-04-21 20:37:10 +02:00
Alexander Sulfrian
7513520a9b UI: Do not display notification settings
The notification settings are only usefull if there is a current user,
because the email address is required.
2016-04-21 20:35:26 +02:00
Alexander Sulfrian
0587158b6b Some small fixes for the buttons in the board header (#580)
* UI: Fix title of button

The multi selection button should not get the filter description.

* UI: Add title for all buttons in the header bar

This is espectially important for the miniScreen view, because there
is only the icon and no text next to the button.
2016-04-21 19:26:27 +02:00
Alexander Sulfrian
b24ee67bbb UI: Center text in the avatars (#581) 2016-04-21 19:25:54 +02:00
Maxime Quandalle
90428e7ba1 Merge pull request #530 from ForNeVeR/feature/move-to-end
Move cards to top / bottom
2016-03-19 11:34:10 +01:00
Friedrich von Never
cfbc8eed68 cardDetails: allow to move cards to top / bottom 2016-03-19 10:40:23 +06:00
Maxime Quandalle
e1d01e1652 Merge pull request #531 from TheElf/devel
Plural of Emoji
2016-03-18 17:14:10 +01:00
Maxime Quandalle
90601eacae Upgrade ESLint to v2
This commit also tweak the code style following backward-incompatible v2 rules.
2016-03-17 16:26:14 +01:00
Daniel
c05029d403 Changes in code to correct the spelling of emoji (plural) 2016-02-28 23:10:52 -06:00
Maxime Quandalle
b8aefedcc3 Fix a bug with the inheritance model
See https://github.com/meteor/meteor/issues/6162
2016-02-10 17:19:04 +01:00
Maxime Quandalle
b5ebbd2bf9 Simplify an internal data model used in the importer
We used to save the whole user document in a internal data structure while we
only needed the userId.
2016-01-31 20:03:17 +01:00
Maxime Quandalle
a13fad749e Change the board import layout from a popup to a full page
This commit also removes the “import a single Trello card” as we couldn’t figure
out some reasonable use case.

We also create a new publication on the server to provide the minimal user
profile informations required to display an avatar.
2016-01-31 20:03:12 +01:00
floatinghotpot
470832e798 Bugfix, and optimize icon for notification 2016-01-08 11:44:20 +08:00
Maxime Quandalle
1e8368dea5 Merge pull request #454 from floatinghotpot/notification
Add notifications, allow watch boards / lists / cards
2016-01-06 12:49:58 +01:00
Liming Xie
9bbdacc79a Add notification, allow watch boards / lists / cards 2016-01-05 23:26:02 +08:00
Maxime Quandalle
701262a439 Favor FlowRouter.url over Meteor.absoluteUrl
It hides the leading slash treatment as an hidden implementation
detail.
2016-01-05 13:37:15 +01:00
Maxime Quandalle
ac6491ea12 Remove unnecessary template name declaration
This code was duplicate with the name we use to `register` the
component. A update of blaze-component removed the need to duplicate
this declaration.
2016-01-03 23:45:46 +01:00
Maxime Quandalle
46747b01fb Fix card infinite scrolling on card activities
I imagine blaze-component changed their Mixins API since I written
this code. We need some tests to avoid this kind of regressions when
updating dependencies!

Fixes #420
2016-01-03 23:40:08 +01:00
Dominic Sonntag
7357d28fea added exact time as tooltip to activity time (saying only something like 'x days ago') 2016-01-03 01:47:16 +03:00
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
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
0833a22742 Forbid trailing spaces 2015-12-30 16:49:39 +01:00
floatinghotpot
55bd26dc9c Optimize login form layout & css
Fixes #448
2015-12-28 11:35:38 +08: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
17a2118b38 Don't display sing-in link to connected users 2015-12-21 19:20:27 +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
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
floatinghotpot
d2ac3dc63d fix board headeer issue 2015-12-17 20:38:33 +08:00
Xavier Priour
43b1c4b576 Merge remote-tracking branch 'upstream/devel' into devel 2015-12-17 11:59:26 +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
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
Maxime Quandalle
2733c1d3a0 Add a button to move selected cards
This is an alternative to drag and drop to move a set of selected
cards. This feature was available at the list level until I deleted it
in 5bdf91b, so it makes sense to add it back at the multi-selection
level.
2015-12-10 00:34:44 -05:00
Maxime Quandalle
0954ef3e44 Dynamically resize the new card form if the title is too long 2015-12-09 23:20:53 -05:00
Maxime Quandalle
480ef63273 Fix a regression introduced in 71b9a42f
The buttons in the board header were not click-able anymore.
2015-12-09 23:20:44 -05:00
Maxime Quandalle
71b9a42f00 Allow the header bar customization
This commit also provide a way to escape the Shorcuts page on
Sandstorm.
2015-12-09 19:10:26 -05:00