Jonathan S. Katz [Thu, 9 May 2019 12:30:59 +0000 (08:30 -0400)]
Next May release is hopefully 2020, not 2019.
Jonathan S. Katz [Thu, 9 May 2019 12:05:08 +0000 (08:05 -0400)]
2019-05-09 Cumulative Update Release.
Daniel Gustafsson [Thu, 9 May 2019 11:42:38 +0000 (13:42 +0200)]
Add missing space in sentence
Dave Page [Wed, 8 May 2019 15:29:30 +0000 (16:29 +0100)]
Windows 2019 is support
Dave Page [Wed, 8 May 2019 15:04:31 +0000 (16:04 +0100)]
Remove old installer versions, and fix the Homebrew link
Dave Page [Wed, 8 May 2019 14:40:51 +0000 (15:40 +0100)]
Apparently <strong> isn't very strong...
Dave Page [Wed, 8 May 2019 14:39:18 +0000 (15:39 +0100)]
Note that Linux installers are no longer supported with 11.x, and remove old versions.
Jonathan S. Katz [Mon, 29 Apr 2019 20:42:41 +0000 (16:42 -0400)]
De-list the BigSQL installers.
Due to the expiration of the SSL certificate on the website where the
BigSQL installers are hosted, any outbound links to the BigSQL installers
and all references have been indefinitely removed until the SSL certificate
has been renewed.
Jonathan S. Katz [Mon, 1 Apr 2019 01:40:03 +0000 (21:40 -0400)]
Add Bootstrap grid classes to images referenced in the HTML docs.
Jonathan S. Katz [Wed, 24 Apr 2019 17:37:56 +0000 (13:37 -0400)]
Updates on what PostgreSQL versions on Red Hat downloads page.
Includes updates for what is in the SCL for Red Hat/CentOS/etc. as
well as Fedora version updates.
Author: Devrim Gündüz
Jonathan S. Katz [Mon, 15 Apr 2019 14:23:26 +0000 (07:23 -0700)]
2018 CoC Committee Annual Report announcement.
Jonathan S. Katz [Thu, 11 Apr 2019 18:21:25 +0000 (14:21 -0400)]
Added 2018 CoC Committee Annual Report.
Jonathan S. Katz [Thu, 4 Apr 2019 15:09:01 +0000 (11:09 -0400)]
News article related to CVE-2019-9193.
Jonathan S. Katz [Thu, 4 Apr 2019 01:18:55 +0000 (21:18 -0400)]
Add information on the sponsorship page to indicate when list was last updated.
Magnus Hagander [Mon, 1 Apr 2019 09:09:47 +0000 (11:09 +0200)]
Clarify when a password is entered in the community auth signup flow
Suggested by Andreas Scherbaum.
Jonathan S. Katz [Sun, 31 Mar 2019 21:02:43 +0000 (17:02 -0400)]
Add a lot more code documentation to the documentation loader.
Jonathan S. Katz [Sun, 31 Mar 2019 20:31:01 +0000 (16:31 -0400)]
Do not use libtidy on content from SVG files.
Jonathan S. Katz [Sun, 31 Mar 2019 20:20:51 +0000 (16:20 -0400)]
Remove global variable reference that increments the page count in the docloader.
This is primarily to remove some old code to allow for future changes
to how certain types of doc files can be loaded in the future.
Magnus Hagander [Sun, 31 Mar 2019 12:19:45 +0000 (14:19 +0200)]
Allow displaying SVG images in documentation
PostgreSQL 12 adds SVG images in the documentation, so the website
should be able to display them.
The images themselves were already loaded by the docsloader, but the
regexps in the URL would block them from being seen. Fix this by
creating a separate function for the SVGs, since we also don't want to
render them inside teh templates.
This new view must also be tagged with @allow_frames, since the browser
considers the <object> tag used to be a subframe. Without this, they
would be blocked from viewing even on our own site.
Magnus Hagander [Sun, 31 Mar 2019 12:24:52 +0000 (14:24 +0200)]
Only get the current version for docs pages if we need it
Jonathan S. Katz [Sat, 30 Mar 2019 16:34:13 +0000 (12:34 -0400)]
Update link to sponsorship policy page so it does not point at wiki.
Jonathan S. Katz [Sat, 30 Mar 2019 16:25:38 +0000 (12:25 -0400)]
An additional logo adjustment.
A previous change did not look so great in production.
Jonathan S. Katz [Sat, 30 Mar 2019 16:23:09 +0000 (12:23 -0400)]
Add Ilya K. to the sponsorship committee page, as he is on it.
Jonathan S. Katz [Sat, 30 Mar 2019 16:22:53 +0000 (12:22 -0400)]
Logo adjustments and updates to recognized PostgreSQL sponsors.
Jonathan S. Katz [Sat, 30 Mar 2019 15:51:14 +0000 (11:51 -0400)]
Add more administrative features for managing sponsors.
Specifically, being able to search by sponsor, filter by sponsor type, and
make it easier to see some key information.
Jonathan S. Katz [Sat, 30 Mar 2019 15:44:34 +0000 (11:44 -0400)]
Add logos based on Sponsorship committee selection.
Also included some updated logos of various company to either bring them
inline with their current brands, or provide a higher-res image of the
logo.
Jonathan S. Katz [Sat, 30 Mar 2019 15:07:25 +0000 (11:07 -0400)]
Add contact information for the CoC committee on the Contact page.
Jonathan S. Katz [Mon, 25 Mar 2019 13:26:37 +0000 (09:26 -0400)]
Use consistent indenting throughout the CSS.
The main.css file had inconsistent whitespacing throughout, including a
mixture of tabs / spaces as well as different intervals of 2 / 4.
This patch brings the formatting to use 2 spaces at a time for each indent,
which is consistent with generally accepted best practices.
Sarah Conway [Sat, 23 Mar 2019 16:29:28 +0000 (09:29 -0700)]
Input fields that contain checkboxes now have automatic width. (CSS)
Jonathan S. Katz [Thu, 21 Mar 2019 12:56:29 +0000 (08:56 -0400)]
Provide a 404 error for nonexistent minor versions of release notes.
Jonathan S. Katz [Wed, 20 Mar 2019 20:58:13 +0000 (16:58 -0400)]
Enable redirects to older release notes from the development doc builds.
Prior to this, if you referenced a version of the release notes that was outside
of the current development build (e.g. 9.6) the URL would 404.
Reported by Andres Freund.
Jonathan S. Katz [Sun, 10 Mar 2019 18:40:05 +0000 (11:40 -0700)]
Added pycodestyle to requirements.txt and pre-commit hook.
Magnus Hagander [Sun, 10 Mar 2019 15:24:01 +0000 (08:24 -0700)]
Style fixups to pass pep checks
This fixes the style issues introduced in the patches for the new
release notes styles. Clearly a broken verification hook somewhere.
Magnus Hagander [Sun, 10 Mar 2019 15:22:07 +0000 (08:22 -0700)]
Further fixes for bad urls in docs redirect
Magnus Hagander [Sun, 24 Feb 2019 11:21:25 +0000 (12:21 +0100)]
Explicitly use python3 in githook validation
Jonathan S. Katz [Sun, 10 Mar 2019 06:52:27 +0000 (22:52 -0800)]
Ensure the new "release-prior" page can be accessed.
This fixes a bug where the "release-prior" page was being evaluated as
a legacy release notes page in the supported docs.
Jonathan S. Katz [Wed, 13 Feb 2019 20:22:49 +0000 (15:22 -0500)]
Ensure release notes from older version still load without 404 errors.
An upcoming change in PostgreSQL keeps only release notes in their
current versions. So e.g., PostgreSQL 11 only has the release notes
for 11.0, 11.1, 11.2 etc.
Thus, for PostgreSQL 9.4 on up, any URLs such as /docs/10/release-9-6-8.html
would return a 404. Additonal, URLs with /current/ and /devel/ would break
as well.
This patch prevents these 404s from occuring by redirecting users accessing
release notes in the 9.4 and above documentation to the older versions
of the release notes by redirecting them to the notes in the specific
version. So in the above example, a user would be redirect to
/docs/9.6/release-9-6-8.html
As we do not have documentation on the website past 7.2, any release
notes from an older version are redirected to the release notes tree
in 7.2
Jonathan S. Katz [Tue, 12 Feb 2019 19:50:48 +0000 (20:50 +0100)]
Create Release Notes archive in the Documentation section.
This creates a consolidated area to reference all of the notes from
previous releases of PostgreSQL, as current releases only keep the
the notes for that specific major release of PostgreSQL.
Jonathan S. Katz [Thu, 28 Feb 2019 19:14:52 +0000 (14:14 -0500)]
Make calls-to-action on donations page clearer.
Jonathan S. Katz [Thu, 28 Feb 2019 19:11:57 +0000 (14:11 -0500)]
Small language tweaks to the Donate to PostgreSQL page.
Jonathan S. Katz [Thu, 28 Feb 2019 19:09:58 +0000 (14:09 -0500)]
Re-enable donation form for the SPI account.
Magnus Hagander [Fri, 22 Feb 2019 15:38:19 +0000 (16:38 +0100)]
Load docs using COPY instead of INSERT
Issuing individual INSERTs for each line in the docs works decently when
local, but it slow when loading across The Tubes Of The Internet.
Switching to using COPY takes the load time from the buildfarm animal
from just over 2 minutes to about 6-7 seconds.
Dave Page [Mon, 18 Feb 2019 10:36:53 +0000 (10:36 +0000)]
Move project policies to the website.
Changes by myself and Jonathan Katz
Review by Jonathan Katz and Daniel Gustafsson
Jonathan S. Katz [Thu, 14 Feb 2019 13:26:56 +0000 (08:26 -0500)]
Fixed one missing version bump.
Jonathan S. Katz [Thu, 14 Feb 2019 12:26:46 +0000 (07:26 -0500)]
2019-02-14 Cumulative Update Release.
Jonathan S. Katz [Tue, 12 Feb 2019 21:22:52 +0000 (16:22 -0500)]
Apply navbar fix to the documentation pages.
For some reason, I missed this in my original patch.
Magnus Hagander [Sun, 10 Feb 2019 13:46:53 +0000 (14:46 +0100)]
Update migrations for py3
A lot of strings in the migrations needed a change from b' to ' to work
after the migration to py3, but this was forgotten in the big patch.
No actual changes included in this patch.
A lot of strings in the migrations needed a change from b' to ' to work
after the migration to py3, but this was forgotten in the big patch.
Magnus Hagander [Sun, 10 Feb 2019 13:28:47 +0000 (14:28 +0100)]
Make it possible to block OAuth signin to accounts
This adds a checkbox to each user account letting the user block the use
of OAuth to this account, forcing the use of internal authentication.
Dave Page [Wed, 6 Feb 2019 11:49:36 +0000 (11:49 +0000)]
Tell folks how they can add/update contributors.
Jonathan S. Katz [Sun, 3 Feb 2019 14:33:00 +0000 (09:33 -0500)]
Pin the navigation bar to the top of the page.
From user feedback, the scrolling navigation bar would cause problems with
readability, especially in larger font views. This keeps the navigation bar
pinned to the top, until we can find a way to more easily handle this.
Daniel Gustafsson [Thu, 31 Jan 2019 12:42:25 +0000 (13:42 +0100)]
Avoid redirects for mailinglist links
The /community/lists/ URL is redirecting to /list/ since the new
archive and list code. Rewrite the final links to avoid the redirect.
Also remove the #developer anchor since the new list page doesn't
have anchors.
Reviewed-by: Magnus Hagander
Magnus Hagander [Mon, 28 Jan 2019 13:06:29 +0000 (14:06 +0100)]
Make docs comment suggestions do a redirect
This is the same as
b2ed4946551c098079d1a156b222d4ebf5c85cba did for bug
reports.
This changes the regexps for all the doc comment suggestions forms to be
a little bit more specific than before.
Magnus Hagander [Mon, 28 Jan 2019 13:00:29 +0000 (14:00 +0100)]
Fix docs comment form for version = "current"
Normally not reachable with "current", only with explicit version,
but as proven by some live crashes, there is some way to. So make
sure we look up the current version instead of crashing.
Jonathan S. Katz [Sat, 26 Jan 2019 19:21:28 +0000 (14:21 -0500)]
Bring requirements.txt up-to-date for Python 3 libs.
Hopefully makes it easier for people to get up and running.
Magnus Hagander [Sat, 26 Jan 2019 16:21:37 +0000 (17:21 +0100)]
Update docsload to use tidylib instead of tidy
The old library is not supported on py3. This is the same migration
we've done for other projects like pgarchives.
Magnus Hagander [Sat, 26 Jan 2019 15:46:40 +0000 (16:46 +0100)]
Another encoding fix for yum
Magnus Hagander [Sat, 26 Jan 2019 15:45:41 +0000 (16:45 +0100)]
Fix datatype and encoding for yum spider
Jonathan S. Katz [Sat, 26 Jan 2019 15:42:43 +0000 (10:42 -0500)]
Fix integer division in search.
Caused error in pagination on site search.
Magnus Hagander [Sat, 26 Jan 2019 15:40:55 +0000 (16:40 +0100)]
Re-instate previously hardcoded hostname in spiders
Magnus Hagander [Sat, 26 Jan 2019 15:23:10 +0000 (16:23 +0100)]
Fix sorting in file browser
Magnus Hagander [Thu, 24 Jan 2019 12:07:21 +0000 (13:07 +0100)]
Re-implement modification notifications in simple_form
The way signals are sent for many2many apparently changed completely
between the python2 and python3 versions of the same Django version,
which broke the way we did this before. And it was always a bit of a
hack...
Instead, reimplement notifications in the simple_form handler. This now
also consolidates regular field notificationss and many2many
notifications in a much cleaner way.
This will, however, *only* have an effect on changes made through
simple_form. Luckily that's the most common way we handle forms, with
the exception being /admin/. So leave the old code in place to handle
the changes through /admin/, as well as the deletion of objects.
In the end the only thing lost is the ability to get m2m differences
when an admin makes changes, and that's the least important of all
notification. And as a bonus, the regular change notifications and in
particular "new item" notifications look a lot nicer.
Magnus Hagander [Wed, 23 Jan 2019 21:14:56 +0000 (22:14 +0100)]
Update search crawler for python3
This includes the switch to requests, but also a bunch of other changes.
While at it, fix it so we can do proper https validation.
Magnus Hagander [Mon, 21 Jan 2019 11:23:37 +0000 (12:23 +0100)]
Fix integer division
Magnus Hagander [Mon, 21 Jan 2019 11:23:23 +0000 (12:23 +0100)]
Update for new module/namespace for urllib
Magnus Hagander [Mon, 21 Jan 2019 11:21:46 +0000 (12:21 +0100)]
Switch recaptcha, search, spiders and varnish to requests
Easiser to switch to the requests package than to figure out how to deal
with some of the encoding changes manually. And as a bonus, it's much
nicer to work with the requests package for the future.
Magnus Hagander [Mon, 21 Jan 2019 09:52:51 +0000 (10:52 +0100)]
Fix changed names of imports
Magnus Hagander [Mon, 21 Jan 2019 09:51:12 +0000 (10:51 +0100)]
Remove trailing windows newline
Magnus Hagander [Mon, 21 Jan 2019 09:42:05 +0000 (10:42 +0100)]
More generic changes from 2to3
Magnus Hagander [Sun, 20 Jan 2019 10:10:14 +0000 (11:10 +0100)]
Attempt to fix localhtmlvalidate
It was already broken and didn't work properly, but update to py3 and at
least make it run. More changes are necessary to actually make it happy
again.
Magnus Hagander [Sat, 19 Jan 2019 19:23:16 +0000 (20:23 +0100)]
Remove indexer for old archives
We have been using the new archives for many years now, so remove this
instead of trying to port it to python3.
Magnus Hagander [Sat, 19 Jan 2019 19:17:36 +0000 (20:17 +0100)]
Update script shebangs to use python3
Magnus Hagander [Sat, 19 Jan 2019 19:12:52 +0000 (20:12 +0100)]
Fix unicode for hashlib operations
Magnus Hagander [Sat, 19 Jan 2019 19:09:24 +0000 (20:09 +0100)]
Update print and input syntax for python 3
Magnus Hagander [Sat, 19 Jan 2019 19:03:33 +0000 (20:03 +0100)]
Fix base64 encodings
Magnus Hagander [Sat, 19 Jan 2019 19:00:35 +0000 (20:00 +0100)]
Import latest auth.py from pgeu as sample
Magnus Hagander [Sat, 19 Jan 2019 18:48:47 +0000 (19:48 +0100)]
Generic unicode updates
Magnus Hagander [Sat, 19 Jan 2019 18:38:00 +0000 (19:38 +0100)]
Update syntax for relative imports
Magnus Hagander [Sat, 19 Jan 2019 18:34:14 +0000 (19:34 +0100)]
Update to new style exception catching
Jonathan S. Katz [Thu, 24 Jan 2019 17:09:02 +0000 (12:09 -0500)]
Added "PostgreSQL for DBA volume 1..." to "Books"
Magnus Hagander [Thu, 17 Jan 2019 21:20:37 +0000 (22:20 +0100)]
Fix accidentally reversed check
Magnus Hagander [Thu, 17 Jan 2019 20:30:01 +0000 (21:30 +0100)]
Fix silly typo
Magnus Hagander [Thu, 17 Jan 2019 20:26:41 +0000 (21:26 +0100)]
Add a githook and a config file to run pep8 pre-commit
Magnus Hagander [Thu, 17 Jan 2019 20:19:57 +0000 (21:19 +0100)]
Fix deprecated comparison structs
Magnus Hagander [Thu, 17 Jan 2019 19:52:17 +0000 (20:52 +0100)]
Remove multi-statement lines, per pep8
Magnus Hagander [Thu, 17 Jan 2019 19:49:33 +0000 (20:49 +0100)]
Fix import order, per pep8
Magnus Hagander [Thu, 17 Jan 2019 19:47:43 +0000 (20:47 +0100)]
Fix whitespace and indentation, per pep8
Magnus Hagander [Thu, 17 Jan 2019 14:30:25 +0000 (15:30 +0100)]
Tabs, meet your new overlords: spaces
In a quest to reach pep8, use spaces to indent rather than tabs.
Magnus Hagander [Thu, 17 Jan 2019 09:27:51 +0000 (10:27 +0100)]
Redirect the user upon successful bug report submission
Previously the result page was rendered directly and if the user hit the
refresh button the bug woulb be duplicated. Instead redirect to a
results page (with the bug number) which can be freely refreshed.
Magnus Hagander [Thu, 17 Jan 2019 09:24:55 +0000 (10:24 +0100)]
Create and track a mapping between bug ids and messageids
Not used yet (though a prototype redirect view is present) since we need
to populate it with data from the past, but with this we start
collecting the mapping for future bugs.
Magnus Hagander [Thu, 17 Jan 2019 09:08:33 +0000 (10:08 +0100)]
Seems GA also needs data: urls sometimes
Jonathan S. Katz [Fri, 11 Jan 2019 21:16:11 +0000 (16:16 -0500)]
Ensure font size for <h5> blocks are smaller than <h4>
<h5> was not explicitly set prior.
Jonathan S. Katz [Wed, 9 Jan 2019 15:31:46 +0000 (10:31 -0500)]
Add further indentation to variable lists to distinguish groups.
This was an regression introduced by the new styles that affects
readability of nested variables lists (e.g. on the message protocol
page). This brings the look more in line with the previous documentation
styles and should help with readability.
Jonathan S. Katz [Sun, 6 Jan 2019 21:32:02 +0000 (16:32 -0500)]
Retain documentation version when navigating paginated links.
The old code always raised an exception as the variable being checked
was not defined at that point. Now, it checks the variable that one
expects to be set.
Magnus Hagander [Sat, 5 Jan 2019 12:15:58 +0000 (13:15 +0100)]
Remove inline script from debian/ubuntu download page
Magnus Hagander [Thu, 3 Jan 2019 13:57:58 +0000 (14:57 +0100)]
Remove legacy onfocus event handler
This one goes back 10+ years and nobody really knows what it's for. And
it does create issues for the content security policy, so let's just get
rid of it.
Magnus Hagander [Sat, 29 Dec 2018 10:48:02 +0000 (11:48 +0100)]
Allow framing google.com on account signup page
This is used for the recaptcha. Also enable this for oauth signups,
previously missed.
Magnus Hagander [Sat, 29 Dec 2018 10:25:43 +0000 (11:25 +0100)]
Allow data: url for image and fonts
Turns out data: is not included in "*" for images, so just add it. For
fonts, data: is used by google fonts.
Magnus Hagander [Sat, 29 Dec 2018 10:18:05 +0000 (11:18 +0100)]
Allow google analytics to do "connect" as well
Based on CSP reports collected
Magnus Hagander [Wed, 26 Dec 2018 11:44:25 +0000 (12:44 +0100)]
Fix unicode in error message about ssh keys
Caused an exception when somebody tried to upload an SSH key where the
*key type* contains non-ascii (this would normally be things like
"ssh-rsa", and there are definitely no legit key types outside the ascii
range, but we still shouldn't crash)
Jonathan S. Katz [Sat, 22 Dec 2018 16:35:31 +0000 (11:35 -0500)]
Remove inline styles from feature matrix generator.
This moves the HTML code generated for the filters into the Django
template, instead of the JavaScript portion.