Commit Graph

203 Commits

Author SHA1 Message Date
stellarshenson
ad789d7632 fix: lowercase hex encoding for docker volume names 3.5.44_cuda-12.9.1_jh-5.4.2 FIX_volume_encoding_3.5.43 2026-01-08 14:24:06 +01:00
stellarshenson
5e633a9841 fix: encode usernames for docker volume/container names
Use escapism library (same as DockerSpawner) to encode special
characters in usernames when constructing Docker volume and container
names. Fixes volume reset for users with dots in names (e.g., user.name).
2026-01-08 13:37:53 +01:00
stellarshenson
ea7d45c696 updated cert installer for linux 2026-01-07 05:09:12 +01:00
stellarshenson
abc11c5872 updated startup scripts with images pull 2026-01-07 03:52:40 +01:00
stellarshenson
117e1d6c58 added pull for lab 2026-01-07 03:50:51 +01:00
stellarshenson
988cebf9f1 chore: enhance certs-installer with folder param and help
- Add optional directory argument to install_cert.sh and install_cert.bat
- Add -h/--help flags showing usage, file types, and examples
- Display scanning directory in output
- Increase logo height to 2.25rem
2026-01-07 03:44:31 +01:00
stellarshenson
36933afe2b chore: further enhanced display of logo 2026-01-07 03:05:16 +01:00
stellarshenson
f50dfbd3c5 docs: update journal with custom logo support RELEASE_3.5.36 3.5.38_cuda-12.9.1_jh-5.4.2 2026-01-07 01:45:22 +01:00
stellarshenson
a6686ab4a2 feat: custom logo support and authorization handler fix
- Add JUPYTERHUB_LOGO_FILE config for custom logo (served at /hub/logo)
- Fix CustomAuthorizationAreaHandler with @needs_scope decorator
- Import orm inside get() method to fix NameError
- Simplify page.html logo block (always use base_url/logo)
2026-01-07 01:44:54 +01:00
stellarshenson
8be73942da feat: server-side authorization discard button protection
- Add StellarsNativeAuthenticator subclass with CustomAuthorizationAreaHandler
- Pass hub_usernames set to template for Jinja2 conditional logic
- Remove JavaScript API call approach (was clunky with XSRF token handling)
- Fix Bootstrap 5 table hover color override (target td/th explicitly)
FIX_AUTHORIZATION_DISCARD_3.5.35 3.5.36_cuda-12.9.1_jh-5.4.2
2026-01-07 01:16:52 +01:00
stellarshenson
8a420cbb63 feat: document mnemonic passwords and fix table hover styling 2026-01-07 00:44:00 +01:00
stellarshenson
3607c5cb4c fix: use Bootstrap CSS variable for table hover opacity 3.5.31_cuda-12.9.1_jh-5.4.2 2026-01-07 00:21:44 +01:00
stellarshenson
20ed13baab fix: reduce spacing before Shutdown Hub button 3.5.27_cuda-12.9.1_jh-5.4.2 2026-01-06 23:58:04 +01:00
stellarshenson
6378b68821 fix: admin panel styling and replace eye emoji with icons 2026-01-06 23:55:02 +01:00
stellarshenson
3ab1c38932 chore: update journal entry for volume-renamer 2026-01-06 23:13:29 +01:00
stellarshenson
936fa523ca chore: use generic examples in volume-renamer help 2026-01-06 23:12:59 +01:00
stellarshenson
2618f699f5 feat: add volume-migration scripts for renaming and user migration 2026-01-06 23:03:16 +01:00
stellarshenson
3a7d697834 feat: add --refresh flag to traefik template start.sh 2026-01-06 23:00:16 +01:00
stellarshenson
4094e04a67 fix: further admin panel styling refinements
- Reduce user row hover to nearly invisible (0.003 alpha)
- Fix Add Users button: stock colors in light mode, explicit in dark mode
- Make collapse buttons more compact (0.2rem 0.3rem)
- Add username label left padding
- Update journal
RELEASE_3.5.25
2026-01-06 22:54:24 +01:00
stellarshenson
ddc9cb8382 fix: refine admin panel styling - buttons, hover, spacing
- Fix Add Users button to use stock btn-light colors (size only)
- Disable hover on expanded card tables via box-shadow override
- Add padding:0 to expanded user detail td cells
- Make collapse buttons more compact (0.2rem 0.3rem)
- Add left padding to username labels
- Add groups page styling (list items, card footer)
2026-01-06 22:47:22 +01:00
stellarshenson
c1ae9938c1 feat: comprehensive UI styling for notifications, admin panel, tokens
- Add notifications page styling (form, textarea, results table)
- Unify button font sizes to 0.8rem across all pages
- Set collapsed user card padding to 0
- Add subtle hover effect on admin user rows (0.015 alpha)
- Style Add Users form panel with dark mode support
- Style authorization and token pages consistently
2026-01-06 22:26:19 +01:00
stellarshenson
f1a8b5e6ce feat: add custom logo support via JUPYTERHUB_CUSTOM_LOGO_URI env var 2026-01-06 21:45:40 +01:00
stellarshenson
e0f5bf11e3 feat: add compact styling inspired by Stellars Sublime theme 2026-01-06 21:43:41 +01:00
stellarshenson
693ca06405 docs: update journal with recent changes, update version comment RELEASE_3.5.11_cuda-12.9.1_jh-5.4.2 2026-01-06 21:36:17 +01:00
stellarshenson
79a09db50d chore: comment out console logs in admin template 2026-01-06 21:31:46 +01:00
stellarshenson
bd63c72fd4 feat: add per-row copy icon in credentials modal 2026-01-06 21:30:07 +01:00
stellarshenson
43255f70bb fix: store password as bytes, enable COMPOSE_BAKE STABLE_3.5.10_cuda-12.9.1_jh-5.4.2 2026-01-06 21:25:10 +01:00
stellarshenson
bc99236162 fix: move spinner functions before fetch interceptor 2026-01-06 21:18:25 +01:00
stellarshenson
bc76c4f767 feat: add loading spinner during credentials fetch 2026-01-06 21:15:42 +01:00
stellarshenson
f5b8a5717e fix: credentials modal - buttons on top, scrollable list, plain styling 2026-01-06 21:13:19 +01:00
stellarshenson
c0b525d02f chore: improve version increment output format 2026-01-06 21:09:34 +01:00
stellarshenson
6f85208352 fix: change credentials endpoint from /api/users to /api/admin 2026-01-06 21:00:21 +01:00
stellarshenson
63633420dd chore: track .claude directory in git 2026-01-06 20:55:50 +01:00
stellarshenson
d5cfbebed5 fix: URL handling in admin fetch interceptor and nav links
- Handle URL objects (not just strings) in fetch interceptor
- Strip query params before checking isUserCreation endpoint
- Remove duplicate 'hub' prefix from authorize/change-password links
2026-01-06 20:52:12 +01:00
stellarshenson
7ee223b193 fix: Dockerfile to copy from templates_enhanced (was reverted) 2026-01-06 20:46:04 +01:00
stellarshenson
cbf0a3c0dc docs: update journal with admin user creation feature 2026-01-06 20:40:20 +01:00
stellarshenson
6370255746 fix: handle URL objects in fetch interceptor 2026-01-06 20:39:38 +01:00
stellarshenson
139fe144fa feat: admin user creation with auto-generated credentials modal
- Add after_insert event listener to auto-create NativeAuth UserInfo
- Generate memorable 3-word passwords for admin-created users
- Auto-approve users created by admin (is_authorized=1)
- Add after_delete listener to clean up UserInfo on user deletion
- Add GetUserCredentialsHandler API for credential retrieval
- Add password cache (5min expiry) for secure credential handoff
- Enhanced admin.html with credentials modal (copy/download)
- Add templates_enhanced directory with customized templates
- Add NativeAuth nav items (Change Password, Authorize Users)
- Bump version to 3.5.8 (manual)
2026-01-06 20:20:05 +01:00
stellarshenson
d3fe78bb39 fix: sync NativeAuthenticator on admin panel rename
- SQLAlchemy event listener on orm.User.name intercepts ALL renames
- Removed broken SyncedUserAPIHandler (extra_handlers doesn't override)
- Removed RenameUserHandler (redundant with event listener)
- Added version display in browser console (styled badge)
- Build scripts source project.env for VERSION
FIX_RENAME_SYNC_3.5.0
2026-01-06 17:27:35 +01:00
stellarshenson
79393273ab fix: sync NativeAuthenticator on admin panel rename
- Add SyncedUserAPIHandler extending UserAPIHandler
- Override /api/users/{username} to intercept rename operations
- Sync UserInfo.username after successful JupyterHub rename
- Fixes broken login after admin panel rename
2026-01-06 16:58:35 +01:00
stellarshenson
e001169663 feat: add user rename API and ENABLE_SIGNUP env variable
- RenameUserHandler: PATCH /hub/api/users/{username}/rename
  preserves NativeAuthenticator authorization on rename
- ENABLE_SIGNUP env var controls self-registration (default: 1)
- Updated README, compose.yml, Dockerfile with new config
3.5.1_cuda-12.9.1_jh-5.4.2
2026-01-06 16:43:06 +01:00
stellarshenson
835742bb71 feat: added scripts / helpers for CA Root Truststore cert install CHECKPOINT_BEFORE_ADDUSER_ENHANCEMENTS 2026-01-06 14:23:35 +01:00
stellarshenson
acd62e92bf feat: add CERTIFICATE_DOMAIN_NAME env variable for cert generation
- Add CERTIFICATE_DOMAIN_NAME to compose.yml (defaults to localhost)
- Update 00_generate_ssl_cert.sh to use env variable
- Allows custom domain names for self-signed certificates
3.4.4_cuda-12.9.1_jh-5.4.2
2026-01-05 15:09:32 +01:00
stellarshenson
0411f34749 feat: add localhost SAN to certificate generation 2026-01-05 15:06:45 +01:00
stellarshenson
b5b00cbb6a added documentation 2026-01-05 14:40:31 +01:00
stellarshenson
292402cfeb fix: added domain for localhost 2026-01-05 14:39:44 +01:00
stellarshenson
55351ba50a chore: update journal with template refactor entry 2026-01-05 13:55:56 +01:00
stellarshenson
7515248d74 refactor: update traefik-host-based-routing template
- Remove Makefile (use start.sh/stop.sh directly)
- Add root path routing with JUPYTERHUB_BASE_URL=/
- Update start.sh to pull images and use --no-build
- Update README to reflect simplified workflow
2026-01-05 13:55:10 +01:00
stellarshenson
ba7cfa8121 chore: update journal with base URL fix entry 3.4.3_cuda-12.9.1_jh-5.4.2 2026-01-05 13:50:49 +01:00
stellarshenson
4e4ee47ee9 fix: normalize base URL prefix to avoid double slashes
- Add JUPYTERHUB_BASE_URL_PREFIX that handles root path case
- When BASE_URL is '/', '', or None, prefix becomes empty string
- Prevents //hub/home redirect issue when using root path routing
2026-01-05 13:34:39 +01:00