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

150 commits

Author SHA1 Message Date
beaf162ce5 🔧 Simplify GroupDeleteButton 2021-10-12 03:36:29 +02:00
bbab78c60c 💥 Improve things here and there 2021-10-12 03:24:55 +02:00
a4df345fdc 💥 Improve GroupResourcePanel 2021-10-12 02:26:27 +02:00
23d463f434 Create GroupDescriptionBox 2021-10-12 02:17:54 +02:00
176cfa698a Add group deletion button for owners of a group 2021-10-11 19:13:32 +02:00
0c487473e2 🔧 Count the owner of the group in its members 2021-10-11 18:53:28 +02:00
36c5ead53d 🔧 Enable the create button only if all required fields have been filled 2021-10-11 18:50:03 +02:00
7c0bef7aa0 🔧 Draw the error row only if there's a operationError 2021-10-11 18:30:58 +02:00
0a00f63b54 🔧 Make GroupCreateBox collapsible 2021-10-11 18:30:07 +02:00
f256b2886e Implement group creation 2021-10-11 18:27:17 +02:00
90e8a11904 🚧 Start working on the GroupCreateBox 2021-10-10 17:40:14 +02:00
e1a9af4cff 🔧 Make button icons spin while the resource is busy 2021-10-10 17:12:53 +02:00
31fcc78049 🔧 Silence another annoying warning 2021-10-10 17:11:40 +02:00
46231ecf57 🔧 Make destroy non-generic 2021-10-10 17:11:17 +02:00
97e9304631 🔧 Silence the annoying dependency warning 2021-10-10 17:10:30 +02:00
ce6e7ec1ab Implement group joining and leaving 2021-10-10 17:02:48 +02:00
167a08a9e1 🔧 Support choosing HTTP method in useManagedViewSet 2021-10-10 17:02:35 +02:00
30b2091b97 🔧 Fix ResourceRouter, as the previous behaviour is no longer needed 2021-10-10 17:02:05 +02:00
15ca05ea4f 🔧 Store authorization data in localStorage 2021-10-10 16:34:09 +02:00
f21305d311 🔧 Default to PATCH for commands and actions 2021-10-10 16:10:59 +02:00
cd50706f5e 🐛 Fix wrong url being generated for actions 2021-10-10 16:10:10 +02:00
b048b8374a 🔧 Make ResourcePanel buttons fixed width 2021-10-10 16:02:08 +02:00
2aaa7b1cc0 Add command and action to useManagedViewSet 2021-10-10 16:01:43 +02:00
575b7fe6d4 🔧 Swap button location in AuthorizationLogoutBox 2021-10-08 17:02:02 +02:00
a9ad27804b 🔧 Change login flow 2021-10-07 20:38:57 +02:00
b2bfb61ae5 🔧 Add status text to the GroupListBox 2021-10-07 19:35:52 +02:00
338c565b87 🔧 Add status text to the ProjectListBox 2021-10-07 19:33:58 +02:00
750bdc5ca4 🔧 Add status text to the NotebookListBox 2021-10-07 19:33:19 +02:00
24f4b5847f 🔧 Add flavour text to NotebookListBox 2021-10-07 18:47:43 +02:00
51e4053990 🔧 Remove instance name from GroupListBox 2021-10-07 18:44:13 +02:00
de3624d72c 🔧 Add flavour text to ProjectListBox 2021-10-07 18:43:37 +02:00
17d138b61f 🔧 Add flavour text to GroupListBox 2021-10-07 18:36:20 +02:00
293856ebc8 Create NotebookListBox and NotebookResourcePanel and NotebookRouter 2021-10-07 05:32:38 +02:00
2823db2916 Create ProjectListBox and ProjectResourcePanel 2021-10-07 05:25:53 +02:00
1d5f142c09 Create ProjectRouter 2021-10-07 05:17:45 +02:00
abce14d1bf 💥 Walk to hell and back to type ResourceRouter and it turned out it wasn't possible 2021-10-07 05:06:31 +02:00
b67716fa7a 🤔 Add a TODO to GroupListBox 2021-10-07 02:42:46 +02:00
a7eb7a78b4 Create GroupListBox 2021-10-07 02:36:49 +02:00
a765681c3f Create GroupRouter 2021-10-07 02:14:34 +02:00
a526dfc1d4 🔧 useAuthorizedAxios in the useViewSet hook 2021-10-07 02:00:23 +02:00
cfb7eae850 🧹 Remove unused interface 2021-10-07 01:56:53 +02:00
c92a105686 🧹 Remove unnecessary dependencies from canLogin 2021-10-07 01:56:40 +02:00
2b6df6a208 🐛 Fix highlighting of the LoginBox while logging in 2021-10-07 01:56:17 +02:00
8ebb649ebe 🐛 Add trailing slash to /api/core/instance/ 2021-10-07 01:52:35 +02:00
57bc10d9a2 🔧 Fail validation if an error is returned by /api/core/instance/ 2021-10-07 01:52:16 +02:00
82eb27bf1c 🔧 Remove the messagePanel from the LoginBox 2021-10-06 18:23:40 +02:00
11bdd9fa3f Add a logout box 2021-10-06 17:59:03 +02:00
f008487a07 🔧 Make AuthorizationRouter "return" the AuthorizationState instead of true 2021-10-06 17:17:51 +02:00
2e15843702 🔧 Export more types from contexts 2021-10-06 17:17:16 +02:00
8eb5f3780a 🐛 (Re)fix ResourceRouter bug 2021-10-06 17:12:42 +02:00
6bdfaf22c7 🐛 Fix React warnings 2021-10-06 16:41:47 +02:00
7713a55919 🔧 Use <pre> in InstanceDescriptionBox 2021-10-06 04:38:19 +02:00
92e2372051 Add AuthorizationAdminBox 2021-10-06 04:38:19 +02:00
b1acd37d0f 💥 Make more progress towards the "Context" structure 2021-10-06 04:38:19 +02:00
89bf6c027c 💥 Shuffle everything around until it makes sense 2021-10-06 04:38:19 +02:00
0744c5833b 🐛 Fix a weird typescript error 2021-10-06 04:38:19 +02:00
04c6d05869 💥 Develop the "SophonInstance" components 2021-10-06 04:38:19 +02:00
c8d7ddff54 💥 Replace useContext with useLookAndFeel 2021-10-06 04:38:19 +02:00
edc45750d9 💥 Add footer and delete legacy components 2021-10-06 04:38:19 +02:00
bde02c0928 🔧 Use "LookAndFeel" components to handle theme 2021-10-06 04:38:19 +02:00
4a55af35f9 Complete the LocationViewSetRouter 2021-10-06 04:38:19 +02:00
75b3473d42 Add PathSplitter utility class 2021-10-06 04:38:19 +02:00
ec0fe93165 💥 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
5948395fbc 🧹 Optimize imports 2021-10-06 04:38:19 +02:00
798a0ccee7 🔧 Remove Projects list from the InstancePage 2021-10-06 04:38:19 +02:00
734f8ac057 🚧 Start working on "Create object" panel 2021-10-06 04:38:19 +02:00
721c9afaef Add research projects listing 2021-09-21 18:01:46 +02:00
8604609ea7 Add user page 2021-09-21 17:32:05 +02:00
461e7469b5 Abstract some more things 2021-09-21 16:50:34 +02:00
2c1ea824f1 Complete instance customization 2021-09-21 16:22:50 +02:00
6d172a5a44 Add basic support for the instance details 2021-09-20 18:18:45 +02:00
126451f900 Add some error handling 2021-09-20 17:53:54 +02:00
99b2a5c022 Add header link 2021-09-20 17:13:35 +02:00
13e5dc14f7 🔧 Fix warnings 2021-09-20 17:08:04 +02:00
da453db439 🧹 Optimize imports 2021-09-20 16:55:05 +02:00
812237728e Fix links 2021-09-20 00:59:01 +02:00
fef6dc6d0c Get a working implementation of the research groups list 2021-09-20 00:28:02 +02:00
7ab525d777 🚧 More WIP API stuff 2021-09-19 23:49:16 +02:00
7b73788234 Add types for the types of objects returned by the backend 2021-09-19 21:39:54 +02:00
dadef993b0 🚧 Start work on the backend-viewset hook 2021-09-19 17:33:48 +02:00
13e61ab76b 🔧 Add config parameter default value in useLoginAxios 2021-09-19 16:38:42 +02:00
85e07f59c8 🔧 Add a "Continue to Sophon" button to the Logout box 2021-09-19 16:29:08 +02:00
36143d4e16 🔧 Add icons to the login page 2021-09-19 16:24:27 +02:00
61b63944c5 Store userData in localStorage 2021-09-19 16:03:15 +02:00
53d5d6d47b Add username validator 2021-09-19 16:01:08 +02:00
e98d07227f 🧹 Fix warnings 2021-09-17 00:19:53 +02:00
304819726e 🧹 Optimize imports 2021-09-17 00:16:04 +02:00
2ff6c62995 Complete login (finally) 2021-09-17 00:07:54 +02:00
272e7a3c98 Progress logout 2021-09-16 20:38:48 +02:00
8f463fa701 Add login context and instancebox 2021-09-16 17:43:57 +02:00
6fbcff2256 Add instance context 2021-09-16 17:15:20 +02:00
4be3895c1d something 2021-09-16 16:05:39 +02:00
ad5fef8e0c 🚧 Do something about the login 2021-09-14 23:34:18 +02:00
a3972b7d13 🔧 Make useValidatedState catch errors and return "error" 2021-09-14 17:20:10 +02:00
23d2d28fb9 Create InstanceBox to select Sophon instance 2021-09-14 04:16:34 +02:00
20ff37e00e 💥 Recommit lost commits from the hard drive format (: 2021-09-14 03:35:36 +02:00
d06959dc06 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
6983e2bbe5 🛠 Use the typescript template instead of the javascript one 2021-08-29 22:58:31 +02:00
9a12e25eda 🧹 Reformat default React template 2021-04-19 23:47:06 +02:00
e889fc2f7b 🧹 Reorganize project to make space for the frontend 2021-04-16 18:00:19 +02:00