Commit Graph

2981 Commits

Author SHA1 Message Date
nathan
39c308bcd6 Api: Fix clicking Select dropdown button while open did not close dropdown 2023-05-01 09:02:20 -06:00
nathan
33ea5483c3 Calendar: More sidebox owner fixes
- another instance of remote class causing problems
- remove duplicates to avoid warning message
2023-04-29 08:49:14 +02:00
nathan
8f0302f465 Fix LinkEntry change caused double change event 2023-04-29 08:40:07 +02:00
nathan
2ea5a41d4f Calendar: Fix second selected owner in sidemenu went missing 2023-04-27 14:05:50 -06:00
nathan
3738284a39 Let change event bubble so it can be caught by parents 2023-04-27 10:06:24 -06:00
ralf
bce396d86a null and undefined are objects too
fixes TypeError: Cannot read properties of null (reading 'length')
2023-04-27 08:04:42 -06:00
nathan
95aae678ff Api: Always resolve jsonq, even if empty array
Fixes callback was not called if response was []
2023-04-27 08:04:07 -06:00
nathan
759eb22505 Et2InputWidget: Give clones of object values so receiver cannot use the reference
Fixes failing change detection in EgwApp.update_state, since the value was the same object
2023-04-27 08:03:58 -06:00
hadi
f1a5b24249 Fix toolbar actions not getting their icons displayed when the toolbar is being opened from its none origin apps 2023-04-27 14:02:28 +02:00
nathan
11589fc8a2 Fix Et2Link always opening in the same popup 2023-04-26 08:06:56 -06:00
nathan
c1cbfc415d Add statustext to list of detached attributes 2023-04-26 08:05:35 -06:00
hadi
8d4c4c9d37 Fix js error causes stop execution for apps with no favorites 2023-04-25 17:01:18 +02:00
nathan
d57bcd12ac Fix missing entry values 2023-04-25 08:09:07 -06:00
nathan
9b57b24f0e Always strip comma regardless of number preference so parse float always works. 2023-04-25 08:07:53 -06:00
hadi
a88c423abe Do not translate category names 2023-04-25 12:01:19 +02:00
hadi
f7a1be6525 Make content marking possible on nm rows 2023-04-24 15:02:11 +02:00
nathan
889fa75f8c Fix typo in 5a824ef 2023-04-20 08:19:08 -06:00
nathan
aded689831 Fix et2container.getValueById() failed with error on (some) webcomponents 2023-04-20 08:12:46 -06:00
nathan
ecffd5fb73 Api: Fix Et2Link did not open PDFs in Collabora, but always downloaded them 2023-04-19 11:14:01 -06:00
nathan
fe962c2177 Et2Select: Fix doubled tags, long tags missing ellipsis 2023-04-19 11:13:37 -06:00
nathan
daf57803f9 Preferences: Add a preference option for if select multiple dropdowns stay open, excluding email selection
Also, German translations from Birgit
2023-04-19 11:11:52 -06:00
nathan
0242891289 Preferences: Add a preference for if select multiple dropdowns stay open or closes immediately after selection 2023-04-19 11:11:35 -06:00
nathan
1ca751f17d Fix multi-select in headers did not trigger update when a tag was removed
Value got passed around by reference, so as soon as the value was changed, activeFilters had the updated value.  Now just leaving applyFilters() to do the check.
2023-04-17 16:23:16 -06:00
nathan
dcf34dd74c Add implicit preference to remember user's last sort order.
Sort stored in favorites override this when the favorite is used.
2023-04-17 15:21:33 -06:00
nathan
134a82791a Validation changes:
- Fix multiplying messages on focus/blur
- Server-side (Manual) messages do not block submit.  Server set it, we'll let server check it.
2023-04-14 09:58:37 -06:00
nathan
4edf57ad8a Et2DateDurationReadonly: Fix value change did not update, so displayed value was unchanged 2023-04-12 10:55:18 +02:00
nathan
c949d5bc2a Et2NumberReadonly: If value is null, just show nothing 2023-04-12 10:55:18 +02:00
nathan
85f9ef0c6f Fix et2-vbox center alignment 2023-04-11 13:13:59 -06:00
ralf
5c24d4bec8 implement onlyEmail attribute for et2-select-mail to only display email address, even if we have a full rfc822 address and use it for aliases and forwards in admin mail 2023-04-11 18:35:05 +02:00
ralf
ff6d1eb5df also allow / and # in every position of placeholder name 2023-04-11 17:54:57 +02:00
ralf
b55328b84f * Mail: allow placeholders in compose instead of email-addresses to be able to create mail templates 2023-04-11 17:54:57 +02:00
nathan
36ba2f567e Fix vfsSelectUI path closed dialog if you pressed enter 2023-04-11 08:12:35 -06:00
nathan
b0e2c95593 Et2Dialog: Move enter handler to keyUp so input event handlers can fire first 2023-04-11 08:12:28 -06:00
nathan
ce8a76baec Api: Remove call to jQuery.dialog from app_base.js
Replaced with alert warning to port app to typescript (egw_app.ts)
2023-04-06 16:26:44 -06:00
nathan
c33c24eb72 Api: Remove call to jQuery.dialog 2023-04-06 16:26:36 -06:00
hadi
459b8b4d4d * Filemanager: fix broken expose view for filename click&open action 2023-04-06 17:45:54 +02:00
hadi
60f3040978 * Filemanager: fix after opening and closing the gallery in filemanager the list is no longer accessible 2023-04-06 14:57:13 +02:00
nathan
25d41d16ee Et2Description: Fix urls from activateLinks did not open properly 2023-04-05 11:41:59 -06:00
nathan
1a5c20d8a0 Et2Select: Re-color dropdown icon in darkmode 2023-04-05 11:40:02 -06:00
nathan
29c29be730 Fix "Uncaught (in promise) TypeError: Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element'." 2023-04-05 15:47:00 +02:00
nathan
c6090fc4fd Et2Select: Fix select closes immediately after opening
If you click to open then click again to close, select wouldn't stay open after that.
2023-04-05 15:45:59 +02:00
nathan
de8d8a1c36 Et2Select: It was impossible to have "," in an option value, as it would get split by set_value()
see a9d2a3972c
2023-04-04 10:25:30 -06:00
nathan
8e8ded1323 Et2Select: It was impossible to have "," as an option value, as it would get split by fix_bad_value() 2023-04-03 10:33:11 -06:00
nathan
00fed17e88 Api: Fix readonly category select did not load application categories
Categories were loaded before attributes & application was not used
2023-04-03 10:31:51 -06:00
hadi
cac17304e5 Add autocomplete attribute to input widgets 2023-04-03 12:30:19 +02:00
hadi
b9d3e796fe Set a max height for select tags 2023-04-03 10:45:04 +02:00
nathan
93a9ac3091 Et2Select: Missed changes in backports 2023-03-31 11:10:33 -06:00
hadi
91d36f88a3 Fix some dialog's buttons are not getting fit into the dialog initiated size 2023-03-31 10:47:10 -06:00
nathan
f8e52f1115 Et2CheckboxReadonly: Fix checkbox was not visible if selectedValue attribute was not set 2023-03-31 10:43:20 -06:00
nathan
21e9d67916 Fix up recur days 2023-03-31 10:39:19 -06:00
nathan
8ac1c9c457 Et2UrlEmail: Use default mail app when preference says to 2023-03-31 10:35:26 -06:00
nathan
abea23e9c1 Api: Fix number could not handle comma as decimal separator if different from browser's region. 2023-03-31 10:31:43 -06:00
nathan
5efb7a85c3 Et2DateDuration: Fix widget did not fire change event when value changed 2023-03-31 10:31:25 -06:00
nathan
824ebe514c Et2SelectDayOfWeek: Fix missing all days, weekday, weekend options 2023-03-31 10:30:43 -06:00
nathan
f05cfbbd49 Fix DateRange UI did not fill in start date properly 2023-03-31 10:20:50 -06:00
nathan
368fe85bc1 Et2TabsMobile: Fix double values when submitting.
Render was making multiple copies of the sub-template
2023-03-31 16:47:09 +02:00
nathan
e814413a9e Et2Date: Fix incorrect validation error for empty dates on mobile 2023-03-31 16:47:09 +02:00
hadi
1bcaf3da43 Set a max height for select tags 2023-03-31 14:08:55 +02:00
hadi
c329181d20 Fix broken vfsPath widget 2023-03-30 16:05:31 +02:00
nathan
3afdb399f5 Et2DateReadonly: Fix readonly date did not re-render when value changed 2023-03-28 14:48:48 -06:00
nathan
c67e080c2a Keep select tag icons their original color 2023-03-28 08:45:18 +02:00
nathan
5872b77606 Et2SelectEmail: Fix keyboard navigation in search results 2023-03-27 11:39:39 -06:00
nathan
ee758d3069 Et2Select: Fix keyboard navigation in search results & sidebox category closes 2023-03-23 17:24:08 -06:00
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