Commit Graph

1986 Commits

Author SHA1 Message Date
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
nathangray
3100e3407c Remove unreachable break 2017-01-25 10:26:08 -07:00
nathangray
9adf5d9438 Only one server call for automatic switch to accounts addressbook or all addressbooks dependin…
…g on distribution list is a group
2017-01-24 08:43:57 -07:00
Ralf Becker
bb7fb1abf8 * Addressbook/Mail: allow to use groups as (readonly) distribution lists 2017-01-23 11:17:02 +01:00
nathangray
383aeeba8c Add a selectbox for infolog type to addressbook's merge-to-email dialog 2017-01-20 08:37:08 -07:00
nathangray
6adec19710 Add selected contacts to new distribution list when you create it via context menu 2016-12-20 08:47:33 -07:00
Hadi Nategh
5f4fc359be Implement google recaptcha for sitemanager forms 2016-12-09 10:32:56 +01:00
Hadi Nategh
0c3e2c04db Fix not working notification in addressbook contactform 2016-12-08 12:33:32 +01:00
Ralf Becker
016a1cadde allow to preset variables via get parameters 2016-12-02 11:06:13 +01:00
nathangray
db71f7660f Reduce translation duplication - use a single common message for entry copied 2016-11-24 10:30:36 -07:00
Hadi Nategh
94523347f7 Activate avatar widget for addressbook edit dialog 2016-11-18 14:52:27 +01:00
Ralf Becker
e57c5832a6 * Adressbook/CardDAV/PostgreSQL: fix SQL error stalling sync of eg. eMClient with preference "Distributionlists as groups" enabled 2016-11-09 17:46:37 +01:00
nathangray
cbbbf8e15b Advanced search: Turn off required on custom fields, otherwise you can't search with them empty 2016-11-07 09:23:22 -07:00
Ralf Becker
7b95aa73b4 * CardDAV/Addressbook/PostgreSQL: fix SQL error, remove MySQL only FROM_UNIXTIME with our db abstration version 2016-11-02 09:40:16 +01:00
Ralf Becker
1239a15132 * eSync: only export raw email for contacts as Outlook seems to have problems with it
not '"Firstname Lastname" <first.last@domain.com>', see ticket  from GNS Christoph Kaulich
2016-10-04 15:35:20 +02:00
Hadi Nategh
83152bcb29 * Addressbook: Fix upload photo does not work for limited access of own data 2016-09-29 16:17:45 +02:00
Hadi Nategh
e8538bb3da Fix add distribution list doesn't work if add_default gets set as default/forced by admin 2016-09-15 17:37:19 +02:00
Hadi Nategh
1cca4183c9 WIP avatar widget:
- Implement upload and delete of contacts photo
- Add missing cropper stylesheet
2016-09-13 17:30:52 +02:00
Ralf Becker
3752c35a5a add ajax=true to diverse admin pages of apps, changing customfields class to autoloadable admin_customfields (with old class extending new one, just in case), fix wrong English phrase "typ" in infolog 2016-08-12 11:35:30 +02:00
Ralf Becker
d427d4ae83 appending ajax=true to addressbook site config and global categories to no use an iframe 2016-06-29 19:10:22 +02:00
Ralf Becker
6e557f02f8 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Hadi Nategh
39c37afb6a Fix duplicate contacts detection not working any more 2016-06-20 10:03:03 +02:00
Ralf Becker
f69c198183 * Addressbook/Mail: fix PHP Fatal error when clicking on "add new contact" icon in mail 2016-06-15 12:09:24 +02:00
nathangray
5ecd1c3c8e 'No filters' blank favorite also clears advanced search 2016-06-09 15:05:25 -06:00
Ralf Becker
93853cbfe0 remove unused code calling not existing Api\Framework::set_onload() 2016-06-07 15:19:18 +02:00
Ralf Becker
e9f854a074 replace under zpush 2.3 removed global debugLog() function with ZLog::Write(LOGLEVEL_DEBUG, ...) 2016-06-07 13:02:41 +02:00
Hadi Nategh
cd64de5aad Fix geolocation fails for some contacts 2016-06-01 09:55:57 +02:00
Hadi Nategh
3c6d4dea15 Add default url for geolocation config 2016-05-31 17:25:08 +02:00
Hadi Nategh
dabc96d07a GeoLocation in addressbook:
- Fix a conflict of %s as placeholder with et2 %s placeholder
- Fix pre-defined urls according to new placeholders
- Add some translations
2016-05-30 16:22:58 +02:00
Hadi Nategh
60bc400313 Fix modified view templates are not getting updated because of no cache-buster modification timestamp 2016-05-25 16:44:36 +02:00
Hadi Nategh
914fa40b39 Fix geolocation map url option does not work in addressbook site config 2016-05-25 14:37:40 +02:00
Hadi Nategh
40214e883e Fix a typo 2016-05-25 14:26:15 +02:00
Hadi Nategh
1f61249d3c Fix a typo, and add missing country placeholder into here maps 2016-05-25 12:56:28 +02:00
Hadi Nategh
4aaee9acd2 Implement routing system for geolocation feature:
- Add default source address preference
- Routing between user address and selected contact's address
2016-05-25 12:50:27 +02:00
Hadi Nategh
5ef5cacd62 Implement geolocation option for contacts in addressbook 2016-05-20 15:50:26 +02:00
Hadi Nategh
739b97fa43 Replace dark fav_tel icon in addressbook with WHITE-STAR 2016-05-19 16:59:08 +02:00
Ralf Becker
8a24f3e449 fix not loaded header / CSS, caused by missing echo before $GLOBALS['egw']->framework->(header|footer) 2016-05-14 21:26:36 +02:00
Nathan Gray
108860e4af Fix unwanted api conversion 2016-05-09 18:42:27 +00:00
Ralf Becker
f70c828fbd suppress empty custom field selection 2016-05-06 16:16:10 +00:00
Hadi Nategh
c558d1667d Optimize window size of registered popups in appregistry 2016-05-06 15:12:27 +00:00
Hadi Nategh
8a24a16cb1 Change representation for preferred tel number in addressbook 2016-05-06 09:08:43 +00:00
Nathan Gray
0eeb8b56c0 - Export plugins now specify the export record class
- Projectmanager now has filters
2016-05-04 19:34:30 +00:00
Ralf Becker
4af0e7cb1c WIP EGroupware without phpgwapi&etemplate 2016-05-04 19:07:54 +00:00
Nathan Gray
980774ffcd Fix undefined definition 2016-04-29 14:35:44 +00:00
Ralf Becker
248fde6fef converted addressbook to use new api 2016-04-29 10:41:53 +00:00
Ralf Becker
0eb3619cd1 * Mail/Addressbook/Calendar: add and use charset when sending/receiving mails with vCard/iCals, change default vCard charset preference to utf-8 2016-04-29 07:51:13 +00:00
Ralf Becker
38412a1149 use new api in home and portlets 2016-04-28 18:06:46 +00:00
Ralf Becker
a5080a29d5 * CardDAV: SoGo and Busycontacts without all name- or organisation components use last value for missing ones
eg. "N:Lastname;Firstname" would also set middle-name, prefix and sufix with "Firstname", same with "ORG:Organisation" would set department and position with "Organisation"
2016-04-27 14:46:44 +00:00
Ralf Becker
dbb998de96 also add "principal-address" (URL of vCard of principal), as on pricipal itself 2016-04-27 13:45:46 +00:00
Ralf Becker
0e6fd77ffe * CardDAV: fix not working creation of new CardDAV account with OS X 10.11.4 addressbook (it stays empty)
OS X 10.11.4 addressbook does a propfind for "addressbook-home-set" and "directory-gateway" in the root and does not continue without it
2016-04-27 13:27:22 +00:00
Ralf Becker
06c4b2db23 use new et2 site config 2016-04-25 15:57:38 +00:00
Nathan Gray
2fb1c0e31d Update sidebox contact if it gets changed 2016-04-11 20:38:12 +00:00
Ralf Becker
aa45c25685 move addressbook_merge to Api\Contacts\Merge 2016-04-06 09:49:50 +00:00
Ralf Becker
fc9c345930 move egw_ical_iterator to Api\CalDAV\IcalIterator 2016-04-04 23:45:39 +00:00
Ralf Becker
682fd42a26 move CalDAV/CardDAV server to api 2016-04-02 10:44:17 +00:00
Ralf Becker
9eb1ecbd36 fix all IDE warnings, before moving classes to api, in case we want to merge it back to 14.x 2016-04-02 08:40:34 +00:00
Nathan Gray
83b020b396 Fix type filter was not disabled when there is only 1 option 2016-03-29 15:37:50 +00:00
Nathan Gray
87edf6608c Fix distribution list column disabling 2016-03-14 17:22:09 +00:00
Hadi Nategh
dbd97cd37a Mobile theme:
- Eliminates some actions from contextmenu only on mobile
2016-03-09 12:31:55 +00:00
Ralf Becker
7ada2354d3 move addresbook_bo to Api\Contacts, ldap to Api\Ldap, ldapserverinfo to Api\Ldap\ServerInfo, bo_tracking to Api\Storage\Tracking, historylog to Api\Storage\History, Api\Customfields to Api\Storage\Customfields 2016-03-06 13:45:15 +00:00
Hadi Nategh
ff319bb248 Mobile theme W.I.P:
- Migrate ownership into a tab
- Fix AB view template name
2016-03-03 14:13:13 +00:00
Hadi Nategh
45e7142b09 Fix javascript error on serachbox
Remove overlay option from addressbook
2016-02-29 14:19:33 +00:00
Ralf Becker
d8822b5d52 fix PHP Warning: declaration of method x should be compatible with parent 2016-02-22 17:13:48 +00:00
Hadi Nategh
d5f0727b2e Enable overlay attribute for addressbook's searchbox 2016-02-18 12:58:14 +00:00
Ralf Becker
61027429eb alignment of NM header 2016-02-17 19:56:54 +00:00
Ralf Becker
8637e1c41b move label of all addressbook selectboxes into all-label (eg. "All categories"), resize selectboxes via css automatic, fix borders of favorites and row-counter in nextmatch header 2016-02-17 13:23:27 +00:00