Commit Graph

434 Commits

Author SHA1 Message Date
ralf
6f375f12cc fix [Ok] button of name popup was disabled, if user had no edit rights to a contact 2024-04-04 18:50:02 +02:00
ralf
2e37f9bd34 WIP allow to place custom-fields in specified tabs and automatic tab generation
- no more need to add custom-field tabs to the template, if a et2-tabs is used
- new custom-field options for et2-tabs:
  + cfTypeFilter propagated to type_filter of customfields widget
  + cfPrivateTab use an extra tab for private cfs
  + cfPrepend where to add cf tabs, default before history tab or at the end, if no history tab
2024-03-25 16:03:48 +02:00
nathan
a61323f98c Disable kanban column if user does not have access to kanban 2023-07-12 15:47:54 -06:00
nathan
cebe21cc2d Addressbook: Fix extra private cfs in advanced search show "null" when blank 2023-02-17 08:28:20 -07:00
nathan
727c122d8f Addressbook: Fix advanced search was losing private custom field values when they were on a separate tab 2023-02-16 08:41:23 -07:00
nathan
ee244bf282 Addressbook: Fix advanced search was not including private custom fields when they were on a separate tab 2023-02-16 08:24:17 -07:00
nathan
bac32f4bba Addressbook: Fix required customfields were still required on advanced search dialog's "Extra private" tab 2023-02-15 08:44:39 -07:00
nathan
7fdadb84bd Addressbook: Fix shared values did not validate
Just passing them along normally now
2023-02-13 09:46:18 -07:00
nathan
d15c908e38 Addressbook: Fix required customfields were still required on advanced search dialog
Switched attribute name needed -> requred
2023-02-13 08:53:49 -07:00
ralf
6c327e7a64 * LDAP/Addressbook: make further LDAP attributes available as custom-fields using "ldap_<attribute>" as name for accounts in LDAP 2023-02-03 11:28:43 +01:00
ralf
0eff86f61a fix SQL-backends of accounts and contacts to return either avatar-url or initials 2023-01-30 15:48:53 +01:00
nathan
f332b7bba5 Fully remove "tabs" attribute for tabbox, it overwrites the internal tabs collection.
Even checking for it sets 'tabs' attribute to null.  Use "extraTabs" instead.
2023-01-11 13:21:01 -07:00
nathan
972acb7aa9 Addressbook: Fix error due to missing template on mobile 2022-11-18 14:27:43 -07:00
nathan
cfec2bf52d Addressbook: fix hook processing to handle results from multiple hooks
Copied from Etemplate.php
2022-11-18 11:41:15 -07:00
nathan
b998382cd2 Addressbook: Use infolog icon for CRM of organisation action 2022-10-24 13:59:52 -06:00
nathan
6b072932bd Addressbook: Hide "Change all organisation members" label when checkbox is disabled 2022-08-03 13:52:06 -06:00
ralf
c5f671dcaf fix TypeError param #2 of array_search must be array, null given 2022-06-23 22:16:21 +02:00
ralf
f2e20eddba fix addressbook edit for new Et2SelectCountry&State:
- using allowFreeEntries for custom country-names and storing, as before, region-name not the -code
- also fix flags to show nothing for custom / free country-names
Not entirely happy about it, but not willing to spend/waste more time on this tiny feature
2022-06-23 10:06:01 +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
49e7aab2cc * Addressbook: allow keeping custom fileAs value (LDAP: displayname) by adding it as first option 2022-03-29 10:25:52 +03: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
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
nathangray
a261ce8556 Avoid some PHP warnings about doing things to arrays that aren't arrays 2021-05-25 11:35:40 -06:00
nathangray
0232092187 Addressbook: Fix historylog showing some changes done by "Personal" 2021-04-23 10:20:20 -06: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
9baa79de5e Addressbook: Fix CRM view action for organisation was missing if user had no tracker access 2021-03-08 14:59:21 -07: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
nathangray
14dbd3d1f3 Addressbook: Push - add add_on_top_sort_field to add rows on top 2021-02-25 14:01:16 -07: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
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
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
b8409a479e changes to implement policies on contact sharing 2020-10-26 10:44:40 +01: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
1f7ce98c50 WIP contact sharing 2020-10-13 16:54:35 +02:00
Hadi Nategh
7f4535cf1d WIP multitabs and CRM view 2020-09-30 13:19:36 +02:00
nathangray
86bd6b719a Addressbook: Delete contacts over AJAX to avoid refresh 2020-09-28 10:51:30 -06:00
Hadi Nategh
028ff4edcb WIP multitabs: Use specific id for each crm view 2020-09-28 15:46:04 +02:00
nathangray
2dc5616b96 Separate CRM list from infolog list so push updates don't conflict 2020-09-03 09:58:27 -06: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