Commit Graph

1951 Commits

Author SHA1 Message Date
nathangray
0f5aaa3ed9 Addressbook - implement owner link registry so we can count how many contacts a user has 2019-07-31 10:31:13 -06:00
Hadi Nategh
4b8d4dd5e3 Avoid php warning 2019-07-18 16:19:53 +02:00
Hadi Nategh
2a9b27e76b Take other backends e.g. LDAP into account while searching for contacts 2019-07-18 16:05:35 +02:00
Ralf Becker
76b0bac25e if accounts backend is NOT SQL, we need to search that too 2019-07-18 14:48:13 +02:00
Hadi Nategh
72bd27587c Stop php warning "Invalid foreach argument" 2019-07-18 12:34:12 +02:00
nathangray
d0b5d50b0f Addressbook - Remove obsolete preference "Export definition to use for nextmatch export" 2019-07-10 14:15:52 -06:00
Ralf Becker
471742f7ec fix esync addressbooks to sync preferenence can be an array to 2019-06-14 17:25:18 +02:00
Ralf Becker
75403eea94 * CalDAV/CardDAV: allow removing categories 2019-05-28 18:48:14 +02:00
Ralf Becker
d151930412 dito for lists 2019-05-28 16:54:49 +02:00
Ralf Becker
c4f23f899f do NOT use xml CDATA for vCards to ensure correct replacement of control chars like VT 2019-05-28 16:27:50 +02:00
Ralf Becker
5b7281ed5c Revert "some chars also require encoding for iCal 2+ or vCard 3+"
This reverts commit f75b9e93f4.
2019-05-28 16:27:50 +02:00
Ralf Becker
038caabd72 some chars also require encoding for iCal 2+ or vCard 3+ 2019-05-27 17:00:40 +02:00
Ralf Becker
1338090a84 * CalDAV/CardDAV: encoding VT (vertical tab) as it stalls Outlook (CalDav Synchronizer) 2019-05-24 15:11:07 +02:00
nathangray
533c9c0351 Add optional link variable so apps can specify the location of their entry modification time 2019-05-17 10:36:04 -06:00
nathangray
befac35e0b Add category override for addressbook vcard & infolog ical import 2019-04-23 16:17:12 -06:00
nathangray
55a3a1b3f7 Preserve old owner for if user changes addressbook 2019-04-04 15:20:13 -06:00
nathangray
2185f35bba Partially revert 3dfdcee193 as not needed 2019-03-26 12:00:43 -06:00
nathangray
3dfdcee193 Reset bo object data before each import to fix imports without ID went to the same object 2019-03-26 11:26:41 -06:00
Ralf Becker
79a90202a8 * Addressbook: fix photo was lost when non-admin user edited own account 2019-02-20 17:07:28 +01:00
Ralf Becker
c2003e2b8a fixing some IDE warnings 2019-02-13 14:53:16 +01:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00
Hadi Nategh
2405d8f2d3 * Mail: fix not working sending and receiving smime signed messages where certificates have more than 1 domain registered (subjectAltName) 2019-02-06 13:49:11 +01:00
nathangray
07b24b2a60 Commit session right after we store the state 2018-12-20 10:45:11 -07:00
nathangray
6bf8f6bb26 Fix some more PHP 7.2 warnings
Remove some calls to deprecated each()
2018-12-18 10:20:23 -07:00
nathangray
6a6ef64793 Addressbook - add additional config option to only show Last/Next date for contacts 2018-12-17 10:04:20 -07:00
nathangray
d15841e3eb * Addressbook - Add site configuration to disable Last/Next Event column 2018-12-10 09:50:34 -07:00
nathangray
8451836a92 Import/Export - change signature of method that gets options to allow definition-specific values
Do export too, for consistency
2018-11-29 10:32:42 -07:00
nathangray
dba9a76246 Import/Export - change signature of method that gets options to allow definition-specific values 2018-11-29 09:35:35 -07:00
nathangray
0c5d8a5784 * Calendar - Allow specifying the charset when importing ical 2018-11-27 15:56:40 -07:00
nathangray
6ef91a5696 * Addressbook - Allow specifying the charset when importing vcard 2018-11-27 15:40:28 -07:00
Hadi Nategh
fd36f854a3 W.I.P. of disableIfNoEPL attribute:
- Implement the same attribute for sidebox menu
- Fix if hideOnDisabled is enabled it will ignore the disableIfNoEPL and it will not show the menu at all
- Adopt addressbook Mail VCard menu
2018-11-27 15:22:50 +01:00
nathangray
7d14918e49 * Addressbook - fix photos not imported via Import / Export 2018-11-22 09:55:27 -07:00
nathangray
4889995e29 Addressbook cleanup
- Finish column selection change from exclusion to default list, distribution list & next/last date had some leftovers
- Remove 'do_email'
2018-11-20 10:27:56 -07:00
Hadi Nategh
b88f5cb446 Do not run read_calendar if there's no columnselection at all 2018-11-15 17:44:42 +01:00
nathangray
4c162153d6 * Addressbook - add option to import that deletes contacts from addressbook that are not in the import list 2018-11-06 15:15:36 -07:00
Hadi Nategh
2690ec5053 Introduces avatar.php and replaces all addressbook.photo urls accordingly 2018-10-31 13:49:51 +01:00
nathangray
18625abce8 * Addressbook - move photo change flag from import into vcal so it's always set if needed 2018-10-29 11:07:35 -06:00
Ralf Becker
8c05d047ea * CardDAV/Addressbook: fix missing wrapping of notes field
by disabling all old special handling for vCard version 3.0
2018-10-25 21:04:34 +02:00
nathangray
117b559a5e Entry share changes
- Writable share is now a checkbox
- Add Sharing -> Merge entry into email template, share gets selected options
- Add {{share}} placeholder which creates (by default) read only share
2018-10-11 12:54:17 -06:00
Ralf Becker
cc22e89242 * CalDAV: CalDAVSynchronizer: only allow owner/organizer to update or delete an event (not users with edit/delete rights) 2018-10-09 13:15:11 +02:00
nathangray
070ba2b617 Use flag to tell Contacts we want to save the picture 2018-09-05 13:29:58 -06:00
Ralf Becker
06413e1506 avoid .files/smime-pubkey.crt file does not exist or can not be created! 2018-08-27 15:32:25 +02:00
Ralf Becker
13941bb0e6 * CardDAV: photo was not saved/changed in PUT requests 2018-08-24 13:56:38 +02:00
Hadi Nategh
e1ee71873a Implements lavatar and replace default photo avatar with generated lavatar 2018-08-13 11:56:05 +02:00
Hadi Nategh
555a8f8885 Remove not intentional committed part from commit 8f99f175aa 2018-08-09 09:31:49 +02:00
nathangray
3c5b7c8ba5 * Addressbook - Allow multiselection for customfield added to link title 2018-08-08 09:18:55 -06:00
Hadi Nategh
8f99f175aa New action for adding contact from addressbook accounts list into roster list 2018-08-08 16:06:17 +02:00
nathangray
82ea4fe2de * Addressbook - add filtering by distribution list for organisations 2018-07-19 14:54:05 -06:00
nathangray
d5e0bc1615 * Addressbook - Fix bug preventing turning off letter filter after some actions 2018-07-18 13:43:32 -06:00
Ralf Becker
a11b9a266b * Addressbook: fix SMime/PGP public key import not containing a newline after the key 2018-06-25 14:23:19 +02:00
nathangray
257c1de4fe Addressbook - fix missing add action on no rows after some actions 2018-06-21 10:21:31 -06:00
nathangray
36a1d84c48 * Addressbook - Fix incorrect validation error from contact owner when editing import definition 2018-06-21 09:44:39 -06:00
nathangray
835ad5b322 * Addressbook - Disable merge contacts action if more than one account is selected 2018-06-12 13:49:59 -06:00
nathangray
d0a50d8d45 Changes needed to just get the screenshots, much more work needed for proper functionallity since I faked the permissions 2018-06-05 14:31:04 -06:00
nathangray
1c179bcdf0 Add addressbook translation (for "group") 2018-05-14 16:46:15 -06:00
Ralf Becker
95ea8445b5 * Addressbook: allow to import or paste S/Mime or PGP public keys via pubkey field into Vfs 2018-05-09 10:05:34 +02:00
nathangray
235746e4d6 * Addressbook - Add preference to turn off user groups as distribution lists 2018-04-17 09:35:08 -06:00
Ralf Becker
f1437d4ccb fixing a couple more PHP Warning count(): Parameter must be an array or an object that implements Countable 2018-04-13 09:12:26 +02:00
Ralf Becker
b58b9d06b9 * CardDAV/addresbook: fixed not working distribution-lists as groups in Mac addressbook 2018-04-12 13:03:14 +02:00
nathangray
52398d734a * Addressbook - Fix missing 'Add' action for no results 2018-04-03 16:22:34 -06:00
Hadi Nategh
c230c9ff16 * Addressbook: Enable upload buttons of smime/pgp pubkeys if user is allowed to modify them. 2018-03-28 18:22:07 +02:00
Hadi Nategh
7949d8b2fc Fix lots of misspelled words in translations 2018-03-26 16:02:42 +02:00
Ralf Becker
9777a04dad * CardDAV/Addressbook: fix can NOT create new entries on a minimal (non-compat) install
Caused by version-check agains not installed phpgwapi fails and causes new name-parts of url starting with a number to clash with existing contacts and therefore give a "412 Precondition failed"
2018-03-23 19:59:49 +01:00
nathangray
f265f74e12 * Addressbook - fix AJAX duplicate check skipped email addresses 2018-02-12 09:05:53 -07:00
nathangray
07faccfa37 Use duplicate threshold preference instead of constant 2 for edit dialog duplication check 2018-02-07 10:17:27 -07:00
nathangray
16a4d95b1c * Addressbook - Fix duplicate detection when editing contact 2018-01-24 09:11:07 -07:00
Ralf Becker
65e7c7be78 make NM lettersearch lettes translatable via phrase "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 2018-01-24 10:08:55 +01:00
Hadi Nategh
84dc97dc83 A fix patch for commit c6b2d84777 2017-12-20 15:50:24 +01:00
Hadi Nategh
a2aadad016 Revert commit c6b2d84777 which breaks creation of account from admin 2017-12-20 15:20:48 +01:00
nathangray
26aacd8434 * Addressbook - Enable viewing infolog entries of organisations 2017-12-19 10:13:33 -07:00
nathangray
c6b2d84777 * Addressbook - fix adding contact while looking at accounts would try to add a new user 2017-12-19 09:33:03 -07:00
Hadi Nategh
90a5e91fc7 * Addressbook: fix bug setting Hide User Account in preferences into Show all accounts breaks show accounts 2017-12-01 14:58:44 +01:00
nathangray
e88afc07d0 * Addressbook - fix SQL error with accounts hidden + Organisation by location / department
- Fix accounts missing if no preference for hide accounts set
2017-11-29 09:12:05 -07:00
Ralf Becker
546606141e * Addressbook: fix lost picture in upload 2017-11-29 16:25:08 +08:00
Ralf Becker
dd4ae60fa2 fix avatar/files update issues 2017-11-29 09:58:36 +08:00
nathangray
b04eb80b39 Addressbook - fix show/hide account preference bugs
- account filter was missing for show active
- preference changed to match current value
2017-11-21 11:07:50 -07:00
nathangray
c8369f9b39 Addressbook - fix hide accounts preference did not work for duplicate & organisation views
- Added a new preference option to hide only deactivated accounts
2017-11-15 11:29:10 -07:00
Hadi Nategh
1b0c1b9960 * Addressbook: Fix avatar icon is doubled if contact has no avatar set 2017-11-13 12:16:08 +01:00
nathangray
838daeac40 Addressbook - better handling of missing contact type when importing.
If it's missing and there's only the normal type, it'll quietly use that.
2017-10-05 13:23:09 -06:00
nathangray
6b71e997fe Addressbook - make sure import target addressbook is valid, if not use personal addressbook. 2017-09-27 11:34:45 -06:00
Hadi Nategh
edf6e16996 * Addressbook: Add searching feature for distribution list filter 2017-09-26 16:57:45 +02:00
Ralf Becker
9879e02766 update files bitfield, for keys added via edit popup vfs-upload widgets 2017-09-21 11:33:40 +02:00
Ralf Becker
3d57827d8c fix lost picture when pubkeys get updated/added via mail account dialog and vCard, CardDAV or eSync export 2017-09-19 15:31:00 +02:00
Hadi Nategh
6e91053f49 Fix smime key not being recognized by new get_key method 2017-09-19 12:52:43 +02:00
Ralf Becker
48554590f4 * Addressbook: store S/Mime & PGP pubkey and photo (SQL backend only) in filesystem 2017-09-19 11:38:48 +02:00
Hadi Nategh
a075fae6a0 Offer to add contact if there's no contact found for given email in smime
addToContact dialog
2017-09-12 17:23:24 +02:00
nathangray
ab8ab5f330 * Addressbook - Fix tel_prefer statustext to be translated field label instead of field name 2017-08-14 11:22:46 -06:00
Ralf Becker
f8049efd03 adding API version not old phpgwapi version to vCard 2017-08-10 12:40:43 +02:00
nathangray
3edad8e231 Addressbook - Fix error about missing parameter 2017-06-12 09:59:11 -06:00
nathangray
77a285bbea Addressbook - fix organisation view still showed all contacts 2017-05-31 10:18:51 -06:00
nathangray
4bbfe978dd Addressbook - Fix scheduled export of vcard caused 2 files with the same name in vfs 2017-04-25 15:41:16 -06:00
nathangray
b193bb0692 Fix bug where extra private cf widgets were read-only 2017-04-19 10:44:24 -06:00
nathangray
0a0530fe46 * Addressbook - Fix bug where private required custom fields could block saving the entry if they were not on their own tab 2017-04-13 09:25:47 -06:00
nathangray
d5c24a2c8e Thumbnails (and handling) of uploaded files on new entries that have not yet been saved 2017-04-10 10:39:04 -06:00
Ralf Becker
dfbd0d2e6f do NOT store actions in session or eT2 request, nor send for mobile devices skiped actions 2017-04-04 16:54:36 +02:00
nathangray
8afb3072fc Addressbook - Move merge duplicates action to below merge contacts 2017-03-22 14:27:05 -06:00
nathangray
d5386625d5 Addressbook - Duplicate view - Fix a bug with types, add some debug to help with long queries. 2017-03-17 10:01:23 -06:00
nathangray
23bf37b98e * Addressbook - new view to show duplicate contacts 2017-03-13 12:11:53 -06:00
nathangray
78c5f31ff5 * Addressbook - When viewing a user account's calendar or next/previous dates, use the account calendar over the contact calendar 2017-03-08 09:53:52 -07:00
Hadi Nategh
68a1f2fd37 WIP of SMIME support: Implement set_smime_keys and get_smime_keys 2017-01-26 12:42:22 +01:00