Commit Graph

640 Commits

Author SHA1 Message Date
Pravesh Sharma
62056cab14
Fixed sonaqube security smells and bugs
1. Delete unreachable code or refactor the code to make it reachable.
2. Unexpected var, use let or const instead.
3. Remove useless assignment to variable.
4. Define a constant instead of duplicating the literal
5. Remove commented out code
2023-07-10 10:36:15 +05:30
Aditya Toshniwal
d6cddd8c29
Remove Bootstrap and jQuery from authentication pages and rewrite them in ReactJS. #6295 2023-06-30 16:08:33 +05:30
Akshay Joshi
557f33c4f9
Added support to drop databases using the 'WITH (FORCE)' option. #6367 2023-06-19 15:04:40 +05:30
Yogesh Mahajan
eef295f9d8
Fixed feature tests failing due to selenium upgrade to 4.10.0. 2023-06-19 11:43:28 +05:30
Akshay Joshi
b8377be1b5 Pin selenium=4.9.1 as latest version having some issues. 2023-06-15 17:58:08 +05:30
Akshay Joshi
251bf05692 Fixed the following SonarQube code smells:
1) Do not use Array index in keys.
2) Unnecessary escape character.
3) Rename this local variable to match the regular expression ^[_a-z][a-z0-9_]*$
4) Remove the unused local variable.
2023-06-12 18:44:31 +05:30
Aditya Toshniwal
745a91393c Fix JS test cases and other JS build issues caused due to dependabot updates. 2023-06-09 18:22:20 +05:30
dependabot[bot]
22f2ac0507
Python dependency: Bump coverage from 7.2.3 to 7.2.7 in /web/regression (#6413)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.2.3 to 7.2.7.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.2.3...7.2.7)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-09 17:26:13 +05:30
dependabot[bot]
e385aec7f7
Python dependency: Bump fixtures from 4.0.1 to 4.1.0 in /web/regression (#6410)
Bumps [fixtures](https://github.com/testing-cabal/fixtures) from 4.0.1 to 4.1.0.
- [Changelog](https://github.com/testing-cabal/fixtures/blob/master/NEWS)
- [Commits](https://github.com/testing-cabal/fixtures/compare/4.0.1...4.1.0)

---
updated-dependencies:
- dependency-name: fixtures
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-09 17:24:43 +05:30
dependabot[bot]
c42e00a090
Python dependency: Bump selenium from 4.9.1 to 4.10.0 in /web/regression (#6409)
Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 4.9.1 to 4.10.0.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases)
- [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.9.1...selenium-4.10.0)

---
updated-dependencies:
- dependency-name: selenium
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-09 17:23:39 +05:30
Akshay Joshi
7e3a932890 Fixed SonarQube Bugs 2023-06-09 15:28:46 +05:30
dependabot[bot]
05eb956aab
Python dependency: Bump selenium from 4.8.3 to 4.9.1 in /web/regression (#6265)
Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 4.8.3 to 4.9.1.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases)
- [Commits](https://github.com/SeleniumHQ/Selenium/commits/selenium-4.9.1)

---
updated-dependencies:
- dependency-name: selenium
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 10:53:00 +05:30
Anil Sahoo
05b595d32d
Fixed the failure of python test cases of EPAS and JS tests for publication node. #5868 2023-05-29 17:41:45 +05:30
Anil Sahoo
8b7eeca545
Implement new PostgreSQL 15 features in publication dialog and SQL. #5868 2023-05-25 16:25:12 +05:30
Dave Page
8ea3346a9d
Handle SQL_ASCII databases when running test cases.
* Handle cases when psycopg returns bytes instead of a string.

See https://github.com/psycopg/psycopg/issues/561

* A more appropriate fix, suggested by Daniele Varrazzo

* Fix typo.

* Re-think this check. Our own driver effectively monkey-patches the psycopg encoding mappings.
2023-05-16 09:20:01 +05:30
Yogesh Mahajan
cad4c6b8af
Fix feature tests for the database versions 11, 12 and 13, broken due to multirange data types support. 2023-05-15 11:42:17 +05:30
Khushboo Vashi
2a22cf077c
Fix circular reference error for the multirange data types in the query tool. #6221
Add support for the multirange data types.
2023-05-10 10:32:47 +05:30
Aditya Toshniwal
eb1c36bf5b Add extension .md to regression/README 2023-05-05 14:03:31 +05:30
Aditya Toshniwal
1e7517dc98
Show object breadcrumbs path along with its comment on object hover. #2078 2023-04-26 11:18:16 +05:30
Aditya Toshniwal
05938fa6e1 Update yarn.lock to support latest version of yarn 2023-04-25 12:27:55 +05:30
Aditya Toshniwal
4c2ae44e4c Attempt to fix failing JS test cases with error related to ERD. 2023-04-24 18:04:02 +05:30
Aditya Toshniwal
7e2add8db1 Python test famework should log only relevant exception and exit with a non-zero code on error. #6157 2023-04-20 13:33:17 +05:30
dependabot[bot]
569bf4d5a2
Python dependency: Bump coverage from 7.2.2 to 7.2.3 in /web/regression (#6103)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.2.2 to 7.2.3.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.2.2...7.2.3)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 12:23:36 +05:30
Yogesh Mahajan
686f52f636
Do not treat database deletion errors as Feature test failures. 2023-04-17 11:47:08 +05:30
Yogesh Mahajan
64d5457e2b
Try to fix feature test failures happening due to error occurring while deleting test databases.
* Try to fix feature test failures happening due to error occurring while deleting test databases.

* Updated ON_DEMAND_ROW_COUNT to ON_DEMAND_RECORD_COUNT missed in #3275.
2023-04-13 17:25:12 +05:30
Yogesh Mahajan
993e1eb1b6
Allow on demand record count setting to be changed per user using preferences. #3275 2023-04-13 16:43:11 +05:30
Aditya Toshniwal
a18d469c90
Fix an issue in search objects where objects were unable to locate occasionally. #5916 2023-04-04 18:29:54 +05:30
Yogesh Mahajan
dfa367a127
Fixed video recording broken for feature tests due to selenium package update. 2023-04-03 15:28:42 +05:30
Aditya Toshniwal
6710969143
Rename 'Edit Object..' context menu back to 'Properties...'. #4734 2023-04-03 13:10:24 +05:30
Yogesh Mahajan
33953e9119
Fixed intermittent error "Connection Lost" shown while connecting to database. 2023-03-31 16:17:04 +05:30
Aditya Toshniwal
94051a0991
Fix failing RE-SQL test cases for pgAgent. 2023-03-31 15:34:57 +05:30
dependabot[bot]
b47c9039d7
Python dependency: Bump selenium in /web/regression
Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 4.0.0a6 to 4.8.3.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases)
- [Commits](https://github.com/SeleniumHQ/Selenium/commits)

---
updated-dependencies:
- dependency-name: selenium
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-31 11:29:07 +05:30
dependabot[bot]
78a48bbe7e
Python dependency: Bump coverage from 5.0.1 to 7.2.2 in /web/regression
Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.0.1 to 7.2.2.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/coverage-5.0.1...7.2.2)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-31 10:44:23 +05:30
dependabot[bot]
57fbeced39
Python dependency: Bump testtools from 2.5.0 to 2.6.0 in /web/regression
Bumps [testtools](https://github.com/testing-cabal/testtools) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/testing-cabal/testtools/releases)
- [Changelog](https://github.com/testing-cabal/testtools/blob/master/NEWS)
- [Commits](https://github.com/testing-cabal/testtools/compare/2.5.0...2.6.0)

---
updated-dependencies:
- dependency-name: testtools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-31 10:44:03 +05:30
dependabot[bot]
150a438a77
Python dependency: Bump pbr from 3.1.1 to 5.11.1 in /web/regression
Bumps [pbr](https://docs.openstack.org/pbr/latest/) from 3.1.1 to 5.11.1.

---
updated-dependencies:
- dependency-name: pbr
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 16:58:24 +05:30
dependabot[bot]
fb91ec1b75
Python dependency: Bump fixtures from 3.0.0 to 4.0.1 in /web/regression
Bumps [fixtures](https://github.com/testing-cabal/fixtures) from 3.0.0 to 4.0.1.
- [Release notes](https://github.com/testing-cabal/fixtures/releases)
- [Changelog](https://github.com/testing-cabal/fixtures/blob/master/NEWS)
- [Commits](https://github.com/testing-cabal/fixtures/compare/3.0.0...4.0.1)

---
updated-dependencies:
- dependency-name: fixtures
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 16:57:52 +05:30
Yogesh Mahajan
a607ab2d94
Another try to fix role related feature tests. 2023-03-29 13:48:54 +05:30
Aditya Toshniwal
9924fae378
Nomenclature changes:
1. Rename "Properties..." context menu option of object to "Edit Object...".
2. Rename "Browser" tree to "Object Explorer". #4734
2023-03-28 22:20:14 +05:30
Nikhil Mohite
05f3efbc97
Fixed jasmine and API test cases for import/export servers. 2023-03-28 22:19:01 +05:30
Yogesh Mahajan
fc0e36b313
Removed old path library used to validate client secret path while google authentication. #5750 2023-03-28 11:27:16 +05:30
Yogesh Mahajan
97bd417ea8
Fixed intermittent failures for the role related feature tests. 2023-03-27 11:51:28 +05:30
Khushboo Vashi
7ce03f3bea
Fix UUID datatype typecast issue. 2023-03-27 11:38:57 +05:30
Nikhil Mohite
e4eeba2aa7
Fixed the UI related issues reported during testing for Shared Storage in Server Mode. #5014 2023-03-24 11:08:27 +05:30
Aditya Toshniwal
b923f5fcfa
Use fetch instead of axios to close connections in SQLEditor, ERD, Schema Diff and Debugger to ensure it completes. When closing a browser tab, axios does not guarantee AJAX request completion. #5894 2023-03-20 18:20:48 +05:30
Khushboo Vashi
366dd3a973
Remove psycopg2 completely. 2023-03-20 16:57:30 +05:30
Yogesh Mahajan
3de2e625b5
Fix feature test failures caused due to invalid binary path. 2023-03-15 18:54:22 +05:30
Yogesh Mahajan
48f2e2744c
Fixed feature tests failures occurred due to psycopg3 changes. 2023-03-14 17:51:14 +05:30
Nikhil Mohite
79de2ad571
Fixed jasmine test cases. 2023-03-08 11:20:39 +05:30
Khushboo Vashi
5e0daccf76 Added support for psycopg3 along with psycopg2. #5011 2023-02-15 11:31:29 +05:30
Yogesh Mahajan
026334a71a
Removed logging added for feature test failure. Added more assets to avoid false failures. 2023-02-13 11:58:54 +05:30