Commit Graph

2918 Commits

Author SHA1 Message Date
nathan
6b3acd3af8 Et2Select: Always close the dropdown after an option is selected, even if multiple=true. Now for keypresses too.
see 62402f39ae
2023-03-23 16:15:41 -06:00
nathan
bab0a769d1 Et2Select: Always close the dropdown after an option is selected, even if multiple=true 2023-03-23 16:15:31 -06:00
ralf
37930b414c nicer than window.setTimeout() 2023-03-23 21:53:35 +01:00
ralf
0944f79cbc * NewsAdmin: fix creating of new categories
deferring setting the label, if parentNode is not yet there
2023-03-23 21:53:35 +01:00
nathan
25207003df Home: Fix single entry did not save correctly 2023-03-22 14:19:10 -06:00
nathan
e497e31ed5 Et2Checkbox: Use normal color even when required
Preveiously check was white, which was hard to see on yellow required background
2023-03-22 11:21:38 -06:00
ralf
db66cb9af6 * Safari/iOS: support Safari/iOS 12.x via transpiling of JavaScript 2023-03-21 20:01:49 +01:00
nathan
aa38a5f8a7 Only wait for nm header widgets, not all the rows that just get removed.
see 0b8c108279
2023-03-20 13:29:20 -06:00
ralf
dd43a3dc7a same for _linkCallback (give method and attribute a different name to fix transpiling) 2023-03-20 20:26:51 +01:00
nathan
53984a270f Get nm rows showing 2023-03-20 13:11:00 -06:00
ralf
2eaa4bb038 fix Resumable import for transpiling 2023-03-20 13:48:35 +01:00
ralf
05a8882681 using ESM module from SortableJS (link in two other places already)
could probably go to master and work with old RollupJS config
2023-03-20 13:47:36 +01:00
ralf
1015f057f4 fix Flatpicker plugin imports for et2-date* widgets 2023-03-20 13:41:25 +01:00
nathan
24cc56bae4 Fix weird nm column sizing in infolog.
Depending on favorite settings, changing favorite (or 'No filters') caused incorrect column sizing in nm list
2023-03-17 10:52:16 -06:00
nathan
7c3aaba861 Fix select all did not respect some filters
Certain sequence of applying filters could trigger long task & get all IDs, which failed.
2023-03-17 10:51:16 -06:00
ralf
b95cdcb3c0 also declare and export app and framework 2023-03-17 08:52:52 +01:00
nathan
0b8c108279 Fix weird nm column sizing in infolog.
Depending on favorite settings, changing favorite (or 'No filters') caused incorrect column sizing in nm list
2023-03-16 16:15:35 -06:00
nathan
014b4072a7 Home: Immediately apply property changes to portlet
Server can override if needed, but this is a little more responsive and fixes some non webComponent portlets (eg: single entry) still needing a reload before they can stay up to date
2023-03-16 11:55:39 -06:00
nathan
80d6a03036 Home: Better initial load of new favorites
Less server requests, shows data without reload, favorite select populated immediately
2023-03-16 11:55:10 -06:00
nathan
04054a64b1 Home: Fix birthdays lost range option 2023-03-16 11:54:59 -06:00
nathan
e405c4dfa9 Home: Make resize less jumpy 2023-03-16 11:54:40 -06:00
nathan
8b54fbbc62 Home: Restore ability to manually add to list portlet
Now just using the properties dialog to add
2023-03-16 11:53:58 -06:00
nathan
7c229e1df3 Home: Immediately apply property changes to portlet
Server can override if needed, but this is a little more responsive and fixes some non webComponent portlets (eg: single entry) still needing a reload before they can stay up to date
2023-03-16 11:48:50 -06:00
nathan
ae265c9b52 Fix select all did not respect some filters
Certain sequence of applying filters could trigger long task & get all IDs, which failed.
2023-03-16 11:21:27 -06:00
nathan
17018a7a24 Home: Better initial load of new favorites
Less server requests, shows data without reload, favorite select populated immediately
2023-03-15 10:16:08 -06:00
nathan
0f1866eb19 Home: Fix birthdays lost range option 2023-03-14 15:02:02 -06:00
nathan
c0680a006d Home: Make resize less jumpy 2023-03-14 11:22:38 -06:00
nathan
b09c6e804f Home: Restore ability to manually add to list portlet
Now just using the properties dialog to add
2023-03-14 09:15:02 -06:00
ralf
096981ea3f WIP transpiling: only import as type as only used as such 2023-03-14 09:07:02 +01:00
nathan
28fb31dcb7 Et2DateDuration: Don't error & break everything for a bad display format, just log it and continue 2023-03-13 15:18:45 -06:00
nathan
fe0c125458 Et2LinkList: Fire change event when link is removed
Avoid error if instance manager is missing
2023-03-13 14:40:32 -06:00
nathan
74201b1a21 Home WIP: Fix changing portlet width would not stick for some types 2023-03-13 14:39:30 -06:00
nathan
9a8375fa33 Revert "fixes for transpiling:"
This reverts commit f5a1fce8bc.
2023-03-13 14:32:31 -06:00
ralf
f5a1fce8bc fixes for transpiling:
- importing Instance and HTMLElementWithValue types only as type
- import flatpicker plugins with: import {default as <PluginName>} from <file>
2023-03-13 19:41:00 +01:00
ralf
43dfaa6bc2 fixes for transpiling: import instantiated StaticOptions object, not the type
has also the benefit of using a single instance
2023-03-13 19:38:36 +01:00
nathan
5c8fb1eb2e Fix numeric validator on a Et2Number would not pass 2023-03-13 08:10:56 -06:00
nathan
13e7ff97b6 Fix description label did not get row value in nextmatch
Fixes projectmanager price list showed "5 / $row_cont[pl_unit]" instead of "5 / h"
2023-03-13 08:10:48 -06:00
nathan
1e203dda72 Remove action WIP 2023-03-10 14:57:06 -07:00
nathan
ea86f17b2f Home: Weather portlet improvements 2023-03-10 14:55:05 -07:00
nathan
9ed1ee2aa9 Home WIP: Better re-layout calcs, use correct portlet type (if possible) when adding 2023-03-10 14:54:50 -07:00
nathan
62f084231b Home WIP: Get calendar working 2023-03-10 14:54:12 -07:00
nathan
18d2c93f7d Home WIP: Header spacing & style improvements 2023-03-10 14:52:57 -07:00
nathan
7c50fdd185 Home WIP Favorites working a little better 2023-03-10 14:52:48 -07:00
nathan
c3ea140b5a Home: WIP home now shows stuff again 2023-03-10 14:52:33 -07:00
nathan
ca17161f4a Remove action WIP 2023-03-10 14:50:05 -07:00
nathan
5cfe1cef58 Home: Weather portlet improvements 2023-03-10 14:44:41 -07:00
Hadi Nategh
665dcc18da Fix links in infolog description getting into a new line 2023-03-10 20:17:48 +01:00
Hadi Nategh
2c9fb69f3b Fix links in infolog description getting into a new line 2023-03-10 13:40:11 +01:00
nathan
72d601b393 Et2Colorpicker: Let popup panel auto-position
Fixes color picker goes offscreen in kanban board edit
2023-03-09 09:08:37 -07:00
Hadi Nategh
87a055e7bd Fix tree's actions no longer available after refreshing the root node 2023-03-09 13:05:57 +01:00
Hadi Nategh
ab8aba49a5 Fix tree's actions no longer available after refreshing the root node 2023-03-09 12:57:17 +01:00
ralf
3e3f5b0216 fix wrong import path stalling Babel transpiling 2023-03-09 08:48:41 +01:00
ralf
2543a011cb fix wrong import path stalling Babel transpiling 2023-03-09 08:48:01 +01:00
nathan
39d26ddca7 Et2InputWidget: Split label around widget if it has %s in it 2023-03-08 13:54:44 -07:00
nathan
e7f10c711c Fix numeric validator on a Et2Number would not pass 2023-03-08 13:28:04 -07:00
nathan
5ebad31675 Fix description label did not get row value in nextmatch
Fixes projectmanager price list showed "5 / $row_cont[pl_unit]" instead of "5 / h"
2023-03-08 11:53:48 -07:00
nathan
0492c92352 Et2Colorpicker: Let popup panel auto-position
Fixes color picker goes offscreen in kanban board edit
2023-03-08 11:26:47 -07:00
nathan
b703e2bfe5 Fix required validator went missing if a regex validator was added 2023-03-08 11:00:27 -07:00
nathan
9f95db7ad8 Home WIP: Fix changing portlet width would not stick for some types 2023-03-07 16:16:01 -07:00
nathan
d9e12ecf4a Home WIP: Better re-layout calcs, use correct portlet type (if possible) when adding 2023-03-07 16:02:29 -07:00
nathan
5760c5049f Et2InputWidget: Split label around widget if it has %s in it 2023-03-07 10:51:33 -07:00
Hadi Nategh
ac4bd98385 Fix error Cannot read properties of undefined (reading 'implements') 2023-03-07 16:18:09 +01:00
Hadi Nategh
9f9c988c14 Fix error Cannot read properties of undefined (reading 'implements') 2023-03-07 16:16:57 +01:00
nathan
bb67507223 Et2DateDuration: Don't error & break everything for a bad display format, just log it and continue 2023-03-06 15:02:45 -07:00
nathan
1538496df1 Home WIP: Get calendar working 2023-03-06 14:47:48 -07:00
nathan
fc3feb974a Home WIP: Fix initial positioning and layout 2023-03-06 13:48:15 -07:00
nathan
514d4cf207 Home WIP: Header spacing & style improvements 2023-03-06 13:19:49 -07:00
nathan
d37143c842 Home WIP Favorites working a little better 2023-03-06 13:19:49 -07:00
nathan
59c4070733 Et2LinkList: Fire change event when link is removed
Avoid error if instance manager is missing
2023-03-06 13:19:49 -07:00
nathan
db5be59ed0 Home: WIP home now shows stuff again 2023-03-06 13:19:48 -07:00
nathan
7d75c902d5 Revert "Et2LinkList: Fire change event when link is removed" committed to wrong branch
This reverts commit a35d3d8778.
2023-03-03 15:10:16 -07:00
nathan
b2c4b09b4a Revert "Home: WIP home now shows stuff again" committed to wrong branch
This reverts commit 33058c4744.
2023-03-03 15:09:53 -07:00
nathan
a35d3d8778 Et2LinkList: Fire change event when link is removed
Avoid error if instance manager is missing
2023-03-03 14:06:11 -07:00
nathan
33058c4744 Home: WIP home now shows stuff again 2023-03-03 13:36:50 -07:00
Hadi Nategh
c485a287bb Let et2Select be clickable on top user menu 2023-03-02 16:46:30 +01:00
nathan
a491983694 Et2DropdownButton: If readonly, display / render nothing
does not affect disabled, which still displays as disabled
2023-02-28 13:04:09 -07:00
nathan
fe2f36d52f Fix double-bound file drop handler
Fixes double-submit after dropping a second file.  Noticed in mail compose, but probably affects everywhere file widget was used to upload
2023-02-28 13:03:11 -07:00
nathan
8d0b1b0234 Fix gantt chart couldn't load data
broken by 2066523.
Loading caused 'Exception "t is undefined" while handling JSON response from ....' deep inside dhtmlx-gantt
2023-02-28 13:02:56 -07:00
nathan
49d719e5f6 Et2DropdownButton: If readonly, display / render nothing
does not affect disabled, which still displays as disabled
2023-02-28 11:12:50 -07:00
nathan
e62cf4c2f7 Fix double-bound file drop handler
Fixes double-submit after dropping a second file.  Noticed in mail compose, but probably affects everywhere file widget was used to upload
2023-02-28 10:39:10 -07:00
nathan
da1b1f6999 Fix gantt chart couldn't load data
broken by 2066523.
Loading caused 'Exception "t is undefined" while handling JSON response from ....' deep inside dhtmlx-gantt
2023-02-28 09:05:49 -07:00
Hadi Nategh
f313f07cdb Some styling fixes for mobile view:
- fix broken Addressbook's avatar in view and edit mode
- fix buttons with icon not getting white filter
2023-02-28 15:46:55 +01:00
Hadi Nategh
057afb8623 Some styling fixes for mobile view:
- fix broken Addressbook's avatar in view and edit mode
- fix buttons with icon not getting white filter
2023-02-28 13:06:52 +01:00
nathan
86b883951a Add isReady flag to etemplate. onchange functions set as attributes in .xet files will not be called until the etemplate is finished loading. 2023-02-27 15:31:07 -07:00
nathan
0117c4bde3 Move client-side holidays cache to MODULE_GLOBAL egw.holidays(year) 2023-02-27 15:15:36 -07:00
nathan
635780d7d4 Et2LinkTo: Fix linking to existing file in VFS did not do anything
Onchange was not being set
2023-02-27 13:25:47 -07:00
nathan
ce141fa152 Disable file drag and drop so normal drag and drop in filemanager works properly 2023-02-27 11:17:23 -07:00
ralf
a8dd625a61 register old-hbox client-side and all old-*box on server-side 2023-02-27 09:57:21 +01:00
Hadi Nategh
2dc78de2c1 Support deprecated get values method for ET2Select_ro 2023-02-27 09:56:39 +01:00
nathan
206652307b Et2Date fixes
- Fix mobile get / set value was not actually setting value properly
- Set a minimum input width
2023-02-24 11:58:16 -07:00
nathan
ab812c8dec Just the timer dialog gets timesheet color, leave others alone 2023-02-23 10:12:21 -07:00
ralf
a48a3eb3c1 add ES2020 check to login page and move it outside egw_ready (no longer allowing to translate the message) 2023-02-23 14:00:37 +01:00
nathan
41cbb68de0 Et2Select: Fix extra scrollbar with rows=1, multiple, hover lots (> 8 or so) of rows 2023-02-22 16:23:56 -07:00
nathan
4311eebdc9 Et2Dialog: Fix missing button alignment 2023-02-22 14:51:21 -07:00
nathan
cd22b9aad6 Slow down tab switch on drag
Avoid another tab being moved underneath the cursor if the target tab has different sidebox menu width, triggering another tab switch
2023-02-22 14:31:41 -07:00
Hadi Nategh
24570cd438 Let sl-button-group deals with blur and focus handling for our Et2DropDownButton widget 2023-02-22 17:56:02 +01:00
nathan
f7d44c63cb Enable disabled select options 2023-02-22 09:51:57 -07:00
nathan
e532ca176b Add Et2TabsMobile that has special rendering for tabs on mobile 2023-02-21 10:31:38 -07:00
Hadi Nategh
68fdb1b985 Revert "changes to get old eTemplate apps like KnowledgeBase working in 23.1"
This reverts commit d816d837cd.
2023-02-21 13:02:23 +01:00
Hadi Nategh
188334d647 Fix scrolling in mobile view sidebar not working 2023-02-20 15:16:43 +01:00