Min RK
bc3bb47672
pagination: fix offset display when there are 0 results
2024-03-08 09:06:46 +01:00
Min RK
8cbe1eac2b
use URL api to construct API url
...
avoids imperfect logic detecting `?`
2024-03-08 09:05:55 +01:00
Min RK
78a796cea6
server-side sorting of admin page
...
removes in-page sort, which removes sort by server name, sort by running
Running column switches from sort to filter, matching the `?state` query parameter in the API
needs some CSS on the column widths to avoid jumps when toggling active servers
2024-03-06 23:16:43 +01:00
Min RK
a09862cb1b
restore resetting offset when name filter changes
2024-03-06 10:30:36 +01:00
Min RK
f5bfe6a773
address some eslint
2024-03-06 10:21:02 +01:00
Min RK
a6e32deeb1
refactor mock dashboard in tests
...
reusable mock function with overrides for props (mostly API methods), rather than duplicate invocations
makes updating to v6 way easier
2024-03-06 10:12:46 +01:00
Min RK
38dc781271
update react-router-dom to v6
...
don't need v5-compat
2024-03-06 10:10:04 +01:00
Min RK
f4f30db334
sinon clock doesn't seem to help
...
jest has what we need already
2024-03-06 02:02:15 +01:00
Min RK
f13e69b172
get most jsx tests passing
2024-03-06 02:01:49 +01:00
Min RK
87bf84d05f
jsx: build directly in destination
...
removes `npm run place`, allows build:watch
2024-03-06 00:27:18 +01:00
Min RK
fd78a03280
move pagination state entirely to URL params
...
don't duplicate it state variables
2024-03-06 00:23:38 +01:00
Min RK
cabc05f7dd
admin: persist page view info in url parameters
...
- persist offset, limit, name_filter in URL parameters,
so they are stable across page reload
- add UI element to specify items per page
This allows specifying a URL, which will show a specific view of a page of users
2024-03-04 15:39:11 +01:00
dependabot[bot]
0758b661df
Bump follow-redirects from 1.15.2 to 1.15.4 in /jsx
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-11 00:51:10 +00:00
dependabot[bot]
aea3d7c71c
Bump @adobe/css-tools from 4.3.1 to 4.3.2 in /jsx
...
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools ) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md )
- [Commits](https://github.com/adobe/css-tools/commits )
---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-01 05:47:31 +00:00
dependabot[bot]
21e7cc53f9
Bump @babel/traverse from 7.22.5 to 7.23.2 in /jsx
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.22.5 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-19 10:22:55 +00:00
dependabot[bot]
f8ec54c3e0
Bump postcss from 8.4.24 to 8.4.31 in /jsx
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.24 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.24...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-04 03:13:34 +00:00
Min RK
c689ec726d
jsx: trade yarn for npm
...
we're already using npm at the top-level, using both yarn and npm complicates things
- stop excluding package-lock.json from the repo
2023-10-03 14:40:10 +02:00
dependabot[bot]
0af68d8363
Bump @adobe/css-tools from 4.2.0 to 4.3.1 in /jsx
...
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools ) from 4.2.0 to 4.3.1.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md )
- [Commits](https://github.com/adobe/css-tools/commits )
---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 06:11:57 +00:00
dependabot[bot]
9159d77ff1
Bump word-wrap from 1.2.3 to 1.2.4 in /jsx
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-19 02:51:14 +00:00
dependabot[bot]
e5d941a3ad
Bump semver from 6.3.0 to 6.3.1 in /jsx
...
Bumps [semver](https://github.com/npm/node-semver ) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-11 11:36:15 +00:00
Diogo Castro
38e1a0aed5
Tests
2023-06-21 22:55:39 +02:00
Diogo Castro
7a0b8d675a
Small css and layout improvements for better consistency
2023-06-18 16:16:37 +02:00
Diogo Castro
c2e7ce52ae
Admin server buttons depending on the status (pending, running or stopped)
...
Fixes #4466
2023-06-18 16:16:37 +02:00
Diogo Castro
6eaa3a4343
Testing UI
...
Built on previous work, this allows seeing the react compiled UI without having to run JH
2023-06-18 16:15:36 +02:00
pre-commit-ci[bot]
b0367c21f3
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-05-23 15:33:08 +00:00
Diogo Castro
9d68107722
Add test case for named servers
...
Adapt all tests
2023-05-23 17:30:23 +02:00
Diogo Castro
ad61c23873
Allow deletion of named servers
2023-05-23 17:30:23 +02:00
Simon Li
9f708fa10c
lodash per method packages are deprecated
...
https://lodash.com/per-method-packages
2023-05-05 23:36:53 +01:00
Simon Li
0174083439
regenerate yarn.lock
2023-05-05 21:04:03 +01:00
Simon Li
e6fc2aee4a
Update package.json as much as possible without tests failing
2023-05-05 21:04:03 +01:00
Simon Li
47513cfbd0
npx npm-check-updates -u
2023-05-05 21:04:03 +01:00
Simon Li
4c12872dbf
Dockerfile uses nodejs 12- undo upgrade of packages in yarn.lock
2023-04-15 23:07:33 +01:00
Simon Li
21cee1be31
Render tabel cells with multiple data items as RowListItem
2023-04-14 23:41:36 +01:00
Simon Li
00c782fd40
Update yarn.lock
2023-04-14 23:40:54 +01:00
Simon Li
b3f9635ecc
ReactObjectTableViewer can handle components
2023-04-14 23:29:53 +01:00
Simon Li
8c10fb285e
Convert ReactObjectTableViewer to tsx, remove horizontal option
2023-04-14 19:39:20 +01:00
Simon Li
8a3f5d8f2e
Copy f29827028f/src/ReactObjectTableViewer.tsx
2023-04-14 19:30:48 +01:00
Simon Li
7b496a5b4a
Server admin: lists are displayed as word-wrapped CSV
2023-04-14 18:02:05 +01:00
Simon Li
64e7705053
Server admin: lists are displayed as tables not csv joined
2023-04-14 15:22:51 +01:00
dependabot[bot]
9e1e382c37
Bump webpack from 5.74.0 to 5.76.0 in /jsx
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.76.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-15 04:12:11 +00:00
Min RK
46052387bc
admin panel: fix condition for start/stop buttons on user servers
...
`.ready` is the right switch for the links, not `.started` which can be defined even after they stop
2023-02-21 09:07:22 +01:00
Min RK
d5bc135d9b
fix xsrfToken in react
...
caught now that we have browser tests
2023-01-30 15:42:07 +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
6abcbe8e37
Merge pull request #3651 from vladfreeze/group_property_feature
...
Dynamic table for changing customizable properties of groups
2023-01-11 16:34:45 +01:00
vpopescu
fec0cb1260
Fixed removals caused by merge, documentation
2023-01-11 10:42:03 +01:00
dependabot[bot]
86dcb51417
build(deps): bump json5 from 2.2.1 to 2.2.3 in /jsx
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-09 02:24:16 +00:00
Vlad Vifor
e84359cc23
Merge branch 'jupyterhub:main' into group_property_feature
2023-01-03 16:00:45 +01:00
dependabot[bot]
e5d48f419f
build(deps): bump decode-uri-component from 0.2.0 to 0.2.2 in /jsx
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-05 13:45:13 +00:00
Min RK
2f81ea8fb1
Merge pull request #4172 from liliyao2022/patch-10
...
Deleted unused failRegexEvent
2022-11-24 11:22:40 +01:00
dependabot[bot]
5d7383278f
Bump loader-utils from 2.0.2 to 2.0.4 in /jsx
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.4 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-17 04:52:44 +00:00