Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge dev -> main #815

Merged
merged 92 commits into from
Oct 9, 2024
Merged

merge dev -> main #815

merged 92 commits into from
Oct 9, 2024

Conversation

t-aleksander
Copy link
Contributor

No description provided.

cpprian and others added 30 commits July 10, 2024 11:12
* add utoipa dependencies

* add tags

* add full description to /user endpoints 

* Apply suggestions from code review

Co-authored-by: Aleksander <[email protected]>

---------

Co-authored-by: cpprian <[email protected]>
Co-authored-by: Aleksander <[email protected]>
* add utoipa dependencies

* feat: init openapi to describe /api/v1/user

* nest /swagger-ui into /api/v1

* get json with api details

* add group section

* add api description for enrollment

* update description of start_enrollment, start_remote_desktop_configuration, username_available

* add description of update and delete user api

* add description of change_self_password, change_password and reset_password endpoints

* add description of wallet challenge, updatte wallet, delete wallet and set wallet endpoints

* add description of delete_authorized_app, delete_security_key, me endpoints

* fix typo in path to delete_security_key

* add status code 500 description to few endpoints

* return .env vars to default

* update comment for not misunderstanding

* fix rustfmt format errors

* add tags

* add full description to /user endpoints part 1

* add full description to /user endpoints part 2

* update .env and delete pnpm-lock.yaml

* fix rust fmt errors

* Apply suggestions from code review

Co-authored-by: Aleksander <[email protected]>

* add description of /device endpoints

* describe tag wireguard

* add description of /group endpoints

* add swagger-ui lib

* rename endpoint

* Apply suggestions from code review

Co-authored-by: Aleksander <[email protected]>

* change name of the wireguard tag to device

* Apply suggestions from code review #2

Co-authored-by: Aleksander <[email protected]>

* fix params, requests and imports

---------

Co-authored-by: cpprian <[email protected]>
Co-authored-by: Aleksander <[email protected]>
* update defguard logo in email template

* rename path for logo image
* set tower_http::trace log level by DEFGUARD_LOG_LEVEL

* set all log events by DEFGUARD_LOG_LEVEL

* undo .env values
…694)

* Update README.md

* chore(deps): bump braces from 3.0.2 to 3.0.3 in /web

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

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

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Aleksander <[email protected]>
Co-authored-by: Robert Olejnik <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* update mail_enrollment with information about token

* separate TokenExpired error from the other TokenError
* wip: OIDC structures & migration

* wip: callback handler

* handler expects id_token as query parameter, should be after '#'
* extract user info

* wip: try and parse the claims

ISSUE: no jwks keys

* wip: Decoded the claims using openidconnect client

* proper nonce

* Simple OpenID settings tab

* Fetch openid providers from API

* wip: display providers

* rudimentary openid flow

* openid flow 2

* openid buttons and polishing

* cleanup

* cargo lock

* parse url

* format

* cleanup and comments

* sqlx prepare

* fixes

* cleanup, refactoring, tests

* cargo fix

* fix type

* fmt

* compress migrations

* cleanup

* fix frontend

* enable e2e and dev deployment

* license update

* fix test

* make changes according to the review

* flow rework and fixes

* cargo fix

* change action to amd64 and temporarily disable e2e tests

* x64

* assign correct runner to most workflows

* cargo fmt

* remove double slash

* dfg mfa support

* cargo fmt

* remove temporary code

---------

Co-authored-by: Jacek Chmielewski <[email protected]>
* add info log that proxy has been disconnected from core

* move WireguardPeerStatus stats log to debug from info

* del .env config

* set SQLX_OFFLINE to false

* undo last commit

* update sqlx

* run cargo sqlx prepare

* add for test purpose sqlx::test

* sqlx prepare for all targets

* Update src/grpc/mod.rs

Co-authored-by: Aleksander <[email protected]>

---------

Co-authored-by: Aleksander <[email protected]>
* Fix: e-mail MFA code verification

* Expand comments

* Fix doctests

---------

Co-authored-by: Robert Olejnik <[email protected]>
* update defguard logo in email template

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* rename path for logo image

* Update README.md

* Update README.md

* Update README.md

* change dimensions of new-logo on emails

---------

Co-authored-by: Aleksander <[email protected]>
Co-authored-by: Robert Olejnik <[email protected]>
* add toaster Too many bad login attempts

* sqlx prepare

* Update web/src/i18n/en/index.ts

Co-authored-by: Aleksander <[email protected]>

* Apply suggestions from code review

Co-authored-by: Aleksander <[email protected]>

* Add polish translation for tooManyBadLoginAttempts

---------

Co-authored-by: Robert Olejnik <[email protected]>
Co-authored-by: Aleksander <[email protected]>
* remove dependencies from array

* disable linting
* add debugs logs for enrollment process

* add more debug logs for desktop activation, enrollment and create device

* comment arm build

* cargo fmt

* add more debug logs v2

* uncomment arm build and change defguard version from 0.11.1 to 1.0.0

* Apply suggestions from code review

Co-authored-by: Aleksander <[email protected]>

* apply cargo fmt

---------

Co-authored-by: Aleksander <[email protected]>
Co-authored-by: Robert Olejnik <[email protected]>
Co-authored-by: Aleksander <[email protected]>
* wip: OIDC structures & migration

* wip: callback handler

TODO:
* handler expects id_token as query parameter, should be after '#'
* extract user info

* wip: try and parse the claims

ISSUE: no jwks keys

* wip: Decoded the claims using openidconnect client

TODO:
* proper nonce

* Simple OpenID settings tab

* Fetch openid providers from API

* wip: display providers

* rudimentary openid flow

* openid flow 2

* openid buttons and polishing

* cleanup

* cargo lock

* parse url

* format

* cleanup and comments

* sqlx prepare

* fixes

* cleanup, refactoring, tests

* cargo fix

* fix type

* fmt

* compress migrations

* cleanup

* fix frontend

* enable e2e and dev deployment

* license update

* fix test

* make changes according to the review

* flow rework and fixes

* cargo fix

* change action to amd64 and temporarily disable e2e tests

* x64

* assign correct runner to most workflows

* cargo fmt

* remove double slash

* dfg mfa support

* cargo fmt

* rudimentary license handling

* further improvements, renewal service

* cleanup

* move license protobuf

* cleanup

* tweaks, env variables

* add better comment

* remove old migrations

* cleanup

* add temporary build

* sqlx prepare

* fixes, more logs

* fix log levels

* cleanup

* Apply suggestions from code review

Co-authored-by: Adam <[email protected]>

* sort dependencies

* organize imports

* remove redundant arguments

* fix redundant argument

* missing enterprise version view

* global state rework

* cargo fmt

* cleanup

* fix tests

* delete unused import

* fixes

* cleanup

* fix tests

* eslint fix

* add a test

* add comment

* fix css

* cleanup

* change logs

* ux changes

* linter fixes

---------

Co-authored-by: Jacek Chmielewski <[email protected]>
Co-authored-by: Robert Olejnik <[email protected]>
Co-authored-by: Adam <[email protected]>
* provide toaster with too many bad login attempts by error code 429

* undo docker & .env changes

* auth token, from package, one line install

* getNetworkActions

* add button

* gateway location setup v1

* add polish translation

* fix lint issue

* apply suggestions

* render markdown instead of html tags from types

* run prettier

---------

Co-authored-by: Robert Olejnik <[email protected]>
* rebuild lockfile

* revert the lockfile

* cleanup
t-aleksander and others added 27 commits September 5, 2024 14:22
* display warning modal

* eslint fix

* Apply suggestions from code review

Co-authored-by: Cyprian <[email protected]>

* generate translation  types

---------

Co-authored-by: Cyprian <[email protected]>
* Add korean translation

* Fix korean translations

* chore: revert to default locale

---------

Co-authored-by: Aleksander <[email protected]>
Enables desktop clients to get configuration updates without issuing new enrollment token.
* display license status

* orange -> red

* inform about the status on tabs
* add option

* sqlx prepare

* prepare

* send the value via config polling

* cargo fix

* disable_route_all_traffic -> disable_all_traffic

* update protobufs

* cargo fmt

* Update src/grpc/utils.rs

Co-authored-by: Jacek Chmielewski <[email protected]>

---------

Co-authored-by: Jacek Chmielewski <[email protected]>
* match logging in users through sub claim

* sqlx prepare

* move the account creation check
* instance settings fetching rework

* Log errors

* debug -> error

* update protobufs

* cargo fmt

---------

Co-authored-by: Jacek Chmielewski <[email protected]>
* issue a new token on instance update

* prepare

* Update src/grpc/utils.rs

Co-authored-by: Jacek Chmielewski <[email protected]>

---------

Co-authored-by: Jacek Chmielewski <[email protected]>
…se a message box (#812)

* change phrasing

* add information about the desktop client
* build ARMv7 Docker images

* add quotes

---------

Co-authored-by: Maciej Wójcik <[email protected]>
Fix readme conflicts
@t-aleksander t-aleksander added the ignore-for-release Don't list PR in release notes label Oct 9, 2024
@t-aleksander t-aleksander merged commit e4039c4 into main Oct 9, 2024
8 of 11 checks passed
@teon teon deleted the dev branch October 9, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-for-release Don't list PR in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants