Skip to content

Commit 455e3e4

Browse files
authored
Merge pull request #11 from AMDResearch/feature/user-quota-system
Add user quota management system
2 parents 01a1e9a + dace451 commit 455e3e4

28 files changed

Lines changed: 7292 additions & 358 deletions

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,3 +368,7 @@ vite.config.ts.timestamp-*
368368

369369
# Project specific
370370
dockerfiles/Courses/DL/data/FashionMNIST/raw/
371+
372+
# Local config overrides (any file containing 'local')
373+
*local*
374+
*.local.*

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
22
// Python
3+
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
4+
"python.analysis.extraPaths": [
5+
"${workspaceFolder}/runtime/jupyterhub/files/hub"
6+
],
37
"[python]": {
48
"editor.defaultFormatter": "charliermarsh.ruff",
59
"editor.formatOnSave": true,

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ Current environments are set up as `RESOURCE_IMAGES` in `runtime/jupyterhub/file
143143
## Documentation
144144

145145
- [JupyterHub Configuration](docs/jupyterhub/README.md) - Detailed JupyterHub settings
146+
- [Authentication Guide](docs/jupyterhub/authentication-guide.md) - GitHub OAuth and native authentication
147+
- [User Management Guide](docs/jupyterhub/user-management.md) - Batch user operations with scripts
148+
- [User Quota System](docs/jupyterhub/quota-system.md) - Resource usage tracking and quota management
146149
- [GitHub OAuth Setup](docs/jupyterhub/How_to_Setup_GitHub_OAuth.md) - OAuth configuration
147150
- [Maintenance Manual](docs/user-manual/aup-remote-lab-user-manual-admin-new.md) - Operations guide
148151

dockerfiles/Hub/.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
admin-ui/node_modules
2+
admin-ui/dist
3+
.git
4+
*.md

dockerfiles/Hub/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ COPY --from=admin-ui-builder /app/dist/ /usr/local/share/jupyterhub/static/admin
5959
RUN chown -R 1000:1000 /usr/local/share/jupyterhub/static/admin-ui/
6060

6161
# Install Python packages as root
62-
RUN pip install jupyterhub-multiauthenticator jupyterhub-firstuseauthenticator
62+
RUN pip install jupyterhub-multiauthenticator jupyterhub-firstuseauthenticator pydantic
6363

6464
# Switch back to jovyan user
6565
USER jovyan

0 commit comments

Comments
 (0)