Commit Graph

140 Commits

Author SHA1 Message Date
nathangray
0a1c2fe3e5 Enhance addressbook observer to handle calendar updates without event data available. 2016-06-14 11:04:16 -06:00
nathangray
91eb837aa9 Restore addressbook favorites broken by 5ecd1c3c8e 2016-06-13 19:18:11 -06:00
nathangray
5ecd1c3c8e 'No filters' blank favorite also clears advanced search 2016-06-09 15:05:25 -06:00
nathangray
fa6ecf8176 Make sure we have no errors if calendar entry is somehow missing. 2016-06-08 12:58:00 -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
87fb94a496 Deprecate $j global variable and replace them all with standard jQuery 2016-06-02 16:52:01 +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
nathangray
2560320cfe Check to make sure data is there before accessing it, hopefully avoids a js error blocking context menu. 2016-05-27 08:56:23 -06:00
nathangray
366c6aabf5 Update participating contacts in addressbook list when an event changes 2016-05-25 17:28:59 -06: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
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
Nathan Gray
2fb1c0e31d Update sidebox contact if it gets changed 2016-04-11 20:38:12 +00:00
Nathan Gray
2a25b05379 Reset category filter when viewing addressbook 2015-12-15 15:21:38 +00:00
Nathan Gray
a6d933e3ed Tracker CRM view fixes:
- Do not lose called by when submitting, fixes tracker CRM view switching to all tickets when changing single/multi queue
- Fix js error using sidebox toolbar
- Fix wrong selectbox options in tracker nm when there are no rows for the entry
2015-09-28 17:05:35 +00:00
Nathan Gray
18bd10bf66 Fix 'Cannot read property...' error when adding an event via context menu 2015-05-25 14:27:26 +00:00
Nathan Gray
2cee8df131 Get calendar view working with orgs again 2015-03-17 19:14:00 +00:00
Hadi Nategh
62c1fe4ce4 Trigger change event after new distribution item is set to the list 2015-03-06 14:35:19 +00:00
Hadi Nategh
39cc660c0d Implement set window title for each application with a default title field or define an app specific custom get title 2015-01-05 14:28:35 +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
Ralf Becker
6a7c4c47ec fix for r49769 causing edit icon in toolbar opens empty contact, as app.addressbook.et2 was pointing to infolog template 2014-12-09 13:46:27 +00:00
Ralf Becker
d66a339127 add personal part / full name to email when adding contacts from addressbook list to to, cc or bcc of mail compose 2014-12-05 12:37:40 +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
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
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
Nathan Gray
cd19f52964 Get not loaded UIDs if select all is used. 2014-09-22 19:39:50 +00:00
Nathan Gray
806165d947 Fix up advanced search 2014-09-08 18:47:40 +00:00
Ralf Becker
0d63cbbd93 only generate default email address for new accounts, allows to set empty email address for existing accounts or by emptying it before save for new accounts 2014-09-04 07:41:30 +00:00
Nathan Gray
70d85ca78f Fix addressbook CRM next/previous buttons don't update nextmatch 2014-08-05 23:27:06 +00:00
Ralf Becker
9e4a03c59c fix validation of email in account creation to allow to manually enter an email and never automatic add an invalid one 2014-05-05 13:08:25 +00:00
Ralf Becker
8cfef6746d added several checks for account editing in addressbook: doublicate account name, passwords match, set email for new accounts according to policy 2014-03-28 16:56:35 +00:00
Nathan Gray
e62c980a8f Add context menu sub-actions for CRM-View Infolog & Tracker 2014-03-25 16:53:36 +00:00
Klaus Leithoff
8212c7419b resolve rowid (app::id to id) for construction of vfs url to address addressbook entry 2014-03-21 12:38:47 +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
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
Nathan Gray
cefb47641f Fix & re-enable showing linked infologs of multiple contacts 2014-03-13 19:04:47 +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
Ralf Becker
d4d7c305bd fixed changed action name to get opening of contact working again 2014-03-12 15:44:06 +00:00
Ralf Becker
ca497be17d fixed CRM view in case page-generation-time is displayed 2014-03-12 15:32:58 +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
4110056a3e Not needed - 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:27:37 +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
bb8608d694 fix javascript error when calling CRM view a second time, thought no idea why this.et2 is not correctly initialised / jQuery.proxy in et2_core_common.js line 248 looses its context 2014-03-10 17:42:58 +00:00
Ralf Becker
393cf2d78b missing commit of app.js 2014-03-07 09:29:01 +00:00
Ralf Becker
c00e79af78 partial fix for addressbook CRM view does not propagate prefered telephone number to phone popup, set_value() on et2_radiobox_ro is NOT working 2014-02-13 17:51:02 +00:00
Ralf Becker
4f8270fe41 fix javascript error if [More...] is clicked in CRM view of contact 2014-02-13 17:29:44 +00:00
Ralf Becker
36170bf4e3 an other one of that template is undefined 2014-02-13 14:08:21 +00:00
Ralf Becker
17d5a567ee fixed javascript error if any name was changed, removed a lot old pre-et2 methods and fixed ide warnings 2014-02-13 13:54:52 +00:00
Ralf Becker
8525d55080 fixed phone popup (opening on [More...]) does not show always shown numbers (work, cell, home, fax) and if they are prefered, also changes made to them get not propagated back 2014-02-13 10:06:18 +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
Nathan Gray
3a743f8f32 Fix typo (or spelling) in title 2014-01-31 15:37:44 +00:00
Hadi Nategh
b99dd55c4e Fix wrong message title on addressbook douplicate confirmation dialog 2014-01-31 14:24:47 +00:00
Hadi Nategh
acd426c8ee Implement addressbook douplicates contact confirm dialog with new et2_dialog and make the conflicts contact popup selectable 2014-01-29 18:36:55 +00:00
Hadi Nategh
4604d2b90f Fix addressbook checkvalue for duplication, egw_getegw_json_getFormValues is depricated 2014-01-21 15:29:09 +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
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
Hadi Nategh
f4d4f9600a Use getActionById instead of addressing the action through its parent, which is high potential to break the code 2014-01-15 09:11:32 +00:00
Hadi Nategh
c95c10a145 Fix wrong tag of private and business email for addEmail function in addressbook 2014-01-15 08:42:59 +00:00
Nathan Gray
b5ca559968 Fix context menu Calendar -> Add appointment 2014-01-14 15:43:06 +00:00
Hadi Nategh
3fa891380a Remove not used function in addressbook app.js, which has been committed mistakenly 2014-01-13 17:54:44 +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
Nathan Gray
5b4484317d Implement addEmail action handler 2013-12-19 17:24:46 +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
Hadi Nategh
f222706dcc Replace old confirm() with new confirm dialog, samething like timesheet, no need to have seperate dialog creator in app.js 2013-12-05 11:06:25 +00:00
Hadi Nategh
8f45c0e639 Replace old dialog delete dialog with new dialog in addressbook edit popup 2013-11-29 14:52:52 +00:00
Nathan Gray
ae4904076c - Instanciate infolog JS object if available (for contact view)
- Fix custom country JS
2013-11-26 23:37:48 +00:00
Ralf Becker
6d226a7921 split constructor function and place of instanciation for app.js objects: app[appname] = new app.classes[appname](); 2013-11-04 20:54:23 +00:00
Ralf Becker
a6311fa1a3 creating and using an app-specific egw object 2013-10-07 16:53:13 +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
dae37d17a8 fix JSON error in trunk with readonly fileas-type selector (AD) 2013-07-11 15:34:30 +00:00
Nathan Gray
d189b005df Get edit dialog name popup working in et2 2013-06-19 19:02:41 +00:00
Nathan Gray
922b3c0784 Get edit dialog country selection 'Custom' toggles working again 2013-06-17 22:12:53 +00:00
Nathan Gray
44e96714af Fix adding distribution list (& maybe some other link issues) by looking for framework's link handler in open_link() 2013-06-12 17:04:42 +00:00
Nathan Gray
c93b1d7080 Fix Add distribution list action opening new tab 2013-06-10 19:47:09 +00:00
Nathan Gray
dedfd6f53e Get adding distribution list working with et2. JS still needs to be changed to new object style though 2013-05-06 23:16:10 +00:00
Nathan Gray
ca5d97f85c Accept et2 UIDs for popup too 2013-03-20 22:20:58 +00:00
Ralf Becker
6ade2ce970 * Addressbook: fixed error in extended search 2012-10-24 09:53:24 +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
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
Nathan Gray
7e05b0dff2 Avoid javascript error if edit popup is read-only 2011-06-02 20:05:40 +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