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

24 commits

Author SHA1 Message Date
Lorenzo Balugani
351a8ba0ab Updated how POST works, changed http response codes 2021-05-11 19:08:14 +02:00
Lorenzo Balugani
390ee441c0 Fixed issues 2021-05-11 18:45:40 +02:00
Stefano Pigozzi
008efa1c24
💥 Create test framework 2021-05-07 19:46:14 +02:00
Lorenzo Balugani
a7d0c3488f Docs completed, JWT auth working on swagger. 2021-05-06 11:25:39 +02:00
Stefano Pigozzi
7fd0441df4
🔧 Use summary instead of description 2021-05-06 03:07:34 +02:00
Lorenzo Balugani
30dccec243 Started documentation port to Swagger. 2021-05-05 22:21:04 +02:00
Lorenzo Balugani
5df9053e91 Several fixes
Now all the tests should pass.
2021-05-01 14:25:50 +02:00
stefanogoldoni
f149fdc06c eliminato to_json dalla risposta get 2021-05-01 12:27:12 +02:00
Lorenzo Balugani
077524ff23 Fixes 2021-04-29 22:16:37 +02:00
Lorenzo Balugani
925ff9a9fa Breaking changes!
All the urls have been changed, and several have been regrouped. Please check the docstrings.
2021-04-29 21:59:05 +02:00
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