1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-10 21:24:33 +01:00
Commit Graph

752 Commits

Author SHA1 Message Date
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
5940855319 Don't offer to select address book on import if there's only one 2013-05-11 01:42:09 +02:00
Thomas Tanghus
f9aeec98fd Remove loading gif after groups load 2013-05-11 01:41:24 +02:00
Thomas Tanghus
c8e87021ad Trigger showing contacts in current group after import/address book deletion 2013-05-10 02:15:24 +02:00
Thomas Tanghus
14f84921f5 Get rid of some more integer ids 2013-05-09 21:18:32 +02:00
Thomas Tanghus
06c971c0ec Add an extra check to popstate/hashchange 2013-05-09 06:11:02 +02:00
Thomas Tanghus
4dcaa98c20 Make doc string almost understandable 2013-05-09 05:55:44 +02:00
Thomas Tanghus
a9c1f00152 Binding on popstate gave some weird side effects 2013-05-09 05:54:17 +02:00
Thomas Tanghus
f1322fbe6d We don't use ints for ids anymore! 2013-05-09 05:53:46 +02:00
Thomas Tanghus
10015deb8f Missing variable. 2013-05-08 15:54:55 +02:00
Thomas Tanghus
7eb6a29cd5 Wrong argument to loadGroups 2013-05-08 06:53:33 +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
d1a9a84233 Fix addnew plugin auto close detection 2013-05-07 19:18:46 +02:00
Thomas Tanghus
f76ca64ba4 Add renaming address books. 2013-05-07 19:16:06 +02:00
Thomas Tanghus
f9be55a833 Pixel pushing setting components. 2013-05-07 14:57:59 +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
64454d2aba Contacts: Don't check for ID being number. 2013-05-05 16:26:19 +02:00
Thomas Tanghus
7bcd206679 Wrong variable name 2013-05-04 22:45:16 +02:00
Thomas Tanghus
8ee05eb430 Contacts: Get proper metadata on Contact instantiation. 2013-05-04 22:44:23 +02:00
Thomas Tanghus
a1e2b2ec64 Contacts: Add getOwner() and getMetaData() to js AddressBook object. 2013-05-04 22:41:44 +02:00
Thomas Tanghus
d435175b4e Contacts: Save status code and header functions in response object. 2013-05-03 05:56:55 +02:00
Thomas Tanghus
c649b4cbf1 General cleanup 2013-05-03 05:00:50 +02:00
Thomas Tanghus
2bd98c3cb7 Contacts: Use addnew plugin for groups. 2013-05-02 22:01:37 +02:00
Thomas Tanghus
c560af4375 Contacts: Tweak addnew plugin. 2013-05-02 21:59:06 +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
44aebd7111 Contacts: Add widget plugin for easy creation of misc. entries. 2013-05-02 20:42:24 +02:00
Thomas Tanghus
9c6b655c63 Contacts: Start on js AddressBook object 2013-05-02 20:42:23 +02:00
Thomas Tanghus
eef100e7a0 Misc. cleanup 2013-05-01 01:48:12 +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
6c1ff13838 Contacts: Make group adding a little smoother 2013-05-01 01:48:11 +02:00
Thomas Tanghus
1f77d32438 Contacts: Log if load of settings fails 2013-05-01 01:48:11 +02:00
Thomas Tanghus
7da675a1d5 Contacts: Port to new apps styles. 2013-04-30 20:00:33 +02:00
Thomas Tanghus
a7b30d8c5a Contacts: Property parameters wasn't saved 2013-04-27 04:38:28 +02:00
Thomas Tanghus
ec86678dec Contacts: Small steps towards RESTfulness 2013-04-25 04:50:45 +02:00
Thomas Tanghus
5ccd3a04bb Contacts: Remove userid from Storage requests 2013-04-25 04:40:12 +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
92d0c83574 Contacts: Use octemplate from core. 2013-04-15 22:47:11 +02:00
Thomas Tanghus
13e7448fca Contacts: Prevent double adding address books. Fix #1005 2013-04-12 12:33:25 +02:00
Thomas Tanghus
917a40e4df Contacts: Use done() and fail() from $.ajax() 2013-04-11 15:35:17 +00:00
Thomas Tanghus
bf620ad512 Contacts: Use a more generic error message for failed ajax requests. 2013-04-09 23:19:22 +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
3c1ee05d53 Contacts: Improved image upload 2013-04-08 22:35:28 +02:00
Thomas Tanghus
ac0d12470b Contacts: Rename 'database' backend to 'local' 2013-04-07 22:33:40 +02:00
Thomas Tanghus
9cfde339af ocdialog: Get title from element if not set in options 2013-04-07 21:50:34 +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
e57528d516 Contacts: Don't overwrite known address books. Fixes #942 2013-04-07 14:14:25 +02:00
Thomas Tanghus
1589866f8c Contacts: Removed js compatibility functions now in core. 2013-04-07 04:56:54 +02:00
Thomas Tanghus
fb7fd6fc2c Contacts: Make drag items opaque. 2013-04-06 17:13:18 +02:00
Thomas Tanghus
0a31763ac3 ocdialog: trigger 'open' in _init() 2013-04-06 15:05:58 +02:00
Thomas Tanghus
595e2a500e Contacts: Add substitute functions for older browsers (IE8) 2013-04-06 15:04:59 +02:00
Thomas Tanghus
9be1696594 ocdialog: Make parent height max dialog height. 2013-04-06 02:10:32 +02:00
Thomas Tanghus
55f4ebfa41 Contacts: Cache user in js config 2013-04-06 02:07:49 +02:00
Thomas Tanghus
ee8cded40e Contacts: Add thumbnails to merge list and move list item to template. 2013-04-05 22:21:08 +02:00
Thomas Tanghus
32ba67735e Contacts: Better wording for merge dialog. 2013-04-05 19:06:26 +02:00
Thomas Tanghus
a4f8b0002c ocdialog: Use spacing instead of separator under title. 2013-04-05 19:05:47 +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
199f59dcea Contacts: Send all entire contact identifier (backend, parent, id) in events 2013-04-05 04:10:32 +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
036df3bee4 Contacts: Return entire response if data is not set 2013-04-04 02:52:27 +02:00
Thomas Tanghus
9ae6a23e04 Contacts: Misc. js and css fixes. 2013-04-03 16:54:25 +02:00
Thomas Tanghus
84ae25b2cc Contacts: Updates to octemplate plugin. 2013-04-03 16:51:20 +02:00
Thomas Tanghus
f0938b20a2 Contacts: Updates to ocdialog plugin. 2013-04-03 16:50:50 +02:00
Thomas Tanghus
39c45f888e Contacts: Add support for JSON requests in Storage 2013-04-03 16:49:54 +02:00
Thomas Tanghus
9f61cc8d78 Contacts: Basic merge functionality 2013-04-03 16:43:18 +02:00
Thomas Tanghus
10c1a9ad8a Contacts: Updates to dialog handling. 2013-04-01 15:12:53 +02:00
Thomas Tanghus
954af6a951 Contacts: Get group sort order from js preferences 2013-04-01 03:55:04 +02:00
Thomas Tanghus
678948b1b5 Use readonly instead of disabling 2013-04-01 03:54:24 +02:00
Thomas Tanghus
eb7050df0b Contacts: Load preferences 2013-04-01 03:53:54 +02:00
Thomas Tanghus
c9b4946e88 Contacts: Load more preferences in js. 2013-04-01 03:51:57 +02:00
Thomas Tanghus
d059f9af09 Contacts: Add base for merging contacts. 2013-04-01 03:50:42 +02:00
Thomas Tanghus
0aa879dc45 Contacts: Load a server-side generated js script with preferences. 2013-04-01 03:44:46 +02:00
Thomas Tanghus
43c288bb9f Contacts: Add simple dialog jquery plugin. 2013-04-01 03:43:01 +02:00
Thomas Tanghus
bdfe960c44 Uninitialized var 2013-03-30 20:57:12 +01:00
Thomas Tanghus
cb7a039bca Contacts: Fix multi-favoriting. 2013-03-30 20:13:52 +01: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
f73146d948 Contacts: Cleaup template plugin 2013-03-30 07:31:46 +01:00
Thomas Tanghus
eda3257aa3 Wrong variable name used 2013-03-30 07:28:30 +01:00
Thomas Tanghus
6af6b0ab17 Wrong JSON property used 2013-03-30 07:27:51 +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
64c9f25ad2 Contacts: Fix adding contacts to new group. 2013-03-29 23:23:47 +01:00
Thomas Tanghus
757d4b16a9 Contacts: Chromium doesn't respond to keypress event on document. 2013-03-29 22:40:59 +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
7a16b4f870 Contacts: Remove group from internal list on deletion. 2013-03-29 17:32:06 +01:00
Thomas Tanghus
00f04fea49 Contacts: Fix getting value for compound properties (ADR, N) 2013-03-29 17:15:20 +01:00
Thomas Tanghus
01e4a01cab Contacts: Ported addToGroup and removeFromGroup 2013-03-29 06:51:16 +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
2b65c30bb0 Contacts: Dim contact list also when adding contact. 2013-03-23 13:19:14 +01:00
Thomas Tanghus
f6094a115e Contacts: Use inline data url for default profile picture. 2013-03-23 03:29:33 +01:00
Thomas Tanghus
ad3c9846b7 Correct typos 2013-03-23 02:08:07 +01:00
Thomas Tanghus
e42ad5193d Contacts: Add storage parameter to GroupList 2013-03-23 02:07:17 +01:00
Thomas Tanghus
135cd71331 Contacts: Fix parameters for profile pic 2013-03-23 02:06:34 +01:00
Thomas Tanghus
7e52147350 Contacts: Use Storage route for getting groups. 2013-03-23 02:05:22 +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
4303fb5fce Contacts: Use strings for contact id. 2013-03-22 14:55:47 +01:00
Thomas Tanghus
f11c29682a Contacts: Instantiate Storage object in OC.Contacts.init() 2013-03-22 14:54:47 +01:00
Thomas Tanghus
9c64617b04 Contacts: Moved octemplate plugin to separate file. 2013-03-22 14:53:27 +01:00
Thomas Tanghus
f591954689 Contacts: Implement new routes in js Storage. 2013-03-22 14:51:26 +01:00
Thomas Tanghus
28a57daa06 Contacts: Add routes for listing address books and contacts. 2013-03-22 14:49:34 +01:00
Thomas Tanghus
1e482b0b07 Contacts: Add missing unminified script. Fix #845 2013-03-22 03:27:47 +01:00
Thomas Tanghus
6818a92038 Contacts: Add missing unminified script. Fix #845 2013-03-22 03:26:11 +01:00
Thomas Tanghus
ef9b389d1b Contacts: Added stub for JS Storage "class" 2013-03-20 18:57:58 +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
62152caca9 Contacts: Dim contact list when adding contact. 2013-03-15 13:45:47 +01:00
Thomas Tanghus
d2774ebbf9 Contacts: Re-add add address book. Fixes #578 2013-03-14 23:17:41 +01:00
Thomas Tanghus
ca626859c4 Contacts: Re-add add address book. Fixes #578 2013-03-14 23:16:37 +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
3ac86ce032 Merge branch 'five_zero_dot_one' into contacts_backends
Conflicts:
	contacts/ajax/contact/saveproperty.php
	contacts/import.php
	contacts/js/app.js
	contacts/js/contacts.js
	contacts/js/groups.js
	contacts/lib/carddav/backend.php
2013-03-12 09:24:06 +01:00
Thomas Tanghus
e414c48148 Contacts: Much improved d'n'd. 2013-03-12 00:28:41 +01:00
Thomas Tanghus
55cef1600d Contacts: Wrong id used. 2013-03-12 00:27:06 +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
9b8a18d564 Contacts: Reset UI after failed import. 2013-03-09 16:41:45 +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
0aaddf0ca5 Contacts: Close contact on empty hash. 2013-03-05 02:31:13 +01:00
Thomas Tanghus
d74ef9de9e Contacts: Trigger hashchange onpopstate. 2013-03-05 02:31:13 +01:00
Thomas Tanghus
51c9517fb1 Contacts: Update location.hash on open/close. 2013-03-05 02:31:13 +01:00
Thomas Tanghus
1d2dfd7ff9 Contacts: Show/hide firstrun better. Fix #656 2013-03-04 17:57:46 +01:00
Thomas Tanghus
d5acb5b9ed Contacts: Fix uploading photo. 2013-03-04 15:11:55 +01:00
Thomas Tanghus
8bf571f7e2 Contacts: Disabled close-on-outside-click because it broke too much. 2013-03-04 14:46:53 +01:00
Thomas Tanghus
d9043b1757 Contacts: Remove copy of multiSelect widget. Ref #1833 2013-02-21 19:47:36 +01:00
Thomas Tanghus
e8b63a8d65 Contacts: Don't keep reference to deleted contact. 2013-02-20 13:14:31 +01:00
Thomas Tanghus
9a302d211f Contacts: Showstopper: Fix firstrun action. Also fix #580 2013-02-16 23:01:07 +01:00
Thomas Tanghus
cc8ebdaadd Contacts: Position list item better. 2013-02-12 20:56:27 +01:00
Thomas Tanghus
f49e3c962f Contacts: Removed some old notifier code. 2013-02-12 20:55:47 +01:00
Thomas Tanghus
12347f6b0b Contacts: Use jquery trim() 2013-02-12 11:56:43 +01:00
Thomas Tanghus
1e748d26b0 Contacts: Close contact on click outside of it. Ref #522 2013-02-12 10:54:10 +01:00
Thomas Tanghus
0a3c157f1c Contacts: inline notifier 2013-02-08 19:11:52 +01:00