Commit Graph

415 Commits

Author SHA1 Message Date
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
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
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
Hadi Nategh
cd64de5aad Fix geolocation fails for some contacts 2016-06-01 09:55:57 +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
40214e883e Fix a typo 2016-05-25 14:26:15 +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
Hadi Nategh
8a24a16cb1 Change representation for preferred tel number in addressbook 2016-05-06 09:08:43 +00:00
Ralf Becker
4af0e7cb1c WIP EGroupware without phpgwapi&etemplate 2016-05-04 19:07:54 +00:00
Ralf Becker
248fde6fef converted addressbook to use new api 2016-04-29 10:41:53 +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
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
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
Ralf Becker
ab3e235ed6 work in progress aligning nextmatch headers 2016-02-12 17:19:27 +00:00
Hadi Nategh
f1affcdd3e Mobile theme W.I.P.:
- Disable crm view default action for mobile
2016-02-05 09:38:21 +00:00
Hadi Nategh
d2a416baae Mobile theme W.I.P.:
- Load edit.xet if there's no view template available
- Remove email,phone, link icons from AB edit
2016-02-04 17:25:52 +00:00
Hadi Nategh
0380239cad Mobile theme W.I.P.:
- Fix view mode header
- Style AB view dialog
2016-02-02 10:26:13 +00:00
Ralf Becker
eb73fb2ec3 * Addressbook/CardDAV: fix contacts created with "Copy instead of move" checked in "Move to addressbook" context menu sync not correctly (already created ones need to be deleted!)
Using now behavior like interactive "copy", but copying all fields, but ones never to copy like uid etc.
This includes creating a link to the copied contact
2015-12-15 22:38:22 +00:00
Nathan Gray
15fb3c1d9a A different strategy to fix sticky letter filter when reloading addressbook (r54293) 2015-11-24 20:50:36 +00:00
Nathan Gray
69ffc46a95 Fix sticky letter filter when reloading addressbook 2015-11-16 20:41:41 +00:00
Ralf Becker
3253b6bda1 * Addressbook: allow eg. telephone apps to jump directly into CRM view of a phonenumber with https://domain.com/egroupware/index.php?menuaction=addressbook.addressbook_ui.view&search="49 123 456789"&ajax=true&cd=yes 2015-10-07 09:31:10 +00:00
Nathan Gray
999b9f8724 Do not give an error about selecting contacts when there is no action. 2015-09-21 21:41:04 +00:00
Nathan Gray
b963fff0c0 Fix bug where default columns disappeared and all columns were shown when there's no user preference 2015-09-16 15:47:49 +00:00
Nathan Gray
085425e821 Organisation view column defaults - make type column wider, add number & department columns 2015-09-08 16:48:42 +00:00
Ralf Becker
177083c730 * Addressbook: fixed copying a contact one can only read, gives a readonly popup with just a cancel button 2015-08-20 13:05:00 +00:00
Nathan Gray
c3f2fa4602 After editing a contact, refresh the whole list (edit) instead of just updating the one contact. 2015-07-28 15:01:03 +00:00
Ralf Becker
f1ba35613c * CardDAV/Addressbook: fix iOS 8.4 problem allways creating new contacts for admins in accounts addressbook, using now default or personal addressbook 2015-07-23 17:40:48 +00:00
Ralf Becker
2903f1138e * Addressbook: visualize own account ACL for non-admin users by making all other fields readonly
fixes #9669 - Eigenes Profil ändern
2015-05-27 05:31:16 +00:00
Ralf Becker
62f541cce6 fix contacts show organisation actions too 2015-04-24 15:13:45 +00:00
Nathan Gray
27d88b93ec Country list no longer supports options, so include custom in sel_options 2015-04-15 15:57:19 +00:00
Nathan Gray
3037724641 Include org name in default columns for org view 2015-03-31 15:31:50 +00:00
Nathan Gray
18442ff3e5 Remove debug 2015-03-18 15:12:44 +00:00
Nathan Gray
2cee8df131 Get calendar view working with orgs again 2015-03-17 19:14:00 +00:00
Nathan Gray
e6bdc9fd8c Re-enable view infologs on organisations, works fine. 2015-03-16 15:30:17 +00:00
Nathan Gray
4f0b1397ea Fixes on org view:
- Fix or disable broken actions on orgs
- Fix going from viewing the organisations of one contact does not clear all filters
2015-03-11 23:15:50 +00:00
Nathan Gray
aa5564d569 Enable proper actions on both organisations and contacts when expanding an organisation 2015-03-10 15:41:53 +00:00
Nathan Gray
3ea2ed1332 - Fix business address layout
- Org view enable all columns by default
2015-03-03 22:23:19 +00:00
Nathan Gray
34cc9d3a64 * Organisations can now expand to show their contacts 2015-03-02 21:50:25 +00:00
Ralf Becker
c1abc8e603 cleaning up template and css 2015-02-04 10:30:59 +00:00
Hadi Nategh
e07c11be85 Fix popup's window close
-Make sure window.close() closing the right egw window
-Make sure the modal popup has the opener
2014-12-12 14:21:04 +00:00
Nathan Gray
6db1339365 More Home progress (favorites):
- Add favorite for addressbook
 - Fix add favorite from drop didn't load properly
2014-11-25 22:42:44 +00:00
Nathan Gray
459c647837 Change addressbook custom icons to be based on VFS image dir + name instead of previous per type 2014-11-19 22:06:30 +00:00
Nathan Gray
235a847cff Remove full list reload when adding a new distribution list, using ajax instead. 2014-10-28 19:50:19 +00:00
Nathan Gray
02fbe1ef41 Fix rename list placeholder action 2014-10-28 19:11:10 +00:00
Nathan Gray
5f60df7ebb Distribution list UI:
- Context menu and nextmatch Add new list now both set the owner based on selected addressbook (previously were different)
- If no selected addressbook, they now use preferred default addressbook
- Added context menu to rename selected addressbook
2014-10-27 18:43:03 +00:00
Ralf Becker
47bf4d0824 * Addressbook: with double-click preference set to edit, CRM-view did not open when selected in menu 2014-10-16 09:32:13 +00:00
Ralf Becker
424b4c451c fix redirects in a popup and new egw_exception_redirect to be used in hooks/callbacks like for addressbook.edit to redirect to a different location 2014-10-15 14:55:08 +00:00
Hadi Nategh
639a1b6c03 Check contact duplication of addressbooks with presets
-Fix addressbook contacts added by add contact plus do not get checked for duplication
-Fix another CSP error
2014-10-13 13:33:10 +00:00
Ralf Becker
7348a62f61 use implicit nameing after type for custom templates "addressbook.edit.$type" like in InfoLog 2014-10-09 12:03:14 +00:00
Ralf Becker
c07c550e7a changing default columns for new installs to a postiv list of "type, name/organisation, bussiness address, phone and email", so adding further columns dont make them automatic enabled 2014-09-24 08:26:19 +00:00
Nathan Gray
01d1ae3dcc Fix selected categories disappear after searching. 2014-09-09 21:55:00 +00:00
Ralf Becker
c73cc6b398 fixing the fix: now cat_id=1 got not lost with a 2nd default option set in addressbook (0=None) 2014-09-09 14:11:42 +00:00
Ralf Becker
b1f0448b6d fixed advanced search was always filtering by first option of custom-fields of type select or select-* 2014-09-09 08:36:34 +00:00
Nathan Gray
806165d947 Fix up advanced search 2014-09-08 18:47:40 +00:00
Ralf Becker
88a111b2c5 fixed storing same password twice in admin makes account unusable:
caused by tabs and callbacks added multiple times and therefor passwords beforeSendToClient method was called twice causing password to be replaced with asterisks
2014-09-06 10:00:42 +00:00
Ralf Becker
62e41d434d adding room-column and change to only 2 flex-columns 2014-09-03 10:55:56 +00:00
Ralf Becker
cb50632f05 * Addressbook: no longer offering to move contacts to accounts addressbook, as we do not support that 2014-08-19 14:12:40 +00:00
Nathan Gray
0eb8854eb3 Add 'None' category option back for addressbook 2014-08-18 19:55:54 +00:00
Nathan Gray
70d85ca78f Fix addressbook CRM next/previous buttons don't update nextmatch 2014-08-05 23:27:06 +00:00
Nathan Gray
2b322c5bad Remove auto-hide of columns, it doesn't work with being able to choose columns & infinite scrolling.
Fixes photo (& other) column disappearing when switching to org view and back.
2014-07-16 14:30:25 +00:00
Nathan Gray
3ba557f4b8 Use select_all flag to export all entries, not just visible selected ones. 2014-07-07 16:47:08 +00:00
Ralf Becker
7a5b2a59b1 prevent SQL error if for what every reason an invalid org_view was set (eg. just a contact_id, instead of string starting with "org_name") 2014-06-03 09:54:53 +00:00
Ralf Becker
2b86934088 fixed not working CRM view for contacts with a picture 2014-06-02 14:36:01 +00:00
Ralf Becker
beb31eaf48 * Addressbook: fixed empty edit popup, if contact contains photo and changing of private custom-fields in extra private tab 2014-06-02 13:35:59 +00:00
Klaus Leithoff
e65d95fdee restore 46615 with fixed owner issue 2014-04-17 08:55:21 +00:00
Ralf Becker
293d6d0b1b revert r46615 as it breaks creating of new accounts 2014-04-16 14:38:55 +00:00
Klaus Leithoff
80b83b7ec4 add address from email to addressbook, split given email to extract n_family, n_given and org_name if possible; set some defaults like owner and try to set n_fn by the given content 2014-04-15 13:26:40 +00:00
Nathan Gray
d7c1b5e56f If user chooses to edit contact on double click, show infolog when viewing (instead of nothing) 2014-04-08 14:20:22 +00:00
Nathan Gray
e64f6979af Change CRM view preference to also affect default list action (double click), added 'Edit' option 2014-04-07 15:13:03 +00:00
Nathan Gray
e62c980a8f Add context menu sub-actions for CRM-View Infolog & Tracker 2014-03-25 16:53:36 +00:00
Ralf Becker
c72591f4a2 fixed new contacts had accounts addressbook selected, if user has admin rights 2014-03-24 13:23:03 +00:00
Ralf Becker
93151d84a3 fixed photo was lost after it was no longer transfered to client (to fix utf8 error in json encoding) 2014-03-21 17:12:32 +00:00
Klaus Leithoff
c0eece6234 use mail instead of felamimail (when available) for mail actions 2014-03-21 11:54:38 +00:00
Nathan Gray
f517b5786f Finish implementing addressbook CRM view tracker list 2014-03-19 20:21:05 +00:00
Ralf Becker
e476a3ed82 new deleting of accounts 2014-03-19 13:20:46 +00:00
Nathan Gray
42ee153c30 Set row_modified setting so nextmatch can filter out unchanged rows, and not send them back to the client again 2014-03-18 22:55:48 +00:00
Nathan Gray
44bddc9eb7 Get addressbook organisation list -> Infolog -> View linked Infolog entries context menu option working, with organisation list still working after. 2014-03-18 19:20:29 +00:00
Ralf Becker
a744177316 add/edit accounts via extra tab in addressbook edit dialog 2014-03-18 15:10:57 +00:00
Ralf Becker
6a55295b77 first version of new account editing via accounts tab in addressbook (not yet saving!) 2014-03-17 15:28:20 +00:00
Nathan Gray
cefb47641f Fix & re-enable showing linked infologs of multiple contacts 2014-03-13 19:04:47 +00:00
Ralf Becker
082d1813b2 using "infolog" if no preference set (default only works, after someone called preferences) 2014-03-13 08:15:41 +00:00
Nathan Gray
a4113da328 Set up addressbook CRM view to display infolog or tracker, by preference.
Tracker list filtering not yet implemented.
2014-03-12 22:42:06 +00:00
Nathan Gray
56169beb2e Instead of re-rendering CRM infolog list, just use javascript to update the filter.
Faster, and avoids destroying the addressbook etemplate2 object by loading the infolog into it.
2014-03-12 15:21:01 +00:00
Ralf Becker
a17697ffdc finished CRM view stuff, thought there is an eTemplate2 problem preventing arrows from working 2014-03-12 13:29:52 +00:00
Nathan Gray
a5fcb430ef Only load infolog list on first time.
Loading it again (in an ajax submit) will load it into addressbook.view etemplate2 object used as context for request, corrupting it.
2014-03-11 15:26:09 +00:00
Ralf Becker
30bf1aa439 get delete in CRM view working by submitting it back to server 2014-03-10 21:15:23 +00:00
Ralf Becker
416c5d3b75 always show sidebox in CRM view, as it contains the contact-data 2014-03-10 12:32:19 +00:00
Nathan Gray
7ad4ebfdea Remove nextmatch export button 2014-03-06 22:30:44 +00:00
Ralf Becker
b5c5f3e28a new CRM view, not yet completly finished but usable 2014-03-06 18:39:52 +00:00
Ralf Becker
819fdea809 let browser cache images 2014-03-06 15:10:22 +00:00
Ralf Becker
6d84dd976c * Addressbook/Admin: allow members of group(s) specified in Addressbook: Site configuration to edit contact-data of accounts without being an admin 2014-02-28 10:13:26 +00:00
Nathan Gray
bf0f3f6141 Fix Category filter option 'All' gets added each submit 2014-02-27 20:20:15 +00:00
Hadi Nategh
dc656e85fd Remove legacy actions from AB listview 2014-02-26 15:41:38 +00:00
Ralf Becker
22b4a11c7f fixed delete button in addressbook.edit was shown without rights 2014-02-13 14:07:42 +00:00
Ralf Becker
7c02cd3cd4 explicitly loading addressbook css for CRM view and moved loading of infolog javascript to its hook 2014-02-12 11:07:33 +00:00
Nathan Gray
cc628c378a Use egw_framework::message() instead of a label in template, which might stay longer than we want 2014-02-05 23:36:01 +00:00
Nathan Gray
f73943ea8d Update actions when changing between contact & org list 2014-02-03 20:13:52 +00:00
Hadi Nategh
64bfb00bd0 Fix AB advanced search Extra tab, not showing the privates cf 2014-02-03 16:19:49 +00:00
Hadi Nategh
ae555175aa Hide history tab for AB Advanced search popup 2014-02-03 13:32:34 +00:00
Hadi Nategh
0d357ee448 Merge AB search template to edit and use edit tremplate for both search and edit popup 2014-01-31 16:04:05 +00:00
Hadi Nategh
c8cd5c1c44 Remove "edit categories" item from addressbook->categories context menu 2014-01-27 15:16:32 +00:00
Ralf Becker
996f9cd2b7 workaround for value 0 always selects first option in et2_widget_selectbox 2014-01-23 15:49:07 +00:00
Ralf Becker
605ead0c59 not using an iframe, when open calendar of contact 2014-01-17 08:47:16 +00:00
Ralf Becker
db300a7ca7 fix not working calendar view context menu 2014-01-17 08:29:33 +00:00
Nathan Gray
782eb7f14c Fix filemanager context menu item opening in iframe 2014-01-16 17:23:39 +00:00
Nathan Gray
5a1fe439c5 Handle context action view infolog entries in JS, previously opened infolog list into addressbook tab 2014-01-16 15:15:50 +00:00
Hadi Nategh
2eea4e0d29 Fix translation phrase for addressbook mail action menu 2014-01-15 13:01:31 +00:00
Hadi Nategh
a1d3c7f161 Remove "prefered email address" from addressbook preferences. Additionally, add an exclusive user preference for business and private mail action checkboxes 2014-01-15 11:22:37 +00:00
Nathan Gray
ac7b5271a9 Fix context menu Infolog -> linked entries opens infolog in iframe (too small) 2014-01-14 15:15:34 +00:00
Hadi Nategh
0c2ab2ada5 Fix send mail to business or private mail from addressbook mail context menu 2014-01-13 17:40:36 +00:00
Hadi Nategh
bd505b1bf8 Add cc and bcc options to addressbook mail item in context menu 2014-01-06 10:12:51 +00:00
Hadi Nategh
70f71c09ff Shift up mail action in addressbook's context menu, just to look a bit nicer 2013-12-19 15:53:26 +00:00
Hadi Nategh
6a56bdd9fa move mail action in addressbook's context menu to app integration category 2013-12-19 14:14:50 +00:00
Hadi Nategh
78d3a5126f Show email action in addressbook's context menu 2013-12-19 10:31:44 +00:00
Nathan Gray
1740b8d9be Fix missing category value when using category tree 2013-12-05 20:38:16 +00:00
Hadi Nategh
e1bb2a32d3 Fix missing window_close() in addressbook edit popup-> delete button 2013-12-04 09:58:47 +00:00
Nathan Gray
d7a075200d - Add ajax flag in a few missed places to keep out of iframe
- Fix loading of old nextmatch_action.js
2013-11-27 00:12:11 +00:00
Hadi Nategh
1943b35303 Add \"copy\" feature for copying contact(s) to addressbook 2013-11-08 18:51:37 +00:00
Nathan Gray
855d134f10 Make sure org name is in org name options, since it can change outside original function 2013-10-21 22:18:41 +00:00
Ralf Becker
6e30816758 fixed not working download via action system: needed submit via POST request instead of Ajax, add new boolean action attribute postSubmit 2013-10-04 12:48:11 +00:00
Hadi Nategh
1c42747547 REmove "Whole query" menu item from Tracker, Timesheet and Addressbook, while et2 nm handles selection differently 2013-09-23 08:31:07 +00:00
Hadi Nategh
7481c0a23c Run addressbook by et2 2013-09-20 10:50:48 +00:00
Ralf Becker
7a0df1531d fixed distribution lists allways created in personal addressbook, not selected one 2013-09-02 13:24:21 +00:00
Ralf Becker
a05bc204e9 fix cancel button in edit 2013-08-26 07:35:42 +00:00
Hadi Nategh
2a791a2f8a fix privat address country does not preselect nation, should be analogous to business 2013-08-16 14:49:08 +00:00
Ralf Becker
63869aae9a fixed addressbook cat changes where only stored using "extra tab with cat tree", two other options with multiselect where not working 2013-07-31 08:13:20 +00:00
Ralf Becker
018eec3dfd fixed "PHP Fatal error: Unsupported operand types", if no private custom fields exist 2013-07-30 12:20:14 +00:00
Klaus Leithoff
88f866aec9 fix addressbook email popup; still todo: rightclick action 2013-07-17 14:53:24 +00:00
Ralf Becker
3060d95322 * Addressbook/Active Directory: got prefix, middle name and suffix working for AD account, file as got disabled (as well as not supported history tab) 2013-07-11 15:33:59 +00:00
Nathan Gray
d189b005df Get edit dialog name popup working in et2 2013-06-19 19:02:41 +00:00
Nathan Gray
c93b1d7080 Fix Add distribution list action opening new tab 2013-06-10 19:47:09 +00:00
Nathan Gray
25c95ce870 Avoid overlap of public & private custom fields by giving privates an ID 2013-06-03 23:10:23 +00:00