1702 Commits

Author SHA1 Message Date
ae9e6d8272 Fix one more instance of the login view 2020-04-02 19:39:58 +02:00
f74cdba7c9 Update requirements versions
This was actually already incorrect before the djago upgrade, and the
deployed versions were newer, but we forgot to update the requirements
file.
2020-04-02 14:38:15 +02:00
fac3258652 Fix recaptcha widget for 2.2 2020-04-01 00:09:50 +02:00
a8fe3c93a2 Further authenticatino fixes for 2.2 2020-04-01 00:09:42 +02:00
46a76146bd Update authentication backend to be django 2 compatible 2020-03-31 23:40:32 +02:00
189a0815df Update authentication views to be django 2 compatible 2020-03-31 23:40:23 +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
fddaf4fcdb Minor correction to the EDB Windows installer supported platform list. 2019-11-13 11:15:06 +00:00
ee07007329 Add 32x32 and 48x48 favicons 2019-11-08 13:19:12 +01:00
d2e91e2b8f Fix unicode bug from python3 conversion 2019-11-01 14:55:05 +01:00
12306255ad 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)
2019-11-01 14:52:35 +01:00
a7a7400d09 Update django version in requirements.txt
Update to one that says "django 1.11.<latest>", so we don't have to keep
updating it.
2019-11-01 12:02:34 +01:00
b58a71f19d 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.
2019-10-30 19:50:22 -04:00
318d60d0fe Add URLs to Chinese translations of the PostgreSQL documentation. 2019-10-23 18:20:45 -04:00
e6c4ade543 Update URL to "PostgreSQL Primer for Busy People" 2019-10-21 12:41:40 -04:00
7c4a8f6b96 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.
2019-10-18 13:41:28 +02:00