Commit Graph

1720 Commits

Author SHA1 Message Date
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
Nathan Gray
71790459b2 Fix missing template error breaking vCard export 2014-05-13 21:10:07 +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
3a004a2672 Add link to list of placeholders into app menu 2014-04-14 17:08:43 +00:00
Nathan Gray
8675c75443 All addressbook links now follow view/edit preference too 2014-04-08 17:23:38 +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
ff8c5c641a Change CRM view preference label to match new functionality 2014-04-07 16:23:23 +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
Ralf Becker
1a6ecca887 fixed size of edit popup 2014-03-19 08:04:43 +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
8bb226ba6b explicitly set custom fields as to search, if custom fields are defined, also added a couple more columns for explicitly not to search 2014-03-03 11:49:41 +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
5090a02892 fixed sql error in carddav caused by sync-collection flag interpreted as filter 2014-02-20 19:38:21 +00:00
Ralf Becker
1d1dbd252c fixed missing sorting in inital sync-collection report with empty sync-token 2014-02-20 19:26:02 +00:00
Ralf Becker
a9b6c6e9b4 * CalDAV/CardDAV: fixed support for limited sync-collection report used eg. by Marten Gajdas Android apps 2014-02-20 17:46:15 +00:00
Ralf Becker
94af139465 * CalDAV/CardDAV: entries with urls containing url-encoded chars, eg. from Google calendar, were not send to clients (missing urldecoding in multiget report) 2014-02-20 15:11:27 +00:00
Ralf Becker
e0e4dfc55a * CardDAV/Addressbook: add "None" to forced preferences of addressbooks to sync in addition to personal one 2014-02-20 13:53:05 +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
f0d7751496 removed caret from group favorites, fixed prefered favorite was not show correct initialy nor updated 2014-02-12 21:51:25 +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
Ralf Becker
43f558830c * Adressbook/CardDAV: changed (down-)scaling of images to width of 240px (was 60px) to cater for higher screen resolutions 2014-01-28 11:24:47 +00:00
Ralf Becker
ad57c7ee86 remove addressbook, calendar and infolog classes for xmlrpc, as we droped xmlrpc support 2014-01-28 08:28:20 +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
6de6114e22 remove old API browser class, apps only used content_header method with is available as html::browser_header() with identical signature 2014-01-19 09:30:33 +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
Ralf Becker
6fd7ed4b2d * CalDAV/CardDAV: only advertice sync-collection report, if we track deleted entries (history-logging enabled, not working otherwise) 2014-01-07 11:10:51 +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
bd47e10b10 Switch to framework favorites to be able to store contact view as a favorite 2013-12-06 23:13:33 +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
Nathan Gray
ab8f7885c9 Fix export with type filter 2013-11-12 18:12:07 +00:00
Ralf Becker
5f849c4b25 allow to disable navbar in placeholder display, eg. when called from mail 2013-11-12 09:28:24 +00:00
Hadi Nategh
1943b35303 Add \"copy\" feature for copying contact(s) to addressbook 2013-11-08 18:51:37 +00:00
Nathan Gray
aea4c35a90 Changes for importexport -> et2 2013-11-07 23:43:17 +00:00
Ralf Becker
32e033df6f * PostgreSQL/Addressbook: fixed SQL error when sorting by a custom field 2013-10-24 14:57:36 +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
52b4fd8654 * CardDAV/Addressbook: fixed all contacts were reported as NOT found and therefore not synchronised 2013-10-08 07:41:11 +00:00
Nathan Gray
b955b1b495 - Set type header to nextmatch-header
- Fix styling on email addresses to show ellipsis if column is too short
- Add mail to 'Open EMail addresses in external mail program' check
2013-10-05 10:13:31 +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
Ralf Becker
f8a0db06fc completly remove preferences menu from sidebox and tiled preferences index in favoir of app-sensitive entries in top-menu 2013-10-03 09:23:18 +00:00
Ralf Becker
18285429e9 * CalDAV/CardDAV: fixed not working propfind-request to single resource in calendar/addressbook collection 2013-10-01 11:38:34 +00:00
Ralf Becker
a79192cc63 fixed not found multiget-report urls where not reported (worked for calendar only before sync-report was introduced) 2013-09-25 10:27:41 +00:00
Hadi Nategh
484a2bf6fc Fix disabled favorite menu in SideMenu of Addressbook. 2013-09-24 14:19:59 +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
281dfe0fee fix sql error when deleting a user without distribution lists 2013-09-03 16:05:32 +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
55b0081103 fixed not working delete-account hook 2013-09-02 11:19:42 +00:00
Ralf Becker
32ebec4feb * Addressbook: deleting an account now also takes care of deleting or changing ownership of distribution lists (beside contacts as before) 2013-08-30 07:05:19 +00:00
Ralf Becker
db7d12af4b first take on new ACL dialog for admin 2013-08-26 18:25:43 +00:00
Ralf Becker
a05bc204e9 fix cancel button in edit 2013-08-26 07:35:42 +00:00
Ralf Becker
b6480b3fcb switched off permanent error-log 2013-08-22 16:42:22 +00:00
Ralf Becker
7535f4c9f9 * CardDAV/Addressbook/LDAP/ADS: syncing all addressbooks into one now also allows to include accounts not stored like contacts 2013-08-22 16:39:21 +00:00
Ralf Becker
aa4af55f5f * CardDAV/Addressbook/LDAP/ADS: prefix, middle name, suffix was messed up, if iOS addressbook "Display Order" preferences was set to "lastname firstname" 2013-08-22 15:06:03 +00:00
Ralf Becker
5755457b04 * Addressbook/eSync/CardDAV: fixed not working (forced) preference to display only accounts of groupmembers, causing eSync to permanently try and fail reading other accounts 2013-08-19 15:10:18 +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
Nathan Gray
cf8714293e Open preferences in preferences tab 2013-08-13 17:37:15 +00:00
Ralf Becker
2526840c2c fixed an other sql error when creating distribution lists 2013-08-06 10:18:12 +00:00
Ralf Becker
ffefc2848e * CardDAV/Addressbook/ActiveDirectory: fixes SQL error when clients tries to propfind groups/distribution lists on accounts-addressbook, also return "403 Forbidden" when he tries to create one, as they are not (yet) supported on accounts, if not stored in SQL 2013-08-06 09:14:20 +00:00
Ralf Becker
eea5de1559 an other case in which we need to filter out in-active accounts 2013-08-02 18:28:44 +00:00
Ralf Becker
afd034aca6 * CardDAV/Addressbook: fixed various issues with groups/distribution lists as supported by Apple and eMclient (groups need to be enabled in CalDAV/CardDAV preferences!) 2013-08-02 16:31:54 +00:00
Ralf Becker
1581547086 * CardDAV/Addressbook: fixed not working sync-collection report eg. by eMclient, if server-time is different from user 2013-08-02 14:41:31 +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
Ralf Becker
4223019b93 * CardDAV/ActiveDirectory/LDAP: fixed typo causing doublication in account-addressbook of eMclient by always returning all accounts in multiget report 2013-07-27 08:22:26 +00:00
Ralf Becker
bc2133054b fix indention 2013-07-23 13:44:08 +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
Klaus Leithoff
da35098e08 * Addressbook/Home: mend issue regarding the display of multiple birthdays of the same contact in the home area 2013-07-10 07:19:53 +00:00
Ralf Becker
5e153a1a48 fixed CardDAV for accounts in ADS 2013-06-29 11:41:55 +00:00
Ralf Becker
300cdbe0c3 fixed not working re-creation because missing objectclass(es) in account-addressbook 2013-06-29 11:41:02 +00:00
Ralf Becker
c55d30dd07 fixing etag for lists to 2013-06-23 08:57:21 +00:00
Ralf Becker
df2847f67d * Addressbook/CardDAV: PUT returned empty ETag, proably causing unnecessary reloads of contacts 2013-06-23 08:43:35 +00:00
Ralf Becker
3087b84d28 remove not used dn-attribute, as in ldap 2013-06-20 17:24:59 +00:00
Ralf Becker
5b8e3811ed fixed not working adding of contacts in ldap and modifying contact data of accounts in AD 2013-06-20 17:16:17 +00:00
Ralf Becker
2057a8e180 do NOT add posixAccount objectclass to contacts, it is unnecessary and has required attributes not provided by addressbook 2013-06-20 15:48:15 +00:00
Ralf Becker
025c6a4c22 need to report expired accounts as NOT active and add ability to copy shadowExpire attribute from LDAP to AD (not done by samba-tool classicupgrade!) 2013-06-20 09:54:08 +00:00
Ralf Becker
da0aa5864c switching permanent error_log off 2013-06-20 07:57:54 +00:00
Ralf Becker
618c70a45d docu update 2013-06-20 07:50:12 +00:00
Ralf Becker
fe96404533 * Addressbook/ActiveDirectory: accounts addressbook was empty, if not explicit context was set 2013-06-20 07:46:34 +00:00
Nathan Gray
d189b005df Get edit dialog name popup working in et2 2013-06-19 19:02:41 +00:00
Ralf Becker
02e4c44624 * Addressbook/LDAP: recreation of contact (eg. because of missing objectclass) failed and lead to deleted contact or account 2013-06-18 10:45:00 +00:00
Ralf Becker
341342bc39 fixed not working multiple value "select-account" or "home-accounts" (rows > 1) custom fields 2013-06-12 14:12:58 +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
Nathan Gray
0a33ad8eae Move select options for type to top level so et2 can find them 2013-06-03 22:43:03 +00:00
Ralf Becker
d328af7cff accounts addressbook incl. working updates for active directory 2013-06-01 17:55:33 +00:00
Ralf Becker
5c63214e82 contact id can be non-numeric, LDAP eg. uses UUID containing dashes and letters 2013-06-01 17:03:32 +00:00
Nathan Gray
5fc63e4fd5 Fix Export as CSV context option to not bring back the popup if you change a nextmatch filter 2013-05-29 20:51:28 +00:00
Ralf Becker
94bf204388 fixed typo causing no accounts to be displayed in accounts addressbook under ldap 2013-05-23 16:52:42 +00:00
Ralf Becker
4037993dc5 * API: full support of active directory as account storage, tested so far with Samba4 2013-05-22 17:22:20 +00:00
Ralf Becker
f8a53514be * Addressbook: allow to add a customfield to link title of addressbook 2013-05-10 08:52:06 +00:00
Nathan Gray
0917e21707 Fix case sensitive search on email when linking 2013-05-06 15:20:11 +00:00
Nathan Gray
06ab2ffcdc Implement delete import action 2013-04-29 15:32:09 +00:00
Klaus Leithoff
c51bf772c8 * Addressbook/Export: fix fatal error regarding order by for postgresql on addressbook export 2013-04-25 09:46:46 +00:00
Nathan Gray
936c51b749 Change field name translations so Export -> Import works across languages 2013-04-23 20:08:51 +00:00
Nathan Gray
4b2b4ca336 Fix context menu 'Use all' checkbox -> export had no data 2013-04-23 16:05:13 +00:00
Nathan Gray
14bbfaafe7 Only add delete_list placeholder action if user has permission 2013-04-15 15:14:36 +00:00
Nathan Gray
8b6e1d92da Correct quotes for both et & et2 2013-03-25 17:14:29 +00:00
Nathan Gray
699d215246 Adapt advanced search ajax response to work with et2 2013-03-25 16:57:50 +00:00
Nathan Gray
b42acd3b0b Get adding a distribution list working in et2 2013-03-20 23:11:54 +00:00
Nathan Gray
b13ccf631c Add {{link}} placeholder to other apps 2013-03-20 14:51:09 +00:00
Ralf Becker
cbf7abc4fb reverted (unnecessary) fix of r41893, causing editing of account addressbook data to show up empty 2013-03-14 11:01:46 +00:00
Nathan Gray
0d06c2b394 Use new function to show favorites even when viewing a contact 2013-03-12 22:58:22 +00:00
Ralf Becker
0d9de3a9bc fixed on [Save] not closing edit window 2013-03-08 07:43:05 +00:00
Nathan Gray
27a20b7864 Automagic favorites in sidebox (et2) 2013-03-06 00:04:08 +00:00
Ralf Becker
8e586c5037 * Addressbook: fixed not working call auf addressbook_ui::(view|edit) with contact_id being a uid 2013-03-01 08:25:29 +00:00