mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-11-02 08:10:03 -06:00
1) Updated release note.
2) Updated logic for release converter
This commit is contained in:
1 parent
85510b961f
commit
e0e99ddbb5
2 files changed
+16
-8
No files matched your search
@@ -29,5 +29,7 @@ Housekeeping
|
|||||||
Bug fixes
|
Bug fixes
|
||||||
*********
|
*********
|
||||||
|
|
||||||
|
| `Issue #8650 <https://github.com/pgadmin-org/pgadmin4/issues/8650>`_ - Make Dashboard tables to be vertically resizable.
|
||||||
| `Issue #8756 <https://github.com/pgadmin-org/pgadmin4/issues/8756>`_ - Fixed an issue in Firefox where the query window would shift to the left after opening the history tab or selecting a column header in the results grid.
|
| `Issue #8756 <https://github.com/pgadmin-org/pgadmin4/issues/8756>`_ - Fixed an issue in Firefox where the query window would shift to the left after opening the history tab or selecting a column header in the results grid.
|
||||||
|
| `Issue #8867 <https://github.com/pgadmin-org/pgadmin4/issues/8867>`_ - Ensure DB restriction type is preserved while import and export server.
|
||||||
| `Issue #8969 <https://github.com/pgadmin-org/pgadmin4/issues/8969>`_ - Fixed incorrect behaviour of the option deduplicate items after creating the index.
|
| `Issue #8969 <https://github.com/pgadmin-org/pgadmin4/issues/8969>`_ - Fixed incorrect behaviour of the option deduplicate items after creating the index.
|
||||||
@@ -173,7 +173,15 @@ def format_email_html(data, skip_issues_set=None):
|
|||||||
num_bugs_housekeeping = len(filtered_bugs)
|
num_bugs_housekeeping = len(filtered_bugs)
|
||||||
|
|
||||||
# Build HTML output
|
# Build HTML output
|
||||||
output = f"<h2><strong>pgAdmin 4 v{version} Released</strong></h2>\n"
|
output = """<style>
|
||||||
|
* {
|
||||||
|
font-size: 14px;
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
li {
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
</style>"""
|
||||||
output += (
|
output += (
|
||||||
f"<p>The pgAdmin Development Team is pleased to announce "
|
f"<p>The pgAdmin Development Team is pleased to announce "
|
||||||
f"pgAdmin 4 version {version}.</p>\n"
|
f"pgAdmin 4 version {version}.</p>\n"
|
||||||
@@ -186,8 +194,8 @@ def format_email_html(data, skip_issues_set=None):
|
|||||||
f"{'s' if num_bugs_housekeeping != 1 else ''}. "
|
f"{'s' if num_bugs_housekeeping != 1 else ''}. "
|
||||||
)
|
)
|
||||||
output += (
|
output += (
|
||||||
f'For more details please see the '
|
f'For more details please see the release notes at:'
|
||||||
f'<a href="{release_url}">Release Notes</a>.</p>\n'
|
f'<p> <a href="{release_url}">{release_url}</a></p>\n'
|
||||||
)
|
)
|
||||||
output += (
|
output += (
|
||||||
'<p>pgAdmin is the leading Open Source graphical management '
|
'<p>pgAdmin is the leading Open Source graphical management '
|
||||||
@@ -199,7 +207,7 @@ def format_email_html(data, skip_issues_set=None):
|
|||||||
|
|
||||||
# Add features section only if items remain after filtering
|
# Add features section only if items remain after filtering
|
||||||
if filtered_features:
|
if filtered_features:
|
||||||
output += "<p><strong>Features</strong></p>\n<ul>\n"
|
output += "<p><strong>Features:</strong></p>\n<ul>\n"
|
||||||
for item in filtered_features:
|
for item in filtered_features:
|
||||||
desc = html.escape(item.get('description', 'N/A').strip())
|
desc = html.escape(item.get('description', 'N/A').strip())
|
||||||
output += f" <li>{desc}.</li>\n"
|
output += f" <li>{desc}.</li>\n"
|
||||||
@@ -209,7 +217,7 @@ def format_email_html(data, skip_issues_set=None):
|
|||||||
if filtered_bugs:
|
if filtered_bugs:
|
||||||
# Note: Heading was "Bugs/Housekeeping" in pasted code,
|
# Note: Heading was "Bugs/Housekeeping" in pasted code,
|
||||||
# changed to "Bug fixes" to match GDoc style mentioned earlier
|
# changed to "Bug fixes" to match GDoc style mentioned earlier
|
||||||
output += "<p><strong>Bug fixes</strong></p>\n<ul>\n"
|
output += "<p><strong>Bug fixes:</strong></p>\n<ul>\n"
|
||||||
for item in filtered_bugs:
|
for item in filtered_bugs:
|
||||||
desc = html.escape(item.get('description', 'N/A').strip())
|
desc = html.escape(item.get('description', 'N/A').strip())
|
||||||
output += f" <li>{desc}.</li>\n"
|
output += f" <li>{desc}.</li>\n"
|
||||||
@@ -222,9 +230,7 @@ def format_email_html(data, skip_issues_set=None):
|
|||||||
output += (
|
output += (
|
||||||
"Docker Container, RPM, DEB Package, and source code tarball from:<br>"
|
"Docker Container, RPM, DEB Package, and source code tarball from:<br>"
|
||||||
)
|
)
|
||||||
output += f'<a href="{download_url}">{download_url}</a></p>\n'
|
output += f' <a href="{download_url}">{download_url}</a></p>\n'
|
||||||
# Note: Adjusted sign-off slightly from pasted code to match GDoc examples
|
|
||||||
output += "<p>--<br>The pgAdmin Team</p>\n"
|
|
||||||
|
|
||||||
return output
|
return output
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user