Commit Graph

35972 Commits

Author SHA1 Message Date
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
Ralf Becker
e588d63291 allow *-wildcard in egw:uses path eg. "/smallpart/js/overlay_plugins/*.js" 2021-01-03 21:06:45 +02:00
Ralf Becker
5bcbde4f88 * LDAP/Addressbook: use accounts filter from setup for accounts addressbook too 2020-12-29 19:37:21 +02:00
nathangray
fac0457436 Addressbook: Fix sort changes wouldn't stay in some circumstances
In particular, sorting by Name would always reset
2020-12-29 09:39:14 -07:00
nathangray
0a95588642 Preference needs this to not get changed here, otherwise validation doesn't find what it needs 2020-12-22 11:54:31 -07:00
nathangray
6af3e37bed * Etemplate: Add context menu action on linked files to copy them somewhere else
Also, update vfsSelect to use request(), so it processes the additional stuff in response so we can have a success message.
2020-12-21 13:53:24 -07:00
nathangray
5b5539584a Etemplate: Fix tooltip didn't work on select+tag widget 2020-12-21 10:04:24 -07:00
Hadi Nategh
ec7231dbd5 Give some padding to calendar meeting request dialog 2020-12-18 14:43:22 +01:00
Hadi Nategh
81b48d3fab Fix add button alignment 2020-12-18 14:31:55 +01:00
nathangray
52eb33b96f * Admin: Context menu action to clear user credentials 2020-12-17 13:12:21 -07:00
nathangray
93b64235a2 Etemplate: Fix customfield prefix attribute length assumption 2020-12-17 10:07:50 -07:00
Hadi Nategh
467a9cad42 WIP darkmode theme: Implement darkmode switch for mobile view 2020-12-17 17:20:04 +01:00
nathangray
8910983c8e Etemplate: Fix for some attributes not getting set 2020-12-17 09:17:38 -07:00
Hadi Nategh
870cb9f175 Fix error "Uncaught (in promise) TypeError: framework.notifyAppTab is not a function", happens in mobile view 2020-12-17 16:01:43 +01:00