Commit Graph

2228 Commits

Author SHA1 Message Date
nathan
8a53646188 Fix some textboxes refused to flex smaller than 160px 2022-07-22 09:04:14 -06:00
nathan
a0467b2e55 Fix JS error about can't find input box from init() 2022-07-22 08:42:35 -06:00
ralf
b8ffa91efe use et2-textbox instead of an input for et2-date* to inherit SL styling 2022-07-22 15:45:47 +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
ralf
ec8c38b882 * Mail: register EGroupware as protocol handler for mail, you need to click on the double-diamond in the url bar and confirm it 2022-07-22 09:43:37 +02:00
ralf
817aba5af6 fix custom fields (somehow input widgets had no readonly) and some JS errors
Et2Number still misses styles, thought it extends Et2Textbox
2022-07-22 09:03:54 +02:00
ralf
62470de869 fix not shown avatar image in addressbook.edit due to camelCase attribute names 2022-07-21 22:52:35 +02:00
nathan
ea20784e31 Get Invoker buttons back after changing Et2Textbox base
379ceeb3e5
2022-07-21 14:05:53 -06:00
nathan
2b848622fb Add missing validator variables 2022-07-21 13:45:24 -06:00
nathan
68849a2b79 Use et2-select & et2-textbox in Et2DateDuration for consistent styling 2022-07-21 13:32:06 -06:00
nathan
379ceeb3e5 Switch Et2Template to extend SlInput instead of LionInput
Also includes changes to how validation messages are handled to use our own stuff
2022-07-21 12:39:00 -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
b1da5b05a9 remove not used Et2Taglist 2022-07-21 17:22:47 +02:00
Hadi Nategh
679a589c25 Add image property in avatar into detached attributes 2022-07-21 12:02:23 +02:00
ralf
d26ed9bfce fix not displayed r/o et2-select-cat values 2022-07-21 11:50:05 +02:00
nathan
123ca38d65 Fix changing selected link entry still kept the original value 2022-07-20 15:05:05 -06:00
nathan
f72b842031 Let search take full size - empty label margin was taking some 2022-07-20 15:03:15 -06:00
nathan
6c315301aa Get link-to buttons looking better by switching to et2-button 2022-07-20 11:27:18 -06:00
nathan
af9aaa25de Remove warning 2022-07-20 08:12:16 -06:00
nathan
724c42aa6b Block works better for automatic sizing 2022-07-19 16:55:46 -06:00
nathan
4b52b62698 Handle width attribute from template as special case
Should still be avoided
2022-07-19 16:20:49 -06:00
nathan
3b147eaa49 Make sure options are clean before trying to merge them. Fixers broken historylog.
Also filter out duplicate options.
2022-07-19 14:20:39 -06:00
nathan
2bcebeed42 Add Et2SelectEmail.full_email property. Set to true when you need to see the full, original value 2022-07-19 13:18:51 -06:00
nathan
1a2e691cbb Fix some bugs with static options being repeated
- Select Tab options being sent from server & cached
- Static options not properly set for all selects
2022-07-19 11:47:03 -06:00
nathan
5ee60c0af1 Fix option merge unique filter left out some options 2022-07-19 10:31:45 -06:00
ralf
6ab34234f5 fix error changing app in preferences 2022-07-19 18:10:12 +02:00
Hadi Nategh
5038d060fe Use et2-select webcomponent for quick add button 2022-07-19 16:50:02 +02:00
ralf
bec95a4a9d et2-select-tab widget to fix common preferences not storing and some fixes 2022-07-19 15:17:43 +02:00
Hadi Nategh
244d42cfb0 Set header list for toolbar widget to 3dots style by default 2022-07-19 14:36:01 +02:00
Hadi Nategh
32dc216917 Mark src as deprecated property, and some more code improvements 2022-07-19 12:18:42 +02:00
nathan
5deef4844d Add Et2LinkAdd widget 2022-07-18 16:34:58 -06:00
nathan
0d85b3ee48 Fix missing entry title in writable Et2LinkEntry when value is set from content
Timing issue, sometimes title gets back later than we'd like but in this case getting title earlier wasn't working.
2022-07-18 15:27:31 -06:00
nathan
b7623cb284 Fix missing link entry title in readonly customfield list 2022-07-18 15:24:10 -06:00
nathan
8ffbe97884 Fix link entry with only_app & initial value did not find entry label 2022-07-18 11:42:26 -06:00
nathan
b064b84874 Fix some selects with static options did not render their options after ddd72fd51a 2022-07-18 10:41:48 -06:00
nathan
7e76020ce1 Get Et2Avatar edit to load current value 2022-07-18 09:50:56 -06:00
Hadi Nategh
918980af66 Fix avatar's action buttons not being bound to hover 2022-07-18 16:33:23 +02:00
nathan
9ebc1e8f15 Et2Select: Avoid JS error if allowFreeEntries=true but editModeEnabled=false 2022-07-15 13:08:57 -06:00
nathan
ddd72fd51a Et2Select: Fix selects with static options from the server would not consistently keep any additional options set.
Creation / lifecycle would sometimes set the extra options several times, and depending on the timing of the server response they might get overwritten, or overwrite the server options.  Now keeping them separate to avoid this.
2022-07-15 12:56:24 -06:00
nathan
2571d90691 Follow my own advice and split out content into an overridable sub-template in case we need it 2022-07-15 09:30:12 -06:00
nathan
3d386edbac Fix readonlys were claiming to be dirty 2022-07-15 09:22:49 -06: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
6d97cb17f4 Et2EmailTag: If email has name in it, or is a known contact, show just the name. Show name + email on hover. 2022-07-14 16:54:18 -06:00
nathan
28a289e5e1 Check if email is known contact immediately, previously waited for a mouseover 2022-07-14 15:34:58 -06:00
nathan
0034a8fe1c Thoroughly remove search icon, not just hide it. 2022-07-14 14:17:50 -06:00
nathan
53e5e45a5d Better handling for options with more properties set (title, icon)
Previously they were being discarded
2022-07-14 13:16:48 -06:00
nathan
3c96eb9ce6 Fix webcomponents with validation errors did not get tab activated 2022-07-14 11:37:29 -06:00
nathan
fb423b4efc Et2Widget: If an attribute / property is already an object, don't try to transform it before setting 2022-07-14 11:34:37 -06:00