Commit Graph

3502 Commits

Author SHA1 Message Date
ralf
96109e0f26 Several account or contact edit fixes
- fix no groups were selected (as they have numeric values)
- fix size of country and state selection
- WIP adding flags to select-country
- WIP fixing selecting a country set country_code for state selection
2022-06-18 15:06:50 +02:00
nathan
9b1923467d * 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-08 13:18:12 -06:00
ralf
5859ce0c37 fix CRM view shown with [object Promise] instead of title 2022-06-03 11:21:09 +02:00
ralf
7c2a3bfe71 fix missing url-encoding of from parameter (' 49...' instead of '+49...') 2022-05-04 15:20:34 +02:00
ralf
3e55347b33 get AB-view selectbox in line 2022-05-03 13:11:35 +02:00
ralf
a74bd82dde next chunk of fixed PHP Warning: Undefined array key or variable in main repo 2022-04-26 21:04:16 +02:00
nathan
bc0b8407d2 CSS / Layout cleanup - addressbook edit 2022-04-22 15:23:37 -06:00
ralf
b32e68c541 fix PHP 8.x TypeError: Cannot access offset of type string on string 2022-04-20 17:31:17 +02:00
nathan
e3be42721e Fix Et2Image did not double-transform src for as legacy image did
eg:
if $content[0][type] = "group"
${row}[type] => "0[type]" (single transform)
0[type] => "group" (double transform)

Also, fix type from addressbook list to not need double-transform
2022-04-11 15:03:24 -06:00
Ralf Becker
76e76a9e18 pending changes from our translation server 2022-04-04 13:26:38 +02:00
ralf
49e7aab2cc * Addressbook: allow keeping custom fileAs value (LDAP: displayname) by adding it as first option 2022-03-29 10:25:52 +03:00
nathan
6d393fb439 Addressbook: Switch from et2_dialog to Et2Dialog 2022-03-17 13:10:20 -06:00
ralf
045d034891 fix array_key_exists() expects exactly 2 arguments, 1 given 2022-02-24 17:58:32 +02:00
nathan
d2020727fe Fix some missing translation problems 2022-02-11 13:02:21 -07:00
Hadi Nategh
4853cefa0c Add missing icons for applications add buttons 2022-01-20 13:32:27 +01:00
Ralf Becker
b69de21bea fix PHP 8.0 TypeError: strlen(): Argument #1 ($str) must be of type string, array given 2022-01-17 21:35:50 +02:00
Ralf Becker
0748db0c70 pending translations from our translation server 2022-01-09 19:31:13 +01:00
Ralf Becker
676fe9b36f * CardDAV/Addressbook: fix GET request regression after REST API introduction 2021-12-16 19:54:17 +02:00
Hadi Nategh
cf4e5a76ef Fix error "TypeError: undefined attributeStyleMap" 2021-12-15 12:19:08 +01:00
Hadi Nategh
a0c014594f Fix context menu no longer works in Addressbook distributions list 2021-12-14 15:20:48 +01:00
Hadi Nategh
f18001d15a Remove extra width applied to Addressbook avatar images 2021-12-08 11:11:22 +01:00
nathan
d5f53af8b9 Fix missing buttons in contact edit 2021-12-06 16:27:22 -07:00
nathan
da6ff9d639 Merge branch 'master' into web-components 2021-11-24 09:42:28 -07:00
Ralf Becker
fec1c6593b fix PHP 8.0 TypeError: array_search(): Argument #2 ($haystack) must be of type array, null given 2021-11-19 10:48:56 +01:00
nathan
b91e1d8a5f Merge branch 'master' into web-components 2021-11-18 10:28:30 -07:00
Ralf Becker
3dd7af4aa5 fix diverse PHP 8.0 TypeErrors and ArgumentCountError in import/export 2021-11-15 14:41:36 +01:00
nathan
ed66beaf8f Merge branch 'master' into web-components 2021-11-10 10:25:51 -07:00
Ralf Becker
ed9b735456 fix PHP 8.0 TypeError: explode() expects parameter 2 to be string, array given 2021-11-10 11:38:06 +01:00
nathan
e03b8bbdc9 Merge branch 'master' into web-components 2021-11-05 11:08:31 -06:00
Ralf Becker
66d45452ab fix PHP 8.0 TypeError: explode(): Argument #2 ($string) must be of type string, array given 2021-11-05 14:43:32 +01:00
nathan
76d7447dab Merge branch 'master' into web-components 2021-11-01 09:37:26 -06:00
Ralf Becker
1500ab69f0 fix PHP 8.0 error: trim() expects parameter 1 to be string, array given 2021-10-28 21:34:02 +02:00
nathan
d9ae364595 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-25 14:33:13 -06:00
nathan
fbbc466c78 Merge branch 'master' into web-components 2021-10-18 10:56:05 -06:00
Ralf Becker
59a6a3c717 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:50:46 +02:00
nathan
da6a16e62d - Add generation target path preference to all apps
- Use common method to get merge preferences to reduce duplication
2021-10-07 10:22:45 -06:00
nathan
02dce82010 Merge branch 'master' into web-components 2021-10-06 14:02:22 -06:00
nathan
45f039da95 * Add preference to set the filename of merged documents using placeholders 2021-10-06 11:59:29 -06:00
Ralf Becker
d2c85cfe86 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:08:32 +02:00
Ralf Becker
66cf807cdd fix PHP 8.0 Error: Argument #2 ($array) must be of type array, null given 2021-10-05 16:35:27 +02:00
Ralf Becker
2c9949f362 REST API, do NOT take "Sync all in one addressbook" preference into account, but store in given AB 2021-09-28 11:35:01 +02:00
Ralf Becker
281e71ef71 use PUT with a UID as id to update an existing resource or create it, if not existing 2021-09-25 13:04:49 +02:00
Ralf Becker
e640873fc0 implement and document PATCH 2021-09-25 12:38:08 +02:00
Ralf Becker
1280de46d6 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-24 18:06:13 +02:00
nathan
25773a929f Merge remote-tracking branch 'origin/master' into web-components 2021-09-23 10:22:18 -06:00
Ralf Becker
82c8ed51d2 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-20 16:01:22 +02:00
Ralf Becker
e9998161a5 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-19 11:09:44 +02:00
Ralf Becker
7617aae9d0 got POST, PUT and DELETE request to add, update and delete contacts working
added JSON exception handler with nicer JsCalendar parse errors
2021-09-17 20:15:36 +02:00
nathan
d944372e14 Change some more menulists into selects 2021-09-17 10:05:11 -06:00
Ralf Becker
5e2995234b fix double class attribute in menulist and menupopup by using select 2021-09-16 21:03:01 +02:00
Ralf Becker
0768f5fadf WIP REST Api for contacts 2021-09-16 20:53:43 +02:00
Ralf Becker
38e2167166 WIP REST API for contacts using JsContacts draft 2021-09-15 18:45:45 +02:00
nathan
fff2849f3b - Avoid using internal widget.options
- Optimization on getting instance from widget
2021-09-14 14:13:22 -06:00
Hadi Nategh
4cd2d665d7 Fix broken opening a contact in mobile theme 2021-07-26 14:52:01 +02:00
Ralf Becker
1563337458 pending translations from our translation server 2021-07-12 08:15:16 +02:00
Ralf Becker
05405b955a remove generated .js files from git 2021-07-01 08:38:08 +02:00
Ralf Becker
d7cd90ebe7 fix skipping timestamps, but preferring .min.js over .js
added more apps to rollup.config.js (ones givening errors are commented out)
2021-06-29 15:21:19 +02:00
nathangray
3add958afa The results of Guy Bedford's help
Egroupware will load into addressbook & show rows
Most base files should be bundled server-side & included
rollup.config.js controls the process

Still needs work:
- consider /dist directory for best-practice
- cleanup
- other built-in apps
- EPL / external apps need Guy's multi-stage work
2021-06-25 14:49:24 -06:00
nathangray
186e03671a Change merge download/Collabora to a common generation method, avoiding need to POST.
This allows Kanban to download merge files
2021-06-23 11:20:09 -06:00
Hadi Nategh
c0eae5d955 Fix import statement and remove debugger 2021-06-14 15:05:08 +02:00
Hadi Nategh
54fff9739a Add more missing import statements 2021-06-10 15:40:49 +02:00
Hadi Nategh
0730d4880e Remove couple of more jquery import statements 2021-06-10 13:57:33 +02:00
Ralf Becker
5298336886 include jquery and other legacy js files via script tag 2021-06-10 11:38:54 +02:00
Ralf Becker
38cb855017 fixing a couple more imports to get addressbook list show up 2021-06-09 11:11:34 +02:00
nathangray
a261ce8556 Avoid some PHP warnings about doing things to arrays that aren't arrays 2021-05-25 11:35:40 -06:00
nathangray
6971292be3 Addressbook: Fix CSV import into specific addressbook was always going into importer's personal addressbook 2021-05-19 09:06:06 -06:00
Hadi Nategh
2612d75e03 Fix broken avatar in Addressbook edit dialog 2021-05-18 16:59:45 +02:00
Ralf Becker
166718a22c remove config allowing to immediately delete contacts (as it's required for sync) 2021-05-18 14:02:51 +02:00
Ralf Becker
1f010a4391 Bump version to 21.1 2021-05-08 15:02:24 +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
nathangray
9baa79de5e Addressbook: Fix CRM view action for organisation was missing if user had no tracker access 2021-03-08 14:59:21 -07:00
Ralf Becker
75973a2be1 show missed calls on their CRM view 2021-03-05 22:07:36 +02:00
nathangray
19bd3a03b0 Addressbook: Update CRM view contact info in sidebox if it's changed by push message 2021-03-04 13:53:52 -07:00
Hadi Nategh
a8f11ca1b7 Some mobile Ui improvements 2021-03-04 16:30:01 +01:00
Ralf Becker
58ae23c74c allow "app.<appname>.<method>" in link registry and use it to open CRM view 2021-03-04 11:50:13 +02:00
nathangray
14dbd3d1f3 Addressbook: Push - add add_on_top_sort_field to add rows on top 2021-02-25 14:01:16 -07:00
nathangray
158e65fc90 Take contact shares into account for push ACL checks 2021-02-25 09:11:39 -07:00
nathangray
3c72462b5e Enable push for addressbook
Refactor EgwApp.push() to cover more common stuff for simpler app code
2021-02-24 09:18:42 -07:00
Ralf Becker
a64590d3db moving opening of CRM view code into Contacts class 2021-02-15 15:11:24 +02:00
Ralf Becker
2291cc8df0 WIP incomming CTI / open CRM view when phone rings 2021-02-14 17:46:08 +02:00
nathangray
d2a2ae49e3 * Addressbook: Fix missing distribution lists 2021-02-08 09:56:49 -07: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
Ralf Becker
7011faba18 pending changes from our translation server 2020-12-15 18:57:33 +01:00
Hadi Nategh
ee7af811c4 Add some translations 2020-12-03 15:30:27 +01:00
nathangray
559943f772 * Addressbook: Fix newly added distribution lists could not be added to with the context menu 2020-11-30 11:30:14 -07:00
Ralf Becker
1cda58c9be fix error "Class Accounts not found" 2020-11-20 15:48:46 +01:00
nathangray
b4869aa2a1 Kanban: Add context menu action to add to existing kanban boards 2020-11-09 15:56:24 -07:00
Ralf Becker
f6aad0cd46 allow to filter by (not) shared and add groups to shared-with filter 2020-11-04 16:05:41 +01:00
Ralf Becker
d17f73cd79 add contact info to check_shared_with call, so sharerequires policy uses current data 2020-11-04 14:37:29 +01:00
Hadi Nategh
e842cde370 Fix some more styling issues 2020-11-04 11:43:42 +01:00
Hadi Nategh
c4a9a97246 Fix styling of CRV view's close button 2020-11-04 10:56:07 +01:00
Hadi Nategh
a1170ab939 Add close button into CRM view 2020-11-03 16:21:35 +01:00
Hadi Nategh
03adbcb97a Take crm_list preference into account for dblclick action on contact 2020-11-02 15:48:00 +01:00
Ralf Becker
378b3c6eef enable unshare action also when shared-with column is shown and fix some bugs arround unsharing and resharing 2020-11-02 12:56:00 +01:00
Ralf Becker
a3b17c5db7 display shared-with in addressbook column and allow to use it as filter 2020-11-02 12:05:13 +01:00
Ralf Becker
e98e91b9f3 give explicit select-options priority over querying accounts via link-widget, fixes not displayed addressbook for sharing 2020-11-02 09:09:46 +01:00
Hadi Nategh
ba8cd17816 Fix typo breaking CRM view 2020-10-30 12:26:27 +01:00
Hadi Nategh
b26bcf2978 Show organisation name on CRM view if exists 2020-10-30 10:32:18 +01:00
Hadi Nategh
b0e2e1f1be Open crm view for contact link 2020-10-29 11:47:29 +01:00
Ralf Becker
47da0f9bf8 * Addressbook: allow to configure sending fax via email by replacing the number with an email address 2020-10-28 13:30:28 +01:00
Ralf Becker
b8409a479e changes to implement policies on contact sharing 2020-10-26 10:44:40 +01:00
Ralf Becker
0755668e9f fix PHP Warning "continue" targeting switch, though a single continue/break works too 2020-10-23 20:04:04 +02:00
Hadi Nategh
266f5059d3 WIP Multitabs: fix some styling issues 2020-10-23 13:29:51 +02:00
Hadi Nategh
978a1810bb WIP Multitabs: add more details to tab's label(display name) 2020-10-22 14:14:55 +02:00
Hadi Nategh
7d1cd4c12c WIP Multitabs:
- Fix wrong ids generated for sideboxes
- Fix tab header refresh
2020-10-22 13:52:17 +02:00
Hadi Nategh
6a5c6599dd WIP multitab:
- fix duplicated sidebox view id
2020-10-21 14:58:19 +02:00
Ralf Becker
9c8f76d150 WIP addressbook sharing: action to unshare contacts shared by user (only in shared_by_me view) 2020-10-19 18:38:33 +02:00
Ralf Becker
37be9f40d0 WIP contact sharing: context menu to share and filter for shared contacts 2020-10-16 21:34:42 +02:00
Ralf Becker
ff91be903a sharing ACL: need explicit new ACL or edit rights, to share into an addressbook 2020-10-15 13:03:14 +02:00
Ralf Becker
66c59a19f9 allow to select group-addressbooks 2020-10-14 08:48:42 +02:00
Ralf Becker
1f7ce98c50 WIP contact sharing 2020-10-13 16:54:35 +02:00
nathangray
ba0e1240c3 CRM: Fix some list bugs
- Adding an infolog did not show up
- CRM.ts got disconnected if infolog list got reloaded
2020-10-08 11:53:33 -06:00
Hadi Nategh
7f4535cf1d WIP multitabs and CRM view 2020-09-30 13:19:36 +02:00
Hadi Nategh
9cf0724420 Add a css class to style crm view sidebox 2020-09-29 10:39:39 +02:00
nathangray
86bd6b719a Addressbook: Delete contacts over AJAX to avoid refresh 2020-09-28 10:51:30 -06:00
nathangray
9d94c1613d Addressbook: Export listed accounts as being in the addressbook of the exporter. They now are 'Accounts' 2020-09-28 09:14:45 -06:00
Hadi Nategh
028ff4edcb WIP multitabs: Use specific id for each crm view 2020-09-28 15:46:04 +02:00
Hadi Nategh
2ed186079e Implement openTab for egw_open object and make tab attributes configurable 2020-09-24 16:19:56 +02:00
Hadi Nategh
4bf65486ef WIP of framework's multitab implementation 2020-09-23 16:55:35 +02:00
Ralf Becker
fd9367d4cf * CardDAV/Addressbook: do NOT add empty room number as further organizational unit
eg. OutlookSynchronizer adds the semicolon to the org-unit
2020-09-11 11:48:08 +02:00
nathangray
d6eade2f75 Filter push updates for CRM entries on all linked contacts, not just primary 2020-09-04 09:37:07 -06:00
nathangray
e49529f271 Add missing CRM.js 2020-09-04 08:23:46 -06:00
nathangray
2dc5616b96 Separate CRM list from infolog list so push updates don't conflict 2020-09-03 09:58:27 -06:00
Ralf Becker
a7916d9738 fix nm as 2nd and selectbox as 3rd parameter 2020-08-12 15:17:53 +02:00
nathangray
ff35f58f73 Change addressbook group / template on client side, not server side
Fixes the issue where the nextmatch_controller is part of the context for the request, but the first thing set_template() does when the server tells the nextmatch to change the template is destroy the controller.  This means that when the data is parsed, the context is missing or damaged.
2020-08-07 13:18:41 -06:00
nathangray
b6e47f9b11 Etemplate: Password widget now auto-updates the second 'confirm' password if you have two and suggest a password. 2020-07-23 13:56:14 -06:00
Ralf Becker
361d5cb351 bump version to 20.1 2020-06-28 10:04:21 +02:00
nathangray
d7d5837ecf Nicer password widget on account edit dialog
- Added plain-text attribute to avoid encrypting password
- Suggest password now fills both fields the same
2020-06-15 16:08:24 -06:00
Ralf Becker
d83c567703 pending translations from our translation server 2020-06-12 12:29:47 +02:00
nathangray
18852b91bc Addressbook: Fix typo in CSV export 2020-06-08 09:11:42 -06:00
Hadi Nategh
15ced22755 Use colored icon for Scheduled call action 2020-06-08 11:48:42 +02:00
nathangray
d89b92f27b * Addressbook: Add selectbox for addressbook to Add distribution list dialog 2020-05-22 11:58:27 -06:00
nathangray
a29d79a7ab * Addressbook: New context menu action to change contact type 2020-05-20 13:05:56 -06:00
nathangray
ded0ef4264 * Addressbook: Fix videoconference online check caused an error with non-user contacts 2020-05-20 11:02:04 -06:00
nathangray
934d309856 Make taglist-state update its own options when country code changes
Fixes bug where options were not properly set if they had to be fetched from server.
2020-05-13 15:21:26 -06:00
Ralf Becker
dfb5531118 pending translations from our translation server 2020-04-29 19:53:40 +02:00
Hadi Nategh
490ada9394 Add more translations and fix csp error while frame accessing egroupware.org 2020-04-29 17:39:04 +02:00
Hadi Nategh
0488da6722 fix invite action's caption 2020-04-29 10:34:18 +02:00
Hadi Nategh
79f8079150 Add "Invite to call" action for inviting users into an existing call 2020-04-28 18:35:33 +02:00
Hadi Nategh
b7ec2a9b91 Add phone call actions 2020-04-23 17:31:33 +02:00
Hadi Nategh
6e932e09ae Fix error when status app is not available 2020-04-22 11:52:07 +02:00