Commit graph

92 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Maxime Quandalle
3b2eb0ffa1 Fix board archive instructions
Fixes #277.
2015-12-09 19:08:17 -05:00
Xavier Priour
f20b5d04f5 export board to Wekan JSON 2015-12-09 00:35:45 +01:00
floatinghotpot
21fa6fdc32 add: optional board description 2015-12-07 11:22:30 +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
floatinghotpot
1a4ff82680 bugfix: template. does not accept dom elements, but jquery can 2015-11-27 11:55:29 +08:00
Maxime Quandalle
f9cbc1da4c Fix an exception introduced in 41b23f8 2015-11-01 17:21:05 -08:00
Maxime Quandalle
dd3cdf3945 Fix some bugs introduced in aa974aa
Yes Wekan need some tests. Yes I need to stop refactoring my code
when I’m halp-sleeping in my bed at 4am.
2015-10-29 23:17:21 +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
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
118b434a5a Provide a default date for lists and cards creation date
See https://github.com/wekan/wekan/pull/362#issuecomment-149645497
for motivation.

This commit also contains cosmetic changes to the import Popup and
on the code style to be more consistent with the code base.
2015-10-20 20:02:12 +02:00
Xavier Priour
468694a84c Import board: added UI 2015-10-17 18:00:46 +02:00
Maxime Quandalle
33888f9fbb Merge pull request #316 from AlexanderS/fix/delete-card
Fix card deletion

This bug was introduced in b3851817.
2015-09-20 16:57:00 +02: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
b14fd985ff Add some strings to the translation set 2015-09-18 17:37:01 +02:00
Maxime Quandalle
0f014c954c Merge branch 'master' into devel 2015-09-10 19:25:15 +02:00
Maxime Quandalle
e65c79edfa Fix text selection in the card detailed pane
Fixes #255.
2015-09-10 18:22:10 +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
74fba0a817 Fix a recurrent English typo 2015-09-06 22:47:29 +02:00
Maxime Quandalle
559de5602c Fix an issue with the star counter 2015-09-05 23:14:24 +02:00
Maxime Quandalle
82b3227778 Fix member permission modification
Fixes #280
2015-09-05 01:37:55 +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
039cfe7edf Improve list title form 2015-09-02 22:56:12 +02:00
Maxime Quandalle
9961de9c30 Update translation source file 2015-09-01 14:38:07 +02:00