Ogoh Blessing
194ff5ee57
Increase contrast of muted text
2023-01-31 14:42:23 +01:00
Erik Sundell
e255ada169
Merge pull request #4032 from minrk/rm-referer-check
...
Use XSRF tokens for cross-site checks
2023-01-25 16:21:31 +01:00
Min RK
abe1136cba
Use XSRF tokens for cross-site protections
...
Removes all Referer checks, which have proven unreliable and have never been particularly strong
We can use XSRF on paths for more robust inter-path protections.
- `_xsrf` is added for forms via hidden input
- xsrf check is additionally applied to GET requests on API endpoints
2023-01-16 09:35:33 +01:00
Min RK
ad9b0095cb
Move some common form CSS to page.less
...
so it affects other forms, such as the spawner form
results in more consistent style
2023-01-11 14:13:05 +01:00
Ogoh Blessing
ffb41b0164
Remove aria-hidden attribute
2023-01-09 10:26:49 +00:00
Ogoh Blessing
8613d43fe4
Fix skipped heading level
2023-01-08 00:05:02 +00:00
Ogoh Blessing
6b7061173f
Add th cells to tables
2023-01-08 00:01:29 +00:00
Ogoh Blessing
bf0927685f
accessibility improvements across pages
...
- Add html language attribute
- Rename logo's alt text so it clearly states the image's purpose
- Fix missing first level heading for Login, Home and Token page
- Fix missing header level 1 of Login page
- Fix low contrast issue of navbar
Co-authored-by: Min RK <benjaminrk@gmail.com >
2022-12-21 15:04:25 +01:00
Min RK
25a4ef36db
finish spawn_pending test
...
simplify conditions to check, fix next url, add missing ready signal to spawn_pending.html
need slow_spawn to be even slower
2022-12-13 14:02:10 +01:00
Min RK
cf5999b048
tests: wait for javascript to finish loading before clicking
...
allows us to wait for the javascript to finish loading,
since clicking buttons won't do anything if we click before the js has registered click handlers
2022-12-09 13:11:42 +01:00
pre-commit-ci[bot]
7c92902e48
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-10-24 23:10:47 +00:00
possiblyMikeB
5eaf59dd72
correct token expiration time labels
2022-08-23 18:29:15 -04:00
Simon Li
28b11d2165
Merge pull request #3969 from consideRatio/pr/set-announcement-properly
...
Fix disabling of individual page template announcements
2022-07-30 17:38:47 +01:00
Erik Sundell
83b5e8f3da
Only blank strings to disable a specific page's announcement
...
Co-authored-by: Min RK <benjaminrk@gmail.com >
2022-07-30 11:53:00 +02:00
Erik Sundell
827310aca6
Fix disabling of individual page template announcements
2022-07-10 12:05:48 +02:00
Min RK
42cc3cae8e
add correct autocomplete fields for login form
2022-06-24 10:37:50 +02:00
Min RK
62d24341ca
fix static url in admin page
2022-06-08 10:47:14 +02:00
Simon Li
92c6d69bc8
Remove share/jupyterhub/static/js/admin-react.js jsx/build
2022-05-29 16:12:29 +01:00
John Park
27d2e95c43
add regeneratorRuntime back in
2022-05-06 14:03:05 -07:00
John Park
819e59292d
yarn lint / place
2022-05-05 16:34:28 -07:00
Min RK
debac715bf
add 'admin-ui' scope for access to the admin ui
2022-04-29 11:54:02 +02:00
Narek Amirbekian
40d95dc142
Fix search bar in admin dashboard
2022-04-08 11:27:41 -07:00
Erik Sundell
318c95342d
Merge pull request #3833 from minrk/token-scopes
...
Tokens have scopes instead of roles
2022-03-29 23:49:35 +02:00
Min RK
7e22614a4e
[squash me] token progress
...
tokens have scopes
instead of roles, which allow tokens to change permissions over time
This is mostly a low-level change,
with little outward-facing effects.
- on upgrade, evaluate all token role assignments to their current scopes,
and store those scopes on the tokens
- assigning roles to tokens still works, but scopes are evaluated and validated immediately,
rather than lazily stored as roles
- no longer need to check for role permission changes on startup, because token permissions aren't affected
- move a few scope utilities from roles to scopes
- oauth allows specifying scopes, not just roles.
But these are still at the level specified in roles,
not fully-resolved scopes.
- more granular APIs for working with scopes and roles
Still to do later:
- expose scopes config for Spawner/service
- compute 'full' intersection of requested scopes, rather than on the 'raw' scope list in roles
2022-03-24 15:05:50 +01:00
Narek Amirbekian
93fda7c96b
Change layout
2022-03-21 13:05:56 -07:00
Narek Amirbekian
f949cda227
Add test for details view
2022-03-16 16:36:34 -07:00
Narek Amirbekian
93d82a9012
Fix tests
2022-03-15 17:09:26 -07:00
Narek Amirbekian
564458b106
Set defaults for name_filter
2022-03-15 15:13:04 -07:00
Narek Amirbekian
b38e9c45bf
Improved layout
2022-03-15 13:40:44 -07:00
Narek Amirbekian
85d4c5bd7a
Remove unused state object
2022-03-15 12:14:38 -07:00
Narek Amirbekian
6a9d27ceb4
Server details in server dashboard
2022-03-15 12:01:22 -07:00
Narek Amirbekian
7dafae29fb
Update compiled files
2022-03-15 02:40:27 -07:00
Narek Amirbekian
89a6c745b5
Add base_url to spawner
2022-03-15 02:33:17 -07:00
Narek Amirbekian
db7619fa7a
Fix server url
2022-03-14 21:02:18 -07:00
Narek Amirbekian
1ed9423530
Update compiled jsx
2022-03-14 18:06:10 -07:00
Narek Amirbekian
3a59a15164
Add front end tests for user search
2022-03-14 17:54:51 -07:00
Narek Amirbekian
3627251246
Merge branch 'main' into narek/admin-dashboard-search
2022-03-14 12:16:50 -07:00
Erik Sundell
945fc824d8
Remove autoformat added new line for generated file
2022-03-12 01:12:29 +01:00
Narek Amirbekian
b3f04e7c66
Add search bar for user name
2022-03-11 15:12:53 -08:00
pre-commit-ci[bot]
2f5ba7ba30
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-03-11 17:15:21 +00:00
Narek Amirbekian
a045eefa64
React file not updated
2022-03-11 09:13:14 -08:00
pre-commit-ci[bot]
b939b482a1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-03-11 06:38:13 +00:00
Narek Amirbekian
8afc2c9ae9
Fix admin table sorting
2022-03-10 22:20:01 -08:00
Min RK
f22203f50e
Merge pull request #3793 from satra/patch-1
...
show insecure-login-warning for all authenticators
2022-02-15 11:24:09 +01:00
Satrajit Ghosh
83d6e4e993
fix: insecure-login-warning for all authenticators
2022-02-11 22:19:39 -05:00
Narek Amirbekian
a5e3b66dee
One edit user button per user
2022-02-11 10:50:58 -08:00
Narek Amirbekian
25ea559e0d
Pull out button components
2022-02-09 15:21:12 -08:00
Narek Amirbekian
c18815de91
Fix failing tests
2022-02-09 14:04:38 -08:00
Narek Amirbekian
50d53667ce
Add start server back
2022-02-09 13:15:27 -08:00
pre-commit-ci[bot]
68e2baf4aa
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-02-09 21:04:22 +00:00