1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-11-29 11:24:11 +01:00
Commit Graph

506 Commits

Author SHA1 Message Date
Thomas Tanghus
54a978bd25 Move sorting into ContactList.setSortOrder() 2013-05-26 22:16:43 +02:00
Thomas Tanghus
4dd2fa28c7 Added TODOs 2013-05-26 22:16:43 +02:00
Thomas Tanghus
e5f54d900b Unbind event when closing contact 2013-05-26 22:16:43 +02:00
Thomas Tanghus
c97f498905 Ported export. Fixes #108 2013-05-24 20:35:23 +02:00
Thomas Tanghus
0d37aaa07d Reenabled URL and EMAIL event handlers. Fix owncloud/contacts#109 2013-05-24 15:30:59 +02:00
Thomas Tanghus
2cbbc12ebf Fix fail() handlers 2013-05-24 03:34:07 +02:00
Thomas Tanghus
eba736a03b Made changing name order ~30% faster. 2013-05-23 21:37:39 +02:00
Thomas Tanghus
d5ad910d57 Made sorting 10 times faster 2013-05-23 21:37:39 +02:00
Thomas Tanghus
6045d85122 Sort order improvements. 2013-05-22 21:44:39 +02:00
Thomas Tanghus
ac61f08534 Code for sorting by last, first/first last/formatted. Ref #63 2013-05-22 05:29:29 +02:00
Thomas Tanghus
ec7b45129e Only add your own contacts to groups. 2013-05-22 05:28:47 +02:00
Thomas Tanghus
494d3944a5 Finish moving contacts between address books/backends. Ref #57 2013-05-22 03:23:24 +02:00
Thomas Tanghus
e8c7047869 Implement rename group. Refs #97 2013-05-21 23:39:50 +02:00
Thomas Tanghus
aab66afb03 Let backend add/remove CATEGORIES instead of firering N requests 2013-05-19 03:16:36 +02:00
Thomas Tanghus
cab617f0e0 Implement HTTP Middleware
Intercept exceptions thrown and return suitable HTTP responses.
2013-05-18 04:58:41 +02:00
Thomas Tanghus
03ae02c155 Test for contact not being rendered. owncloud/contacts#91 2013-05-16 16:04:16 +02:00
Thomas Tanghus
23b6e074da Proper updating on deletion of contact photo. Fix #77 2013-05-15 01:02:38 +02:00
Thomas Tanghus
3f3d701322 Add meta group "Ungrouped". Refs #28 2013-05-12 21:59:24 +02:00
Thomas Tanghus
e7267209ef Backgroung load on import and async load on init. Closes #49 2013-05-08 06:47:36 +02:00
Thomas Tanghus
757bc10216 Contacts: Implement move to address book. Still some rough edges. 2013-05-06 01:49:10 +02:00
Thomas Tanghus
8ee05eb430 Contacts: Get proper metadata on Contact instantiation. 2013-05-04 22:44:23 +02:00
Thomas Tanghus
c649b4cbf1 General cleanup 2013-05-03 05:00:50 +02:00
Thomas Tanghus
ea7ce48914 Contacts: Get display name from either FN, ORG or EMAIL. 2013-05-02 20:45:52 +02:00
Thomas Tanghus
d4b18987ae Contacts: Abstract js address book access and further simplify import. 2013-05-02 20:42:24 +02:00
Thomas Tanghus
c3722606ba Contacts: Set a data reference to Contact object on list element 2013-05-01 01:48:11 +02:00
Thomas Tanghus
ea02dab874 Contacts: Move draggable setting to Contact object. 2013-05-01 01:48:11 +02:00
Thomas Tanghus
a7b30d8c5a Contacts: Property parameters wasn't saved 2013-04-27 04:38:28 +02:00
Thomas Tanghus
6bc6d8f478 Contacts: Fix loading default contact image 2013-04-25 00:59:03 +02:00
Thomas Tanghus
c3fa18e4a7 Merge branch 'contacts_backends' into contacts_oc6
Conflicts:
	contacts/ajax/categories/add.php
	contacts/ajax/contact/add.php
	contacts/appinfo/app.php
	contacts/appinfo/migrate.php
	contacts/css/contacts.css
	contacts/index.php
	contacts/js/app.js
	contacts/js/contacts.js
	contacts/js/groups.js
	contacts/lib/app.php
	contacts/lib/carddav/addressbook.php
	contacts/lib/sabre/backend.php
	contacts/lib/vcard.php
	contacts/templates/contacts.php
	contacts/thumbnail.php
2013-04-17 15:07:59 +02:00
Thomas Tanghus
e06f8d04a7 Contacts: Avoid double escape in contact list. Fix #970 2013-04-09 00:46:07 +02:00
Thomas Tanghus
7b977bce45 Contacts: Removed some console.log() 2013-04-08 22:37:37 +02:00
Thomas Tanghus
ac0d12470b Contacts: Rename 'database' backend to 'local' 2013-04-07 22:33:40 +02:00
Thomas Tanghus
f0e6472d73 Contacts: Port fixes from master/stable5 2013-04-07 16:47:28 +02:00
Thomas Tanghus
2874031c0f Contacts: Convert TYPE=PREF to PREF=1. Fix #881 2013-04-07 15:04:21 +02:00
Thomas Tanghus
fb7fd6fc2c Contacts: Make drag items opaque. 2013-04-06 17:13:18 +02:00
Thomas Tanghus
d92bdaa12c Contacts: Send all entire contact identifier (backend, parent, id) in event 2013-04-05 04:12:53 +02:00
Thomas Tanghus
c93e5feeec Contacts: Get profile picture using Storage object. 2013-04-05 00:30:42 +02:00
Thomas Tanghus
9d313b1a1e Contacts: Cache thumbnails as base64 an load together with contacts.
Removes the massive amount of requests on first load.
2013-04-04 17:00:22 +02:00
Thomas Tanghus
ed349ccab3 Return all data after saveAll() 2013-04-04 02:56:20 +02:00
Thomas Tanghus
9ae6a23e04 Contacts: Misc. js and css fixes. 2013-04-03 16:54:25 +02:00
Thomas Tanghus
9f61cc8d78 Contacts: Basic merge functionality 2013-04-03 16:43:18 +02:00
Thomas Tanghus
d059f9af09 Contacts: Add base for merging contacts. 2013-04-01 03:50:42 +02:00
Thomas Tanghus
42e848247a Contacts: Add Contact.getDisplayName() method. 2013-03-30 20:12:12 +01:00
Thomas Tanghus
eaab96801a Contacts: Pass list of contact objects instead of ids 2013-03-30 17:33:58 +01:00
Thomas Tanghus
830a4d060f Contacts: status.contacts.loaded was emitted for each address book 2013-03-30 07:25:02 +01:00
Thomas Tanghus
4e6a95b5a6 Contacts: Reformat BDAY when internal value is updated 2013-03-30 04:04:29 +01:00
Thomas Tanghus
a5a45f90d7 Contacts: Moved escaping of strings to template plugin. 2013-03-29 20:09:48 +01:00
Thomas Tanghus
2dfab8d220 Contacts: Escape values client side to not double escape. 2013-03-29 18:06:10 +01:00
Thomas Tanghus
00f04fea49 Contacts: Fix getting value for compound properties (ADR, N) 2013-03-29 17:15:20 +01:00
Thomas Tanghus
7693785933 Contacts: Importing, indexing and group extraction in working state. 2013-03-29 05:00:03 +01:00
Thomas Tanghus
ffc13d5cda Contacts: Don't use show/hide on multiselect 2013-03-28 04:59:55 +01:00
Thomas Tanghus
255c538a60 Contacts: Add more routes and wrap response in a JSONResponse object. 2013-03-28 03:19:01 +01:00
Thomas Tanghus
da6d0ae7e4 Contacts: Port most ajax calls to use routes. 2013-03-25 17:08:47 +01:00
Thomas Tanghus
135cd71331 Contacts: Fix parameters for profile pic 2013-03-23 02:06:34 +01:00
Thomas Tanghus
9ce6d9be76 Contacts: Use inline css thumbnail for contacts wo profile pic. 2013-03-23 01:58:18 +01:00
Thomas Tanghus
28a57daa06 Contacts: Add routes for listing address books and contacts. 2013-03-22 14:49:34 +01:00
Thomas Tanghus
36f22b5878 Contacts: Use PoC list. 2013-03-16 15:55:37 +01:00
Thomas Tanghus
6b50a6fef8 Contacts: Sanitize input. 2013-03-15 15:10:55 +01:00
Thomas Tanghus
0c2dc22eaa Contacts: Sanitize input. 2013-03-15 15:07:35 +01:00
Thomas Tanghus
6bfc422d67 Contacts: Much improved d'n'd. 2013-03-14 19:53:53 +01:00
Thomas Tanghus
2aa8f7fb81 Contacts: Test for more ways to construct name. 2013-03-14 19:40:08 +01:00
Thomas Tanghus
fff18e8f11 Contacts: Make sure multi value fields are saved in correct order. 2013-03-14 19:39:02 +01:00
Thomas Tanghus
ac8fe794ac Contacts: Select first *visible* contact on load. 2013-03-14 19:37:02 +01:00
Thomas Tanghus
9b55ac8999 Contacts: Construct FN based on N if empty 2013-03-14 19:34:06 +01:00
Thomas Tanghus
e414c48148 Contacts: Much improved d'n'd. 2013-03-12 00:28:41 +01:00
Thomas Tanghus
7bd0ed5958 Contacts: On d'n'd wrong id was being used. Also fixes #735 2013-03-11 20:27:16 +01:00
Thomas Tanghus
b5a0bbb7aa Contacts: Test for more ways to construct name. 2013-03-05 02:31:14 +01:00
Thomas Tanghus
5e4198bee7 Contacts: Make sure multi value fields are saved in correct order. 2013-03-05 02:31:14 +01:00
Thomas Tanghus
7f7fd44de5 Contacts: Construct FN based on N if empty 2013-03-05 02:31:14 +01:00
Thomas Tanghus
a5e5d6ad0c Contacts: Select first *visible* contact on load. 2013-03-05 02:31:14 +01:00
Thomas Tanghus
1d2dfd7ff9 Contacts: Show/hide firstrun better. Fix #656 2013-03-04 17:57:46 +01:00
Thomas Tanghus
9a302d211f Contacts: Showstopper: Fix firstrun action. Also fix #580 2013-02-16 23:01:07 +01:00
Thomas Tanghus
12347f6b0b Contacts: Use jquery trim() 2013-02-12 11:56:43 +01:00
Thomas Tanghus
b5fc6b69e4 Contacts: Fix group showing. 2013-02-04 02:07:00 +01:00
Thomas Tanghus
9aeec46945 Contacts: Some more error checking 2013-02-03 15:40:14 +01:00
Thomas Tanghus
df92b31a51 Contacts: Disable group select until saved. 2013-02-03 15:25:00 +01:00
Thomas Tanghus
dd508c2784 Contacts: Last inline js gone. 2013-01-25 16:22:38 +01:00
Thomas Tanghus
c5c8b29964 Contacts: Move check for indexed state to ajax call. 2013-01-25 15:08:56 +01:00
Thomas Tanghus
e616a27b41 Contacts: Show/hide PREF take 2 2013-01-25 13:29:16 +01:00
Thomas Tanghus
57eac9eff2 Contacts: Correct faulty docstring. 2013-01-25 13:29:16 +01:00
Thomas Tanghus
bd1bd0d2d1 Contacts: Show/hide PREF take 1. 2013-01-17 14:48:46 +01:00
Thomas Tanghus
48c23c0dc0 Contacts: Refactored adding single contact to group. Closes #443 2013-01-16 13:35:41 +01:00
Thomas Mueller
35f78467ba fixes js syntax error 2013-01-15 00:47:39 +01:00
Thomas Tanghus
290fdd46db Contacts: Made Contact.inGroup() more failsafe. 2013-01-08 05:49:40 +01:00
Thomas Tanghus
25fa711b7e Contacts: Minor changes to groups. 2013-01-04 10:27:53 +01:00
Thomas Tanghus
3059d7ece0 Contacts: Start refactor single contact group change. 2013-01-02 04:10:07 +01:00
Thomas Tanghus
d176fa5750 Contacts: Test if internal data structure exists before testing an element 2013-01-02 01:34:26 +01:00
Thomas Tanghus
813e4f5508 Contacts: Don't set current contact when there are none. 2013-01-02 01:34:26 +01:00
Thomas Tanghus
0294d704a3 Contacts: Add group select to contact popup. 2012-12-29 18:24:15 +01:00
Thomas Tanghus
4dfe512725 Contacts: fix deletion timer. 2012-12-29 18:24:15 +01:00
Thomas Tanghus
ccb851343c Contact: Determine whether to update listelement in event handler. 2012-12-22 00:28:15 +01:00
Thomas Tanghus
120179b25d Contacts: Add contacts in batches and defer sorting to speedup loading 2012-12-21 23:46:59 +01:00
Thomas Tanghus
bbe74d2333 Merge branch 'master' of github.com:owncloud/apps 2012-12-20 23:01:54 +01:00
Thomas Tanghus
fa2ce2f1c0 Contacts: Define self. 2012-12-20 22:59:34 +01:00
Thomas Tanghus
31e88e531f Merge pull request #358 from merio/issue_343
Update contact list whenever something changes in the underlying data.
2012-12-18 12:20:10 -08:00
Mario Ferraro
e6ca4aa520 Remove and forget the item instead of only detaching it. 2012-12-18 10:36:54 +00:00
Mario Ferraro
f60bda4d23 Remove unnecessary rendering updating of name. 2012-12-18 10:36:31 +00:00
Mario Ferraro
310faabdd8 Update contact list whenever something changes in the underlying data.
Fixes #343
2012-12-18 10:25:27 +00:00
Mario Ferraro
96887f756d Save new multiproperties properly.
Also change the for loop to a jQuery each to avoid looping into Array object's properties.
2012-12-18 09:09:12 +00:00
Thomas Tanghus
e48cb812b7 Contacts: Wrong this :-P 2012-12-17 21:33:02 +01:00
Thomas Tanghus
4aac9edf82 Contacts: Removed obsolete TODO 2012-12-17 17:24:54 +01:00
Thomas Tanghus
e60e87b6d8 Merge branch 'master' of github.com:owncloud/apps
Conflicts:
	contacts/js/contacts.js
2012-12-17 17:24:06 +01:00
Thomas Tanghus
e449059760 Contacts: First work on undo backend. 2012-12-17 16:27:28 +01:00
Mario Ferraro
a00596cb70 Fix missing semicolons, trailing commas, leading/trailing whitespaces, mixed tabs/spaces. 2012-12-17 14:19:22 +00:00
Thomas Tanghus
8f85373987 Contacts: Don't prevent export of readable contacts. 2012-12-17 03:20:51 +01:00
Thomas Tanghus
d7035c99d2 Contacts: Also instantiate comboboxes on new elements. 2012-12-17 03:20:13 +01:00
Thomas Tanghus
118106be71 Contacts: Prevent same value being save twice. 2012-12-17 02:45:57 +01:00
Thomas Tanghus
7efb089810 Contacts: Make micro templates work on FF 4. 2012-12-14 16:35:10 +01:00
Thomas Tanghus
c981af5e54 Contacts: Disable editing photo and setting as favorite until contact is saved. 2012-12-14 02:56:11 +01:00
Thomas Tanghus
a2eeb09151 Contacts: rename variable. 2012-12-14 02:56:11 +01:00
Thomas Tanghus
7b6924e44d Contacts: If a group is selected when adding a contact add it to that group. 2012-12-14 02:56:11 +01:00
Thomas Tanghus
77e8b8e761 Contacts: Contact actions refactor. 2012-12-13 02:48:52 +01:00
Thomas Tanghus
712b75c73b Contacts: Set height of contact photo. 2012-12-11 14:42:29 +01:00
Thomas Tanghus
3248ae6c09 Contacts: Fix strict error. 2012-12-11 14:42:01 +01:00
Thomas Tanghus
bba038189a Contacts: Removed not needed callbacks. 2012-12-11 14:41:22 +01:00
Thomas Tanghus
fea47ef50c Contacts: City/country auto-completion. 2012-12-11 06:58:42 +01:00
Thomas Tanghus
3c495e9f1f Contacts: Use the method since it's there ;) 2012-12-11 06:23:18 +01:00
Thomas Tanghus
8106ec28da Contacts: Fix saving new contact. 2012-12-11 06:22:51 +01:00
Thomas Tanghus
27b822c77d Contacts: Check for missing values in N. 2012-12-11 04:06:19 +01:00
Thomas Tanghus
8e1fb7c8ff Contact: Move rest of actions to popup. 2012-12-11 04:05:34 +01:00
Thomas Tanghus
c693eade6e Contect: use strict 2012-12-11 02:35:31 +01:00
Thomas Tanghus
9d448872b9 Contacts: Forgot to save NOTE 2012-12-11 02:35:31 +01:00
Thomas Tanghus
0a0640a503 Contacts: tipsy tweaks. 2012-12-10 20:58:34 +01:00
Thomas Tanghus
0a33635fad Contacts: Also disable parameter elements on readonly contacts. 2012-12-10 05:59:43 +01:00
Thomas Tanghus
b1d320c221 Contacts: Add error indicator on fields. 2012-12-10 05:59:08 +01:00
Thomas Tanghus
6dd8869ed3 Contacts: Draw border around new, editable fields. Fixes #316 2012-12-10 05:48:22 +01:00
Thomas Tanghus
dfa68f74a5 Contacts: Don't try to delete empty new properties. 2012-12-10 05:36:24 +01:00
Thomas Tanghus
c8ee19038f Contacts: Add group properties arg to addContact() 2012-12-10 00:10:39 +01:00
Thomas Tanghus
441337710e Contacts: Show contact in popup. 2012-12-10 00:10:39 +01:00
Thomas Tanghus
e222a8dee9 Contacts: Use css for hover actions. 2012-12-10 00:10:39 +01:00
Thomas Tanghus
95663966cb Contatcs: Clean up js logging. 2012-12-10 00:10:39 +01:00
Thomas Tanghus
62ba937296 Contacts: Remove unused method. 2012-12-07 15:09:13 +01:00
Thomas Tanghus
1706fe3412 Contacts: Add/remove address book structure. 2012-12-07 15:09:13 +01:00
Thomas Tanghus
c094f398f1 Contacts: N property was used in list element instead of FN. 2012-11-27 20:36:34 +01:00
Thomas Tanghus
8b82533f5d Contacts: Oops, show, don't hide :-P 2012-11-27 03:59:08 +01:00
Thomas Tanghus
f4c761259f Contacts: Speed up rendering all contacts. 2012-11-27 03:52:59 +01:00
Thomas Tanghus
73a86e8aed Contacts: Use $.each() instead of for(var ...) 2012-11-27 03:37:00 +01:00
Thomas Tanghus
593d3796b8 Contacts: Stupid copy/paste error. 2012-11-23 04:16:07 +01:00
Thomas Tanghus
a0f1094bc9 Contacts: Fix remove from group. 2012-11-23 02:25:48 +01:00
Thomas Tanghus
edf0e70b0d Contacts: Minor fixes. 2012-11-23 01:20:45 +01:00
Thomas Tanghus
e9de8f406b Contacts: refactor adding to/removing from group. 2012-11-23 01:16:46 +01:00
Thomas Tanghus
2e4dd75fcf Contacts: Remove unused variable placeholder. 2012-11-22 08:19:45 +01:00
Thomas Tanghus
a71a7fbbde Contacts: Show address meta-data in label. 2012-11-22 08:17:57 +01:00
Thomas Tanghus
df99a27957 Contacts: Group favorite button with other controls. 2012-11-22 05:34:37 +01:00
Thomas Tanghus
3ac9cf0d1f Contacts: Edit structured name inline. 2012-11-22 04:09:52 +01:00
Thomas Tanghus
2f23a59fad Contacts: Various fixes and cleanups. 2012-11-22 00:31:08 +01:00
Thomas Tanghus
1e50b086e4 Contacts: Avoid error msg from missing photo on new contact. 2012-11-22 00:29:37 +01:00
Thomas Tanghus
9c50bebe93 Contacts: Inline address editing. 2012-11-22 00:22:12 +01:00
Thomas Tanghus
6933e1c6bc Contacts: Fixed adding on first change. 2012-11-16 04:40:35 +01:00
Thomas Tanghus
873452eda9 Contacts: Simplified unload handling 2012-11-16 04:39:57 +01:00