Commit Graph

363 Commits

Author SHA1 Message Date
Frédéric Guillot e1849fb4c1 Remove dependency on bower 2019-02-21 13:59:41 -08:00
Frédéric Guillot 23417da763 Replace accordion Javascript component by <details> HTML element 2019-02-19 14:45:01 -08:00
Miodrag Tokić eccfff451a Limit assignee drop-down selector scope
On the task details page "Add a sub-task" pop-up modal contains
drop-down (the SELECT HTML element) with "form-user_id" as the `name`
and the `id` attribute value. This element is in conflict with another,
hidden INPUT element with the same `name` and the `id` value. This
causes an issue where clicking the "Me" (Assignee) link / shortcut (A)
element doesn't select your name in the Assignee SELECT element.

Avoiding conflict by changing the SELECT element `id` value is not
possible as the SELECT element is generated using `FormHelper::select()`
function which uses the same value for attribute `name` and `id`.

Given the assignee shortcut feature is used only in two places: edit
task and edit sub-task dialog, the simplest solution is to select the
closest SELECT element to the link / shortcut (A) element or limit the
scope to the currently opened dialog.

This fix uses the latter approach by limiting the scope of targeted
selector.
2018-12-20 13:57:43 +01:00
Frédéric Guillot 5a2836bf39 Revert "Easier closing of dialogs" (introduces regression on date time picker)
This reverts commit 71630aaa77.
2018-10-23 15:12:44 -07:00
Michael 71630aaa77 Easier closing of dialogs
Allow closing of dialogs by clicking on the background area around it.

When the dialog is closed in this manner, if it contains a form with changed data present a warning that there are unsaved changes. Likewise if the user attempts to navigate away from the page, eg page reload, bookmark click, address bar entry.

If the dialog does not contain a form or the data remains unchanged no warning messages are shown.
2018-10-15 17:47:38 -07:00
Vadim Zhukov 497f36983c Do not try to redirect to login page when offline 2018-10-01 17:46:50 -07:00
Frédéric Guillot 1db83cddd0 Define fixed width for auto-complete dropdown 2018-10-01 17:10:29 -07:00
Julian Maurice 14d1411300 Fix task drag and drop slowdown when a column is hidden
It looks like jQuery UI has some difficulties when a column with a lot
of tasks is hidden.
Adding ':visible' to the connectWith properties of sortable() seems to
fix the problem

Fixes #4011
2018-09-28 19:18:18 -07:00
Frédéric Guillot 0fc847f572 Update jQuery to latest version 2018-06-11 11:04:42 -07:00
Frédéric Guillot 912cf378d7 Add checkboxes in list view to move tasks to another column at once 2018-06-01 15:58:17 -07:00
Frédéric Guillot c8df8a7c8c Fix escaping issue for Markdown editor 2018-05-03 15:15:50 -07:00
Frédéric Guillot dd63f473d8 Rebuild vendor assets without jQuery tooltip plugin 2018-04-20 15:27:02 -07:00
Frédéric Guillot 5996a8abcf Rewrite tooltips code without jQuery 2018-04-20 15:18:30 -07:00
Frédéric Guillot 9ddefa979a Add CSRF check for task and project files upload 2018-01-29 15:56:30 -08:00
Frédéric Guillot f6756b837a Rebuild JS 2018-01-25 15:00:50 -08:00
kousu 602caf390d Set the correct swimlane/column ID when moving a task via its internal dialog.
Fixes https://github.com/kanboard/kanboard/issues/3114.
2018-01-25 11:09:22 -05:00
Frederic Guillot 2a313eb971 Add the possibility to send tasks and comments to multiple recipients 2017-11-17 14:46:23 -08:00
Frederic Guillot 63dbab199c Fix project dropdown visibility when page is scrolled down 2017-11-10 15:55:05 -08:00
Frederic Guillot 44aa24bab1 Add user backend provider system 2017-11-09 15:09:54 -08:00
Frederic Guillot 877c61d279 Merge and fix PR #3469 2017-11-09 11:54:21 -08:00
Frederic Guillot 648dc6bcfb Add predefined templates for task descriptions 2017-11-02 15:41:58 -07:00
Frederic Guillot bd695ae985 Improve external task integration 2017-10-18 13:56:57 -07:00
Frederic Guillot 217977500a Fix Javascript language mapping 2017-06-23 17:18:10 -04:00
Frederic Guillot 25b8961632 Rebuild assets 2017-06-19 20:45:57 -04:00
Frederic Guillot abebd92629 Use dot notation in Javascript component 2017-06-03 18:37:12 -04:00
Frederic Guillot 6b9b9d2d1c Add autocomplete dropdown on comment subject and email fields 2017-06-03 17:51:20 -04:00
Frederic Guillot dd8d7ef49d Add configurable list of predefined subjects when sending a task by email 2017-06-03 17:31:32 -04:00
Frederic Guillot 9668723af4 Add dropdown menu to autocomplete email field from project members 2017-06-03 16:53:40 -04:00
ON-jz e8c83c97d7 Added new javascript events for dropdown and modal
- dropdown.clicked
- dropdown.afterRender
- dropdown.beforeDestroy
- modal.open
- modal.afterRender
- modal.beforeDestroy
2017-05-18 21:47:44 -04:00
Frederic Guillot d456a5e7e4 Add localized js files for datepicker 2017-04-08 17:33:40 -04:00
Frederic Guillot 003c03a4e6 Add project restriction to block task edition 2017-04-07 21:46:36 -04:00
Frederic Guillot 5cc4889473 Move Gantt charts to external plugin 2017-04-01 17:04:18 -04:00
Frederic Guillot 253d5a9331 Move calendar to external plugin 2017-04-01 15:43:36 -04:00
Frederic Guillot 6bd0ce25c9 Restore task title link on board 2017-03-19 17:44:43 -04:00
Frederic Guillot d915c2a96b Improve subtask toggle 2017-03-19 16:45:32 -04:00
Frederic Guillot a7db17b0b2 Move isVisible() method 2017-03-11 17:45:13 -05:00
Frederic Guillot f3deb6492a Add toggle button to show/hide subtasks in task list view 2017-02-26 19:30:02 -05:00
Frederic Guillot f1fcaedbd2 Avoid potential XSS in Gantt chart 2017-02-23 20:33:44 -05:00
Frederic Guillot a3b2c4d6d0 Update ChangeLog, contributors and compile JS 2017-02-23 18:10:07 -05:00
Frederic Guillot cf48b31762 Merge pull-request #3069 2017-02-23 18:03:15 -05:00
Frederic Guillot d6d12f96a4 Merge pull-request #3071 2017-02-23 17:53:37 -05:00
Konstantin 437fc1b7d9 Make link to calendar view bookable (#3063) 2017-02-23 17:38:08 -05:00
Konstantin Vorobyev 2f1e87a1bc Reintroduce word search in board selector #3052 2017-02-23 22:18:46 +09:00
Konstantin Vorobyev de6f9452a1 Even more simple: hide columns first, then resize task lists 2017-02-23 21:57:43 +09:00
Konstantin Vorobyev 8b8ccf4a60 Properly resize task list height on column toggle #3069 2017-02-23 21:47:25 +09:00
Frederic Guillot 93c05371a8 Replace modal contents if already open to avoid window flickering 2017-02-18 19:52:08 -05:00
Frederic Guillot 76f73eebea Upload files button stay disabled when there are other submit buttons on the same page 2017-02-18 15:53:48 -05:00
Frederic Guillot 991f7426e8 Improve error reporting when file upload is not configured properly 2017-02-12 13:34:56 -05:00
Frederic Guillot c5caff7ef7 Fix CFD chart (stack wrongly ordered) 2017-02-11 19:42:17 -05:00
Frederic Guillot 8bf054a480 Open comments in board view with a modal dialog instead of tooltip 2017-02-11 17:22:10 -05:00