1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-25 14:34:19 +00:00
Commit graph

139 commits

Author SHA1 Message Date
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
7ff3fd5e1c Merge branch 'main' of zero.ryg.one:nest/g2-progetto 2021-04-29 00:04:29 +02:00
Annielated
16de2a3773 . 2021-04-28 23:49:40 +02:00
Giovanni Anniballi
78fd695210 incompleto 2021-04-28 21:35:32 +00:00
Giovanni Anniballi
ff64b2edac le repositori vengono create, si necessitano però altri test 2021-04-28 21:32:45 +00:00
Annielated
10c4040da2 piccoli fix 2021-04-28 23:30:09 +02:00
stefanogoldoni
4f3c4936b0 testati tutti i casi del metodo user_delete 2021-04-28 23:23:46 +02:00
stefanogoldoni
5b71de4a51 creazione utente_test 2021-04-28 23:22:18 +02:00
Annielated
b0b0038a7a le repository vengono create correttamente, servono però ulteriori controlli 2021-04-28 23:18:38 +02:00
Giovanni Anniballi
8128b4622e importato unittest 2021-04-28 21:17:05 +00:00
Annielated
90afbc7674 Merge remote-tracking branch 'origin/main' 2021-04-28 23:15:16 +02:00
Annielated
8c5cb1735c importato unittest, rimossa chiamata della funzione che ora avviene grazie al parametro self 2021-04-28 23:14:21 +02:00
Lorenzo Balugani
ae6c906395 Fixed issue in Repository serializer 2021-04-28 22:06:28 +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
Annielated
6963e86ee4 user_delete testata e funzionante! 2021-04-28 00:49:06 +02:00
Annielated
9300617b6e user_delete testata e funzionante! 2021-04-28 00:47:23 +02:00
Annielated
a41afa415f user_create testata e funzionante 2021-04-28 00:44:21 +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
Annielated
6d62532a51 user_create testata e funzionante 2021-04-27 23:17:32 +02:00
Lorenzo Balugani
d1f9a89ae3 Fixed lack of JWT initialization 2021-04-27 22:48:43 +02:00
Lorenzo Balugani
76bac0833e App module + Explorer module
Now the app is inside its own module and can be used by the bot.
2021-04-27 16:34:55 +02:00
stefanogoldoni
eae6e3eb17 aggiunto verifica creazione utente 2021-04-26 23:19:17 +02:00
stefanogoldoni
a3f5139b76 Merge remote-tracking branch 'origin/main' into main 2021-04-26 23:18:33 +02:00
stefanogoldoni
5603f89064 aggiunto verifica senza parametri 2021-04-26 23:17:32 +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
Lorenzo Balugani
6e4bb34a1b Add API repository functions
Now an user can create, edit, list, add conditions, start and stop a repository.
2021-04-25 16:33:12 +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
Lorenzo Balugani
28bb5ed4e6 Database fixes
Damn typos. Nuke'm.
2021-04-22 16:54:27 +02:00
Lorenzo Balugani
013ce17aa8 Database implementation
All initial database classes are now properly implemented. Hurray!
2021-04-21 18:47:18 +02:00
Nemesis
ee3f696aef Even better backend structure 2021-04-19 16:23:50 +02:00
Nemesis
9a55ea049e Initial backend structure 2021-04-19 16:14:51 +02:00