Commit Graph

46 Commits

Author SHA1 Message Date
Deepak Prabhakara 2035dbb42e updated node 2024-05-14 16:30:25 +01:00
Deepak Prabhakara a86efad2e0 updated node 2024-05-08 10:57:41 +01:00
Deepak Prabhakara cdd984c64a updated node 2024-04-27 23:15:13 +01:00
Deepak Prabhakara f11444de97 updated node, engines 2024-04-05 00:35:14 +01:00
Deepak Prabhakara f3c677b82b
Persist instanceKey across nextjs loads, show type colum in Identity Fed apps (#2519)
* persist instanceKey across nextjs loads

* lint fix

* display type in identity federated apps

* updated engines, moved cross-env to deps (needed for npm start)

* updated node

* 20.12.1 not available
2024-04-04 13:35:53 +01:00
Deepak Prabhakara 0d841e30de
updated nextjs (#2379)
* updated nextjs

* rebuild sharp on alpine

* updated peer dep version constraint
2024-03-04 21:44:49 +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
Deepak Prabhakara d15466be6b
node 20.11.1 (#2326) 2024-02-19 15:48:14 +00:00
Deepak Prabhakara 0df04cdc03 updated deployment 2024-01-19 09:51:06 +00:00
Deepak Prabhakara 58aacff215 updated Alpine 2024-01-17 09:44:45 +00:00
Deepak Prabhakara 324424e8d3
updated node to v20.10.0 (#2000)
updated node
2023-12-01 16:51:44 +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
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 40298448dc
updated node to 18.18.2 (#1788) 2023-10-17 01:11:29 +01:00
vishalboxyhq 0b99c7d667
Feature/typeorm migrations (#141)
* updated typeorm

* renamed connection

* updated migration scripts to new TypeORM version (v3)

* typeorm and mongo -migrations and namespace column

* update the mongo migration file

* remove the camelcase

* remove camelcase

* rename the file

* renaming migration files

* folder restructuring and add migrate-mongo package

* correcting path and minor changes

* merging db name with URL

* changing ts to js for mongo

* migration automation with env variable

* using custom scripts for migration

* Dockerfile fixes

* bootstrap script fixes and still need ts-node migrate-mongo in dockerfile

* running migration in CI/CD

* turning down planetscale

* migration related fixes for namespace

* Migration & bootstrap changes

* reverting minor change

* bootstrap.sh will only run in docker env

* bootstrap RUN_MIGRATION env variable will use true

* migration fixes

* migration changes

* removed console logs

* planetscale migration fixes

* copied back old files, tweaks to filenames

* add index for namespace

* restore older migration scripts

* formatting

* aligned timestamps

* updated mysql, mariadb, mssql, planetscale namespace migrations

* We'll run migrate manually as a separate step/container

* forgot to add migrate.sh

* bumped up timestamp

* Enable planetscale testing

* Revert planetscale test and comment config object

* Revert deletions in Dockerfile

* Update maria, mssql, mysql, ps, pg, sql namespace migrations

* Cleanup

* Add runMigration env to support manual run

* Minor tweak

* Ensure sql data migrations run after schema changes

* Fix mssql namespace data migration query

* Sync lock file

* Update mongo timestamp

* Set env for npm mongo migration script

* [sql] Populate namespace column for synchronize: true instances

* Rename `DB_RUN_MIGRATION` -> `DB_MANUAL_MIGRATION`

* [mongo] Populate namespace for already deployed instances

* Cleanup migrate.sh

* [bash -> sh] bash does not work inside docker

* Optimise migration artifacts

* Source packages from global path

* Copy npm from build context - excludes node_modules via .dockerignore

* Remove redundant copy step

* added swc packages

* fresh package-lock

* fresh package-lock

* added migratepg job to skaffold
fixes in migrate.sh to exit with error when migration fails

* cleanup

* added migratepg to demo skaffold as well

* turn on planetscale tests

---------

Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
Co-authored-by: Utkarsh Mehta <ukrocks.mehta@gmail.com>
Co-authored-by: Aswin V <vaswin91@gmail.com>
2023-10-13 23:29:21 +01:00
Deepak Prabhakara 7409330cec
Updated nodejs to 18.18.0 (#1689)
updated nodejs
2023-10-01 00:03:45 +01:00
Deepak Prabhakara d16354474e
updated node (#1595) 2023-09-15 00:10:21 +01:00
Aswin V ef005eb27d
Fix build setup for windows (#1548)
* Fix start script

Prepend cross-env to support windows.

* Switch to postbuild script

* Tweak paths to work cross-platform

* Minor tweak

* Tweak log

* Switch to prebuild script for terminus

* Add prebuild file in deps stage

* Fix options for mkdir

* Fix ts-node option

* Cleanup dependency
2023-09-02 20:27:37 +01:00
Deepak Prabhakara b8a99e479a
updated to 18.16.1-alpine3.18 (#1242) 2023-06-24 23:09:20 +01:00
Deepak Prabhakara 93e633392e bumped up version, updated docker nodejs version 2023-06-21 18:08:37 +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
Deepak Prabhakara ed737da92b updated node 2023-03-15 01:28:04 +00:00
Deepak Prabhakara 21162fc8bc
updated to node 18.14.2 (#963) 2023-02-22 17:28:05 +00:00
Deepak Prabhakara 8cfb1f4506
Updated to node 18 (#794)
* updated to node 18

* updated to node 18.13.0

* testing absolute url

* Revert absolute url change

* Update playwright

* Try with 1.28.1

* [skip ci] revert package version changes

* [skip ci] get playwright traces

* Revert change

* testing a node18 fix for dns and fetch

* Try dns fix using beforeAll hook

* Try with cmd line option for webserver

* Try with NODE_OPTIONS

* Add dns node_option to Docker build

* Use 0.0.0 to conform to semver

* Update node-version for sdk job

* Add `--install-links=false` flag to `npm install`

* Tweak node-version

* Update `NODEJS_IMAGE`

* Remove flag which is already added in npm script

* Lock file updates

* turn off cache

* npm install needs to be replaced with a custom script that doesn't install links

* add back npm cache

* Sync lock file

* minor tweak

* Update README

* Minor formatting

* Remove build as not required in this job

* Add `prepublishOnly` script to react sdk

* Name the step

* Update `NODEJS_IMAGE` in uffizi dockerfile

* Add E2E section

* Sync lock file

* fixed merge

---------

Co-authored-by: Aswin V <vaswin91@gmail.com>
2023-02-07 12:40:13 +00:00
Deepak Prabhakara 2220109575
Copy sdk/ui/react in case we have deps in the future (#856)
* copy sdk/ui/react in case we have deps in the future

* Tweak prepare to include `npm i` for sdk

Co-authored-by: Aswin V <vaswin91@gmail.com>
2023-01-17 10:07:40 +00:00
Deepak Prabhakara f3f4ccaf2d need to do a full install 2023-01-10 21:47:27 +00:00
Deepak Prabhakara 7a94687a27 npm ci is troublesome with dependabot PRs 2023-01-10 20:14:05 +00:00
Utkarsh Mehta 0d7fac092b
Retraced Admin UI (#452)
* Merged

* Revert the changes

* changes

* dropdown working

* fixes

* added custom classes for log viewer

* Create Project & styling fixes

* Update package-lock.json

* fixed react datepicker css issues

* Showing apis keys after project is created

* View tokens page

* minor changes

* masking for tokens

* warning fixes

* Fix the sidebar active state

* wip

* wip

* wip

* Showing publisher api url

* Fixed create new projects and list projects

* Improved the ProjectInfo page

* Fix the copy to clipboard button

* Add the codesnippet

* wip

* wip UI

* Improve the code snippet

* Fixes and improve the UIs

* Replace the product logos

* Set the group null

* Fix the conflicts

* Fix the heroicons

* Remove the unused method

* Make the ProjectDetails 2 columns

* Fix the logs-viewer not displaying

* read event log from admin-ui

* Jackson docker compose file & retraced integration related changes

* minor fix

* fixes for created key of audit log

* fixed the expiry for self signed certificate

* using node forge for self signed certs

* Revert "using node forge for self signed certs"

This reverts commit c027b5b7ce.

* fix

* package lock changes

* installed missing dependancies and added new packages

* minor fixes

* fixes

* added missing translations for retraced pages

* - pin deps
- removed react-copy-to-clipboard, react-host-toast

* fixed typo

* cleanup

* tweak

* switched to ButtonIcon

* switch to button components and added back buttons where needed

* checking npm ci

* simplified env vars for Retraced

* tweaks

* If Retraced host is not specified then show a message

* added audit logs logo

* - added admin_token to bypass user and project specific queries
- fixed project details view to read any length for environments

* switched to daisyui Select

* fixed auth check for api routes, get email for claims from the jwt

* updated package-lock

* switched to clipboard component

* tweaks to CodeSnippet

* padding tweaks

* updated package-lock

* updated package-lock

* fixed z-index for modal in logs-viewer

* select -> Select

Co-authored-by: Kiran <kiran@boxyhq.com>
Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
2022-12-30 17:02:16 +00:00
Aswin V 69da3e5b95
Enable multi platform build for docker image (#737)
* Test multiplatform build

* Remove armv6 and armv7

* Try with armv8 removed

* Use cross compilation for speed up

* Update node image and use arg

* Prep for PR
2022-12-09 16:47:37 +00:00
Deepak Prabhakara b745ee74ff Revert "Upgraded to node 18.12.1 (#713)"
This reverts commit cae3572f44.
2022-11-28 15:48:56 +00:00
Deepak Prabhakara cae3572f44
Upgraded to node 18.12.1 (#713)
* upgraded to node 18.12.1

* upgraded to node 18

* trying `node-version: '18'`

* one more try

* trying check-latest: true

* reverting to node-version
2022-11-28 14:01:53 +00:00
Deepak Prabhakara c98b41341f
use undici instead of fetch (#662)
* use undici instead of fetch

* updated alpine
2022-11-08 00:29:26 +00:00
Deepak Prabhakara 22a9078e4a updated node 2022-10-14 18:21:24 +01:00
Nafees Nazik 8ccdcdcb86
fix: reduce docker image size (#557)
* feat: enable standalone output

* feat: update docker file

* fix: alias as base and pin node version

* fix: copy npm folder

* fix: install sharp

* build: update docker ignore

* fix: remove sharp from docker file

* fix: remove asteriks

* feat: add max http header size env

* fix: remove copy npm folder
2022-10-08 18:23:27 +01:00
Deepak Prabhakara 26fbcc2670 - updated alpine node image in container
- added --legacy-peer-deps flag for npm install
2022-07-11 10:32:11 +01:00
vishalboxyhq af6c984a4a
Update port from 5000 to 5225 and 3000 to 3366 (#89)
* Update port from 5000 to 5225 and 3000 to 3366

* bumped up version

Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
2022-02-21 14:33:31 +00:00
Deepak Prabhakara da0da3c4b4
updated node to 16.14.0 (#90)
* updated node to 16.14.0

* updated nextjs to 12.1.0
2022-02-17 19:47:26 +00:00
Deepak Prabhakara b10d5a78bc should be port 5000 in Dockerfile 2022-02-17 19:05:32 +00:00
Deepak Prabhakara 3754f2b13d
Next.js service (#53)
* moved jackson-next to this repo

* fixed working-directory

* updated package-lock

* fixed docker build

* fixed dockerfile

* cleanup

* save npm version for use in the build step

* switching the order

* fixed env secret

* update saml-jackson to the current version before building the next.js service

* build from typescript and change main and types before publishing npm

* copy README.md from root before publishing npm

* update README only for prod versions

* read version from root package.json file

* fixed artifact

* updated package-lock
2022-01-05 12:09:51 +00:00
Deepak Prabhakara e8c3d12ef2 tweaked Dockerfile 2021-12-31 12:17:37 +00:00
Aswin V 16c1e79143 Add tsconfig to COPY 2021-12-31 14:17:54 +05:30
Aswin V c08ea1520e move dist instead of src 2021-12-31 12:57:15 +05:30
Deepak Prabhakara f79ca0431b updated node 2021-12-18 12:15:31 +00:00
Deepak Prabhakara 336758c687 docker multi step build 2021-09-16 12:52:32 +01:00
Deepak Prabhakara ead8313274 index.js -> jackson.js 2021-09-16 11:14:33 +01:00
Deepak Prabhakara c15d5701af added Dockerfile 2021-09-16 10:48:24 +01:00