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
Hadi Nategh
87f77a52ea
Fix seek to a new time in youtube video does not work when pause action happens instantly after it
2022-05-09 11:25:33 +02:00
ralf
e82387c15e
adding automatic conversation to et2-vfs-mime, fix gallery indicators to use images again and some CCS fixes
2022-05-07 13:31:46 +02:00
ralf
849291889e
fix some TypeScript errors displayed by IDE in new ExposeMixing
2022-05-07 11:35:27 +02:00
nathan
816ab87f13
Et2VfsMime added as WebComponent
2022-05-06 15:07:07 -06:00
nathan
797c615060
Move Et2Box into Layout
2022-05-06 11:57:53 -06:00
nathan
5a324e448a
Define some system-wide CSS variables that can be used anywhere, set error color
2022-05-06 11:49:30 -06:00
nathan
ca563cf8fb
Use the same style for webcomponent validation messages as legacy messages, update both to latest webcomponent style.
2022-05-05 15:40:28 -06:00
nathan
063c772fbb
Et2DescriptionExpose, used in Mail app
2022-05-05 13:48:39 -06:00
ralf
7dc959c223
automatic convert <(image|description) expose_view="true" to <et2-*-expose
2022-05-05 19:07:44 +02:00
nathan
632c40fbb7
Et2ImageExpose, used in Resources app
2022-05-05 08:51:48 -06:00
Hadi Nategh
a8bcdd88b0
Get rid of jQuery.Color from jquery-ui
2022-05-05 15:55:49 +02:00
ralf
7e70eee888
final fix for "Network error" when stream files to client
...
It is important to FIRST disable zlib.output_compression (before headers are sent!) and THEN end all output-buffering!
Without the two steps in this order, we are either limited by the memory limit or get the "Network error", because the streaming/fpassthrough does not apply the compression.
2022-05-05 12:47:31 +02:00
ralf
3eaed09185
fix not working et2-date-since and rename et2-date-time_today to et2-date-time-today
...
create a new method egw.getTimezoneOffset() return current offset according to user preferences on server-side, like (new Date).getTimezoneOffset()
2022-05-05 11:38:48 +02:00
nathan
efcd5bbe51
Et2ImageExpose
2022-05-04 17:31:42 -06:00
nathan
3c6c2aec1a
Don't break everything if something goes wrong cloning webcomponent for nm row
2022-05-04 17:27:58 -06:00
nathan
54b2ac54b1
Start on Expose mixin
2022-05-04 11:58:04 -06:00
Hadi Nategh
eecad5f70f
Set back focus to the first field in form
2022-05-04 14:14:48 +02:00
Hadi Nategh
9cdfc93a52
Fix stolen focus on egw input fields
2022-05-04 12:50:29 +02:00
ralf
13c633b064
lower number of rows queried per chunk to 2000 to avoid memory_limit on huge tables
2022-05-04 12:22:29 +02:00
nathan
10af4f7514
Historylog + webcomponents
...
- historylog widget now uses webcomponents for timestamp & user, and whenever possible for values
- History::get_rows() formats customfield date/date-time values as needed
- implement setDetachedAttributes(), if nextmatch & historylog are calling them on webcomponents, might as well use that to set what they pass
2022-05-03 11:01:42 -06:00
Hadi Nategh
ed5e7414ac
* Mail: Fix htmlEditor does not include styling on each tag causing mail content sent with no styling
2022-05-03 15:43:03 +02:00
ralf
38d44ee3e2
fix some egw_LAB not defined errors by using top.egw_ready instead
2022-05-03 15:40:06 +02:00
ralf
b2044db11e
remove jQueryUI date picker
2022-05-03 15:38:47 +02:00
ralf
9dd44f7929
fix not loaded grants / other users categories after last commit
2022-05-03 13:33:51 +02:00
ralf
f72497db13
HistoryLog: use new Et2DateTimeReadonly widget
...
thought set_value of web-component get not called and nothing is displayed therefore
2022-05-03 11:26:55 +02:00
ralf
7fb436d44c
HistoryLog: making sure server-side sends eT2 compatible values and use new Et2DateTimeReadonly widget
...
thought set_value of web-component get not called and nothing is displayed therefore
2022-05-03 11:25:55 +02:00
ralf
1215762f04
if data_format given, try that first, before leaving it to Api\DateTime to figure it out
2022-05-03 09:46:15 +02:00
ralf
9b6e6ad819
fix empty date customfield caused by not set app-name, defaulting to currentapp now
2022-05-03 09:12:20 +02:00
nathan
215dc21ec5
Avoid error if label is missing
2022-05-02 17:43:10 -06:00
nathan
bbb6444dce
If caller wanted to iterate over all et2_widgets (default), include all Et2Widgets as well
2022-05-02 17:41:35 -06:00
nathan
cff1671f6f
Et2Date: Handle formatting full month d-M-Y
...
Maybe we just pass all formatting off to flatpickr?
2022-05-02 17:10:07 -06:00
nathan
ae73511958
Make sure customfields get their set_row_value() method called. Fixes customfield dates were not sent in correct format
2022-05-02 17:06:33 -06:00
nathan
b0a57a05fd
Calendar refactors:
...
- Remove some more jQueryUI.datepicker usages
2022-05-02 15:23:03 -06:00
nathan
8ef591279d
- Don't highlight birthdays in date picker (calendar & regular) though tooltip remains
...
- Un-highlight weeks when mouse moves off week number
2022-05-02 13:46:55 -06:00
ralf
df938c79de
fixed messed up signature changing from / mail-accounts
...
also fixed some undefined warnings
2022-05-02 17:19:37 +02:00
ralf
3777ba7691
fix not working callback syntax with egw.jsonq() and changing callback to promise (after the fix)
2022-05-02 16:22:12 +02:00
ralf
dc784800b7
loading new Et2Date* instead of dropped et2_date* widget, thought r/o variants in nextmatch are still not working
2022-05-02 13:53:24 +02:00
ralf
21def67f83
fixed a couple more calls to egw.link_title() without 3rd parameter
2022-05-02 11:43:51 +02:00
ralf
74ad3ba7b0
change egw.jsonq() and egw.link_title() to return promises
...
* egw.jsonq() now always returns a promise like egw.request(), still supporting old callback syntax
* egw.link_title(_app, _id, _callback, _context, _force_reload) supports boolean values for _callback (to not break existing code)
- false: just a cache lookup (like current call with just 2 parameters), returning null, if no title is cached, or the title
- true: always return a promise, which might already be resolved, if title was cached
- function: also returns a promise and calls the callback
--> calling egw.link_title(_app, _id) without 3rd parameter is deprecated now (gives a console.trace), to be changed in future to always return a promise, unless called with false, to just return a cache-lookup
* Et2SelectAccountReadonly and et2_link_widget is changed to use the new/updated syntax with promises
2022-05-02 11:27:33 +02:00
ralf
78c9b4ac50
fix displayed [] instead of [Login]
2022-05-02 09:15:46 +02:00
ralf
e4c2432f4c
replace jQuery.ui.keyCode.X with EGW_KEY_X
2022-04-30 10:33:07 +02:00
nathan
f54c7f40bb
Improve holidays() return documentation
2022-04-29 14:37:52 -06:00
nathan
b44f4ea30d
Move holidays to its own file, show holidays in all date selection calendars
2022-04-29 14:37:52 -06:00
nathan
de2dade286
Et2SelectReadonly: Make sure we're dealing with string value
2022-04-29 14:37:52 -06:00