Commit Graph

2907 Commits

Author SHA1 Message Date
Ralf Becker
7346a37998 cleaning up old addressbook stuff 2015-01-10 09:51:51 +00:00
Hadi Nategh
3a0904f39f Fix AB's add and search buttons opening with wrong url 2015-01-09 15:11:43 +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
Ralf Becker
cc58d6e6e7 fix funny number of rows 2014-12-17 14:00:29 +00:00
Hadi Nategh
a34c353258 Fix addressbook add plus button not does not open modal popup in mobile framework 2014-12-12 16:41:41 +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
Hadi Nategh
1869e94f84 Popup resize handler enhancement:
- Fix multi-line textbox resizing
- Introduce tab_height to tab widget and remove extra height set on tab containers children
- Let mail compose uses its own resize handling as it deals with some special resizing
2014-12-05 17:29:41 +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
Ralf Becker
668ccafe36 do NOT retur binary jpeg photo, it might be use and will fail when trying to json-encode 2014-12-02 09:02:38 +00:00
Nathan Gray
ba13371430 More Home progress:
- Add birthday reminders
 - Prevent infolog favorites from setting an app header
2014-12-02 00:30:11 +00:00
Ralf Becker
8a9657541d moving egw_openWindowCentered() to egw(window).openPopup() 2014-12-01 10:45:24 +00:00
Ralf Becker
8da2d2a0ab fixed wrong (just the collection) Location header on POST to ?add-member url 2014-11-30 09:24:23 +00:00
Nathan Gray
57f5569fc4 More Home progress:
- Add support for calendar favorites.  Note only the list view can be dragged, others are context menu only
2014-11-27 21:21:47 +00:00
Nathan Gray
8c5ea8eba9 More Home progress:
- Remove app header from addressbook
 - Always load app's CSS for single entry
2014-11-27 18:31:08 +00:00
Nathan Gray
6db1339365 More Home progress (favorites):
- Add favorite for addressbook
 - Fix add favorite from drop didn't load properly
2014-11-25 22:42:44 +00:00
Nathan Gray
459c647837 Change addressbook custom icons to be based on VFS image dir + name instead of previous per type 2014-11-19 22:06:30 +00:00
Ralf Becker
c633e0033b * all aps: lower memory requirements of insert into document by skipping HTML processing, if there are no html (custom-)fields 2014-11-19 12:20:59 +00:00
Nathan Gray
b626fd1a88 Home progress:
- Fix missing size for new widgets
- Different styling for single entries
- Custom template for single addressbook entries
- Hideable nextmatch header
2014-11-18 23:46:58 +00:00
Nathan Gray
ea8ff86854 Add a method to get an icon for a record, as specific to that record as possible 2014-11-18 23:40:49 +00:00
Ralf Becker
afaf5a1ece fix some problem in Univention install 2014-11-06 16:54:33 +00:00
Ralf Becker
f3dd3c2c0b setting white-space:nowrap on et2_tabheader so tab-flags do not wrap into 2. line and remove no_wrap class from addressbook tab-widget, as it prevents wrapping of everything incl. content in individual tabs 2014-10-31 10:12:53 +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
02fbe1ef41 Fix rename list placeholder action 2014-10-28 19:11:10 +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
32dc7c1da8 moving addressbook index photo to addressbook and use app.css (width:100%; height:auto) 2014-10-25 16:05:56 +00:00
Nathan Gray
bcbf679f64 More custom field UI work
- Application sub-type options
- Tracker & Infolog now use common UI
2014-10-23 17:33:03 +00:00
Nathan Gray
2f53633dca * Switch to nextmatch and edit dialog for customfield list 2014-10-22 19:55:27 +00:00
Ralf Becker
1e9db74ea6 pending Dutch translations from our translation server 2014-10-21 14:49:04 +00:00
Ralf Becker
af048109ee adding singular and plural name of app entries to link registry under "entry"/"entries" plus translations for apps which need them different from app-name 2014-10-21 13:51:37 +00:00
Hadi Nategh
6529bed2a6 * Addressbook: Fix tab order between zip code and city in AB edit dialog 2014-10-20 12:58:47 +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
Nathan Gray
5082d8a634 - Better popup resize calculations
- Test new popup size for addressbook
2014-10-15 15:52:07 +00:00
Ralf Becker
424b4c451c fix redirects in a popup and new egw_exception_redirect to be used in hooks/callbacks like for addressbook.edit to redirect to a different location 2014-10-15 14:55:08 +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
Ralf Becker
7348a62f61 use implicit nameing after type for custom templates "addressbook.edit.$type" like in InfoLog 2014-10-09 12:03:14 +00:00
Nathan Gray
8d3025ffc6 Handle multiple comma-separated category IDs 2014-10-06 21:58:06 +00:00
Nathan Gray
e7c07d48f6 Add warning for unknown contact type and change it to 'n' (contact). 2014-09-30 15:08:46 +00:00
Ralf Becker
c07c550e7a changing default columns for new installs to a postiv list of "type, name/organisation, bussiness address, phone and email", so adding further columns dont make them automatic enabled 2014-09-24 08:26:19 +00:00
Nathan Gray
cd19f52964 Get not loaded UIDs if select all is used. 2014-09-22 19:39:50 +00:00
Ralf Becker
2e8a353f3e pending translations from our translation server 2014-09-22 11:57:15 +00:00
Ralf Becker
40da5672bb * CardDAV/Addressbook/Preferences: accounts, primary group, all, ... were not selectable in personal preferences 2014-09-18 09:05:06 +00:00
Nathan Gray
01d1ae3dcc Fix selected categories disappear after searching. 2014-09-09 21:55:00 +00:00
Ralf Becker
c73cc6b398 fixing the fix: now cat_id=1 got not lost with a 2nd default option set in addressbook (0=None) 2014-09-09 14:11:42 +00:00
Ralf Becker
b1f0448b6d fixed advanced search was always filtering by first option of custom-fields of type select or select-* 2014-09-09 08:36:34 +00:00
Nathan Gray
806165d947 Fix up advanced search 2014-09-08 18:47:40 +00:00
Ralf Becker
bd97d22245 run editaccount and editaccountcontact hook only when updating accounts, not for creating them 2014-09-06 12:09:25 +00:00
Ralf Becker
88a111b2c5 fixed storing same password twice in admin makes account unusable:
caused by tabs and callbacks added multiple times and therefor passwords beforeSendToClient method was called twice causing password to be replaced with asterisks
2014-09-06 10:00:42 +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
Ralf Becker
62e41d434d adding room-column and change to only 2 flex-columns 2014-09-03 10:55:56 +00:00
Ralf Becker
08c409fdad disable homepage preferences, until we have a home-page again 2014-08-27 09:06:20 +00:00
Nathan Gray
ab1bae8a35 Fix sub-templates missing proper height in idots framework 2014-08-25 20:54:28 +00:00
Ralf Becker
94afafae11 * all apps: fixed column sizes and stretch (change when window size changes) 2014-08-22 11:08:21 +00:00
Hadi Nategh
a78fda8400 Hide info_link in addressbook CRM view via CSS, and try to not filter them by query in infolog get_rows .
-Fix clicking on linked infolog entry and redirecting to AB CRM view removes the link from the row in infolog
2014-08-20 14:38:33 +00:00
Ralf Becker
cb50632f05 * Addressbook: no longer offering to move contacts to accounts addressbook, as we do not support that 2014-08-19 14:12:40 +00:00
Nathan Gray
0eb8854eb3 Add 'None' category option back for addressbook 2014-08-18 19:55:54 +00:00
Klaus Leithoff
49f9086420 fix typo 2014-08-15 09:38:37 +00:00
Ralf Becker
5544c63b34 pending translations from our translation server 2014-08-12 12:39:21 +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
e60896f250 fixed uncaught ErrorException in setup: Argument 2 passed to addressbook_bo::private_addressbook() must be of the type array, null given 2014-07-24 07:04:59 +00:00
Ralf Becker
fbf05c95f4 show addressbooks for user whos preferences are displayed, for "default" and "forced" only show acl independent settings 2014-07-23 14:00:20 +00:00
Ralf Becker
d6d6272299 * Admin/LDAP: deactivated accounts could not be reactivated, as account popup was not showing selected account 2014-07-21 14:37:15 +00:00
Nathan Gray
2b322c5bad Remove auto-hide of columns, it doesn't work with being able to choose columns & infinite scrolling.
Fixes photo (& other) column disappearing when switching to org view and back.
2014-07-16 14:30:25 +00:00
Stefan Reinhardt
a580043ad7 pixelegg / less
change @import....
2014-07-16 11:28:49 +00:00
Nathan Gray
31ad005a0b Add owner as exception to contact_ prefixing, it's used as a flag in searching.
Fixes ambiguous column error when filtering by owner and custom field.
2014-07-15 16:26:44 +00:00
Ralf Becker
8c6ac14093 fixed typo 2014-07-13 09:01:09 +00:00
Nathan Gray
57bd7c7a9b Avoid server side validation error.
Fixes can't go further than choosing how addressbook categories get exported.
2014-07-08 21:10:13 +00:00
Ralf Becker
2de7931700 * Admin: custom-fields were not loaded, account was edited from admin not addressbook 2014-07-08 15:05:20 +00:00
Nathan Gray
3ba557f4b8 Use select_all flag to export all entries, not just visible selected ones. 2014-07-07 16:47:08 +00:00
Stefan Reinhardt
b7baff6187 addressbook:
button add:
border-left-top: 
change color button - add:hover to green
2014-07-03 16:44:25 +00:00
Hadi Nategh
67e9856764 Fix not shown right padding between hboxes in addressbook, and rearrange city and room fields in edit dialog 2014-06-24 14:15:39 +00:00
Ralf Becker
d6ce36d735 bump versions to 14.1 2014-06-24 10:00:50 +00:00
Hadi Nategh
8c276bfe96 Remove "placeholder" link from help tooltip of preferences 2014-06-24 09:47:08 +00:00
Nathan Gray
697d1cdbac Implement new special linking fields 2014-06-16 20:16:58 +00:00
Nathan Gray
c3e673b747 Support equal import condition 2014-06-16 16:22:18 +00:00
Stefan Reinhardt
1491829c05 Addressbook
advanced search - FF Bug
2014-06-12 14:54:32 +00:00
Stefan Reinhardt
45e4cc4cdc addressbook -
CRM View - image , Name, Organisation

Edit: link_to

List-View: advanced Search Button
2014-06-11 13:58:46 +00:00
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
Stefan Reinhardt
7ce4dd1e28 addressbook -
postion -> filter
2014-05-21 15:44:48 +00:00
Nathan Gray
71790459b2 Fix missing template error breaking vCard export 2014-05-13 21:10:07 +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
Hadi Nategh
aa4128ad6e Fix addressbook's room field overlaping the occupation field 2014-05-02 14:13:10 +00:00
Stefan Reinhardt
1c8c4032dc Latest CSS 2014-04-24 10:58:40 +00:00
Klaus Leithoff
79134d7b12 translations from our translation server 2014-04-23 12:39:12 +00:00
Klaus Leithoff
d1151d876e translations from our translation server 2014-04-23 07:44:08 +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
Klaus Leithoff
83716092fb translations from our translation server 2014-04-07 06:50:08 +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
8f6f417a9e Fix typo in translation 2014-03-26 14:09:22 +00:00
Nathan Gray
e62c980a8f Add context menu sub-actions for CRM-View Infolog & Tracker 2014-03-25 16:53:36 +00:00
Nathan Gray
a3e195fef2 Set sortmode=DESC for date columns so newest show up on top for first click on the sortheader 2014-03-24 19:43:15 +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
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
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
Hadi Nategh
9e05cc7274 Fix pixelegg template styling for AB edit popup 2014-03-17 13:00:43 +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
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
Stefan Reinhardt
9a5f20e901 Addressbook edit Dialog - fixed css + less 2014-03-11 16:37:37 +00:00
Stefan Reinhardt
a5e0fe493a Addressbook Dialog - edit.xet
change column width to 60px
2014-03-11 15:36:03 +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
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
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
Stefan Reinhardt
7d46f7cf9b pending changes 2014-03-10 16:17:25 +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
Ralf Becker
ed7a5f82e1 fix image size and alignment for pixelegg template 2014-03-10 09:05:09 +00:00
Ralf Becker
18156faf85 show name&organisation left aligned, if there is no photo, also set width of image in case it is bigger 2014-03-10 08:53:56 +00:00
Ralf Becker
393cf2d78b missing commit of app.js 2014-03-07 09:29:01 +00:00
Ralf Becker
22b96163a4 some basic fixes to get new CRM view usable with pixelegg template 2014-03-07 09:22:35 +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
Stefan Reinhardt
259967fd96 fixed: positioning nextmatch header fields 2014-03-06 10:43:15 +00:00
Ralf Becker
6da64247a6 fix phone link and prefered phone radio were on same place 2014-03-06 09:48:15 +00:00
Ralf Becker
aaf00dce71 merged separate categories tab into details and some more cleanup 2014-03-05 18:28:19 +00:00
Ralf Becker
f4e1251c20 next step 2014-03-05 18:09:42 +00:00
Ralf Becker
d4237c78e9 first step to new edit addressbook dialog 2014-03-05 15:25:07 +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
Stefan Reinhardt
ef68690030 change in nextmatch:
input, search, count, favorites : delete box-shadow: make it more flat
positioning box_right
2014-02-28 17:47:22 +00:00
Ralf Becker
36deafbbc0 missing translation 2014-02-28 10:20:19 +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
Ralf Becker
05a7effdf0 add deletegroup hook, to automatic delete contacts from a (group-)addressbook when group get deleted 2014-02-26 17:46:07 +00:00
Hadi Nategh
dc656e85fd Remove legacy actions from AB listview 2014-02-26 15:41:38 +00:00
Hadi Nategh
ea35b5ce75 Switch zip-code and city position in AB nm list 2014-02-25 11:25:00 +00:00
Hadi Nategh
91198f95d1 Re arrange country,city,street and zip code position in addressbook nm list 2014-02-25 09:55:46 +00:00
Stefan Reinhardt
c5d664c47d add button positioning 2014-02-24 17:20:09 +00:00
Ralf Becker
da3fd08d29 pixelegg changes from today 2014-02-20 19:42:52 +00:00