Commit Graph

347 Commits

Author SHA1 Message Date
Nathan Gray
8d93aac83f Use opener.egw_refresh() instead of redirecting to reload 2012-11-08 21:19:57 +00:00
Ralf Becker
c733797fe0 for new contacts created eg. through eMail app, check email attribute first, before checking for other less significant attributes 2012-10-24 14:22:24 +00:00
Ralf Becker
97781b727d quiten permanent error_log in doublicate check aka addressbook_ui::ajax_check_values() 2012-10-24 10:18:13 +00:00
Ralf Becker
8139be67cb * Addressbook: call doublicate check when creating a new contact from eMail 2012-10-24 10:14:09 +00:00
Nathan Gray
cdeff90e8c Remove outdated CSV export charset preference - Import/Export app is used now 2012-10-16 19:33:06 +00:00
Nathan Gray
fc8a139f23 Add 'None' category option to context menu for all apps using nextmatch::category_action() 2012-10-15 17:57:58 +00:00
Ralf Becker
c50a83a9a4 * Addressbook: doublicate check while adding/editing contacts, based on email or match of 2 out of name, first name, organisation 2012-09-06 12:26:11 +00:00
Nathan Gray
70bc8469a1 et2 compatability 2012-07-24 23:49:12 +00:00
Ralf Becker
ab1fdb0617 * Addressbook: fixed error when adding a new organisation member for organisation(department)s containing a comma 2012-07-17 12:15:10 +00:00
Klaus Leithoff
57be9157d5 * addressbook/importexport: if there are no export csv definitions for a given user, do not show the csv export option in context menu 2012-05-29 13:39:44 +00:00
Ralf Becker
3d70c12a6a correctly disable change_org, if no organisation set 2012-05-15 16:52:25 +00:00
Ralf Becker
feb64d5b16 * Addressbook: fixed not working changing of organisation members, also place this feature more prominent beside buttons 2012-05-15 15:52:11 +00:00
Nathan Gray
7810068ed0 Fix SQL error when exporting sorted by contact_id 2012-05-14 18:00:19 +00:00
Nathan Gray
065fd1a772 Point account links to addressbook view 2012-05-03 15:23:30 +00:00
Ralf Becker
cb8940256c do NOT store state in prefs, if csv_export is set 2012-03-29 12:59:22 +00:00
Ralf Becker
e03b8471e9 * Admin/Addressbook: do NOT mark accounts as deleted, as accounts do NOT know that state, always deleted them and allow to cleanup already marked as deleted accounts in addressbook 2012-03-07 12:05:02 +00:00
Nathan Gray
d67191841b Change addressbook Export CSV context menu option to use importexport 2012-02-27 16:06:10 +00:00
Ralf Becker
eb440fe4d3 * Addressbook: disable custom field tabs, if contact is stored in LDAP, which does not support CFs 2012-02-17 15:00:51 +00:00
Ralf Becker
f8d2a88e41 * Addressbook: use vCard version 3 when exporting via context menu 2012-02-10 20:32:45 +00:00
Nathan Gray
8018a0f243 Make sure letter filter doesn't persist 2012-02-01 20:34:32 +00:00
Ralf Becker
b7babf5079 open calendar of contacts in listview with date-filter "all" and for jdots in calendar tab (not addressbook) 2012-01-07 23:35:17 +00:00
Ralf Becker
f71782a8e0 * Addressbook: show calendar of contact(s) via context menu 2012-01-05 04:10:54 +00:00
Klaus Leithoff
d50d0f3d0a * addressbook: distributionlists, allow to add any seen contact to an available (and editable) distributionlist 2011-12-28 10:55:24 +00:00
Klaus Leithoff
84386ade01 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:23:55 +00:00
Ralf Becker
86577fa44e * Addressbook: ablity to mail (multiple) vCard via context menu 2011-11-29 12:07:11 +00:00
Ralf Becker
8a1bb0a89e fix for bug #3071: r37248 - new function makes problems in listview/unable to hide field 2011-11-20 09:14:16 +00:00
Ralf Becker
bab120d11b * Addressbook: filter by country or sort by post code of home address 2011-11-11 16:56:08 +00:00
Klaus Leithoff
5c12f98c94 * addressbook: current contact type is now used on creating new addressbook entrys (except a explizit type is requested via GET) 2011-11-09 09:06:27 +00:00
Klaus Leithoff
2d494997ab rework of bo_merge::getExportLimit, apply to etemplate, importexport, addressbook, calendar 2011-09-16 13:03:46 +00:00
Klaus Leithoff
f616b34f58 API: introduce register_single_app_hook to be able to add or update one hook for an required app. register added/updated hooks with ->location; calendar and addressbook are using this to insert export_limit hook if not available. use app hook to fetch app specific export limit with import_export side_menu additions too 2011-09-15 16:53:20 +00:00
Klaus Leithoff
fc3fc728a4 register_hooks, without hook array, does not reregister all app hooks, so use register_all_hooks instead 2011-09-15 15:03:25 +00:00
Klaus Leithoff
d9905d3fb4 calendar/addressbook/API: introduce hook to fetch the export_limit to be applied for an app; introduce method to test if a specific hook exists for an application; fetch the export_limit via hook where appropriate 2011-09-15 14:46:56 +00:00
Klaus Leithoff
1cc3692bfd adapting missed export_limit_excepted processing to static bo_merge::is_export_limit_excepted 2011-08-30 14:02:00 +00:00
Ralf Becker
d6b70f4578 using bo_merge::is_exportlimit_excepted() which takes care of not longer serialized egw_info/server values 2011-08-29 12:20:16 +00:00
Klaus Leithoff
c86a85636a silence some export-limits warnings 2011-08-29 11:33:10 +00:00
Ralf Becker
389486793d - config is now cached on instance level
- arrays in $GLOBALS[egw_info][server] are now automatically serialized and unserialized
- new static method to check if user is export-limit excepted
--> saves to query it on each request (for non-phpgwapi, which was already cached in the session)
2011-08-26 13:50:20 +00:00
Nathan Gray
0264b70a0b Silence warning when export exception is not set 2011-08-22 14:20:44 +00:00
Nathan Gray
16bafa78b8 Implement export restriction exception for given users/groups in apps 2011-08-17 15:38:56 +00:00
Nathan Gray
21cc152386 Get action button & select all button working for email popup 2011-07-12 14:36:59 +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
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
Ralf Becker
1774e5674f support for multiple space or comma separated download dirs 2011-06-14 10:48:15 +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
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
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
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
c443126893 make sure ca(rd|l)dav_name never get copied 2011-04-07 07:28:46 +00:00
Klaus Leithoff
b7304feca0 * addressbook: enable Advanced Search for OrgView 2011-03-30 13:31:09 +00:00
Klaus Leithoff
a52092cf33 fix for searchletter behavior when searching by searchletter of the order-criteria contact_id AND having custom fields 2011-03-29 09:43:37 +00:00
Nathan Gray
017d70c186 Remove double country option from Site configuration copy fields 2011-03-07 18:32:20 +00:00
Nathan Gray
711ffd4fdb Set country name too, so address format works 2011-03-07 17:27:53 +00:00
Nathan Gray
97523a99f3 Fix default country from preferences, use country code 2011-03-07 17:25:54 +00:00
Nathan Gray
591bc464c1 Add preference to use import/export definition for exporting from nextmatch 2011-02-28 18:10:43 +00:00
Nathan Gray
7a9b365d2b Add some missing historylog widgets 2011-02-18 18:28:11 +00:00
Nathan Gray
0a71419124 Prevent double countries in address view 2011-02-17 20:00:54 +00:00
Ralf Becker
f3ba8e0a69 calendar icon for addressbook.index to add an appointment for a contact 2011-02-15 11:38:20 +00:00
Nathan Gray
6a9d8f1b3b Add additional column 'Addressbook' 2011-02-04 16:19:38 +00:00
Klaus Leithoff
fa065bb3c9 * addressbook: check if typefilter is valid (type available), if not remove it 2011-01-14 12:01:58 +00:00
Klaus Leithoff
fc6a432ce7 * adressbook: fix for Stylite Tracker bug#1152; Links for Addressbook where not shown anymore 2011-01-13 12:09:06 +00:00
Klaus Leithoff
6549d3e463 * addressbook: fix for attempt to remove non existing link; happens when addressbook read returns nothing, that may be caused by trying to merge an addressbook-entry with nonexisting customfields array 2011-01-06 14:13:52 +00:00
Klaus Leithoff
7ffdb2f0f4 filter @ from n_fn when trying to add the email via addressbook.email dialog 2010-12-07 13:57:16 +00:00
Klaus Leithoff
23c02699a8 remove invalid -at- when occurring in full name, when adding address to email 2010-12-06 15:02:56 +00:00
Ralf Becker
44d59931a2 moved private_addressbook attribute from addresbook_ui to addressbook_bo 2010-12-02 13:00:01 +00:00
Klaus Leithoff
4ffe2fc6e0 handle whitespace in emailaddresses when adding distributionlists to email-compose window 2010-11-25 13:38:38 +00:00
Nathan Gray
ece55ed97a Fix delete button so users can delete their personal contacts 2010-11-23 21:28:58 +00:00
Nathan Gray
98df477a23 Include infolog js file for multi-infolog actions 2010-11-22 22:45:55 +00:00
Nathan Gray
9726db1eaa *Users can now see and restore their 'deleted' but held contacts, if deletion prevention is turned on. There is now a config setting to allow users to purge their own 'deleted' contacts. 2010-11-22 17:10:11 +00:00
Nathan Gray
73c445a694 Fixes to special export category columns:
- Sub-categories are properly detected, and the main category added if needed
- Sub-categories are listed as the path (Sub/Sub-Sub/Level 3) not just their name
2010-11-19 18:35:37 +00:00
Nathan Gray
1791ab3a05 Fix for blank country in history 2010-11-15 16:29:31 +00:00
Ralf Becker
76038568fc disable history log tab, if it is not applicable (LDAP or new entries) 2010-11-13 09:10:11 +00:00
Ralf Becker
3f137a1f64 switching new id column off by default 2010-11-10 08:30:47 +00:00
Ralf Becker
14621383d6 * scaling now addressbook images uploaded via CardDAV or SyncML to 60 pixel width like already done for web GUI 2010-11-04 20:40:33 +00:00
Nathan Gray
d261f92a75 * Fix for Addressbook History NOT showing old or new value for some custom fields (Stylite #8230) 2010-10-14 15:08:05 +00:00
Ralf Becker
93d34b8557 - fix for egw.org bug #2729: extended search for recipients filtered by categories does not work
- cancel button in advanced search, cancels now the advanced search and not just closes the window
2010-10-12 14:01:36 +00:00
Klaus Leithoff
e840850db2 feature to show contact_id in list and editview; ability to sort by contact_id, ability to search for contact_id (or parts of it), so beware if you search for a contact by id, you may find more than one, since the number you search for may be part of the content of more than one field and contacts, as numbers can occur also in eg.: phonenumber, roomnumber, ZIP-Code, ... 2010-09-29 10:38:44 +00:00
Nathan Gray
5524c3573c Use the two letter ISO country code, or allow user to use a free text country field (custom) to preserve syncing 2010-09-27 23:02:32 +00:00
Nathan Gray
d7168805c9 When deleting but keeping contacts, hold on to links as well so they can be restored if contact is restored. 2010-09-27 16:39:54 +00:00
Nathan Gray
fa3b31cee6 Add action to undelete selected addresses. Only visible when viewing deleted addresses. 2010-09-23 21:55:06 +00:00
Klaus Leithoff
bf83f9597c fix for bug #8178(Stylite) default Addressbook preference is not used, when addressbook-value is not to be copied 2010-09-02 11:26:49 +00:00
Ralf Becker
657ce8683f moved default fields for copying to addressbook_ui::$copy_fields AND using that default also if nothing is configured 2010-08-30 10:21:23 +00:00
Nathan Gray
989011fe69 Add site configuration setting for which fields to copy when copying an address. (egw.stylite.de bug #8168) 2010-08-25 16:47:25 +00:00
Ralf Becker
88ebb437c2 methods to set or get all body tags or javascript files, replacing direct access to variables of old javascript class 2010-06-15 16:08:10 +00:00
Nathan Gray
8d01c5b574 Apply patch to fix PostgreSQL error from Petr Bravenec 2010-05-12 14:37:36 +00:00
Nathan Gray
c87e751c76 Disable history logging for accounts when the backend is LDAP because it was showing changes for all entries instead of the current entry 2010-04-16 16:06:37 +00:00
Klaus Leithoff
9ea63f1cbb only try to read calendar entrys, if there are ids/dates 2010-04-16 10:28:29 +00:00
Nathan Gray
b69a151568 Change addressbook_so to extend so_sql_cf 2010-04-08 22:42:25 +00:00
Klaus Leithoff
2595f62573 changing the condition for n_fn adaption. change of given name and family name seems not to be sufficient 2010-03-08 11:14:49 +00:00
Jörg Lehrke
d397dcded2 Fix n_fn update issue 2010-03-05 08:28:25 +00:00
Klaus Leithoff
30b683cf5a fixing of an orgview bug: orgview was extremly sticky, after you selected an org member for e.g. infolog view 2010-03-01 10:22:43 +00:00
Klaus Leithoff
d2d64a73fe get rid of comma in full-emailadresses, as imap_rfc_address_list assumes a new address to come after comma 2010-02-17 12:03:37 +00:00
Nathan Gray
fb50bee888 Log history of custom fields also 2010-02-12 16:47:15 +00:00
Nathan Gray
0db5355347 Add history logging to addressbook 2010-02-08 17:53:47 +00:00
Ralf Becker
936c636ffd display upload failed (because post_max_size of webserver exceeded) message from etemplate, could be nicer but way better then before 2010-02-05 03:34:17 +00:00
Ralf Becker
39b50631bd fixed typo in english phrase 2010-01-11 23:14:28 +00:00
Nathan Gray
08b7ab173e Implement new link hook view_list, to be able to be taken to a list of entries 2009-12-08 21:27:56 +00:00
Ralf Becker
7f176742ee replaced some more API calls with static calls 2009-11-28 11:56:53 +00:00
Ralf Becker
0e25113bb0 unsetting etag too when copying contacts to fix optimistic locking error after 2. apply 2009-11-28 11:43:10 +00:00
Christian Binder
4cc1862668 use central method in categories class to check for categorie permissions, also respect category permissions in addressbook list 2009-11-26 08:32:18 +00:00
Christian Binder
bd3bdae734 fixed again wrong $this->owner to $this->user 2009-11-20 10:37:11 +00:00
Christian Binder
2cba91f6bf respect category permissions on contact view, remove all categories on contact copy, fixed typo 2009-11-20 08:49:39 +00:00
Christian Binder
509c20a625 just fixed some typos 2009-11-13 08:01:28 +00:00
Christian Binder
8e6f54f9de new addressbook admin function to cleanup addressbook fields on all contacts - useful if synchronisatioin creates duplicates 2009-11-11 08:44:51 +00:00
Klaus Leithoff
3ea7a80876 show advanced search/add AND Typeselection if you have more than one addressbooktypes. If you have only one type, use this one as filter not 'n' 2009-11-09 10:15:18 +00:00
Ralf Becker
6989d59ba6 fixed no or only partial export of custom fields via nextmatch csv export 2009-10-30 11:18:47 +00:00
Klaus Leithoff
96e8650e1c fix for not displayed last/next Date in Listview 2009-10-15 15:00:49 +00:00
Stefan Becker
8ae115dbb5 added scurity checks before delete selected or distribution list entry with the action menu on the button of the page 2009-10-01 13:04:54 +00:00
Klaus Leithoff
e1ae046c49 added the possibility to show notes in addressbook list. 2009-09-22 15:17:38 +00:00
Klaus Leithoff
2efaf05803 if there is an & within org_name, org_unit and such, the add to org will not work, as the GET Parameter gets splitted by &; ADDITIONAL: if there is any export limit set, pass it on to the nextmatch, to be evaluated by the export 2009-07-20 12:11:05 +00:00
Ralf Becker
947e09e02f "fix for bug: checking \"whole query\" sets number of rows to -1" 2009-07-18 15:17:41 +00:00
Ralf Becker
fc3cb9a798 - moved detection of implemented mime types for merge print to
(static) addressbook_merge::is_implemented($mimetype,$extension)
- documented syntax for custom fields
- some more mime types
2009-07-04 10:50:19 +00:00
Ralf Becker
4f418e8766 "fix for email addressbook popup: going to next page, readds already added email again
--> caused by using old global var in addressbook code, which is now a static var of etemplate object"
2009-06-10 08:55:51 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
88d92e78f9 "- fix for bug #2097: Addressbook bug when filemanager is disabled
- fixed not working export limit"
2009-05-30 07:39:58 +00:00
Ralf Becker
0220e3a99a - added filemanager icon to index
- named tabs in edit 'tabs'
2009-05-11 06:47:38 +00:00
Ralf Becker
4634465bb8 addressbook maintenance: set full name and file as in contacts of all
users
2009-05-09 07:58:16 +00:00
Ralf Becker
eb7e801074 - moved get_addressbooks method from ui to bo
- fixed not removed '()' if org-name is empty
2009-05-02 09:37:19 +00:00
Klaus Leithoff
687f6b0a16 fixed bug with the multiple category adding (no category select dialog appeared) 2008-11-28 12:24:02 +00:00
Ralf Becker
5e0cbfb49e "fix for bug #1355: Addressbook view does not display link if an url didn't start with http:// or www" 2008-11-08 09:09:40 +00:00
Ralf Becker
f22de2cc36 "get_rows should use all (readable) distribution lists, not only the ones the user has edit right for, thanks to Lluis Faja for noticing" 2008-11-02 07:10:40 +00:00
Ralf Becker
00065b8247 fixed multiple bugs with addressbook types:
- bug #1772: custom fields for single addressbook types show in all
- removed template warning, if no template was selected
- showing type icon if available
- added "all" to type selection
- removed some weird doublicate code
2008-10-20 19:35:18 +00:00
Ralf Becker
1709fdf2ae fix for bug #1715: Create infolog for several addresses fails
This was caused by the (only) clientside code, which could not evaluate
the whole query. It's now done on serverside, thought there's still a
limit of the number of id's transfered in the url.
2008-10-20 09:51:38 +00:00
Ralf Becker
273bd722e2 fix for bug #1739: config for CSV export for non-admins is not working.
Reworked it not in the following way:
- numerical limit or total disabling (setting "no"), are only valid for
  non-admins
- addressbook has it's own value, but uses now the global one, if no
  addressbook specific limit is set
2008-10-16 11:17:49 +00:00
Ralf Becker
db52734dd1 default format for fileas 2008-10-10 11:25:35 +00:00
Ralf Becker
2c1eec5832 uiinfolog --> infolog_ui 2008-10-07 13:04:49 +00:00
Ralf Becker
d25b648258 "feature request from Frank Becker, make AND the first and theirefore default option in extended search" 2008-10-05 06:16:13 +00:00
Ralf Becker
f755c12365 "fixed problem reported on the german list: copied address contains the original uid" 2008-09-11 10:48:13 +00:00
Klaus Leithoff
e5f1bc9a24 bugfix for missing search/cancel buttons in advanced search dialog 2008-08-26 10:40:20 +00:00
Ralf Becker
48c7fae782 "fixed bug reported by Phillip Herbert on the user list: addressbook view >> more phone numbers does NOT show the fax number" 2008-08-25 13:49:32 +00:00
Ralf Becker
8a9bf481f5 "fixed problem reported by Phillip Herbert on the devel-list: Mass move to private addressbook does not work" 2008-08-13 06:18:03 +00:00
Ralf Becker
c350dddc9b using the new url, email, phone widget 2008-06-11 07:17:30 +00:00
Ralf Becker
28654c560e include next and last date in csv export and use same fields for nextmatch csv export 2008-06-05 12:04:00 +00:00
Ralf Becker
2a88bd0fab "addressbook.csv_export --> addressbook_csv, thank to Christoph Kaulich for the report" 2008-05-21 07:44:41 +00:00
Ralf Becker
01407a4e38 "fixed renamed addressbook_vcal, as reported by <kaulich(at)gns-mbh.com> on the devel list" 2008-05-19 11:51:21 +00:00
Ralf Becker
7a2e1a66e2 renamed addressbook classes to use autoloading, was just a test to get
an idea about the effort - not sure I want to do that with all apps ;-)
2008-05-10 12:02:49 +00:00