Akshay Joshi
dea5335ce5
Fixed the following SonarQube code smells:
...
1) Do not use the Array index in keys.
2) Import from the same module should be merged.
3) Mutable variables should not be exported.
4) Variables should not be initialized to undefined.
5) startswith or endswith method should be used.
6) Unwrap this unnecessarily grouped subpattern.
Additionally, addressed many other SonarQube rules.
2024-06-12 18:09:06 +05:30
Yogesh Mahajan
6357672387
Provide an option to set the theme based on the OS theme. #5932
2024-06-12 16:18:37 +05:30
Akshay Joshi
df2f3460f0
Fix the following SonarQube code smells:
...
1) Use the "RegExp.exec()" method instead.
2) Remove parameter form or provide default value.
3) Extract this nested ternary operation into an independent statement.
4) Replace this character class by the character itself.
5) Unnecessary use of conditional expression for default assignment.
6) Prefer using an optional chain expression instead, as it's more concise and easier to read.
2024-06-11 18:07:22 +05:30
Yogesh Mahajan
fff192eb95
Ensure that a user can connect to a server using SSL certificates and identity files from a shared storage. #7306
2024-06-11 14:48:11 +05:30
Ahmad
fd944280f1
Fixed an issue where dark theme shows white background when all tabs are closed. #7481
2024-06-11 12:03:43 +05:30
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
Khushboo Vashi
2ab2d6b57c
Fix the issue where the query tool documentation screen-shot displays the incorrect function key. #7507
2024-05-28 12:10:14 +05:30
Anil Sahoo
6690b16f8a
Added support for executing the query at the cursor position in the query tool. #6841
2024-05-27 16:11:59 +05:30
Rohit Bhati
4e3ec91d23
Added support for the 'Add to macros' feature and fixed various usability issues. #4735
2024-05-24 15:30:31 +05:30
Pravesh Sharma
36a71dc7fa
1. Fixed an issue where resetting the password from the password reset link was not working. #7500
...
2. Fixed an issue where the recover password button was enabled even when no email id was provided. #7487
2024-05-24 13:18:05 +05:30
Aditya Toshniwal
dd45f06d50
Added support for viewing PGD Clusters. #7215
2024-05-20 16:54:49 +05:30
Aditya Toshniwal
d6a9f8a06c
Fixed issues found in testing of react-table upgrade changes. #7419
...
UI fixes and improvement in System Stats Dashboard.
2024-05-20 10:41:55 +05:30
Aditya Toshniwal
9647482791
Fixed incorrect highlighting for C-Style escape strings in SQL editor. #7485
2024-05-20 10:13:30 +05:30
Ashesh Vashi
b9088b0afa
Use index as a key for the table header group in PgReactTableStyled component. #7419
2024-05-15 17:06:45 +05:30
Aditya Toshniwal
0e786c519e
Replace the current FontAwesome based PSQL tool icon with MUI Terminal icon. #7472
2024-05-14 11:05:27 +05:30
Aditya Toshniwal
3b20cad5bb
Fixed an issue where drag and drop publication and subscription name in SQL editors was not working. #6086
2024-05-09 15:34:44 +05:30
Aditya Toshniwal
5ec6faff13
Upgrade react-table from v7 to v8. #7419
2024-05-07 16:31:04 +05:30
Aditya Toshniwal
b85d8c1446
Changes in Query Tool, Debugger, and ERD Tool shortcuts to remove the use of Accesskey which will allow them to be customized. #7192
2024-05-06 11:15:44 +05:30
Pravesh Sharma
7c6fdcb12e
Disabled auto-fill on password fields. #2410
2024-04-29 11:44:17 +05:30
Khushboo Vashi
2324337149
Trigger the browser tree destroyed event so the consequences of destroying the tree are handled properly.
2024-04-26 11:59:53 +05:30
Pravesh Sharma
fd65f1b644
Fixed all input boxes in pgAdmin to show browser auto-fill only where it is relevant. #2410
2024-04-24 11:27:08 +05:30
Yogesh Mahajan
673b5ea5a1
Fix the date-time picker broken after MUI5 upgrade.
2024-04-23 17:03:34 +05:30
Akshay Joshi
3e0ade5a59
Fixed an issue where pressing backspace should remove the spaces and not the entire tab width, on enabling 'Use spaces?' in the preferences. #7317
2024-04-22 12:33:38 +05:30
Yogesh Mahajan
f0185fbe7f
Fix issues reported while testing MUI5 library update.
2024-04-17 17:31:55 +05:30
Aditya Toshniwal
29ccdb3242
Fixed an issue where debugger was not scrolling automatically on stepping. #7275
2024-04-16 15:33:42 +05:30
Aditya Toshniwal
ee0687ecd3
Add a function getQueryAt to get the SQL query at given cursor position from a CodeMirror input
2024-04-13 15:47:18 +05:30
Yogesh Mahajan
e384c9665a
Fixed a XSS vulnerability in the /settings/store endpoint. #7282
2024-04-10 17:58:51 +05:30
Akshay Joshi
30d2d1b23e
Fixed the following code smells:
...
1) useState call is not destructured into value + setter pair.
2) A fragment with only one child is redundant.
3) Unnecessary '.apply()' and '.call()'.
4) Expected the Promise rejection reason to be an Error.
2024-04-09 19:18:56 +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
Aditya Toshniwal
c9345ad618
Fixed an issue where double dollar quoted code is treated as string in syntax highlighter. #7294
2024-04-08 15:32:01 +05:30
Aditya Toshniwal
ace73ebb60
Added support for viewing Log Based Clusters. #7216
...
Co-authored-by: Akshay Joshi <akshay.joshi@enterprisedb.com>
2024-03-28 12:19:34 +05:30
Aditya Toshniwal
c0a1429664
Fix failing feature tests
2024-03-26 11:20:04 +05:30
Aditya Toshniwal
cc1ce09b73
More CodeMirror fixes. #7268
...
Fix query tool autocomplete results when cursor is in between the SQL query. #7299
Fix an issue in query tool where custom keyboard shortcuts are not working for some. #7305
2024-03-23 18:22:06 +05:30
Akshay Joshi
097b630738
Added support for EDB Job Scheduler. #7098
2024-03-18 11:53:59 +05:30
Aditya Toshniwal
f351b10ed0
Fix an issue in query tool where toggle case of selected text loses selection. #7277
...
Also make changes to give pgAdmin shortcuts higher priority over CodeMirror default shortcuts.
2024-03-14 18:18:53 +05:30
Pravesh Sharma
1a02d13a28
Bug fixes and improvements in pgAdmin CLI. #7116
2024-03-14 18:12:28 +05:30
Aditya Toshniwal
794c7cb335
Fixed multiple editor related issues:
...
1. Replace option in query tool edit menu is not working on non-Mac OS. #7262
2. Format SQL shortcut and multiline selection are not working. #7268
3. "Use Spaces?" Preference of Editor is not working. #7269
2024-03-11 16:52:56 +05:30
Aditya Toshniwal
7374997425
Fix an issue in table dialog where changing column name was not syncing table constraints appropriately. #7229
2024-03-08 11:45:32 +05:30
Anil Sahoo
8dffcf842f
Added documentation for System Statistics tab. #7148
2024-02-29 11:34:54 +05:30
Aditya Toshniwal
a5530f59f7
Fix sonarqube issues for the rule - 'If' statement should not be the only statement in 'else' block
2024-02-26 11:55:36 +05:30
Aditya Toshniwal
29e85a6b06
Fix SonarQube issues
2024-02-22 16:54:20 +05:30
Aditya Toshniwal
b5bd236387
Fix edit menu related issues of query tool codemirror
2024-02-21 15:54:57 +05:30
Aditya Toshniwal
d3ede3151a
Upgrade CodeMirror from version 5 to 6. #7097
2024-02-21 11:15:25 +05:30
Anil Sahoo
47b2bc8a83
1) Fix the tabbed panel backward/forward shortcut for tabs. #6808
...
2) Remove shortcuts for the dialog tab backward/forward.
3) Used hotkeys.js in place of mousetrap for listening to keyboard shortcuts.
2024-02-09 16:33:30 +05:30
Aditya Toshniwal
028b70203c
Fix SonarQube bugs
2024-01-29 18:39:30 +05:30
Akshay Joshi
639a28fbfc
Fixed code smell 'Prefer using an optional chain expression instead, as it's more concise and easier to read'.
2024-01-25 16:51:40 +05:30
Aditya Toshniwal
e80e82cd7f
Allow drag-n-drop columns collection tree node as comma separated columns. #4419
2024-01-22 13:19:04 +05:30
Aditya Toshniwal
d26c167c76
Improve auto-focus of editable data grid when adding/editing rows
2024-01-17 18:38:00 +05:30