Commit Graph

3373 Commits

Author SHA1 Message Date
Ralf Becker
460c3e4fc7 pending changes from our translation server 2022-12-02 10:01:11 +01:00
nathan
0a76aa7872 Addressbook: fix "array_key_exists(): Argument #2 ($array) must be of type array, null given" error editing import vcard definition 2022-11-21 09:30:33 -07:00
Ralf Becker
6f4f93c284 pending translations from our translation server 2022-09-14 11:08:57 +02:00
nathan
ff7b227959 * Kanban: Add columns under Kanban context menu action for other applications
Also added context menu action to move kanban card to another board
2022-06-22 11:20:19 +02:00
ralf
94eeebbfd6 fix missing url-encoding of from parameter (' 49...' instead of '+49...') 2022-05-04 15:28:04 +02:00
ralf
2d4980f080 next chunk of fixed PHP Warning: Undefined array key or variable in main repo 2022-04-27 20:31:12 +02:00
ralf
10c1f1440f fix PHP 8.x TypeError: Cannot access offset of type string on string 2022-04-20 17:33:27 +02:00
Ralf Becker
c3d5a96826 pending changes from our translation server 2022-04-04 13:28:05 +02:00
ralf
4c503d61ea * Addressbook: allow keeping custom fileAs value (LDAP: displayname) by adding it as first option 2022-03-29 10:26:51 +03:00
Hadi Nategh
8313c93a31 Fix addressbook contextmenu gets broken after re-compiling app.ts (some trunk changes sneaked into 21.1 via a728276a15) 2022-02-25 17:20:47 +01:00
ralf
64017370cd fix array_key_exists() expects exactly 2 arguments, 1 given 2022-02-24 17:59:31 +02:00
Ralf Becker
d0902a6815 fix PHP 8.0 TypeError: strlen(): Argument #1 ($str) must be of type string, array given 2022-01-17 21:36:54 +02:00
Ralf Becker
02342f48c3 pending translations from our translation server 2022-01-09 19:32:20 +01:00
Ralf Becker
5a2eb5b987 * CardDAV/Addressbook: fix GET request regression after REST API introduction 2021-12-16 19:56:43 +02:00
Ralf Becker
83cb6acca7 fix PHP 8.0 TypeError: array_search(): Argument #2 ($haystack) must be of type array, null given 2021-11-19 10:49:20 +01:00
Ralf Becker
eca5200268 fix diverse PHP 8.0 TypeErrors and ArgumentCountError in import/export 2021-11-15 14:42:40 +01:00
Ralf Becker
86e232f2f5 fix PHP 8.0 TypeError: explode() expects parameter 2 to be string, array given 2021-11-10 11:38:29 +01:00
Ralf Becker
6218cfb6b1 fix PHP 8.0 TypeError: explode(): Argument #2 ($string) must be of type string, array given 2021-11-10 11:11:24 +01:00
Ralf Becker
44a1e7f990 fix PHP 8.0 error: trim() expects parameter 1 to be string, array given 2021-10-28 21:35:01 +02:00
nathan
90e5d1b289 Addressbook: fix name / organisation column disappeared after several column changes
last_link & next_link values would be included in validated results, and the build up of empty rows would trigger the row repeat client side and nextmatch would read the wrong row somehow.
2021-10-26 08:39:56 -06:00
nathan
82103dd514 * Collabora: Merge placeholder dialogs
Added merge placeholder & address dialogs to Collabora.  Also some new merge preferences for target filename and location, and placeholder list UI
2021-10-14 13:18:21 -06:00
Ralf Becker
d5654e8178 fix CardDAV error with DAVx5 caused by PHP 8.0 throwing an error instead ignoring it with a warning
PHP 8.0 ValueError: mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "tf-"
current code expected Content-Type header to have charset enclosed in quotes, which it was not
2021-10-11 09:51:15 +02:00
Ralf Becker
9345152c98 fix PHP 8.0 errors: key(): Argument #1 ($array) must be of type array, null given
guarding key() from calling with null eg. $button = key($content['button']) --> key($content['button'] ?? []) or check before !empty($content['button'])
2021-10-06 16:12:49 +02:00
Ralf Becker
e5427ef762 fix PHP 8.0 Error: Argument #2 ($array) must be of type array, null given 2021-10-05 16:35:54 +02:00
Ralf Becker
0c4b719c5b REST API, do NOT take "Sync all in one addressbook" preference into account, but store in given AB 2021-09-29 10:11:47 +02:00
Ralf Becker
b953eecf40 * Addressbook: new REST API for contacts https://github.com/EGroupware/egroupware/tree/master/doc/REST-CalDAV-CardDAV
use PUT with a UID as id to update an existing resource or create it, if not existing
2021-09-27 13:31:21 +02:00
Ralf Becker
3e035a70a4 implement and document PATCH 2021-09-27 13:30:41 +02:00
Ralf Becker
392b8036f4 REST API allow sending a JSON patch to update or create a new contact (currently only via POST or PUT, not as PATCH!)
allows eg. to create a contact from a simple Wordpress contact-form only supporting POST requests and a flat object, see new example in the documentation
2021-09-27 13:30:41 +02:00
Ralf Becker
322652de95 Contacts REST API:
- implement missing PUT/POST of distribution list / CardGroups
- implement changes from next JsContact draft:
  + string plus extra localizations attribute instead of localizedString object
  + use "<domain>:<name>" for vendor attributes
- add/parse urn:uuid: prefix if UID is a UUID
2021-09-27 13:30:41 +02:00
Ralf Becker
ce5389d0d5 finished REST API for contacts modulo docu and bugs ;)
- JsCardGroup now used for distribution lists
- responses are not in "responses" attribute (no longer in root of object)
- fix sometimes empty / different members between PROPFIND/REPORT/JSON-GET and GET of group (caused by wrongly implemented limit to given AB)
- JSON pretty-print only if requested by Accept: application/pretty+json
- fix invalid JSON for errors (caused by opening {"responses": already sent
2021-09-27 13:30:41 +02:00
Ralf Becker
3bc015a90d got POST, PUT and DELETE request to add, update and delete contacts working
added JSON exception handler with nicer JsCalendar parse errors
2021-09-27 13:30:40 +02:00
Ralf Becker
18324dfa8e WIP REST Api for contacts 2021-09-27 13:30:40 +02:00
Ralf Becker
38c07d7f69 WIP REST API for contacts using JsContacts draft 2021-09-27 13:30:40 +02:00
Ralf Becker
2d24362f8f remove config allowing to immediately delete contacts (as it's required for sync) 2021-08-13 15:57:13 +02:00
Hadi Nategh
f4ea5b82cb * Addressbook/Mobile theme: fix opening contacts fails in mobile theme 2021-07-26 15:15:15 +02:00
nathangray
a728276a15 Change merge download/Collabora to a common generation method, avoiding need to POST.
This allows Kanban to download merge files
2021-07-12 16:30:01 -06:00
Ralf Becker
0a51e80639 pending translations from our translation server 2021-07-12 08:17:02 +02:00
nathangray
f7334fb022 Addressbook: Fix CSV import into specific addressbook was always going into importer's personal addressbook 2021-05-19 09:14:00 -06:00
Hadi Nategh
7729946a81 Fix broken avatar in Addressbook edit dialog 2021-05-18 17:03:54 +02:00
Ralf Becker
42ac049bc1 Bump version to 21.1 2021-05-08 15:02:53 +02:00
nathangray
84e03fe334 Addressbook: Fix contact categories were cleared when DAVx5 synced some Android clients 2021-04-30 09:26:00 -06:00
nathangray
0232092187 Addressbook: Fix historylog showing some changes done by "Personal" 2021-04-23 10:20:20 -06:00
nathangray
f89c8cfb03 Add hrules to sidebox menus 2021-04-19 16:02:41 -06:00
Ralf Becker
80ae34158d pending translations from our translation server 2021-04-18 20:32:17 +02:00
Ralf Becker
38ef0e0a94 * CalDAV/CardDAV: fix freebusy-URL for users and support basic auth with regular user credentials too 2021-04-13 16:05:27 +02:00
Ralf Becker
4045c06896 fix PHP 8 errors 2021-04-06 15:32:21 +02:00
Ralf Becker
197a6348a9 fix not working extended search after by PHP 8 required rename of the methode from search to extSearch 2021-04-06 10:54:48 +02:00
nathangray
f7af9c3c0f Silence some warnings 2021-04-05 11:25:57 -06:00
Ralf Becker
868135775c PHP 8 fixes 2021-03-29 16:47:19 +02:00
nathangray
d99f84f28e Commit changes from update to TypeScript 3.9.9 so we don't keep reverting them. 2021-03-23 09:29:58 -06:00