Commit Graph

2437 Commits

Author SHA1 Message Date
nathan
ef910b246a Et2Dialog: Fix dialog open event was fired if a selectbox opened
Fixes flickering field in Collabora insert address dialog
2023-08-03 14:44:05 -06:00
nathan
9a121c2508 SearchMixin: If the value is changed while the search / options are open, recalculate positioning
Fixes bug where it looks like the value hasn't changed, until the dropdown closes.
2023-08-03 14:09:42 -06:00
nathan
29d896686a Api: Fix adding links did not always work after triggering a form reload 2023-08-03 09:06:13 -06:00
nathan
3b37c0b7ae Api: make longTask (merge to email) more robust
Should continue in the face of network error
2023-08-03 08:11:32 -06:00
nathan
e021685d93 Adapt long task changes for 23.1 2023-08-02 09:04:07 -06:00
nathan
d5eb78c705 Fix insert multiple entries into email document failed at "Please wait ... loading" 2023-08-02 08:41:33 -06:00
nathan
38bd4bed1b Revert "Fix insert multiple entries into email document failed at "Please wait ... loading""
Needs to be adapted for EgwAction changes

This reverts commit ce1b244acc.
2023-08-02 08:40:21 -06:00
nathan
ce1b244acc Fix insert multiple entries into email document failed at "Please wait ... loading" 2023-08-02 08:17:20 -06:00
nathan
059cbfff55 SearchMixin: Limit number of JSON search results 2023-08-02 08:16:22 -06:00
nathan
149e2fec76 Fix email tags marked as invalid 2023-08-02 08:16:12 -06:00
nathan
881d3c05c5 SearchMixin: Fix select option not having class causes JS error
Fixes addressbook edit popup does not resize
2023-08-02 08:16:03 -06:00
nathan
b304be3a20 SearchMixin: Move missing value check after update so select_options gets a chance to populate first
This should speed up the initialization a little, avoiding some unneeded checks
2023-08-02 08:15:45 -06:00
nathan
df2de928da Api: SearchMixin improvements to work with Et2LinkSearch more efficiently
Moving handling of missing options to overridable method so Et2LinkSearch can use its more efficient method
2023-08-02 08:15:34 -06:00
nathan
69455d725a Api: Fix Et2LinkSearch initialization with value failed, giving blank widget 2023-08-02 08:15:27 -06:00
nathan
a3ce1d4cab WIP on caching static option file and searching it client-side
Get it working in nextmatch
2023-08-02 08:15:21 -06:00
nathan
e00582b5f9 WIP on caching static option file and searching it client-side
Avoid type error in CalendarOwner
2023-08-02 08:15:13 -06:00
nathan
2c919d4318 WIP on caching static option file and searching it client-side
Still needs file caching & passing correct URL
2023-08-02 08:12:46 -06:00
ralf
ae76eea6f3 fix lavatar shows same letters for every contact not having a photo
caused by wrongly falling back to the contact with contact_id equal to account_id of current user
2023-07-27 13:28:55 +02:00
ralf
44359621a3 fix TypeError: Cannot read properties of null (reading 'trim') 2023-07-26 14:22:11 +02:00
nathan
d6739afe8b Calendar: Fix group calendar could be missing events under some circumstances
Static account options added to CalendarOwner were blocking the group data needed, fixed by using sent options over account options
2023-07-26 09:06:27 +02:00
nathan
0e8e46f44e Api: Fix doubled link on open and missing link app select 2023-07-25 18:53:53 +02:00
ralf
2b323f4ceb aggregate Etemplate\Widget\Url::ajax_contact() requests and search for all of them in a single AJAX request and SQL query 2023-07-25 18:35:13 +02:00
hadi
a4109439e1 Implement onlyEmail option for UrlEmailReadonly 2023-07-25 11:42:40 +02:00
hadi
29d159ea29 Make sure to show only email when using current value as email (avoids getting duplicate name in fullEmail mode) 2023-07-25 11:42:01 +02:00
nathan
0632068664 * Api: Customfield selectboxes can read options from a PHP file in the VFS using @[path] ex: @/home/Default/selects.php 2023-07-18 08:20:18 -06:00
nathan
43f704f0d5 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-07-18 08:20:12 -06:00
nathan
5b401feb85 Changes for opening etemplate in a dialog
- openDialog() now returns Promise<Et2Dialog>
- fixed etemplate reload
2023-07-14 09:08:35 +02:00
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
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
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
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
nathan
2d0976f456 Handle parsing number into boolean expression 2023-07-06 08:46:12 -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
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
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
0e82fd3a15 Fix link delete button to show on row hover again 2023-06-12 09:37:14 -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