Commit Graph

144 Commits

Author SHA1 Message Date
Nicolas Le Goff
652b5fb08f Expires can be null 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
7b85b03d13 Set api version when creating new account 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
6f87cab8c1 Fix annotation issue 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
3ecdd4306b Sets relation beetwen token and account entity to One-To-One Bi-Directional 2014-03-24 12:28:17 +01:00
Nicolas Le Goff
2882c11721 Add Api Application Converter 2014-03-24 12:28:17 +01:00
Nicolas Le Goff
2ffcb38985 Use TokenManipulator::LETTERS_AND_NUMBERS instead of old random::LETTERS_AND_NUMBERS 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
8439826db1 Add ApiLog Manipulator 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
09885d71b5 Add some constant 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
05877e49b8 Add method property 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
b75d331a05 Add findByUserAndApplication method 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
f792b0051f Add setRefreshToken method 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
8744227409 Add setCode method 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
9529581f41 Add setOauthToken method 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
a11aa87d0a Return null if application is not found instead of throwing an exception 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
c065340046 Add ApiOauthRefreshToken Repository 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
56f417a03f Add ApiOauthRefreshToken Manipulator 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
3630b942b6 Set oauthToken field length to 32 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
536e54fed7 Add ApiOauthCode Manipulator 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
d6a5a79229 Add some OauthCode repository functions 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
5296601d62 Set scope length to 128 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
a9c0c3a787 Set code length to 16 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
feca23e1c6 Add OauthToken manipulator 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
c477c254e6 Fix use statement 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
bbbc8f7e02 Add some application repository function 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
c5d803ac26 Add Application Manipulator 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
e99b49d191 Add Account Manipulator 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
ce90b7c3bf Sets clientId & clientSecret field length to 32 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
0d4bd6ef30 Add accounts property getter 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
60474d618c Add cascade remove for accounts relationship, when deleting an application related accounts will be deleted as well 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
d3205e6f6a Add Bi-Directional relationship between ApiApplication & ApiAccount 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
2ed0ce1f9d Set default value for grantedPassword & activated properties 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
6d334f1cf8 Add web, desktop & URN constant for API application 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
349834fa99 Set revoked to false by default 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
6c58adbd93 Fix bad index 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
5d3cba6ce5 Add oauth repositories 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
061365fd54 Add oauth entities 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
e317f86c51 Fix CS 2014-03-23 23:07:01 +01:00
Nicolas Le Goff
aaa60866b5 Password can be null 2014-03-16 15:50:10 +01:00
Nicolas Le Goff
9e660d8b3f Fix binary string type 2014-03-16 06:28:51 +01:00
Nicolas Le Goff
dcde280b09 Fix cae sensistive sql fields by setting binary_string 2014-03-14 15:20:25 +01:00
Nicolas Le Goff
8edc194a85 Add binary string type 2014-03-14 15:20:07 +01:00
Nicolas Le Goff
633fad7c75 Fix Orders migration 2014-03-14 11:37:12 +01:00
Nicolas Le Goff
4af7dbddb1 Transform thesaurus preset into doctrine Entity 2014-03-06 01:31:43 +01:00
Romain Neutron
8b6cb53a36 Add token entities 2014-03-05 15:27:43 +01:00
Nicolas Le Goff
1d8b6edc46 Use user manipulator to log user query 2014-03-04 19:53:07 +01:00
Nicolas Le Goff
6c3cdfc52e Merge pull request #1006 from romainneutron/fix-connection-master
[Ready][3.9] Add reconnectable connection
2014-03-04 11:19:44 +01:00
Romain Neutron
1713c23c59 Merge branch '3.8'
Conflicts:
	bin/console
	lib/Alchemy/Phrasea/Controller/Api/V1.php
	lib/Alchemy/Phrasea/Controller/Prod/Edit.php
	lib/Alchemy/Phrasea/Core/Version.php
	lib/classes/API/V1/Interface.php
	lib/classes/API/V1/adapter.php
	lib/classes/Feed/XML/Abstract.php
	lib/classes/Feed/XML/Cooliris.php
	lib/classes/User/Adapter.php
	lib/classes/media/Permalink/Adapter.php
	lib/classes/media/abstract.php
	lib/classes/media/subdef.php
	lib/classes/p4file.php
	lib/classes/record/preview.php
	lib/conf.d/_GV_template.inc
	tests/Alchemy/Tests/Phrasea/Controller/Api/ApiTestCase.php
	tests/Alchemy/Tests/Phrasea/Core/Provider/FileServeServiceProviderTest.php
	tests/classes/media/Permalink/media_Permalink_AdapterTest.php
2014-03-03 17:00:17 +01:00
Romain Neutron
8cf73891c0 Add reconnectable connection 2014-03-03 01:00:15 +01:00
Romain Neutron
92a4c35340 Substitute random string generator by Randomlib 2014-03-02 21:13:57 +01:00
Romain Neutron
3cd43708b0 Merge pull request #990 from romainneutron/repositories-as-services
[Ready][3.9] Repositories as services
2014-03-01 15:49:24 +01:00