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

116 commits

Author SHA1 Message Date
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
f7144f1cd8 🔧 Display user-friendly name for ResearchProjects 2021-09-01 17:23:00 +02:00
ae94259e38 🔨 More IntelliJ stuff 2021-08-30 16:56:47 +02:00
8b46df0b47 🔨 Fix broken module structure 2021-08-29 17:05:12 +02:00
0d2718a0fb 🧪 Add initial test framework 2021-08-11 23:54:39 +02:00
b9d3fe94fe Merge permissions-v3 (#64) 2021-08-11 00:59:39 +02:00
5cff70db67 🔧 Abstract permissions, add ResearchTag and ResearchGroup viewsets 2021-08-07 17:26:54 +02:00
313ee9c3e0 🔧 Move API path to api/core/ 2021-08-07 16:36:46 +02:00
ddfd107a99 Implement basic login system
(closes #24) (closes #25)
2021-08-07 03:25:59 +02:00
d14c264f75 Implement research tags
(closes #52)
2021-08-06 21:40:21 +02:00
fc25b62c05 Implement research groups
(closes #22) (closes #23)
2021-08-06 17:14:28 +02:00
db6dd5b696 🐛 Enable django.contrib.postgres 2021-04-20 17:29:51 +02:00
b4555a2040 🔧 Enforce pagination by 100 2021-04-20 17:27:57 +02:00
aab3476619 Add search DataFlow action 2021-04-20 17:26:56 +02:00
45fff68bd2 🔧 Handle errors when syncing DataFlows 2021-04-19 23:40:06 +02:00
2b8fe4ee65 🧹 Optimize imports 2021-04-18 20:05:07 +02:00
06b2f7adff 🔧 Use timezone.now() instead of datetime.now() 2021-04-18 20:03:17 +02:00
e8d26eccf7 Add sync_flows to the admin page 2021-04-18 20:01:08 +02:00
c13733960e 🔧 Make sync_flows a model method instead of a viewset action 2021-04-18 19:37:32 +02:00
d1f41f752f 🧹 Reorganize project to make space for the frontend (part 2) 2021-04-16 18:03:27 +02:00
e889fc2f7b 🧹 Reorganize project to make space for the frontend 2021-04-16 18:00:19 +02:00