Dave Page [Tue, 7 Jul 2020 10:09:45 +0000 (11:09 +0100)]
Remove the source mapping URL for popper.min.js to prevent cluttering dev tools with warnings that it can't be found.
Dave Page [Mon, 6 Jul 2020 10:54:46 +0000 (11:54 +0100)]
Ignore .DS_Store files
Magnus Hagander [Sat, 4 Jul 2020 09:53:59 +0000 (11:53 +0200)]
Fix up some incorrect imports
Magnus Hagander [Sat, 4 Jul 2020 12:53:04 +0000 (14:53 +0200)]
Make described checkboxes a lot more clear
Instead of a weirdly located "hover over the checkbox to get a
description" message, put the actual description underneath the
checkboxes. This removes the need for javascript for it, and make the
description a lot more readily available.
This applies only to news tags for now, since that's the only use of
described checkboxes, but hopefully it will make those more clear to
people submitting.
In passing, fix how help_text for multi-checkbox field is shown -- it
was previously shown almost as part of the field name itself, making it
very hard to make out. Now make it look like all other form field help
texts.
Magnus Hagander [Tue, 30 Jun 2020 14:45:12 +0000 (16:45 +0200)]
Move contents of forms into include file
This way we can re-use the basic form code across more pages.
Magnus Hagander [Fri, 3 Jul 2020 18:24:33 +0000 (20:24 +0200)]
Fix typo in redirect_to help text
Interestingly enough, this showed up because the migration was out of
sync. Normally this means the migration has not been updated, but in
this case it appears the migration is correct and the actual model is
incorrect. Yet both the model and the migraiton were introduced in
commit
e2120f0a.
Magnus Hagander [Fri, 3 Jul 2020 15:52:33 +0000 (17:52 +0200)]
Set a default DATE_FORMAT
We already set DATETIME_FORMAT, but it makes sense to also set
DATE_FORMAT. In all our frontend templates we were already using an
explicit format, but this will help the /admin/ side.
Magnus Hagander [Fri, 3 Jul 2020 15:51:01 +0000 (17:51 +0200)]
Fix message preview in mailqueue model
UTF8 encoding issues since the python3 migration...
Magnus Hagander [Fri, 3 Jul 2020 16:02:49 +0000 (18:02 +0200)]
Fix link to rpmchart for new yum website layout
Magnus Hagander [Sun, 14 Jun 2020 15:44:31 +0000 (17:44 +0200)]
Load signal handlers from an app instead of urllist
This is the place to load them to make sure they always load. This means
we can also now remove a hardcoded special varnish purging in the CVE
crawler script, because all saves including those from cron jobs will
now fire the signals and thus the automatic varnish purges.
Dave Page [Thu, 2 Jul 2020 15:26:08 +0000 (16:26 +0100)]
Add CSP for GTM.
Dave Page [Thu, 2 Jul 2020 14:03:14 +0000 (15:03 +0100)]
Use Google Tag Manager for integration with Google Analytics and honour DNT.
Per discussion and review on pgsql-www.
Devrim Gündüz [Wed, 1 Jul 2020 10:37:20 +0000 (11:37 +0100)]
Update link for the new zypp website layout
Devrim Gündüz [Wed, 1 Jul 2020 10:36:08 +0000 (11:36 +0100)]
Update SLES support list
Jonathan S. Katz [Thu, 25 Jun 2020 02:50:06 +0000 (22:50 -0400)]
PostgreSQL 13 Beta 2 release
Devrim Gündüz [Mon, 15 Jun 2020 08:59:24 +0000 (09:59 +0100)]
Update Fedora info
Dave Page [Mon, 15 Jun 2020 08:56:30 +0000 (09:56 +0100)]
Fix command ordering per Devrim.
Dave Page [Wed, 10 Jun 2020 13:07:57 +0000 (14:07 +0100)]
Overhaul the Redhat, Ubuntu and Debian installation instructions.
* Merge all commands into a single text area for ease of copy/paste.
* Add a Copy Script button to each text area to copy the script (without comments and blanks) to the clipboard.
* Centralise the copy/paste code so it can be used elsewhere.
* Always install the database server.
Based on reviews/discussion with Magnus, Jonathan, Daniel and Sehrope.
Jonathan S. Katz [Wed, 10 Jun 2020 11:39:20 +0000 (07:39 -0400)]
Remove links to pgfoundry from pgweb
This primarily affected several of the older press kits.
Dave Page [Mon, 8 Jun 2020 09:22:20 +0000 (10:22 +0100)]
List installers as EDB products rather than EnterpriseDB.
Devrim Gündüz [Tue, 26 May 2020 20:56:32 +0000 (21:56 +0100)]
s/RedHat/Red Hat
Jonathan S. Katz [Thu, 21 May 2020 12:08:22 +0000 (08:08 -0400)]
s/RC/Beta/ on the Beta page
Even though the hrefs were correct, the text was not.
Jonathan S. Katz [Thu, 21 May 2020 11:29:27 +0000 (07:29 -0400)]
PostgreSQL 13 Beta 1 release
Magnus Hagander [Thu, 14 May 2020 20:05:13 +0000 (22:05 +0200)]
RedHat have started requiring both a html and a json to display CVEs
And dumb as it is they return "200 OK" on the CVE *page* even if the CVE
doesn't exist. So we have to poll both the page and the API call in
order to figure out if it's actually there.
Jonathan S. Katz [Thu, 14 May 2020 12:59:35 +0000 (08:59 -0400)]
Fixed a URL to the news template
Somehow, the ID was forgotten by this committer.
Jonathan S. Katz [Thu, 14 May 2020 01:55:38 +0000 (21:55 -0400)]
2020-05-14 cumulative update release
Jonathan S. Katz [Thu, 14 May 2020 02:23:46 +0000 (22:23 -0400)]
Update doc styles for catalog tables
As part of the ongoing effort to make the documentation
both easier to read visually and more friendly for the
PDF building, there have been improvements to the layout
of the reference tables.
This set of changes focuses on the catalog tables that
detail the information in the different PostgreSQL catalogs.
There is also a small adjustment for the function tables, as
one of the CSS classes was renamed in the SGML source.
Author: Tom Lane <tgl@sss.pgh.pa.us>
Magnus Hagander [Thu, 30 Apr 2020 15:18:20 +0000 (17:18 +0200)]
Remove mentions of unsupported version
PostgreSQL 9.4 is no longer supported, so we shouldn't list it as an
option on the download pages for the interactive installers.
Jonathan S. Katz [Thu, 30 Apr 2020 04:09:25 +0000 (00:09 -0400)]
Add documentation styles for updated function & operator tables
The new documentation contains a new look & feel for how functions
and operator information are displayed, but this requires some
adjustments to the stylesheet.
This also removes from of the "!important" tags that are used
in top-level parts of the code, as we do not want those to cascade
down to lower layers of the stylesheets.
Jonathan S. Katz [Tue, 11 Feb 2020 19:41:46 +0000 (14:41 -0500)]
Introduce documentation redirects for doc pages that are renamed
The web documentation used to suffer from a problem that if a
documentation page were renamed in a newer version, any references
pointing to said documentation would be lost. For example, the feature
known as "Default Roles" was renamed to "Privileged Roles" but caused
a change in the URL.
This patch introduces the ability to create a "DocPageRedirect" by
specifying the previous name of the documentation page (e.g.
"default-roles.html") and the new name (e.g. "privileged-roles.html")
such that the continuity is preserved between versions.
Jonathan S. Katz [Fri, 24 Apr 2020 16:11:43 +0000 (12:11 -0400)]
Update Debian and Ubuntu versions
- Debian: Add bullseye and sid
- Ubuntu: Add focal (20.04)
- Add arm64 architecture to each package page
- Modify examples to use PostgreSQL 12
Author: Christoph Berg <myon@debian.org>
Jonathan S. Katz [Thu, 23 Apr 2020 17:31:05 +0000 (13:31 -0400)]
Updates to backend flowchart
Several languages and URL updates to various information in the
backend flowchart.
Author: Bruce Momjian <bruce@momjian.us>
Magnus Hagander [Mon, 20 Apr 2020 08:47:56 +0000 (10:47 +0200)]
Set headers for no auto response on most emails
Most of our auto-generated emails should not ask for auto replies (like
out of office messages or in particular, "held for moderation" notices
from our own list server), so set this header by default, and also the
header indicating if it's an auto submitted/auto replied message.
Specifically allow auto replies on moderation notices, since that's a
case where it might be really interesting for the moderator to see for
example an out of office message. At least for now that seems like a
good idea.
Magnus Hagander [Mon, 20 Apr 2020 07:45:01 +0000 (09:45 +0200)]
Fix spelling error
Jonathan S. Katz [Sat, 18 Apr 2020 18:48:18 +0000 (14:48 -0400)]
Set indenting and alignment on new function listing tables
This helps to ensure readability of the new function table listings
while working around some of the generated code from DocBook
Authors: Tom Lane <tgl@sss.pgh.pa.us> and myself
Jonathan S. Katz [Wed, 15 Apr 2020 16:48:59 +0000 (12:48 -0400)]
Fix a few typos on the Related Projects page
Jonathan S. Katz [Tue, 14 Apr 2020 22:08:27 +0000 (18:08 -0400)]
Add HTML attribute selectors for table cell alignment
As the align/valign attributets are deprecated in HTML 5 and as our
documentation generation scripts still spit these out, these selectors
will ensure compatibility, and also fix present alignment issues.
Jonathan S. Katz [Tue, 14 Apr 2020 20:43:06 +0000 (16:43 -0400)]
Respect valign="middle" property in table headers
As part of ongoing changes to the structure of tables in the
documentation[1], the HTML property valign is being set to middle
in the table headers, but was not being respected in the pgweb CSS
rules.
This adjusts the table headers to respect the valign property, which
in testing works with both the latest documentation as well as previous
versions (and given most, if not all, table headers to date are not
multi-lined).
[1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=
e894c61836e4b967f7ec65358fdaed2ba86ed238
Jonathan S. Katz [Fri, 10 Apr 2020 00:33:15 +0000 (20:33 -0400)]
Add "Related Projects" section to "Developers"
This provides information about other projects that people can
contribute to outside of the core PostgreSQL software. Includes
descriptions of each project, how they are used, and how one can
get involved.
Authors: Andreas 'ads' Scherbaum <ads@pgug.de>, myself
Magnus Hagander [Sat, 4 Apr 2020 12:43:27 +0000 (14:43 +0200)]
Avoid returning HttpServerError for things not server errors
With the new django, alerts are raised for everything with status 500,
not juse exceptions. This put a light on a number of places where we
were returning 500 server error code for things that are not actually
server errors. Some should be a regular 200 ok with an error message,
and others should be a permissions error.
Magnus Hagander [Sat, 4 Apr 2020 12:43:13 +0000 (14:43 +0200)]
Fix spacing problem pep8 complains about
Magnus Hagander [Thu, 2 Apr 2020 12:38:15 +0000 (14:38 +0200)]
Update requirements versions
Update to django 2.2. Also update a number of older dependencies that
were actually already incorrect before the djago upgrade, and the
deployed versions were newer, but we forgot to update the requirements
file.
Magnus Hagander [Tue, 31 Mar 2020 22:09:50 +0000 (00:09 +0200)]
Fix recaptcha widget for 2.2
Magnus Hagander [Tue, 31 Mar 2020 21:40:23 +0000 (23:40 +0200)]
Update authentication to be django 2 compatible
Magnus Hagander [Tue, 31 Mar 2020 20:54:50 +0000 (22:54 +0200)]
Enable django v2 style autocomplete fields in admin
Magnus Hagander [Tue, 31 Mar 2020 20:50:08 +0000 (22:50 +0200)]
Middleware and urls update for django 2.2
Magnus Hagander [Tue, 31 Mar 2020 20:43:16 +0000 (22:43 +0200)]
Remove dependency on django-selectable
Magnus Hagander [Tue, 31 Mar 2020 20:33:51 +0000 (22:33 +0200)]
Set on_delete=models.CASCADE on all ForeignKey fields
This is the bardware compatible value that will be needed once we
upgrade django later.
Jonathan S. Katz [Mon, 30 Mar 2020 21:38:13 +0000 (17:38 -0400)]
Fix word typo on the press FAQ page
Jonathan S. Katz [Thu, 19 Mar 2020 16:21:45 +0000 (12:21 -0400)]
Fixed run-on line on 2019 CoC Report
Jonathan S. Katz [Thu, 19 Mar 2020 13:14:51 +0000 (09:14 -0400)]
Added 2019 CoC Committee Annual Report
Jonathan S. Katz [Sun, 1 Mar 2020 14:37:21 +0000 (09:37 -0500)]
Add "PostgreSQL for DBA: PostgreSQL 12" to books list
Magnus Hagander [Wed, 26 Feb 2020 16:53:02 +0000 (17:53 +0100)]
Sync community auth plugin to be the latest-and-greatest
Combine changes from downstream projects (which were not that many
anymore)
Devrim Gündüz [Wed, 26 Feb 2020 16:37:10 +0000 (16:37 +0000)]
CentOS 8 and OL 8 are already out
Devrim Gündüz [Wed, 26 Feb 2020 16:34:51 +0000 (16:34 +0000)]
Update Fedora versions
Magnus Hagander [Wed, 26 Feb 2020 16:24:50 +0000 (17:24 +0100)]
More fixes to openSUSE capitalization
Magnus Hagander [Wed, 26 Feb 2020 16:01:10 +0000 (17:01 +0100)]
Fix capitalization of SUSE and openSUSE
Magnus Hagander [Tue, 25 Feb 2020 09:54:59 +0000 (10:54 +0100)]
Track when an account last logged into a community auth site
This information can be useful when trying to debug issues with the
community auth and the wonders of distributed data...
No actual django model is created because django still doesn't support
multi-column primary keys. Thus no tool to use the data yet other than
psql.
Jonathan S. Katz [Thu, 13 Feb 2020 05:50:43 +0000 (00:50 -0500)]
2020-02-13 cumulative update release
Jonathan S. Katz [Wed, 12 Feb 2020 13:02:59 +0000 (08:02 -0500)]
Update dynamic CSS generation for "docs.css"
This is primarily to enable the "make STYLE=website html" build
option of the PostgreSQL docs, as the pgweb docs page uses
the "base.css" file to render the documentation. By updating the
dynamic doc.css generation file, we can allow the builders of the
documentation to better preview what their documentation will look
like when it is loaded onto the website.
Presently, the dynamic "docs.css" is unused in pgweb or the core
project, and as those are the two biggest consumers of the
documentation styles, this is an apparent safe vector to make this
change.
Jonathan S. Katz [Wed, 12 Feb 2020 13:08:39 +0000 (08:08 -0500)]
Remove comment about "Removed spam link"
This is no longer the case, and though it appeared I had removed
it in the first commit, it appears that was not the case.
Jonathan S. Katz [Tue, 11 Feb 2020 19:43:47 +0000 (14:43 -0500)]
Add link to Russian International site
The site has been redirected after the old one had become a spam
page. Effectively, this is a revert of
b156bf36, though it updates
to a new URL.
Jonathan S. Katz [Wed, 5 Feb 2020 15:01:57 +0000 (10:01 -0500)]
Remove link to international site that is pointing to a spam page
Specifically, the domain to the "Russian community site" on the
International page is pointing at a link that is a spam page.
Magnus Hagander [Tue, 28 Jan 2020 16:22:15 +0000 (17:22 +0100)]
Update org team requirements in community conf guidelines
Preivously the requirement was "should not have 50% or more" members
from a single company, which basically ruled out any organisation of two
people. This was never the intention, so instead change to say "no more
than 50%", which specifically allows for the case of exactly half.
Magnus Hagander [Fri, 24 Jan 2020 12:55:44 +0000 (13:55 +0100)]
Raise PermissionDenied instead of generic exception for non-owned items
Raising a generic exception generates a http 500 internal error and a
stackdump. Instead raising PermissionDenied appopriately turns it into a
http 403 forbidden response.
Magnus Hagander [Fri, 24 Jan 2020 12:55:15 +0000 (13:55 +0100)]
Reorder imports for readability
Magnus Hagander [Thu, 9 Jan 2020 12:28:02 +0000 (13:28 +0100)]
Bump pycodestyle version
Magnus Hagander [Thu, 9 Jan 2020 12:25:59 +0000 (13:25 +0100)]
Fix a number of incorrect escapes
Pointed out by newer versions of pep8, but they were never correct.
Magnus Hagander [Thu, 9 Jan 2020 12:14:32 +0000 (13:14 +0100)]
Stop using bare exceptions
This is frowned upon in newer versions of pep8, so fix it once and for
all.
Magnus Hagander [Sat, 4 Jan 2020 19:31:29 +0000 (20:31 +0100)]
Fix copy/paste error
Magnus Hagander [Fri, 3 Jan 2020 21:00:32 +0000 (22:00 +0100)]
Send password reset emails to stored email address
Even though compared to be case insensitively equal,
there are unicode cases where they can be different.
Jonathan S. Katz [Thu, 26 Dec 2019 14:32:12 +0000 (09:32 -0500)]
Hide Survey
Per discussion in $THREAD, it Survey is unmaintained. While it offers
some nice user interactivity, because it is unmaintained it should not
be visible on the website.
It is only commented out, so that we can re-enable in the future. The
archives will remain available, albeit obfuscated.
Thread: https://postgr.es/m/
BBF56CF4-2065-45C5-B61F-
D616F0CB2743%40yesql.se
Jonathan S. Katz [Thu, 12 Dec 2019 14:08:16 +0000 (09:08 -0500)]
Updates to the 2UDA installer description
Author: Liaqat Andrabi <liaqat.hussain.andrabi@2ndquadrant.com>
Magnus Hagander [Tue, 10 Dec 2019 19:55:00 +0000 (20:55 +0100)]
Update RedHat download page for RHEL8 dnf module disable
This is required to make the community rpm package work on RHEL 8 and
newer, so we should include it in the instructions...
Magnus Hagander [Tue, 3 Dec 2019 09:29:44 +0000 (10:29 +0100)]
Allow user sign-in using email, not just username
This was partially implemented through the system, and given that the
community auth system already assumes email is unique there is no need
to not expose it to the actual login process as well.
Magnus Hagander [Wed, 27 Nov 2019 21:00:14 +0000 (22:00 +0100)]
Add hints about with date formats to use
Suggested by Pavlo Golub
Daniel Gustafsson [Wed, 20 Nov 2019 09:05:24 +0000 (10:05 +0100)]
Fix typo in comments
s/tring/string/
Daniel Gustafsson [Tue, 19 Nov 2019 12:27:11 +0000 (13:27 +0100)]
Fix typo in Portugese v12 presskit
It's PostgreSQL, not PostgresSQL.
Jonathan S. Katz [Thu, 14 Nov 2019 14:03:26 +0000 (09:03 -0500)]
2019-11-14 cumulative update.
Dave Page [Wed, 13 Nov 2019 11:15:06 +0000 (11:15 +0000)]
Minor correction to the EDB Windows installer supported platform list.
Marcin Cieślak [Fri, 8 Nov 2019 12:18:01 +0000 (13:18 +0100)]
Add 32x32 and 48x48 favicons
Magnus Hagander [Fri, 1 Nov 2019 13:55:05 +0000 (14:55 +0100)]
Fix unicode bug from python3 conversion
Magnus Hagander [Fri, 1 Nov 2019 13:52:35 +0000 (14:52 +0100)]
Switch to using pycryptodome instead of pycrypto
pycrypto is not being maintained, and pycryptodome is theoretically
a drop-in replacement (in practice, it seems it was close)
Magnus Hagander [Fri, 1 Nov 2019 11:02:34 +0000 (12:02 +0100)]
Update django version in requirements.txt
Update to one that says "django 1.11.<latest>", so we don't have to keep
updating it.
Jonathan S. Katz [Wed, 30 Oct 2019 23:50:22 +0000 (19:50 -0400)]
Ensure all release notes are accessible from "devel"
When a new PostgreSQL branch is created, any "devel" notes for that branch
become immediately unavailable, which would make any shared devel links around
that dead.
This adjusts this logic such that any release notes for a release, beta or
otherwise, is now available by redirect the user to the release notes' permanent
home.
Reported By: Andres Freund <andres@anarazel.de>, who also mostly authored the
patch over email.
Jonathan S. Katz [Wed, 23 Oct 2019 22:20:45 +0000 (18:20 -0400)]
Add URLs to Chinese translations of the PostgreSQL documentation.
Jonathan S. Katz [Mon, 21 Oct 2019 16:41:40 +0000 (12:41 -0400)]
Update URL to "PostgreSQL Primer for Busy People"
Jonathan S. Katz [Fri, 18 Oct 2019 11:38:51 +0000 (13:38 +0200)]
Rename "Online Resources" to "Tutorials & Other Resources"
...because this is what the page actually is, and it may be clearer
to people navigating the website.
Jonathan S. Katz [Fri, 18 Oct 2019 11:36:25 +0000 (13:36 +0200)]
Add FAQ page back to the Documentation page.
Some this disappeared, likely during the conversion to the new website.
This adds the FAQ page back in with some fresh content.
Jonathan S. Katz [Thu, 17 Oct 2019 10:50:58 +0000 (12:50 +0200)]
Updated EDB Windows + macOS installers pages for PG12
Author: Emil Iggland <emil.iggland@metrima.com> for Windows,
macOS by me.
Jonathan S. Katz [Thu, 17 Oct 2019 10:32:17 +0000 (12:32 +0200)]
Fix typos, grammar, and unescaped escape charactres in CoCC bios.
Jonathan S. Katz [Thu, 17 Oct 2019 10:19:57 +0000 (12:19 +0200)]
Update the membership of the Code of Conduct Committee.
Includes biographical information of the committee members.
Magnus Hagander [Thu, 10 Oct 2019 18:49:45 +0000 (20:49 +0200)]
Raise a http 404 error on paths that are too long
We never have any paths this long, and it's nicer to raise a proper 404
than a 500 internal server error.
Magnus Hagander [Wed, 18 Sep 2019 08:47:50 +0000 (10:47 +0200)]
Replace \r with \n in ssh key dumps
Jonathan S. Katz [Wed, 9 Oct 2019 04:13:04 +0000 (00:13 -0400)]
Adjust date of next upcoming minor release in roadmap.
It was set to Nov 7, 2019, instead of Nov 14, 2019, which follows
the "second Tuesday" formula.
Jonathan S. Katz [Thu, 3 Oct 2019 12:41:03 +0000 (08:41 -0400)]
Remove extraneous expression from roadmap page.
Contained the git diff expressions that was used to check what was
in the previous major release.
Jonathan S. Katz [Mon, 30 Sep 2019 04:00:49 +0000 (00:00 -0400)]
PostgreSQL 12 release.
The usual updates for a release (topbar, homepage, roadmap) as well as
moving the "beta" page to its "non-beta" state.
Jonathan S. Katz [Mon, 30 Sep 2019 03:43:09 +0000 (23:43 -0400)]
General information updates about PostgreSQL 12.
This adds some more details to features that are available in PostgreSQL 12
on the about page, including updated statistics. Additionally, updates the
press FAQ with information around PostgreSQL 12 (and PostgreSQL 13).
Jonathan S. Katz [Mon, 30 Sep 2019 03:06:16 +0000 (23:06 -0400)]
Press kit for the PostgreSQL 12 release.
Updated the press kit page for the content related to PostgreSQL 12.
This includes translations of the press release into the following
languages with credits to the people who helped:
- Chinese (Daojing Zhou)
- French (Stéphane A. Schildknect, Jean-Christophe Arnu)
- German (Andreas 'ads' Scherbaum, Andreas Kretschmer)
- Hebrew (Michael Goldberg)
- Japanese (Haruka Takatsuka)
- Portuguese (Euler Taveira)
- Russian (Nikolay Samokhvalov)
- Spanish (Mariano Reingart)
Jonathan S. Katz [Thu, 26 Sep 2019 03:27:59 +0000 (23:27 -0400)]
PostgreSQL 12 RC 1.