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

175 commits

Author SHA1 Message Date
FlaviaC-uni
40d2869f3e aggiunto / 2021-05-07 17:21:58 +02:00
Stefano Pigozzi
f19571504c
🐛 Fix internal server error on repository list 2021-05-07 16:59:21 +02:00
Stefano Pigozzi
6af4d57f36
🐛 Tentative fix for weird bug 2021-05-07 16:49:55 +02:00
g.minoccari
115cff620e Rinominata cartella 2021-05-07 10:57:46 +02:00
g.minoccari
a8f98f977d Merge branch 'tweet-explorer'
# Conflicts:
#	code/backend/nest_backend/__main__.py
#	code/backend/nest_backend/database/tables/Repository.py
#	code/backend/nest_backend/tweetexplorer/__main__.py
#	code/backend/poetry.lock
#	code/backend/pyproject.toml
2021-05-07 10:55:12 +02:00
g.minoccari
93d01cb158 #bugfix Prevista la possibilita' che non esista la data nel database legata a un repository, e restituita stringa vuota nel json in quel caso 2021-05-07 10:16:57 +02:00
g.minoccari
e6163d41c3 Aggiunte dipendenze tramite poetry 2021-05-07 10:15:49 +02:00
g.minoccari
647e5f722f Rinominata cartella e aggiunti metodi per effettuare richieste all'api di twitter a partire dalle condizioni associate a una repository 2021-05-07 10:15:10 +02:00
g.minoccari
e32f4263b0 aggiunti oggetti di test nel main per effettuare ricerche da repository 2021-05-07 10:11:53 +02:00
Stefano Pigozzi
8f35faaa9e
🔨 Run poetry update 2021-05-07 03:34:16 +02:00
Stefano Pigozzi
86f1b550f8
🔨 Add all authors 2021-05-07 03:34:05 +02:00
Stefano Pigozzi
5393de0d21
🔨 Move pytest and Sphinx to dev-dependencies 2021-05-07 03:33:55 +02:00
Stefano Pigozzi
db12d7da9c
Add user ConditionType 2021-05-07 03:29:59 +02:00
Stefano Pigozzi
c34caac724
🗒 Documentazione 2021-05-07 00:08:39 +02:00
Lorenzo Balugani
079f62e278 Welcome to fun island, population: me 2021-05-06 17:37:37 +02:00
Lorenzo Balugani
79cfec1993 The fun never ends 2021-05-06 17:35:44 +02:00
Lorenzo Balugani
7f2b36f1b5 Relative imports fun 2021-05-06 17:31:49 +02:00
Lorenzo Balugani
c165c80c6d Poetry shenanigans 2021-05-06 17:30:27 +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
Stefano Pigozzi
cbe5783ac0
🔧 Use correct version in swagger.json 2021-05-06 03:03:00 +02:00
Stefano Pigozzi
9d644605d5
🧹 Reformat code 2021-05-06 03:02:13 +02:00
Stefano Pigozzi
31dec8a56a
🔧 Move swagger.json to /docs 2021-05-06 02:55:11 +02:00
Stefano Pigozzi
72d349aa90
Add new condition types 2021-05-06 02:48:22 +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
Annielated
f06b9cdb61 Aggiunti test per luogo, data e un filtro combinato 2021-05-02 23:56:29 +02:00
stefanogoldoni
758779d05a completati i controlli sulle condition 2021-05-02 23:02:25 +02:00
stefanogoldoni
1d6e393185 Merge remote-tracking branch 'origin/main' into main 2021-05-02 23:01:19 +02:00
stefanogoldoni
b58ef760e3 corretta serializzazione di type 2021-05-02 23:01:10 +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
Giovanni Anniballi
86ed277f31 update repository_test 2021-05-02 16:03:19 +00:00
Annielated
a075ecbe88 aggiunto test della richiesta patch 2021-05-02 17:59:02 +02:00
stefanogoldoni
05ef878875 eliminato il commento del ToDo 2021-05-02 16:50:11 +02:00
stefanogoldoni
7bef4474ec Merge remote-tracking branch 'origin/main' into main 2021-05-01 18:18:20 +02:00
stefanogoldoni
a14a44f546 test dei metodi get, delete e patch 2021-05-01 18:18:13 +02:00
Annielated
75dc9f1c90 test per l'aggiunta di condizioni ad una repository, attualmente non funzionante, errore 500 quando si richiedono info sulla repo e 400 quando si aggiunge una condition, da risolvere 2021-05-01 18:17:24 +02:00
stefanogoldoni
84b4c11e60 test dei metodi get e delete 2021-05-01 15:32:07 +02:00
Lorenzo Balugani
5df9053e91 Several fixes
Now all the tests should pass.
2021-05-01 14:25:50 +02:00
stefanogoldoni
728fbd66f2 decommentato test del metodo get, ma ancora error 500... 2021-05-01 12:29:10 +02:00
stefanogoldoni
e6134abaaf aggiunto test del metodo get 2021-05-01 12:28:26 +02:00
stefanogoldoni
f149fdc06c eliminato to_json dalla risposta get 2021-05-01 12:27:12 +02:00
Annielated
36b652eb2f aggiunti metodi get, patch e delete per repositories_test, impostato TODO per l'aggiunta di patch e get per user_delete_test 2021-05-01 01:28:57 +02:00
stefanogoldoni
11ab4143bb lettura e creazione repository testata in tutti i metodi 2021-04-30 22:21: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
Annielated
28979d7f8a Merge remote-tracking branch 'origin/main' 2021-04-30 00:30:21 +02:00
Annielated
b8ad2020f8 . 2021-04-30 00:29:32 +02:00
stefanogoldoni
549877fb53 delete testata in tutti i metodi 2021-04-30 00:12:25 +02:00
stefanogoldoni
be7820521c manca test della delete perchè il server da errore 500 2021-04-30 00:06:23 +02:00
stefanogoldoni
e5c85e1604 Merge remote-tracking branch 'origin/main' into main 2021-04-29 22:47:26 +02:00
stefanogoldoni
deefe6841a eliminate print di controllo 2021-04-29 22:46:30 +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
344544da52
Add serializer to Condition 2021-04-29 04:35:51 +02:00
Stefano Pigozzi
61bed76db8
✏ Rename directory as it wasn't a valid Python identifier 2021-04-29 04:26:34 +02:00
Stefano Pigozzi
0b8f9a6818
🧹 Reformat code 2021-04-29 04:02:08 +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
Stefano Pigozzi
2b488d9028
🔨 Mark test as test sources root 2021-04-29 03:45:55 +02:00
stefanogoldoni
d6229e6438 eliminate print di controllo 2021-04-29 00:33:40 +02:00
stefanogoldoni
54217fc8c2 cancellato utente_test al termine dei test 2021-04-29 00:32:47 +02:00
stefanogoldoni
0b09d2274a inserito test con utente non amministratore 2021-04-29 00:32:06 +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
7ff3fd5e1c Merge branch 'main' of zero.ryg.one:nest/g2-progetto 2021-04-29 00:04:29 +02:00
Annielated
e5d58899f3 gitignore 2021-04-29 00:03:10 +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
Stefano Pigozzi
06a59dc52a
Merge remote-tracking branch 'origin/main' 2021-04-27 22:22:28 +02:00
Stefano Pigozzi
10e7152737
🔨 Fix .iml files 2021-04-27 22:22:21 +02:00
g.minoccari
cf6c3a12ec Modificato nelle dipendenze psycopg2 in psycopg2-binary per compatibilita' in ambiente mac 2021-04-27 17:16:36 +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