* Push sdk folder
* Ignore `sdk` from root tsconfig
* Add postcss config
* Tweaks to the vite setup
* Cleanup and add `Login` component
* Test
* Undo test commit
* Turn off next linter rule for sdk
* Tweaks to component doc
* Add dom libs to tsconfig
* html id generation
* Component WIP
* Update tsconfig and lock file
* Refactor
* Tweak props and handle error display
* Simplify `useId` hook
* Update JSDOC
* Remove ErrorDisplayComponent prop
* Minor refactor
* Refactor id generation, add jsdoc
* Support styling via props and add default styles
* Sync lock files
* More default styles for input
* Sync lock file
* Tweak box-shadow
* Minor tweak comment
* WIP
* Update package name and lock file
* Update vite config fileName
* Exclude type emit for internal components
* Tweak package.json
* Rename `react-ui`
* Add repo and bugs fields
* Fix import name and jsdoc
* Support `unstyled` prop
* Tweak README and docs
* Minor tweaks
* Tweak README and update favicon
* Add workflow for npm publish
* Update build script and use node 16
* Add trigger on push
* Add dev dependencies to fix failing build
* Add missing dev dependency
* set access to public
* Move react & others to dev dependencies
* Fix main,module,exports in package.json
* Include types in package.json
* Fix types path
* Fix return type for `forwardTenant`
* Include react as a peer dependency
* Add react plugin to vite
* Handle `undefined`
* Inject defaultStyles into build
* Update tsconfig
* Update homepage
* Update type to void for no return
* Update usage
* [skip ci] update lock file
* [skip ci] Merge branch 'main' into 702-react-sdk-login
* WIP tweak component
* Handle submission state, align focus styles
* Sync lock file
* Swap ::set-output with `$GITHUB_OUTPUT`
* Use ci job output for getting npm version and publish tag
* trigger sdk jobs on `workflow_call`
* Use sdk workflow
* Fix workflow path
* Replace version in sdk package.json
* Move condition to sdk workflow
* Update vite to v4 and cleanup dependencies
* Publish a beta version for testing
* Revert removal of autoprefixer
* Update node version and inherit secrets
* Tweaks
* Update SDK README
* Revert changes related to testing
* Align border-radius with boxyhq ui
* Temporarily allow publish
* Style alignment with boxyhq ui
* - Update default styling to that of a b/w look
- Support style attr for container
- Tweak types
- Support CSS vars on container element to
style input and button outlines plus button hover
* Accept any color format
* Tweak README and demos
* Support spreading props for input/button
* Tweak style injection so that userland classes
load later and override the default styles
* Try non injection of css
* Add style.css to exports and files
* Formatting change
* Add styling section
* Bump up version
* - Use defaultClasses only if custom classes
are not set
- Remove `unstyled` prop
* Update demos
* Add style for disabled state
* Tweak README
* Bring back css injection
* Remove style from files and exports fields
* Scope css properties to appropriate inner elements
* Remove css properties
* Bump version
* Support HTMLAttributes for container and label also
* Prep for release
* Export types from entry point file
* Tweak for local usage via npm linking
* Replace package.json fields before publish
* Tweak demos
* updated dependabot for new package.json
* fixed yaml
Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
* 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>
* Add alert component
* Add a loading state component
* Now Emptystate accept an optional prop description
* SAML federation create app controller
* Add the UI to create and list SAML federation apps
* Create SAML federation app and metadata
* wip
* wip
* wip
* Cleanup
* Fix the return values
* Delete the session after the SAML response is sent to the user
* wip
* Revert the changes to the ConnectionAPIController
* wip - IdP selection, session fixes
* Fix the flow
* Refactor
* Refactor
* wip
* Refactor the idp selection page - wip
* Refactor
* Refactor the resolve connection
* Refactor the idp selection
* Refactor the idp/app selection and other fixes
* wip
* Refactor
* Refactor the SAML response handling to merge the logic
* Rename the methods
* Move the saml federation to /ee folder
* Fix the imported types
* wip
* wip /ee
* Move the federated SAML UI to /ee
* Move to /ee folder
* wip admin portal
* Delete the SAML federation app
* Rename the controllers
* Add the translation
* Add the proper license check
* Add the unit tests
* tweaks to test
* tweaks to test
* Changes to the controller and other cleanup
* Fix API routes headers
* Use new toast
* Add button to download cert
* Tweaks
* log cleanup
* saml federation is part of enterprise sso
* entityID now contains the unique hash needed for each tenant + product combination
* cleanup
* cleanup
* we don't need a unique entityID
* text tweaks
Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
* updated typeorm
* renamed connection
* updated migration scripts to new TypeORM version (v3)
* synchronize for now, need to sort out instructions for running migration scripts and also a way to run migration when the service starts
* verbose logging for migrations
* exclude typeorm.ts from the build
* Redis,Mem DB pagination, mongo inti func change
* spelling correction and add comment
* spelling coreection
* add downlevelIteration for mem.ts
* add downlevelIteration for mem.ts in main tsconfig
* NextAuth + users providers
* Add a temporary fix for verification token - don't use it in production
* Admin ui files
* Admin controller
* getAll db apis
* IdP provider page and api route
* Fix padding
* Style fixes
* middleware to check session
* Loading state handling
* fetcher better response handling
* Add new provider form and api route
* Tab panel in client add form
* Tab switching plus new fields
* Flowbite config
* darkMode with flowbite
* Save config
* Update route path to saml
* Reusable component for add/edit
* cleanup
* Set Secret in NextAuth options
* Prettier lint changes
* Support for delete operation
* Link update
* PopUp Modal reusable component
* Popup confirm before delete
* disable SWR revalidation on focus
* Display IdP metadata, clientID,secret
* Header fixed positioning and style fixes
* Filter raw XML in edit mode
* Add name field to config
* - Edit/New form delta
- Split by newline
- Route back after POST
* Remove flowbite
* Remove flowbite [cleanup]
* Add description field
* updateConfig implementation
* Route PATCH to updateConfig
* Naming change
* Naming Client -> Connection
* AddEdit component updates
* Omit provider, returns full config
* Destructure session first
* Change to domain ACL
* Delete unused component
* Support glob and list of emails for ACL
* Delete unused CSS
* Update package lock
* Remove flowbite from content source
* Redirect to admin route
* Check session in Layout and redirect to login
* Logout in dropdown
* vertical alignment
* Show status message on save (edit)
* Consolidate fields to one long vertical column
* GetAll function for SQL and Add CreationDate and Modification Date for Mongo and SQL
* Add name as header
* Styling and opacity transition for status
* Configure button style fix
* overflow for smaller viewports and rounded border
* Fallback to default behavior of useSession
* Store, use and dispose (after signIn)
verification token in db
* Remove unused class
* Rename Connections ➡ Configurations
* Handle getAll and getConfig using slug
* Better naming
* Update fetch paths
* Refactor getAllConfig ➡ getConfig (By Id)
* Better naming
* Rename saml ➡ samlconf
* Use light theme by not defaulting to system theme
* Path update /samlconf ➡ /saml/config
* Fix path
* Revert manual changes
* getall funcationality and migration script
* message
* Updating migration file formating
* message
* Pull and fix package.json and lock file
* correcting the migration script formatting
* remove file
* add new migration files
* e2e with playwright
* Better naming
* Remove comment
* Make headless
* Run npm install from root
* Add e2e steps in workflow
* try with separate npm installs
* Move higher in the pipeline to test
* Fix quote
* Rely on npx
* fixed migration script formatting
* spelling correction
* headless for CI but false for local
* Use secret
* Type fixes for mongo
* [skip ci] Swagger annotation for getConfig
* Adding migration scriptis for all db's
* added migration script to prettierignore
* unformat migration script
* removing postgress migration files
* generate new migration files
* remove wrong migration files
* Add new migration files for mysql and mariadb
* [skip ci] Swagger annotation for updateConfig
* Return empty for update op
* Update swagger spec
* Fix type
* Wait for mongo to start
* Fix db_engine
* Test with pg
* Test with POSTGRES_DB env to auto create db
* Swap install-deps with install
* Use prod build
* enable @ts-ignore
* Test some fixes
* Can be omitted in next-auth v4, uses secret
* Move env to playwright config
* authDbSeed script needs the db and other secrets
* Typo
* Bad typo day 😅
* Again typo
* Set NEXTAUTH_URL
* Use prod build in CI
* Prefix the env for seeding
* Try with inline
* tidying up migration scripts
* fixed migration scripts
* Set env in actions yml
* Remove comma
* Target chromium
* Prefix the env
* Try inline in playwright
* print env
* Move build to action step
* Remove console log
* Let env sit on the job level
* Add ACL
* Fix attribute check
* Add name field
* add name in metadata preload config
* Use postgres
* Remove unneeded secret
* Remove env/options from mongo service
* Fix swagger
* Update swagger spec
* [skip ci] Fix eslint warning
* Add updateConfig test
* Add description to preloaded config
* [skip ci] cleanup
* minor fix
* Update comment
* Expose PATCH in config api
* Added missing validation for clientSecret
* Update swagger spec
* updated example postgres url, updated deps
* Redirect to saml config route
* Remove unused pages/routes
* Update in package lock
* Add primary and secondary colors to tailwind
* Swap icon
* Remove text-color and apply default theme
* Use the primary color from theme
* Reusable custom class for btn-primary
* Add link-primary reusable class
* Use primary secondary colors for main logo
* Show error status & color align with primary color
* Show product if name is absent
* Simplify required attribute setting,
'description' is not required
* Make description optional
* Fix placeholder text
* Swagger updates
* Add validation for description
* Swagger - add missing status codes & descriptions
* Update swagger artifact
* Fix styling for status message
* revalidate config on successful save
* style text highlight globally
* Fix cancel button style
* Set the main height to 100%-headerHeight,
add overflow
* removed default ACL, if someone forgets to change it then we might have Tony Stark logging into everyones instances :)
* print the arch/platform
* Collect platform info
* Disable swc and remove platform query steps
* Try with custom babel config to disable swc
* Add next.js build cache
* Refactor step
* trying swc
* Make name parameter optional
* Update form state from backend after save
* port 5000 -> 5225
* Handle empty value case for ACL
* bumped up version
Co-authored-by: Kiran <kiran@boxyhq.com>
Co-authored-by: Vishal Lodha <vishal@boxyhq.com>
Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
Co-authored-by: Utkarsh Mehta <ukrocks.mehta@gmail.com>
* 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