1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-23 07:14:21 +00:00
Commit graph

134 commits

Author SHA1 Message Date
7fa476a86d
🔧 Store authorization data in localStorage 2021-10-10 16:34:09 +02:00
839a62cf5a
🔧 Default to PATCH for commands and actions 2021-10-10 16:10:59 +02:00
7f49644a25
🐛 Fix wrong url being generated for actions 2021-10-10 16:10:10 +02:00
bc701ade24
🔧 Make ResourcePanel buttons fixed width 2021-10-10 16:02:08 +02:00
461d353c69
Add command and action to useManagedViewSet 2021-10-10 16:01:43 +02:00
4f9ee37fb2
🔧 Swap button location in AuthorizationLogoutBox 2021-10-08 17:02:02 +02:00
1bb09cc0e5
🔧 Change login flow 2021-10-07 20:38:57 +02:00
3d42add8d8
🔧 Add status text to the GroupListBox 2021-10-07 19:35:52 +02:00
955aa52503
🔧 Add status text to the ProjectListBox 2021-10-07 19:33:58 +02:00
5e74e9b8d7
🔧 Add status text to the NotebookListBox 2021-10-07 19:33:19 +02:00
161c154918
🔧 Add flavour text to NotebookListBox 2021-10-07 18:47:43 +02:00
c7d6aa4797
🔧 Remove instance name from GroupListBox 2021-10-07 18:44:13 +02:00
94156a1e56
🔧 Add flavour text to ProjectListBox 2021-10-07 18:43:37 +02:00
efd3c10d75
🔧 Add flavour text to GroupListBox 2021-10-07 18:36:20 +02:00
34836e5763
Create NotebookListBox and NotebookResourcePanel and NotebookRouter 2021-10-07 05:32:38 +02:00
5280f2d432
Create ProjectListBox and ProjectResourcePanel 2021-10-07 05:25:53 +02:00
1cc229730c
Create ProjectRouter 2021-10-07 05:17:45 +02:00
ce57ea43b9
💥 Walk to hell and back to type ResourceRouter and it turned out it wasn't possible 2021-10-07 05:06:31 +02:00
af04e9f597
🤔 Add a TODO to GroupListBox 2021-10-07 02:42:46 +02:00
0552c02197
Create GroupListBox 2021-10-07 02:36:49 +02:00
30d8ec11a2
Create GroupRouter 2021-10-07 02:14:34 +02:00
3883d8fd23
🔧 useAuthorizedAxios in the useViewSet hook 2021-10-07 02:00:23 +02:00
6124764c38
🧹 Remove unused interface 2021-10-07 01:56:53 +02:00
a2e391e33a
🧹 Remove unnecessary dependencies from canLogin 2021-10-07 01:56:40 +02:00
91cb8fa456
🐛 Fix highlighting of the LoginBox while logging in 2021-10-07 01:56:17 +02:00
3225144010
🐛 Add trailing slash to /api/core/instance/ 2021-10-07 01:52:35 +02:00
4089ff893b
🔧 Fail validation if an error is returned by /api/core/instance/ 2021-10-07 01:52:16 +02:00
09700fd6a0
🔧 Remove the messagePanel from the LoginBox 2021-10-06 18:23:40 +02:00
86a3cc5a4a
Add a logout box 2021-10-06 17:59:03 +02:00
fbf371cd27
🔧 Make AuthorizationRouter "return" the AuthorizationState instead of true 2021-10-06 17:17:51 +02:00
919cc3a4cb
🔧 Export more types from contexts 2021-10-06 17:17:16 +02:00
9a26b1953e
🐛 (Re)fix ResourceRouter bug 2021-10-06 17:12:42 +02:00
02332af9ec
🐛 Fix React warnings 2021-10-06 16:41:47 +02:00
dbdff02888 🔧 Use <pre> in InstanceDescriptionBox 2021-10-06 04:38:19 +02:00
e6bf8e97c9 Add AuthorizationAdminBox 2021-10-06 04:38:19 +02:00
85b55850b6 💥 Make more progress towards the "Context" structure 2021-10-06 04:38:19 +02:00
4531dc5e09 💥 Shuffle everything around until it makes sense 2021-10-06 04:38:19 +02:00
0ac2924bcf 🐛 Fix a weird typescript error 2021-10-06 04:38:19 +02:00
0085559ac9 💥 Develop the "SophonInstance" components 2021-10-06 04:38:19 +02:00
81dbfbd68b 💥 Replace useContext with useLookAndFeel 2021-10-06 04:38:19 +02:00
fc75ff2ede 💥 Add footer and delete legacy components 2021-10-06 04:38:19 +02:00
340bf52772 🔧 Use "LookAndFeel" components to handle theme 2021-10-06 04:38:19 +02:00
e66060aaf1 Complete the LocationViewSetRouter 2021-10-06 04:38:19 +02:00
2662d70517 Add PathSplitter utility class 2021-10-06 04:38:19 +02:00
0d5ac18fcf 💥 Make progress towards the new "Context" structure
This commit is the result of multiple squashed non-atomic commits.
2021-10-06 04:38:19 +02:00
7b56246c37 🧹 Optimize imports 2021-10-06 04:38:19 +02:00
8a616ae711 🔧 Remove Projects list from the InstancePage 2021-10-06 04:38:19 +02:00
b0baf55bb5 🚧 Start working on "Create object" panel 2021-10-06 04:38:19 +02:00
bbca2b6deb
Add research projects listing 2021-09-21 18:01:46 +02:00
d197ffa5f2
Add user page 2021-09-21 17:32:05 +02:00
ca8bb1780b
Abstract some more things 2021-09-21 16:50:34 +02:00
5a74264170
Complete instance customization 2021-09-21 16:22:50 +02:00
47d0e5c2ff
Add basic support for the instance details 2021-09-20 18:18:45 +02:00
8d751429be
Add some error handling 2021-09-20 17:53:54 +02:00
782fc1409c
Add header link 2021-09-20 17:13:35 +02:00
b052218a13
🔧 Fix warnings 2021-09-20 17:08:04 +02:00
87965c4288
🧹 Optimize imports 2021-09-20 16:55:05 +02:00
0f8a00ad53
Fix links 2021-09-20 00:59:01 +02:00
20efc56059
Get a working implementation of the research groups list 2021-09-20 00:28:02 +02:00
6ad2fd7070
🚧 More WIP API stuff 2021-09-19 23:49:16 +02:00
bcf1b3f238
Add types for the types of objects returned by the backend 2021-09-19 21:39:54 +02:00
0c1ce76f94
🚧 Start work on the backend-viewset hook 2021-09-19 17:33:48 +02:00
d8687680a0
🔧 Add config parameter default value in useLoginAxios 2021-09-19 16:38:42 +02:00
682b6deba8
🔧 Add a "Continue to Sophon" button to the Logout box 2021-09-19 16:29:08 +02:00
f75edfc00d
🔧 Add icons to the login page 2021-09-19 16:24:27 +02:00
3854e75a23
Store userData in localStorage 2021-09-19 16:03:15 +02:00
ad6b4c423e
Add username validator 2021-09-19 16:01:08 +02:00
e72fc46e93
🧹 Fix warnings 2021-09-17 00:19:53 +02:00
6086a979fe
🧹 Optimize imports 2021-09-17 00:16:04 +02:00
a20aa0162a
Complete login (finally) 2021-09-17 00:07:54 +02:00
870caa098b
Progress logout 2021-09-16 20:38:48 +02:00
610f5eb018
Add login context and instancebox 2021-09-16 17:43:57 +02:00
d5e78ca7fa
Add instance context 2021-09-16 17:15:20 +02:00
f9f3f3a69d
something 2021-09-16 16:05:39 +02:00
4591c1d1fa
🚧 Do something about the login 2021-09-14 23:34:18 +02:00
87f84b3bbf
🔧 Make useValidatedState catch errors and return "error" 2021-09-14 17:20:10 +02:00
77f5d7849a
Create InstanceBox to select Sophon instance 2021-09-14 04:16:34 +02:00
3a38b70231
💥 Recommit lost commits from the hard drive format (: 2021-09-14 03:35:36 +02:00
4a4824395a
Implement Notebook app (#65)
*  Start notebooks app
* 🔧 Fix nullable fields for notebooks
* 🔧 Display user-friendly name for `Notebook`s
* 🔧 Allow filtering in the notebook admin page
* 🗒 Improve README
* 🗒 Improve README again
* ⬆ Add bluelib to the dependencies of the frontend
* 🧹 Prepare a good frontend base for development
*  Port and improve useStorageState  
  Original: https://github.com/pds-nest/nest/blob/main/nest_frontend/hooks/useLocalStorageState.js
* 🧹 Remove React logo
* ⬆ Add `docker` to the dependencies
* ⬆ Add `axios` to the dependencies
* 🔨 Mark `src` as sources root
*  Add API routes to view Notebooks
* 🔧 Use a router for the `by-project` route
* 🐛 Fix deletion failing on `SophonViewSet`
* 🔧 Abstract notebook methods
*  Create a base docker client
* 🚧 Proof of concept for notebook starter
* 📔 Document the contents of the Django apps
* 🚧 Incomplete container implementation
* 🚧 Working container implementation
* 💥 Leftovers from an experiment
*  Correct implementation of the proxy configuration
  (Apache config file is still missing)
* 💥 Improve code
* 💥 Improve more things
* 🔧 Remove duplicated `/project` in project app urls
*  Add basic Apache proxy config file
* 🔧 User should have sudo access on the notebook
*  Implement the Internet access field (currently ignored)
* 🧹 Cleanup code
2021-09-08 18:05:01 +02:00
5eb64a0c13
🧹 Indent using 4 spaces 2021-08-29 22:59:22 +02:00
544a948c17
🛠 Use the typescript template instead of the javascript one 2021-08-29 22:58:31 +02:00
31c4c56e6c
🔨 Fix broken module structure 2021-08-29 17:05:12 +02:00
9f3aa80434
🧹 Reformat default React template 2021-04-19 23:47:06 +02:00
f58a06f01f
🧹 Reorganize project to make space for the frontend 2021-04-16 18:00:19 +02:00