nathan
063c772fbb
Et2DescriptionExpose, used in Mail app
2022-05-05 13:48:39 -06:00
ralf
7dc959c223
automatic convert <(image|description) expose_view="true" to <et2-*-expose
2022-05-05 19:07:44 +02:00
nathan
632c40fbb7
Et2ImageExpose, used in Resources app
2022-05-05 08:51:48 -06:00
Hadi Nategh
a8bcdd88b0
Get rid of jQuery.Color from jquery-ui
2022-05-05 15:55:49 +02:00
ralf
3eaed09185
fix not working et2-date-since and rename et2-date-time_today to et2-date-time-today
...
create a new method egw.getTimezoneOffset() return current offset according to user preferences on server-side, like (new Date).getTimezoneOffset()
2022-05-05 11:38:48 +02:00
nathan
efcd5bbe51
Et2ImageExpose
2022-05-04 17:31:42 -06:00
nathan
3c6c2aec1a
Don't break everything if something goes wrong cloning webcomponent for nm row
2022-05-04 17:27:58 -06:00
nathan
54b2ac54b1
Start on Expose mixin
2022-05-04 11:58:04 -06:00
Hadi Nategh
eecad5f70f
Set back focus to the first field in form
2022-05-04 14:14:48 +02:00
Hadi Nategh
9cdfc93a52
Fix stolen focus on egw input fields
2022-05-04 12:50:29 +02:00
nathan
10af4f7514
Historylog + webcomponents
...
- historylog widget now uses webcomponents for timestamp & user, and whenever possible for values
- History::get_rows() formats customfield date/date-time values as needed
- implement setDetachedAttributes(), if nextmatch & historylog are calling them on webcomponents, might as well use that to set what they pass
2022-05-03 11:01:42 -06:00
Hadi Nategh
ed5e7414ac
* Mail: Fix htmlEditor does not include styling on each tag causing mail content sent with no styling
2022-05-03 15:43:03 +02:00
ralf
f72497db13
HistoryLog: use new Et2DateTimeReadonly widget
...
thought set_value of web-component get not called and nothing is displayed therefore
2022-05-03 11:26:55 +02:00
nathan
215dc21ec5
Avoid error if label is missing
2022-05-02 17:43:10 -06:00
nathan
bbb6444dce
If caller wanted to iterate over all et2_widgets (default), include all Et2Widgets as well
2022-05-02 17:41:35 -06:00
nathan
cff1671f6f
Et2Date: Handle formatting full month d-M-Y
...
Maybe we just pass all formatting off to flatpickr?
2022-05-02 17:10:07 -06:00
nathan
b0a57a05fd
Calendar refactors:
...
- Remove some more jQueryUI.datepicker usages
2022-05-02 15:23:03 -06:00
ralf
3777ba7691
fix not working callback syntax with egw.jsonq() and changing callback to promise (after the fix)
2022-05-02 16:22:12 +02:00
ralf
dc784800b7
loading new Et2Date* instead of dropped et2_date* widget, thought r/o variants in nextmatch are still not working
2022-05-02 13:53:24 +02:00
ralf
21def67f83
fixed a couple more calls to egw.link_title() without 3rd parameter
2022-05-02 11:43:51 +02:00
ralf
74ad3ba7b0
change egw.jsonq() and egw.link_title() to return promises
...
* egw.jsonq() now always returns a promise like egw.request(), still supporting old callback syntax
* egw.link_title(_app, _id, _callback, _context, _force_reload) supports boolean values for _callback (to not break existing code)
- false: just a cache lookup (like current call with just 2 parameters), returning null, if no title is cached, or the title
- true: always return a promise, which might already be resolved, if title was cached
- function: also returns a promise and calls the callback
--> calling egw.link_title(_app, _id) without 3rd parameter is deprecated now (gives a console.trace), to be changed in future to always return a promise, unless called with false, to just return a cache-lookup
* Et2SelectAccountReadonly and et2_link_widget is changed to use the new/updated syntax with promises
2022-05-02 11:27:33 +02:00
ralf
e4c2432f4c
replace jQuery.ui.keyCode.X with EGW_KEY_X
2022-04-30 10:33:07 +02:00
nathan
f54c7f40bb
Improve holidays() return documentation
2022-04-29 14:37:52 -06:00
nathan
b44f4ea30d
Move holidays to its own file, show holidays in all date selection calendars
2022-04-29 14:37:52 -06:00
nathan
de2dade286
Et2SelectReadonly: Make sure we're dealing with string value
2022-04-29 14:37:52 -06:00
ralf
baf07a4a2c
only load localization, if we have one
2022-04-29 17:40:43 +02:00
nathan
e5f238584e
Et2Date: Avoid error localizing English
2022-04-29 09:14:51 -06:00
ralf
ef7c175814
remove jQueryUI DateTime picker and splitter and use them also for eTemplates marked as legacy
2022-04-29 17:05:43 +02:00
Hadi Nategh
c707af32b6
Add hideOnEscape and noCloseButton options into ET2Dialog
2022-04-29 14:28:43 +02:00
nathan
63b2755dbf
Et2Date: Add localization
2022-04-28 15:46:39 -06:00
Hadi Nategh
36f41a9470
Handle appendTo attribute used in legacy dialog properly
2022-04-28 18:00:37 +02:00
nathan
278f75546a
Fix submit proceeded even if legacy widget failed validation
2022-04-27 11:56:03 -06:00
nathan
1c42668a97
Change sidebox calendar from jQuery to webcomponent / flatpickr
2022-04-26 15:27:49 -06:00
nathan
0017b78b53
Et2Date: Add support for inline dates & passing a format to parseDate
2022-04-26 15:24:58 -06:00
Hadi Nategh
fcf195cf47
Fix toolbar menulist doesn't get closed after clicking away from it
2022-04-26 14:53:01 +02:00
Hadi Nategh
a835d5bc6e
WIP replacing jQuery-ui: fix et2_toolbar styling with new details tag
2022-04-26 11:18:43 +02:00
nathan
7d86272b28
CSS / Layout cleanup
...
- Fix select with tags=true causes hidden WebComponents to display
Chosen wants to do sizing calculations which wasn't working properly on w.c.
2022-04-25 10:46:51 -06:00
Hadi Nategh
ca794817eb
WIP replacing jQuery-ui:
...
- Replace accordion with html details
2022-04-25 17:24:29 +02:00
nathan
65c683b9a2
Change styling on validation messages
2022-04-25 08:47:12 -06:00
nathan
aafbc58cdd
Validation message styles
...
- Changed to absolute position to avoid reflow
- "Better" style
2022-04-22 16:07:57 -06:00
nathan
4f17302bb1
CSS / Layout cleanup - better autosize
...
- More consistent sizing/position for invoker
2022-04-22 15:22:31 -06:00
nathan
ec8b32c01d
CSS / Layout cleanup - better autosize
...
- let things inside box shrink, actual widget can decide minimums
- Slotted inputs take up full width by default
- More consistent sizing/position for invoker
2022-04-22 15:21:46 -06:00
nathan
f8f04071be
CSS / Layout cleanup
...
- Remove margin from input,button,select
- Fix some spacing issues
- Switch selects from display:inline-block to display:block so they take up all parent's space
- Let background (required) color show through select tag
- Some layout tweaks on mail account template
2022-04-22 13:07:22 -06:00
nathan
6feb9f468a
Handle missing nextmatch controller when setting up auto-refresh by trying again later.
...
(Missing controller caused by new template loading)
2022-04-22 10:52:16 -06:00
nathan
f18dd19536
Et2Split: Make bar darker on hover
2022-04-22 10:46:41 -06:00
nathan
166db3f4d2
Et2Description: Fix extra space while preserving line breaks
2022-04-21 10:41:30 -06:00
nathan
19ae591bdf
Et2Split: Add a background color to the splitter bar
2022-04-21 09:09:59 -06:00
nathan
416136dc24
Et2Description: Fix missing styles from extending classes (Et2Url) while also keeping decrypt on hover working
2022-04-20 16:23:53 -06:00
nathan
234684061d
Et2Split: Bugfixes
...
- better handling of nested dynheight
- handling orientation property
- avoid resizing when not visible
2022-04-20 14:15:49 -06:00
nathan
94f843cd50
Et2Widget: Add modifications in when transforming attributes
2022-04-20 14:09:45 -06:00