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

308 commits

Author SHA1 Message Date
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
7b320f01c3
🚧 Start building PageDashboard 2021-04-29 17:04:56 +02:00
Stefano Pigozzi
5479a8dc35
🧹 Restructure project directories 2021-04-29 16:58:31 +02:00
Stefano Pigozzi
8c0fc2bd8a
Add component BoxConditionUser 2021-04-29 16:23:11 +02:00
Stefano Pigozzi
8509d4324c
🧹 Reformat code 2021-04-29 16:18:04 +02:00
Stefano Pigozzi
b707b1fc88
Add component BoxConditionHashtag 2021-04-29 16:17:22 +02:00
Stefano Pigozzi
418a06f939
Add BoxConditions and improve ConditionBadge and RepositoryEditor 2021-04-29 05:03:58 +02:00
Stefano Pigozzi
c81f50e3df
🐛 Fix hooks dependencies 2021-04-29 05:03:34 +02:00
Stefano Pigozzi
344544da52
Add serializer to Condition 2021-04-29 04:35:51 +02:00
Stefano Pigozzi
0fcbc64191
🚧 Add component RepositoryEditor
Documentation is missing
2021-04-29 04:28:33 +02:00
Stefano Pigozzi
875c5e0da9
🚧 Add components ConditionBadge.js and ButtonSmallX.js
Documentation is missing
2021-04-29 04:27:06 +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
8723e02a8d Merge remote-tracking branch 'origin/main' into main 2021-04-27 17:17:00 +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
Stefano Pigozzi
6f0520e2fa
🔧 Make dashboard spans into labels 2021-04-27 17:14:13 +02:00
Stefano Pigozzi
82dd89a1aa
🔧 Change checkbox and radio sizing 2021-04-27 17:14:01 +02:00
Stefano Pigozzi
e706a85095
Merge remote-tracking branch 'origin/main' 2021-04-27 16:52:59 +02:00
Stefano Pigozzi
488531d1d5
Add Slider 2021-04-27 16:52:54 +02:00
Lorenzo Balugani
586ba4258a Merge remote-tracking branch 'origin/main' into main 2021-04-27 16:35:02 +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
Stefano Pigozzi
21ef90f17f
Add TextArea 2021-04-27 16:21:18 +02:00
Stefano Pigozzi
90af13e2a9
🐛 Fix #98 by loading from localStorage without using an effect 2021-04-27 16:09:09 +02:00
Stefano Pigozzi
aa1b0dc748
🧹 Remove unused imports 2021-04-27 15:29:38 +02:00
Stefano Pigozzi
2f45fe382b
🔧 Update base template 2021-04-27 15:28:32 +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
Stefano Pigozzi
bde82a4829
↪ Use psycopg2-binary instead of psycopg2 2021-04-26 19:59:24 +02:00
Lorenzo Balugani
1478ec00cd Merge remote-tracking branch 'origin/main' into main 2021-04-26 18:51:41 +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
Stefano Pigozzi
4a28058f09
✏ Rename RepositorySummary.module.css to RepositorySummaryBase.module.css 2021-04-26 18:37:14 +02:00
Stefano Pigozzi
0b64aa609a
Merge remote-tracking branch 'origin/main' 2021-04-26 18:36:47 +02:00
Stefano Pigozzi
33b2bfb0d2
💥 Refactor the login/logout flow 2021-04-26 18:36:41 +02:00
Lorenzo Balugani
6d512c3abe Add sphinx docs 2021-04-26 18:14:53 +02:00
Lorenzo Balugani
eadff47422 Merge remote-tracking branch 'origin/main' into main 2021-04-26 17:03:25 +02:00
Lorenzo Balugani
6d6c0d76f6 Updated docs 2021-04-26 17:03:18 +02:00
Stefano Pigozzi
82033c2582
Merge remote-tracking branch 'origin/main' 2021-04-26 16:40:30 +02:00
Stefano Pigozzi
e0333ef261
🔧 Make BoxLoggedIn into its own component 2021-04-26 16:40:25 +02:00
Stefano Pigozzi
b69f4e6ef1
🔧 Add working and error to useSavedLogin 2021-04-26 16:35:00 +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
Stefano Pigozzi
335dce68f7
🗒 Improve README 2021-04-26 15:55:00 +02:00
Stefano Pigozzi
59d6f51dc7
🗒 Add backend README 2021-04-26 15:45:20 +02:00
Stefano Pigozzi
887299737e
🗒 Add README for the frontend 2021-04-26 15:20:26 +02:00
Stefano Pigozzi
5dde6add85
↪ Add react-docgen dependency 2021-04-26 15:19:19 +02:00
Stefano Pigozzi
31a77b0b93
🔨 Exclude build/ from the module 2021-04-26 15:18:40 +02:00
Stefano Pigozzi
eab841b454
Merge remote-tracking branch 'origin/main' 2021-04-25 17:25:27 +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
Stefano Pigozzi
3e5d39132a
💥 Sorry! I couldn't make an atomic commit! 2021-04-25 17:22:52 +02:00
Stefano Pigozzi
58064323c9
🔨 Fix .iml development kit 2021-04-25 17:14:17 +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
Stefano Pigozzi
bfdf01555e
🔨 Fix pyproject.toml name 2021-04-25 14:30:36 +02:00
Stefano Pigozzi
7edde79eed
🔨 Fix frontend not being correctly loaded as a module by IntelliJ
@uni-balu
2021-04-25 14:27:58 +02:00
Stefano Pigozzi
edc2c36756
🚧 Add WIP RepositorySummary component 2021-04-24 04:23:23 +02:00
Stefano Pigozzi
80d6bc98eb
Add --bg-accent color 2021-04-24 04:23:05 +02:00
Stefano Pigozzi
d565f4c5b6
🧹 Remove unused imports 2021-04-24 01:02:48 +02:00
Stefano Pigozzi
09d84eeae8
Complete BoxFullScrollable ! 2021-04-24 00:27:35 +02:00
Stefano Pigozzi
ff35676781
🚧 Add BoxFullScrollable (still WIP, doesn't support auto resizing)
Is it even possible?
2021-04-23 19:08:17 +02:00
Stefano Pigozzi
6d6825874f
Add more props to BoxFull 2021-04-23 19:07:50 +02:00
Stefano Pigozzi
1ffd4637f9
🧹 Remove useless action from form 2021-04-23 18:20:31 +02:00
Stefano Pigozzi
c81671a102
✏ Rename BoxWithHeader to BoxFull 2021-04-23 02:26:16 +02:00
Stefano Pigozzi
21c206aeaa
✏ Rename BoxHeaderOnly to BoxHeader 2021-04-23 02:24:42 +02:00
Stefano Pigozzi
f0b90bdb9c
↪ Add JSDoc to the dependencies 2021-04-23 02:21:06 +02:00
Stefano Pigozzi
2147e6c374
📔 Document _everything_ and refactor some things 2021-04-23 02:18:06 +02:00
Stefano Pigozzi
9e6a4c0c3f
🧹 Refactor setAndSaveTheme in its own hook 2021-04-23 01:29:51 +02:00
Stefano Pigozzi
9f341b2401
Merge remote-tracking branch 'origin/main' 2021-04-22 19:11:41 +02:00
Stefano Pigozzi
f825e00c57
Add Create Repository box 2021-04-22 19:10:36 +02:00
Stefano Pigozzi
c532426dbd
Add Form components 2021-04-22 19:10:19 +02:00
Lorenzo Balugani
a4268df8f5 Login + User creation
Add API calls for login and user creation.
2021-04-22 18:46:41 +02:00
Stefano Pigozzi
d87b33ffdb
Add Radio component 2021-04-22 18:38:14 +02:00
Stefano Pigozzi
5afdc1fb91
Add Checkbox component 2021-04-22 18:36:42 +02:00
Stefano Pigozzi
19ee9ae23f
🔧 Make outlines wider 2021-04-22 18:29:36 +02:00
Stefano Pigozzi
df117585e5
🔧 Improve accessibility 2021-04-22 18:26:45 +02:00
Stefano Pigozzi
04024634c8
🔧 Improve input styling 2021-04-22 18:19:11 +02:00
Stefano Pigozzi
232fd865f4
🔨 .gitignore does not seem to be working? 2021-04-22 18:08:27 +02:00
Stefano Pigozzi
e1e38a4635
Add PageSandbox to test various stuff 2021-04-22 18:06:50 +02:00
Lorenzo Balugani
004c9a4528 Merge remote-tracking branch 'origin/main' into main 2021-04-22 16:54:41 +02:00
Lorenzo Balugani
28bb5ed4e6 Database fixes
Damn typos. Nuke'm.
2021-04-22 16:54:27 +02:00
Stefano Pigozzi
f68bbb3d68
🔧 Save last set theme in the localStorage 2021-04-22 16:45:09 +02:00
Chiara Calzolari
7dbc8ce664 Replace LogoLight.png (aggiunto puntino finale) 2021-04-22 14:14:15 +00:00
Stefano Pigozzi
20803316ee
Merge remote-tracking branch 'origin/main' 2021-04-21 18:58:20 +02:00
Stefano Pigozzi
3a5cfbbe8d
Implement working SelectTheme 2021-04-21 18:58:14 +02:00
Lorenzo Balugani
75dc167aa6 Merge branch 'database-initial' into 'main'
Database implementation

See merge request nest/g2-progetto!1
2021-04-21 16:54:56 +00:00
Lorenzo Balugani
013ce17aa8 Database implementation
All initial database classes are now properly implemented. Hurray!
2021-04-21 18:47:18 +02:00
Stefano Pigozzi
24f70457b6
🔧 Add layout to PageHome 2021-04-21 18:46:35 +02:00
Stefano Pigozzi
863419d3bc
🔧 Add layout to PageSettings 2021-04-21 18:42:28 +02:00
Stefano Pigozzi
bc2e487e31
🔧 Add layout to PageRepositories 2021-04-21 18:32:43 +02:00
Stefano Pigozzi
e1d3d5c20d
🔧 Add layout to PageAlerts 2021-04-21 18:32:36 +02:00
Stefano Pigozzi
1a5f72c6b4
🔧 Make the box body grow 2021-04-21 18:32:19 +02:00
Stefano Pigozzi
fb78e6112a
🐛 Fix route matching order 2021-04-21 18:32:05 +02:00
Stefano Pigozzi
c73624f628
🔧 Pass ...props to the logo image 2021-04-21 18:31:49 +02:00
Stefano Pigozzi
882de3bac8
Add page routing 2021-04-21 18:22:04 +02:00
Stefano Pigozzi
bf73bc4a7b
📔 Document folders 2021-04-21 18:20:18 +02:00
Stefano Pigozzi
334bf6bbe3
🔮 Add interactivity to sidebar buttons 2021-04-21 18:00:21 +02:00
Stefano Pigozzi
4a107e1608
🔧 Switch default theme 2021-04-21 16:04:09 +02:00
Stefano Pigozzi
a9403ece2d
🔧 Improve icon centering 2021-04-21 16:04:00 +02:00
Stefano Pigozzi
2cc4ba56ca
Add multiple buttons to the Sidebar 2021-04-21 15:54:52 +02:00
Stefano Pigozzi
c726df9531
Add ButtonSidebar 2021-04-21 15:53:23 +02:00
Stefano Pigozzi
d93d7432b2
Add Logo to the sidebar 2021-04-21 15:37:12 +02:00
Stefano Pigozzi
93a60c02da
↪ Add react-router to the dependencies 2021-04-21 15:17:24 +02:00
Stefano Pigozzi
6017285a18
🔧 Add logo placeholder to the sidebar 2021-04-21 15:16:08 +02:00
Stefano Pigozzi
357ade1890
Add Layout and Sidebar 2021-04-21 15:08:54 +02:00
Stefano Pigozzi
92a15e089a
Add Input and InputWithIcon 2021-04-21 03:57:18 +02:00
Stefano Pigozzi
f18f0baa93
Add button with FontAwesomeIcon support 2021-04-21 03:32:19 +02:00
Stefano Pigozzi
c4ca5365cc
🔧 Remove margin from BoxWithHeader, it will be set externally 2021-04-21 03:09:13 +02:00
Stefano Pigozzi
add38ba38f
Add some new colors 2021-04-21 03:08:37 +02:00
Stefano Pigozzi
4f9a7bc272
🐛 Fix error in BoxWithHeader 2021-04-21 02:55:57 +02:00
Stefano Pigozzi
989688ce5b
🔧 Show a sample with children instead of body 2021-04-21 01:27:12 +02:00
Stefano Pigozzi
7bbd0a8421
🔧 Allow BoxWithHeader to accept nodes instead of objects as props 2021-04-21 01:22:51 +02:00
Stefano Pigozzi
0c887899bd
🔧 Tweak colors a little bit 2021-04-21 01:09:25 +02:00
Stefano Pigozzi
c8e8bb5b0a
🗑 Remove Box, as it actually wasn't that useful 2021-04-21 01:08:54 +02:00
Stefano Pigozzi
ed7d39a65a
Add BoxWithHeader component 2021-04-21 01:03:59 +02:00
Stefano Pigozzi
99894a8486
Import Bree Serif from Google Fonts 2021-04-21 00:48:35 +02:00
Stefano Pigozzi
c50690d0b6
🔧 Rename theme-x to ThemeX 2021-04-21 00:37:25 +02:00
Stefano Pigozzi
1d35c53820
Add base Box component 2021-04-21 00:35:44 +02:00
Stefano Pigozzi
68cbc25d86
🔧 Enforce border-box sizing 2021-04-21 00:28:23 +02:00
Stefano Pigozzi
d9b9297c90
Setup basic theme structure 2021-04-21 00:23:35 +02:00
Stefano Pigozzi
9ebbd7fc66
🧹 Reformat default files 2021-04-21 00:09:13 +02:00
Stefano Pigozzi
24d7490f82
Setup frontend files 2021-04-21 00:07:39 +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
Stefano Pigozzi
4c4f0387fe
🧹 Reorganize files 2021-04-17 17:31:08 +02:00
Stefano Pigozzi
07dfbad31a
⬆ Aggiungi README di altre cartelle 2021-04-16 01:54:35 +02:00
Stefano Pigozzi
28a231e188
🗒 Aggiorna documentazione sulla codebase 2021-04-15 19:30:07 +02:00
Stefano Pigozzi
fccee6e45a
First commit 2021-04-11 18:13:05 +02:00