ralf
4bb5f9f7b2
WIP Mail REST API: fix reported problems with calendar quick add
2023-07-14 09:08:35 +02:00
nathan
e4b128408f
Et2Dialog: Fix buttons could not be adopted if dialog contains only arbitrary slotted content
2023-07-14 09:08:35 +02:00
ralf
3c732b9caf
WIP Mail REST API: fix closing dialog closes popup to because dialog was already removed when response was received
2023-07-14 09:08:35 +02:00
ralf
e9b054b025
WIP Mail REST API: change calendar to use new egw.openDialog():
...
- renamed app.dialogExec() to app.openDialog() or egw.openDialog()
- the later is the nicer place, but fails for lost window context with popups :(
2023-07-14 09:08:35 +02:00
nathan
b35e26a7f3
Get calendar quick-add working with Ralf's changes to open an etemplate in a dialog ( c63784d7e8
), fix buttons from those etemplates weren't adopted
2023-07-14 09:08:35 +02:00
ralf
d178087b16
WIP new app.ts method dialogExec(_menuaction) opening a popup into a dialog
2023-07-14 09:08:35 +02:00
ralf
f518f61335
WIP new app.ts method dialogExec(_menuaction) opening a popup into a dialog
...
ToDo: overwrite Framework actions in etemplate2.handle_load() to eg. close dialog, but not window, or refresh window instead of opener
2023-07-14 09:07:06 +02:00
nathan
9d61a2ef17
Changes for opening etemplate in a dialog
...
- openDialog() now returns Promise<Et2Dialog>
- fixed etemplate reload
2023-07-13 16:18:11 -06:00
ralf
efaa3ae386
WIP Mail REST API: fix reported problems with calendar quick add
2023-07-13 18:44:00 +02:00
nathan
7693d7f012
Api: Fix et2_widget_entry sum & compare
...
Options property is deprecated for webComponents, and cannot be changed.
2023-07-13 10:40:59 -06:00
nathan
15cf0ca1ff
Api: Fix et2_widget_entry sum & compare
...
Options property is deprecated for webComponents, and cannot be changed.
2023-07-13 10:38:58 -06:00
nathan
8dee34407e
Et2Dialog: Fix buttons could not be adopted if dialog contains only arbitrary slotted content
2023-07-13 08:27:56 -06:00
ralf
865d2b3d8d
WIP Mail REST API: fix closing dialog closes popup to because dialog was already removed when response was received
2023-07-13 15:36:55 +02:00
ralf
3e27def4f9
WIP Mail REST API: change calendar to use new egw.openDialog():
...
- renamed app.dialogExec() to app.openDialog() or egw.openDialog()
- the later is the nicer place, but fails for lost window context with popups :(
2023-07-13 15:22:21 +02:00
nathan
e6f142c7a4
Api: Fix nm columnselection still showed disabled columns
2023-07-12 15:08:31 -06:00
nathan
fb6f1654c7
Api: return a Promise from htmlarea.doLoadingFinished() so etemplate can wait for it to be initialized
2023-07-12 09:49:42 -06:00
nathan
50e3a1b204
Get calendar quick-add working with Ralf's changes to open an etemplate in a dialog ( c63784d7e8
), fix buttons from those etemplates weren't adopted
2023-07-11 17:07:51 -06:00
ralf
c63784d7e8
WIP new app.ts method dialogExec(_menuaction) opening a popup into a dialog
2023-07-11 22:45:54 +02:00
nathan
da2ab2004b
Api: return a Promise from htmlarea.doLoadingFinished() so etemplate can wait for it to be initialized
2023-07-11 12:02:36 -06:00
nathan
6ee5d69e1e
Api: Add a timeout for form submit
...
If a submit takes more than 30s, give a warning and hide the loader so the user can try to salvage their changes.
2023-07-11 08:55:16 -06:00
ralf
96bb3a6884
WIP new app.ts method dialogExec(_menuaction) opening a popup into a dialog
...
ToDo: overwrite Framework actions in etemplate2.handle_load() to eg. close dialog, but not window, or refresh window instead of opener
2023-07-11 13:38:09 +02:00
nathan
0c050ad9f3
Api: Add a timeout for form submit
...
If a submit takes more than 30s, give a warning and hide the loader so the user can try to salvage their changes.
2023-07-10 09:07:22 -06:00
milan
5e3c67a5cf
converted egw_action from javascript to typescript
...
classes are now uppercase and in their own files. lowercase classes are deprecated.
Interfaces are now actual interfaces that should be implemented instead of creating and returning an ai Object every time
2023-07-10 16:54:22 +02:00
nathan
2d0976f456
Handle parsing number into boolean expression
2023-07-06 08:46:12 -06:00
nathan
186a7d46dd
Handle parsing number into boolean expression
2023-07-06 08:29:30 -06:00
nathan
f4699543c3
Et2Dialog fixes
...
- Fix noCloseButton attribute was not implemented
- Fix hideOnExcape=false still allowed closing on escape
- Fix using Et2Dialog.BUTTONS_OK showed no buttons
2023-06-30 11:02:04 -06:00
nathan
dc5b0a4580
Api: User selection = none fixes
...
- Fix display was 'false' instead of blank
- Fix widget type check was not preserving original value
2023-06-29 14:55:37 -06:00
nathan
3cfdca0ae9
* Api: Customfield selectboxes can read options from a PHP file in the VFS using @[path] ex: @/home/Default/selects.php
2023-06-29 13:36:28 -06:00
nathan
85cc2a33cd
If customfields has a label and only 1 field, use the label for the widget
...
This lets us use " " as label to hide the custom field's label
2023-06-29 10:52:20 -06:00
ralf
ef06967f85
* Mail: improve performace by skiping search for avatar images in contacts in favor of loading them when they become visible
...
fix regular expression
2023-06-28 08:22:47 +02:00
nathan
2c6120b705
Api: Fix avatar images were not loaded
2023-06-28 08:21:59 +02:00
ralf
83dd2d9ac1
WIP improve avatar loading in mail app
...
currently ET2Avatar is NOT correctly handling contactId=email:<email>
2023-06-28 08:21:59 +02:00
nathan
2c4c99d00d
Api: All images lazy load
...
Try to stop when lots of images block the rest of the rendering
2023-06-28 08:21:58 +02:00
ralf
acfcebce4a
fix regular expression
2023-06-28 07:29:38 +02:00
nathan
d994f3f92e
Api: Fix avatar images were not loaded
2023-06-27 09:46:30 -06:00
ralf
23895c94be
WIP improve avatar loading in mail app
...
currently ET2Avatar is NOT correctly handling contactId=email:<email>
2023-06-27 08:59:59 +02:00
nathan
325fdcb02c
Api: User selection = none fixes
...
- Fix display was 'false' instead of blank
- Fix widget type check was not preserving original value
2023-06-26 10:49:25 -06:00
nathan
cfcd56fd00
Projectmanager: Fix hoursPerDay was not properly considered for durations
2023-06-23 14:35:04 -06:00
hadi
3ecb093d35
Implement onlyEmail option for UrlEmailReadonly
2023-06-22 14:37:15 +02:00
hadi
0d60d3baf4
Make sure to show only email when using current value as email (avoids getting duplicate name in fullEmail mode)
2023-06-22 12:34:56 +02:00
nathan
bb0436661d
Home: Fix missing portlet settings button
2023-06-19 09:16:32 -06:00
nathan
e1690a1dc1
Don't try to load disabled templates
...
Allows us to disable / not load templates even if they have template / ID
2023-06-19 08:11:04 -06:00
nathan
b83887d44a
Api: All images lazy load
...
Try to stop when lots of images block the rest of the rendering
2023-06-15 09:28:38 -06:00
nathan
0e82fd3a15
Fix link delete button to show on row hover again
2023-06-12 09:37:14 -06:00
nathan
e2f82ca985
Fix link delete button to show on row hover again
2023-06-12 09:30:17 -06:00
nathan
d7f7c1fa03
Et2DateDuration: Fix value of "" caused NaN
2023-06-12 08:24:34 -06:00
nathan
16767d91a6
Skip disabled widgets in iterateOver
...
This fixes disabled widgets returning their value unexpectedly, and ID collisions when we have 2 widgets with the same ID, but disable one.
2023-06-12 08:24:22 -06:00
nathan
5427e220e4
Et2DateDuration: Use integers for duration when we have a separate box for each duration, float when there's one box
2023-06-12 08:24:14 -06:00
hadi
48e0bd0e32
Apply nowrap white-space only to et2-link used in et2-link-list in order to let its content be shown in multiple lines
2023-06-06 14:45:35 +02:00
nathan
88153eddf5
Et2Link: If only breaking on a certain character, don't break on dash either (in addition to space)
2023-06-05 11:03:51 -06:00
hadi
ea5ef58904
Fix links styling to get correctly ellipsis text overflow
2023-06-05 11:03:15 -06:00
nathan
4e957510bc
API: Fix incorrect updateComplete override
2023-06-05 10:53:28 -06:00
nathan
572cc61315
Et2Link: Wait for link title before we say update is complete
...
Overriding _getUpdateComplete() lets us wait for whatever conditions we want, so we can wait on the Promise from link_title()
2023-06-05 10:53:17 -06:00
nathan
dd4a2de988
API: Fix incorrect updateComplete override
2023-06-05 10:43:52 -06:00
nathan
2946316d0b
Et2Date: Fix timeonly does not update value the first time when manually typing a new value
2023-06-03 21:57:03 +02:00
nathan
0f145323b2
Et2Date: Fix timeonly does not update value the first time when manually typing a new value
2023-06-02 09:50:59 -06:00
nathan
846852ca22
Et2Link: Wait for link title before we say update is complete
...
Overriding _getUpdateComplete() lets us wait for whatever conditions we want, so we can wait on the Promise from link_title()
2023-06-02 09:05:14 -06:00
nathan
2eeff5ca38
Et2Link: If only breaking on a certain character, don't break on dash either (in addition to space)
2023-06-01 09:19:05 -06:00
hadi
c808fbb1ad
Fix swipe and popup contextmenu being triggered accidentally in touch devices
2023-06-01 16:29:52 +02:00
hadi
8e0a3a2755
Fix swipe and popup contextmenu being triggered accidentally in touch devices
2023-06-01 15:28:42 +02:00
nathan
09cd777677
Et2Link: Fix unwanted indent in front of et2-link-string, fix expose in et2-link-list
2023-05-30 09:12:02 -06:00
nathan
27cd57d428
Et2Link: Fix unwanted indent in front of et2-link-string, fix expose in et2-link-list
2023-05-26 11:36:25 -06:00
nathan
8221ed217f
Api: Wait for et2-link-strings to finish updating before we continue with the print
...
Avoids printing before the link titles are loaded
2023-05-25 08:09:46 -06:00
hadi
a56adc7fcc
Make ellipsis link titles used in link-list readable by using hover tooltip
2023-05-25 14:08:35 +02:00
hadi
7f8909ebd4
Make ellipsis link titles used in link-list readable by using hover tooltip
2023-05-25 14:07:58 +02:00
hadi
b0d3570892
Apply nowrap white-space only to et2-link used in et2-link-list in order to let its content be shown in multiple lines
2023-05-25 13:42:20 +02:00
hadi
b2dd9f65b6
Apply nowrap white-space only to et2-link used in et2-link-list in order to let its content be shown in multiple lines
2023-05-25 13:14:28 +02:00
nathan
9a5ed1efa3
Api: Wait for et2-link-strings to finish updating before we continue with the print
...
Avoids printing before the link titles are loaded
2023-05-24 15:54:36 -06:00
hadi
c3b00ad81f
Fix links styling to get correctly ellipsis text overflow
2023-05-24 14:54:26 +02:00
hadi
10d3f40973
Fix links styling to get correctly ellipsis text overflow
2023-05-24 14:40:19 +02:00
hadi
fdc8b9b997
Fix null being represented into remark's column in links
2023-05-24 13:40:41 +02:00
hadi
023e45ebc0
Fix null being represented into remark's column in links
2023-05-24 13:38:13 +02:00
ralf
25b95ce18c
fixing the fix, item is a regular (not DOM-)object and not undefined
2023-05-23 13:23:40 -06:00
ralf
828d8d8e19
fix TypeError: item.querySelector is not a function
2023-05-23 13:23:29 -06:00
nathan
ee14d1d39f
Et2Select: If the value contains something that does not pass validation, show it as an invalid tag so it can be removed.
2023-05-23 13:14:46 -06:00
hadi
b44133052c
Do not activate statustext for mobile template
2023-05-23 12:38:56 +02:00
hadi
f23c562105
Do not activate statustext for mobile template
2023-05-23 12:36:04 +02:00
hadi
e792763812
Fix the title for file drag out
2023-05-22 15:41:06 +02:00
hadi
ffdf6df09c
Make et2link file type draggable
2023-05-22 15:40:53 +02:00
hadi
bc598f9e53
Make files in link list draggable
2023-05-22 15:40:30 +02:00
nathan
c850ec8f7e
Reconfigure Link to include icon & comment for easier drag & drop
2023-05-22 15:26:53 +02:00
hadi
26e52d6692
Fix the title for file drag out
2023-05-22 15:22:11 +02:00
hadi
b5f46c1bad
Make et2link file type draggable
2023-05-22 11:45:56 +02:00
ralf
593640edd7
Revert "Et2Select: If the value contains something that does not pass validation, show it as an invalid tag so it can be removed."
...
Stalls calendar :(
This reverts commit 94d43a0a28
.
2023-05-22 07:54:03 +02:00
nathan
94d43a0a28
Et2Select: If the value contains something that does not pass validation, show it as an invalid tag so it can be removed.
2023-05-19 08:33:43 -06:00
nathan
79d22e17a0
Fix missing spinner icons in date
2023-05-19 08:16:02 -06:00
ralf
8b22a258c6
fixing the fix, item is a regular (not DOM-)object and not undefined
2023-05-19 09:26:21 +02:00
ralf
71278c8041
fix TypeError: item.querySelector is not a function
2023-05-19 09:20:47 +02:00
nathan
be25869a1d
Et2Select: If the value contains something that does not pass validation, show it as an invalid tag so it can be removed.
2023-05-18 10:48:33 -06:00
nathan
ab3a75a7b3
Focus test WIP
2023-05-18 08:08:18 -06:00
nathan
8da10cf863
Reconfigure Link to include icon & comment for easier drag & drop
2023-05-17 16:55:05 -06:00
nathan
89483d80d3
Api: Fix missing spinner icons
2023-05-17 10:08:34 -06:00
hadi
7caa6ad4ac
Make files in link list draggable
2023-05-17 16:30:09 +02:00
nathan
da42a3052c
Filemanager: Fix new file button stopped working after being readonly
...
Moved option render inside render() since we have it, simplifys things a lot
2023-05-17 08:31:36 +02:00
nathan
da2413a07f
Et2Select: Fix missing options filter to handle option groups too
2023-05-17 08:30:38 +02:00
nathan
ffb9fa706a
Filemanager: Fix new file button stopped working after being readonly
...
Moved option render inside render() since we have it, simplifys things a lot
2023-05-16 15:01:24 -06:00
nathan
6ecb2d8cf9
Et2Select: Fix missing options filter to handle option groups too
2023-05-16 11:02:20 -06:00
nathan
eddcc97163
Et2ButtonIcon: Fix missing icons
...
There was a conflict between Et2InputWidget setting the widget name & image
2023-05-16 10:02:34 -06:00
nathan
a364060fc8
Fix confirm dialog sometimes mis-placed initiating button in value
2023-05-15 11:09:02 -06:00
hadi
96b4d4a406
Fix toolbar icons are no longer shown in mobile theme
2023-05-15 17:29:42 +02:00
hadi
60643d86b2
Fix toolbar icons are no longer shown in mobile theme
2023-05-15 17:29:13 +02:00
nathan
3bd2ee5aad
Fix confirm dialog sometimes mis-placed initiating button in value
2023-05-12 10:06:55 -06:00
nathan
7237a265ef
Fix focussed select does not close when it loses focus
...
Mail reply moves focus from To: to body, and To dropdown stayed open
2023-05-12 10:45:20 +02:00
nathan
ef58242afe
Some "invalid option" fixes:
...
- Don't notify user, just log it to the console
- Fix calendar owner filtered out not loaded options
2023-05-11 14:27:18 -06:00
nathan
d5d217c589
Some "invalid option" fixes:
...
- Don't notify user, just log it to the console
- Fix calendar owner filtered out not loaded options
2023-05-11 10:56:42 -06:00
nathan
91b94a5126
Et2Select: Use same z-index for search box as dropdown
2023-05-10 13:43:46 -06:00
nathan
471a5a60b9
Et2Select: Fix selection of first option when no value provided, broken by 134cd9d249
2023-05-10 09:41:16 -06:00
nathan
2179423b03
Fix filtered out invalid values were still left in value
2023-05-10 09:31:27 -06:00
nathan
d94c2f7c09
Fix invalid option check did not work for multiple
2023-05-10 09:30:41 -06:00
nathan
73c65cd8a7
Et2Select: Remove values that use options that aren't there to avoid the validation error
2023-05-10 09:30:30 -06:00
nathan
01ab3ab85a
Et2Select: Fix selection of first option when no value provided, broken by 134cd9d249
2023-05-10 09:19:43 -06:00
nathan
820bd35689
Fix filtered out invalid values were still left in value
2023-05-09 14:28:02 -06:00
nathan
3e1b1e56dc
Fix focussed select does not close when it loses focus
...
Mail reply moves focus from To: to body, and To dropdown stayed open
2023-05-09 14:04:02 -06:00
nathan
134cd9d249
Fix invalid option check did not work for multiple
2023-05-09 08:57:55 -06:00
nathan
4ce6bb3f3d
Et2Select: Remove values that use options that aren't there to avoid the validation error
2023-05-05 11:08:47 -06:00
hadi
c79e5c7e8b
Fix readonly links styling
2023-05-04 12:42:09 +02:00
hadi
a8e83ad59f
Fix readonly links styling
2023-05-04 12:41:30 +02:00
nathan
9aa4c6f403
Et2DateDuration: Fix value of "" caused NaN
2023-05-03 08:42:15 -06:00
ralf
91672abce1
fix error trying to submit
2023-05-03 11:21:27 +02:00
ralf
d11c74f0bc
fix error trying to submit
2023-05-03 11:16:47 +02:00
nathan
46b7c5258b
Skip disabled widgets in iterateOver
...
This fixes disabled widgets returning their value unexpectedly, and ID collisions when we have 2 widgets with the same ID, but disable one.
2023-05-02 14:21:03 -06:00
nathan
ab195097f5
Et2DateDuration: Use integers for duration when we have a separate box for each duration, float when there's one box
2023-05-02 14:17:40 -06:00
hadi
2a18d8ec48
Fix broken 3dots menu for nm in mobile theme
2023-05-02 18:54:49 +02:00
hadi
8e8c664e95
Fix broken 3dots menu for nm in mobile theme
2023-05-02 18:53:42 +02:00
nathan
886a718094
Et2Link: Fix projectmanager did not open in pm tab
...
Broken by 12e42d6
2023-05-02 08:55:05 +02:00
nathan
05e262d5ee
Some tests for Et2EmailTag
2023-05-01 15:27:17 -06:00
nathan
5cb6415fef
Et2Link: Fix projectmanager did not open in pm tab
...
Broken by 12e42d6
2023-05-01 10:28:36 -06:00
nathan
39c308bcd6
Api: Fix clicking Select dropdown button while open did not close dropdown
2023-05-01 09:02:20 -06:00
nathan
2fc44da034
Api: Fix clicking Select dropdown button while open did not close dropdown
2023-05-01 08:55:25 -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
8e9071acc8
Calendar: More sidebox owner fixes
...
- another instance of remote class causing problems
- remove duplicates to avoid warning message
2023-04-28 11:27:26 -06:00
nathan
96c66eeaf8
Fix LinkEntry change caused double change event
2023-04-28 09:27:17 -06:00
nathan
2ea5a41d4f
Calendar: Fix second selected owner in sidemenu went missing
2023-04-27 14:05:50 -06:00
nathan
86dac02826
Calendar: Fix second selected owner in sidemenu went missing
2023-04-27 14:02:41 -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
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
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
ralf
a50fa29419
null and undefined are objects too
...
fixes TypeError: Cannot read properties of null (reading 'length')
2023-04-26 09:22:30 +02:00
nathan
7d86d69b49
Add statustext to list of detached attributes
2023-04-25 13:53:16 -06:00
nathan
12e42d6396
Fix Et2Link always opening in the same popup
2023-04-25 09:54:05 -06:00
nathan
5b9cf0ae0b
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-25 09:09:18 -06: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
998039b464
Do not translate category names
2023-04-25 12:02:35 +02:00
hadi
a88c423abe
Do not translate category names
2023-04-25 12:01:19 +02:00
nathan
8fdfcc5c61
Fix missing entry values
2023-04-24 13:27:57 -06:00
nathan
027fc4dfab
Always strip comma regardless of number preference so parse float always works.
2023-04-24 09:42:09 -06: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
61deaad2a2
Fix et2container.getValueById() failed with error on (some) webcomponents
2023-04-19 11:30:37 -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
5c1c31e2a5
Fix typo in 5a824ef
2023-04-19 10:25:49 -06:00
nathan
9e8bc6e1ee
Let change event bubble so it can be caught by parents
2023-04-19 10:03:54 -06:00
nathan
5a824ef25b
Et2Select: Fix doubled tags, long tags missing ellipsis
2023-04-18 10:36:34 -06:00
nathan
6db4bdbac0
Preferences: Add a preference option for if select multiple dropdowns stay open, excluding email selection
...
Also, German translations from Birgit
2023-04-18 08:52:06 -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
5358bb5f6f
Don't validate inputs that are disabled, in addition to readonly
2023-04-17 14:47:06 -06:00
nathan
358cc70d66
Preferences: Add a preference for if select multiple dropdowns stay open or closes immediately after selection
2023-04-17 09:28:27 -06:00
nathan
5781542cab
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-14 15:22:58 -06:00
nathan
43873af7bc
Add implicit preference to remember user's last sort order.
...
Sort stored in favorites override this when the favorite is used.
2023-04-14 10:28:16 -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
8d1055c5c7
Api: Include webcomponents even if they don't have variable attributes, or any event handlers get lost
2023-04-14 09:35:06 -06:00
nathan
f28771e22b
Api: Let box onclick also be detached attribute
2023-04-14 09:07:05 -06:00
nathan
3423e680b8
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-13 15:06:31 -06:00
nathan
e4592e822e
Api: If widget has autocomplete="on", set the name attribute for autocomplete
2023-04-12 15:14:35 -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
9f20a89306
Et2DateDurationReadonly: Fix value change did not update, so displayed value was unchanged
2023-04-11 17:09:36 -06:00
nathan
32ce18b832
Et2NumberReadonly: If value is null, just show nothing
2023-04-11 17:08:18 -06:00
nathan
85f9ef0c6f
Fix et2-vbox center alignment
2023-04-11 13:13:59 -06:00
nathan
f8904ef126
Fix et2-vbox center alignment
2023-04-11 11:58:56 -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
b3ea3c89cf
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:19:17 +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
ralf
f957656f92
also allow / and # in every position of placeholder name
2023-04-11 17:11:56 +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
ralf
649645ab0f
* Mail: allow placeholders in compose instead of email-addresses to be able to create mail templates
2023-04-11 15:01:40 +02:00
nathan
4708c19665
Fix vfsSelectUI path closed dialog if you pressed enter
2023-04-06 16:14:09 -06:00
nathan
713c0ce21b
Et2Dialog: Move enter handler to keyUp so input event handlers can fire first
2023-04-06 16:13:42 -06:00
hadi
9a1593b154
* Filemanager: fix broken expose view for filename click&open action
2023-04-06 17:46:59 +02: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
hadi
a09c0bad38
* Filemanager: fix after opening and closing the gallery in filemanager the list is no longer accessible
2023-04-06 14:56:39 +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
aa89bf82af
Et2Select: Re-color dropdown icon in darkmode
2023-04-05 11:30:36 -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
24bb8ffebf
Et2Description: Fix urls from activateLinks did not open properly
2023-04-04 14:08:24 -06: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
55116c7b49
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-04 10:12:48 -06:00
nathan
98ae5aac1c
Et2Select: It was impossible to have "," in an option value, as it would get split by set_value()
...
see a9d2a3972c
2023-04-03 14:55:04 -06:00
nathan
886de143d4
Fix "Uncaught (in promise) TypeError: Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element'."
2023-04-03 11:57:57 -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
nathan
1702269b65
Api: Fix readonly category select did not load application categories
...
Categories were loaded before attributes & application was not used
2023-04-03 10:21:46 -06:00
nathan
a9d2a3972c
Et2Select: It was impossible to have "," as an option value, as it would get split by fix_bad_value()
2023-04-03 08:52:31 -06:00
hadi
cac17304e5
Add autocomplete attribute to input widgets
2023-04-03 12:30:19 +02:00
hadi
44d4b70aaf
Add autocomplete attribute to input widgets
2023-04-03 12:29:50 +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
c4809386e1
Set a max height for select tags
2023-03-31 14:07:30 +02:00
nathan
73723eff5a
Don't try to load disabled templates
...
Allows us to disable / not load templates even if they have template / ID
2023-03-30 10:49:56 -06:00
nathan
deefd1e0ea
Et2SelectDayOfWeek: Fix missing all days, weekday, weekend options
2023-03-30 08:33:07 -06:00
hadi
c329181d20
Fix broken vfsPath widget
2023-03-30 16:05:31 +02:00
hadi
1aa0528642
Fix broken vfsPath widget
2023-03-30 16:04:52 +02:00
nathan
2446c3823f
Et2TabsMobile: Fix double values when submitting.
...
Render was making multiple copies of the sub-template
2023-03-29 11:02:28 -06:00
nathan
7d71246ff0
Et2Date: Fix incorrect validation error for empty dates on mobile
2023-03-29 10:22:35 -06:00
hadi
09560a325a
Fix some dialog's buttons are not getting fit into the dialog initiated size
2023-03-29 17:21:41 +02:00
nathan
3afdb399f5
Et2DateReadonly: Fix readonly date did not re-render when value changed
2023-03-28 14:48:48 -06:00
nathan
46af0265fa
Et2CheckboxReadonly: Fix checkbox was not visible if selectedValue attribute was not set
2023-03-28 14:20:47 -06:00
nathan
b67abdafd1
Fix up recur days
2023-03-28 13:48:26 -06:00
nathan
70db89b2f6
Et2DateReadonly: Fix readonly date did not re-render when value changed
2023-03-28 08:30:45 -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
e0e074a4b1
Et2SelectEmail: Fix keyboard navigation in search results
2023-03-27 08:51:20 -06:00
nathan
af66c63714
Keep select tag icons their original color
2023-03-24 11:45:55 -06:00
nathan
ee758d3069
Et2Select: Fix keyboard navigation in search results & sidebox category closes
2023-03-23 17:24:08 -06:00
nathan
8de9ffc240
Et2Select: Fix keyboard navigation in search results & sidebox category closes
2023-03-23 17:21:32 -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
nathan
5614870a29
Et2Select: Always close the dropdown after an option is selected, even if multiple=true. Now for keypresses too.
...
see 62402f39ae
2023-03-23 16:02:09 -06:00
nathan
62402f39ae
Et2Select: Always close the dropdown after an option is selected, even if multiple=true
2023-03-23 15:23:32 -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
ralf
23fea7cfb1
nicer than window.setTimeout()
2023-03-23 21:50:35 +01:00
ralf
5818d4bfc0
* NewsAdmin: fix creating of new categories
...
deferring setting the label, if parentNode is not yet there
2023-03-23 21:42:34 +01:00
nathan
25207003df
Home: Fix single entry did not save correctly
2023-03-22 14:19:10 -06:00
nathan
5e6b11e73c
Et2UrlEmail: Use default mail app when preference says to
2023-03-22 13:03:23 -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
nathan
d2e23876f1
Et2Checkbox: Use normal color even when required
...
Preveiously check was white, which was hard to see on yellow required background
2023-03-22 11:18:56 -06:00
nathan
e034557f60
Api: Fix number could not handle comma as decimal separator if different from browser's region.
2023-03-22 10:59:05 -06:00
ralf
db66cb9af6
* Safari/iOS: support Safari/iOS 12.x via transpiling of JavaScript
2023-03-21 20:01:49 +01:00
nathan
59ea901cf9
Et2DateDuration: Fix widget did not fire change event when value changed
2023-03-20 14:50:45 -06:00
nathan
60e4e17fad
Fix DateRange UI did not fill in start date properly
2023-03-20 13:43:03 -06:00
ralf
d3eed5b738
merge transpiling branch into master
2023-03-20 20:32:09 +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
nathan
be4506fa3b
Fix DateRange UI did not fill in start date properly
2023-03-20 10:33:26 -06:00
ralf
2eaa4bb038
fix Resumable import for transpiling
2023-03-20 13:48:35 +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
nathan
4f40ef01da
Home: Fix single entry did not save correctly
2023-03-17 10:27:27 -06:00
nathan
fd253b10f5
Only wait for nm header widgets, not all the rows that just get removed.
...
see 0b8c108279
2023-03-17 08:26:58 -06: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
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
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
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
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
nathan
9cc1f08d63
Et2UrlEmail: Fix click to add to email button was broken
2023-02-17 08:51:27 -07:00
nathan
33ca8a47a9
Et2Select: Tweak size calculations for rows setting to work better for all font size preferences
2023-02-16 11:59:34 -07:00
Hadi Nategh
b25346c1e4
ET2Button doesn't get resized properly after set/remove label therefore try to force an update
2023-02-16 15:17:13 +01:00
nathan
524a9b3c7b
Change how readonly multiple selects with rows=1 show more tags are hidden
...
Showing total number of values is way easier than showing the number that aren't displayed
2023-02-15 13:23:05 -07:00
nathan
ced2bc6061
Et2Password: Fix still forced autocomplete="new-password"
2023-02-15 09:21:40 -07:00
nathan
84bdea4193
Fix nm print dialog missing print orientation
2023-02-14 16:27:44 -07:00
nathan
80c5a64316
Et2Password: Autocorrect always off
2023-02-14 13:48:21 -07:00
nathan
d1c6145af0
Et2Password: Some cleanup
...
- Now passing autocomplete & autocorrect parameters on instead of forcing
- Only doing the readonly input trick if autocomplete=="new-password"
2023-02-14 13:43:26 -07:00
nathan
68caabe1ae
Fix hidden tabs did not make children readonly
...
Fixes required fields on hidden tabs still got validated
2023-02-14 10:09:58 -07:00
nathan
16c8fb420b
Et2Password: Overwrite render to force input to readonly as a work-around for browsers ignoring autocomplete="new-password"
...
Doesn't make a difference for me, but easy for others to test if I commit
2023-02-13 15:59:38 -07:00
nathan
03a237fd7e
Et2Select: Turn off browser autocomplete in search
2023-02-13 14:57:55 -07:00
nathan
d02a40ee82
Et2Select: Remove any doubled values when setting value
2023-02-13 14:00:52 -07:00
nathan
e2cbbe9358
Re-add feature where readonly URL widget with label uses the label as link text
2023-02-13 13:29:25 -07:00
nathan
c4f3ec9840
Et2Select: Fix free entries can get doubled if more free entries added
2023-02-10 14:13:13 -07:00
nathan
570edaa1e0
Et2Favorites: Update sidebox favorite icons when user changes default favorite
2023-02-09 16:47:59 -07:00
nathan
4322937ea7
Et2Date: Add widget classes to flatpicker popup
2023-02-09 14:47:43 -07:00
nathan
96558b9da8
Fix missing translation in Select group & dropdown options
2023-02-09 14:47:43 -07:00
Hadi Nategh
5a2bbd6463
Adjust details container calculation for overlaySummary based on left/right alignment
2023-02-09 11:26:25 +01:00
nathan
32dd160e35
Et2Date: Add placement property to control where calendar popup opens. "top", "bottom", or "auto"
2023-02-08 14:36:09 -07:00
nathan
00a857b2d7
Projectmanager: Fix gantt column selection opens with wrong position
...
Now using a proper dialog, similar to nextmatch column selection
2023-02-08 11:48:56 -07:00
nathan
efa550f251
Et2Select: Add onTagClick property for actions on tag clicks
...
Fixes unable to detect clicking on individual tags inside readonly et2-select-email
2023-02-08 09:11:33 -07:00
ralf
ed09a0b079
add missing readonly et2-select-lang to fix language column in news-admin index
2023-02-08 08:24:59 +01:00
nathan
193dbfc339
Et2Select: Fix some search weirdness
...
- Search didn't start until 1 character more than expected
- Search didn't happen on enter because the et2-searchbox inside stopped the key event from bubbling
2023-02-07 16:24:06 -07:00
nathan
9cde6a7171
Fix some styling on select-email
...
- Make +N tag right aligned & look like text, not tag
- Fix popup to open below but covering field
- give popup border & dropshadow
2023-02-07 12:04:05 -07:00
nathan
2a3a8a7371
Et2Select: Fix tags can't be removed
2023-02-07 10:04:56 -07:00
Hadi Nategh
84a58ec6ae
Add new attribute for details widget to overlay the summary container
2023-02-07 16:49:18 +01:00
Hadi Nategh
cb6f2ee808
Add missing column on email tag tooltip
2023-02-07 10:01:46 +01:00
nathan
2c15e2f8ef
Et2Description: Fix broken activate links test, it needed camelCase attribute
2023-02-06 15:59:32 -07:00
nathan
1b7f9d3ebc
Et2SelectEmail: Give dragged tags some z-index, so they go over the other controls
2023-02-06 15:07:30 -07:00
nathan
cd980c78df
Limit mail to & cc addresses to 1 row, show all on hover.
...
Use:
multiple="true" rows="1" maxTagsVisible="1"
to trigger show all on hover
2023-02-06 14:48:55 -07:00
ralf
bd8198d230
missing et2-select-lang widget
2023-02-06 15:52:58 +01:00
Hadi Nategh
dda3b1f5d1
Remove excessive BR tag from email tag
2023-02-06 11:33:50 +01:00
nathan
1d8d4f9c72
Fix some readonly issues where widgets were not looking readonly
...
- Editable tags were still editable if the select was readonly
- LinkTo could still select an app (readonly not passed on)
- Hide the dropdown for multi-select when readonly
2023-02-03 14:09:07 -07:00
nathan
21599f6097
Make all toolbar toggle button icons gray when off
2023-02-02 10:46:51 -07:00
nathan
929bf866cd
Et2Lavatar: Fix missed property camelCase
...
contact_id -> contactId
2023-02-02 09:19:04 -07:00
Hadi Nategh
138999f233
Add again full value as tooltip for email tags
2023-02-02 12:12:08 +01:00
nathan
1fa9d91d59
Et2Description: Fix links were not clickable
...
activateLinks property got typoed to activeLinks in the template conversion
2023-02-01 14:31:17 -07:00
nathan
346a720d27
Et2LAvatar: Update statustext (tooltip) with name based on lname & fname
2023-02-01 14:06:54 -07:00
nathan
86376bdc0c
Et2DateRange: Add relative -> absolute conversion as needed when setting value
2023-02-01 13:04:25 -07:00
nathan
15f986cf1a
Get Et2Date & Et2DateTime tests passing again
2023-02-01 09:46:00 -07:00
nathan
ab56ad1171
Et2Select: Handle paste of CSV into selects with allowFreeEntries
...
Special handling for Et2SelectEmail to handle email addresses that may have a name or comma
2023-01-31 09:48:27 -07:00
nathan
0b15ede568
Et2Date: Fire change event when a new date is selected
...
Fixes nm date filters not filtering
2023-01-30 16:10:49 -07:00
nathan
e575c40ff3
Some missed cases where client-side lavatar was not used
2023-01-30 15:26:09 -07:00
nathan
f503743956
Use client-side Et2LAvatar instead of image for Et2SelectEmail options & tags
...
Should now be only avatar.php image when provided
2023-01-27 13:27:31 -07:00
nathan
5bab72b8be
Use client-side Et2LAvatar for user accounts whenever possible, only using avatar.php when there's a real image.
...
TODO:
- Need to find a cheap way to determine if there's a real image in Api/src/Accounts.php & class.mail_compose.inc.php
- Still some work for me to do in Et2SelectEmail
2023-01-27 10:34:40 -07:00
nathan
9cebab3c2f
Fix readonly selects could display 'undefined' with no value and no emptyLabel
2023-01-26 12:58:37 -07:00
nathan
bf6cca24fd
Et2Favorites: Make star icon bigger
2023-01-26 09:22:45 -07:00
nathan
e4e0610a41
Et2LinkAppSelect: Use configured app link icon instead of always using navbar
2023-01-25 15:14:14 -07:00
nathan
62bc77a4d2
Make sure egw.lang() doesn't error trying to translate option label
...
This un-reverts 4e5f68f97c
2023-01-25 14:24:08 -07:00
nathan
4b8b454566
Make sure values are strings, otherwise they might not match comparison
...
Should fix tracker list "Created by" filter losing display when you select a search result
2023-01-25 13:43:35 -07:00
ralf
6ef78c9591
Revert "Fix missing translation on read-only select"
...
Causes:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'toLowerCase')
at Object.lang (egw_lang.js:73:16)
at Et2SelectAccountReadonly._readonlyRender (Et2SelectReadonly.ts:189:59)
at Et2SelectAccountReadonly.render (Et2SelectReadonly.ts:168:16)
at Et2SelectAccountReadonly.update (lit-element.js:6:304)
at Et2SelectAccountReadonly.performUpdate (reactive-element.js:6:4849)
at Et2SelectAccountReadonly.scheduleUpdate (reactive-element.js:6:4496)
at Et2SelectAccountReadonly._$Ej (reactive-element.js:6:4404)
This reverts commit 4e5f68f97c
.
2023-01-25 09:46:22 +01:00
nathan
4e5f68f97c
Fix missing translation on read-only select
2023-01-24 14:44:28 -07:00
nathan
9bf0149645
Fix selectbox positioning issue
...
Tracker owner would open down instead of up with fontsize = 14. Updating to shoelace 2.0.0-beta.81 fixes it. Going farther introduces some other issues that I don't want to get into right now
2023-01-24 13:58:38 -07:00
nathan
49d3d84f3a
Completely hide disabled nm filters, as before
2023-01-24 10:25:01 -07:00
nathan
56fcfbf992
No 'All categories' empty label for mail
2023-01-24 09:26:46 -07:00
nathan
2332c2a806
Et2Tag: Make edit textbox larger
2023-01-24 08:27:52 -07:00
ralf
9fb153bbcc
fix historylog in calendar not shown
...
caused by multi-attributes use a vbox, who's constructor unset the readonly attribute
--> setting it again hard, as all widgets in historylog are r/o and without readonly select-boxes have no detached DOM interface
2023-01-24 14:31:16 +01:00
nathan
7518278948
Add edit button to freeEntry selectbox tags
2023-01-23 17:34:37 -07:00
nathan
802a312839
Stop nextmatch from making a popup dirty if a filter changes
2023-01-19 14:40:56 -07:00
ralf
5fe8f2642a
fix problem with Safari 16.2 of NOT displaying dialog contents eg. of timer dialog
2023-01-19 15:23:16 -06:00
nathan
86917eff65
Fix file settings error "'0' is NOT allowed ('not found')!" for gid.
...
It did not have a '0' => 'root' option, which is what we were using for the value.
2023-01-19 09:21:03 -07:00
nathan
80fbd3cc26
Fix placeholder widget
...
IDs on et2-boxes caused unwanted namespace, Et2Listbox couldn't find its ID before fully initializing
2023-01-19 08:44:52 -07:00
nathan
3f5cb42c96
Fix vfsUpload didn't open mail files
2023-01-18 13:07:04 -07:00
nathan
3164cb6dd0
Make sure we get the right popup if multiple nextmatches use the same popup ID
2023-01-17 15:35:28 -07:00
nathan
6774f2e9d4
Remove another class that could be hiding popup contents
2023-01-17 14:30:28 -07:00
nathan
2ab7079f13
Et2LinkString: Can now fetch its own link data, given application & entryId
...
Includes some fixes for only_app filter
2023-01-17 14:03:28 -07:00
nathan
38b507dcd1
Et2Date: Stop required validation showing on initial load even with a value
2023-01-17 10:52:02 -07:00
nathan
a5929388fc
Et2VfsMime: Add value getter
...
Fixes tracker comments with more than one image would only show the last
2023-01-17 08:37:24 -07:00
nathan
d87e0c7f38
Fix missing default button images
2023-01-16 16:15:57 -07:00
nathan
19c02fc91c
Et2InputWidget: Do not try to validate readonly widgets, user can't change the value to fix it
2023-01-16 08:55:31 -07:00
Hadi Nategh
10c646a367
Make sure the sort and shadowRoot are there before using them, avoiding execution error, since getValue it could be called in earlier stage eg: a699117b1b
2023-01-16 12:55:45 +01:00
nathan
374ba994a4
Customfield validation fixes
...
- customfield did not pass required setting on to widgets
- link entry did not support required
2023-01-13 11:28:02 -07:00
nathan
1a969c4cfc
Et2Date: Fix validation message display
...
Required validation was incorrectly displayed / not hidden
2023-01-13 08:40:21 -07:00
nathan
461e83df28
Remove all validation messages on focus, not just manual / server-side messages.
...
Server side ones are still re-added on blur, client-side messages are re-run.
2023-01-12 09:17:29 -07:00
nathan
4f7b54c6bb
Fix some more select attribute / legacy options issues
2023-01-11 15:49:56 -07:00
nathan
a699117b1b
Fix hiding server-side messages for selectboxes
...
Messages were not properly hidden & displayed, and setting handleFocus & handleBlur accidentally overwrote them in Shoelace widgets
2023-01-11 11:11:02 -07:00
nathan
1163f9e31d
Hide server-side validation messages while widget has focus. If the value did not change, put messages back
2023-01-09 16:02:59 -07:00
nathan
ffb26cb2f1
Change tree icon size from 20px to 16px
...
Can be overridden in CSS now
2023-01-09 14:36:44 -07:00
nathan
56f84f2fdd
Fix swapped open / closed icons in tree
2023-01-09 13:19:40 -07:00
nathan
ba608fddc7
Et2Split: Fix incorrect / frozen sizing of split in Firefox
...
If user dragged very quickly & released the mouse button before the resize was complete, we would wind up with incorrect size
2023-01-06 11:07:50 -07:00
nathan
323115b041
Replace font size accidentally removed in 40278c8827
2023-01-06 09:11:54 -07:00
nathan
39ab880188
Don't die if CustomFilterHeader is for a component that isn't a webcomponent, just error & use a select
2023-01-05 16:36:03 -07:00
nathan
c403edc49a
Fix incorrect suggested password length
2023-01-05 15:35:04 -07:00
nathan
f8a8a290ce
Tests for switch widget
2023-01-05 14:06:54 -07:00
nathan
3ecd9c222b
Fix switch widget did not validate value server-side
2023-01-05 14:06:39 -07:00
nathan
9a190321c1
Et2Button: Fix class mixup that broke buttons
2023-01-05 09:00:02 -07:00
nathan
ca5d80264c
Less errors in date tests, still not passing
2023-01-05 08:38:56 -07:00
nathan
37dd18894f
Get tests for Colorpicker passing again
2023-01-04 15:33:48 -07:00
nathan
acd44a1e0e
Get tests for Button passing again
2023-01-04 15:03:43 -07:00
nathan
40278c8827
Get our WebComponent tests running again
...
Made a lot of "failed to construct htmlelement" errors go away, avoid a bunch of egwIsMobile is undefined errors
2023-01-04 12:01:09 -07:00
nathan
ac1d8b6be8
Fix TypeError: Cannot read properties of null (reading 'replace')
...
Fixes unable to edit tracker in mobile view.
2023-01-02 16:20:50 -07:00
nathan
b8c3a97138
Et2Tabs: fix keyboard navigation
2022-12-22 14:51:48 -07:00
nathan
b0bedc8467
Accessability improvements
...
- Toolbar buttons get label, but it is visually hidden
- Add label to calendar Add button
2022-12-22 14:14:45 -07:00
nathan
c617dfe080
Fix placeholder sub-groups were not showing
2022-12-21 12:28:59 -07:00
nathan
098fe647dc
Start on converting date range to webcomponent
2022-12-20 14:05:20 -07:00
nathan
7d94692dfd
Fix some missing account names
...
- egw().accounts() were not cleaned
- accounts not in normal cache did not call requestUpdate() properly
2022-12-19 12:01:29 -07:00
nathan
ac97af35cb
Lets try creating options directly when we get them, rather than going through update first
...
Timing was not getting menu items created soon enough, resulting in IDs instead of names in the options
2022-12-16 11:48:12 -07:00
nathan
9ce0520e5c
Allow actually disabled inputs
2022-12-16 10:40:58 -07:00
nathan
272b63d32e
Explicitly define autofocus as reflected so it works in Firefox too
2022-12-15 13:18:16 -07:00
nathan
a9fe524123
Et2Select: Fix value got wrecked by fix_bad_value() when there are option groups
2022-12-15 11:31:56 -07:00
nathan
e756962f86
Change egw.accounts() to always return a Promise
2022-12-15 10:22:19 -07:00
nathan
2ed0479380
Add nm action dialogs into application tab, not document body
2022-12-14 16:10:50 -07:00
nathan
3b5f64a4c3
Implement option groups
2022-12-14 14:32:20 -07:00
nathan
a832c12dbc
Fix DnD to link file to entry
2022-12-14 11:56:27 -07:00
nathan
54498a005c
Et2Dialog: Second try waiting on template load
...
Now creating the template promise immediately on setting template name and using a resolver function to resolve after template is loaded
2022-12-14 10:39:15 -07:00
nathan
6c4c42bcde
Translation of "on vacation" from Birgit
2022-12-12 15:09:57 -07:00
nathan
27573f6d83
Et2Dialog: Try waiting until after update is complete to avoid an error loading the template in Safari
2022-12-12 14:43:47 -07:00
nathan
65a7abeca2
A little more space for details dropdown
2022-12-12 14:26:54 -07:00
nathan
5acc8c55c8
Et2SelectEmail: Fix fullEmail did not show full email
2022-12-12 14:07:08 -07:00
nathan
34172704dc
Fix SelectAccount didn't always get values into options correctly
2022-12-12 13:10:53 -07:00
nathan
9acda4b390
Link fixes
...
- Fix file that was linked then removed before first save was still linked on save
- Use events for better decoupling between Et2LinkTo & Et2LinkList
2022-12-12 10:32:08 -07:00
nathan
0f37d2f437
Fix sometimes missing accounts for SelectAccount widgets
2022-12-09 13:16:44 -07:00
nathan
6177ca0536
SearchMixin: Filter selected remote correctly for single selects too
2022-12-09 13:14:57 -07:00
nathan
5f44c51d89
Et2Checkbox: Fix internal positioning was causing entire page to overflow
2022-12-09 10:55:19 -07:00
nathan
8ed40c8c0e
Et2SelectThumbnail: Fix current value(s) did not display
2022-12-09 09:03:43 -07:00
nathan
dd39305443
Fix VFS upload couldn't show newly uploaded files
2022-12-08 15:01:25 -07:00
nathan
4b4d6fe184
Stop scrolling new tag into view, it causes calendar sidemenu to get stuck
2022-12-08 14:47:02 -07:00
nathan
ce64ddf9e0
Fix doubled tags if widget gets select_options after a remote option is selected
2022-12-08 14:28:05 -07:00
nathan
691928a54c
Fix attachments not displayed in tracker comments
2022-12-08 11:39:00 -07:00
nathan
be5125509e
SearchMixin: Fix selecting multiple remote values only showed the last
2022-12-08 10:24:49 -07:00
nathan
d7f8f7d997
Fix editing link remark did not load current value
2022-12-07 15:51:50 -07:00
nathan
c26732a913
Some more fixes for historylog widget
...
- Fix options in proper format could be interpreted as sub-widgets
- Fix numeric values
2022-12-07 15:04:22 -07:00
nathan
12151139ff
Et2Dialog: Better non-modal handling, now with less internal conflicts with SlDialog
2022-12-07 13:45:38 -07:00
nathan
32248e67ee
Et2Dialog: Better non-modal styling
2022-12-07 11:30:14 -07:00
nathan
4b6357dd90
Et2Dialog nonmodal WIP
...
Non-modal dialogs don't cover header with app tabs.
TODO: The dialog needs to be added to the app content div instead of the body
2022-12-07 09:13:46 -07:00
nathan
fb40aedf89
SearchMixin: Use parent set select_otions, no need to duplicate
2022-12-06 11:59:51 -07:00
nathan
daa999d586
Et2LinkList: Fix context menu actions
2022-12-06 10:55:20 -07:00
nathan
25f64d0064
Fix error on some bad options
...
Would sometimes stop historylog from loading
2022-12-06 10:05:47 -07:00
nathan
57993741cb
Et2Dialog: Don't close dialog for buttons that are not in the footer
2022-12-06 09:44:56 -07:00
nathan
3971abc54b
Fix some select options were not being cleaned
...
Integer values provided from server were not being converted to strings, breaking value handling & matching
2022-12-06 09:13:04 -07:00
nathan
2188791540
Et2LinkList: Fix context menu "Save As" gave error
...
Cannot read properties of undefined (reading 'dispatchEvent')
2022-12-05 17:05:10 -07:00
nathan
fa2375b1a6
SearchMixin: Fix selected remote options got lost if adding a freeEntry
2022-12-05 13:56:31 -07:00
nathan
e875b9ddf4
Use same background color for primary buttons
2022-12-05 10:54:05 -07:00
nathan
b2b3caaa64
Fix searchbox triggered change an extra time after pressing Enter key
2022-12-05 10:31:15 -07:00
nathan
2b02d4e9ab
Fix listbox sometimes lost value
2022-12-05 10:11:17 -07:00
nathan
7ba5730251
Change properties to camelCase
2022-12-05 09:42:55 -07:00
nathan
4399e276eb
Remove debug
2022-12-05 09:39:08 -07:00
nathan
3a1c415ce4
Styling for buttons on dialog
2022-12-02 11:23:09 -07:00
nathan
2f81a55607
Et2Searchbox: Consume enter keypress in search to avoid triggering anything else. Just start the search.
2022-12-02 09:54:35 -07:00
nathan
8717033009
Fix JS errors in placeholder dialog
2022-12-02 09:39:25 -07:00
nathan
72626b0dc2
Et2Dialog: Fix width property
2022-12-02 09:37:22 -07:00
ralf
e72e628c81
give focus back to previous active element instead of focusing on first input
2022-12-02 14:42:36 +01:00
nathan
6eebabe472
SearchMixin: Fix tag edit
...
Double clicking just cleared the input, edit was immediately stopped due to search blur
2022-12-01 14:54:34 -07:00
nathan
404a29b985
SearchMixin: If user enters a valid free entry then changes focus without pressing Tab or Enter key, accept the free entry
2022-12-01 14:15:40 -07:00
nathan
c81ff8b444
Fix disabled buttons had different styling than normal buttons
2022-12-01 13:03:39 -07:00
nathan
dc5e0b528e
Dialog work
...
Style changes
2022-12-01 13:02:40 -07:00
nathan
e2fc779207
Dialog work
...
Get tracker "Multiple changes" working
2022-12-01 11:38:02 -07:00
nathan
634e00f948
Dialog work
...
Get calendar quick add working again
2022-12-01 11:20:58 -07:00
nathan
83ab58329e
Dialog work
...
- Add destroy() to remove dialog
Fixes admin ACL dialog
2022-12-01 10:24:17 -07:00
nathan
390fbf3608
Dialog work
...
- Switch from LionDialog to SlDialog as base
- First input should get focus
- First button gets set as primary (if no default set), Enter key will act as a click on it
- Escape key closes dialog
2022-11-30 15:59:25 -07:00
nathan
faff3834bc
Use same font size for help text as for labels
2022-11-25 11:53:23 -07:00
nathan
ea845b8c4d
Et2Textbox: Translate helpText
2022-11-25 11:38:36 -07:00
nathan
a79538ffbc
Et2LinkList: Don't show context menu or delete for readonly lists
2022-11-25 11:19:13 -07:00
nathan
6238302901
Let new boxes repeat as well as legacy boxes
2022-11-25 11:18:44 -07:00
nathan
2e61c3a23e
Et2Box: Implement elign=center
2022-11-25 11:18:12 -07:00
nathan
be82f32b68
When nm is on a tab, need to resize the nm when the tab is shown to get proper sizing
2022-11-24 14:20:45 -07:00
nathan
9f26cbf1e5
Use method to set data
2022-11-24 11:50:36 -07:00
nathan
5c3d35aa05
Fix missing SVG icons for some images
...
They weren't missing, just 0x0px
2022-11-23 14:35:36 -07:00
nathan
b31ce0922d
Implement data widget property
...
Fixes missing priority colors in Kanban
2022-11-23 10:30:22 -07:00
nathan
6d41c9c30b
Et2SelectAccount: Avoid error if option does not have an image
2022-11-21 09:16:38 -07:00
nathan
1d540aa74c
Fix additional options to a static list were not properly added if they were in correct format with value & label
2022-11-21 09:14:27 -07:00
nathan
fd8f688e8b
Avoid error if input node isn't created yet
2022-11-18 13:59:20 -07:00
nathan
681d51cb14
Fix ExposeMixin "this.activeIndicator.removeClass is not a function"
...
If a file is allowed by MIME_REGEX, it needs to be included in list or counts will be off, causing error when closing
2022-11-15 14:27:03 -07:00
nathan
6a5d189489
Better fix for Et2SelectState not getting country set
2022-11-14 14:41:08 -07:00
nathan
ed2eb30b32
Fix widgets don't appear disabled when they are
2022-11-14 11:22:56 -07:00
nathan
ae961f208d
Fix a few js errors in expose
2022-11-11 12:53:33 -07:00
nathan
e0617394fb
Make weekend toggle better responsive to content size preference
2022-11-11 11:32:06 -07:00
nathan
47a48b386f
Et2Select: Fix change event got fired too early
...
Don't need to block the event if we didn't actually change the value. This fixes changing to common preferences
2022-11-09 15:34:28 -07:00
nathan
32bd2a1084
SearchMixin: Make sure dropdown doesn't cover bottom border
2022-11-09 09:30:53 -07:00
nathan
4dffd24feb
Et2Select: Fix change event got fired too early
...
Second attempt. If fix_bad_value() made a change, that was triggering change event before Et2App.et2_ready() had been called. Now making sure that event does not get fired.
2022-11-08 11:04:03 -07:00
ralf
8b0e5867cb
fix JS error on displaying validation message, probably when tab is not yet loaded
2022-11-08 12:51:41 +01:00
nathan
104680c477
Fix hidden nm with no initial rows were requesting data too early
2022-11-07 14:51:42 -07:00
nathan
be16565cc4
Filemanager can now update sub-grids
2022-11-07 11:51:30 -07:00
nathan
78333613fa
Et2Select: Fix change event got fired too early
...
If fix_bad_value() made a change, that was triggering change event before Et2App.et2_ready() had been called
2022-11-07 09:57:00 -07:00
nathan
d35eacb8a2
Fix gap between label & control, better solution for date-duration
2022-11-04 09:41:45 -06:00
nathan
ee52509fca
Et2Checkbox: Change vertical align, it wasn't lining up nicely in calendar edit
2022-11-04 08:42:57 -06:00
nathan
74f7f4dcb5
Et2SelectReadonly: Allow additional supplied options, but fix bug where they overwrote account options
2022-11-02 14:03:12 -06:00
nathan
87aba966c2
Et2LinkString: Fix links not shown immediately after 'Apply', only after reload
2022-11-02 11:59:10 -06:00
nathan
127ccdedbb
Et2Dialog: Fix incorrect button adoption search
2022-11-02 08:36:44 -06:00
ralf
0ec8636a7b
do NOT submit dialog, if it has no etemplate_exec_id, it only gives and error on server-side
2022-11-02 13:51:17 +01:00
Hadi Nategh
179e12ac68
Make sure value_id is there before using it (caused a side effect on calendar entry can not be saved anymore)
2022-11-02 12:27:49 +01:00
nathan
953166b161
Fix problems with links from mail
...
- unsaved links were not properly displayed
- unsaved links could not be removed
- calendar preserved original links, so even if you removed one it came back
2022-11-01 15:38:58 -06:00
nathan
6764ef979b
Et2Date: Use regular inputs for mobile
2022-11-01 10:34:52 -06:00
nathan
12926c89e3
Et2DateDuration: Force label not to wrap
2022-10-31 13:58:26 -06:00
nathan
e5a88c35f5
Fix date duration label always showed above the input, never to the left
2022-10-28 11:48:42 -06:00
nathan
2659a8ab63
Filemanager: Add copy to clipboard button to share link dialog
2022-10-28 10:05:03 -06:00
nathan
f6883c33fd
Add gap inside link widgets between each component
2022-10-25 11:38:48 -06:00
nathan
727db2aab5
Fix context menu actions that use nm_action gave "Uncaught nm_action is not a function!"
2022-10-24 10:20:56 -06:00
Hadi Nategh
d1841f9985
Fix hideonreadonly sometimes not being applied (eg. hbox)
2022-10-21 13:29:16 +02:00
Hadi Nategh
1ecc7b729a
make sure mouse up is handled when the mouse position has crossed the min/max points
2022-10-21 12:00:08 +02:00
nathan
19bbea7aca
Et2Date: Add up/down buttons on hover to adjust value without opening popup
...
Buttons adjust by day or minuteIncrement. Minute values are now always rounded to multiples of minuteIncrement, unless freeMinuteEntries=true (or minuteIncrement=1)
2022-10-20 15:27:24 -06:00
nathan
1aa87138a2
Addressbook: Correct fix for CRM breaking contact list actions
...
etemplate2.clear() was not removing getting the correct app instance removed
2022-10-19 10:54:11 -06:00
nathan
48eb9c1968
Fix duplicate option warning from customfield select filter
2022-10-18 16:06:28 -06:00
Hadi Nategh
d1ff0a8b4f
Make support for some old widgets
2022-10-18 17:44:31 +02:00
nathan
5f3570768d
Et2Date: Add "Ok" button to close calendar popup
2022-10-18 09:08:53 -06:00
ralf
05b316f7ff
move egw_get_file_editor_prefered_mimes() to egw.file_editor_prefered_mimes() as everything in old jsapi.js is deprecated and should be removed
...
.
2022-10-18 08:30:15 +02:00
nathan
9d2a319821
If widget has onclick attribute, add et2_clickable class
2022-10-17 15:18:13 -06:00
nathan
bd62279f55
Et2Select: Cancel search timer on blur and menu close
...
If we don't, results might come back after we leave/close and re-open
2022-10-17 09:56:58 -06:00
Hadi Nategh
68acd6d370
Prompt user a message while resizing splitter regarding iframes
2022-10-17 14:06:12 +02:00
nathan
0004aa5bb4
SearchMixin: Avoid errors if searchInputNode is not created
2022-10-14 15:12:08 -06:00
nathan
9ea00bb95f
Give webComponents inside nextmatch a chance to finish before we calculate sizes
2022-10-14 14:50:57 -06:00
nathan
c52ac8fbdc
Et2DateTime: Limit minutes to multiples of 5
2022-10-14 11:18:17 -06:00
nathan
dcc6d1eb83
Et2Date: change "Today" button label to "Now" for widgets with time (Et2DateTime, Et2Timeonly, etc.)
2022-10-14 10:05:59 -06:00
nathan
2cb826e268
Et2Date: changes directly in the input field will now update popup & the value when blurred
2022-10-14 09:32:59 -06:00
nathan
f9ee8952ea
Fix some display bugs in expose on chrome
...
Sometimes the picture didn't get shown right away
2022-10-13 14:23:11 -06:00
nathan
ab07b3dee3
Et2LinkEntry: Fix value of null caused error
2022-10-13 10:37:29 -06:00
nathan
69ce014aa6
Et2Select: Vertically center multiple tags
2022-10-13 09:33:04 -06:00
nathan
53e868b47b
Add default "Search" placeholder to link search
2022-10-13 09:18:49 -06:00
nathan
08e899e91c
Fix Et2SelectCategory had category border when multiple
...
Now only shows category border for single select, when there's a value
2022-10-13 08:41:42 -06:00
Hadi Nategh
32741781ba
Treat favorites in mobile view
2022-10-13 15:54:40 +02:00
Hadi Nategh
0b96af85ef
Fix audio attachments do not get played via expose in mail's attachment list
2022-10-11 14:46:25 +02:00
nathan
690e89157e
Et2Listbox: Make rows set the height, not the max
2022-10-07 15:33:43 -06:00
nathan
8514792efc
Fix changing select options did not properly clear previous options
2022-10-07 15:31:06 -06:00
nathan
01a08447cb
Fix selecting an app changed icon in first entry instead of displayed icon
2022-10-07 15:29:52 -06:00
nathan
f130134dd1
Dynheight: Don't consider size of fixed or absolute positioned widgets when collecting bottom nodes
2022-10-07 11:57:43 -06:00
nathan
38d5cd627f
Work around Chromium bug that gives huge print jobs with thousands of pages
...
https://bugs.chromium.org/p/chromium/issues/detail?id=1161709
2022-10-07 09:08:07 -06:00
Hadi Nategh
cedaf4027c
Fix navigational buttons no longer work in VfsSelect dialog
2022-10-07 14:48:20 +02:00
nathan
8221d66ce2
Fix nm printing did not properly wait for column selection or rows before trying to print
2022-10-06 15:39:35 -06:00
ralf
196024a454
stopping buttons in dialog from submitting it to server-side
2022-10-06 13:55:24 +02:00
ralf
c5b8261ec2
do NOT split RFC822 addresses containing comma in quoted name part eg. 'Becker, Ralf <rb@egroupware.org>'
2022-10-06 13:14:34 +02:00
nathan
0a745299ce
Get flatpickr popup working along with LionDialog
2022-10-05 16:22:32 -06:00
nathan
3ce5aebe12
Collabora: Get insert placeholder dialog working again
2022-10-05 10:50:54 -06:00
ralf
ed05a8b6ee
always need to stop button click events as otherwise the result would be submitted to server-side eT2 handler
2022-10-05 09:53:45 +02:00
nathan
f8e56edc20
Limit number of accounts (& other select/taglist search results) sent to client
2022-10-04 15:49:07 -06:00
nathan
7bb4332961
Et2SelectCategory: Fix loading with initial value did not get category color or icon in the displayed label
2022-10-04 09:17:31 -06:00
ralf
96e2b495e1
pass placeholder attribute to et2-textbox
2022-10-04 13:46:15 +02:00
nathan
b5a2778168
Fix category did not display value on first load
2022-10-03 09:12:00 -06:00
ralf
918c0324d1
remove redundant if clause
2022-09-29 15:07:10 +02:00
nathan
ba8c5101ac
Et2Image: Fix data URLs did not work
2022-09-28 13:36:56 -06:00
nathan
12f8b2cb3e
Et2SelectEmail: Add some documentation
2022-09-28 11:14:02 -06:00
nathan
ffd6c21ed4
Et2Select: Avoid errors if freeEntry has single quote
2022-09-27 13:55:32 -06:00
Hadi Nategh
ecd3edfd7f
Set right size for dropdown button in mobile view
2022-09-27 11:44:22 +02:00
nathan
181546cdb5
Fix customfield selects so if rows > 1, we set multiple=true
2022-09-26 11:38:36 -06:00
nathan
9644e4b1df
Avoid double-parsing nm row if for some reason grid has too many rows.
...
Should fix missing initial data, but I'm still not sure exactly why row grid can have too many rows.
2022-09-26 10:55:32 -06:00
nathan
086d92e957
Et2Select: All selectboxes now stop scroll event from bubbling to prevent parent (sidemenu) from scrolling too
2022-09-23 10:54:02 -06:00
nathan
171c9c02cb
Pressing escape while in search now closes dropdown
2022-09-23 10:40:16 -06:00
nathan
074a03f2ec
Include bad email address in validator message
2022-09-23 10:08:31 -06:00
nathan
d133683272
Don't apply et2_required class to parent table cell
2022-09-23 08:51:57 -06:00
nathan
91bd7d5a43
Et2Button: Fix disabled was still hiding the event even if hideonreadonly was false
2022-09-22 15:20:21 -06:00
nathan
bea34ad403
Fix adding a freeEntry did not trigger change event
2022-09-22 15:18:34 -06:00
nathan
4454f350b2
Fix some more validation bugs
...
- Fix error if widget did not have a feedback slot or a '#help-text' element
- Fix copy/paste error scrolling to wrong widget
2022-09-22 11:43:29 -06:00
nathan
5a8f7c3c70
More fixing of missing search options / tags
...
Fixes new free entries don't show up after removing a free entry
2022-09-22 11:15:25 -06:00
nathan
0424836ba8
If widget fails validation during submit check, scroll it into view
2022-09-22 09:20:50 -06:00
nathan
8da8c14a00
Et2SelectEmail: Change multiple default to false to match other selects
2022-09-22 08:59:31 -06:00
nathan
2952df2799
Et2Select + SearchMixin: Fix some bugs with display and selecting entries
...
- Fix clicking on text while editing triggered re-display
- Avoid unneeded node re-creation when editing free entry, handle empty value as removal
multiple=true:
- Fix clearing search removed previously selected remote results
- Fix adding a free entry did not move search down, covering the new value
multiple=false:
- Fix search & edit inputs were shown at the same time
- Fix edit free entry always took over making it impossible to search
2022-09-21 17:13:29 -06:00
nathan
e6ce33b153
Fix invalid fields were not blocking submit
2022-09-21 09:56:15 -06:00
nathan
d9cc794836
Don't bother to validate empty fields if they're not required
...
Fixes Et2SelectEmail complaining that empty strings are not valid email addresses
2022-09-21 09:05:51 -06:00
Hadi Nategh
ca0b17de7f
Fix edit/delete buttons are not clickable on editable avatar
2022-09-21 11:15:14 +02:00
nathan
e03fea2e9b
Et2Date: Fix required validation message was always shown after changing a required date
...
Some missed changes after moving from Lion
2022-09-20 10:44:28 -06:00
nathan
7dd0165cd2
Et2Select + search: Fix position adjustment did not work in all cases
...
Subsequent searches did not give space for searchbox
2022-09-20 10:07:36 -06:00
nathan
66368c6d3a
Et2Select + search: Adjust dropdown position based on if it opens up or down
2022-09-20 09:43:25 -06:00
nathan
79b6cef5fd
Switch egw.user(..., async=true) to always return a Promise for consistency
...
Switch Et2ButtonTimestamper to use egw.user(...,async=true)
2022-09-20 08:05:59 -06:00
Hadi Nategh
34d9297fc1
Do not set toolbar buttons to readonly
2022-09-20 14:44:16 +02:00
nathan
f43b641127
Implement readonly textarea as description
2022-09-19 13:28:20 -06:00
nathan
606e2688d4
Et2SelectEmail: Do not create image in tag, Et2EmailTag uses CSS for image
...
Fixes doubled image
2022-09-19 09:23:23 -06:00
nathan
1deeee207f
Better way to show "no suggestions" indicator, works with local options now too
2022-09-16 11:17:06 -06:00
nathan
30c3000e87
Et2Select fixes
...
- Search with no results blocked any futher searches from displaying results
- Only show "no suggestions" after searching
2022-09-16 10:20:47 -06:00
nathan
9a036b1dfe
Et2Select: Fix "required" styling did not show in a better way
...
Previous method (38e8df2
) made widget entirely transparent
2022-09-15 15:26:06 -06:00
nathan
38e8df223d
Et2Select: Fix "required" styling did not show
2022-09-15 12:36:31 -06:00
nathan
3616fe9df0
Add "hasValue" class for input widgets that have a value, and use that class to hide required styling when the widget has a value
2022-09-15 12:28:49 -06:00
nathan
c8b6a5760b
Et2Select: Re-add accidentally removed chunk that sets initial value when initial value is an array
...
Fixes mail preview didn't show to/from addresses
2022-09-15 08:49:36 -06:00
nathan
1b72eb4a00
Revert "Revert "Et2Search: Fix some UI bugs" as it no longer renders values and therefore easily destroys existing content"
...
This reverts commit 0287e06df2
.
2022-09-15 08:30:50 -06:00
ralf
0287e06df2
Revert "Et2Search: Fix some UI bugs" as it no longer renders values and therefore easily destroys existing content
...
This reverts commit 56eb4d64ac
.
2022-09-15 12:56:12 +02:00
nathan
56eb4d64ac
Et2Search: Fix some UI bugs
...
- Fix missing loading spinner while searching
Clear button was in the way, now hiding clear button when displaying the spinner
- Fix searching for the same thing twice displays no results the second time
repeat() and map() directives were not putting the DOM nodes back in, worked around by using a temp div to render into. There were some lifecycle mistakes as well leading to collisions & re-doing.
2022-09-14 15:47:36 -06:00
Hadi Nategh
3d7df8e566
WIP Universal Access preference:
...
- Implements textsize preference
2022-09-14 12:41:09 +02:00
nathan
cfbb74b83e
Fix some Et2DateDuration bugs
...
- Duration did not validate correctly
- Validation errors were not actually shown
- Empty duration ('') did not work consistently
2022-09-13 13:00:25 -06:00
nathan
9096c17348
Et2Select: Tabbing out of search field now closes the dropdown
2022-09-13 09:06:59 -06:00
Hadi Nategh
44e2938d05
Fix avatar cropper gets closed right after uploading an image
2022-09-13 12:09:55 +02:00
ralf
d8d8429622
an other fix for 4c00b812ee
fixing error when trying to reply
2022-09-13 10:17:59 +02:00
ralf
c00c6f9e07
readonly et2-select-mail caused error with 4c00b812ee
eg. in mail.display
2022-09-13 09:15:55 +02:00
nathan
662ea62790
Calendar: remove most sidebox date customisations
...
Now using regular calendar header. "Go" button and custom header styles removed. Changing the date in sidebox calendar immediately updates state.
2022-09-12 15:35:24 -06:00
nathan
4c00b812ee
Fix edit inputbox covered new freeEntries
2022-09-12 12:48:21 -06:00
nathan
0ea32818c8
Fix Et2NumberReadonly didn't display its value in nextmatch row
2022-09-12 11:25:47 -06:00
nathan
43cce1940d
Fix selecting search result does not display label
...
Infolog contact filter still filtered, but did not show label for selected search result.
2022-09-12 10:19:38 -06:00
Hadi Nategh
1489944d49
Fix category border styling
2022-09-12 15:16:04 +02:00
ralf
26824323e5
got mailing lists working again in mail compose using includeLists=true attribute
...
using "$list_name <$list_id@lists.egroupware.org>" instead of just integer ids for the list, thought et2-select-mail is NOT displaying the mailing-list icon, after a mailing-list is selected
2022-09-12 14:51:13 +02:00
ralf
bf5389b02e
* Mail/RichTextEditor: common preference "small paragraph" now changes return key to a line break instead of a paragraph (with margin)
2022-09-12 10:05:01 +02:00
nathan
217ae647e7
Fix historylog created editable versions of some widgets, triggering the dirty save warning
2022-09-09 12:04:23 -06:00
nathan
04feaff1d0
Avoid parse error that breaks load if string is passed as an object property
2022-09-09 08:35:20 -06:00
nathan
9db38979ef
Infolog: Move timestamper & encrypt buttons into tabs using slot and parentID
...
Also, fix parentId was inconsistently applied
2022-09-08 13:14:55 -06:00
nathan
f85de279c6
Fix some property bugs
...
- Parse values that should have been objects but came as strings
- Decode SearchMixin.searchUrl
2022-09-08 11:17:34 -06:00
Hadi Nategh
79cec31989
Fix label of button overlaps outside its container if it gets squeezed enough
2022-09-08 12:47:11 +02:00
ralf
7b54b0f563
set correct return type
2022-09-08 11:30:20 +02:00
nathan
a10938ab2b
Fix select account readonly did not properly show names with CSV
2022-09-07 15:12:06 -06:00
nathan
3380b867b8
Fix some overlap styling issues with sub-headers
...
In particular, call list buttons and most date filters were overlapping the row count
2022-09-07 09:54:09 -06:00
nathan
0fb1f32152
Et2LinkEntry: If the app is changed, clear previous search results and focus the search field
2022-09-07 08:42:04 -06:00
nathan
151df0f76b
Et2Select + search fixes
...
- Fix multiple=false had gap between widget and dropdown
- Add clearSearch() to clear the (remote) search results
2022-09-07 08:40:46 -06:00
nathan
7f94b3ae6c
Et2Date: Add "Today" button
2022-09-06 11:32:25 -06:00
nathan
6b4a16357f
Et2LinkAppSelect: Fix displayed icon did not change when value changed
2022-09-06 11:11:13 -06:00
nathan
365f29f498
Explicitly translate labels & statustext in nm rows
2022-09-06 09:17:12 -06:00
nathan
cc132a8d72
Revert "getting label / tooltip of images to be translated", fixed another way.
...
This reverts commit 06ae750b32
.
2022-09-06 09:16:25 -06:00
ralf
06ae750b32
getting label / tooltip of images to be translated
...
not sure why this is necessary, as Et2Widgets lists label and statustext as to translate ...
2022-09-06 10:41:08 +02:00
ralf
1ec9ef63fe
fix Uncaught TypeError: Failed to execute 'getComputedStyle'
...
thought the image no longer changes, when selecting another one :(
2022-09-05 13:59:07 +02:00
Hadi Nategh
978d356eed
Set background color for buttons used in dialogs footer
2022-09-05 10:10:11 +02:00
Hadi Nategh
ed87a8039a
Implement Spinner widget
2022-09-02 13:50:38 +02:00
nathan
daf63d9c23
Et2Select: If multiple and no value, overlap the search onto the widget
2022-09-01 11:53:19 -06:00
nathan
24daafb9ef
Et2Select: If somebody set '' as an option value then '' is not a bad value and doesn't need to be fixed.
2022-09-01 09:58:08 -06:00
nathan
1bbcdbfeb7
Fix Et2SelectAccount couldn't have non-account options, so freeEntries didn't show up
2022-09-01 08:30:43 -06:00
nathan
2e319319d1
Fix general free entries did not validate with 0 validators
2022-09-01 08:29:46 -06:00
nathan
a3d2674757
Et2Select + search: Fix some bugs
...
- Select a searched value didn't validate due to different attribute name
- et2-searchbox inside et2-select threw an additional change event, needed to catch that
- fix_bad_value() needs different handling when you can search, otherwise it just gets cleared again
2022-08-31 13:28:20 -06:00
Hadi Nategh
2507fc99bd
Fix broken attached label in description
2022-08-31 13:01:06 +02:00
Hadi Nategh
8555fa2f8f
Fix description & label not being aligned in middle (happens for labels not wrapped in table)
2022-08-31 12:27:52 +02:00
Hadi Nategh
38d7604115
Prevent execution error
2022-08-31 12:24:49 +02:00
nathan
6458511d75
Et2Select: Fix some missing "emptyLabel" bugs
...
- If there were no select_options, and an invalid value, empty label was not shown (Infolog pricelist)
- Select Number had numeric values for options which did not match string values (Infolog completed)
2022-08-30 14:27:19 -06:00
nathan
446b51d74a
Customfields: Explicitly use description widget for readonly text fields
2022-08-30 13:28:15 -06:00
Hadi Nategh
e1a87caf6c
WIP of better UI
2022-08-30 07:50:43 +02:00
nathan
aee54e5f45
Fix text customfield with rows set did not result in multi-line textarea
2022-08-29 09:21:49 -06:00
Hadi Nategh
31e83ddf05
Stop tags being drawn to the max width
2022-08-29 16:47:58 +02:00
nathan
1b0c2a95a2
Fix nextmatch search
2022-08-29 08:44:09 -06:00
nathan
12ef8163b4
Fix double nextmatch refresh if you search, press [Enter], then take focus out of the search
2022-08-26 13:23:36 -06:00
nathan
234b2c78b9
Et2SelectCountry: Fix limited size of search box
...
There was a conflict between flag style & search styles. Now using a specific element for the current value flag instead of styling the whole slot.
2022-08-26 11:48:02 -06:00
nathan
23977d6c21
Fix "select all" long task threw an error and didn't complete
...
Progressbar was not found because the load event was never fired from the dialog.
2022-08-26 09:28:33 -06:00
nathan
b136958425
Et2Select: (multiple=false) When searching and user selects a value, abort search and show all non-matching entries again
2022-08-25 15:51:15 -06:00
nathan
4d8bd89952
Et2Widget: Fix widgets could not pull objects from content to use as attributes
...
et2-vfs-mime for files in kanban is an example
2022-08-25 13:25:45 -06:00
nathan
d25a0b215e
Some work on a visual test, not yet working
2022-08-25 10:19:45 -06:00
nathan
33dcbc218f
Revert "Calendar: Fix some kanban listen problems"
...
This reverts commit 59e64cd908
.
2022-08-25 10:16:05 -06:00
nathan
59e64cd908
Calendar: Fix some kanban listen problems
...
- Status filter isn't really applicable
- Priority was missing its options
2022-08-25 10:13:32 -06:00
nathan
fe42b206c5
Make avatars in AvatarGroup always round
2022-08-25 09:17:05 -06:00
Hadi Nategh
cdcf80afb5
Set default shape for avatar to rounded
2022-08-24 11:21:15 +02:00
ralf
dfba1bba9c
fix strange (wrong height and styled) textboxes in CF's
2022-08-24 08:47:53 +02:00
nathan
19d4b9a8b6
Make nm filters always the same size (33% each) and show ellipsis when the current value is too long
2022-08-23 11:07:02 -06:00
nathan
81378fe3a5
Calendar: Fix recurring event prompt did not have labels or icons on buttons
2022-08-23 08:54:31 -06:00
Hadi Nategh
e75621fb39
Set default placement for tabs in mobile template
2022-08-23 13:49:20 +02:00
Hadi Nategh
151fc00641
Adopt toolbar widget to use buttonIcon
2022-08-23 12:44:50 +02:00
Hadi Nategh
83dc0a95f8
Don't let button-icons grow/shrink
2022-08-23 12:42:10 +02:00
nathan
018dd11bd2
Icon improvements:
...
- Put the default resolver back, otherwise default icons can't be found
2022-08-22 14:58:55 -06:00
nathan
0775fd1a4e
Icon improvements:
...
- If Et2ButtonIcon image does not resolve to a egw image, treat it as a Shoelace icon name
- Add egw images as an icon library for Shoelace
eg: <sl-icon library="egw" name="5_day_view"/>
2022-08-22 14:06:23 -06:00
ralf
ffb8354728
move label stuff to Et2Button as Et2ButtonIcon does not need it
2022-08-22 22:00:18 +02:00
nathan
1d5467faab
Et2ButtonIcon: Fix icons didn't show
...
Must use SVGs here
2022-08-22 13:45:06 -06:00
ralf
263f2c867f
re-add lost label getter and setter to fix not shown labels in buttons
2022-08-22 20:24:40 +02:00
ralf
b2d9e30b8d
fixing widget set readonly="true" in template and $readolys[$id] = false is still readonly
...
we need to unset readonly attribute, after setting it and before calling transformAttributes, which would set it again
2022-08-22 18:37:11 +02:00
nathan
f0dcc1685d
Move our button code into a mixin and extend sl-button to our current et2-button and sl-icon-button to a new et2-button-icon.
2022-08-22 08:44:54 -06:00
ralf
406da0dcec
propagate label to et2-button to show it (use label="" to show just the icon)
2022-08-22 14:59:06 +02:00
Hadi Nategh
d3d0216a39
WIP Mobile template: Make all widgets large on mobile template
2022-08-22 13:59:17 +02:00
Hadi Nategh
54cd616b2c
WIP Mobile view: get the nm search boxes the right size
2022-08-22 13:33:55 +02:00
nathan
3c6a8c559f
Give nm columnselection more width & height
2022-08-19 14:51:32 -06:00
nathan
49e9dc660d
Kanban: Adjust styles to better match 21.1
...
- Changed AvatarGroup to use circle avatars
- Et2Avatar default for shape was overriding what was in attribute
- Fix doubled card contents
- Remove some unneeded classes
2022-08-19 14:33:59 -06:00
nathan
6e30a68121
Get automatic search when more than 20 select_options working for all cases
...
StaticOptions, change after init previously didn't work
2022-08-19 11:07:16 -06:00
ralf
da2db8ccc0
fix not working contacts in calls list
...
caused by first set empty value overwriting/removing the this.app, which is no longer available when the real value/id is set
2022-08-19 09:55:08 +02:00
nathan
bfa2477f5b
Fix description label did not handle %s
...
This is the "preferred" way of handling such things with LitElement (in render), over the way Et2Widget has to change the DOM due to extended widgets.
2022-08-18 16:22:39 -06:00
nathan
4318d1c0a5
Put nextmatch column selection into a dialog
2022-08-18 14:47:58 -06:00
Hadi Nategh
c052b2e9af
Fix toolbar actions have no tooltip set
2022-08-18 11:10:39 +02:00
nathan
24d9d3ef53
Fix search letter cannot be disabled
2022-08-17 16:26:22 -06:00
nathan
dce4ac78fc
- Fix some missing column labels in column selection
...
- Fix column sorting didn't work
2022-08-17 15:48:29 -06:00
nathan
40bbc53af8
Fix Uncaught TypeError: Cannot read properties of null (reading 'app_obj') when clicking a project title.
...
onclick for nextmatch rows was not getting re-parsed for each row, so it was trying with the original widget from the template instead of the one from the row.
Also accepting widget as argument into compiled legacy code and using it over original context so we don't need to re-compile for each row.
2022-08-17 13:23:55 -06:00
nathan
6caaba1bca
Et2AvatarGroup: Show names on hover
2022-08-17 08:53:24 -06:00
nathan
8747bc2e0c
Allow et2-select-email to be focused as first input
2022-08-16 16:49:42 -06:00
nathan
d5d9dd6164
Select + search improvements
...
- Use et2-search widget with clearable for search
- Add focus(), which opens & focuses search
2022-08-16 16:46:20 -06:00
nathan
0110cdf5f9
Fix error syncing due to missing context
2022-08-16 16:43:18 -06:00
nathan
0ae69429b5
Fix CustomFilterHeader did not work properly
...
Some transformations were not correctly handled, and events were therefor not bound
2022-08-16 09:29:08 -06:00
nathan
8c7cfc3e69
nm - give the reason when it can't generate column name (no IDs)
2022-08-16 09:22:57 -06:00
nathan
660ba3368d
Fix missing description label
2022-08-16 09:20:40 -06:00
Hadi Nategh
4fab7c1aaf
Fix select apps drop down not being aligned with other fields in infolog and generally in all apps
2022-08-16 11:38:08 +02:00
ralf
2a7d05a545
fix not camelCase attribute name, sanitize app-names to 16 chars and use "infolog" for CRM-view
...
still not fully working, as NM controller somehow overwrites it again :(
2022-08-16 10:10:36 +02:00
nathan
ffc4fe36a0
Kanban: Fix display of resources on card by adding Et2AvatarGroup
2022-08-15 15:16:23 -06:00
nathan
95f10b57f3
Et2Image: Check that src from content is valid to avoid overwriting existing src attribute
...
Happens in Kanban contact, src="email" but email has a value (an email address)
2022-08-15 13:25:08 -06:00
nathan
6095b0e2ae
Fix Et2LinkSearch did not always get correct option when it was loaded with a value
...
SearchMixin was incorrectly allowing it as a free entry, so it wasn't being properly loaded by Et2LinkSearch
2022-08-15 10:38:19 -06:00
nathan
652e84644b
Et2Widget: 'attributes' is read-only in webcomponent, so assign it in to avoid errors
...
This is used by some kanban column stuff
2022-08-15 10:35:12 -06:00
nathan
ddee9a2b59
Et2Select: Move option rendering into its own function, call it for Et2SelectAccount. This fixes missing option/label in some cases
...
eg: Kanban edit column Add/Remove assigned
2022-08-15 10:31:49 -06:00
ralf
2a8aa8e7ae
some fixes for vfsSearchUI
2022-08-15 17:38:56 +02:00
ralf
c0490007ff
fix TypeError: _widget.get_value is not a function
2022-08-15 16:48:40 +02:00
Hadi Nategh
a456f509f5
Let the tags styling matches the rest of the framework
2022-08-12 12:46:48 +02:00
ralf
8b45483c68
fix not working "use enddate" in edit or quickadd
...
also fix not displayed month in header and add translation of month or week-day names
2022-08-12 11:38:15 +02:00
ralf
429886139b
change default remoteQuery to send query and options as parameters and additional as GET parameters
...
to support old taglist style callbacks and the select callbacks
2022-08-11 11:24:07 +02:00
ralf
458519800d
removing tiny left padding and big right margin from [+] button in calendar NM header
2022-08-11 11:15:22 +02:00
ralf
75a263a047
automatic enable search for more than 20 options on Birgits request
2022-08-10 13:29:15 +02:00
ralf
a54c100470
fix email selection after changing selects client- and server-side to no longer send id attribute, but value
...
thought we still accept id, if there is no value
2022-08-10 13:28:48 +02:00
Hadi Nategh
b59b4ff2aa
Change default input focused color
2022-08-10 13:15:24 +02:00
ralf
9ddfba4a24
fix no category was selected (because of numeric value) and color was not shown
2022-08-09 17:24:28 +02:00
ralf
259bc4cd71
fix not working click on URL
...
static method Et2Url.action() can NOT use this.egw(), but global egw
2022-08-09 16:46:57 +02:00
Hadi Nategh
5f67bd720a
Fix shoelace inputs outline focused color
2022-08-09 16:46:19 +02:00
Hadi Nategh
1a32718e62
Override some of the shoelace tab's styling
2022-08-09 15:53:29 +02:00
Hadi Nategh
281047e2cc
Keep the original outerNode top offset as we need it later for NM height calculations
2022-08-09 15:17:58 +02:00
ralf
ea0cbd0441
account selection currently only need to use server-side search, for pref "Primary group and search"
...
for all other types the local search is sufficient, as everything is already local!
fix Taglist::ajax_search for accounts to pass the icon to client-side and always set value instead of id
2022-08-09 10:47:57 +02:00
ralf
7c976d7fdd
fix et2-checkbox onChange not called
2022-08-08 18:32:43 +02:00
ralf
e7eb9f42e3
fix many errors around et2-select emulating old taglist:
...
- preprocessor: translate attributes autocomplete_url -> searchUrl, autocomplete_params -> searchOptions, and allow options
- sending search query as URL/GET parameter with default of app: <appname>
- handle searchUrl like allowFreeEntries by adding selected result to select_options via createFreeEntries, as they otherwise get removed by fix_bad_value not finding the value in select_options
- change taglist validation (again) to not validate search values
- still requires changes in application code, as taglist always behaved like multiple=true (returning and expecting an array of values) and did automatically search from client-side for it's initial value(s)
--> maybe more changes are in order to NOT require changing application code
--> fixes editing Sieve rules
2022-08-08 17:28:51 +02:00
ralf
79a395e3e6
fix missing scrollbar in longer then visible dropdown
2022-08-08 14:44:37 +02:00
ralf
7f36de45a4
take symlink indicator from api not old etemplate app
...
Using LGPL licenses GNOME icon: https://de.wikipedia.org/wiki/Datei:High-contrast-emblem-symbolic-link.svg
2022-08-08 14:12:20 +02:00
Hadi Nategh
301d38796f
Still set width for buttons with only icon and remove the extra left padding in this case as we want the button and icon be square
2022-08-08 11:57:02 +02:00
ralf
2017bd8261
remove legacy widgets dropdown_button and favorites
2022-08-07 12:09:02 +02:00
ralf
d9d14f1e2a
implement appicon as web-component and remove/replace legacy et2_widget_image with stubs
2022-08-07 11:55:02 +02:00
ralf
29ac5d82a9
remove legacy widgets url-*, colorpicker and tabs
2022-08-07 11:02:54 +02:00
ralf
ba35be1d86
Change Et2Checkbox to behave closer to legacy et2_widget_checkbox and thereby fixing all sorts of errors with it.
...
Fix vfsSelectUI to be able to select files again with click on the row and only submit selected files.
Also change Et2Widget.iterateOver and legacy et2_widget.interateOver to be called with new web-component classes like Et2Checkbox. Also make Et2Widget matching all widgets by default like et2_widget.
Remove legacy et2_widget_checkbox code.
2022-08-07 10:10:33 +02:00
ralf
239a81e6d9
replace et2_link_add with a stub and no longer include it in etemplate2.ts
2022-08-06 08:38:16 +02:00
ralf
49aba7193d
adapt tab-activation on validation error to new tabs and additionally scroll widget into view
2022-08-05 20:33:29 +02:00
nathan
e8a93ab782
Handle initial value sometimes not set after Shoelace version bump
2022-08-05 11:32:59 -06:00
nathan
36d74dd91f
Select search term after selecting a search result
2022-08-05 11:10:50 -06:00
nathan
e67c3d6e61
Et2Tabs: Implement et2_IResizable
2022-08-05 11:01:26 -06:00
ralf
b22674dbd7
change tabbox to be an input widget allowing to get and set the active tab
2022-08-05 17:37:23 +02:00
Hadi Nategh
2593acf303
Let the button with no label set and only icon be square
2022-08-05 16:25:47 +02:00
Hadi Nategh
3fe7398b18
Fix some of calendar's toolbar actions not having icon or caption
2022-08-05 13:03:59 +02:00
nathan
fb94a47df1
Et2LinkSearch: Avoid error if title couldn't be found
2022-08-04 16:25:44 -06:00
nathan
b88ce18639
Fix invalid template names caused by appending cache_buster incorrectly
...
38721229b0
2022-08-04 16:15:04 -06:00
nathan
045f322bf6
Et2Select changes:
...
- Position search & edit inputs to avoid reflow
- When editing a freeEntry, blurring accepts the current value, before it canceled the edit
2022-08-04 15:50:52 -06:00
nathan
f08eaa9fdc
Et2Colorpicker: Turn on clear value button
2022-08-04 14:03:28 -06:00
nathan
098c2ab3f0
Fix some issues from the shoelace version bump
...
- SlSelect.getItemLabel() not there anymore
- SlSelect.menuItems is now a real list, and fails when parent tries to write to it
- Tabs didn't hide properly when not active, giving a scrollbar
2022-08-04 13:47:16 -06:00
nathan
97daa9a731
WIP Fixing colorpicker - moving it to be based on Shoelace
2022-08-04 13:08:34 -06:00
nathan
78acaba766
Et2LinkList: Fix deleting links on unsaved entries deleted more than expected
2022-08-04 10:47:06 -06:00
nathan
111e337db1
Avoid error when getting tab height from parent
2022-08-04 09:19:04 -06:00
nathan
ae4b8de4e5
Remove setting textContent twice. If needed, loadFromXML() will handle it.
2022-08-04 08:59:40 -06:00
Hadi Nategh
47825f1be3
Override default color-indicator from shoelace
2022-08-04 16:31:14 +02:00
Hadi Nategh
de699325a6
Set a smaller font-size for tab's label
2022-08-04 16:19:30 +02:00
Hadi Nategh
2369daa2e8
Add toggle alignment option into Et2Details widget
2022-08-04 11:40:27 +02:00
ralf
509fbd73e9
fix JS error, if user has no preferences or favorites
2022-08-04 09:08:46 +02:00
nathan
aabda23bbd
Et2Select: Turn on hoist, we want it on more than off
...
In particular, ACL dialog, but there's a bunch of other places too.
2022-08-03 16:28:18 -06:00
nathan
bddcf72728
Get collabora placeholder dialog working again in trunk
2022-08-03 16:05:50 -06:00
nathan
f7cf372f09
Et2Select: Better handling for when select_options & value get set one after the other
...
This caused selectbox to look empty, even though it had a value since the new menu-items hadn't been created when value was set
2022-08-03 16:04:08 -06:00
nathan
ed92763176
Et2LinkAppSelect: Make proper SelectOptions out of app list
2022-08-03 15:30:22 -06:00