Commit graph

137 commits

Author SHA1 Message Date
Eugene c43f4b5fca
fixed role assignment ui 2024-07-27 16:21:53 +02:00
Eugene 2cd3078d43
lint 2024-07-26 21:09:41 +02:00
Eugene a0465174a7
Bump version: 0.10.0 → 0.10.1 2024-07-26 18:18:39 +02:00
Eugene ed6f68c659
fixed #1017 - HTTP proxying broken 2024-07-26 18:18:31 +02:00
Willy e9b4a3b94f
update lockfile: add missing entries (#1019)
I'm currently trying to package warpgate for
[nixpkgs](https://github.com/nixos/nixpkgs/) and noticed some entries
were missing from `yarn.lock`:

* `has@^1.0.3`
* `is-core-module@^2.9.0`

While I'm not sure if I'll manage to finish my packaging adventure (nix
skill issue on my end), these should be added for completeness either
way
2024-07-25 11:24:26 +02:00
Eugene c83a70c730
Bump version: 0.9.1 → 0.10.0 2024-07-18 09:55:42 +02:00
Konstantin Nosov 7e45fa57ab
migrate from moment to date-fns (#988)
Last years there are some alternatives to momentjs appeared. Like
[date-fns](https://date-fns.org/). Mostly they depend on new
[itnl](https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/Intl),
that is build in into all modern browsers.

Unfortunately, I wasn't able to build the project (I've never touched
rust before, and the current cargo version refused to accept configs
from repo).

That's why I'm not sure that this PR actually works :(

If somebody can check, that it builds correctly now - it would be nice
to move to less size costly solution like date-fns.

Co-authored-by: Eugene <inbox@null.page>
2024-07-16 19:23:53 +02:00
Yachen Mao b65a1899ca
Upgrade TypeScript and Svelte Versions (#995)
#### Description

This PR upgrades the TypeScript and Svelte versions used in the Warpgate
project. The specific changes include:

1. **TypeScript Upgrade**
- Upgraded TypeScript version from `4.9.4` to `5.0.0` in `package.json`.
   - Updated related TypeScript dependencies in `package.json`.

2. **Svelte Upgrade**
   - Upgraded Svelte version from `3.58.0` to `4.0.0` in `package.json`.
   - Updated `svelte-eslint-parser` settings in `.eslintrc.yaml`.
- Replaced `sveltestrap` imports with `@sveltestrap/sveltestrap` across
various Svelte components.

3. **ESLint Configuration**
   - Added `plugin:svelte/recommended` to `.eslintrc.yaml`.
   - Updated `eslint` and related plugins to compatible versions.

4. **Other Dependencies**
- Updated several other dependencies in `package.json` and `yarn.lock`
to their latest versions to ensure compatibility with TypeScript 5 and
Svelte 4.

#### Changes Summary

- `.eslintrc.yaml`: Adjusted ESLint configurations for the new Svelte
parser and updated TypeScript rules.
- `openapitools.json`: Upgraded `openapi-generator-cli` version to
`7.7.0`.
- `package.json`: Updated versions of TypeScript, Svelte, ESLint, and
other dependencies.
- Various `.svelte` files: Replaced `sveltestrap` imports with
`@sveltestrap/sveltestrap` and made minor type adjustments for
TypeScript 5 compatibility.
- `tsconfig.json`: Minor configuration adjustment to support new
TypeScript features.
2024-07-16 18:54:07 +02:00
Eugene 841bbe85da
bumped rust 2024-07-10 10:55:18 +02:00
Eugene 8896bb361e
fixed #961 - added option to allow insecure ssh kex (#971) 2024-03-24 14:09:20 +01:00
Eugene 21e0008695
updated russh to 0.43 (#970) 2024-03-24 11:04:21 +01:00
Eugene 47c943d201
lint 2024-03-23 12:24:52 +01:00
Skyler Mansfield 916d51a4e8
Add support for role mappings on custom SSO providers. (#920)
This is done using the `role_mappings` property.
Roles to be mapped are gotten from the 'warp_groups` oidc claim:
```sso_providers: 
  - name: custom_sso
    label: Custom SSO
    provider:
      type: custom
      client_id: <client_id>
      client_secret: <client_secret>
      issuer_url: <issuer_url>
      scopes: ["email", "profile", "openid", "warp_groups"] #warp_groups is scope name to request for my demo case, which adds a "warpgate_groups" claim to the userinfo
      role_mappings: 
        - ["warpgate:admin", "warpgate:admin"]
```
This maps the `warpgate:admin` group from OIDC to the `warpgate:admin`
role.

This [video on YouTube](https://youtu.be/XCYSGGCgk9Q) demonstrates the
functionality

---------

Co-authored-by: Eugene <inbox@null.page>
2024-03-23 12:05:12 +01:00
Thibaud Lepretre f3dc1ad668
Enhance ticket creation api and UI to support ticket number of usage (#959)
Ticket uses left was already supported on core but no way to defined it,
neither from UI neither from API

Changed API to accept new optional field and update UI form to be able
to set it from UI

related #924

---

UI changes

<img width="1370" alt="Screenshot 2024-03-04 at 00 15 11"
src="https://github.com/warp-tech/warpgate/assets/275609/76510a58-e232-46af-bf50-9444e5950507">
<img width="1360" alt="Screenshot 2024-03-04 at 00 13 58"
src="https://github.com/warp-tech/warpgate/assets/275609/814d2ce2-6f6c-48eb-b066-ecec039530fc">

---------

Co-authored-by: Eugene <inbox@null.page>
2024-03-04 10:14:14 +01:00
Thibaud Lepretre 257fb38a21
Enhance ticket creation api and UI to support ticket expiry (#957)
Ticket expiry was already supported on core but no way to defined it,
neither from UI neither from API

Changed API to accept new optional field `expiry` and update UI form to
be able to set it from UI

closes #924
2024-03-01 19:27:48 +01:00
Eugene 7e260e84e6
Bump version: 0.9.0 → 0.9.1 2023-12-18 16:24:44 +01:00
Eugene 0baf2e3b97
Bump version: 0.8.1 → 0.9.0 2023-11-23 19:41:07 +01:00
Eugene b346ca3d0b
don't suggest public key auth in the web auth API 2023-11-23 19:36:05 +01:00
Eugene 8b91e4a328
Bump version: 0.8.0 → 0.8.1 2023-09-27 22:09:03 +02:00
Eugene Pankov 4ecc6b653f
Bump version: 0.7.4 → 0.8.0 2023-08-20 19:06:49 +02:00
dependabot[bot] 9637f11cb9 Bump word-wrap from 1.2.3 to 1.2.4 in /warpgate-web
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-08-08 09:57:48 +02:00
Eugene Pankov 673f5192e9 lint 2023-08-07 22:58:49 +02:00
Eugene Pankov f0bc1db9ae fixed #358 - quotes in connection instructions on Windows 2023-08-07 22:58:49 +02:00
Eugene Pankov 0bc9ae1b1a fixed #854 - show session details during OOB auth 2023-08-07 22:28:15 +02:00
Eugene Pankov 4eb791f189
Bump version: 0.7.3 → 0.7.4 2023-08-02 09:05:59 +02:00
Eugene Pankov dca24110f9
Bump version: 0.7.1 → 0.7.3 2023-07-10 10:23:00 +02:00
Eugene Pankov 4fe4bfe18e
fixed login errors not being displayed properly 2023-07-07 20:39:23 +02:00
Eugene Pankov a38fd2bbb1
ui: added search boxes - #761 2023-05-18 21:59:26 +02:00
dependabot[bot] 3616a4baa1 Bump tslib from 2.4.1 to 2.5.0 in /warpgate-web
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.4.1...2.5.0)

---
updated-dependencies:
- dependency-name: tslib
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 14:10:10 +02:00
dependabot[bot] 7ff001b3a1 Bump format-duration from 3.0.1 to 3.0.2 in /warpgate-web
Bumps [format-duration](https://github.com/ungoldman/format-duration) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/ungoldman/format-duration/releases)
- [Changelog](https://github.com/ungoldman/format-duration/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ungoldman/format-duration/compare/v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: format-duration
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 14:09:59 +02:00
Eugene Pankov dc785dbabf
bumped fontawesome 2023-04-20 05:07:47 -07:00
dependabot[bot] 4dfd668478 Bump sass from 1.57.1 to 1.61.0 in /warpgate-web
Bumps [sass](https://github.com/sass/dart-sass) from 1.57.1 to 1.61.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.57.1...1.61.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 14:06:59 +02:00
dependabot[bot] bf64e5f90d Bump svelte from 3.55.1 to 3.58.0 in /warpgate-web
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.55.1 to 3.58.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.55.1...v3.58.0)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 14:06:50 +02:00
dependabot[bot] 522ff2b34d Bump @typescript-eslint/parser from 5.48.1 to 5.58.0 in /warpgate-web
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.48.1 to 5.58.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.58.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 14:06:28 +02:00
dependabot[bot] 4339131ce9 Bump vite-tsconfig-paths from 4.0.3 to 4.0.9 in /warpgate-web
Bumps [vite-tsconfig-paths](https://github.com/aleclarson/vite-tsconfig-paths) from 4.0.3 to 4.0.9.
- [Release notes](https://github.com/aleclarson/vite-tsconfig-paths/releases)
- [Commits](https://github.com/aleclarson/vite-tsconfig-paths/compare/v4.0.3...v4.0.9)

---
updated-dependencies:
- dependency-name: vite-tsconfig-paths
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 14:06:21 +02:00
dependabot[bot] 5d27fcd57b Bump eslint from 8.31.0 to 8.38.0 in /warpgate-web
Bumps [eslint](https://github.com/eslint/eslint) from 8.31.0 to 8.38.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.31.0...v8.38.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 14:06:08 +02:00
dependabot[bot] 5ee72ec29f Bump eslint-import-resolver-typescript in /warpgate-web
Bumps [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) from 3.5.2 to 3.5.5.
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases)
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.5.2...v3.5.5)

---
updated-dependencies:
- dependency-name: eslint-import-resolver-typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 14:05:59 +02:00
Eugene Pankov 9a0d818b82
Bump version: 0.7.0 → 0.7.1 2023-03-17 09:59:11 +01:00
dependabot[bot] 26360197cd Bump @typescript-eslint/parser from 5.46.1 to 5.48.1 in /warpgate-web
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.46.1 to 5.48.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.48.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 13:02:48 +01:00
dependabot[bot] e85ac779d5 Bump svelte from 3.55.0 to 3.55.1 in /warpgate-web
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.55.0 to 3.55.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.55.0...v3.55.1)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 13:01:42 +01:00
dependabot[bot] 884fae0c7b Bump sass from 1.56.2 to 1.57.1 in /warpgate-web
Bumps [sass](https://github.com/sass/dart-sass) from 1.56.2 to 1.57.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.56.2...1.57.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:33:06 +01:00
dependabot[bot] 367c3c7f76 Bump vite-plugin-checker from 0.5.1 to 0.5.3 in /warpgate-web
Bumps [vite-plugin-checker](https://github.com/fi3ework/vite-plugin-checker) from 0.5.1 to 0.5.3.
- [Release notes](https://github.com/fi3ework/vite-plugin-checker/releases)
- [Changelog](https://github.com/fi3ework/vite-plugin-checker/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fi3ework/vite-plugin-checker/compare/vite-plugin-checker@0.5.1...vite-plugin-checker@0.5.3)

---
updated-dependencies:
- dependency-name: vite-plugin-checker
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:32:58 +01:00
dependabot[bot] 4ac8cd7b88 Bump format-duration from 2.0.0 to 3.0.1 in /warpgate-web
Bumps [format-duration](https://github.com/ungoldman/format-duration) from 2.0.0 to 3.0.1.
- [Release notes](https://github.com/ungoldman/format-duration/releases)
- [Changelog](https://github.com/ungoldman/format-duration/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ungoldman/format-duration/compare/v2.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: format-duration
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:32:50 +01:00
dependabot[bot] 903d13026a Bump json5 from 1.0.1 to 1.0.2 in /warpgate-web
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [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/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:31:31 +01:00
Eugene Pankov ce4f15c3e7
Merge branch 'main' of https://github.com/warp-tech/warpgate 2023-01-09 21:29:45 +01:00
Eugene Pankov e852140f75
bumped poem-openapi 2023-01-09 21:29:37 +01:00
dependabot[bot] fa5ca887a7 Bump eslint from 8.29.0 to 8.31.0 in /warpgate-web
Bumps [eslint](https://github.com/eslint/eslint) from 8.29.0 to 8.31.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.29.0...v8.31.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:27:36 +01:00
dependabot[bot] 6b20a9f7cb Bump eslint from 8.28.0 to 8.29.0 in /warpgate-web
Bumps [eslint](https://github.com/eslint/eslint) from 8.28.0 to 8.29.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.28.0...v8.29.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 22:21:35 +01:00
dependabot[bot] 6d1c80ee1e Bump @sveltejs/vite-plugin-svelte from 1.2.0 to 1.4.0 in /warpgate-web
Bumps [@sveltejs/vite-plugin-svelte](https://github.com/sveltejs/vite-plugin-svelte/tree/HEAD/packages/vite-plugin-svelte) from 1.2.0 to 1.4.0.
- [Release notes](https://github.com/sveltejs/vite-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/vite-plugin-svelte/blob/main/packages/vite-plugin-svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/vite-plugin-svelte/commits/@sveltejs/vite-plugin-svelte@1.4.0/packages/vite-plugin-svelte)

---
updated-dependencies:
- dependency-name: "@sveltejs/vite-plugin-svelte"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 22:21:28 +01:00
dependabot[bot] d7219afc40 Bump sass from 1.54.9 to 1.56.2 in /warpgate-web
Bumps [sass](https://github.com/sass/dart-sass) from 1.54.9 to 1.56.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.54.9...1.56.2)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 22:20:30 +01:00