Commit Graph

171 Commits

Author SHA1 Message Date
nathangray
34ec346821 Fix favourites (& probably some more inherited stuff) broken by TypeScript conversion
Note that any properties declared in a sub-class aren't generally available until after the super() call is done, i.e. in the super constructor they're undefined.
2020-03-20 11:38:38 -06:00
Ralf Becker
5f804dd661 use super.<name>(<arguments>) instead of super.<name>.apply(this, arguments) 2020-02-11 17:40:33 +01:00
Ralf Becker
f19d42a439 convert addressbook app.js to TS 2020-02-09 13:07:42 +01:00
nathangray
f5c2ba52c8 Addressbook - sharing actions only available to contacts, not groups 2019-08-22 15:56:46 -06:00
nathangray
6084d53bbf Addressbook - add new distribution lists immediately to the context menu 2019-05-14 11:50:01 -06:00
Hadi Nategh
6c4cc97a5f Implement new taglist widget to represent list of regions of a selected country 2018-09-19 16:43:19 +02:00
Hadi Nategh
cc3e00f9f1 * Mail: take opened compose dialogs into account when trying to forward attachment, share files into mail or vcard attachment from addressbook 2018-07-11 14:39:40 +02:00
Hadi Nategh
03fd308d00 Remove comma from personal part since comma is preserved as address separator 2018-07-05 14:29:49 +02:00
Hadi Nategh
19b8c555ef Replace & with placeholder according to mailto string processing 2018-07-05 11:29:46 +02:00
nathangray
835ad5b322 * Addressbook - Disable merge contacts action if more than one account is selected 2018-06-12 13:49:59 -06:00
Hadi Nategh
ce52dd10ad * Addressbook: Inform the user about number of contacts adding to mail compose dialog via Email action 2018-06-07 14:45:42 +02:00
Hadi Nategh
5d128cc43b * Addressbook: Fix send all contact's emails/vcards to compose dialog does not work 2018-04-09 16:42:08 +02:00
Hadi Nategh
a8e10cdc64 WIP framework's popup storage/restore:
- Keep tracking of popup's window object and restore it when needed
- Implement a method to check an already opened popup and execute a method in the selected popup context
- Fix vcard import into opened compose windows not working
2018-03-09 17:48:09 +01:00
Hadi Nategh
8ac7684f66 Add vcards from addressbook into an opened mail compose if there's any 2018-02-28 17:30:45 +01:00
nathangray
f17a272b6d * Addressbook - Fix favorites that included a selected organisation did not get correctly applied 2017-07-26 15:06:37 -06:00
nathangray
935f9feb6e Addressbook - force clear any lingering advanced search when applying a favorite 2017-06-13 08:57:33 -06:00
nathangray
94c062c7dd Addressbook - fix viewing an organisation from a favorite did not work after reload 2017-05-26 14:08:45 -06:00
nathangray
8113908273 Fix add selection of contacts to new distribution list did not bring up dialog 2017-05-02 08:24:37 -06:00
nathangray
188add7671 Addressbook - Fix adding a new distribution list with 'Select all' contacts would only add some contacts to the list. 2017-03-20 11:15:48 -06:00
nathangray
78c5f31ff5 * Addressbook - When viewing a user account's calendar or next/previous dates, use the account calendar over the contact calendar 2017-03-08 09:53:52 -07:00
nathangray
608f9d1142 Some translation improvements from Stefan Unverricht 2017-02-27 11:14:31 -07:00
nathangray
9adf5d9438 Only one server call for automatic switch to accounts addressbook or all addressbooks dependin…
…g on distribution list is a group
2017-01-24 08:43:57 -07:00
Ralf Becker
d8163bbbf7 automatic switch to accounts addressbook or all addressbooks depending on distribution list is a group 2017-01-23 16:18:07 +01:00
nathangray
383aeeba8c Add a selectbox for infolog type to addressbook's merge-to-email dialog 2017-01-20 08:37:08 -07:00
nathangray
845a1ec3e7 Added a checkbox for 'save as infolog' when merging multiple contacts into an email document. 2017-01-19 09:36:38 -07:00
nathangray
6adec19710 Add selected contacts to new distribution list when you create it via context menu 2016-12-20 08:47:33 -07:00
Hadi Nategh
36995ed95b Do not enable geoLocation if only country code is set 2016-09-08 14:12:11 +02:00
Ralf Becker
f987caa5c2 * Admin: warn admin if passwords for new accounts / password reset lack in strength 2016-08-12 13:47:01 +02:00
leithoff
58943d96e1 fix for some language issues reported by S.Unverricht 2016-07-19 12:52:58 +02:00
Ralf Becker
7d72e84330 fix IDE warnings 2016-06-30 10:14:55 +02:00
nathangray
9b628144fa Include current user as participant when adding a new appointment from addressbook context menu 2016-06-14 11:11:05 -06:00
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