Deepak Prabhakara
7e8612c07b
fixed typo
2024-05-15 12:06:12 +01:00
Aswin V
9943a06ace
Extend e2e ( #2601 )
...
* Not needed with standalone build in CI as well as local runs
* Start adding tests for main sections under Admin UI
* Add SAML SSO connection
* Remove only
* Debug failing test
* Cleanup debugging changes
* Update mocksaml docker
* Increase number of workers for playwright execution
* Disable multiple workers for now
* Align folder layout with sidebar features
* Enable stdout for webserver
* Try fixture
* Fixture WIP
* WIP fixture tweak and add more test cases
* Fix locator
* Rename test file
* Remove only
* Keep track of connections inside fixture, delete all method fix
* Fix sso naming
* Use portal fixture for common utils
* Make fixture generic for OIDC SSO
* Add OIDC porvider tests
* Comment tweak
* Make client id secret dynamic
* Spec for OAuth2 wrapper + 1 SAML and 1 OIDC providers
* Fixture method to update SSO connection
* Test case for wrong redirect url
* Refactor
* WIP Wrong redirect url test for OIDC provider plus
setup for toggle connection
* WIP inactive connection test
* Set env for credentials login
* Add credentials login to portal fixture
* Fixes
2024-05-06 12:37:12 +01:00
Utkarsh Mehta
3b024693b7
chore: Update artifact upload retention to 1 ( #2588 )
2024-04-16 22:32:59 +01:00
Deepak Prabhakara
c1b6b941c7
e2e tests don't need real secrets ( #2573 )
2024-04-14 13:14:35 +01:00
Kiran K
f923451fbf
Fix type error ( #2374 )
...
* Fix type error
* wip
* Remove tests
* Remove unused import in db.test.ts
* check types in ci/cd
---------
Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
2024-03-05 12:44:50 +00:00
Deepak Prabhakara
72cdf19072
Update/deps ( #2380 )
...
* updated nextjs
* rebuild sharp on alpine
* updated peer dep version constraint
* updated deps
* revert remark-gfm
* updated internal-ui packages
2024-03-04 22:29:46 +00:00
Deepak Prabhakara
27a43cb778
Clean/unused ( #2373 )
...
* updated deployment
* cleanup unused code
* more cleanup
* revert back to old import of styles
2024-03-02 23:46:56 +00:00
Aswin V
6c6cc6dbb7
Fix internal-ui package publishing ( #2363 )
...
* Fix dev setup for building and publishing
* Allow peer deps installation for internal-ui before building/publishing
* format
* Add react-daisyui to devdependency, cleanup tailwind config
* More cleanup
* Add a build step for npm modules to catch failures before publishing
* Try with optionalDependency for linux specific binary
* Fix build execution condition
* Add back `next/link` to bundle
* Try with esm
* Put back react-syntax-highlighter in bundle
* Revert to cjs import
* Sync package lock
---------
Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
2024-03-01 15:45:47 +00:00
Deepak Prabhakara
235d79ac68
try publishing internal-ui again
2024-02-29 00:09:56 +00:00
Deepak Prabhakara
19cbb312bc
turn off internal-ui publish for now
2024-02-28 23:48:48 +00:00
Deepak Prabhakara
bb7b856191
run planetscale test on local mysql db ( #2353 )
...
* run planetscale test on local mysql db
* run planetscale test on local mysql db
* run planetscale migration before test, ignore eslint warnings
2024-02-28 00:20:01 +00:00
Kiran K
734de64c4d
Add `@boxyhq/internal-ui` ( #2305 )
...
* add WellKnownURLs
* Fix translation keys
* Update dependencies and add IdP Configuration
* Update common.json with new translations
* wip
* Update @boxyhq/internal-ui version to 0.0.5
* add internal ui folder
* Fix imports and build
* Refactor internal-ui package structure
* wip shared UI
* Fix the build
* Add new components and hooks for directory sync
* lint fix
* updated swr
* users
* Refactor shared components and fix API endpoints***
***Update directory user page and add new federated SAML app
* Fix lint
* wip
* Add new files and update existing files
* Refactor DirectoryGroups and DirectoryInfo components
* Update localization strings for directory UI
* Update Google Auth URL description in common.json
* Refactor directory tab and add delete functionality to webhook logs
* Delete unused files and update dependencies
* Fix column declaration
* Add internal-ui/dist to .gitignore
* Update page limit and add new dependencies
* wip
* Refactor directory search in user API endpoint
* wip
* Refactor directory retrieval logic in user and group API handlers
* Add API endpoints for retrieving webhook events
* Add query parameters to API URLs in DirectoryGroups
* Add Google authorization status badge and handle pagination in FederatedSAMLApps
* Add router prop to AppsList component and update page header titles
* UI changes
* Add new files and export functions
* Remove unused router prop
* Add PencilIcon to FederatedSAMLApps
* Refactor FederatedSAMLApps and NewFederatedSAMLApp components
* lint fix
* add jose npm to dev dep
* added missing strings
* locale strings fix
* locale strings cleanup
* update package-lock
* Add prepublish step
* Build and publish npm and internal ui
* Refactor install step
* Run npm install (for local) inside internal ui automatically using prepare
* Remove eslint setup for internal-ui
* Add `--legacy-peer-deps` to prevent installing peer dependencies
* Fix the types import path
* wip
* wip
* Fix the types
* Format
* Update package-lock
* Cleanup
* Try adding jose library version 5.2.2
* COPY internal-ui before npm install
* COPY internal-ui in builder stage
* fixed sort order for jose
---------
Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
Co-authored-by: Aswin V <vaswin91@gmail.com>
2024-02-27 22:12:39 +00:00
dependabot[bot]
ebafa10ad8
Bump sharp from 0.32.6 to 0.33.2 ( #2149 )
...
* Bump sharp from 0.32.6 to 0.33.2
Bumps [sharp](https://github.com/lovell/sharp ) from 0.32.6 to 0.33.2.
- [Release notes](https://github.com/lovell/sharp/releases )
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md )
- [Commits](https://github.com/lovell/sharp/compare/v0.32.6...v0.33.2 )
---
updated-dependencies:
- dependency-name: sharp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* build but don't push so container build can be tested
* need buildx and qemu steps
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
2024-02-23 16:17:20 +00:00
Deepak Prabhakara
8086541dc1
added locale-check to ci/cd
2024-02-21 21:54:43 +00:00
Deepak Prabhakara
0cdee8eae7
check for Dockerfile updates daily
2024-02-19 15:20:37 +00:00
dependabot[bot]
ce92614734
Bump actions/cache from 3 to 4 ( #2185 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-06 23:53:51 +00:00
Deepak Prabhakara
8c469d3655
updated mongo ( #2230 )
2024-01-31 18:14:24 +05:30
Deepak Prabhakara
2592177f68
Revert "trying to update the npm version dependabot uses"
...
This reverts commit cffe554372
.
2024-01-12 12:23:43 +00:00
Deepak Prabhakara
cffe554372
trying to update the npm version dependabot uses
2024-01-12 12:22:05 +00:00
Deepak Prabhakara
765690ec98
cleanup
2024-01-05 13:34:57 +00:00
Deepak Prabhakara
415901d751
revert download-artifact to v3
2023-12-27 16:39:23 +00:00
dependabot[bot]
4ce030fe23
Bump actions/download-artifact from 3 to 4 ( #2061 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-22 16:31:54 +00:00
Deepak Prabhakara
41b65b5761
looks like we don't need custom-install anymore ( #1948 )
...
* looks like we don't need custom-install anymore
* tweak
2023-11-18 13:30:04 +00:00
dependabot[bot]
d41e52c7cd
Bump actions/setup-node from 3 to 4 ( #1868 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 12:03:08 +00:00
Deepak Prabhakara
36aad4345e
updated to node 20 since node 18 is now in maintenance mode ( #1839 )
2023-10-24 13:55:02 +01:00
Deepak Prabhakara
d6d9473488
updated mocksaml placeholder ( #1825 )
...
* updated mocksaml placeholder
* updated mock-saml in e2e test
2023-10-21 10:50:28 +01:00
Deepak Prabhakara
1177ce1011
Format using prettier and add check-format step to GH actions ( #1759 )
...
* prettier format
* added check-format step to github actions
2023-10-11 09:18:03 +01:00
Kiran K
3944f99081
Updates to SAML federation ( #1724 )
...
* Add unit test cases
* Fix displaying the branding
* Remove the license check on the metadata
* Fix the endpoint
* Add e2e
* Fix the tests
* Fix the tests
* Remove unused imports
* Improve the tests
* add BOXYHQ_LICENSE_KEY
* Fix the test
2023-10-05 17:47:20 +01:00
Deepak Prabhakara
dd1ac59c30
cleanup ( #1690 )
2023-10-01 00:26:14 +01:00
dependabot[bot]
2dfd9c5d6b
Bump docker/setup-buildx-action from 2 to 3 ( #1609 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 10:42:41 +01:00
dependabot[bot]
b06d1c6448
Bump docker/login-action from 2 to 3 ( #1610 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 10:42:15 +01:00
dependabot[bot]
f67849dbca
Bump docker/metadata-action from 4 to 5 ( #1611 )
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md )
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 10:41:47 +01:00
dependabot[bot]
1336021fd2
Bump docker/setup-qemu-action from 2 to 3 ( #1612 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 10:41:39 +01:00
dependabot[bot]
cc6e80334d
Bump docker/build-push-action from 4 to 5 ( #1613 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 10:41:04 +01:00
dependabot[bot]
db17f32093
Bump actions/checkout from 3 to 4 ( #1575 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 14:37:12 +05:30
Aswin V
a6883734e5
[Reopened] Switch to new mocklab idp for e2e tests ( #1416 )
...
* Update mock oidc endpoints
* Update oauth endpoints
* Sync lock file
* Sync lock file
* Enable OIDC e2e tests
* Sync lock file
* See if oidc sso via discovery url alone fails
* Revert
* Use discoveryUrl from wiremockapi instead of mocking
* Remove mock setup
2023-08-07 20:42:01 +05:30
Deepak Prabhakara
fe104949c8
Revert "Switch to new mocklab idp for e2e tests ( #1405 )"
...
This reverts commit 0bfc81549c
.
2023-08-07 11:31:31 +05:30
Aswin V
0bfc81549c
Switch to new mocklab idp for e2e tests ( #1405 )
...
* Update mock oidc endpoints
* Update oauth endpoints
* Sync lock file
* Sync lock file
* Enable OIDC e2e tests
2023-08-06 17:36:11 +05:30
Deepak Prabhakara
daa3897abc
Update dependabot.yml ( #1286 )
2023-07-04 14:22:29 +01:00
Aswin V
2f9b0e8dc1
Update SSO SDK dependency ( #1174 )
...
* Update ui sdk
* Update import path for sso component
* Purge sdk folder
* Remove gh action for sdk
* Cleanup npm scripts
* cleanup
---------
Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
2023-05-30 00:12:16 +01:00
Utkarsh Mehta
4d747b5405
Using ORAS digest & beta tags in Github action ( #1032 )
...
* fix
* debug
* revert comments
* validation
* fix
* fix
* use github.repository
---------
Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
2023-03-24 15:51:48 +00:00
Deepak Prabhakara
9154d3a7af
Dynamodb support ( #980 )
...
* added dynamodb-local to docker-compose
* [WIP] Add DynamoDB data source (#947 )
wip
Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
* WIP
* fixed put, get and delete
* store secondary index
* implemented getAll and delete
* revert changes to test file
* revert test script changes
* added dynamodb-local for testing
* WIP: pagination for DynamoDB
* dynamodb pagination cannot take offset and limit
* fixes for the change from Array to Records type so we can handle pageToken for DynamoDB
* fixed github actions
* trying options instead of command
* try default dynamodb-local command
* lint
* region for dynamodb
* added dummy aws creds
* lint
* getAll can be paginated using pageLimit
* tweaked comments
* Track `pageToken` with `pageOffset`.
* Track the (next)pageToken with offset
* Use the pageToken (from prev page) to get the connection list
* Comment
* Pass along the pageToken
* Type fix
* Relay the `pageToken` header to the response
* Update type for SWR ApiSuccess data
* Remove `marshall`
* Support pageToken for DS
* Support pageToken for SAML Fed
* Fix test
* Support pageToken for SAML Tracer
* Fix test
* Fix test for tracer
* Remove `marshall` in getByIndex
* Support `pageToken` for SetupLinks
* added dynamodb dev script
* move dynamodb options to it's own namespace
* added config for read/write capacity units
---------
Co-authored-by: Michael McDermott <michael.g.mcdermott@gmail.com>
Co-authored-by: Aswin V <vaswin91@gmail.com>
2023-03-16 21:42:36 +00:00
Utkarsh Mehta
80a64aa645
Cosign fixes ( #1016 )
...
* fix
* fix
2023-03-16 19:10:25 +00:00
Deepak Prabhakara
a7ece0572c
fixed cosign
2023-03-15 02:37:19 +00:00
Deepak Prabhakara
598652c1fa
updated oras location
2023-03-10 17:17:54 +00:00
Aswin V
1adcdb3ba3
Add separate schema for MariaDB ( #697 )
...
* Back up old migrations
* Bump up mariadb version for docker
* Separate schema for maria db
* Latest migration commit for mariadb
* Sync package locks
* updated mysql
* - refactor
- changed schema for mysql to match mariadb since latest version of mysql has the same limitations as mariadb
* align mssql with the rest since it is new
---------
Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
2023-02-21 23:35:23 +00:00
dependabot[bot]
6592161f8a
Bump UffizziCloud/preview-action from 2.6.1 to 2.6.4 ( #959 )
...
Bumps [UffizziCloud/preview-action](https://github.com/UffizziCloud/preview-action ) from 2.6.1 to 2.6.4.
- [Release notes](https://github.com/UffizziCloud/preview-action/releases )
- [Commits](https://github.com/UffizziCloud/preview-action/compare/v2.6.1...v2.6.4 )
---
updated-dependencies:
- dependency-name: UffizziCloud/preview-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aswin V <vaswin91@gmail.com>
2023-02-20 17:04:38 +05:30
Deepak Prabhakara
6300c723f3
Revert "build after testing"
...
This reverts commit 8027efb608
.
2023-02-14 23:24:55 +00:00
Deepak Prabhakara
8027efb608
build after testing
2023-02-14 22:26:02 +00:00
Aswin V
ebf2b1de29
Improvements to github workflow triggers ( #943 )
...
* Change event to `pull_request`
* on `push` for main, release branch, on `PR`
for `main` as target
* Target `main` branch
* Remove sha ref checkout
2023-02-13 22:20:34 +05:30