Commit Graph

6969 Commits

Author SHA1 Message Date
nathan
0b29d723a4 et2_widget_grid: Avoid exception if getDOMNode called as part of constructor 2024-10-09 09:37:29 -06:00
nathan
0add086707 Et2Tree: Add "unselectable" attribute to TreeItemData
unselectable=true is like disabled, in that the item cannot be selected, but if it has children it can still be expanded so children can be selected.
disabled=true cannot be expanded.

Also some restructuring due to method size
2024-10-08 15:13:23 -06:00
nathan
9f90aaf085 Et2TreeDropdown: Don't need to blur all the time 2024-10-08 08:21:24 -06:00
ralf
1378ba0df2 Changelog for 23.1.20241008 2024-10-08 09:24:24 +02:00
nathan
1c06e6864d More changes related to getting tree to handle actions on its leaves
- Fix action system selection vs tree
2024-10-07 13:31:28 -06:00
ralf
f772bf69cd remove facility to keep not autoloadable classes in EGroupware session, as there are no such classes anymore 2024-10-07 16:34:25 +02:00
ralf
c79f6c3b28 re-added no-image-shown.png / placeholder for not shown external images in mail 2024-10-07 15:52:20 +02:00
nathan
6fae72613f Deal with scrollarea absolute positioning vs expanding tree 2024-10-04 16:55:53 -06:00
nathan
b7215be0f1 Limit links in infolog list 2024-10-04 09:42:44 -06:00
nathan
1379855543 Further fixes on tree actions
- Fix expand on hover
- Fix trouble with dragging over item children
2024-10-03 10:58:36 -06:00
nathan
557e5bd236 Further fixes on actions
- fixed some duplicate binding causing long delay on tree context menu & general weirdness
- remove some unneeded stuff
2024-10-02 15:31:52 -06:00
ralf
ad3a7c16a9 setting font-size too for dialog type-icon to effect Bootstrap font-icons 2024-10-02 08:36:01 +02:00
nathan
1e277b2460 Fix tree context menu on server-loaded branches 2024-10-01 14:31:05 -06:00
nathan
2c196d3419 Fix drag & drop onto tree items loaded via ajax did not hightlight on drag enter 2024-09-30 13:58:31 -06:00
ralf
c392e26821 Changelog for 23.1.20240930 2024-09-30 09:06:00 +02:00
Ralf Becker
9ca8646510 pending translations from our translation server 2024-09-30 08:18:43 +02:00
nathan
686f56488c ET2Textbox: Fix textbox & searchbox did not update after value was changed programmatically 2024-09-27 09:44:53 -06:00
milan
b04d4b28b7 remove drag-drop hover effect on drop regarding #97141 2024-09-27 15:17:13 +02:00
milan
935e71c92c fancy theme tab header styling --remove text and added it as hover instead and moved image size calculation from class.pixelegg_framework.inc.php to pixelegg.less so it can be overwritten by e.g. fancy.less 2024-09-27 11:36:24 +02:00
ralf
9a034118d5 Filemanager: fix not being able to become superuser
also restyled it to be centered and fit its content
2024-09-27 11:07:40 +02:00
nathan
e239125fc4 Fix et2-selectbox was not properly firing clear events 2024-09-26 14:14:08 -06:00
nathan
a594f77601 Et2Image: Fix a few more cases where class went wrong 2024-09-26 11:35:41 -06:00
ralf
e7ed302ea0 Allow text "all_no_acl" for globalCategories 2024-09-26 18:37:05 +02:00
milan
378ea11c6c fix click on new mail account does not display unseen badges --ticket #99041 2024-09-26 16:09:28 +02:00
ralf
f88fa76866 fix class on et2-image was lost 2024-09-26 15:21:31 +02:00
ralf
7211dc789e fix not return app-placeholder icon, if app is not installed or has not navbar icon, also changed placeholder from "app" to "app-indicator" 2024-09-26 14:59:52 +02:00
ralf
1f23433506 using ViDoTeach icon from livefeedback videos, youtube for youtube-urls and regular mime-icons for the rest 2024-09-26 13:47:42 +02:00
nathan
e15c8a24f1 Et2LinkList: Fix screwed up merge & contextmenu 2024-09-24 16:57:47 -06:00
nathan
41e7e29dab Missing Et2LinkList changes 2024-09-24 16:15:52 -06:00
nathan
58763707fd Et2LinkString & Et2LinkList performance enhancements
- Limit server fetch to a certain amount of links (default 20)
- Load more button for Et2LinkList, More... for Et2LinkString
- Defer server fetch during initial loading for faster initial load
- Use repeat() so LitElement can do node caching magic
2024-09-24 11:50:38 -06:00
ralf
24ccfbf3ab * Mail: remove content of script and style tags from displayed html mail
only script tags itself, not their content was removed before, and style tags were not completely removed, if regular expression run into an error
2024-09-24 13:46:44 +02:00
ralf
b4a7362241 fix PHP error: count(): Argument #1 ($value) must be of type Countable|array, null given 2024-09-24 12:48:22 +02:00
ralf
3fbf2e99fd * All apps: limit number of loaded links to 20 and showing a load more button, if more are available 2024-09-24 11:32:17 +02:00
nathan
2fb7bbc760 Et2Searchbox: Fix clearing searchbox does not display the value as cleared 2024-09-23 08:41:09 -06:00
ralf
7e1b318bbc according to PHP 8.4 upgrading file, 2006 will be changed to 4031 for MySQL 8.0.24+ 2024-09-23 10:32:01 +02:00
ralf
3443fa82b2 fix cat-selection in addressbook is always smaller than possible and the other filters 2024-09-23 08:44:50 +02:00
nathan
279952d6f6 Make sure Et2TreeDropdown always closes when a tree-item is clicked, even if tree value does not change 2024-09-20 09:19:34 -06:00
nathan
308f371b95 Make select & tree dropdown have same border radius 2024-09-19 16:25:28 -06:00
nathan
c45246eac2 Et2TreeDropdown: search input has "search" as placeholder when it has focus 2024-09-19 16:07:12 -06:00
milan
26673f87fb fix type error if widget does not have div or body 2024-09-19 17:36:27 +02:00
milan
160f0e9aa7 align toolbar icons in the center 2024-09-19 17:34:52 +02:00
ralf
6d34931784 fix error / tabData was not passed 2024-09-19 16:05:45 +02:00
ralf
6dbe75400e fix some sizing issues: width/height wont scale down an image using now max-width/height instead 2024-09-19 14:57:08 +02:00
ralf
5496ce92cb fix error of not defined egw_globalObjectManager 2024-09-19 14:55:50 +02:00
ralf
84eab2f898 align favorite icon * for mobile/desktop and different font-sizes 2024-09-19 14:55:07 +02:00
ralf
29b1eaeeb4 fix error in mobile template/framework 2024-09-19 14:49:43 +02:00
ralf
5b797f9cf4 set title on et2-image for both bootstrap-image via css-class and embedded img tag 2024-09-19 10:47:42 +02:00
nathan
62f876de12 Et2TreeDropdown: hide popup on escape 2024-09-18 14:05:58 -06:00
nathan
cfbcaf3bab Et2TreeDropdown: close search results & tree on tab 2024-09-18 11:32:12 -06:00
nathan
1294220e7e Et2TreeDropdown style fixes
- multiple display of placeholder
- vertical alignment of tags when there's only 1 row of them
2024-09-18 10:42:16 -06:00
nathan
a3c7237907 Et2TreeDropdown / Et2SelectCategory: Icons & category colors 2024-09-18 10:08:36 -06:00
nathan
2da2ac81fa Et2TreeDropdown improvements
- multiple=false rendering
- fix some display search vs tree weirdness
- fix some keyboard actions
- translate placeholder
- blur widget after option selected when multiple=false
- implement clearable attribute
2024-09-18 08:11:25 -06:00
nathan
2e0010d138 SearchResult: Use the method to toggle selection instead of setting it directly 2024-09-17 15:30:35 -06:00
nathan
a2724d329c Et2Select: Pass option tooltip to the tag 2024-09-17 15:26:47 -06:00
nathan
6e7a01dde9 Et2LinkList: Do not create context menu until needed 2024-09-17 08:50:05 -06:00
nathan
5efbf26267 Et2VfsSelectDialog: Only start search when first loaded if dialog is open
Previously it always started search, even if created closed.
2024-09-17 08:37:14 -06:00
ralf
3f3dd901cc fix thumbnails in filemanager where cut off by width of column, not scaled to fit 2024-09-17 11:05:02 +02:00
ralf
eb14eef3df fix icon in et2-vfs-path and also get it to display "/" for the root 2024-09-17 10:49:03 +02:00
ralf
e184d5bdcd fix Framework::includeJS("", "app", "filemanager") failed on client-side, due to a double slash "//" in path
also fixed various warnings
2024-09-17 08:46:59 +02:00
ralf
cc72c6ff60 allow to use et2-vfs-mime to display mime-icon by giving the string mime-type as value
(not exposable, as no download_url)
2024-09-16 15:47:37 +02:00
milan
e5058b8715 center text label of tabbox tabs 2024-09-13 21:34:16 +02:00
ralf
5e28fb7f95 fix ajax_get_options does not use default of true for globalCategories 2024-09-13 13:04:48 +02:00
ralf
d1dc372e8d fix not shown/found custom images 2024-09-13 12:05:27 +02:00
ralf
4f7b6d6b0b readd or replace many missing/removed images 2024-09-13 11:49:09 +02:00
ralf
6105f02459 fix count(): Argument #1 ($value) must be of type Countable|array, null given 2024-09-13 08:38:10 +02:00
milan
9d8224453e Et2DropdownButton make position adjustable by passing placement attribute on to sl-dropdown 2024-09-12 23:58:37 +02:00
nathan
2cfab31d19 Et2DateDuration: Fix disabled was not disabling inputs, reflect change event 2024-09-12 14:13:47 -06:00
nathan
b7160e6eaf Et2TreeDropdown: stop constantly listening for document clicks, only listen when open 2024-09-12 08:32:28 -06:00
ralf
1b0f8683bb readded a ton of images I had not replacement for and which were used in less files, todo: fw_mobile.less 2024-09-12 16:18:55 +02:00
ralf
ac389d8aab remove all existing images and adding a couple redesigned ones to match Bootstrap icons 2024-09-12 15:00:17 +02:00
milan
b770389011 fix styling of et2-tabbox textarea to not cut off its box shadow when selected 2024-09-12 14:34:21 +02:00
ralf
b8844cd5c4 fix et2-select-bool to return true/false and not "1" or "0", fixes mail-account edit switches sieve on again after apply 2024-09-12 11:56:08 +02:00
ralf
55b76229ac fix et2-select-cat globalCategories attribute was not parsed correct (default for not setting the attribute is true!) 2024-09-12 11:04:15 +02:00
nathan
e36743c203 Et2DateRange: Fix unwanted wrapping, add From & to placeholders 2024-09-11 11:21:21 -06:00
nathan
66093ae038 Fix setting Et2DateDuration.value programmatically did not update UI 2024-09-11 10:59:59 -06:00
nathan
e156ea8f64 Et2Widget: Stub some egw object methods that widgets use to avoid errors when egw object is not loaded 2024-09-11 10:59:59 -06:00
nathan
0f99d2e794 smallpart still needs hbox 2024-09-10 08:49:14 -06:00
nathan
cc8f060cdd CSS changes to make Et2TreeDropdown multiple=false look more like regular selectbox 2024-09-10 08:49:14 -06:00
nathan
d26b620f8d Fix currentResult got set to invalid node if results were re-rendered 2024-09-10 08:49:14 -06:00
ralf
87bb0fed29 allow longer sharing-path up to 1024 chars (instead of just 255), which also limited Collabora editing 2024-09-10 09:48:07 +02:00
ralf
9f02f15221 remove unnecessary import breaking loading of EGroupware itself 2024-09-10 08:37:17 +02:00
nathan
c43681b57b Import bootstrap CSS for docs 2024-09-09 10:20:46 -06:00
nathan
26b1431c31 Et2TreeDropdown: Ellipsis on tags 2024-09-09 09:46:43 -06:00
nathan
e30fb0cbb8 Stop redeclaration warnings from some old widgets 2024-09-09 08:12:22 -06:00
nathan
b9b8a40bf4 Et2DateRange replaces old et2_date_range widget 2024-09-09 08:12:22 -06:00
ralf
da57a26c5a automatic close sidebox/-bar in mobile framework when tree or favorite is clicked 2024-09-09 10:29:30 +02:00
nathan
c59be309d6 Get emptyLabel property translated 2024-09-06 14:20:20 -06:00
nathan
df20d58abf Etemplate: Add a timeout to waiting for widgets to load so we can more easily know what happened & track it down. 2024-09-06 11:04:32 -06:00
milan
f4438ac59d fix bug in tree where lazy loading without a result would never stop 2024-09-06 16:49:49 +02:00
ralf
a99a595258 fix double statustext/tooltip 2024-09-06 13:05:37 +02:00
ralf
94d6b365ea fix some JS errors displayed in mail 2024-09-06 12:36:56 +02:00
ralf
2e0e7607a0 use different icons for import & export as up- & download
as im/export is gettings something in or out of EGroupware, while up/download is getting something from or to the browser
2024-09-06 11:34:34 +02:00
ralf
bca81e8f58 fix reverse import and export icons 2024-09-06 11:27:06 +02:00
ralf
1e3c48c270 fix bootstrap images in mail and remove old images, but navbar and (changed) smime* 2024-09-06 11:20:57 +02:00
nathan
dcece87c9c Et2TreeDropdown: Better sizing & styling to more closely match select & other widgets 2024-09-05 14:56:54 -06:00
ralf
51e7269d88 using bootstrap icons as stock icons for categories (former api/images) and allow to search arbitrary bootstrap icons when adding/editing categories
also fixed error editing categories in the root ('0' is not allowed validation message)
2024-09-05 18:00:18 +02:00
ralf
1f7325b648 fix PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead 2024-09-05 14:35:00 +02:00
ralf
0c95c632d5 Changelog for 23.1.20240905 2024-09-05 09:36:34 +02:00
ralf
b6205a9215 remove / comment out some not used images 2024-09-04 18:52:34 +02:00
ralf
81412b0af3 use bootstrap icons for top- and avatar-menu 2024-09-04 18:34:31 +02:00
nathan
efb9c55b64 Automatically handle numeric customfield values for spreadsheets 2024-09-04 10:09:45 -06:00
ralf
0a1ee38b40 fix close button top-right corner is outside of rounded dialog corner in fancy theme 2024-09-04 18:05:12 +02:00
ralf
2c38d8f600 fix buttons in toolbar are not round 2024-09-04 16:15:26 +02:00
nathan
3e121cc953 Fix numbers got wrecked on blur
Numbers with , as decimal separator were being re-parsed incorrectly on blur, ruining what the user just input
2024-09-03 15:22:53 -06:00
ralf
29e1f53366 need to flatten hierarchical categories (with children) for use in Et2SelectReadonly 2024-09-03 13:35:36 +02:00
ralf
432d36c80b automatic open "Security & password" dialog for SSO logins, if password is required in filemanager 2024-09-03 12:52:33 +02:00
ralf
fd216b07f2 * Mail/Filemanager: admin can allow users to store a password to pass to mail- and file-servers in case they use (password-less) SingleSignOn 2024-09-03 09:58:47 +02:00
nathan
5264e2e197 Fix disconnected et2-vfs-mime could stall template load 2024-08-30 11:06:04 -06:00
nathan
6a3a8654fc Add some extra info for debug during loading 2024-08-30 09:57:03 -06:00
nathan
b34fec2363 Et2TreeDropdown: Fix dropdown trigger got hidden if placeholder was larger than available space 2024-08-29 13:54:47 -06:00
nathan
b070a5992c Better sizing for groupbox / details 2024-08-29 11:19:14 -06:00
nathan
69c87ffb94 Darker panel border, applies to details & groupbox 2024-08-29 10:25:30 -06:00
ralf
1789b6be6f fix customfield with specified tab was also displayed in the default CF tab and therefore not storing its value 2024-08-29 16:16:00 +02:00
ralf
75662dd424 * Mail: show s/mime signed/encrypted icons in mail display popup (verification is only shown in preview!) 2024-08-29 11:42:26 +02:00
ralf
7211d5931c fix smime icons in mail were always displayed and using the old icons modified to black color 2024-08-29 09:24:34 +02:00
ralf
9e946d5c7c fixing horizontal miss-aligned icons in calendar toolbar and vertical miss-alignment in favorites 2024-08-29 08:19:58 +02:00
ralf
7370179235 removing et2-image { display: inline-block }, as it breaks (vertically miss-aligns all images in buttons)
not setting it, seems to be fine
2024-08-29 08:08:59 +02:00
nathan
135eea076a Try to fix some icon alignment issues 2024-08-28 17:48:17 -06:00
nathan
f35945eac9 Try to fix some image size issues 2024-08-28 17:20:58 -06:00
nathan
57136fb272 Fix misplaced mime icons in vfs upload file list 2024-08-28 15:21:00 -06:00
nathan
13b5d1af6b Et2DateDuration: Fix border radius between numbers 2024-08-28 14:49:08 -06:00
nathan
57f8bc0a99 Get Details / Groupbox to take all allowed vertical space and scroll internally if contents are too large 2024-08-28 13:20:01 -06:00
milan
986e83750c bind overall tooltip only on the combobox and not on the whole popup.
The tree can now show its own tooltips without interference
2024-08-28 18:23:37 +02:00
ralf
55c6b122d2 WIP new icons: open document and other missing icons, plus png icons for thumbnails 2024-08-28 17:35:48 +02:00
nathan
aa17533ff0 Use theme variables 2024-08-28 09:29:57 -06:00
ralf
0eec0297e6 allow arbitrary subdirectories in image-name 2024-08-28 14:51:54 +02:00
nathan
0465465fb2 Et2Tree: Fix unneeded ellipsis in item label 2024-08-27 13:46:45 -06:00
ralf
d1726937f7 more work on fancy theme and mime-icons from bootstrap, thought PHP GD unfortunately does NOT support SVG, so we can not include a type-icon into thumbnails 2024-08-27 19:15:25 +02:00
ralf
039acf1569 fix left padding of image in buttons, specially for fancy theme 2024-08-27 14:25:49 +02:00
ralf
c49618be51 just using width: 100%, unless a height is eplizitly specified 2024-08-27 13:43:00 +02:00
ralf
3f80021c8e fix wired icon-sized in tree (by defaulting img in et2-image to width: 16px and not max-width: 100%) 2024-08-27 12:25:36 +02:00
ralf
e4b073dfa3 new save and save-new icons based on Bootstrap icons floppy composed with either x-square-filled or plus-circle-filled 2024-08-27 11:03:47 +02:00
nathan
e6593a101b Et2TreeDropdown: Make minimum height the same as other inputs
Fixes Et2Dropdown was a little too tall
2024-08-26 14:12:36 -06:00
nathan
0f5a1a2b5a Et2SelectCatagory: Fix missing category icons & colors 2024-08-26 11:37:59 -06:00
ralf
9495dd48b9 fix hacked printing to wait for dialog.hide() instead of using a timeout and also reduce waiting for the browser to render all rows from 10 to 3ms/row 2024-08-26 19:14:08 +02:00
ralf
3eb3a87cf2 * ActiveDirectory: allow to disable VLV controls, if your AD has problems with it AND can return all users in a single query 2024-08-26 17:53:12 +02:00
ralf
703eb3ffc1 $options can be a real array, still using the key as value e.g. ["no", "yes"] 2024-08-25 18:20:37 +02:00
ralf
8cd98ecd18 fix / hack print dialogs (Column-selection and Please wait...) to close before printing 2024-08-25 15:09:00 +02:00
ralf
62fbeda480 fix a couple of problems with new images: infinite recursion and order they are found (navbar) 2024-08-25 12:15:35 +02:00
ralf
3e0cce403e using now Birgit's substitution list for images before looking at the usual places 2024-08-25 11:48:19 +02:00
ralf
dacd2e0c94 display emptyLabel as placeholder, until non-multiple UI is more selectbox like 2024-08-25 11:02:12 +02:00
ralf
761197737a fix sub-cats where also included on parent level and validation error for categories (caused by them being a real array with children and not an associate one) 2024-08-25 10:18:29 +02:00
Ralf Becker
e95888c770 pending translations from our translation-server 2024-08-24 13:51:51 +02:00
ralf
85e72e919c fix TranslationTools were not finding sidebox menu phrases 2024-08-24 10:28:06 +02:00
ralf
d587d3e321 replace et2-tree-cat with et2-select-cat and remove (now unnecessary) et2-tree-cat code from addressbook 2024-08-24 09:15:17 +02:00
nathan
17afd11990 Et2Tab: Add gap between tab contents 2024-08-23 08:38:33 -06:00
milan
f683947836 changed tree-dropdown popup strategy to fixed to avoid auto resizing issues 2024-08-22 16:48:27 +02:00
ralf
38ae6e4408 fix some warnings 2024-08-22 14:35:36 +02:00
ralf
c18be4cf4d do not return folders, if leafOnly is set and some more docu 2024-08-22 14:18:54 +02:00
milan
3e577c738f changed Et2SelectCategory to be the Et2TreeDropdownCategory and and removed theold one 2024-08-22 14:18:29 +02:00