pgweb.git
3 years agoSwitch to using Django 3.2
Magnus Hagander [Sun, 19 Dec 2021 11:10:03 +0000 (12:10 +0100)]
Switch to using Django 3.2

3.2 is the next LTS, and the fixes to make it work went in some time
ago. Now pulling the trigger and updating the prod website.

3 years agoRemove accidentally duplicated return statement
Magnus Hagander [Sun, 12 Dec 2021 16:15:02 +0000 (17:15 +0100)]
Remove accidentally duplicated return statement

3 years agoFix code layout in h2 tags in docs
Jonathan S. Katz [Mon, 13 Dec 2021 21:43:17 +0000 (16:43 -0500)]
Fix code layout in h2 tags in docs

Code snippets in h2 blocks looked smushed, so this gives them
a bit more space.

Reported-by: Justin Pryzby <pryzby@telsasoft.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
3 years agoload_initial_data.sh: /bin/bash -> /bin/sh
Nils [Sun, 7 Nov 2021 16:41:21 +0000 (16:41 +0000)]
load_initial_data.sh: /bin/bash -> /bin/sh

The shell script doesn't use bash extensions and bash may not be
available on all systems at that location.

3 years agoUpdate macOS supported versions.
Dave Page [Wed, 24 Nov 2021 11:48:18 +0000 (11:48 +0000)]
Update macOS supported versions.

3 years agoDisallow /message-id/mbox/ in robots.txt
Magnus Hagander [Tue, 23 Nov 2021 11:04:09 +0000 (12:04 +0100)]
Disallow /message-id/mbox/ in robots.txt

These require login and shouldn't be spidered, but had somehow been
missed.

3 years agoShow a proper confirmation page after adding an email to an org
Magnus Hagander [Thu, 18 Nov 2021 13:21:05 +0000 (14:21 +0100)]
Show a proper confirmation page after adding an email to an org

This should (hopefully) help reduce some confusion.

3 years agoUse separate title for save button for tristate moderation
Magnus Hagander [Thu, 18 Nov 2021 13:09:28 +0000 (14:09 +0100)]
Use separate title for save button for tristate moderation

When the save and submit steps are different, use "Save draft" for the
save button instead of "submit new" -- since the submit is a separate
step.

3 years agoRemove index.html override in admin
Magnus Hagander [Sun, 7 Nov 2021 15:16:39 +0000 (16:16 +0100)]
Remove index.html override in admin

It was only used to add the moderation and purge links, and those are
already in the header as well. Keeps us from maintaining what basically
amounts to a version-incompatible fork of a default django template...

3 years agoMake dictlookup() filter compatible with both 2.2 and 3.2
Magnus Hagander [Sun, 7 Nov 2021 15:11:56 +0000 (16:11 +0100)]
Make dictlookup() filter compatible with both 2.2 and 3.2

3 years agoAdd missing context processor
Magnus Hagander [Sun, 7 Nov 2021 15:11:41 +0000 (16:11 +0100)]
Add missing context processor

Needed for some admin functionality, shows up as a warning in 3.2.

3 years agoAdd config for DEFAULT_AUTO_FIELD in preparation for 3.2 upgrade
Magnus Hagander [Sun, 7 Nov 2021 14:59:09 +0000 (15:59 +0100)]
Add config for DEFAULT_AUTO_FIELD in preparation for 3.2 upgrade

3 years agoUpdate Fedora info, and also put RHEL 8 and 7 above 6
Devrim Gündüz [Mon, 15 Nov 2021 13:00:28 +0000 (13:00 +0000)]
Update Fedora info, and also put RHEL 8 and 7 above 6

3 years agoAdd PG14 supported platforms.
Dave Page [Mon, 15 Nov 2021 09:38:39 +0000 (09:38 +0000)]
Add PG14 supported platforms.

3 years agoAdded some more info about the release to the homepage
Jonathan S. Katz [Thu, 11 Nov 2021 14:14:36 +0000 (09:14 -0500)]
Added some more info about the release to the homepage

Specifically, added two additional URLs to the full release
announcement.

3 years ago2021-11-11 cumulative update release
Jonathan S. Katz [Thu, 11 Nov 2021 02:39:06 +0000 (21:39 -0500)]
2021-11-11 cumulative update release

3 years agoAdd a note to the download pages about EDB hosting
Magnus Hagander [Thu, 4 Nov 2021 21:24:29 +0000 (22:24 +0100)]
Add a note to the download pages about EDB hosting

Windows and MacOS installers are hosted at EDB, put a noet in informing
people of that and also of the correct contact point if there are issues
with them, to make it more likely that the reports end up in the hands
of somebody who can actually do something about it sooner.

3 years agoReturn a HttpResponse instead of an exception on NUL in query string parameters
Magnus Hagander [Thu, 4 Nov 2021 16:07:50 +0000 (17:07 +0100)]
Return a HttpResponse instead of an exception on NUL in query string parameters

Raising an exception triggers an email-to-admin-action, and the whole
reason we have this NUL check is to *avoid* triggering those emails...
Hopefully explicitly returning a 400 HttpResponse will maek them go
away.

3 years agoReduce size of .btn-double-width on mobile
Daniel Gustafsson [Wed, 3 Nov 2021 21:27:50 +0000 (22:27 +0100)]
Reduce size of .btn-double-width on mobile

The width of the double-size button was overflowing on mobile view-
ports. Fix by defining a smaller size in the appropriate @media
section.

Reported-by: Tiago Heras <tiagoheras@hotmail.com>
Reviewed-by: Jonathan Katz <jkatz@postgresql.org>
Discussion: https://postgr.es/m/17262-34829a01de0fd209@postgresql.org

3 years agoReplace deprecated <font> tag with a <span>
Daniel Gustafsson [Wed, 3 Nov 2021 10:48:02 +0000 (11:48 +0100)]
Replace deprecated <font> tag with a <span>

The <font> tag has been deprecated and is no longer rendering in
modern versions of popular browers.  Replace with a <span> using
CSS from Bootstrap to accomplish the same thing.

Reviewed-by: Jonathan Katz <jkatz@postgresql.org>
Reviewed-by: Magnus Hagander <magnus@hagander.net>
Discussion: https://postgr.es/m/35773332-247E-45D1-9CFA-7CB72837CEDE@yesql.se

3 years agoClarify that we expect things to work on Windows desktop.
Dave Page [Tue, 2 Nov 2021 16:38:55 +0000 (16:38 +0000)]
Clarify that we expect things to work on Windows desktop.

3 years agoFix data.sql sample for search
Magnus Hagander [Wed, 27 Oct 2021 13:45:36 +0000 (15:45 +0200)]
Fix data.sql sample for search

The fix in 52455885 broke the data.sql preloading of example data.

Fix the insert for the main website (patch from Célestin Matte), and
also delete those parts of the file that are no longer relevant.

3 years agoAdd baseurl field to sites table in the search system
Magnus Hagander [Sat, 23 Oct 2021 14:02:41 +0000 (16:02 +0200)]
Add baseurl field to sites table in the search system

This table isn't used beyond a single row at this time, so there is a
lot to be done for simplifying things around it, but for a quick-fix
just add the field that actually should be there.

Spotted by Célestin Matte

3 years agoChange GSoC link to main wiki page for GSoC
Daniel Gustafsson [Fri, 15 Oct 2021 12:10:35 +0000 (14:10 +0200)]
Change GSoC link to main wiki page for GSoC

The linked to content from developer/ was well out of date, with the
main GSoC content living on the Wiki.  Redirect the link to the Wiki
page instead to not confuse prospective students with stale info.

Discussion: https://postgr.es/m/13A038F4-9F14-496D-BBCA-9610B6F93EC1@yesql.se

3 years agoRemove Planet policy FAQ entry for Blogspot links
Daniel Gustafsson [Wed, 13 Oct 2021 07:52:25 +0000 (09:52 +0200)]
Remove Planet policy FAQ entry for Blogspot links

This is no longer a frequently asked question, with hardly any new
blogspot feeds added to Planet PostgreSQL.  Rather than spending a
lot of valuable page real estate on this, remove and deal with any
issues that come up via the usual support channels.

Bump the policy update date as this changes content on the page.

Discussion: https://postgr.es/m/718B8706-A775-449A-9996-2288DF4F51D4@yesql.se

3 years agoReplace name attribute with id
Daniel Gustafsson [Wed, 13 Oct 2021 07:40:09 +0000 (09:40 +0200)]
Replace name attribute with id

Use of the name attribute is deprecated, replace with the id attribute
instead and place it directly on the title element.

Reviewed-by: Magnus Hagander
Discussion: https://postgr.es/m/A0228704-7C47-44B8-929B-8BFC02D6CBD7@yesql.se

3 years agoReplace <nobr> tags with CSS
Daniel Gustafsson [Wed, 13 Oct 2021 07:37:23 +0000 (09:37 +0200)]
Replace <nobr> tags with CSS

The <nobr> tag is not allowed in <td> context, and is altogether
deprecated as well. Replace with a span and a CSS class instead.

Reviewed-by: Magnus Hagander
Discussion: https://postgr.es/m/A0228704-7C47-44B8-929B-8BFC02D6CBD7@yesql.se

3 years agoAdd indication of community events on events details page
Magnus Hagander [Mon, 11 Oct 2021 18:35:18 +0000 (20:35 +0200)]
Add indication of community events on events details page

This should probably have been there from the beginning, and was just
missed.

Spotted by Bruce Momjian

3 years agoFix typo on Solaris download page
Daniel Gustafsson [Fri, 8 Oct 2021 08:53:32 +0000 (10:53 +0200)]
Fix typo on Solaris download page

3 years agoDon't actively link to example URLs
Daniel Gustafsson [Fri, 8 Oct 2021 08:42:05 +0000 (10:42 +0200)]
Don't actively link to example URLs

The blogspot URLs listed as examples for how to submit the right
feeds to Planet PostgreSQL were hyperlinked with <a> tags, which
drives traffic to a non-postgres blog. Fix by removing the links
making it plain text.

Discussion: https://postgr.es/m/1acf4e56-6669-6f18-b71c-b977641e07eb@postgresql.org

3 years agoAdd French translation for the Code of Conduct
Jonathan S. Katz [Tue, 5 Oct 2021 15:33:51 +0000 (11:33 -0400)]
Add French translation for the Code of Conduct

Translated by: Alice Armand <alice.armand@dalibo.com>
Reviewed by: Guillaume Lelarge <guillaume@lelarge.info>

3 years agoUpdate Code of Conduct Committee page
Jonathan S. Katz [Mon, 4 Oct 2021 13:23:10 +0000 (09:23 -0400)]
Update Code of Conduct Committee page

3 years agoFix incorrect base template usage on Russian press kit
Jonathan S. Katz [Sun, 3 Oct 2021 21:11:37 +0000 (17:11 -0400)]
Fix incorrect base template usage on Russian press kit

This was still pointing to the 13 press kit, not 14.

3 years agoFix erroneous references to PostgreSQL 13 in PG 14 press kit
Jonathan S. Katz [Fri, 1 Oct 2021 01:28:05 +0000 (21:28 -0400)]
Fix erroneous references to PostgreSQL 13 in PG 14 press kit

Reported-by: Ioseph Kim <pgsql-kr@postgresql.kr>
3 years agoFix date of new release in top bar
Magnus Hagander [Thu, 30 Sep 2021 13:03:13 +0000 (15:03 +0200)]
Fix date of new release in top bar

3 years agoFix typo on homepage
Jonathan S. Katz [Thu, 30 Sep 2021 12:49:50 +0000 (08:49 -0400)]
Fix typo on homepage

Somehow an extra "<" made its way in.

3 years agoFix bug for release notes version display
Jonathan S. Katz [Thu, 30 Sep 2021 12:45:02 +0000 (08:45 -0400)]
Fix bug for release notes version display

On new major release, we were including the "-0" for the link
to the release notes. This should not be included. This likely
affected all new major releases, but went unnoticed for some
time.

3 years agoPostgreSQL 14 release annnouncement!
Jonathan S. Katz [Thu, 30 Sep 2021 02:37:36 +0000 (22:37 -0400)]
PostgreSQL 14 release annnouncement!

3 years agoPostgreSQL 14 press kit
Jonathan S. Katz [Mon, 27 Sep 2021 16:24:31 +0000 (12:24 -0400)]
PostgreSQL 14 press kit

Includes the press release in the following languages:

- Chinese
- English
- French
- German
- Hebrew
- Japanese
- Korean
- Russian
- Spanish

3 years agoUpdate Press FAQ for PostgreSQL 14
Jonathan S. Katz [Mon, 27 Sep 2021 16:02:42 +0000 (12:02 -0400)]
Update Press FAQ for PostgreSQL 14

3 years agoContent updates for PostgreSQL 14 release
Jonathan S. Katz [Mon, 27 Sep 2021 15:46:08 +0000 (11:46 -0400)]
Content updates for PostgreSQL 14 release

This updates the About, Roadmap, and Beta testing pages for
the PostgreSQL 14 release, and in anticipation of the next
release.

3 years agoFix additional typos on homepage around RC
Jonathan S. Katz [Thu, 23 Sep 2021 12:59:05 +0000 (08:59 -0400)]
Fix additional typos on homepage around RC

Clearly the author did not review this as well as he had
thought he did.

3 years agoFix incorrect headline on homepage
Jonathan S. Katz [Thu, 23 Sep 2021 12:57:24 +0000 (08:57 -0400)]
Fix incorrect headline on homepage

3 years agoPostgreSQL 14 RC 1 release
Jonathan S. Katz [Thu, 23 Sep 2021 02:46:18 +0000 (22:46 -0400)]
PostgreSQL 14 RC 1 release

3 years agoFix copy and pasto with v14 feature matrix addition
Jonathan S. Katz [Mon, 20 Sep 2021 01:51:40 +0000 (21:51 -0400)]
Fix copy and pasto with v14 feature matrix addition

3 years agoAdd v14 to the feature matrix
Jonathan S. Katz [Mon, 20 Sep 2021 01:49:23 +0000 (21:49 -0400)]
Add v14 to the feature matrix

3 years agoRe-allow framing of images in docs
Magnus Hagander [Wed, 15 Sep 2021 20:08:12 +0000 (22:08 +0200)]
Re-allow framing of images in docs

Commit fff74828 disallowed the loading of docs in frames, but apparently
svg images count as framing, so re-allow those.

We could limit it to specific URLs, but it's just images so it's good to
be able to load them from different places.

Discussion: https://postgr.es/m/CAH2-WzkpfQROHTx_F3RM6AUbxquxHy4QWXfVkNPWm3s9AFmtkg@mail.gmail.com

3 years agoBump "last updated" on privacy policy
Magnus Hagander [Tue, 14 Sep 2021 09:12:30 +0000 (11:12 +0200)]
Bump "last updated" on privacy policy

Missed in the previous commit.

3 years agoExplicitly mention personal data deletion in the privacy policy
Magnus Hagander [Tue, 14 Sep 2021 09:08:47 +0000 (11:08 +0200)]
Explicitly mention personal data deletion in the privacy policy

A good thing to do, and also required to allow us to continue to use
third party login using Facebook.

3 years agoExplicitly disallow NUL characters in URL parameters
Magnus Hagander [Sun, 12 Sep 2021 12:40:13 +0000 (14:40 +0200)]
Explicitly disallow NUL characters in URL parameters

This would already not work at a lower layer, but would typically
generate an internal server error exception instead of just an error
message.

Instead, put an explicit check in the middleware that's already
validating the query parameters and reject them with a 400 error.

4 years agoFix "push changes" crash in CommunityAuthSiteAdminForm
Célestin Matte [Thu, 9 Sep 2021 14:50:30 +0000 (16:50 +0200)]
Fix "push changes" crash in CommunityAuthSiteAdminForm

4 years agoDisallow framing of the documentation pages
Magnus Hagander [Fri, 20 Aug 2021 12:43:59 +0000 (14:43 +0200)]
Disallow framing of the documentation pages

We previously had an exception on the documentation pages, because
pgadmin4 used to load them in an iframe. This is no longer the case and
hasn't been for a while, so remove the exception.

Confirmed "shuold be ok" by Dave Page :)

4 years agoAdd proper xkey tags to docs 404 pages
Magnus Hagander [Mon, 16 Aug 2021 12:15:38 +0000 (14:15 +0200)]
Add proper xkey tags to docs 404 pages

Since we purge docs pages based on the version they are for, we need to
tag the 404 pages with version as well, when available. Without that,
any page that had been requested returning a 404 (such as somebody or
some tool polling for release notes on a version that hasn't been
released yet) would not get purged when new docs are loaded, which
results in the 404 staying around even after the actual docs are
updated.

4 years agoUpdate list of supported versions of Debian and Ubuntu
Magnus Hagander [Mon, 16 Aug 2021 12:14:09 +0000 (14:14 +0200)]
Update list of supported versions of Debian and Ubuntu

Per request from Christophe Berg

Discussion: https://postgr.es/m/CAFX21E+xUSZyJd_A6vVuqmnSLTgDf_4=cgTo9W+T8sdXP4j5ww@mail.gmail.com

4 years agoFix typo
Magnus Hagander [Fri, 13 Aug 2021 09:14:22 +0000 (11:14 +0200)]
Fix typo

4 years ago2021-08-12 update release
Jonathan S. Katz [Thu, 12 Aug 2021 00:50:34 +0000 (20:50 -0400)]
2021-08-12 update release

4 years agoAdd verbose mode to docs loading and tweak defaults
Magnus Hagander [Wed, 11 Aug 2021 12:44:35 +0000 (14:44 +0200)]
Add verbose mode to docs loading and tweak defaults

Instead of printing every single page loaded, print the start of the
process and the statitics by default.

The existing --quiet parameter continues to work to make the process
completely quiet.

Add a new parameter --verbose that makes it run in the old way, printing
everything.

4 years agoAdd a .mailmap to unify contributor names in the commitlog
Daniel Gustafsson [Tue, 10 Aug 2021 18:33:35 +0000 (20:33 +0200)]
Add a .mailmap to unify contributor names in the commitlog

Reviewed-by: Justin Clift, Stephen Frost
Discussion: 4EAA193C-E3B3-43D1-B50B-38DD5D8B013A@yesql.se

4 years agoFix HTML syntax errors
Daniel Gustafsson [Tue, 10 Aug 2021 15:23:14 +0000 (17:23 +0200)]
Fix HTML syntax errors

Ensure to close a paragraph before opening a list, and fix a broken
closing a tag.

4 years agoMove CoC parapgraph from specific IRC channel list
Daniel Gustafsson [Tue, 10 Aug 2021 14:29:57 +0000 (16:29 +0200)]
Move CoC parapgraph from specific IRC channel list

The paragraph on CoC violation handling was placed such that it seemed
to belong to a specific set of IRC channels which was unfortunate. Move
the paragraph up under the h1 context where generic information for all
channels already resides.

Discussion: https://postgr.es/m/64E7ECCA-293C-4743-A144-41A1F66F7BD2@yesql.se

4 years agoClose the paragraph before rendering the list
Daniel Gustafsson [Tue, 10 Aug 2021 14:28:24 +0000 (16:28 +0200)]
Close the paragraph before rendering the list

Lists aren't allowed inside paragraphs as both per HTML 4.01 and 5.
Make sure so clos, and re-open, the paragraph on each side of the
list since that's what the browsers will have to do anyways, so we
might as well control it (and be standards compliant).

4 years agoUpdate PostGIS chat channel links
Daniel Gustafsson [Tue, 10 Aug 2021 07:46:03 +0000 (09:46 +0200)]
Update PostGIS chat channel links

The #postgis freenode channel is no longer, and the new home is the
matrix instance which is bridged to libera.chat. Update the links to
point to both.

Reported-by: Matthias van de Meent
Reviewed-by: Stephen Frost
Discussion: https://postgr.es/m/CAEze2WjG=yf4zuTWBDWDA4KK997CESxCzEixBbDdp1nFf0o87Q@mail.gmail.com

4 years agoUnify style of irc channel lists
Daniel Gustafsson [Tue, 10 Aug 2021 07:43:26 +0000 (09:43 +0200)]
Unify style of irc channel lists

Link to IRC channels consistently across the different lists of channels
on the page.

Reviewed-by: Stephen Frost
Discussion: https://postgr.es/m/CAEze2WjG=yf4zuTWBDWDA4KK997CESxCzEixBbDdp1nFf0o87Q@mail.gmail.com

4 years agoUpdate CoCC team member bios
Jonathan S. Katz [Sun, 1 Aug 2021 20:06:16 +0000 (16:06 -0400)]
Update CoCC team member bios

Applied requested changes based upon professional updates.

4 years agoFix broken markup on beta page
Daniel Gustafsson [Thu, 29 Jul 2021 08:54:26 +0000 (10:54 +0200)]
Fix broken markup on beta page

One of the ending li tags missed the closing > bracket, causing the
bulletpoint to not be rendered.

4 years agoFix stray punctuation mark in donation paragraph
Daniel Gustafsson [Thu, 29 Jul 2021 08:50:40 +0000 (10:50 +0200)]
Fix stray punctuation mark in donation paragraph

Having the sentence punctuation after the paragraph ending tag makes
it go on a separate line, which looks rather odd. Fix by placing it
inside the paragraph.

4 years agoRemove final(?) mention of Linux graphical installer
Magnus Hagander [Tue, 13 Jul 2021 09:09:09 +0000 (11:09 +0200)]
Remove final(?) mention of Linux graphical installer

e836d33bbfb1ebe5530acdd75eeb5f00a5ddbfbf tried to remove most of it, but
left a danglig sentence on the "other linux" page.

4 years agoUpdate beta page for beta2
Magnus Hagander [Thu, 24 Jun 2021 14:24:14 +0000 (16:24 +0200)]
Update beta page for beta2

Missed in the previous one, spotted by Stephen

4 years agoWebsite updates for 14beta2
Magnus Hagander [Thu, 24 Jun 2021 14:00:24 +0000 (16:00 +0200)]
Website updates for 14beta2

4 years agoFix links for yum and zypp
Devrim Gündüz [Tue, 22 Jun 2021 13:16:16 +0000 (14:16 +0100)]
Fix links for yum and zypp

4 years agoAdd zypp.postgresql.org to related projects
Devrim Gündüz [Tue, 22 Jun 2021 13:15:25 +0000 (14:15 +0100)]
Add zypp.postgresql.org to related projects

4 years agoAdd Rocky info to more pages, per Magnus.
Devrim Gündüz [Tue, 22 Jun 2021 13:12:20 +0000 (14:12 +0100)]
Add Rocky info to more pages, per Magnus.

4 years agoAdd Rocky Linux to supported distros.
Devrim Gündüz [Tue, 22 Jun 2021 11:39:21 +0000 (12:39 +0100)]
Add Rocky Linux to supported distros.

4 years agoAdd Chinese translation for the Code of Conduct
Jonathan S. Katz [Thu, 3 Jun 2021 15:55:41 +0000 (11:55 -0400)]
Add Chinese translation for the Code of Conduct

Author: Stacey Haysler <stacey@haysler.sh>
Translated by: Wensheng Zhang (张文升) <wensheng.zhang@qunar.com>
Reviewed by: Yandong Yao (姚延栋)
Reviewed by: Bo Peng <pengbo@sraoss.co.jp>

4 years agoRemove extra "the"
Magnus Hagander [Mon, 31 May 2021 12:28:09 +0000 (14:28 +0200)]
Remove extra "the"

4 years agopgadmin4 is not distributed via RHEL/EPEL/Fedora repos anymore. Users need to use...
Devrim Gündüz [Fri, 28 May 2021 00:38:58 +0000 (01:38 +0100)]
pgadmin4 is not distributed via RHEL/EPEL/Fedora repos anymore. Users need to use upstream's own repo.

4 years agoRHEL 8.4 is out, and ships PostgreSQL 13 via AppStream.
Devrim Gündüz [Fri, 28 May 2021 00:37:48 +0000 (01:37 +0100)]
RHEL 8.4 is out, and ships PostgreSQL 13 via AppStream.

4 years agoUpdate address to contact the contributors team
Magnus Hagander [Thu, 27 May 2021 14:54:24 +0000 (16:54 +0200)]
Update address to contact the contributors team

The top of the page said report additions to contributors@, and the
bottom said report omissions to webmaster@. For consistency, this
changes both to go to contributors@.

4 years agoAdd missing model change
Magnus Hagander [Mon, 24 May 2021 11:21:19 +0000 (13:21 +0200)]
Add missing model change

4 years agoRemove cve_visible field on security patches
Magnus Hagander [Mon, 24 May 2021 10:29:37 +0000 (12:29 +0200)]
Remove cve_visible field on security patches

Since we are not relying on external services for linking to security
patch information anymore, instead providing our own pages, this is no
longer used for anything. So get rid of it along with the cronjob to
update it.

4 years agoImprove news queries on frontpage
Magnus Hagander [Tue, 18 May 2021 10:56:56 +0000 (12:56 +0200)]
Improve news queries on frontpage

Select the related organisation in the query since we know we're going
to view it. And don't load up the list of tags since they're not
actually used anywhere on the frontpage.

4 years agoUpdates from the Katz
Stephen Frost [Sat, 22 May 2021 20:34:22 +0000 (16:34 -0400)]
Updates from the Katz

4 years agoUpdate IRC page for Libera Chat
Stephen Frost [Sat, 22 May 2021 20:20:06 +0000 (16:20 -0400)]
Update IRC page for Libera Chat

Per discussion among the PostgreSQL IRC Admin team, the official
 #postgresql channel has been migrated to the Libera Chat network.  Also
rework the page to be a bit cleaner and clearer, and to list the current
PostgreSQL IRC Admin team.

4 years agoFix typo
Dave Page [Fri, 21 May 2021 09:32:54 +0000 (10:32 +0100)]
Fix typo

4 years agoPostgreSQL 14 Beta 1 release
Jonathan S. Katz [Thu, 20 May 2021 01:43:00 +0000 (21:43 -0400)]
PostgreSQL 14 Beta 1 release

4 years agoImprove admin preview for doc page redirect
Jonathan S. Katz [Wed, 19 May 2021 20:00:10 +0000 (16:00 -0400)]
Improve admin preview for doc page redirect

This presents the redirection in a legible format, instead of
having to click into each list item to figure out what it is.

4 years agoRemove 9.5, and make further corrections to the macOS test list.
Dave Page [Wed, 19 May 2021 08:30:50 +0000 (09:30 +0100)]
Remove 9.5, and make further corrections to the macOS test list.

4 years agoCorrect tested macOS versions.
Dave Page [Wed, 19 May 2021 08:27:24 +0000 (09:27 +0100)]
Correct tested macOS versions.

4 years agoAdd basic documentation of those xkeys that are in use.
Magnus Hagander [Tue, 18 May 2021 08:45:45 +0000 (10:45 +0200)]
Add basic documentation of those xkeys that are in use.

4 years agoRemove the relnotes field from the Version model
Magnus Hagander [Tue, 18 May 2021 08:27:00 +0000 (10:27 +0200)]
Remove the relnotes field from the Version model

This field can be trivially calculated from the version number, the
pattern has only changed a couple of times in the past. So turn it into
a calculated field instead, which makes things like pushing a new
release easier since it leaves one less mistake to make.

4 years agoPurge PDF listings page when new PDFs are uploaded
Magnus Hagander [Tue, 18 May 2021 07:59:10 +0000 (09:59 +0200)]
Purge PDF listings page when new PDFs are uploaded

This will update which versions have PDFs as well as their sizes.

4 years agoMake documentation purges use xkey
Magnus Hagander [Tue, 18 May 2021 07:39:23 +0000 (09:39 +0200)]
Make documentation purges use xkey

4 years agoEnhance the xkey tags set on documentation pages
Magnus Hagander [Tue, 18 May 2021 07:20:13 +0000 (09:20 +0200)]
Enhance the xkey tags set on documentation pages

* For 'current' docs, *also* set the xkey pgdocs_current. Otherwise when
  a new major release is turned into current, the loader purge wouldn't
  be able to replace it, only replace the devel version.
* Set the pgdocs_<version> key on the release notes pages under
  /release/ (this is what triggered me to look at this)
* Set the pgdocs_all key for index pages such as /docs/ and /docs/release/. This
  will be purged every time, making sure we have an up-to-date list of
  versions.
* Set the key pgdocs_pdf for any pages that have PDF file information in
  them, so we can purge the list when new PDFs are uploaded.

4 years agoAdd a /versions.json feed with information about all PostgreSQL versions
Sehrope Sarkuni [Mon, 17 May 2021 20:30:31 +0000 (22:30 +0200)]
Add a /versions.json feed with information about all PostgreSQL versions

This includes the same information as the /versions.rss feed, but with
more detail including release and eol dates. It also includes all
versions, not just the supported ones.

4 years agoAdd two more projects using the pgeu system
Andreas 'ads' Scherbaum [Mon, 17 May 2021 19:58:24 +0000 (21:58 +0200)]
Add two more projects using the pgeu system

4 years agoHandle varnish purges for the static repo as well
Magnus Hagander [Mon, 17 May 2021 10:03:35 +0000 (12:03 +0200)]
Handle varnish purges for the static repo as well

By calling the purge notifier script with --static, the paths wil be
taken as part of the pgweb-static repostory instead, and purged with a
prefix of files/

4 years agoReverse order of solaris and bsd packages
Magnus Hagander [Mon, 17 May 2021 07:59:05 +0000 (09:59 +0200)]
Reverse order of solaris and bsd packages

In some rough "order by most used platforms" kind of setup.

4 years agoUpdate Solaris information to indicate we don't provide packages anymore
Magnus Hagander [Mon, 17 May 2021 07:57:38 +0000 (09:57 +0200)]
Update Solaris information to indicate we don't provide packages anymore

This keeps the page itself around sicne links can point there and since
it's a legitimate question people would ask.  But we shouldn't send them
to an unmaintained download directory.

4 years ago2021-05-13 cumulative update release
Jonathan S. Katz [Thu, 13 May 2021 02:28:55 +0000 (22:28 -0400)]
2021-05-13 cumulative update release

4 years agoAdd some more fixtures based on current data
Magnus Hagander [Tue, 4 May 2021 09:54:30 +0000 (11:54 +0200)]
Add some more fixtures based on current data

This includes most models that just contain "metadata" as well as the
complete feature matrix (because it's useful).

Also add a script to refresh the contents of the fixtures. Still has to
be run manually, but mayeb it helps us keep it slightly more up to date.