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

70 commits

Author SHA1 Message Date
7b52f3381c ⬆ Update backend dependencies 2021-10-27 18:50:40 +02:00
ad28656431 🧪 Complete tests for ResearchGroupViewSet 2021-10-27 18:48:11 +02:00
3db2946d07 🐛 Return 403 instead of 500 when creating as a non-logged user 2021-10-27 18:47:54 +02:00
d30f669439 🧪 Add SophonModelTestCase failure assertions 2021-10-27 18:17:48 +02:00
ac08504787 🔧 Use github container registry for notebooks 2021-10-21 04:26:55 +02:00
f4e0fdccb8 🐛 Fix the serializer used by notebook actions 2021-10-20 23:09:31 +02:00
fae22ac62c 🔧 Order and "distinct" all querysets 2021-10-20 22:13:32 +02:00
8df2394523 🐛 Fix NoneSerializer being used in actions 2021-10-20 21:34:06 +02:00
7c8dd8383c Revert "🔧 Use higher-level get_serializer_class in actions"
This reverts commit 6de5347e3eb105fc0fccf1e3313b94925f080e52.
2021-10-20 21:27:36 +02:00
240f588f37 🔧 Use higher-level get_serializer_class in actions 2021-10-20 20:46:17 +02:00
06301a6ad9 🔧 Make lab_url and legacy_notebook_url member fields (fix #79)
(didn't I already do this?)
2021-10-20 20:18:27 +02:00
b43b0b73d4 🔧 Remove null from group.members model 2021-10-20 19:34:01 +02:00
b44f7b4ebf 💥 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
ee2e8c275c ⬆ Add gunicorn and uvicorn as dependencies 2021-10-18 18:50:07 +02:00
4e17c9dd96 🔧 Conditionally display jupyter tokens in /notebooks/by-project/.../ (fixes #69) 2021-10-18 02:56:41 +02:00
2886c4598d 🔧 Get access serializer for list views 2021-10-18 02:56:41 +02:00
b493a65e01 🔧 Dynamically create the serializer for users who can edit a notebook 2021-10-18 02:56:41 +02:00
8bae344c68 🐛 Fix invalid set literal 2021-10-18 02:56:41 +02:00
f2a450f166 🔧 Remove the JupyterToken from the fields of the default serializer 2021-10-18 02:56:41 +02:00
93a8994e9f 🐛 Save started notebook id on the database 2021-10-17 01:32:28 +02:00
8b3e070a91 Add "Gestione Amber" theme 2021-10-17 01:32:28 +02:00
0c528b0f7c 🚧 idk notebook stuff 2021-10-17 01:32:28 +02:00
6f3e2fc9e9 🐛 Fix notebooks in private projects not being returned for the group owner 2021-10-14 03:28:06 +02:00
8b08e08282 🐛 Fix private projects not being returned for the group owner 2021-10-14 03:27:15 +02:00
2b47f097b1 💥 Disallow group members from editing group name and description 2021-10-13 03:52:06 +02:00
b100f148ea 🐛 Fix fields being read-only with administrator privileges 2021-10-12 05:27:28 +02:00
13e7e4b97c 🐛 Make POST requests return all fields on creation 2021-10-11 19:24:49 +02:00
559499ae44 🐛 Return responses instead of raising exceptions 2021-10-10 17:01:37 +02:00
d2defa4179 🔧 Return the joined / left group 2021-10-10 16:44:19 +02:00
a91211e782 🐛 Add missing slash in /api/core/instance/ endpoint 2021-10-06 04:38:19 +02:00
721c9afaef Add research projects listing 2021-09-21 18:01:46 +02:00
4398427865 🔧 Merge version route into instance 2021-09-21 15:48:16 +02:00
a207d55a83 Add Sophon instance details 2021-09-20 17:53:21 +02:00
4d6779631a 🔨 IntelliJ stuff 2021-09-19 15:50:39 +02:00
2a9f996853 Add user listing route 2021-09-19 15:50:23 +02:00
84c69e96e2 Merge remote-tracking branch 'old/main'
# Conflicts:
#	frontend/src/App.tsx
#	frontend/src/utils/SophonContext.tsx
2021-09-14 04:26:48 +02:00
ad839d567c Add the /api/core/version view 2021-09-14 03:28:33 +02:00
f1606a5c50 🔧 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
4d5cbb149a 🔧 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
bde0c0f679 Add an error message if the connection to the Docker daemon fails 2021-09-10 17:55:13 +02:00
8b5a44a50d Add corsheaders app 2021-09-10 16:44:04 +02:00
000fd5aa4d 🧹 Remove colorfield app 2021-09-10 16:40:14 +02:00
7659df9818 ⬆ Add django-cors-headers 2021-09-10 16:39:56 +02:00
2f987b9c1e ⬆ Remove unused dependencies 2021-09-10 16:36:43 +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
9c5b078741 🔧 Allow filtering in the researchgroup admin page 2021-09-01 17:36:49 +02:00
e4941b4e54 🔧 Allow filtering in the projects admin page 2021-09-01 17:36:32 +02:00
ec2555e767 🔧 Add migrations for the previous fixes 2021-09-01 17:29:28 +02:00
310d7d0393 🔧 Fix nullable fields for projects 2021-09-01 17:28:55 +02:00
0695ad6b26 🔧 Fix nullable fields for core 2021-09-01 17:28:38 +02:00