Muhsin Shah C P
32740743e1
[Improvement] URLs scoped with workspace id ( #5487 )
...
* add: new URL prefix
* fix: working on home page
* add: profile path
* playing with rxjs
* removed context part
* working on path changes
* changing routes
- TODO: replace the workspaceId with actual id
* redo: public apps path
* initial commit
* added authorize API
* remove privileges from auth response
* fixed some api issue
- added subscriptions
* fix: redirect url workspace-id null issue
* fix: switch workspace
* fix: organization list mapping
- menu item paths
* fix: preview url
- editor, viewer permission mapping
* jwt fix
* fix: some url issue
- permission mappings
- workspace login
* fixed some issues
- user invite workspace-id
- org settings menu item default selected item issue
* app viewer fixes
* fixing workspace login issues
* fix
* fixing issues
- tooljet db
- path issues
- refatoring the code
* fix: workspace vars permissions
* fix: multi-page handle
* fix: create app from template
* fix: bulk user upload
* fix: import app
- clone app
- upload profile image
* fix: onboarding
* fix: log out
* fixed multi-workspace logout issue
* fix: launch btn
* fix: oauth2
* fixes
* fix: sso login
* fix: workspace sso login
* fixing sso issues
* fix: moved list of orgs to rxjs
- fixed switching issues
* reverting some changes
* fixed some minor bugs
* fixing sso redirect url issues
* fix: switching network timing issues
* fix: back to workspace-id
* fix: tj-database
- refactored the code - removed org id from some pages
- will get the org id from the service file only
* fix: multi-pages
* fix: infinite loop issue
* fixing workspace switching issue
* fixes
- comment link
- logout & private route redirect url
* fix: wrong uuid error
* fixing subpath
- fixed most of the places
- need to test & fix workspace login, sso, new account
* fix: subpath workspace login
* fix: rxjs handle bug
* Revert "fix: tj-database"
This reverts commit 9632ec2ff0 .
* fix: reverted tj-db changes
* fix: subpath sso
* typo fix
* fix: existing session issues
* new: switch workspace page
* fix: modal dark-mode
* added default sso support
* fixes
- subpath workspace switching
- handle wrong routes
* fix: manager user button
- refactored the code
* removed SINGLE Workspace feature
* rebase
* add: change modal text
* fix: added validation
* fixed private app 401 issue
* initial commit
* fix: logged out session multi-tab issue
* refactoring the code
* fix: redirect url issue
* added auth-token in cookies
* Fix: failing e2e specs
* added session API
* fix: backend session guard
* fix: removing user details from local storage
* fix: null wid
* undo and redo
* fix: login page
* fix: viewer login redirection
* fix: login page redirection
* fix: public apps logout issue
* added session storage and scheduler
* added profile api
* fix: sso login
- switch workspace
- login page
- setup admin
* working on fixes
* fix: socket issue
* fix: setup admin api
* connected profile & logout apis
* fix: malfunctioned auth token case
* fix: realtime avatar
* fix: profile avatar
* fix: Realtime cursors avatar
* setting max age for auth token cookie
* add: Go to login page if logout api returns 401
* fix: subpath login
* fix
* fix: app logout [viewer]
* fix: authorize page
* remove expiry from jwt
* fix: integrations route
- session api
* small fix
* fix: updated profile
* fix: workspace login [logged user]
* fix: oauth and another workspace page issue
* fixed app preview logout issue
* subpath fix
* fix: subpath app id
* fix: selected state didnt change for apps page [subpath]
* fix
* add cookie parser to test app
* specs added
* increased user session expiry time
* test: session & new apis
* working on test cases
* fix: onboarding issue
* fixing specs
* fix: test cases
* fix: removing profile api calls
* some fixes
* fixing rebase issues
* fix: global ds issues
* fix: app is crashing
* fix: back to text
* fix: oauth test cases
* fix: test-helper
* fix: onboarding test cases
* fix: tests again
* refactoring the code
* latest develop merging precautions
- fixed a minor null issue
* fix: typo
* fix :menu issues due to the merging
* fix: - clicking on tooljet logo didnt redirect to login page for public apps
- private app preview doesnt load after login
* subpath fixes
* fixed back to issue
* PR changes
* fix: spec fixes for EE
* doc: URL scoped for workspace
---------
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
Co-authored-by: Shubhendra <withshubh@gmail.com>
2023-04-06 16:42:58 +05:30
Midhun G S
100e51b57b
User account level security issue ( #3272 )
...
* user account level security issue
* review comments
* review comments
2022-06-17 17:09:13 +05:30
Midhun G S
0545528504
Support for multiple workspaces 🚀 ( #2778 )
...
* multi org changes
* Initial changes
* changes
* manage sso page
* Multi-organization changes
* Multi organization changes
* multi-org changes
* multi-org changes
* multi-org changes
* multi-org fixes
* env variables app.json changes
* multi-org-fix
* user invitation token fix
* multi-org group permission fix
* multi-org app privilege
* google oauth fix
* Remove enable signup for form login
* Multi organization fixes
* multi-org user invite flow changes
* multi-org sign up fix
* rebase and multi-org fixes
* revert testing logs
* test logs revert
* migration changes
* migration file fix
* error message changes
* git login for private email fix
* dropdown fix
* test cases
* e2e test cases added
* test cases fix
* documentation changes
* testcases fix
* testcases added
* replace findOne with findOneOrFail
* accept invite testcases
* login page fixes
* added encrypted tag
* review comments
* migration fixes
* improvements
* manage sso loading fix
* review comments
* migration file changes
* new organization creation bug fix
* added e2e testcases
* added testcases
* Update data_sources.controller.ts
2022-05-05 12:38:42 +05:30
Gandharv
2f3b441c0a
Move plugins to root ( #1728 )
...
* feat: move plugins to root
* modify tsconfig
* add .gitignore
* delete old plugins file
* add parcel
* docker compose volume mount
* add gcs
* add typescript to plugins folder
* gcs to ts
* add dynamodb
* add elastic search
* add firestore
* add gsheets
* add graphql
* add mongodb
* mssql
* add mysql
* add postgresql
* add redis
* add s3
* add slack
* add stripe
* remove plugin related packages from pkgjson
* add lib folder
* add gitignore
* remove typescript generated files
* remove generated file
* remove generated files
* add twilio
* add dist to docker compose cache binding
* add dist prefix
* cleanup - 1
* delete dist
* rename to index.ts + add jest config
* add it.todo in tests
* test fixes
* test file changes
* fix type checks
* add @tooljet/plugins to server package json
* esm vs commonjs bug, reduce got to 11.8.2 from 12.0.0
* docker file npm package version fix
* add typesense
* cleaup - 2
* add sendgrid
* add lerna build and clean script for all packages + tsconfig
* cleanup -3
* add plugins build step
* add missing plugins build step in npm run build
* add mssql, mysql & postgres as singleton classes
* add db connection to cache only if datasourceId is available
* client: add data source schema/manifest files
* add query operations files
* logic for wrapping form with schema
* add script to create index file
* add @tooljet/plugins to frontend folder
* cleanup 1 -frontend
* cleanup - 2 // frontend // data queries
* add client and index to gitignore
* update gitignore
* fix lint & test
* update ci
* fix unit, e2e
* cleanup -3
* fix test
* fix tests
* fix indent
* try npm ci
* fix tests
* fix typo
* fix
* rename file for server entry
* heroku fix
* add main and types entry points in pkg json
* move common to root
* cleanup - 4: remove redundant $ sign prefix
* cleanup - 4: remove redundant $ sign prefix
* update options in-sync before DOM is painted
* change type cloud to cloud storage
* update readme
* update ci.yml
* update ci yml
* add pkg-lock.json
* rename index.ts to server.ts
* update lock files
* add server package.lock
* remove unused import
* revert commit: add minio
* add root dep
* import server.ts
* remove plugins build step
* add npm shrinkwrap
* update version - plugins
* add new version - 0.0.8
* upgrade version
* move to symlinked package
* add lock file
* feat: add icon inside package
* add plugin creation docs
* Remove seed
* move icons to plugins folder
* install pg dep
* add react to packages
* add seed cmd
* revert change
* add plugins build in lint, e2e, unit
* e2e, lint use npm ci
* update dockerfile for plugins
* try combining release with web
* limit memory on release
* try executing seed script post transpile
* try executing seed from server directory
* update seed execution
* add minio
* add correct type
* add minio to pkg json
* remove old file
* fix provider key
* add python installable + npm ^7.2.0 (#1752 )
* add python installable + npm ^7.2.0
* add py to prod file
* pin npm version to 7.20.0
* pin npm version to 7.20.0
* split into multi stage build and remove python for buildx
* copy plugins from buider stage
* update dependencies
* add freetds dependency
* update server dockerfile
* update client dockerfile
* update dev dockerfile and compose file
* fix entrypoint
* fix server dev dockerfile
* update docker-compose
* remove npm install on root dir on docker build
* fix heroku script
* make lerna prod dependency to enable prod builds
* remove redundant env setup
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: navaneeth <navaneethpk@outlook.com>
2022-01-17 12:38:17 +05:30
Akshay
783ed2133c
Fix: Archived user cannot login or perform authenticated actions ( #1749 )
...
* archived user cannot login or perform authenticated actions
* fix spec
* invalidate invite token on archive
2022-01-07 14:46:23 +05:30
Akshay
51f3c2f9ab
Fix: check on removing last active admin ( #1714 )
...
* fix check on removing last active admin
* fix typo
2022-01-06 16:08:18 +05:30
Akshay
e2dfbf038a
Feature: Unarchive users ( #1694 )
...
* add ability to unarchive users
* add e2e specs
* reset password on unarchive
* fix spec
2021-12-31 02:11:10 +05:30
Akshay
5b30aa2007
Chore: Setup pipeline ( #1539 )
...
* github actions for PR and push to develop branch
* test workflow
* move to workflows folder
* add setup node action
* modify build
* specify npm version
* config unit test
* specify host postgres
* specify container to run on
* add postgresql dependency
* add specify ws adapter for test
* add e2e test
* fix linting
* only log errors on tests
* update eslint config
* fix linting
* run e2e test in silent mode
* fix library app spec
* dont send email on test env
* fix org scope
* mock env vars
* remove reset modules
* force colors
* explicitly close db connection
* add eslint rule for floating promises
* update workflow
* fix floating promise
* fix lint
* update workflow
* run on all push and pulls
* update lint check files
* simplify workflow
* increase js heap size on env
* separate lint and build
Co-authored-by: arpitnath <arpitnath42@gmail.com>
2021-12-10 08:43:05 +05:30
Akshay
799bef0138
fix public app view and data query run ( #1082 )
2021-10-15 14:35:11 +05:30
Akshay
7023f72d1d
Feature: User access management 🔥 ( #918 )
...
* create migrations for group permissions setup
* define new entities and relationships
* revise migrations
* rename columns
* add migration to populate permission groups for existing users
* Feature: User access permission group usage (#883 )
* create migrations for group permissions setup
* define new entities and relationships
* revise migrations
* rename columns
* add migration to populate permission groups for existing users
* revise migrations
* hide roles usage
* setup group permissions for apps and users
* fix defaultChecked
* fix update permission checkbox
* fix casl ability check to have params passed
* fix casl apps abilities to check with app specific permission
* add ability to delete groups
* conditionally render edit and delete options for all and admin users
* fix user role to group migration
* revise group management pages to disallow updating default group
* move manage users and groups to navbar dropdown
* show only addable apps and users on dropdowns
* rename header as profile settings
* scope addable apps and users by organization
* scope viewable apps on homepage
* hide manage groups link from non admins
* make permissions to be used with radio input
* add loading state for add apps/users buttons
* revise unit tests
* revise migrations
* fix e2e tests
* comment out dead code
* fix seeds script
* handle folder count
* captalize error toast
* hide manage users dropdown for non admins
* show fobidden error on blank homepage
* fix folder app count
* fix invalid state set
* make group name clickable for edit instead
* users with edit permission can deploy apps
* not show edit link on homepage if user dont have update permission
* remove unused entity from merge
* remove roles usage from manage org users page
* fix folder count and blank slate on homepage
* disable add buttons if there is no selections
* humanize default groups on view
* make app added onto groups have read permission by default
* not show app menu if user is not admin
* remove admin users from group user addition dropdown
* create default permissions for app cloned
* fix querying index page without page params
* fix admin scoped out from group add
* remove apps from header
* fix invitation url not shown
* scope admin deletion check by org
* scope public apps by organization
* add specs for group permissions e2e
* removed unused entity and add group permissions spec
* remove console logs
* remove unused permission
* scope public app count by org
* remove console log
* refactor manage group permission resources component
* update group permssion in org scope
2021-10-11 20:45:58 +05:30
Arpit
26c9cc655c
Fix linting errors across the app ( #785 )
...
* eslint-setup: rules for frontend and server
* setup pre-commit:hook
* frontend:eslint fixes
* frontend eslint errors and warning fixed
* eslint:fix for ./server
* fix server/test: expectatin string lint/error
* pre-commit:updated
* removed unwanted install cmd from docker file
* recommended settings and extension for vscode
* husky prepare script added
* updated extension recommendations
* added prettier as recommended extension
* added pre-commit to package.json
* remove .prettierrc file
* resolve changes
* resolve changes
2021-09-21 19:18:28 +05:30
Akshay
40005146c4
Fix role change when only one admin is present ( #766 )
2021-09-21 17:36:21 +05:30
Akshay
24685a127f
fixes server error when inviting new user ( #679 )
2021-09-03 09:52:07 +05:30
navaneeth
63a3cf28c1
Tests for archiving users & changing roles
2021-07-22 20:08:34 +05:30
navaneeth
cb56082f75
Test helpers for creating Nest instance & apps
2021-07-22 19:52:14 +05:30
navaneeth
c37289f1cd
Policies and tests for org user invitation
2021-07-22 15:11:50 +05:30
navaneeth
6634bcfc3b
Policies and tests for organization user actions
2021-07-22 12:55:29 +05:30
navaneeth
b218dce44b
E2e tests for archiving org users & changing roles
2021-07-20 16:55:51 +05:30