Akshay Joshi
8857f0d179
Fix SonarQube code smells:
...
1) String literals should not be duplicated.
2) Prefer using an optional chain expression instead, as it's more concise and easier to read.
3) Expected the Promise rejection reason to be an Error.
2024-06-10 18:04:32 +05:30
Yogesh Mahajan
cc999ae5a5
Remove the usage of MUI makeStyles as it doesn't support React 18. #7363
2024-06-06 17:13:12 +05:30
Aditya Toshniwal
dd45f06d50
Added support for viewing PGD Clusters. #7215
2024-05-20 16:54:49 +05:30
Aditya Toshniwal
5ec6faff13
Upgrade react-table from v7 to v8. #7419
2024-05-07 16:31:04 +05:30
Yogesh Mahajan
102e0a9839
- Update MUI v4 to v5
...
- Remove the SCSS dependency completely and use MUI for theming.
- Update - date-fns, @date-io, notistack. Remove - popper.js, sass-loader.
- Cleanup webpack config.
- Port PSQL tool to use MUI themes instead of SCSS theme.
- Theme change will reflect realtime without refreshing pgAdmin.
2024-04-09 08:21:14 +05:30
Akshay Joshi
edec9adbfb
Fixed SonarQube code smell 'Unnecessary use of boolean literals in conditional expression'.
2024-04-08 17:19:51 +05:30
Khushboo Vashi
fdaedacf40
Fixed multiple CLI issues. #2483
2024-01-03 16:09:42 +05:30
Akshay Joshi
740ce15bd7
Update copyright notices for 2024
2024-01-01 14:13:48 +05:30
Aditya Toshniwal
e837de5e8f
Fixed browser autocomplete related issues on pgAdmin authentication related pages. #7082
2023-12-28 16:29:15 +05:30
Akshay Joshi
85255b65b1
1) Ensure that the Authentication Source in the drop-down of the UserManagement dialog aligns with the entries specified for AUTHENTICATION_SOURCES in the configuration file. #6950
...
2) Fixed an issue where the pgAdmin page went blank when clicking the delete button in the User Management dialog. #6989
2023-11-27 14:16:49 +05:30
Aditya Toshniwal
c9db4a0d16
Add DROP SQL for foreign keys in SQL generated by ERD when using WITH DROP option. #5770
2023-11-16 16:55:26 +05:30
Aditya Toshniwal
862f101772
Significant changes to use ReactJS extensively.
...
1. Replace the current layout library wcDocker with ReactJS based rc-dock. #6479
2. Have close buttons on individual panel tabs instead of common. #2821
3. Changes in the context menu on panel tabs - Add close, close all and close others menu items. #5394
4. Allow closing all the tabs, including SQL and Properties. #4733
5. Changes in docking behaviour of different tabs based on user requests and remove lock layout menu.
6. Fix an issue where the scroll position of panels was not remembered on Firefox. #2986
7. Reset layout now will not require page refresh and is done spontaneously.
8. Use the zustand store for storing preferences instead of plain JS objects. This will help reflecting preferences immediately.
9. The above fix incorrect format (no indent) of SQL stored functions/procedures. #6720
10. New version check is moved to an async request now instead of app start to improve startup performance.
11. Remove jQuery and Bootstrap completely.
12. Replace jasmine and karma test runner with jest. Migrate all the JS test cases to jest. This will save time in writing and debugging JS tests.
13. Other important code improvements and cleanup.
2023-10-23 17:43:17 +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
6949b41fb9
Ensure that a new row should be added on top in the User Management dialog. Fixes #5817
2023-05-18 13:26:47 +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
Pravesh Sharma
e247867abf
Incorporated review comments for #5705
2023-02-01 14:24:49 +05:30
Nikhil Mohite
1a64af2743
Fixed the issue where the user cannot add via user management if the email field is blank.
2023-01-16 19:33:17 +05:30
Akshay Joshi
98184e5835
Update copyright notices for 2023
2023-01-02 11:53:55 +05:30
Akshay Joshi
ed1184fcf8
Ensure that the user management dialog should not allow the same email addresses
...
with different letter casings when creating users. #5262
2022-09-22 14:59:42 +05:30
Nikhil Mohite
0cb00c7b4f
Fixed the Debugger issue introduced by security fixes.
2022-09-14 15:15:52 +05:30
Akshay Joshi
16bcb7d4a2
Ensure that the browser tree should be refreshed after changing the ownership. Fixes #7607
2022-09-14 15:08:05 +05:30
Akshay Joshi
b8f63adf41
Fixes following code smell reported by SonarQube:
...
1) Replace this if-then-else flow by a single return statement
2) Remove the unnecessary boolean literals.
2022-09-08 19:56:02 +05:30
Yogesh Mahajan
71a4b20d90
Fixed some SonarQube issues.
2022-08-30 14:21:33 +05:30
Akshay Joshi
ef91207669
1) Fixed an issue where an existing user is deleted and recreated again in the User Management dialog. Fixes #7618
...
2) Fixed preferences issue when changing themes.
3) Added validation for user names that already exist.
2022-08-16 17:28:45 +05:30
Akshay Joshi
485265979e
Fixed an issue email already exists and disable the 'Locked' switch when its value is false. Fixes #7618
2022-08-16 15:25:25 +05:30
Akshay Joshi
06d454473c
Fixed an issue where an invalid email error was not visible on the GUI. Fixes #7609
2022-08-14 08:48:58 +05:30
Aditya Toshniwal
c2b23465cc
1) Added support to show all background processes in separate panel. Fixes #3709
...
2) Port process watcher to React. Fixes #7404
2022-08-11 10:49:45 +05:30
Akshay Joshi
271b6d91fc
Port User Management dialog to React. Fixes #7345
2022-08-11 10:25:52 +05:30
Aditya Toshniwal
8b7ce2c276
Port change user password and 2FA dialog to React. Fixes #7568
2022-08-10 18:02:54 +05:30
Akshay Joshi
53887c32bf
Port change ownership dialog to React. Fixes #7590
2022-08-05 14:11:17 +05:30
Akshay Joshi
4033bf3748
Fixed typo in User Management
2022-03-04 11:40:28 +05:30
Akshay Joshi
1cdbb9a643
Fixed an issue where the User Management dialog is not opening. Fixes #7173
2022-02-14 15:17:48 +05:30
Akshay Joshi
1a89c1f85f
Fixed code smell 'Update this function so that its implementation is not identical' reported by SonarQube.
2022-01-28 17:20:34 +05:30
Akshay Joshi
0ce3434631
Fixed code smell 'Update this function so that its implementation is not identical' reported by SonarQube.
2022-01-25 20:10:31 +05:30
Akshay Joshi
2786f7ac5a
Update copyright notices for 2022
2022-01-04 13:54:25 +05:30
Akshay Joshi
fd53e4f5f9
Replace Alertify alert and confirm with React-based model dialog. Fixes #7053
2021-12-07 18:52:40 +05:30
Ashesh Vashi
36c9eb3dfd
Added support for Two-factor authentication for improving security. Fixes #6543
2021-12-02 16:47:18 +05:30
Akshay Joshi
c6424e3897
Replaced alertifyjs notifiers with React-based notistack. Fixes #7004
2021-12-02 16:05:52 +05:30
Akshay Joshi
7d07770244
Reverting 'Two-factor authentication' support as it cause OSX and docker build failures.
...
This reverts commit 787a441343
.
2021-09-29 13:24:18 +05:30
Ashesh Vashi
787a441343
Added support for Two-factor authentication for improving security. Fixes #6543
2021-09-28 17:47:00 +05:30
Akshay Joshi
4e0bd557d9
Increase the width of the user management dialog.
2021-08-31 14:06:03 +05:30
Rahul Shirsat
ab04b30726
1. Unverified email id is getting locked.
...
2. Admin should be able to lock the user, as currently it only unlocks it via
user management dialog.
3. There were some indefinite login page loading issues when trying to log in
with invalid password, where it should redirect to the login page again instead.
refs #6337 (Initial patch by Khushboo Vashi)
2021-08-09 21:04:49 +05:30
Florian Sabonchi
a3d3c74e67
Ensure that the login account should be locked after N number of attempts. N is configurable using the 'MAX_LOGIN_ATTEMPTS' parameter. Fixes #6337
2021-07-22 12:24:43 +05:30
Khushboo Vashi
48ca83f31d
Added support for OAuth 2 authentication. Fixes #5940
...
Initial patch sent by: Florian Sabonchi
2021-07-06 13:22:58 +05:30
Khushboo Vashi
72f3730c34
Added support to connect PostgreSQL servers via Kerberos authentication. Fixes #6158
2021-05-03 16:10:45 +05:30
Nikhil Mohite
cb5d7190c4
Fixed SonarQube issues.
2021-03-01 18:00:06 +05:30
Nikhil Mohite
02c3863e8c
Fixed an issue where shared server entries not getting deleted from SQLite database if the user gets deleted. Fixes #6143
2021-02-04 11:31:39 +05:30
Akshay Joshi
b372f08a59
Update copyright notices for 2021
2021-01-04 15:34:45 +05:30
Aditya Toshniwal
56cf64ad22
Fixed following SonarQube issues:
...
- Refactor functions to not always return the same value.
- Rename "cls" to "self" or add the missing "self" parameter.
- Remove useless assignment to variables.
2020-07-30 14:04:22 +05:30
Nikhil Mohite
7edcca9b07
Added High Contrast theme support. Fixes #5653
...
Fixed text color issue in explain analyze for the Dark theme. Fixes #5677
2020-07-20 11:51:21 +05:30