nathan
c0680a006d
Home: Make resize less jumpy
2023-03-14 11:22:38 -06:00
nathan
b09c6e804f
Home: Restore ability to manually add to list portlet
...
Now just using the properties dialog to add
2023-03-14 09:15:02 -06:00
ralf
096981ea3f
WIP transpiling: only import as type as only used as such
2023-03-14 09:07:02 +01:00
nathan
28fb31dcb7
Et2DateDuration: Don't error & break everything for a bad display format, just log it and continue
2023-03-13 15:18:45 -06:00
nathan
fe0c125458
Et2LinkList: Fire change event when link is removed
...
Avoid error if instance manager is missing
2023-03-13 14:40:32 -06:00
nathan
74201b1a21
Home WIP: Fix changing portlet width would not stick for some types
2023-03-13 14:39:30 -06:00
nathan
9a8375fa33
Revert "fixes for transpiling:"
...
This reverts commit f5a1fce8bc
.
2023-03-13 14:32:31 -06:00
ralf
f5a1fce8bc
fixes for transpiling:
...
- importing Instance and HTMLElementWithValue types only as type
- import flatpicker plugins with: import {default as <PluginName>} from <file>
2023-03-13 19:41:00 +01:00
ralf
43dfaa6bc2
fixes for transpiling: import instantiated StaticOptions object, not the type
...
has also the benefit of using a single instance
2023-03-13 19:38:36 +01:00
nathan
5c8fb1eb2e
Fix numeric validator on a Et2Number would not pass
2023-03-13 08:10:56 -06:00
nathan
13e7ff97b6
Fix description label did not get row value in nextmatch
...
Fixes projectmanager price list showed "5 / $row_cont[pl_unit]" instead of "5 / h"
2023-03-13 08:10:48 -06:00
nathan
1e203dda72
Remove action WIP
2023-03-10 14:57:06 -07:00
nathan
ea86f17b2f
Home: Weather portlet improvements
2023-03-10 14:55:05 -07:00
nathan
9ed1ee2aa9
Home WIP: Better re-layout calcs, use correct portlet type (if possible) when adding
2023-03-10 14:54:50 -07:00
nathan
62f084231b
Home WIP: Get calendar working
2023-03-10 14:54:12 -07:00
nathan
18d2c93f7d
Home WIP: Header spacing & style improvements
2023-03-10 14:52:57 -07:00
nathan
7c50fdd185
Home WIP Favorites working a little better
2023-03-10 14:52:48 -07:00
nathan
c3ea140b5a
Home: WIP home now shows stuff again
2023-03-10 14:52:33 -07:00
nathan
ca17161f4a
Remove action WIP
2023-03-10 14:50:05 -07:00
nathan
5cfe1cef58
Home: Weather portlet improvements
2023-03-10 14:44:41 -07:00
Hadi Nategh
665dcc18da
Fix links in infolog description getting into a new line
2023-03-10 20:17:48 +01:00
Hadi Nategh
2c9fb69f3b
Fix links in infolog description getting into a new line
2023-03-10 13:40:11 +01:00
nathan
72d601b393
Et2Colorpicker: Let popup panel auto-position
...
Fixes color picker goes offscreen in kanban board edit
2023-03-09 09:08:37 -07:00
Hadi Nategh
87a055e7bd
Fix tree's actions no longer available after refreshing the root node
2023-03-09 13:05:57 +01:00
Hadi Nategh
ab8aba49a5
Fix tree's actions no longer available after refreshing the root node
2023-03-09 12:57:17 +01:00
ralf
3e3f5b0216
fix wrong import path stalling Babel transpiling
2023-03-09 08:48:41 +01:00
ralf
2543a011cb
fix wrong import path stalling Babel transpiling
2023-03-09 08:48:01 +01:00
nathan
39d26ddca7
Et2InputWidget: Split label around widget if it has %s in it
2023-03-08 13:54:44 -07:00
nathan
e7f10c711c
Fix numeric validator on a Et2Number would not pass
2023-03-08 13:28:04 -07:00
nathan
5ebad31675
Fix description label did not get row value in nextmatch
...
Fixes projectmanager price list showed "5 / $row_cont[pl_unit]" instead of "5 / h"
2023-03-08 11:53:48 -07:00
nathan
0492c92352
Et2Colorpicker: Let popup panel auto-position
...
Fixes color picker goes offscreen in kanban board edit
2023-03-08 11:26:47 -07:00
nathan
b703e2bfe5
Fix required validator went missing if a regex validator was added
2023-03-08 11:00:27 -07:00
nathan
9f95db7ad8
Home WIP: Fix changing portlet width would not stick for some types
2023-03-07 16:16:01 -07:00
nathan
d9e12ecf4a
Home WIP: Better re-layout calcs, use correct portlet type (if possible) when adding
2023-03-07 16:02:29 -07:00
nathan
5760c5049f
Et2InputWidget: Split label around widget if it has %s in it
2023-03-07 10:51:33 -07:00
Hadi Nategh
ac4bd98385
Fix error Cannot read properties of undefined (reading 'implements')
2023-03-07 16:18:09 +01:00
Hadi Nategh
9f9c988c14
Fix error Cannot read properties of undefined (reading 'implements')
2023-03-07 16:16:57 +01:00
nathan
bb67507223
Et2DateDuration: Don't error & break everything for a bad display format, just log it and continue
2023-03-06 15:02:45 -07:00
nathan
1538496df1
Home WIP: Get calendar working
2023-03-06 14:47:48 -07:00
nathan
fc3feb974a
Home WIP: Fix initial positioning and layout
2023-03-06 13:48:15 -07:00
nathan
514d4cf207
Home WIP: Header spacing & style improvements
2023-03-06 13:19:49 -07:00
nathan
d37143c842
Home WIP Favorites working a little better
2023-03-06 13:19:49 -07:00
nathan
59c4070733
Et2LinkList: Fire change event when link is removed
...
Avoid error if instance manager is missing
2023-03-06 13:19:49 -07:00
nathan
db5be59ed0
Home: WIP home now shows stuff again
2023-03-06 13:19:48 -07:00
nathan
7d75c902d5
Revert "Et2LinkList: Fire change event when link is removed" committed to wrong branch
...
This reverts commit a35d3d8778
.
2023-03-03 15:10:16 -07:00
nathan
b2c4b09b4a
Revert "Home: WIP home now shows stuff again" committed to wrong branch
...
This reverts commit 33058c4744
.
2023-03-03 15:09:53 -07:00
nathan
a35d3d8778
Et2LinkList: Fire change event when link is removed
...
Avoid error if instance manager is missing
2023-03-03 14:06:11 -07:00
nathan
33058c4744
Home: WIP home now shows stuff again
2023-03-03 13:36:50 -07:00
Hadi Nategh
c485a287bb
Let et2Select be clickable on top user menu
2023-03-02 16:46:30 +01:00
nathan
a491983694
Et2DropdownButton: If readonly, display / render nothing
...
does not affect disabled, which still displays as disabled
2023-02-28 13:04:09 -07:00
nathan
fe2f36d52f
Fix double-bound file drop handler
...
Fixes double-submit after dropping a second file. Noticed in mail compose, but probably affects everywhere file widget was used to upload
2023-02-28 13:03:11 -07:00
nathan
8d0b1b0234
Fix gantt chart couldn't load data
...
broken by 2066523
.
Loading caused 'Exception "t is undefined" while handling JSON response from ....' deep inside dhtmlx-gantt
2023-02-28 13:02:56 -07:00
nathan
49d719e5f6
Et2DropdownButton: If readonly, display / render nothing
...
does not affect disabled, which still displays as disabled
2023-02-28 11:12:50 -07:00
nathan
e62cf4c2f7
Fix double-bound file drop handler
...
Fixes double-submit after dropping a second file. Noticed in mail compose, but probably affects everywhere file widget was used to upload
2023-02-28 10:39:10 -07:00
nathan
da1b1f6999
Fix gantt chart couldn't load data
...
broken by 2066523
.
Loading caused 'Exception "t is undefined" while handling JSON response from ....' deep inside dhtmlx-gantt
2023-02-28 09:05:49 -07:00
Hadi Nategh
f313f07cdb
Some styling fixes for mobile view:
...
- fix broken Addressbook's avatar in view and edit mode
- fix buttons with icon not getting white filter
2023-02-28 15:46:55 +01:00
Hadi Nategh
057afb8623
Some styling fixes for mobile view:
...
- fix broken Addressbook's avatar in view and edit mode
- fix buttons with icon not getting white filter
2023-02-28 13:06:52 +01:00
nathan
86b883951a
Add isReady flag to etemplate. onchange functions set as attributes in .xet files will not be called until the etemplate is finished loading.
2023-02-27 15:31:07 -07:00
nathan
0117c4bde3
Move client-side holidays cache to MODULE_GLOBAL egw.holidays(year)
2023-02-27 15:15:36 -07:00
nathan
635780d7d4
Et2LinkTo: Fix linking to existing file in VFS did not do anything
...
Onchange was not being set
2023-02-27 13:25:47 -07:00
nathan
ce141fa152
Disable file drag and drop so normal drag and drop in filemanager works properly
2023-02-27 11:17:23 -07:00
ralf
a8dd625a61
register old-hbox client-side and all old-*box on server-side
2023-02-27 09:57:21 +01:00
Hadi Nategh
2dc78de2c1
Support deprecated get values method for ET2Select_ro
2023-02-27 09:56:39 +01:00
nathan
206652307b
Et2Date fixes
...
- Fix mobile get / set value was not actually setting value properly
- Set a minimum input width
2023-02-24 11:58:16 -07:00
nathan
ab812c8dec
Just the timer dialog gets timesheet color, leave others alone
2023-02-23 10:12:21 -07:00
ralf
a48a3eb3c1
add ES2020 check to login page and move it outside egw_ready (no longer allowing to translate the message)
2023-02-23 14:00:37 +01:00
nathan
41cbb68de0
Et2Select: Fix extra scrollbar with rows=1, multiple, hover lots (> 8 or so) of rows
2023-02-22 16:23:56 -07:00
nathan
4311eebdc9
Et2Dialog: Fix missing button alignment
2023-02-22 14:51:21 -07:00
nathan
cd22b9aad6
Slow down tab switch on drag
...
Avoid another tab being moved underneath the cursor if the target tab has different sidebox menu width, triggering another tab switch
2023-02-22 14:31:41 -07:00
Hadi Nategh
24570cd438
Let sl-button-group deals with blur and focus handling for our Et2DropDownButton widget
2023-02-22 17:56:02 +01:00
nathan
f7d44c63cb
Enable disabled select options
2023-02-22 09:51:57 -07:00
nathan
e532ca176b
Add Et2TabsMobile that has special rendering for tabs on mobile
2023-02-21 10:31:38 -07:00
Hadi Nategh
68fdb1b985
Revert "changes to get old eTemplate apps like KnowledgeBase working in 23.1"
...
This reverts commit d816d837cd
.
2023-02-21 13:02:23 +01:00
Hadi Nategh
188334d647
Fix scrolling in mobile view sidebar not working
2023-02-20 15:16:43 +01:00
ralf
5cf63cc45e
* Timesheet: allow to set preference to never ask again to start working time on login
2023-02-20 12:42:21 +01:00
nathan
9cc1f08d63
Et2UrlEmail: Fix click to add to email button was broken
2023-02-17 08:51:27 -07:00
nathan
33ca8a47a9
Et2Select: Tweak size calculations for rows setting to work better for all font size preferences
2023-02-16 11:59:34 -07:00
Hadi Nategh
b25346c1e4
ET2Button doesn't get resized properly after set/remove label therefore try to force an update
2023-02-16 15:17:13 +01:00
nathan
524a9b3c7b
Change how readonly multiple selects with rows=1 show more tags are hidden
...
Showing total number of values is way easier than showing the number that aren't displayed
2023-02-15 13:23:05 -07:00
nathan
ced2bc6061
Et2Password: Fix still forced autocomplete="new-password"
2023-02-15 09:21:40 -07:00
nathan
84bdea4193
Fix nm print dialog missing print orientation
2023-02-14 16:27:44 -07:00
nathan
80c5a64316
Et2Password: Autocorrect always off
2023-02-14 13:48:21 -07:00
nathan
d1c6145af0
Et2Password: Some cleanup
...
- Now passing autocomplete & autocorrect parameters on instead of forcing
- Only doing the readonly input trick if autocomplete=="new-password"
2023-02-14 13:43:26 -07:00
nathan
68caabe1ae
Fix hidden tabs did not make children readonly
...
Fixes required fields on hidden tabs still got validated
2023-02-14 10:09:58 -07:00
nathan
16c8fb420b
Et2Password: Overwrite render to force input to readonly as a work-around for browsers ignoring autocomplete="new-password"
...
Doesn't make a difference for me, but easy for others to test if I commit
2023-02-13 15:59:38 -07:00
nathan
03a237fd7e
Et2Select: Turn off browser autocomplete in search
2023-02-13 14:57:55 -07:00
nathan
d02a40ee82
Et2Select: Remove any doubled values when setting value
2023-02-13 14:00:52 -07:00
nathan
e2cbbe9358
Re-add feature where readonly URL widget with label uses the label as link text
2023-02-13 13:29:25 -07:00
nathan
c4f3ec9840
Et2Select: Fix free entries can get doubled if more free entries added
2023-02-10 14:13:13 -07:00
nathan
570edaa1e0
Et2Favorites: Update sidebox favorite icons when user changes default favorite
2023-02-09 16:47:59 -07:00
nathan
4322937ea7
Et2Date: Add widget classes to flatpicker popup
2023-02-09 14:47:43 -07:00
nathan
96558b9da8
Fix missing translation in Select group & dropdown options
2023-02-09 14:47:43 -07:00
nathan
bf764df720
Mail: Multiple attachments changes
...
- Offer to open in Collabora any file, not just editable (PDF)
- Put collabora option first in the option list if user prefers to open in collabora
- Change label to "Open with Collabora Office" with translation from Birgit
2023-02-09 14:47:43 -07:00
Hadi Nategh
0d68f87ae3
Make sure the path is available when checking for scrolling touch
2023-02-09 17:15:01 +01:00
ralf
d816d837cd
changes to get old eTemplate apps like KnowledgeBase working in 23.1
...
makes some more symbols global again in one block at the end of the files
2023-02-09 14:17:24 +01:00
Hadi Nategh
5a2bbd6463
Adjust details container calculation for overlaySummary based on left/right alignment
2023-02-09 11:26:25 +01:00
nathan
32dd160e35
Et2Date: Add placement property to control where calendar popup opens. "top", "bottom", or "auto"
2023-02-08 14:36:09 -07:00
nathan
00a857b2d7
Projectmanager: Fix gantt column selection opens with wrong position
...
Now using a proper dialog, similar to nextmatch column selection
2023-02-08 11:48:56 -07:00
nathan
efa550f251
Et2Select: Add onTagClick property for actions on tag clicks
...
Fixes unable to detect clicking on individual tags inside readonly et2-select-email
2023-02-08 09:11:33 -07:00
ralf
ed09a0b079
add missing readonly et2-select-lang to fix language column in news-admin index
2023-02-08 08:24:59 +01:00
nathan
193dbfc339
Et2Select: Fix some search weirdness
...
- Search didn't start until 1 character more than expected
- Search didn't happen on enter because the et2-searchbox inside stopped the key event from bubbling
2023-02-07 16:24:06 -07:00
nathan
9cde6a7171
Fix some styling on select-email
...
- Make +N tag right aligned & look like text, not tag
- Fix popup to open below but covering field
- give popup border & dropshadow
2023-02-07 12:04:05 -07:00
nathan
2a3a8a7371
Et2Select: Fix tags can't be removed
2023-02-07 10:04:56 -07:00
Hadi Nategh
84a58ec6ae
Add new attribute for details widget to overlay the summary container
2023-02-07 16:49:18 +01:00
Hadi Nategh
cb6f2ee808
Add missing column on email tag tooltip
2023-02-07 10:01:46 +01:00
nathan
2c15e2f8ef
Et2Description: Fix broken activate links test, it needed camelCase attribute
2023-02-06 15:59:32 -07:00
nathan
1b7f9d3ebc
Et2SelectEmail: Give dragged tags some z-index, so they go over the other controls
2023-02-06 15:07:30 -07:00
nathan
cd980c78df
Limit mail to & cc addresses to 1 row, show all on hover.
...
Use:
multiple="true" rows="1" maxTagsVisible="1"
to trigger show all on hover
2023-02-06 14:48:55 -07:00
ralf
bd8198d230
missing et2-select-lang widget
2023-02-06 15:52:58 +01:00
Hadi Nategh
dda3b1f5d1
Remove excessive BR tag from email tag
2023-02-06 11:33:50 +01:00
nathan
1d8d4f9c72
Fix some readonly issues where widgets were not looking readonly
...
- Editable tags were still editable if the select was readonly
- LinkTo could still select an app (readonly not passed on)
- Hide the dropdown for multi-select when readonly
2023-02-03 14:09:07 -07:00
nathan
21599f6097
Make all toolbar toggle button icons gray when off
2023-02-02 10:46:51 -07:00
nathan
929bf866cd
Et2Lavatar: Fix missed property camelCase
...
contact_id -> contactId
2023-02-02 09:19:04 -07:00
Hadi Nategh
138999f233
Add again full value as tooltip for email tags
2023-02-02 12:12:08 +01:00
nathan
1fa9d91d59
Et2Description: Fix links were not clickable
...
activateLinks property got typoed to activeLinks in the template conversion
2023-02-01 14:31:17 -07:00
nathan
346a720d27
Et2LAvatar: Update statustext (tooltip) with name based on lname & fname
2023-02-01 14:06:54 -07:00
nathan
86376bdc0c
Et2DateRange: Add relative -> absolute conversion as needed when setting value
2023-02-01 13:04:25 -07:00
nathan
15f986cf1a
Get Et2Date & Et2DateTime tests passing again
2023-02-01 09:46:00 -07:00
Hadi Nategh
e397e43c1b
Fix PGP back/restore dialog
2023-02-01 14:15:56 +01:00
nathan
ab56ad1171
Et2Select: Handle paste of CSV into selects with allowFreeEntries
...
Special handling for Et2SelectEmail to handle email addresses that may have a name or comma
2023-01-31 09:48:27 -07:00
nathan
0b15ede568
Et2Date: Fire change event when a new date is selected
...
Fixes nm date filters not filtering
2023-01-30 16:10:49 -07:00
nathan
e575c40ff3
Some missed cases where client-side lavatar was not used
2023-01-30 15:26:09 -07:00
nathan
f503743956
Use client-side Et2LAvatar instead of image for Et2SelectEmail options & tags
...
Should now be only avatar.php image when provided
2023-01-27 13:27:31 -07:00
nathan
5bab72b8be
Use client-side Et2LAvatar for user accounts whenever possible, only using avatar.php when there's a real image.
...
TODO:
- Need to find a cheap way to determine if there's a real image in Api/src/Accounts.php & class.mail_compose.inc.php
- Still some work for me to do in Et2SelectEmail
2023-01-27 10:34:40 -07:00
nathan
9cebab3c2f
Fix readonly selects could display 'undefined' with no value and no emptyLabel
2023-01-26 12:58:37 -07:00
nathan
bf6cca24fd
Et2Favorites: Make star icon bigger
2023-01-26 09:22:45 -07:00
nathan
e4e0610a41
Et2LinkAppSelect: Use configured app link icon instead of always using navbar
2023-01-25 15:14:14 -07:00
nathan
62bc77a4d2
Make sure egw.lang() doesn't error trying to translate option label
...
This un-reverts 4e5f68f97c
2023-01-25 14:24:08 -07:00
nathan
4b8b454566
Make sure values are strings, otherwise they might not match comparison
...
Should fix tracker list "Created by" filter losing display when you select a search result
2023-01-25 13:43:35 -07:00
ralf
6ef78c9591
Revert "Fix missing translation on read-only select"
...
Causes:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'toLowerCase')
at Object.lang (egw_lang.js:73:16)
at Et2SelectAccountReadonly._readonlyRender (Et2SelectReadonly.ts:189:59)
at Et2SelectAccountReadonly.render (Et2SelectReadonly.ts:168:16)
at Et2SelectAccountReadonly.update (lit-element.js:6:304)
at Et2SelectAccountReadonly.performUpdate (reactive-element.js:6:4849)
at Et2SelectAccountReadonly.scheduleUpdate (reactive-element.js:6:4496)
at Et2SelectAccountReadonly._$Ej (reactive-element.js:6:4404)
This reverts commit 4e5f68f97c
.
2023-01-25 09:46:22 +01:00
nathan
4e5f68f97c
Fix missing translation on read-only select
2023-01-24 14:44:28 -07:00
nathan
9bf0149645
Fix selectbox positioning issue
...
Tracker owner would open down instead of up with fontsize = 14. Updating to shoelace 2.0.0-beta.81 fixes it. Going farther introduces some other issues that I don't want to get into right now
2023-01-24 13:58:38 -07:00
nathan
49d3d84f3a
Completely hide disabled nm filters, as before
2023-01-24 10:25:01 -07:00
nathan
56fcfbf992
No 'All categories' empty label for mail
2023-01-24 09:26:46 -07:00
nathan
2332c2a806
Et2Tag: Make edit textbox larger
2023-01-24 08:27:52 -07:00
ralf
9fb153bbcc
fix historylog in calendar not shown
...
caused by multi-attributes use a vbox, who's constructor unset the readonly attribute
--> setting it again hard, as all widgets in historylog are r/o and without readonly select-boxes have no detached DOM interface
2023-01-24 14:31:16 +01:00
nathan
7518278948
Add edit button to freeEntry selectbox tags
2023-01-23 17:34:37 -07:00
nathan
802a312839
Stop nextmatch from making a popup dirty if a filter changes
2023-01-19 14:40:56 -07:00
ralf
5fe8f2642a
fix problem with Safari 16.2 of NOT displaying dialog contents eg. of timer dialog
2023-01-19 15:23:16 -06:00
nathan
86917eff65
Fix file settings error "'0' is NOT allowed ('not found')!" for gid.
...
It did not have a '0' => 'root' option, which is what we were using for the value.
2023-01-19 09:21:03 -07:00
nathan
80fbd3cc26
Fix placeholder widget
...
IDs on et2-boxes caused unwanted namespace, Et2Listbox couldn't find its ID before fully initializing
2023-01-19 08:44:52 -07:00
nathan
3f5cb42c96
Fix vfsUpload didn't open mail files
2023-01-18 13:07:04 -07:00
Hadi Nategh
03123ee729
Fix wrong label set for dark mode switch
2023-01-18 12:15:26 +01:00
nathan
3164cb6dd0
Make sure we get the right popup if multiple nextmatches use the same popup ID
2023-01-17 15:35:28 -07:00
nathan
6774f2e9d4
Remove another class that could be hiding popup contents
2023-01-17 14:30:28 -07:00
nathan
2ab7079f13
Et2LinkString: Can now fetch its own link data, given application & entryId
...
Includes some fixes for only_app filter
2023-01-17 14:03:28 -07:00
nathan
38b507dcd1
Et2Date: Stop required validation showing on initial load even with a value
2023-01-17 10:52:02 -07:00
nathan
a5929388fc
Et2VfsMime: Add value getter
...
Fixes tracker comments with more than one image would only show the last
2023-01-17 08:37:24 -07:00
nathan
d87e0c7f38
Fix missing default button images
2023-01-16 16:15:57 -07:00
nathan
19c02fc91c
Et2InputWidget: Do not try to validate readonly widgets, user can't change the value to fix it
2023-01-16 08:55:31 -07:00