Commit Graph

3365 Commits

Author SHA1 Message Date
74a8872ead Fix missing value in some static option selects
Shoelace select initially rejects the value due to missing option, and needs to be re-set once our options have arrived
2023-11-16 10:17:51 -07:00
fc603d0a85 more renames of Et2Dialog attribute modal to isModal 2023-11-16 13:43:08 +02:00
94a2a0473b fix audio files wont play (modal attribute renamed to isModal) 2023-11-16 13:37:27 +02:00
30238e52cd Et2SelectEmail: Fix incorrect total result, wrongly shown "No results" 2023-11-15 15:28:22 -07:00
47a466a39d Api: Fix client side validation failure when widget value was null
Happens for readonlys, disabled, selects with no valid options
2023-11-15 12:00:52 -07:00
2967f8d508 Et2Select: Let select option list get as big as it needs 2023-11-15 09:43:27 -07:00
6dfd854ba4 Home: Fix portlet broken by Shoelace update to 1.8
They made HasSlotController internal only
2023-11-15 09:15:17 -07:00
0be063ba89 fix error, if this.editor is not (or no longer) set 2023-11-15 17:28:17 +02:00
83909cd1fa Fix js error of Cannot read properties of null (reading '0') 2023-11-13 13:27:00 +01:00
187cd3c112 Fix set video src and duration not working 2023-11-13 12:53:18 +01:00
9c4d28ca63 merge master into 23.1 2023-11-13 10:05:15 +02:00
45f9801df8 Code documentation 2023-11-09 11:12:16 -07:00
da92471920 Add default keyboard shortcuts for save & cancel buttons 2023-11-08 14:37:30 -07:00
6a5697eab8 More Drag helper style adjustments
- height adjustments for mail so we can see address & subject
- Change how avatar is sized so we can override it via CSS
2023-11-08 09:54:00 -07:00
cfd628e87f Slightly better rendering for description contents
Uses the litElement lifecycle better, updated() is called after render()
2023-11-03 16:15:53 -06:00
1bc26101cd Fix default drag & drop helper did not work well with webcomponents
It doesn't let us do async, so was not waiting for widgets to be updated
2023-11-03 16:13:45 -06:00
d89646df27 Fix Editable Avatar's edit/delete icons are no longer displayed 2023-11-03 11:32:14 +01:00
454ab3fb98 Fix spacing & sizing
- Move option group titles to the left more
- Fix calendarowner dropdown would not size properly in sidebox
2023-11-02 17:29:50 -06:00
c2623dcb55 Fix some issues when search results have option groups
- Options sometimes disappeared when selected
- Count was off if one of the results was already selected
2023-11-02 16:58:38 -06:00
ba04abd1b4 Et2Dialog: Fix height attribute was not setting dialog height 2023-11-02 13:04:32 -06:00
d3a9f6bc46 disable user-password popup for plaintext passwords (no need) and set disabled, if password field is readonly from server-side 2023-11-02 17:22:18 +02:00
a9aefd6a32 disable user-password popup for plaintext passwords (no need) and set disabled, if password field is readonly from server-side 2023-11-02 17:16:34 +02:00
a7396cab69 Fix Uncaught (in promise) TypeError: et2_selectbox.find_select_options is not a function from et2_widget_ajaxSelect 2023-11-02 08:15:30 -06:00
5d705c3b79 Calendar: Group calendar owner / participant search results by resource type 2023-11-01 13:26:23 -06:00
d1e7040011 Fix email tag always shows "not-allowed" cursor for read-only 2023-10-31 09:02:03 -06:00
b3899e86dd Et2Select: Stop sidemenu scrolling when scrolling through options 2023-10-30 09:10:21 -06:00
9b2d208e8e Implements load method for multi-video widget 2023-10-30 13:27:38 +01:00
d15c63198c Docs: Get the ETemplate2 webComponent widets working on doc site
Sort of.  This breaks shoelace images due to them not being imported / copied, and not using the CDN
2023-10-27 11:50:51 -06:00
31b322b870 Et2SelectEmail: Fix pasting in merge placeholders didn't do anything 2023-10-26 10:19:59 -06:00
4ab788acc1 Et2SelectEmail: Fix pasting in merge placeholders didn't do anything 2023-10-26 10:09:44 -06:00
4a48fc74c7 Et2Select: Fix placeholder could not be shown 2023-10-25 10:11:44 -06:00
8fa2f565b6 Set duration time for webm files based on provided duration url param 2023-10-23 09:49:01 +02:00
f7e1dedac9 Pass options on if sent from server 2023-10-19 16:11:12 -06:00
85cef367e2 Move Et2SelectAccount initial options to its own method, fix options were sometimes missing 2023-10-19 15:03:16 -06:00
a6d3a87c75 Doc: Get class doc into docs 2023-10-16 13:34:29 -06:00
173b9bdfda Api: Fix missing country returned object directly instead of Promise
Fixes JS error loading date widgets in registration
2023-10-16 09:42:28 -06:00
136c302c15 Fix cf customised setting check if there's no ID 2023-10-13 10:01:24 -06:00
5601b99c97 Et2Select: Add tabindex to options to avoid focus stealing in sidemenu, other event handling cleanup 2023-10-12 11:25:23 -06:00
f15cbd186f Docs: Better handling for deprecated properties & methods 2023-10-11 16:48:53 -06:00
65bf573f88 All etemplate widgets in component list 2023-10-11 14:48:58 -06:00
04ad3651a4 Api: Let legacy custom JS return
Legacy JS in the form app.appname.function where we _couldn't_ find the actual function now return.  Fixes some custom click handlers couldn't submit
2023-10-10 15:24:05 -06:00
de0ae8a6a7 Api: Fix unneeded reloads in nm when applying favourite 2023-10-10 09:55:15 -06:00
8584befb83 Api: Show nm columns from favourites
Need to update preferences before submitting
2023-10-10 09:55:04 -06:00
9c244a45f6 Api: Show nm columns from favourites, automatically reloading if needed to get missing columns 2023-10-10 09:54:57 -06:00
b60f9633e6 Fix favourites did not show customfield column if needed 2023-10-10 09:54:48 -06:00
235ff7a2cf Et2SelectAccount improvements
- Fix always including all accounts
- Limit included accounts to 100 to avoid breaking
- Let repeat() cache
- Improved "more results" count
- Reduce repeats & iteration needed
2023-10-06 11:37:46 -06:00
ad21be3216 Api: Fix account selection was always loading some accounts 2023-10-06 10:49:29 -06:00
58d486e6ba Fix switch widget not setting the initial state correctly 2023-10-06 16:06:23 +02:00
a4ee20b3ee Api: Fix unneeded reloads in nm when applying favourite 2023-10-04 15:13:25 -06:00
3088d168f4 More select tests
- finds options from DOM / template
- finds static options
- combinations with other option sources
2023-10-04 10:45:41 -06:00