Commit graph

54 commits

Author SHA1 Message Date
Tobias
446e29e422 fix error when the sidebar is not visible 2019-08-12 17:24:53 +02:00
Lauri Ojansivu
f7e0b837d3 Hide minicard label text: per user checkbox setting at sidebar.
Thanks to xet7 !

Closes #1466,
closes #2561
2019-08-07 18:11:34 +03:00
Justin Reynolds
3eb4d2c341 Prettier & eslint project style update 2019-06-28 12:56:51 -05:00
Lauri Ojansivu
847ed8570b [Combine hamburger menus at right](https://github.com/wekan/wekan/issues/2219).
Thanks to xet7 !

Related #2219
2019-03-03 22:27:05 +02:00
guillaume
41330b15dc update broke ability to mute notifications 2018-10-16 11:33:16 +02:00
Lauri Ojansivu
77efcf7137 - Add permission "No comments". It is like normal user, but does not show comments and activities.
Thanks to xet7 !
2018-09-04 20:09:36 +03:00
IgnatzHome
9518a5c11e resolving merge conflicts 2018-05-17 20:21:07 +02:00
Ghassen Rjab
59ba2111e8 Fix lint warnings 2018-02-27 02:57:58 +01:00
Ghassen Rjab
636e1657f6 Add search sidebar 2018-02-23 01:09:59 +01:00
amadilsons
6ba1fc5ba1 user can now leave the board 2017-10-09 14:49:03 +02:00
Pouyan Savoli
3753337d60 dropdown items 2017-09-22 22:59:32 +02:00
Pouyan Savoli
afd87e3caa many custom fields model and UI enhancements 2017-09-22 22:59:32 +02:00
Pouyan Savoli
ade3c02122 Create custom fields creation UI added to Board Menu, Model in progress 2017-09-22 22:59:32 +02:00
Ryan Helsing
3fbce6dfd2 fix understood syntax 2017-03-19 15:21:06 -04:00
Ryan Helsing
cf85c9c6cd dont show list options 2017-03-18 15:27:24 -04:00
Ryan Helsing
e6276271b1 ability to store comment only, actual prevention next 2017-03-18 14:59:28 -04:00
Joel Louzado
46d19af6d9 removed trailing-whitespace 2017-02-15 21:34:52 +05:30
Joel Louzado
7393818fc0 Added dynamic tooltip for sidebar tongue 2017-02-15 21:30:03 +05:30
Lauri Ojansivu
01137b48e3 Merge branch 'feature/link-to-shortcuts' of https://github.com/AlexanderS/wekan into AlexanderS-feature/link-to-shortcuts 2017-02-10 09:18:17 +02:00
Lauri Ojansivu
fc9d6e302f Merge branch 'fix-quit-board' of https://github.com/umbertooo/wekan into umbertooo-fix-quit-board 2017-02-10 08:20:20 +02:00
David Renshaw
1ad44de8c6 powerbox identity requests 2016-11-03 23:42:00 -04:00
Felix Michels
eb618c891f Method 'quitBoard' requires boardId but got board 2016-10-26 14:18:28 +02:00
Alexander Sulfrian
c9e24ade24 UI: Add link to keyboard shortcuts 2016-04-25 19:07:36 +02: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
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
8a47cfa4ba Unassign members before removing them from a board
Closes #399
2015-12-21 17:54:21 +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
floatinghotpot
672c21bfe0 bugfix: only care active members, also optimize some code 2015-12-08 16:03:31 +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
5d77ad4f6b Finish the minicard editor auto-completion feature
This commit stands on the initial support implemented in #342. We now
avoid error-prone parsing step by adding the member or the label
directly to the card object.

We also added support for `Tab` to completion on our textComplete
component.

Closes #342
2015-11-08 23:17:24 -08:00
Maxime Quandalle
aa974aa54a Prefer ES5 methods over underscore utilities
Since 07cc454 (ie the switch to Meteor 1.2) we includes the `es5-shim`
polyfill to support methods like `Array.prototype.forEach` in a
consistent way across all supported browsers (IE8+).

MDG recently released a blog post recommending the use of these native
methods instead of underscore [0]. We know follow this recommendation.

This commit also favor some ES6 features (argument defaults,
destructing assignment) in places where we didn’t use them.

[0]: http://info.meteor.com/blog/es2015-get-started
2015-10-22 18:13:12 +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
Alexander Sulfrian
bf8f335ae7 Fix removeMemberPopup
The removeMemberPopup was missing the required helper to get the user and board
information and the user profile field is called "fullname" and not "name".
2015-09-20 23:52:51 +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
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
91cfcf7b12 Yet another iteration on the user interface
* Automatically display the overlay when the card details is opened
  (previously we waited for the mouse to enter the card details panel)
* Improve the design of the minicards badges
* Change the minicard background when it is hovered or selected
* Removes unimplemented features links from the UI
* Fix the board canvas position when the sidebar is open (was hidden
  behind)

Fixes #215
2015-08-28 06:07:21 +02:00
Maxime Quandalle
d2af2ed521 Close the Popup when all escape actions are executed 2015-08-23 11:12: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
879fc47b53 Fix some sidebar bugs 2015-06-16 23:50:47 +02:00
Maxime Quandalle
a16b7cd69c Close "over elements" when opening the filter view 2015-06-13 15:22:42 +02:00
Maxime Quandalle
98d7278d08 Add a UI to restore archived cards 2015-06-07 18:55:26 +02:00
Maxime Quandalle
92dd05d06d Click on the page to escape the last action
This is a generalization of what we had for closing a popup by
clicking outside of it. It now works for inlinedForms and detailsPane
as well.
2015-06-07 10:34:19 +02:00
Maxime Quandalle
12919cbfc6 Restore the popup to add a member to the board 2015-06-06 14:50:45 +02:00
Maxime Quandalle
2c0030da62 Implement multi-selection
The UI and the internal APIs are still rough around the edges but the
feature is basically working. You can now select multiple cards and
move them together or (un|)assign them a label.
2015-05-30 03:50:14 +02:00
Maxime Quandalle
dcc64f44f9 UI improvements
* Implement visibility choice on board creation;

* Rework the board header bar. Remove links to un-implemented
features;

* Implement a board star counter (visible if the board have >2 stars);

* Define a new icon (a thin cross) to close elements;

* Remove $(document).on('mouseover') event handlers that were
basically fired hundreds of times for nothing, we now define a proper
Tracker dependency to execute jquery-ui plugin initialization only
when something has changed;

* Bug fixes related to list scrolling.
2015-05-27 17:23:25 +02:00
Maxime Quandalle
42f6dc686f Prioritize escape actions with a label hierarchy instead of an integer 2015-05-27 02:48:15 +02:00
Maxime Quandalle
40c2411f2a Implement a new system to handle "escape actions"
The new EscapeActions object decide what to do when the user press the
Escape key (such as closing a opened popup or inlined form).

This commit also re-introduced the sidebar current view as a sidebar
component local state.
2015-05-26 20:34:56 +02:00