ToolJet/server/test/controllers
Muhsin Shah C P dc8f69e4b2
[Feature] Organisation level environment variables 🚀 (#3068)
* Added new page for env vars

* Changed a field name

* Added some backend files
- Entity, Dto, services

* Started working with api endpoints
- implmented create
- added ability

* Added fields validation
- Added env variables into module

* Added update, delete, get apis
- Also implemented delete feature in frontend

* Implemented update operation on frontend
- Solved an api problem

* Added encryption

* Added encryption to update operation
- Exposed env vars to editor
- working on viewer

* Exposed env vars in viewer also
- Resolved a bug

* Updated edit & delete icon sizes

* Added specs
- Resolved issues that occurred while testing

* removed logout code

* Changed api endpoint

* splitted page into 3 different parts, Form & table

* Now, non-admin users can see all org env vars

* Resolved divider missing issue

* Added variable_type field

* Now secret server values will be shown as 'SecureValue'

* Now you can't update variable_type

* Now server will resolve the secret env values

* Resolved variable name issue

* Added unique constraints

* Resolved some frontend bugs

* Changed error text

* Fixed failing specs

* Added group permissions for org env vars

* Added permission checking in the backend

* Implemented permission checking in the frontend

* Edited spec for new changes

* Changed some specs and fixed failing specs

* Resolved failing case that showed up after merging with the latest develop

* Added default admin seed permissions

* Refactored some code

* Changed value to organization_id

* Fixed a bug

* Resolved a failing case

* Resolved PR changes
- Changed permission name
- Changed column type to enum
- Fixed some errors
- Refactored the code

* minor code change

* added scope

* Fixed: hide table when 0 no of vars available

* Fixed table dark theme issues

* Fixed encryption switch style

* Fixed failing cases and updated a spec

* Added %% for environment variables

* Added code to resolve single variable

* Fixed multi-variable usage

* resolved an issue

* removed extra divider

* Suggestions will also show up for %% too

* now, suggestions dropdown will only show env variables results

* env vars suggestions will not be included  in js search results

* You can't resolve env variables from js code
- Also, we can't resolve js code from env variable enclosures

* added an info text

* Resolved variables issue

* fixed Viewer issue

* Resolved a bug
- client variable was not working on query preview and run actions

* Update error message while using server variable on canvas

* Revert "Update error message while using server variable on canvas"

This reverts commit 081e1c9e29.

* Resolved all PR changes
- removed prefix 'environmentVariable'
- redefined variable evaluation
- removed environmentVariable object from inspector
- fixed a small bug

* Fixed a server side issue

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-07-01 16:20:37 +05:30
..
app.e2e-spec.ts [Feature] Organisation level environment variables 🚀 (#3068) 2022-07-01 16:20:37 +05:30
app_users.e2e-spec.ts fix public app view and data query run (#1082) 2021-10-15 14:35:11 +05:30
apps.e2e-spec.ts [bugfix] Now users can't create multiple versions with the same name for an app (#3342) 2022-06-28 12:36:28 +05:30
comment.e2e-spec.ts Support for multiple workspaces 🚀 (#2778) 2022-05-05 12:38:42 +05:30
data_queries.e2e-spec.ts Password retry limit (#3300) 2022-06-30 00:49:45 +05:30
data_sources.e2e-spec.ts [bugfix] Now users can't create multiple versions with the same name for an app (#3342) 2022-06-28 12:36:28 +05:30
files.e2e-spec.ts feat: add user avatar (#2920) 2022-06-02 12:19:49 +05:30
folder_apps.e2e-spec.ts Fixes addition of application to folder more than once (#2961) 2022-05-05 12:04:42 +05:30
folders.e2e-spec.ts [Feature] Added ability to update and delete app folders (#3132) 2022-06-16 19:41:38 +05:30
group_permissions.e2e-spec.ts Password retry limit (#3300) 2022-06-30 00:49:45 +05:30
library_apps.e2e-spec.ts Fix failing specs on oauth and templates (#2197) 2022-02-08 09:49:27 +05:30
oauth.e2e-spec.ts [Feature] Organisation level environment variables 🚀 (#3068) 2022-07-01 16:20:37 +05:30
org_environment_variables.e2e-spec.ts [Feature] Organisation level environment variables 🚀 (#3068) 2022-07-01 16:20:37 +05:30
organization_users.e2e-spec.ts User account level security issue (#3272) 2022-06-17 17:09:13 +05:30
organizations.e2e-spec.ts Fix: Show sign up form for single organization when no org present (#3107) 2022-05-24 22:16:01 +05:30
thread.e2e-spec.ts Support for multiple workspaces 🚀 (#2778) 2022-05-05 12:38:42 +05:30
users.e2e-spec.ts [BUG] Account level security issue (#3150) 2022-06-02 15:20:51 +05:30