1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 21:14:18 +00:00
Commit graph

57 commits

Author SHA1 Message Date
Lorenzo Balugani
b0217d6f36 The hell was I thinking 2021-05-12 23:09:29 +02:00
Lorenzo Balugani
cb508c4753 Fixes 2021-05-12 22:22:42 +02:00
Lorenzo Balugani
1e84796bd4 Resolve issue #146 2021-05-12 18:06:59 +02:00
Lorenzo Balugani
315996bb17 Resolve issue #224 2021-05-12 17:35:41 +02:00
Lorenzo Balugani
1019a43832 Resolve issues #103 and #225 2021-05-12 17:32:37 +02:00
Lorenzo Balugani
c4f7d65820 Merge remote-tracking branch 'origin/main' into main 2021-05-12 17:27:37 +02:00
Lorenzo Balugani
dfd1e67fab Resolve issue #227. 2021-05-12 17:27:28 +02:00
stefanogoldoni
8ca659f124 modificate le risposte patch e delete, adeguati di conseguenza i test 2021-05-11 23:47:47 +02:00
Lorenzo Balugani
312ce7a208 Now repositories are activated immediately. 2021-05-11 19:26:44 +02:00
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
Lorenzo Balugani
da4c5e1334 Add alert editing routes 2021-05-10 16:34:34 +02:00
Lorenzo Balugani
da2a7b9e8b Fixed conditions evaluation mode defaulting to '0' instead of ConditionMode.all_or. 2021-05-10 16:25:34 +02:00
Lorenzo Balugani
0b9b5e301a Add alert PUT 2021-05-10 11:00:21 +02:00
Stefano Pigozzi
7a4e99c4f1
⤴ Merge, resolving conflicts 2021-05-07 19:51:03 +02:00
Stefano Pigozzi
008efa1c24
💥 Create test framework 2021-05-07 19:46:14 +02:00
Lorenzo Balugani
0fe508071c Add docs 2021-05-07 19:31:57 +02:00
Lorenzo Balugani
2d00b9102f Add alert creation 2021-05-07 19:15:14 +02:00
Stefano Pigozzi
f19571504c
🐛 Fix internal server error on repository list 2021-05-07 16:59:21 +02:00
Lorenzo Balugani
a6bf0fc87f Add PUT method to repository api call. 2021-05-06 17:20:07 +02:00
Lorenzo Balugani
44f4b97ddf Updated database structure, added condition management. 2021-05-06 14:12:11 +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
425eb4fec0 More docs 2021-05-05 22:45:36 +02:00
Lorenzo Balugani
30dccec243 Started documentation port to Swagger. 2021-05-05 22:21:04 +02:00
Lorenzo Balugani
9645b7d007 Add commit 2021-05-02 22:51:12 +02:00
Lorenzo Balugani
b713be87d5 Fixed repo conditions 2021-05-02 22:41:39 +02:00
stefanogoldoni
16fe48e56b modificato parametro rid in id 2021-05-02 22:20:09 +02:00
Stefano Pigozzi
c3d08f1eee
🐛 Fix parameters bug 2021-05-02 22:18:15 +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
Stefano Pigozzi
08c086ba4d
🧹 Cleanup repository_conditions 2021-04-30 16:04:48 +02:00
Stefano Pigozzi
4803a8db59
🐛 GET requests can't have bodies 2021-04-30 15:48:05 +02:00
Stefano Pigozzi
400909feb8
🧹 Cleanup filter conditions 2021-04-30 15:46:53 +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
Stefano Pigozzi
601b8074a2
💥 I did so many things I forgot which specific ones I did 2021-04-26 22:08:52 +02:00
Lorenzo Balugani
5d45d0904c Repository filtering
Now the API can be asked to give only active repos or closed ones (or both).
2021-04-26 18:51:32 +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