Commit Graph

4388 Commits

Author SHA1 Message Date
nathan
9f4ce778cc Work on LinkEntry
- fix initial value
2022-06-02 09:16:28 -06:00
nathan
850f6effeb Work on LinkEntry
- fix title missing on load when we didn't have it client side
2022-06-02 09:14:01 -06:00
ralf
9579fc0caf fix app-selection in et2-link-entry does not set it's value from the user prefs / keep the last selected value 2022-06-02 17:06:55 +02:00
ralf
a720a7f48a remove unnecessary getValue() 2022-06-02 16:31:27 +02:00
ralf
fc227f82d0 fix TypeError, if no options are set and remove unnecessary getValue() 2022-06-02 16:29:58 +02:00
ralf
a9e180a9fb fix mixup of this.value, Lion this.modelValue and old get/set_value
causing eg. numeric values not to be cast to string and therefore not selecting their option
2022-06-02 16:12:38 +02:00
ralf
c251e2f185 remove removing of empty description and label widgets
also make sure option.value is a string, as sl-select seems to use === to calculate matches so option with value 0 is not selected by a value of '0'
2022-06-02 13:45:34 +02:00
Hadi Nategh
530f153c17 Make sure we do have a valid element before constructing 2022-06-02 10:27:31 +02:00
ralf
4b9e733b94 change .et2_fullWidth to 100% to right-align with new widgets 2022-06-01 18:59:29 +02:00
nathan
dbcf9e75eb Set only_app to override value 2022-06-01 09:42:50 -06:00
nathan
7cb13015ae Fix item class was not correct 2022-06-01 09:41:53 -06:00
nathan
59862bba7b Fix missing shoelace clear button 2022-06-01 09:26:12 -06:00
nathan
2b68b6cbbe Work on LinkEntry
- fix missing app select
- add clear button
- use request() instead of json() to query server
- add optional class property to SelectOption
- move cleaning select options to its own function so we can use it anywhere
- Use separate render to keep local / remote options separate.  Local options stay in select_options.
2022-06-01 09:25:11 -06:00
Hadi Nategh
cbe097b2e3 Replace dnd in toolbar 2022-06-01 16:47:07 +02:00
ralf
0aa813a0ff got LinkEntry mostly working 2022-06-01 16:05:34 +02:00
nathan
9b0e1b9206 Work on LinkEntry 2022-05-31 13:41:39 -06:00
nathan
c572fa637d Fix conflict between Et2Select static type options & custom options resulted in losing the type options 2022-05-31 13:41:39 -06:00
Hadi Nategh
5f7d1c50a2 Replace draggable used in fw splitter 2022-05-31 17:21:21 +02:00
ralf
133787f239 bind load handler to set overflow-y: auto on body of contentDocument to allow vertical scrolling 2022-05-31 15:44:48 +02:00
nathan
bc045bf0da Add SearchMixin
A little clunky and still missing server-side
2022-05-30 17:05:38 -06:00
Hadi Nategh
ae75801033 Fix error TypeError: Cannot read properties of null (reading '0') 2022-05-30 17:19:23 +02:00
Hadi Nategh
017901a317 Add allowScrolling for action popup and do not popup context menu when more than one touch is used 2022-05-30 16:07:26 +02:00
Hadi Nategh
23eaef96b2 Implements allowScrolling for tapandswipe 2022-05-30 16:04:59 +02:00
Hadi Nategh
742f2a5cb0 Add fingercount into tapandswipe 2022-05-30 11:02:58 +02:00
ralf
0b547c921d fix error for typeof this.value !== 'string', eg. number, undefined, ... 2022-05-29 09:53:41 +02:00
nathan
7f1cd117a7 Fix select change event not firing, initial value not showing 2022-05-27 15:39:51 -06:00
nathan
45327d559a Hoist to escape container 2022-05-27 14:22:15 -06:00
nathan
57e1845c16 Avoid errors if src changes before first render & img is not there 2022-05-27 14:20:35 -06:00
nathan
c212734618 Switch Et2Select to be based on Shoelace select instead of LionSelect 2022-05-27 14:12:31 -06:00
nathan
0963f7d548 Fix src could not be changed after being set 2022-05-27 14:11:35 -06:00
nathan
ac52723ce7 Get Et2Taglist to show initial value when that value is not in select_options
(only if allowFreeEntries is on)
2022-05-27 14:11:35 -06:00
nathan
aa20af559a LinkApp selection 2022-05-27 14:11:35 -06:00
ralf
c174e29238 remove again removing of empty description and label widgets as they are needed in tables to place widgets in the correct column
also add (currently) commented out conversation for taglist
2022-05-27 16:25:12 +02:00
ralf
89615cf9de * CalDAV/CardDAV/TbSync: fix wrong/minimal privileges on sub-collections causing TbSync not to display this calendars or addressbooks 2022-05-27 12:03:37 +02:00
ralf
ad98fb299b disabling DND in toolbar for now 2022-05-26 17:28:58 +02:00
ralf
b33c13824f drop jquery-ui, jquery-ui-touch-punch-fix and temp. comment out last usages in framework classes 2022-05-25 21:01:26 +02:00
Hadi Nategh
b8d348d30c Replace jquery-ui swipe with tapandswipe library 2022-05-25 17:40:54 +02:00
nathan
a5fe6d938b Don't need this, we can remove it 2022-05-25 08:45:22 -06:00
Hadi Nategh
b3c2dcc90b Cleanup draggable dom after drop/dragend events 2022-05-25 11:16:33 +02:00
nathan
ece3813459 Remove jQueryUI for moving events in timegrid view 2022-05-24 14:53:49 -06:00
ralf
50b9a15436 add calendar-proxy-(read|write)-for properties on principal as requested by TbSync 2022-05-24 20:22:33 +02:00
ralf
26c64c0838 * Mail: explicitly apply default font and -size before sending mail 2022-05-23 19:36:04 +02:00
Hadi Nategh
1afcc3ebce Replace all jquery-ui sortable used in fw 2022-05-23 17:45:56 +02:00
Hadi Nategh
0ac617eb15 Add DRAG_ENTER event 2022-05-23 17:22:03 +02:00
Hadi Nategh
98e959346c Reduce time complexity of alarms calculation 2022-05-23 15:46:45 +02:00
ralf
7a55eef6c8 fix typo in preference name rt(e)_font* 2022-05-23 12:48:30 +02:00
Hadi Nategh
9f363ad51c Fix importing interactjs library 2022-05-23 11:35:14 +02:00
ralf
55a13aa99d refactor VLV and server-side sorting into a trait, so it can be used in Accounts\Ldap too 2022-05-20 21:49:08 +02:00
ralf
ab427562b7 * LDAP: implement optional group-filter
also some code cleanups and fixes
2022-05-20 21:47:02 +02:00
nathan
5ed00cc435 Make dialogs resizable again 2022-05-20 11:41:09 -06:00
ralf
c57ae62d1c fix not working installation under PHP 8.1 due to mysqli throwing errors now by default 2022-05-20 18:00:54 +02:00
Hadi Nategh
3dd247f1df Another unintentional import statement 2022-05-20 16:11:05 +02:00
Hadi Nategh
e8378bd742 Revert unintentional changes from previous commit 2022-05-20 16:05:22 +02:00
Hadi Nategh
ef6cf29ce1 WIP DND:
- fix drag-hover not working smoothly
- fix drop zone events being triggered by other draggable items (none et2action draggable)
2022-05-20 16:02:20 +02:00
ralf
d7beb18470 adding favorites widget to fix calendar.toolbar showing a placeholder 2022-05-20 14:29:58 +02:00
nathan
f7fc569018 Fix expose CSS & a couple of bugs 2022-05-18 17:33:40 -06:00
nathan
c46f9c5440 Fix up dropdown in toolbar 2022-05-18 14:39:25 -06:00
nathan
7300250dfb Use webcomponent for favorites widget 2022-05-18 11:30:44 -06:00
nathan
776ce7202a Et2Favorites 2022-05-18 11:01:27 -06:00
nathan
5edd7dc782 Do a better extending Et2WidgetWithSelectMixin and using what it provides 2022-05-17 10:04:39 -06:00
nathan
5528261050 Fix dropdown took over nextmatch header 2022-05-17 09:40:34 -06:00
nathan
3658d4e7f2 Avoid errors from webcomponent children who haven't had a chance to fully set up yet. 2022-05-17 09:36:56 -06:00
Hadi Nategh
b956f1f28d WIP replace jQuery-ui dnd with HTML5 dnd 2022-05-17 15:01:11 +02:00
nathan
17d2e2cb5c Change style of parameter type declaration to make sure it transformAttributes handles it correctly. Objects were still parsed as string, resulting in "[Object object]" 2022-05-13 14:22:44 -06:00
nathan
56def486f0 Switch toolbar to use Et2DropdownButton
NB: This doesn't actually work properly yet, there's something that closes the dropdown immediately that I haven't found the source of yet.
2022-05-13 14:19:21 -06:00
nathan
079ebf00b6 Et2DropdownButton: force different handling to escape any container 2022-05-13 14:12:42 -06:00
nathan
9e78e35fd3 Et2DropdownButton now working & looking like it belongs 2022-05-13 11:51:29 -06:00
nathan
ce922c8816 Fix Et2Widget.createElementFromNode() used the wrong variable to determine widget class, and missed out on modifications 2022-05-13 09:39:07 -06:00
ralf
6f2a93ef0a fix sometimes not working click handler in buttons
eg. admin.index or admin.acl
2022-05-13 17:18:15 +02:00
nathan
b69c5e7cbf Fix IDE errors without changing internal data type 2022-05-13 09:07:47 -06:00
nathan
de0c9aa3f4 Fix incorrect type issues on options 2022-05-13 09:02:22 -06:00
ralf
ace84d7953 fix not set image (if it was set to "") and missing onclick attribute
thought some button click-handler are still not working
2022-05-13 16:54:02 +02:00
ralf
273fe9a28a diverse fixes loading no longer existing legacy widgets like description 2022-05-13 15:32:36 +02:00
ralf
ac5932240b remove old expose view / blueimp gallery and all widgets which have been using them:
- new web-components are unconditionally replacing them via the preprocessor
- some widgets (eg. et2_description) could not be removed as other legacy widgets are extending them, but they are no longer registered
- as there are many places using et2_createWidget('description', ...), et2_description returns now web-components for no longer existing widgets
2022-05-13 11:59:13 +02:00
nathan
8172f6e72d Et2DropdownButton WIP 2022-05-12 15:22:49 -06:00
nathan
a7940fe4f6 Update declaration signature 2022-05-12 11:03:18 -06:00
nathan
9942ec9f08 Link fixes
- Fix links added to not yet saved entries were not displayed in link lists
- Adjust LinkList column sizes
2022-05-12 10:54:29 -06:00
ralf
485fa5e857 fix et2-button attribute hideOnReadonly was removed from the template
add hideOnReadonly to timesheet.edit buttons
also move link widgets to legacy-regexp, so we can drop the old expose code
2022-05-12 18:16:34 +02:00
nathan
b9d145a40b Link fixes
- Fix actual Expose didn't work on links themselves
- Adjust delete button / context menu caption to match file/link
2022-05-12 10:08:59 -06:00
ralf
a3a63f3586 * Filemanager: use bigger popups to open files (PDF: 1024*1024, text: 800*1024, images: 640*800) 2022-05-12 15:30:23 +02:00
ralf
40a42ed1c8 fix broken file-access cache after a917293 (fix smallPART file-access depending on full path)
fix wrong condition when storing an attachment, either the file or it's directory must be writable
2022-05-12 15:16:55 +02:00
ralf
6602078660 fix "Network error" download a log via our Api\Json\Tail class eg. CalDAV/CardDAV log 2022-05-12 11:28:17 +02:00
ralf
a3b0161d6d fix Update from < 14.3 not working since 21.1
because accidentally installed by 14.3.907 already installed egw_addressbook_shared table
2022-05-12 09:34:01 +02:00
nathan
d23b7c1a51 Link fixes
- Enable link webcomponents in etemplate.php
- Fix widget ID got overwritten
- Put title into light DOM for easier styling
- Styling
2022-05-11 15:10:09 -06:00
nathan
875a3996aa WIP on Et2LinkList, should be working now 2022-05-11 14:00:23 -06:00
nathan
b735b0f218 Fix Et2Description.ts appeared the same if you changed its value via JS 2022-05-11 13:58:01 -06:00
nathan
b88267160e WIP on Et2LinkList 2022-05-11 10:35:47 -06:00
nathan
07ced8046d WIP on Et2Link & Et2LinkString 2022-05-11 10:35:47 -06:00
ralf
1fb46bb74c display attachments also as a block (fieldset) replacing the ruler, if one is configured 2022-05-11 18:05:54 +02:00
ralf
8d29ad1841 more cleaning up commented out code 2022-05-11 16:16:50 +02:00
ralf
53d9abcbd9 cleaning up the TinyMCE code a bit now 2022-05-11 15:51:26 +02:00
ralf
6d57d81faa fix smallPART file-access depending on full path (not just /apps/smallpart/$id!)
allow apps like smallpart to additional return 0|1 instead of bool, to not cache result, if it depends on $rel_path, as cache does not consider $rel_path
2022-05-11 13:49:57 +02:00
ralf
c2b0d713c3 never set a full path as filename of an attachment as it triggers rejection for some mail-servers 2022-05-11 10:36:43 +02:00
ralf
b7d3b7408e WIP get TinyMCE to respect users preferred font and -size 2022-05-10 18:46:12 +02:00
ralf
ced6c77f46 fix PHP 8.x TypeError sending mail 2022-05-10 18:43:30 +02:00
ralf
9a0cc36366 fix PHP 8.1 throws \mysqli_sql_exception or \PDOException for SQL errors
- change them to our regular Api\Db\Exception
- for prop(find|patch) explicitly catch PDOException to deal more graceful with non-ascii prop-names
2022-05-10 12:36:25 +02:00
ralf
c4e0989bf9 replace original message header with fieldset in html and convert it to plain as before 2022-05-10 11:51:35 +02:00
ralf
5791ef0117 trying "harder" to set users default font and -size in TinyMCE 2022-05-09 18:37:56 +02:00
nathan
66ee3687b6 Fix widgets couldn't change statustext once set 2022-05-09 10:02:07 -06:00
nathan
daa324e948 Fix button wouldn't give its image 2022-05-09 09:59:13 -06:00