Commit Graph

117 Commits

Author SHA1 Message Date
stellarshenson
bc16b0ca4b debug: add console logging to custom handlers for troubleshooting
- Add console.log statements to track button clicks and API calls
- Log username, base URL, and button existence on page load
- Log success/error responses from API calls
- Help diagnose why restart server button does nothing
2025-11-03 20:44:18 +01:00
stellarshenson
0468a0da98 fix: properly extend jupyterhub default home template
- Replace custom template with proper extension of default home.html
- Keep all default functionality (Start/Stop, named servers, admin panel)
- Use correct template variables (default_server.active, base_url)
- Add custom buttons alongside existing controls
- Preserve default JavaScript (require home.js)
- Fix 404 errors on spawn and admin panel access
2025-11-03 20:39:29 +01:00
stellarshenson
a18024f1d9 fix: implement manual permission checking in custom handlers
- Remove non-existent @admin_or_self decorator
- Replace with manual permission validation using current_user
- Check authentication and admin/self access explicitly
- Use tornado.web.HTTPError for 403 responses
2025-11-03 20:28:37 +01:00
stellarshenson
3e52a91924 feat: implement reset home volume and restart server features
- Add custom API handlers for volume reset and server restart
- Create custom home.html template with self-service buttons and modals
- Register handlers in jupyterhub_config.py with @admin_or_self permissions
- Update Dockerfile to copy templates and handlers
- Add custom templates path to JupyterHub configuration
- Update .claude/CLAUDE.md with feature documentation
- Reset Home Volume: DELETE /hub/api/users/{username}/reset-home-volume
- Restart Server: POST /hub/api/users/{username}/restart-server
- Both features use Docker API directly via /var/run/docker.sock
2025-11-03 20:24:20 +01:00
stellarshenson
f76ee8711a makde package leaner 2025-08-10 04:42:06 +02:00
stellarshenson
fd991f3d4d updated to have certs still sourced from a volume 2025-08-10 04:39:02 +02:00
stellarshenson
a5ffcdb1f8 updated to have certificates mounted externally 2025-08-10 04:31:59 +02:00
stellarshenson
d034d41dd4 updated permissions 2025-08-08 20:16:08 +02:00
stellarshenson
800c259bee updated with the nvidia autodetection 2025-08-07 20:08:36 +02:00
stellarshenson
cb8e6e106f updated permissions 2025-08-07 17:22:30 +02:00
stellarshenson
8d8d874a1c updated names of the enable variables 2025-07-23 23:56:01 +02:00
stellarshenson
0dfe3bc882 updated 2025-07-18 02:50:24 +02:00
stellarshenson
444bb3fa6c updated permissions 2025-07-18 00:15:55 +00:00
stellarshenson
d85caedf8b updated with passing of the cmd arguments 2025-07-17 18:30:32 +00:00
stellarshenson
338e180d16 updated with config changes to traefik 2025-07-17 18:06:57 +02:00
stellarshenson
591d3a44f7 updated with the changes to certificate handling 2025-07-17 15:52:55 +02:00
stellarshenson
0f7f6fd1a1 moved to conform cloud development structure 2025-07-16 06:58:29 +02:00