Commit Graph

7765 Commits

Author SHA1 Message Date
Nicolas Le Goff
bdde87718c Fix authorize oauth2 application 2014-03-24 12:29:39 +01:00
Nicolas Le Goff
16d9b0e61c Updates tests 2014-03-24 12:29:39 +01:00
Nicolas Le Goff
23eff56046 Add bi-directional reloationship for application to account & accout to tokens 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
6b50ee15a7 Add tests 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
137cacea0b Fix sets of expiration time 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
dce52c26d8 Add proper expire date to oauth code token 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
fa9189f78a Add oauth2 adapter as a service 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
40ff8968e9 Raise bad request exception if uri is malformed && Fix use statement 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
448baa8484 Checks id url is legal 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
2ed65f2461 Expires can be null 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
8926244153 Fix typo issue 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
f327d5a459 Update migration 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
e0d538c2c9 Split route field value & sets expie date to null 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
46124df500 Remove unique index on account_id 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
178da6a3a6 Fix tests 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
63b6de5fc8 Remove one to one relation beetween account and token & add lastUsed field for token 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
2cc2387c87 Fix migration SQLs 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
426816e2d3 Checks if api tables exists before apllaying patch 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
8fc7ec3714 Fix infinite loop 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
ec07e33c9f Fix patch 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
2e1a505774 Create phraseanet oauth application when installation is done 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
d09cbbb8cf Add ApiLog Manipulator tests 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
6c087f5a40 Remove api tables 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
ce41455e45 Update ORM's tables 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
03d19262b6 Fix token generation 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
c00c10822e Add ApiAccountManipulator tests 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
a3e63f7cb2 Add ApiApplicationManipulator tests 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
bf5b02a583 Sets api tokens fields length to 128 for migration purpose 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
2c19ec546d Add providers tests 2014-03-24 12:28:47 +01:00
Nicolas Le Goff
5145848161 Add Migration patch 2014-03-24 12:28:47 +01:00
Nicolas Le Goff
3ef081ec12 Fix typo 2014-03-24 12:28:20 +01:00
Nicolas Le Goff
80bf2a2f57 Fix tests 2014-03-24 12:28:20 +01:00
Nicolas Le Goff
af81e9d84b Fix method calls in templates 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
1cd5237363 Fix typos 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
d91cba1e8e Fix method calls 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
0cd4bb6e6a Fix DQL 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
0591976fe7 Fix missing namespace 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
07111a0e1b Add rememberSessionid method 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
00d0a463f8 Fic constant call & improve error message 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
ae25f57330 Remove Session relationship 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
d4ccdfe9b4 Fix mappedBy value for accounts relation 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
e59090fe87 Fix typo 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
ab2d03530e Replace id attribute by application 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
9411e57c15 Fix missing namespace & organize data for the view 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
de3795c8ea Fix method calls 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
2e00e70218 Add fixtures 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
f0d9cf7324 Register api log manipulator & repository 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
6f05d704c1 Fix method calls 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
a55a266de2 Fix ID genration startegy 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
c4165ab03e Session can be null 2014-03-24 12:28:18 +01:00