* add feature for data query deletion
* fix after query deletion default query selection is not being done
* move delete option and hide option unless mouse is hovered on query
* show dialog box confirmation before query deletion
* setup sentry for server
* setup sentry for client
* update docs for sentry dns
* explicitly specify apm vendor
* add module for sentry
* revise directory struct and make sentry debuggable
* setup csp and trace headers for sentry
* whitelist csp for all sentry urls
* change senrty error sample rate to 50%
* make sentry send all errors from backend
* add ability to preview and edit versions
* add specs for get app versions
* create new app versions from prev definition
* fixes
* move default slug creation outside typeorm transaction
* set slug as app id when null
* fix app creation response
* fix entities not loading on test env
* add e2e test for version creation scenarios
Co-authored-by: navaneeth <navaneethpk@outlook.com>
* Add option to enable and disable SSL in Postgres configuration UI
* Connect to postgres with/without SSL based on user's choice
* Add migration to set SSL enabled for every postgres data source
* Fix data source kind name in migration
* Fetch only postgres datasources in migration for turning on SSL
* Add query params option to Go-to-app action
This commit adds support for setting query params for the
go-to-app action. When the new app is launched, the passed in
object will be sent as search query params.
* Allow user to enter URL params in multiple input boxes
* Abstract goto-app action logic to a separate container
* Supply necessary newline
* Set 'type' of 'app' property of go-to-app action to 'text'
* List only those apps that has proper slugs for goto-app action
* Modify goto-app action config panel to support Event Manager
* Use EventManager instead of EventSelector for table action config
* Add data migration to make old apps support multiple event handlers
* Fix UpdateDefinitionsForTableActionEvent migration
This commit ensures that the migration recreates onClick event properly
* Fix bug that caused an 'onBulkUpdate' event to be created during migration
* Remove EventSelector
* Add margin above `remove handler` button on Table actions inspector panel
* Multiple handlers for each events
* Fixes
* Migration
* ormconfig to use entities in migrations
* use connection object to build queries
* fixes for bulk update
* Fix for table action button
* use query runner to wrap migration in same transaction
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
* Add functionality to decide whether front-end should be served from server
This commit makes the server allow flag `--serve-frontend`, providing
which, will make the server serve the front-end at route '/'. Otherwise
it won't serve the front-end.
* Use env variable to enable serving client from a server end-point
* Add documentation for SERVE_CLIENT env var
* Add QR code scanner widget
This commit adds QR code scanner widget which
* Displays a viewfinder that can be activated or deactivated
* Exposes a variable named lastDetectedValue which holds the
data contained in the last QR code it was able to scan
* Defines an event onDetect which is fired whenever a QR code
is successfully scanned
* Add documentation for QR scanner widget
* Supply missing newline
* Supply missing newline for qrscanner.svg
* Supply missing newlines and semicolons
* Update error modal content
* Remove `active` property from QrScanner
* Add blob: to content security policy
* Disable content security policy
* Add content security policy that allows self, unsafe-eval and blob
* update docker-compose and docs for docker dev setup
* specify test environment explicitly on npm scripts
* fix migrations to be picked up from either root or dist folder
* fix default slug update
* Add endpoint to update user first and last name, password
* Add settings page that allows editing user details
* Respond with first and last name when user is updated
* Add 'Settings' item in the drop-down down for user
* Add newline for index.js of settings page
* Supply missing newlines
* Ask for current password inorder to change password
* Add end-point to change password
This commit also adds a Guard to ensure that the user reenters
existing valid password.
* Add e2e test for change_password endpoint
* Copy change for the toast presenting misentered current password while changing password
* Change password when enter key is pressed from 'new password' box
* Add newline and the end of password-revalidate.guard.ts
* Delete 'AppUser's before App is deleted
This commit ensures that all the corresponding entries of AppUser
are deleted before an App is deleted. This is done so to prevent
pre-existing foreign keys from halting the deletion.
* Delete all One-To-Many associated entities when app is deleted
This commit makes the App service's delete action delete all the
related entities of types: FolderApps, DataSources, DataQueries,
AppUsers and AppVersions, before deleting the app itself.
* Set currentVersionId to null before deleting app
* Add end-point that deletes an application
Deleting an application will also delete its corresponding
data sources, data queries and app versions.
* Add unit test for app deletion end-point
* Additional e2e test for delete app end-point
This test ensures that non-admin user cannot delete apps.
* Send invitation tokens with the response to GET:organizations/users
* Add column in users table displaying 'copy invitation' button
This commit also makes the app generate corresponding invitation
URL and copies it to the clipboard.
* Add 'Copy invitation' button next to user's 'invited' status
This commit adds an icon button next to the 'invited' label
of users who are invited. Clicking on the button will copy the
corresponding invitation URL to clipboard, and will also
display a notification that says 'Invitation URL copied to clipboard'
* Remoce unnecessary import of Button
* Remove unnecessary empty line
* Remove unnecessary skeletal line
* Supply a newline at the end of theme.scss
* Show 'Copy invitation' button only for admins
* Send invitation token to front-end only if an admin is logged in
* Show 'copy invitation' button only if invitation token is available
* make nginx config generic
* fixes env substituted
* remove npm script dependencies from dev
* match all nginx location to server
* revert git clone dev branch