1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-23 05:24:18 +00:00
Commit graph

14 commits

Author SHA1 Message Date
Stefano Pigozzi
a481a4e087
🔧 Increase token expiration date to 30 days, and send it in the login response 2021-04-29 03:53:20 +02:00
stefanogoldoni
d6229e6438 eliminate print di controllo 2021-04-29 00:33:40 +02:00
stefanogoldoni
5b28931e9d mancava un return 2021-04-29 00:29:12 +02:00
Stefano Pigozzi
766a16b686 Revert "piccoli fix"
This reverts commit 10c4040da2
2021-04-29 00:14:38 +02:00
Lorenzo Balugani
39eab92808 Added error handler
Now errors are returned in json format
2021-04-29 00:07:43 +02:00
Annielated
10c4040da2 piccoli fix 2021-04-28 23:30:09 +02:00
Annielated
aaab6094a9 importato unittest, rimossa chiamata della funzione che ora avviene grazie al parametro self 2021-04-28 19:55:59 +02:00
stefanogoldoni
9ea852b50b modificato il ritorno per tornare i dati del nuovo utente, perchè tornava i dati di admin 2021-04-28 00:51:31 +02:00
stefanogoldoni
c708e6bfff durante i test abbiamo notato che gli utenti non venivano eliminati ed avevamo una eccezione. Abbiamo modificato la cancellazione chiamando il metodo() delete invece di remove() 2021-04-28 00:40:46 +02:00
Lorenzo Balugani
6d6c0d76f6 Updated docs 2021-04-26 17:03:18 +02:00
Lorenzo Balugani
bbf7c1e360 Uniformed json output
Warning: breaking changes ahead! All the data that gets returned by functions is now incapsulated within "data" (response['data']).
2021-04-26 16:26:25 +02:00
Lorenzo Balugani
68de565b26 Login test
Added a python test to check that the login procedure works properly
2021-04-25 17:24:37 +02:00
Lorenzo Balugani
c7ec25b811 User removal, repository creation, CORS 2021-04-25 15:41:27 +02:00
Lorenzo Balugani
a4268df8f5 Login + User creation
Add API calls for login and user creation.
2021-04-22 18:46:41 +02:00