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

58 commits

Author SHA1 Message Date
ba53064ce2
💥 Dockerize everything! (#74 closes #59)
*  Create Dockerfile for the backend

* 🔧 Limit the allowed slug values

*  Create docker image for the proxy

*  Add serve script (and serve dependency)

*  Add .dockerignore symlinks to .gitignore

*  Create docker image for the frontend

* 🔧 Proxy the frontend

* 🔧 Configure the proxy.dbm directory

* 🚧 WIP

* 💥 Improve settings handling

* 💥 Prepare backend for docker deployment

* 🔧 Reserve `static` notebook slug

*  Make static work

* 🐛 Set a default value for reduce

* 💥 Things

* 💥 Everything works!
2021-10-19 22:41:18 +02:00
418b863cf9
⬆ Add gunicorn and uvicorn as dependencies 2021-10-18 18:50:07 +02:00
d815db0ae7 🔧 Conditionally display jupyter tokens in /notebooks/by-project/.../ (fixes #69) 2021-10-18 02:56:41 +02:00
cacd63e175 🔧 Get access serializer for list views 2021-10-18 02:56:41 +02:00
dcce2b9c9d 🔧 Dynamically create the serializer for users who can edit a notebook 2021-10-18 02:56:41 +02:00
4de2d96652 🐛 Fix invalid set literal 2021-10-18 02:56:41 +02:00
50ae1fe742 🔧 Remove the JupyterToken from the fields of the default serializer 2021-10-18 02:56:41 +02:00
f94bf9f130 🐛 Save started notebook id on the database 2021-10-17 01:32:28 +02:00
66f21d9d1d Add "Gestione Amber" theme 2021-10-17 01:32:28 +02:00
543946fc56 🚧 idk notebook stuff 2021-10-17 01:32:28 +02:00
be4df7daa5
🐛 Fix notebooks in private projects not being returned for the group owner 2021-10-14 03:28:06 +02:00
015de8a40f
🐛 Fix private projects not being returned for the group owner 2021-10-14 03:27:15 +02:00
7363521b65
💥 Disallow group members from editing group name and description 2021-10-13 03:52:06 +02:00
ee4d774d99
🐛 Fix fields being read-only with administrator privileges 2021-10-12 05:27:28 +02:00
e71884a7f3
🐛 Make POST requests return all fields on creation 2021-10-11 19:24:49 +02:00
54dbb35724
🐛 Return responses instead of raising exceptions 2021-10-10 17:01:37 +02:00
0e4cccc57a
🔧 Return the joined / left group 2021-10-10 16:44:19 +02:00
3914c8861d 🐛 Add missing slash in /api/core/instance/ endpoint 2021-10-06 04:38:19 +02:00
bbca2b6deb
Add research projects listing 2021-09-21 18:01:46 +02:00
bd8a6c4994
🔧 Merge version route into instance 2021-09-21 15:48:16 +02:00
edd29fe753
Add Sophon instance details 2021-09-20 17:53:21 +02:00
7e33e6cb04
🔨 IntelliJ stuff 2021-09-19 15:50:39 +02:00
77599a2b61
Add user listing route 2021-09-19 15:50:23 +02:00
ca065c2f13
Merge remote-tracking branch 'old/main'
# Conflicts:
#	frontend/src/App.tsx
#	frontend/src/utils/SophonContext.tsx
2021-09-14 04:26:48 +02:00
1b842770bc
Add the /api/core/version view 2021-09-14 03:28:33 +02:00
703d0d7a3c
🔧 Set default image to steffo45/jupyterlab-docker-sophon
See https://hub.docker.com/repository/docker/steffo45/jupyterlab-docker-sophon and https://github.com/Steffo99/jupyterlab-docker-sophon
2021-09-13 19:25:09 +02:00
a20e39c77f
🔧 Set default image to steffo45/jupyterlab-docker-sophon
See https://hub.docker.com/repository/docker/steffo45/jupyterlab-docker-sophon and https://github.com/Steffo99/jupyterlab-docker-sophon
2021-09-13 19:25:03 +02:00
178a99c23f
Add an error message if the connection to the Docker daemon fails 2021-09-10 17:55:13 +02:00
eb3cf89a99
Add corsheaders app 2021-09-10 16:44:04 +02:00
609802cd07
🧹 Remove colorfield app 2021-09-10 16:40:14 +02:00
54504138b2
⬆ Add django-cors-headers 2021-09-10 16:39:56 +02:00
5a8c40a3d1
⬆ Remove unused dependencies 2021-09-10 16:36:43 +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
8d74dca42f
🔧 Allow filtering in the researchgroup admin page 2021-09-01 17:36:49 +02:00
7bfb22a9e8
🔧 Allow filtering in the projects admin page 2021-09-01 17:36:32 +02:00
0bde51b593
🔧 Add migrations for the previous fixes 2021-09-01 17:29:28 +02:00
31014bd66c
🔧 Fix nullable fields for projects 2021-09-01 17:28:55 +02:00
673fd4542c
🔧 Fix nullable fields for core 2021-09-01 17:28:38 +02:00
7b3631eed5
🔧 Display user-friendly name for ResearchProjects 2021-09-01 17:23:00 +02:00
f46022d4f5
🔨 More IntelliJ stuff 2021-08-30 16:56:47 +02:00
31c4c56e6c
🔨 Fix broken module structure 2021-08-29 17:05:12 +02:00
1d5fbe118e
🧪 Add initial test framework 2021-08-11 23:54:39 +02:00
c74761ef1b
Merge permissions-v3 (#64) 2021-08-11 00:59:39 +02:00
09d2452080
🔧 Abstract permissions, add ResearchTag and ResearchGroup viewsets 2021-08-07 17:26:54 +02:00
584a248d10
🔧 Move API path to api/core/ 2021-08-07 16:36:46 +02:00
ac65cf6623
Implement basic login system
(closes #24) (closes #25)
2021-08-07 03:25:59 +02:00
5d9988899d
Implement research tags
(closes #52)
2021-08-06 21:40:21 +02:00
af9d0cbcb6
Implement research groups
(closes #22) (closes #23)
2021-08-06 17:14:28 +02:00
40ea2d35cc
🐛 Enable django.contrib.postgres 2021-04-20 17:29:51 +02:00
2895c92615
🔧 Enforce pagination by 100 2021-04-20 17:27:57 +02:00