Lukas Reschke
ff24a91f48
Cleanup the unit tests and add some unit tests for controllers
2015-07-06 15:35:37 +02:00
Vincent Petry
0b5fb1bfc7
Fix to make it compatible with Sabre 2.1
...
Also fixed unit tests so they run but some still fail
- Added IUserSession mock
- Replaced OCP::getUser() with IUserSession usage to make the mock work
- Added base class for test cases
2015-03-17 12:53:05 +01:00
Morris Jobke
550b8f125c
migrate OC::session to OC::server->getSession
2014-11-26 09:29:05 +01:00
babelouest
de4bb76c53
after a painful rebase
2014-05-09 14:30:14 -04:00
Thomas Tanghus
9d672249da
Add route for getting AddressBook metadata. Refs. #412
2014-04-01 02:11:29 +02:00
Thomas Tanghus
a1c8fe7f1e
Merge pull request #444 from owncloud/import_multi_format2
...
Import from multiple formats
2014-03-23 14:18:48 +01:00
Thomas Tanghus
ce9a2797a9
Use \OC::->close(); instead of session_write_close();
2014-03-21 15:19:31 +01:00
Thomas Tanghus
05acb6e87a
Mostly done refactoring Photo controller
2014-03-20 01:55:57 +01:00
babelouest
919f540d01
Import from multiple formats
2014-03-11 16:43:32 +01:00
Thomas Tanghus
8a7ada1c37
Add support for HEAD and OPTIONS to address book
2014-01-29 23:49:58 +01:00
Thomas Tanghus
9abdeb75ce
2014
2014-01-26 00:40:22 +01:00
Thomas Tanghus
bf095621e0
Fix editing contact photos.
2013-10-22 17:10:23 +02:00
Thomas Tanghus
1d29b943ae
Finally works with core master
2013-10-17 02:10:50 +02:00
Thomas Tanghus
d71d4c84fd
Current adjustements with core. Still doesn't work with master
2013-10-11 14:47:54 +02:00
Thomas Tanghus
f8c46f1ad1
Various route and request adjustments
...
* All request bodies are now JSON.
* Contact property add/update/delete uses the same PATCH route.
2013-10-03 04:15:12 +02:00
Thomas Tanghus
6b88946e91
Now in a semi-working state
2013-10-01 19:15:22 +02:00
Thomas Tanghus
8b6f877fea
PATCH test WiP
2013-10-01 19:15:22 +02:00
Thomas Tanghus
67412f3679
Port controllers to OCP\AppFramework
2013-10-01 19:15:22 +02:00
Thomas Tanghus
cfd8cd02b3
Now loads with OCP\AppFramework
2013-10-01 19:15:22 +02:00
Thomas Tanghus
cf92673e8c
OC_ -> OCP\
2013-09-16 02:24:08 +02:00
Thomas Tanghus
322357dba1
New FileActions script for importing from filesystem. Closes #190
...
Needs owncloud/core#4784 to work properly
2013-09-10 00:30:39 +02:00
Thomas Tanghus
feb200bba6
Finally (re)implemented (de)activate address books. Closes #48
2013-09-05 22:08:34 +02:00
Thomas Tanghus
8ff09aab27
Move profile photo handling to separate controller
2013-09-04 08:03:33 +02:00
Thomas Tanghus
83d3320339
First iteration of barch deletion #110
2013-09-03 14:09:13 +02:00
Thomas Tanghus
b77f104447
Improve feedback on import.
2013-06-27 15:53:31 +02:00
Thomas Tanghus
c97f498905
Ported export. Fixes #108
2013-05-24 20:35:23 +02:00
Thomas Tanghus
e8c7047869
Implement rename group. Refs #97
2013-05-21 23:39:50 +02:00
Thomas Tanghus
b8b9c5dc91
Add GET route to single contact.
2013-05-09 05:58:28 +02:00
Thomas Tanghus
f76ca64ba4
Add renaming address books.
2013-05-07 19:16:06 +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
d4b18987ae
Contacts: Abstract js address book access and further simplify import.
2013-05-02 20:42:24 +02:00
Thomas Tanghus
ec86678dec
Contacts: Small steps towards RESTfulness
2013-04-25 04:50:45 +02:00
Thomas Tanghus
d837289da9
Contacts: Remove userid from routes
2013-04-25 04:29:59 +02:00
Thomas Tanghus
1c0c8097f2
Contacts: Move code to SettingsController
2013-04-25 04:19:41 +02:00
Thomas Tanghus
80294e935b
Contacts: Move code out out routing.
2013-04-25 01:04:29 +02:00
Thomas Tanghus
09413a4fca
Contacts: Step 2 in porting to app framework.
2013-04-19 09:59:30 +02:00
Thomas Tanghus
c3b49a1007
First attempt on port to app framework
2013-04-18 01:12:04 +02:00
Thomas Tanghus
e819c3462d
Contacts: ksort on array values
2013-04-08 22:39:22 +02:00
Thomas Tanghus
ac0d12470b
Contacts: Rename 'database' backend to 'local'
2013-04-07 22:33:40 +02:00
Thomas Tanghus
583a52e967
Contacts: Add requirements to routes.
2013-04-05 18:28:15 +02:00
Thomas Tanghus
c93e5feeec
Contacts: Get profile picture using Storage object.
2013-04-05 00:30:42 +02:00
Thomas Tanghus
ed349ccab3
Return all data after saveAll()
2013-04-04 02:56:20 +02:00
Thomas Tanghus
566be4bb67
Contacts: Use request factory methos in routes.
2013-04-03 16:54:56 +02:00
Thomas Tanghus
9f61cc8d78
Contacts: Basic merge functionality
2013-04-03 16:43:18 +02:00
Thomas Tanghus
c34db99e20
Contacts: Add route to trigger indexing
2013-04-01 03:47:59 +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
1f2c5d49ad
Contacts: Not all properties need a checksum
2013-03-30 07:26:29 +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
a7f4485d6e
Contacts: Check if checksum and parameters exists
2013-03-28 04:59:01 +01:00