Colin Darie
|
77fb0553fc
|
chore: enable freeze string literals by comment
|
2024-08-22 09:26:48 +02:00 |
|
simon lehericey
|
7e8555923f
|
feature(api): add ensure_token_is_not_expired to api_controller v1 and v2
|
2024-01-25 10:51:58 +01:00 |
|
simon lehericey
|
d8bc38bc69
|
feature(api): add ensure_authorized_network for api_controller v1 and v2
|
2024-01-25 10:51:58 +01:00 |
|
simon lehericey
|
afb6eacf57
|
feature(api): store any ip used
|
2023-12-21 16:02:11 +01:00 |
|
Paul Chavard
|
d93c624164
|
feat(traitement): add browser information
|
2023-11-08 00:09:38 +01:00 |
|
simon lehericey
|
118242dbd2
|
refactor api_controller
|
2023-09-20 14:11:09 +02:00 |
|
simon lehericey
|
40ed59a231
|
rename find_and_verify => authenticate
|
2023-09-20 14:11:09 +02:00 |
|
simon lehericey
|
0b03ba4d68
|
remove v1/v2 api token logic
|
2023-09-20 14:11:09 +02:00 |
|
Paul Chavard
|
e9cb50d09c
|
feat(api): add last_authenticated_at timestamp to api requests
|
2023-08-02 13:22:18 +02:00 |
|
Paul Chavard
|
8ee13f1719
|
feat(api_token): add allowed_procedure_ids and write_access
|
2023-03-15 19:09:49 +01:00 |
|
Paul Chavard
|
a47a056ee8
|
feat(api_token): api v1 use new token
|
2022-12-07 18:19:37 +01:00 |
|
Paul Chavard
|
df47f4a7ab
|
feat(graphql): new tokens should carry administrateur_id
|
2022-09-29 11:58:58 +02:00 |
|
Paul Chavard
|
549eca44cb
|
Enable flipflop on api requests
|
2019-03-12 14:02:55 +01:00 |
|
Paul Chavard
|
c37f649453
|
Update specs to use multiple administrateurs
|
2019-03-12 11:59:01 +01:00 |
|
Paul Chavard
|
01b966ff66
|
Check demarche ownership on multiple administrateurs
|
2019-03-12 11:59:01 +01:00 |
|
gregoirenovel
|
f3caa8ef7f
|
Remove apipie (and maruku)
|
2018-10-09 17:23:07 +02:00 |
|
simon lehericey
|
0b2a98cdce
|
ApiController: private some methods
|
2018-09-27 10:24:56 +02:00 |
|
simon lehericey
|
f7c23bb435
|
ApiController: remove ensure_token_is_present
An admin without token answer false to admin.api_token_valid?(api_token) with api_token=*
|
2018-09-27 10:24:56 +02:00 |
|
simon lehericey
|
4a04f2e59f
|
ApiController: check token validity for a given admin
|
2018-09-27 10:24:56 +02:00 |
|
simon lehericey
|
d576d426f4
|
ApiController: remove old authenticate logic
The old logic cannot work anymore as we cannot `find_by api_token`
|
2018-09-27 10:24:56 +02:00 |
|
simon lehericey
|
1997f45d7e
|
Api Token: do not generate one token by default
|
2018-09-27 10:14:32 +02:00 |
|
gregoirenovel
|
19a2398593
|
[Fix #1644] In API, current_administrateur -> administrateur
|
2018-03-19 11:09:30 +01:00 |
|
Frederic Merizen
|
d60765880f
|
Fix authentication token description
|
2018-03-16 10:10:43 +01:00 |
|
Paul Chavard
|
87d1948023
|
Add token authentication to API
|
2018-03-15 17:43:45 +01:00 |
|
gregoirenovel
|
0a9f442260
|
Enable some Rails cops
|
2018-03-06 17:18:44 +01:00 |
|
gregoirenovel
|
bbaebe0602
|
!foo.nil? -> foo.present?
|
2018-01-12 11:32:43 +01:00 |
|
gregoirenovel
|
7c34807f46
|
Don’t use unless
|
2018-01-12 11:32:43 +01:00 |
|
gregoirenovel
|
d5e7bbd80d
|
Files should end with a new line
|
2017-04-04 16:59:38 +02:00 |
|
Xavier J
|
d7fdf22abb
|
First fixed
|
2016-11-14 17:33:45 +01:00 |
|
Xavier J
|
b0fc7665e5
|
fix API V1 default format
|
2016-02-22 15:20:58 +01:00 |
|
Guillaume Lazzara
|
bd5a39ff17
|
Add CSV output for Dossier API
|
2016-02-19 16:59:39 +01:00 |
|
Tanguy PATTE
|
f474c8e8e1
|
add api v1 procedure controller
|
2015-12-21 17:51:49 +01:00 |
|