Commit Graph

2316 Commits

Author SHA1 Message Date
Ralf Becker
9d85196706 move logic of which addressbook/calendars are shared into app-handler
move app-specific settings to app-handler
2012-02-10 11:27:26 +00:00
Ralf Becker
ed2b6f99dc * Addressbook/CardDAV: fixed Apple iOS and OS X addressbook messed up phone numbers (Mobile is now mobile for both and iPhone is matched to EGroupware private cell)
also removed copy of supportedFields and using again default ones from addressbook_vcal, with Apple specific fixes in _get_handler()
2012-02-10 11:16:44 +00:00
Ralf Becker
6a8ef0cc35 first try to export distribution lists via CardDAV as vCard with "X-CALENDARSERVER-KIND:group", we might need a user-agent whitelist, as not all clients will understand that
fixed typo
fixed many issues with distribution lists as vCard groups, also adding/removing contacts from a list in web-GUI is working again
extend ctag to lists
limit groupVCard to contacts of same addressbook, as OS X and iOS only allows that and PUTs would remove contacts from other ABs, also fixed not working multiget report of lists/groups
fixed not working update of members
2012-02-10 11:11:38 +00:00
Ralf Becker
fcf6fa3aab fill displayname for contacts and task to easier identify it in autoindex 2012-02-10 11:02:01 +00:00
Ralf Becker
818735e5a2 fixed images allways get resized, because mb_substring returned 3 bytes, using cut_bytes now 2012-02-10 09:07:47 +00:00
Ralf Becker
693a819d57 setting CardDAV:max-image-size on addressbook collections, so iOS scales it down before sending 2012-02-10 09:06:25 +00:00
Ralf Becker
83653c362f * CalDAV/CardDAV: /addressbook-accounts/ and PROPPATCH for addressbooks/calendars for every namespace but CalDAV, CardDAV or Calendarserver (displayname or *-describtion are ok) 2012-02-10 08:58:08 +00:00
Ralf Becker
a8ec5792a6 * eSync/Addressbook: HTC Desire needs at least one telefon number, otherwise sync of contact fails without error, we now return at least an empty work phone 2012-02-09 13:29:23 +00:00
Ralf Becker
396c4ed30e * eSync/Addressbook: for all-in-one addressbook only use add-default, if it is contained in addressbooks selected, otherwise use personal addressbook 2012-02-08 15:27:42 +00:00
Nathan Gray
38076211cc Make sure letter filter doesn't persist 2012-02-02 15:01:38 +00:00
Nathan Gray
3b17d0dde0 Include recurring events in previous / next event for contact 2012-01-23 15:34:12 +00:00
Ralf Becker
0609f0a430 * CardDAV: fixed sometimes not working creation of new contacts from the device, if accounts are stored in LDAP
not sure why I used $this->bo->account_repository != "ldap", it makes no sense, as we specify the column explicitly, no idea if CardDAV works for an addressbook in LDAP, but now it works for accounts in LDAP too
2012-01-20 06:46:26 +00:00
Nathan Gray
9e414fe68d Fix {{link/[appname]}} placeholder 2012-01-18 16:06:53 +00:00
Ralf Becker
ff48c36d5f * Addressbook: preference to open EMail addresses in external mail program, even if user has access to EMail app 2012-01-13 05:25:43 +00:00
Ralf Becker
ecd6e7ecd1 * Addressbook: show calendar of contact(s) as list-view with date-filter "all" via context menu
r37667: ability to open nm_action=location in a given targetapp tab, plus documentation
2012-01-09 22:09:11 +00:00
Nathan Gray
bc24fbc43f Add mergeprint tag for links to a specified application: links/appname 2012-01-09 16:23:02 +00:00
Klaus Leithoff
8b9bd33ad4 addressbook/esync: make sure private is set (with 0 or 1); as an contact_private set to NULL within the database is invisible to the users 2012-01-05 12:24:04 +00:00
Klaus Leithoff
15be419929 * addressbook: distributionlists, allow to add any seen contact to an available (and editable) distributionlist 2011-12-28 10:56:47 +00:00
Nathan Gray
7609e413bd Add warnings 2011-12-20 17:02:49 +00:00
Philip Herbert
5d9c696ffa fix bug regarding changed owner id for private/own addressbook, as private addressbook holds a special id in activesync, resulting in failed sync of private addressbook entrys 2011-12-20 08:33:21 +00:00
Klaus Leithoff
28c42cc78d control the availabilityof the stylite app, before trying to offer the mail VCard feature, because stylite.links:// is used/needed here 2011-12-16 11:26:01 +00:00
Nathan Gray
7bbba04979 Set currentapp to addressbook so existing categories are properly detected 2011-12-12 18:12:15 +00:00
Ralf Becker
f84f2c779b * Addressbook: ablity to mail (multiple) vCard via context menu 2011-11-29 12:09:29 +00:00
Ralf Becker
176e81cd1c * ImportExport: allow to select "Old fixed definition" in preference for nextmatch export (disk icon) 2011-11-21 10:10:46 +00:00
Ralf Becker
924452030b fix for bug #3071: r37248 - new function makes problems in listview/unable to hide field 2011-11-20 09:15:41 +00:00
Ralf Becker
9b7f8ddc65 * Addressbook: filter by country or sort by post code of home address 2011-11-11 16:57:23 +00:00
Ralf Becker
296aefe51d skip "unknown xml" warning in addressbook-multiget report 2011-11-10 06:58:30 +00:00
Ralf Becker
f303028f2f * eSync: fix for not updated calender, contact, task on device if only description or note was changed or deleted 2011-11-09 13:37:37 +00:00
Klaus Leithoff
4b725d21c8 * addressbook: current contact type is now used on creating new addressbook entrys (except a explizit type is requested via GET) 2011-11-09 09:07:45 +00:00
Ralf Becker
80510b5412 * CalDAV/CardDAV: major rework fixing lots of bugs/incompatibilites and adding new features: eg. autocompletion of accounts and resources under iCal, searchable addressbook gateway for all addressbooks available
merged changes from Trunk up to r37094 from addressbook, calendar, infolog, phpgwapi, egw-pear and resources (only CalDAV/CardDAV related stuff of cause)
2011-11-06 09:40:33 +00:00
Ralf Becker
e99def399c quietened permanent error_log 2011-10-28 16:15:27 +00:00
Nathan Gray
6da51ecbdb * Add {{links}}, {{attachments}}, {{links_attachments}} placeholders for merging 2011-10-27 16:21:15 +00:00
Nathan Gray
1733081d37 Process birthday when importing 2011-10-27 16:18:56 +00:00
Ralf Becker
2d8c0abfb6 * eSync/Addressbook: for all-in-one addressbook, add addressbook name as category; keep from AS not supported fields unchanged (eg. custom fields) 2011-10-19 15:51:50 +00:00
Ralf Becker
b61eee73eb renamed "title" to en:"job title" or de:"Position" and "role" to en:"Occupation" or de:"Beruf" to clearify the meaning and consolidate it with naming in other PIM applications like Outlook or OS X Addressbook 2011-10-19 08:39:33 +00:00
Klaus Leithoff
d962490d31 addressbook/export: fix for headerline gets repeated multiple times, when export is set to no for addressbook, but user is exemted from limitations 2011-10-05 12:09:52 +00:00
Klaus Leithoff
10c10c32f5 * addressbook/export: fix problem of failed export for non admins, when no export-limit is set 2011-10-05 10:33:38 +00:00
Ralf Becker
4aa7788581 * CardDAV/GroupDAV/Addressbook: do NOT check for api version, as it caused accounts created during setup to have no carddav_name and therefore fail in CardDAV/GroupDAV (shown as "/addressbook/" in collection list!) 2011-09-28 09:49:11 +00:00
Klaus Leithoff
eb0d6b31bd * addressbook/csv-import: fix/enable update of account - userdata when accounts are stored with ldap. If the condition is on account_id, we supplement the condition with owner=0 (this is needed to correctly determine the storage engine (ldap/sql) for accounts); we strongly recomment NOT to try to use this for adding accounts: use admin import definitions for that task 2011-09-19 10:17:15 +00:00
Klaus Leithoff
55dbf20c33 * calendar/addressbook/importexport/merge-print: introduction of a static function to fetch the export limit, and normalize the possible output: bo_merge::getExportLimit; apply new function to bo_mergen, nextmatch_widget, addressbook, calendar and importexport; introduction of an calendar export limit; introduction of hook to provide appspecific export_limit 2011-09-16 13:23:15 +00:00
Ralf Becker
24c3797dba * Addressbook/LDAP: fixed country handling for mozillaOrgPerson schema, which has two distinct attributes for 2-letter code and arbitrary name 2011-09-13 10:36:30 +00:00
Ralf Becker
11136b6e5b ensure accounts and group addressbooks are never private! 2011-09-09 06:36:51 +00:00
Klaus Leithoff
a3b17caa5f * impportexport/document merge: better control of exportlimits, you are now able to exempt groups or users from any exportlimits set (backport of nathans work, with enhancements from ralf) 2011-09-01 14:32:26 +00:00
Klaus Leithoff
92897d7c15 have edit.xet renewed; handle onclick event in addressbook view mode for name popup for IE9 2011-09-01 14:29:06 +00:00
Nathan Gray
a7356fa94f Handle defined but empty private field when importing 2011-08-10 15:58:36 +00:00
Ralf Becker
5add35eb94 * eSync/Addressbook: new preference to force sorting on device, eg. for use with Windows Mobile, which use "own sorting" set in addressbook otherwise 2011-08-10 14:25:23 +00:00
Ralf Becker
71b4cf4e35 fixed catchable fatal error ($old hast to be array or null) and avoid reading old contact twice 2011-08-10 13:04:17 +00:00
Ralf Becker
bd10a5effd * eSync/Addressbook: added mapping of private cellphone to home2phone, other phone to business2phonenumber and changed role to title in mapping of jobtitle (role is no longer mapped, because no outlook equivalent, egw prefix is mapped to ol title!) 2011-08-09 10:08:05 +00:00
Nathan Gray
17e8c268ba Add ability to specify that imported contacts go to importer's personal addressbook 2011-08-08 15:14:38 +00:00
Nathan Gray
1094fcba11 - Remove action column from email select rows
- Get action button & select all button working for email popup
2011-07-28 15:45:28 +00:00
Klaus Leithoff
3be162cd2a fix by Ralf for bug, that prevented the update of accounts, if your accountselection method is groupmembers 2011-07-18 10:09:47 +00:00
Nathan Gray
69b0ceed0c Consolidating & simplifying translation phrases 2011-07-11 17:01:55 +00:00
Ralf Becker
b093cd8720 missing $contact_app parameter, stalling grants 2011-06-27 15:30:56 +00:00
Ralf Becker
73486cc047 file_access_user implementation for addressbook 2011-06-26 13:55:25 +00:00
Oscar Manuel Gómez Senovilla
164871ec02 Update Czech translation for trunk. Tracker #2886 2011-06-23 13:53:19 +00:00
Nathan Gray
039e351d8b 'Disable' Export & merge spreadsheet in sidebox for addressbook view 2011-06-22 18:14:52 +00:00
Nathan Gray
275a1d3f27 Change category list links 2011-06-21 21:14:51 +00:00
Ralf Becker
40dd19fd3e * CardDAV/GroupDAV: handle deleted contacts, as not existing (404 Not Found) 2011-06-19 09:01:15 +00:00
Ralf Becker
92ddeca1fb - fail with error message, if user trys to export more entries then allowed (previously entries were silently cut down to allowed number, even 0!)
- fixed path of document-actions if more then one directory with subdirectories were given
2011-06-16 11:36:15 +00:00
Philip Herbert
3d1cbd3f40 removed accidently commited test-change 2011-06-14 16:07:44 +00:00
Philip Herbert
1a51ac86f7 merged latest changes from Andreas B. with the following changes:
- adapted searchquery so that parameters are equal for gal, mailbox and documentlibrary searches
 - Fix SAMSUNG Android 2.3.3 client compose_Saveinsentitems breaking
 - Corrected searchquery for GAL so that it includes the search range for backends that filter range already during query 
 - Take correct exporter to find changecount for optionfolder 
 - Fix for handling Sync requests where same item gets read and removed.
2011-06-14 15:33:11 +00:00
Ralf Becker
1774e5674f support for multiple space or comma separated download dirs 2011-06-14 10:48:15 +00:00
Ralf Becker
220af27f60 Create template directory and set default document_dir preference of addressbook, calendar, infolog, tracker, timesheet and projectmanager 2011-06-11 11:57:51 +00:00
Ralf Becker
fcfbd038bc some fixes for the English translation, from our Suomi resident here as Stylite 2011-06-10 06:19:36 +00:00
Ralf Becker
d12475ec9e some fixes for the English translation, from our Suomi resident here as Stylite 2011-06-09 06:57:25 +00:00
Ralf Becker
9dfdabe1a3 some fixes for the English translation, mostly correcting case, from our Suomi resident here as Stylite 2011-06-07 06:29:49 +00:00
Nathan Gray
22426b6bd6 If ordering contacts by a numeric field (last modified), apply letter filter to org name instead of ordered field 2011-06-06 16:41:17 +00:00
Nathan Gray
7e05b0dff2 Avoid javascript error if edit popup is read-only 2011-06-02 20:05:40 +00:00
Nathan Gray
596f252eb7 Patch from Bjorn Padding to silence JS error when addressbook is in LDAP 2011-06-02 20:01:25 +00:00
Ralf Becker
a6784aefbc calling the global action-object-manager 2011-06-02 16:57:33 +00:00
Nathan Gray
c81bd1a291 Change default charset from utf-8 to user's preferred charset 2011-05-24 15:57:16 +00:00
Nathan Gray
cae8752274 Make default import definitions available only to admins 2011-05-24 15:40:22 +00:00
Nathan Gray
4f3dc53cb6 Make addressbook_merge respect addressbook's extra export limit 2011-05-20 17:50:51 +00:00
Nathan Gray
0eeb67f90a Respect addressbook's extra export limit 2011-05-20 17:18:49 +00:00
Klaus Leithoff
957b43afd4 add forgoten return to save_history 2011-05-17 08:02:29 +00:00
Nathan Gray
450b380de1 Use static convert from importexport to handle human values, custom fields 2011-05-12 18:01:34 +00:00
Ralf Becker
a3805293b2 name Z-Push based ActiveSync protocoll support in EGroupware "eSync" 2011-05-07 16:52:48 +00:00
Ralf Becker
848cde1489 upper check-all button also needs to call egw_objectManager.toggleAllSelected() 2011-05-06 13:28:07 +00:00
Nathan Gray
8b4728ad4a Allow documents in dirs other than user's preference dir by passing full path 2011-05-05 21:41:00 +00:00
Ralf Becker
1e8de99ed7 Move initialisation for egw_actions stuff into static method of nextmatch_widget, it get called now from:
- etemplate::show_grid() 
- addressbook_ui::view() to load JS stuff before header get generated
2011-05-02 13:34:59 +00:00
Ralf Becker
8247d55fc1 fixed missing space when adding multiple classes, causing context menu not recognising readonly, if also not deletable 2011-04-28 09:12:30 +00:00
Ralf Becker
594fe78d09 enable via a class and no more need to set enabled='javascript:nm...' for enableClass or disableClass 2011-04-27 16:59:12 +00:00
Ralf Becker
633b3da6b4 disable filemanager link for mulitple selected contacts 2011-04-27 10:14:32 +00:00
Ralf Becker
fb5ea143be - returning checked state of all checkboxes, not only select_all, in $content[nm][checkboxes]
- $content[nm][select_all] is now only reference to $content[nm][checkboxes][select_all]
- checkboxes need no default onExecute, therefore removed nm_select_all method
- improved documentation for action stuff in nextmatch widget
- added egwAction.getActionsByAttr(_attr, _val) method returning all actions with a given attribute and value
2011-04-27 07:49:46 +00:00
Ralf Becker
7869bd59b0 removed not longer necessary double quoting (from time it was a string in a function) 2011-04-26 16:37:30 +00:00
Ralf Becker
7d02a952f6 - move all static javascript code to app.js file
- fixed "add appointment" to work in org-views by submitting to server to resolve org with contact id's and custom js action prefixing each id with a "c"
- improved "add infolog" to only submit for org-views to server and otherwise save that roundtrip by using a custom ja action
2011-04-26 16:22:10 +00:00
Ralf Becker
98a2731116 - fixed not working add or remove category method from context menu
- disabling actions not available, because of missing rights
- trying to disable "remove from distribution list" and "delete distribution list", when no list is selected
  --> not yet working
2011-04-25 14:13:40 +00:00
Ralf Becker
e474b0f0d4 - insert in document action:
+ one submenu with default document (if set) on top
  + if more then 9 documents, show them in submenus by mime type
- added copy address as second point to add submenu, beside new
- icons for move to addressbook
- fixed icons for org views
--> addressbook context menu should now be fully functional - let me know if not ;-)
2011-04-25 11:30:37 +00:00
Ralf Becker
dea01bdb8b added missing scrollbar, if history is to long to fit 2011-04-24 11:57:03 +00:00
Ralf Becker
dca785709f fixing the fix ... (db-name is in key, not value) 2011-04-21 15:05:10 +00:00
Ralf Becker
53400c27f0 * PostgreSQL/Addressbook: fixed SQL error when listing account, groups or querying birthdays 2011-04-21 14:31:10 +00:00
Ralf Becker
8d22f87057 fixed not working edit of contacts 2011-04-19 15:11:51 +00:00
Ralf Becker
9859a038af - fixed not readonly custom fields, give all tabs equal height and adjusted height of phone numbers
- removed custom field specific history log code, as it's handled now by historylog-widget and bo_tracking
2011-04-19 15:03:58 +00:00
Ralf Becker
cabcd99149 fixed not working insert in document 2011-04-18 11:56:52 +00:00
Ralf Becker
342799a86a - further work on addressbook context menu, still not fully functional!
- moved a few more common phrases into API
2011-04-17 21:25:01 +00:00
Ralf Becker
fe5202c7a2 context menu for addressbook, please note: not everything is fully functional yet 2011-04-17 14:10:05 +00:00
Ralf Becker
72ac7937de * Addressbook/PostgreSQL: fixed SQL error when checking "use whole query" 2011-04-15 06:46:51 +00:00
Ralf Becker
a52f9ccc4d * Addressbook/PostgreSQL: lettersearch in organisation-view allways returned empty 2011-04-11 16:33:00 +00:00
Ralf Becker
3915fb6f03 * SyncML/Calendar/PostgreSQL: fixed SQL error when searching participants (SELECT DISTINCT requires ORDER-BY-expressions to be in SELECT-list) 2011-04-11 12:07:30 +00:00
Ralf Becker
4c24ac26b2 * Addressbook: lettersearch was not working for addressbooks in LDAP if PostgreSQL database was used
wrong parsing of sql query to construct LDAP query
2011-04-10 15:31:06 +00:00