Commit Graph

37369 Commits

Author SHA1 Message Date
Hadi Nategh
d02afcbe54 Add more general styling to buttons 2022-01-20 17:34:38 +01:00
Hadi Nategh
c8e16dd3fb Fix broken alignments in button icon+label 2022-01-20 17:23:30 +01:00
Hadi Nategh
a2c75f0722 Fix buttons inside toolbars not getting the right background 2022-01-20 16:45:23 +01:00
Hadi Nategh
6fd23b631f Get the right size icon for imageOnly buttons and add right padding for buttons with icon+label 2022-01-20 16:36:51 +01:00
Hadi Nategh
4853cefa0c Add missing icons for applications add buttons 2022-01-20 13:32:27 +01:00
Hadi Nategh
28bcaf9422 WIP styling buttons: another approach to style buttons, keeping the icon slotted 2022-01-20 13:13:04 +01:00
nathan
cc9a6bcf8a Don't split single values 2022-01-19 15:57:59 -07:00
nathan
2ea15ed399 Fix the error when trying to load tracker 2022-01-19 13:37:40 -07:00
nathan
ac808f96e0 some cleanup 2022-01-19 13:18:41 -07:00
nathan
96c174d483 Implement select-account_ro as web component 2022-01-19 13:17:46 -07:00
Ralf Becker
a09c6d3639 do NOT handle / redirect for not found eT2 session in ajax_destroy_session()
as it's called, when the session is no longer needed
2022-01-19 20:16:28 +02:00
Hadi Nategh
d33534e2e1 WIP styling buttons 2022-01-19 18:30:45 +01:00
Ralf Becker
5ec2a233a4 using WCs for simple select, r/o select-* and r/o date(-time)
ToDo/Questions Nathan:
- Tracker index gives a client-side TypeError
- <et2-select-account readonly="true" is not registered, but <et2-select type="select-account" readonly="true" works
- <et2-date-time was registered as <et2-datetime, was that a typo of a conscious choice to rename the widget and not just prefix with et2-
- not yet enabled are r/w et2-date(-time)
- still missing are r/o et2-date-(since|duration)
2022-01-19 10:58:01 +02:00
nathan
410f882cb7 Calendar: Fix status notification sometimes had wrong user in $$fullname$$ placeholder 2022-01-18 14:26:08 -07:00
nathan
8eb0f21893 Fix webcomponents did not load value 2022-01-18 14:13:25 -07:00
nathan
c68437c908 Calendar: If we don't have a sidebox to check parent, just accept it
Fixes missing events in group calendars on home
2022-01-18 13:00:25 -07:00
Hadi Nategh
8b9e81fbfd WIP styling buttons and color definitions 2022-01-18 15:13:48 +01:00
nathan
32be8200a6 Fix copy/paste error - looks like select-access wasn't implemented in et2 2022-01-17 15:31:25 -07:00
nathan
e07220392d Select widgets with static options as WebComponents 2022-01-17 15:13:50 -07:00
Ralf Becker
b69de21bea fix PHP 8.0 TypeError: strlen(): Argument #1 ($str) must be of type string, array given 2022-01-17 21:35:50 +02:00
nathan
c9d5eb50db Calendar: Fix double encoded ><& characters in event tooltip description 2022-01-17 09:33:50 -07:00
nathan
09cbc44e67 Get cached server-side options working for webcomponent 2022-01-14 09:29:59 -07:00
Hadi Nategh
dd8140397a Fix error Argument #2 must be of type array, null given 2022-01-14 14:02:56 +01:00
nathan
82277c802b Readonly textbox 2022-01-13 15:31:01 -07:00
nathan
20c82b6d72 Starting on selectboxes with static options.
Not entirely sure this is the way to go, but at least we don't have to
 1. copy the options
 2. inherit the whole editable object for a readonly
2022-01-13 15:28:52 -07:00
nathan
55b4b28f29 Calendar: Make sure projectmanager integration (filter) refreshes actual data faster, fix events don't come back when turning integration (filter) off 2022-01-13 13:48:18 -07:00
nathan
a5f8b6076a Add some tests for Et2Box.disabled to make sure it behaves. 2022-01-12 14:35:01 -07:00
nathan
19a2b13974 Api: We also need to trigger LitElement update when we change it here, I guess.
Fixes disabled attribute didn't change when set_disabled() was called.
2022-01-12 13:55:58 -07:00
nathan
12120b5434 Api: Fix disabled not being correctly set 2022-01-12 11:41:13 -07:00
Ralf Becker
49cac615d7 fixing the fix ;)
call_user_func_array(): Argument #1 ($callback) must be a valid callback, class admin_account does not have a method "ajax_process_content"
2022-01-12 13:32:48 +02:00
Ralf Becker
1d462dabfd fix Error Method admin_account::delete::et2_process() does not exist 2022-01-12 13:00:04 +02:00
Ralf Becker
a3b63c9514 implement new "units" parameter to limit used units in date-since widget
eg. <date-since units="d" shows age in days
2022-01-12 12:47:49 +02:00
nathan
5a3e54a592 Fix for disabled not being set in some cases, try to deal with type 2022-01-11 15:16:50 -07:00
Ralf Becker
8a629a5ef7 fix not closing popups when using et2_process json.php handler 2022-01-10 19:55:05 +02:00
nathan
2c59914b74 Fix disabled attribute was not getting properly handled
In particular Admin -> File Manager -> VFS mounts and versioning had the "Delete all older versions..." block disabled when it shouldn't have been.
2022-01-10 09:32:31 -07:00
Hadi Nategh
d67b0b1e66 Avoid duplicating from email address when generating identity 2022-01-10 14:03:14 +01:00
Ralf Becker
0748db0c70 pending translations from our translation server 2022-01-09 19:31:13 +01:00
Ralf Becker
fc9ab417ed run quota-recalc only if fsck fixed something 2022-01-09 17:31:44 +02:00
Ralf Becker
1f4cb50e74 use $method parameter of Api\Etemplate::exec() plus new et2_process handler as menuaction GET parameter
allows determining the called function on the URL to eg. send it to different FPM pool
(before the menuaction of et2 was always "EGroupware\Api\Etemplate::ajax_process_content")
2022-01-09 16:38:14 +02:00
Ralf Becker
f50b405555 fix PHP 8.0 Error: count(): Argument #1 ($value) must be of type Countable|array, null given 2022-01-08 11:27:33 +02:00
nathan
fd7e7e2828 Basic tests for Et2Select, & fixes for bugs they revealed 2022-01-07 14:13:38 -07:00
nathan
57860e03db Get onchange working (for select widget) 2022-01-06 16:22:55 -07:00
Ralf Becker
e05ae9ad82 fix explode(): Argument #2 ($string) must be of type string, array given 2022-01-06 19:11:42 +02:00
nathan
4ed888476c Deal with some IDE warnings
better documentation of things tried
2022-01-05 13:14:28 -07:00
nathan
7ab60918f4 Fix missing bits in cssImage() example 2022-01-05 10:24:23 -07:00
nathan
a48e6cf1d3 - Add cssImage() to help with putting our images into LitElement CSS blocks
- Some code cleanup
2022-01-05 10:21:18 -07:00
nathan
85f753324d Remove unused import 2022-01-05 08:07:01 -07:00
nathan
f8ab5c521e Selectbox webcomponent 2022-01-04 15:38:10 -07:00
nathan
8d5f39b2d3 Add tests for description widget 2022-01-03 09:58:55 -07:00
Ralf Becker
e2c09aa1b0 * Filemanager/API: directory size is now the sum of the size of its contained files (allowing to eg. implement quota in future) 2021-12-30 14:37:58 +02:00