Commit Graph

180 Commits

Author SHA1 Message Date
Nicolas Le Goff
40da069bf3 Fix tests 2015-02-06 20:03:33 +01:00
Nicolas Le Goff
b2dad6c18a Fix SQL queries 2015-02-06 17:01:49 +01:00
Nicolas Le Goff
33fc12e09e Remove strict comparison 2015-02-06 16:17:26 +01:00
Nicolas Le Goff
088b0672cb Fix latest merge 2014-12-15 11:40:30 +01:00
Nicolas Le Goff
de7988689e Update directory structure & allow to configure paths (tmp, log, cache) 2014-09-05 15:57:00 +02:00
Nicolas Le Goff
66fa05f4ee Fix CS 2014-07-17 15:17:04 +02:00
Nicolas Le Goff
24b885eb7c Fix tests 2014-07-03 15:07:35 +02:00
Nicolas Le Goff
1970439edb Fix latest merge 2014-06-24 16:40:12 +02:00
Nicolas Le Goff
0d040519f3 Add third party application webhook event 2014-06-23 17:48:42 +02:00
Nicolas Le Goff
1250f8ab0b Fix latest merge 2014-06-19 16:11:27 +02:00
Nicolas Le Goff
b92370cca2 Merge pull request #1021 from nlegoff/api-doctrine
[READY][3.9] Transform api_* tables to doctrine entities
2014-06-13 14:13:23 +02:00
Nicolas Le Goff
1054483ae9 Fix latest merge 2014-03-30 21:17:46 +02:00
Nicolas Le Goff
bf3f870a91 Store UNIX timestamp for token expiration 2014-03-24 12:29:39 +01:00
Nicolas Le Goff
dce9269d86 Add setLastused function to OauthTokenManipulator 2014-03-24 12:29:39 +01:00
Nicolas Le Goff
9de0dd41dc Fix uri detection for oauth code 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
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
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
8fc7ec3714 Fix infinite loop 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
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
bf5b02a583 Sets api tokens fields length to 128 for migration purpose 2014-03-24 12:29:37 +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
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
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