Commit Graph

527 Commits (cae00a1dc671b7d469d3f12d4000d80f14b2e440)

Author SHA1 Message Date
Aditya Toshniwal 7c74b7cdb7 - Pin Electron to v35.4.0 as the v36 is not working on many OS.
- Pin html-to-image to v1.11.11 as latest version breaks ERD image downloads.
2025-05-27 13:02:11 +05:30
Khushboo Vashi aa282711f8
Try to fix the Fedora build failure. 2025-04-28 14:33:46 +05:30
Akshay Joshi 8cf14222ff Updated Javascript dependencies. 2025-04-03 19:07:02 +05:30
Akshay Joshi 1d3e0a4455 Revert the fix for #8006 2025-03-27 12:32:46 +05:30
Akshay Joshi f25cde8c5f 1) Unpin the electron version for RHEL 8 as respective issue is fixed.
2) Updated Javascript dependencies.
2025-03-18 10:27:21 +05:30
Pravesh Sharma 84e2b844e0
Removed the pre-install script from the Red Hat build function as it was causing a No such file or directory warning during the update. #8006 2025-03-13 16:35:21 +05:30
Lau Ernebjerg Josefsen 2d10e95311
Add an option to load/replace the servers.json file on each container startup. #8540 2025-03-11 16:14:06 +05:30
Akshay Joshi d7faa85338 Pin the electron version to 33.3.2 for RHEL 8 2025-03-05 12:37:50 +05:30
Akshay Joshi 4e52a8664c Updated Javascript dependencies. 2025-03-03 19:00:59 +05:30
Akshay Joshi 84a5467a5e Updated Sphinx to 7.4.7 2025-02-18 13:34:20 +05:30
Igor Serko ae76ea3585
Fixed Docker image entrypoint.sh email validation. #8410
Introduces a GLOBALLY_DELIVERABLE variable so that it can be passed to the email validator library
and ultimately allowing the email admin@localhost to be valid, as long as False is passed in.

Also:
* Adjusted the indentation of a command above it in the entrypoint.sh
* Added printing out the output of the validation library so that we can better find what the actual issue is
2025-02-07 12:34:23 +05:30
Aditya Toshniwal e6d2334753 Pin Electron version to 33.3.2 as the versions above it fails to start on RHEL 8/Rocky 8 2025-02-05 19:10:39 +05:30
Akshay Joshi 9f4ce1e7d1 Use HKA registry key instead of HKLM/HKEY_LOCAL_MACHINE in Windows installer.iss.in file. 2025-02-05 15:47:59 +05:30
Akshay Joshi b90a390d5c
1) Run the uninstaller first only if the v8 version is already installed.
2) Delete the MyAppVersion key from the Windows registry during the installation or upgrade.
3) Remove the logic that checks if a 32-bit or 64-bit version of the installer is already installed.
2025-02-05 10:17:46 +05:30
Suall1969 74e776ba21
Psycopg binary packages are now available for macOS version < 14.0. 2025-01-20 17:27:08 +05:30
Akshay Joshi cd86ce08cf Fixed an issue where pgadmin cannot install into path with non ASCII characters. #5204 2025-01-20 16:04:07 +05:30
Akshay Joshi 7e20bf5b75 Remove function call IsPathValid to test non-ascii characters in the path for Windows installer. 2025-01-20 12:25:16 +05:30
Akshay Joshi 99e1f005fc Update Python version to 3.13 2025-01-15 13:44:34 +05:30
Akshay Joshi 964d211260 Copyright updated for 2025 2025-01-01 11:26:42 +05:30
Grégoire Bellon-Gervais 776e092a89
Fix in case of the file does not exist (#8258) 2024-12-16 14:53:18 +05:30
Akshay Joshi fe6e21a08b
Enhanced pgAdmin 4 with support for Workspace layouts. #7708 2024-12-16 14:52:56 +05:30
Yogesh Mahajan 1cf9ced260
Fixed the issues reported while testing #7330. 2024-12-06 12:08:24 +05:30
Yogesh Mahajan 42018e69a5
Add support to deploy pgAdmin in container with readOnlyRootFilesystem to true. #7330 2024-12-03 17:50:20 +05:30
Yogesh Mahajan f8192b82b8
Allow the use of a pgpass file in the pgAdmin container via Docker secrets. #5786 2024-11-14 13:09:21 +05:30
Yogesh Mahajan f5f79a516a Fix SELinux permission issue. 2024-11-05 11:51:02 +05:30
Akshay Joshi 17883fbd84 Use PG17 as the default in the container. #8022 2024-10-10 15:55:43 +05:30
Yogesh Mahajan 866db40f48
Fixed the issues reported while testing. #5869 2024-10-09 17:05:34 +05:30
Yogesh Mahajan 1fe840fcac
Allow to pass PGADMIN_CONFIG_CONFIG_DATABASE_URI from docker secrets. #5869 2024-10-07 11:44:20 +05:30
Dave Page c0122a72c8 Update the Windows build to work with Meson-built PostgreSQL and winpgbuild. 2024-10-01 15:51:43 +01:00
Aditya Toshniwal 8fd5efaa84 Make sure ALLOW_SPECIAL_EMAIL_DOMAINS should also work for pgAdmin docker apps. #6222 2024-09-19 14:03:43 +05:30
Pravesh Sharma ed211a2bbb
Fixed an issue where servers listed in the servers.json file were being reimported upon container restart. #7811 2024-09-11 13:06:31 +05:30
Aditya Toshniwal f451f89d38 Cleanup yarn cache before bundling the installers to reduce size 2024-08-30 14:09:53 +05:30
Aditya Toshniwal e7981c7f11 Fix windows, linux builds as pgAdmin 4 desktop is not opening. 2024-08-20 13:05:59 +05:30
Akshay Joshi c3801165a5 Set the yarn version for Wheel Package. 2024-08-08 15:01:27 +05:30
Khushboo Vashi b4e4b9d498
Fix an issue where the wheel package is not getting installed on the arm64-based macOS version < 14. #7754 2024-08-05 12:31:28 +05:30
Aditya Toshniwal 546806c40c Always use latest version of Electron in package.json and in builds 2024-08-01 16:03:05 +05:30
Aditya Toshniwal 4ee76ba8c9 Build changes to sign pgAdmin4.exe and use yarn v3 on linux builds 2024-08-01 13:18:01 +05:30
Akshay Joshi 729c370125 Fixed build issues after package upgrade. 2024-07-30 13:41:56 +05:30
Akshay Joshi 636c224bd0
Updated JavaScript and Python packages according to Dependabot recommendations 2024-07-29 19:34:43 +05:30
Khushboo Vashi b9ffbf73e0 Fixed an issue where only psycopg-binary should be installed but PIP wheel installing psycopg-c as well. 2024-07-29 10:16:42 +05:30
Aditya Toshniwal 23cad47f8d Fix a syntax error in postinst when installing Ubuntu 24 deb package 2024-07-25 19:26:12 +05:30
Aditya Toshniwal 88bee071e5
Make sure AppArmor profile is added only for Ubuntu 24 and above. 2024-07-25 17:27:18 +05:30
Aditya Toshniwal 9544ce1d18
Add apparmor profile for pgAdmin when installing on Debian based OS 2024-07-25 11:40:19 +05:30
Pravesh Sharma a75273a714
Updated entrypoint.sh to utilize the email-validator package for email validation. #7297 2024-07-18 11:05:37 +05:30
Aditya Toshniwal 01cb1839f8 Fix git commit hash details for pip build. #7623
Skip regression folder when creating pip builds to reduce bundle size.
2024-07-17 14:30:02 +05:30
Khushboo Vashi 6b012193e3 Pin Psycopg Binary packages to 3.1.19 for the ARM64 MacOS platform wheel packages. 2024-07-10 17:43:13 +05:30
Aditya Toshniwal 60c2d0e23b Update more JS packages. 2024-07-03 11:46:16 +05:30
Aditya Toshniwal f8fa1cf6d6
- Fix few SonarQube issues.
- Cleanup NW.js related stuff.
2024-07-02 10:34:30 +05:30
Aditya Toshniwal 91eb60a363
Replace pgAdmin NW.js container with Electron container. #7494 2024-07-01 11:27:42 +05:30
Aditya Toshniwal 6f96f67655
Add the git commit hash details to the About dialog. #7623 2024-06-27 13:20:00 +05:30
Akshay Joshi 227f047810 Revert last commit as attr not working. 2024-06-24 19:08:33 +05:30
Khushboo Vashi 95ce9e976e Set the pgAdmin executable file permissions to 755 for the web rpm build. 2024-06-24 18:20:19 +05:30
Khushboo Vashi 4a645343a9 Give the proper file/directory permissions to the pgAdmin installation directory on RHEL-8. This is the only platform that has write permission for the executable files after installation which is fixed. 2024-06-24 17:09:28 +05:30
Khushboo Vashi 3d107ea618 One more attempt to set RHEL-8 file permissions. 2024-06-24 16:05:22 +05:30
Khushboo Vashi f7eeefa3a9 Fix file permissions for RHEL 8. 2024-06-24 10:54:39 +05:30
Khushboo Vashi a60cbf00c8 Do not change the file permission for the Redhat installation directory. 2024-06-20 17:11:23 +05:30
Khushboo Vashi 2b45a1f7d5 Fix Redhat installation directory permission. 2024-06-20 10:39:24 +05:30
Khushboo Vashi fa71b06874 Set the permission for the installation directory without fakeroot. 2024-06-11 10:41:47 +05:30
Khushboo Vashi 591308fbe8 chmod doesn't work with fakeroot in a single command. 2024-06-10 18:45:44 +05:30
Khushboo Vashi 2d2aa45ec5 Another attempt to fix Debian installation directory permission. 2024-06-10 16:50:59 +05:30
Khushboo Vashi ba5b66ff4f Fix Debian installation directory permission. 2024-06-10 16:11:09 +05:30
Khushboo Vashi bc83955418 Fix mod_wsgi version mismatch issue for RHEL platforms. 2024-05-28 11:50:21 +05:30
Khushboo Vashi e9f3747969 Fix the issue where pgAdmin fails to start when Ubuntu OS is upgraded to a major version. #7439 2024-05-23 14:34:08 +05:30
Dave Page 301920747d Update Windows build instructions to match modern reality. 2024-05-21 16:44:15 +01:00
Akshay Joshi ad5bb0b190 Copy yarnrc.yml file to rectify the OSX builds. 2024-05-16 13:12:37 +05:30
Akshay Joshi 5edeee8017 Another attempt to rectify the OSX builds. 2024-05-15 16:28:47 +05:30
Akshay Joshi 95466b9d6c Update release note. 2024-05-15 15:30:45 +05:30
Akshay Joshi f833cea0dd Trying to fix the OSX build failure 2024-05-15 15:05:59 +05:30
Khushboo Vashi eeee45e57c
For some Debian platforms, the python3-dbus package is available instead of python-dbus. 2024-04-25 15:02:50 +05:30
Khushboo Vashi 5f689a56dd Install dbus-python, an in-direct dependency of the Keyring package as a system package for Debian platforms. #7173 2024-04-17 16:21:50 +05:30
István Lantos 715839d295
Expose UNIX socket in entrypoint.sh for Docker implementation. #7221 2024-03-26 18:22:29 +05:30
Akshay Joshi 8b130b3351 Added corepack enable command. 2024-03-04 17:30:16 +05:30
Akshay Joshi d26182d178 Update yarn version for OSX build functions. 2024-03-04 15:23:07 +05:30
Pravesh Sharma 6971d8c3a1
Fixed an issue where preferences.json mapped to container was not having any effect on preferences. #6058 2024-02-27 12:11:59 +05:30
Yogesh Mahajan 5a74022e8a
Allow preferences customization using a configuration file. #6058 2024-02-15 14:58:31 +05:30
Ashesh Vashi d09833744a
Separate the application name, branding & version information from the configuration file. #7187 2024-02-09 16:25:03 +05:30
Akshay Joshi 740ce15bd7 Update copyright notices for 2024 2024-01-01 14:13:48 +05:30
Khushboo Vashi 0d287df6dd
Administer pgAdmin Users and Preferences Using the Command Line Interface (CLI). #2483 2023-12-21 12:07:26 +05:30
Khushboo Vashi 4db13facf7 Install setuptools separately as it is no longer a core venv dependency in Python 3.12. 2023-12-18 16:06:19 +05:30
Khushboo Vashi adab656a79 Fixes for Python 3.12 compatibility:
- Upgrade testtools package
- Use platstdlib instead of stdlib to get the path
2023-12-18 13:27:05 +05:30
Khushboo Vashi 92549af3d4 Replaced distutils.sysconfig.get_python_lib with sysconfig.get_path. 2023-12-18 12:21:20 +05:30
Akshay Joshi 101f6fc103 1) Remove the version folder from the Windows Default Installation path.
2) Rename the release note to 8.0
3) Update the version for release v8.0
2023-11-17 17:52:56 +05:30
Akshay Joshi 53b5b59f56
Use notarytool instead of altool for notarization, as altool has been deprecated. (#6919) 2023-11-01 15:39:35 +00:00
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
Akshay Joshi 5736e173ea 1) Fixed an issue where PG 16 binaries not getting copied into the docker container.
2) Remove support for PostgreSQL 11.
2023-09-26 13:45:08 +05:30
sprayzcs 5cf9dea9a8
Change grep regex in the docker's entrypoint to find env variables starting with PGADMIN_CONFIG_ only. 2023-09-04 13:06:15 +05:30
Yogesh Mahajan e2f32c0984
Fix doc build failure due to SQLAlchemy changes. #6208 2023-08-17 14:00:56 +05:30
Akshay Joshi 33b2b82ba9 Pin NW.js to 0.77.0, as the latest version crashes after an attempt to reopen the fullscreen window. 2023-08-16 13:05:35 +05:30
Khushboo Vashi a9799f25a2 Generate SBOM for Python wheel package. 2023-08-14 16:23:17 +05:30
Khushboo Vashi e80d55e968 Use a consistent name for sbom files. 2023-08-11 15:12:26 +05:30
Dave Page 7fcfea2214 JIT entitlement is required on Apple Silicon, otherwise NWJS won't start.
See https://github.com/nwjs/nw.js/issues/8086
2023-08-10 13:36:00 +01:00
Dave Page e06d39b70c Cleanup some more unnecessary artefacts from the build. 2023-08-10 13:35:04 +01:00
Khushboo Vashi ac50b4d80b Another attempt to fix rpm build failure for SBOM. 2023-08-04 15:37:13 +05:30
Khushboo Vashi 2c4b479f50 Fix the rpm build failure for SBOM. 2023-08-04 15:05:06 +05:30
Khushboo Vashi 48bfc66048 Generate software bill of materials as part of the package builds. #3702 2023-08-03 16:08:59 +05:30
Dave Page 6bf2733628 Use the release build of NWJS for Apple Silicon 2023-06-09 14:58:35 +01:00
Dave Page b337b64eb1 Make sure the quarantine bit isn't set. 2023-05-26 13:31:22 +01:00
Dave Page 7d068130a4 Build for Apple Silicon using the test SDK build from NWjs. 2023-05-25 15:42:42 +01:00
Dave Page 4baaff4566
Fix typo. 2023-05-24 16:15:15 +01:00
Dave Page bdcf1f986f
Manually install pip as well, to minimise work done by the framework creation script. 2023-05-24 16:14:43 +01:00