Commit Graph

1711 Commits

Author SHA1 Message Date
e2120f0a80 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.
2020-04-24 19:33:16 -04:00
2239cc1f2c 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>
2020-04-24 12:12:46 -04:00
502447d1ad Updates to backend flowchart
Several languages and URL updates to various information in the
backend flowchart.

Author: Bruce Momjian <bruce@momjian.us>
2020-04-23 13:31:05 -04:00
a90cbd217e 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.
2020-04-20 10:49:33 +02:00
9c69eed6e9 Fix spelling error 2020-04-20 10:49:33 +02:00
417bb6e561 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
2020-04-18 14:48:18 -04:00
8cedd14921 Fix a few typos on the Related Projects page 2020-04-15 12:48:59 -04:00
e50eb48ec5 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.
2020-04-14 18:08:27 -04:00
0153e79283 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
2020-04-14 16:43:06 -04:00
9ea8818455 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
2020-04-10 09:11:01 -04:00
b405302d97 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.
2020-04-04 14:43:27 +02:00
454ea7a7be Fix spacing problem pep8 complains about 2020-04-04 14:43:13 +02:00
c53d88980a 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.
2020-04-03 19:08:37 +02:00
c34dca7f8b Fix recaptcha widget for 2.2 2020-04-03 19:05:30 +02:00
ccb1282531 Update authentication to be django 2 compatible 2020-04-03 19:05:26 +02:00
6d62619add Enable django v2 style autocomplete fields in admin 2020-03-31 22:55:13 +02:00
e02761dfcf Middleware and urls update for django 2.2 2020-03-31 22:55:13 +02:00
5d7cf9833f Remove dependency on django-selectable 2020-03-31 22:55:13 +02:00
46606e5284 Set on_delete=models.CASCADE on all ForeignKey fields
This is the bardware compatible value that will be needed once we
upgrade django later.
2020-03-31 22:34:51 +02:00
d3a3621a48 Fix word typo on the press FAQ page 2020-03-30 17:38:13 -04:00
d57234c4ac Fixed run-on line on 2019 CoC Report 2020-03-19 12:21:45 -04:00
a157a85870 Added 2019 CoC Committee Annual Report 2020-03-19 09:14:51 -04:00
6aee9f8a11 Add "PostgreSQL for DBA: PostgreSQL 12" to books list 2020-03-01 09:37:21 -05:00
fa32eff8ae Sync community auth plugin to be the latest-and-greatest
Combine changes from downstream projects (which were not that many
anymore)
2020-02-26 18:04:40 +01:00
4b873cd995 CentOS 8 and OL 8 are already out 2020-02-26 16:37:10 +00:00
3abd282cc4 Update Fedora versions 2020-02-26 16:34:51 +00:00
af7740e9ba More fixes to openSUSE capitalization 2020-02-26 17:24:50 +01:00
73a63a19cf Fix capitalization of SUSE and openSUSE 2020-02-26 17:01:10 +01:00
9e70a4e0c3 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.
2020-02-25 10:58:05 +01:00
a5108ad780 2020-02-13 cumulative update release 2020-02-13 00:50:43 -05:00
f4e7598c87 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.
2020-02-12 08:10:49 -05:00
212d3e9704 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.
2020-02-12 08:08:39 -05:00
690cf640e8 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.
2020-02-11 14:43:47 -05:00
b156bf3664 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.
2020-02-05 10:01:57 -05:00
1fe1127ab5 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.
2020-01-28 17:22:15 +01:00
b59458e3ca 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.
2020-01-24 13:55:44 +01:00
6dca475a04 Reorder imports for readability 2020-01-24 13:55:15 +01:00
596503a1ae Bump pycodestyle version 2020-01-09 13:28:02 +01:00
e384b4c917 Fix a number of incorrect escapes
Pointed out by newer versions of pep8, but they were never correct.
2020-01-09 13:25:59 +01:00
69923c7190 Stop using bare exceptions
This is frowned upon in newer versions of pep8, so fix it once and for
all.
2020-01-09 13:14:32 +01:00
a5d6fabe09 Fix copy/paste error 2020-01-04 20:31:29 +01:00
a91c267ec1 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.
2020-01-03 22:00:32 +01:00
298b459d45 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
2019-12-26 09:32:12 -05:00
8114b9f1db Updates to the 2UDA installer description
Author: Liaqat Andrabi <liaqat.hussain.andrabi@2ndquadrant.com>
2019-12-12 09:08:16 -05:00
ad6f2ea2dd 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...
2019-12-10 20:55:00 +01:00
834d85ff85 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.
2019-12-03 10:36:16 +01:00
5857b8f48c Add hints about with date formats to use
Suggested by Pavlo Golub
2019-11-27 22:00:14 +01:00
6db3da412c Fix typo in comments
s/tring/string/
2019-11-20 10:05:24 +01:00
d0d8127710 Fix typo in Portugese v12 presskit
It's PostgreSQL, not PostgresSQL.
2019-11-19 13:27:11 +01:00
3a6b76b992 2019-11-14 cumulative update. 2019-11-14 09:04:59 -05:00