ralf
95f68a4b3d
convert buttons without background_image attribute to et2-button-icon with name attribute instead of image
2022-08-22 22:31:24 +02:00
Hadi Nategh
bcf9d6b937
Do not drop the size attribute if we are setting new shoelace size format
2022-08-22 13:29:17 +02: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
nathan
a7fc04631e
Add legacy option for link
2022-08-16 09:44:03 -06:00
ralf
3d97fccb61
only rows > 1 switches on multiple
...
in some places we have rows="1", which des nothing at all previously, removing it now
fixes errors e.g. in AB where the category filter returned [] (empty array) for "All addressbooks" causing a server-side PHP 8 error (Invalid index)
2022-08-11 14:14:33 +02:00
ralf
e38d0709b7
fix <description /> causes all sorts of problems (by replacing it separate)
...
for <select rows="N" also switch on multiple, as old eTemplate2 did
fixes tracker site configuration did not allow to select more than one staff member
2022-08-10 15:44:48 +02:00
ralf
cb63269598
style former buttons without background-image, which are now just an et2-image with a more fitting height
...
preprocessor rewriting them adds class imageButton giving the image a height of 20px, like the image in buttons has
2022-08-09 16:54:21 +02:00
ralf
e438f89371
allow whitespace after last attribute eg. <description value="Something" />
2022-08-09 16:05:22 +02:00
ralf
0e2d1cb15d
fix broken index templates
2022-08-09 15:37:15 +02:00
ralf
56f103b21c
another change to make preprocessor more tolerant with > in attributes
...
eg. label="> %s"
fixes Admin >> Applications >> EPL Functions >> CTI
2022-08-09 15:15:17 +02:00
ralf
b9da68dd7f
making preprocessor more tolerant with > in attributes
...
eg. <description value="Use Admin >> Site config"/>
2022-08-09 13:03:14 +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
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
7e81b69b74
support empty attribute values
2022-08-06 12:11:41 +02:00
ralf
c3673b1126
ported timestamper to a web-component
...
also implemented legacy methods activateTab() and setActiveTab() for new tabs widget
2022-08-03 15:48:35 +02:00
ralf
b00136f178
coping with new et2-tab-box widget:
...
- change preprocessor to always us it
- giving tab-panels again some padding-top
- change et2_grid to NOT set a width, if cell has a colspan
- switching table-layout: fixed off again, as it does not work well with infolog.edit
- remove dropped Chosen, jQuery-UI, MagicSuggest and old blueimp gallery from Gruntfile
- simplified infolog.edit a bit, which gives better results
2022-08-03 10:57:49 +02:00
nathan
d438b4e355
Use webcomponent for tabs
...
+ handle tabs set by variable better
2022-08-02 14:53:15 -06:00
ralf
0141cba334
fix sharing password in mail.compose
2022-07-29 15:29:51 +02:00
ralf
76b8a783e5
fix date-time_today was not converted to et2-date-time-today
2022-07-28 16:34:25 +02:00
Hadi Nategh
e0b4c5f6af
Implements Et2Details webcomponent widget
2022-07-28 15:01:17 +02:00
nathan
7df2876d8a
New checkbox webcomponent based on SlCheckbox
2022-07-27 15:51:32 -06:00
ralf
38721229b0
inject preprocessor and (daily) cache-buster for templates in dialog widget
...
also allow for a xml comment inside the deprecated menulist tag
fixes Admin ACL popup
2022-07-27 17:54:09 +02:00
ralf
e1097d9ea3
fix <button...></button> was removed and reorganized preprocessor to only consider boxes for <overlay legacy="true">
2022-07-27 11:04:08 +02:00
ralf
9fe7b22d1f
use method to parse and serialize attributes
2022-07-26 18:00:12 +02:00
ralf
656c155951
fix button tags over multiple lines were not processed correctly
2022-07-26 17:36:34 +02:00
ralf
79df51dbbb
show "Search" as placeholder
...
fix sometimes not modified <textbox by adding it to ADD_ET2_LEGACY_PREFIX_REGEXP too
2022-07-24 09:31:58 +02:00
ralf
ac0867ab77
implement et2-searchbox and using it in NM
...
reorganized preprocessor a bit to fix some not replaced size attributes
also pass on constructor args in all Et2Url widgets
There is still a JS error in new searchbox, causing admin searchbox to not render :(
2022-07-22 20:43:09 +02:00
ralf
0044398090
fix preprocessor was not replacing all size attributes with width for web-components
2022-07-22 17:20:44 +02:00
ralf
888b518e9b
implement et2-password web-component replacing passwd legacy widget
...
enabled Et2InvokerMixin to use an image instead of a textual label
also remove et2_fullWidth CSS class from all web-components in the preprocessor
2022-07-22 15:21:40 +02:00
ralf
e90ae88a20
fix preprocessor and transformer can't know if application widget is a web-component or a legacy widget
...
- white-list now records-* like et2-* widgets for camelCase attribute names
- server-side transformer also transforms attribute-names to camelCase for widget-type et2-*
- client-side transformAttributes() also transforms attribute-names to camelCase for widget-type et2-*
--> hopefully this can be dropped, once als widgets are web-components
2022-07-22 11:08:55 +02:00
nathan
e4f8c88e1e
Map template attribute size="#" => width="#ex" to avoid conflict with Shoelace size attribute
2022-07-21 11:33:42 -06:00
ralf
39a3ef8183
rename parent_node to parentId, as parentNode is already a DOM property
2022-07-21 19:29:43 +02:00
ralf
b9d96ea3e9
change all attribute-names of new et2-* widgets to camelCase
...
only exception is select_options, never used in templates
2022-07-21 17:57:50 +02:00
ralf
50eabfd290
fix not changed nextmatch-customfilter and listbox (old alias of select)
2022-07-21 12:10:58 +02:00
Hadi Nategh
5f86313f46
Fix soe of avatar issues:
...
- fix letter avatar not getting background
- fix default size
- fix letter avatar not being able to set existing src
2022-07-15 13:35:23 +02:00
nathan
ff6d0ef785
Fix handling of modified widget type.
...
It wasn't working if a Transform changed the widget type to a webcomponent
2022-07-08 09:24:03 -06:00
nathan
ed16ce52a2
Change nextmatch headers to use web components
2022-07-07 13:18:42 -06:00
ralf
2756b9b247
quote double quotes, if replacing single quotes with double quotes
...
attr='Some "important" text' --> attr="Some "important" text"
2022-07-01 14:39:54 +02:00
nathan
29bd389c36
Don't set attributes on sub-classes - it's not needed, and interferes with taglist-account
2022-06-22 14:33:58 -06:00
ralf
1218cce8bb
fix typo "editModeEnabled"
2022-06-22 16:35:05 +02:00
ralf
2db52d939b
improve automatic conversation from taglist, by setting multiple=true, allowFreeEntries=true and enableEditMode=true
...
fix Admin > Mail account by using et2-select-email instead of taglist, as et2-select-multiple does NOT yet support allowFreeEntries and enableEditMode
2022-06-22 16:28:34 +02:00
nathan
ce474a1cd1
Fix IDE reformatting of templates could cause template mangler to discard attributes that were reflowed to a new line
2022-06-20 08:56:56 -06:00
ralf
48b82ef104
fix <select type="select-something" was wrongly converted to <et2-selectsomething
2022-06-18 12:21:05 +02:00
ralf
d3cfbbe5e6
enable taglist-thumbnail --> et2-select-thumbnail conversation
...
also convert select with options to et2-select and move select/taglist conversation to always run, independent of legacy=true
2022-06-17 22:54:54 +02:00
ralf
980f7cb0df
fix first category was always selected in calendar.edit as somehow select_options were set before multiple
...
removed the deduplicate select-first-option code now in favor of the one in firstUpdate
also automatic convert empty_label for et2-select multiple into a placeholder
2022-06-13 14:39:01 +02:00
ralf
f6471eabb1
replace single quote enclosing attribute values with double quotes
2022-06-13 09:57:24 +02:00
ralf
493455d3e0
enable Nathan's new taglist/select multiple now for all taglist, but taglist-thumbnail
2022-06-13 08:20:53 +02:00
ralf
240f79efbf
change link attribute only_app to et2-link attribute app and map r/o link-entry to link
...
also fix et2-link to not display ??, if it has no value
2022-06-09 23:02:01 +02:00
ralf
136b6e82d0
also replace <description/> and remove unnecessary empty <description/> from infolog.index
2022-06-08 18:27:14 +02:00