Commit Graph

36035 Commits

Author SHA1 Message Date
Ralf Becker
15c72f284f change client-side to only deal with a duration converted server-side from an end-datetime or a duration like "+123seconds" 2021-01-28 19:53:14 +02:00
Hadi Nategh
58dedd4f3b Reduce filter brightness in darkmode it helps reading white texts 2021-01-28 18:24:24 +01:00
Hadi Nategh
e98a8b372e Only apply darkmode preference on top level window for initiation because the rest is supposed to get set from client-side state 2021-01-28 18:03:27 +01:00
Hadi Nategh
5e73271df4 Exclude login background from darkmode filter 2021-01-28 17:41:13 +01:00
nathangray
779f2691bd * Timesheet: Fix created time was wrong in user timezone was not the same as server timezone 2021-01-28 09:39:17 -07:00
Ralf Becker
5b4a436ab3 countdown: convert datetime server-side into a duration to avoid problems with wrong time or timezone on client 2021-01-28 16:02:38 +02:00
Ralf Becker
69b33e9288 make countdown a value-widget to get automatic timezone handling by date widgets beforeSendToClient method 2021-01-28 12:08:29 +02:00
nathangray
d0d7031417 * Calendar: Fix alarm for all users had wrong timezone when user timezone was not server timezone 2021-01-27 11:04:08 -07:00
nathangray
b247554141 Timesheet: more timezone date fixes
This time start time was improperly processed, fixed end_time too
2021-01-27 10:23:22 -07:00
Hadi Nategh
b9570b9b60 Some fixes for darkmode:
- Fix darkmode not switched in popups
- Fix a quick white page shown before switching to darkmode when it's set to 'auto'
2021-01-27 12:26:37 +01:00
nathangray
e980f3a851 Etemplate: if readonly radiobox has the default ro_true=X, we still need the label 2021-01-26 13:09:39 -07:00
nathangray
867fcc17c6 Etemplate: Allow to specify the read only true/false values for checkbox customfields 2021-01-26 10:42:18 -07:00
Hadi Nategh
dad82bf1f1 Implement auto color-scheme in order to respect browser's selected prefers-color-scheme 2021-01-26 17:04:37 +01:00
Ralf Becker
511325570a fix empty accounts addressbook after 20.1.20210125 update 2021-01-26 12:51:33 +02:00
Ralf Becker
1259ae8d04 More automatic timezone handling schema for new code (hopefully not breaking existing code):
1. SO converts all timestamps to Api\DateTime objects using Api\DateTime::server2user($ts, 'object')
 - Api\Storage and Api\Storage\Base class do that automatic if using 'object' as $timestamp_type constructor parameter
 - if using just Api\Db you need to iterate over your selects manually and apply Api\DateTime::server2user($ts, 'object')
 - timestamps are store in DB in server timezone and above conversation honors that and additionally set the user TZ
2. Rest of the app should keep all timestamps as Api\DateTime objects
 - direct comparison works for Api\DateTime (and PHP \DateTime) as __toString() method automatic converts to UTC timestamps
 - do NOT convert them to timezone-less timestamps and no further timezone conversation needed for output with eTemplate
3. eTemplate2 converts automatic to user timezone for displaying dates and times
 - you need to use <date-time ... data_format="object"/> to get Api\DateTime objects back from eTemplate!
4. Api\Db converts automatic to server timezone when quoting DateTime objects for integer or timestamp columns
5. only output other then eTemplate might need to set a timezone different from the user TZ before calling $ts->format()
2021-01-26 11:16:42 +02:00
nathangray
fa26bcb29c Calendar: Fix all day events were missing end date in iCal 2021-01-25 10:27:31 -07:00
Ralf Becker
a2fde92c89 Changelog for 20.1.20210125 2021-01-25 14:23:37 +02:00
Ralf Becker
1739c88a53 remove npm packages grunt-{hub,contrib-uglify-es} not used in 20.1 2021-01-25 13:55:21 +02:00
Ralf Becker
49f10e7e31 * FPM/Container: start more php processes by default and keep them running to better cope with high usage 2021-01-25 11:13:11 +02:00
nathangray
42600c90fa * Preferences: Fix deleting multiple categories only removed the first 2021-01-22 14:06:44 -07:00
Ralf Becker
8425f380fe some fixes for int/float widget: server-side was not expanding min/max attribute and client-side considers empty min/max attr as 0 2021-01-22 17:24:55 +02:00
Ralf Becker
fe320938e5 document EGroupware timestamps and remove own __toString() method to be able to compare objects 2021-01-22 15:18:39 +02:00
nathangray
d1287887a3 Calendar: When creating a videoconference, send start/end as string with no timezone (usertime), but start/end date can also already be a string 2021-01-21 11:47:50 -07:00
nathangray
0ca3d63f18 Calendar: When creating a videoconference, send start/end as string with no timezone (usertime) 2021-01-21 11:21:33 -07:00
nathangray
d5434d567b * Calendar: Fix videoconference link in event tooltip 2021-01-21 19:04:01 +01:00
Hadi Nategh
2912329b66 Add videoconference checkbox to calendar/mobile theme 2021-01-21 10:20:14 +01:00
nathangray
aef0338327 Fix error breaking calendar notifications 2021-01-20 09:23:07 -07:00
dependabot-preview[bot]
5a825c83d7 [Security] Bump pear/archive_tar from 1.4.11 to 1.4.12
Bumps [pear/archive_tar](https://github.com/pear/Archive_Tar) from 1.4.11 to 1.4.12. **This update includes a security fix.**
- [Release notes](https://github.com/pear/Archive_Tar/releases)
- [Commits](https://github.com/pear/Archive_Tar/compare/1.4.11...1.4.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-19 16:06:49 +02:00
Ralf Becker
3eaab63bfa new $output_mode=5 for exec to allow validating client-side created templates, see SmallParT\\Questions\\ajax_answer() 2021-01-19 14:55:27 +02:00
nathangray
2e5eda7eb9 Admin: Fix clear mail credentials to only IMAP, SMTP, SMIME 2021-01-15 13:54:40 -07:00
nathangray
f1783dd13c Calendar: Avoid "PHP Warning: count(): Parameter must be an array or an object that implements Countable" in error_log 2021-01-15 09:44:28 -07:00
nathangray
25e6f123d0 * Calendar: Fix event notifications had the wrong times in iCal attachment if user timezone was not server timezone 2021-01-14 14:19:45 -07:00
Hadi Nategh
4e95ac86a8 Add some jquery dialog options 2021-01-14 16:57:28 +01:00
Ralf Becker
b892c54797 allow to format link-registry entries "add", "edit", ... as "url" parameter for actions 2021-01-14 15:59:03 +02:00
Ralf Becker
0b02c8ef3d List of links from EGroupware sources to www.egroupware.org website
Please update this file, if you add (or remove) links, to ease website migration!
2021-01-14 10:37:40 +02:00
nathangray
208817054b * Etemplate: Avoid "Uncaught TypeError: Cannot read property ‘length’ of undefined"
This was happening when an app was open but not currently active and had a push update with no type.
2021-01-13 09:08:53 -07:00
nathangray
1079abc161 Timesheet: Fix editing timesheet had start time in wrong timezone if user timezone differed from server timezone 2021-01-12 15:00:42 -07:00
nathangray
e864fb9c5d Admin: split clear user's credentials into 2 actions, mail & all others 2021-01-11 11:53:04 -07:00
nathangray
b911da6eb8 Calendar: Clean up next/previous for yearly planner to always jump by 1 month 2021-01-11 10:23:07 -07:00
nathangray
0ff219fab9 Mail: Save as option translation from Birgit 2021-01-11 09:43:38 -07:00
Hadi Nategh
d17f3a6e39 Set participants as extra params for calendar videoconferences 2021-01-11 14:38:52 +01:00
Hadi Nategh
f7e10fdc35 Add participants as extra params for videoconference call 2021-01-11 14:19:22 +01:00
Hadi Nategh
a777610c2d Fix htmlarea resize 2021-01-07 11:46:09 +01:00
nathangray
963158f94a * Calendar: Fix bug where yearly planner would not show events that went outside the displayed time period 2021-01-06 10:30:15 -07:00
nathangray
6fec92bf8b * Mail: New "Save As" preference option to attach just the mail, no mail attachments 2021-01-06 10:04:24 -07:00
Hadi Nategh
85b14052ea Make blockquotes breakable in html editor 2021-01-06 14:06:21 +01:00
Hadi Nategh
644c602a88 Fix CalDav in Thunderbird no longer syncs when videoconference backend BigBlueButton is configured 2021-01-06 11:31:49 +01:00
Hadi Nategh
904150728e Add missing countdown widget in minified version 2021-01-06 09:15:16 +01:00
nathangray
cf9c366d2b Etemplate: Bugfixes
- Early exit for arrayMgr().getEntry() if nothing is found, avoids returning all data
- Remove debugger from selectbox
2021-01-04 11:00:10 -07:00
nathangray
5c10576b3b Don't event set sort order if it hasn't changed 2021-01-04 09:43:54 -07:00