Commit Graph

137 Commits

Author SHA1 Message Date
Frédéric Guillot b212dd1c7d Do not close modals when clicking on the background
Fixes #5288
2023-10-15 14:21:27 -07:00
Frédéric Guillot c9c1872067 Remove content editable element
Non longer necessary. It works on Safari, Chrome and Firefox
2023-05-18 19:55:47 -07:00
Frédéric Guillot 26b6eebb78 Avoid potential clipboard based cross-site scripting 2023-05-18 19:55:47 -07:00
Frédéric Guillot 89821c759e Do not close modals when clicking on the background if the form has changed
Fixes #5239

Closes #5255
2023-05-06 22:08:14 -07:00
Frédéric Guillot bd50288030 Handle 413 responses from Nginx when uploading files too large
Fixes #5171
2023-04-14 20:49:10 -07:00
Frédéric Guillot 6ca955de1f Allow closing modals by clicking on the background
Cherry-pick #4044

Fixes #4895
2023-03-30 20:01:59 -07:00
Frédéric Guillot 3bc4cc8291 Fix: Cannot reorder subtasks after changing the status
Fixes #4925
2023-03-28 20:32:38 -07:00
Frédéric Guillot b138a99ce3 Better handling of max file upload size according to PHP settings
- Allow unlimited size
- Better parsing of PHP size

Fixes #4896
2023-03-02 20:51:47 -08:00
greyaz 2841d81528
Fixed a bug about unselecting in the file list-item-selection.js (#5098) 2022-11-15 21:10:15 -08:00
Frédéric Guillot bc673cf6dc Set explicitly the time picker control to select 2022-09-28 20:55:29 -07:00
Pascal Rigaux 829c47ee60 fix re-opening dropdown-menu
This fixes the following case:

1. open the dropdown menu of a "Filename"
2. click elsewhere on the page to close the dropdown menu
   (or click on a submenu element)
3. try to open the same dropdown menu => it fails the first time (since it does not have the "dropdown-menu" class)
2022-09-16 18:05:53 -07:00
Garrett Boone e5d22682cb
Fix tooltip shifting on long descriptions
This puts the tooltip-container under the mouse even on scrollbar
shift due to long descriptions.
2021-09-11 11:30:06 -07:00
rivten 71b47b2c5a onKey Escape ignores input fields 2021-06-05 12:08:45 -07:00
Patrick Kuijvenhoven a267aa368b
Add new analytic component "Estimated vs actual time per column" 2021-02-21 20:22:45 -08:00
Patrick Yates 8322876d8e
Add link to toggle column scrolling in board view 2020-10-04 13:57:34 -07:00
Frédéric Guillot 5c9b73006d Rebuild minified Javascript files and fix a deprecation notice 2020-10-04 10:50:28 -07:00
Rafael de Camargo d1b4b26c04 Fix clearing of all javascript storage 2020-06-26 20:21:25 -07:00
Psy-Q 21f563fdd5
Prevent last swimlane to be hidden if there is only one
Fixes #4376
2020-05-06 21:46:01 -07:00
Franky Van Liedekerke 17b764e862
Execute tooltip listeners only once when the DOM is ready 2020-05-03 12:12:29 -07:00
Franky Van Liedekerke 0ede384cda
Use Ajax request for Markdown preview
This remove dependency on a Javascript library.
2020-05-01 20:05:53 -07:00
Franky Van Liedekerke 6a0b6a8672
Make tooltip events bubble 2020-04-30 20:33:57 -07:00
Franky Van Liedekerke d4ee16c1f7
Keep newlines in markdown 2020-04-30 20:13:35 -07:00
Slade e65045f934 Move "data-js-lang" attribute to HTML "lang" attribute 2019-11-19 20:15:15 -08:00
Slade a089a77ce9 Fix date picker datetime parsing when using pre-defined localized versions of am/pm
Add list of allowed am and pm names to override locale am/pm because PHP DateTime cannot interpret them.
2019-11-16 17:19:38 -08:00
Slade 84a4cad9e0 Close open menu when clicking again on the button 2019-11-16 16:57:53 -08:00
Slade Price 5e6a9a89de Fix issue 3916: width of filter bar in mobile. 2019-11-15 18:28:44 -08:00
Johannes Konst 18735fbe25 Upgrade jQuery to version 3.4.1 2019-10-23 20:53:02 -07:00
Eskiso a630b5b7de Fixed issue of tooltip not disapearing
Tooltips would not disappear if the mouse was never on it. If you move your mouse on an icon and then move the mouse out without passing by the tooltip, the tooltip would remain active until mouse pass and leave or click somewhere else.

With this update, the tooltip will be removed if you leave the target unless you move the mouse to the tooltip.
2019-08-23 19:04:23 -07:00
Rafael de Camargo 3df095186c Fix reference to text-carret js library
Closes #4257
2019-08-03 19:52:16 -07:00
Frédéric Guillot d42dd07054 Remove dependency on nodejs and gulp 2019-07-25 13:05:08 -07:00
Rafael de Camargo 2bf0f99b51 Add link button to text editor 2019-07-24 13:50:51 -07:00
Rafael de Camargo 21a3634fd1
Fix html parsing on markdown editor
Closes #4243
2019-07-23 01:26:03 -03: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 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 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
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