Ralf Becker
89d6dc8650
Fixing the fix Undefined constant DateTime
2021-03-02 10:25:11 +02:00
Ralf Becker
b1af8449fd
Fix ErrorException: Object of class EGroupware\Api\DateTime could not be converted to string
...
It's happening as we removed __toString method from Api\DateTime to allow again direct comparing with comparison operators
2021-03-02 09:37:43 +02:00
Ralf Becker
a41865209c
stop SQL error, when using account-type with name2id($name, "person_id", "u")
2021-02-26 21:57:11 +02:00
Hadi Nategh
2a2f0bf390
Keep darkmode state in serverside session too. Fix darkmode state in egroupware iframes.
2021-02-24 12:22:27 +01:00
Hadi Nategh
a67e433396
WIP Mobile and Compact theme styling improvements:
...
- Fix logout button not displayed in Compact theme
2021-02-23 16:21:38 +01:00
Ralf Becker
319c0e6af4
use CRM view preference in CTI
2021-02-19 21:30:50 +02:00
Ralf Becker
fdecefebd4
fix exception when trying to store a DateTime
2021-02-19 21:30:50 +02:00
Ralf Becker
e1b9d993a5
missing phoneSearch commit to only search certain numbers, if specified and fix for a typo causing a warning
2021-02-19 21:30:50 +02:00
nathangray
c319478816
Fix readonly shares were mounted as writable when shared to another user
2021-02-16 16:14:32 -07:00
Ralf Becker
e54aebebca
xml tags must not include undeclared namespaces like: <link-entry:infolog
...
Reinstating "throw an exception on XML errors in eTemplates for easier fixing"
This reverts commit 18b7d9311c
.
2021-02-16 21:52:40 +02:00
nathangray
4b6551c5a3
- Fix missing quote when updating shares with VFS changes
...
- Fix user delete entry search for single user
2021-02-16 11:53:32 -07:00
nathangray
18b7d9311c
Revert "throw an exception on XML errors in eTemplates for easier fixing"
...
This reverts commit 81b4737710
.
2021-02-16 11:39:38 -07:00
Ralf Becker
81b4737710
throw an exception on XML errors in eTemplates for easier fixing
2021-02-16 17:38:47 +02:00
Ralf Becker
57d5176080
remove non-digits and only search phone-numbers in phoneSearch
2021-02-15 21:28:39 +02:00
Ralf Becker
ee6a74a40f
fixed CRM view opened for id=0
2021-02-15 17:20:17 +02:00
Ralf Becker
31b7db5bbe
some more logging
2021-02-15 16:19:53 +02:00
Ralf Becker
a64590d3db
moving opening of CRM view code into Contacts class
2021-02-15 15:11:24 +02:00
Ralf Becker
10fd1cd76b
fix typo
2021-02-14 17:55:04 +02:00
Ralf Becker
2291cc8df0
WIP incomming CTI / open CRM view when phone rings
2021-02-14 17:46:08 +02:00
Ralf Becker
cfc7c1cbdf
some more tolerant searches to find numbers in EGroupware GmbH database
2021-02-14 14:52:33 +02:00
Ralf Becker
f8ec1618d9
* Adressbook: phone-number in search only returns contacts having that (normalized) number
2021-02-14 14:06:21 +02:00
Ralf Becker
c37581f43c
* EPL/mail: support SpamTitan REST API to manage spam, requires an API token
2021-02-08 17:31:49 +02:00
nathangray
98d5e86121
Avoid some warnings
2021-02-05 08:57:48 -07:00
Ralf Becker
04f4a327c2
implement date-duration select_unit="false" to show durations like "0:01:20"
2021-02-05 15:57:59 +02:00
nathangray
be9fcea5c5
Etemplate: Make sure all attributes get expanded
2021-02-04 14:48:22 -07:00
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
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
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
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
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
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
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
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
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
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
Ralf Becker
b8edbd159e
guard against mail account looses all accounts it is valid for
2020-12-17 08:31:39 +01:00
Hadi Nategh
f21ac58c87
Introduce dark/light mode theme switch into framework
2020-12-15 20:24:25 +01:00
Ralf Becker
5fae437a52
* Setup: fix no accounts found for SQL instances
...
in setup without an active user, no grants existed, seemed no problem before, maybe caused by contact sharing
2020-12-15 18:10:37 +01:00
Hadi Nategh
cde6c10e05
Add Segoe font family into HTMLEditor
2020-12-09 13:17:37 +01:00
Ralf Becker
93fb74503d
limit number of returned rows on link query by default to 100
2020-12-07 14:31:10 +01:00
Hadi Nategh
c8020e6456
Do not query server if there's no actual taglist query, fix fatal error "Memory exhaustion"
2020-12-07 10:58:42 +01:00
nathangray
1dcdac1fe1
Try to avoid some "Illegal offset type" warnings
2020-12-02 11:07:24 -07:00
Ralf Becker
aa62a5ea3e
also run Egw::__destruct() explicit for notifications
2020-11-22 11:50:20 +01:00