pgweb.git
5 years agoCreate clickable links on feature details pages
Jonathan S. Katz [Sun, 30 Aug 2020 20:36:52 +0000 (16:36 -0400)]
Create clickable links on feature details pages

There are many feature matrix details pages that would have
just a plain URL that was not clickable, either due to someone
accessing a feature matrix details page directly, or due to an
old details pages with a description being converted to just a
link.

This ensures that such pages can have a clickable link to attempt
to create a better user experience. Doing so from the Django
template filters is a bit roundabout, but it does get the desired
effect.

5 years agoAdd Markdown support to feature matrix descriptions
Jonathan S. Katz [Sun, 30 Aug 2020 19:46:50 +0000 (15:46 -0400)]
Add Markdown support to feature matrix descriptions

This will make it possible to allow for links in longer
descriptions for particular features. This also adds some
help text describing how the feature matrix details field
works, as I remember I was originally caught by surprise that
one could provide a direct link to something.

5 years agoAdd v13 to feature matrix
Jonathan S. Katz [Sun, 30 Aug 2020 19:13:17 +0000 (15:13 -0400)]
Add v13 to feature matrix

This is part of the annual tradition of updating the
feature matrix.

5 years agoEnsure news and events archive doesn't generate thousands of queries
Magnus Hagander [Sun, 30 Aug 2020 15:31:57 +0000 (17:31 +0200)]
Ensure news and events archive doesn't generate thousands of queries

While there is Varnish to take the edge off it, this is just too
ineffective to leave around :)

5 years agoStrip html tags in event archive
Magnus Hagander [Sun, 30 Aug 2020 15:29:30 +0000 (17:29 +0200)]
Strip html tags in event archive

We were already doing this for news, but for some reason neglected to do
so for events, which made for some pretty messed up formatting in the
archives now and then. We should treat news and events the same...

5 years agoUpdate requirements.txt to match current production env
Magnus Hagander [Tue, 25 Aug 2020 11:23:38 +0000 (13:23 +0200)]
Update requirements.txt to match current production env

5 years agoFix cvss links in admin interface
Magnus Hagander [Tue, 25 Aug 2020 11:22:05 +0000 (13:22 +0200)]
Fix cvss links in admin interface

5 years agoUpdate URL for "PostgreSQL for Beginners" book
Jonathan S. Katz [Mon, 24 Aug 2020 13:05:10 +0000 (09:05 -0400)]
Update URL for "PostgreSQL for Beginners" book

The source page for this had changed with the publication of
another book in this list.

Author: Pavel Luzanov <p.luzanov@postgrespro.ru>

5 years agoAdd "PostgreSQL: The First Experience" book
Jonathan S. Katz [Fri, 21 Aug 2020 17:46:24 +0000 (13:46 -0400)]
Add "PostgreSQL: The First Experience" book

Author: Pavel Luzanov <p.luzanov@postgrespro.ru>

5 years agoAdd a missing dependency in migration
Magnus Hagander [Thu, 20 Aug 2020 12:59:10 +0000 (14:59 +0200)]
Add a missing dependency in migration

Required to pass installation on empty system.

5 years agoUpdate the CoC policy, per CoC Committee/Core
Stephen Frost [Tue, 18 Aug 2020 15:37:40 +0000 (11:37 -0400)]
Update the CoC policy, per CoC Committee/Core

Minor updates to the specifics regarding how the committee membership is
managed and providing for a transistion period when the membership
changes.

Per direction of the CoC Committee, with Core approval.

5 years agoPass the -y flag to apt in the install scripts.
Dave Page [Mon, 17 Aug 2020 08:30:06 +0000 (09:30 +0100)]
Pass the -y flag to apt in the install scripts.

Per Lætitia Avrot.

5 years agoPass the -y flag to yum/dnf when generating install scripts.
Dave Page [Mon, 17 Aug 2020 08:27:12 +0000 (09:27 +0100)]
Pass the -y flag to yum/dnf when generating install scripts.

Per Lætitia Avrot.

5 years ago2020-08-13 cumulative update and PostgreSQL 13 Beta 3
Jonathan S. Katz [Thu, 13 Aug 2020 12:05:24 +0000 (08:05 -0400)]
2020-08-13 cumulative update and PostgreSQL 13 Beta 3

5 years agoReference OLD instead of NEW in trigger
Magnus Hagander [Thu, 13 Aug 2020 12:11:52 +0000 (14:11 +0200)]
Reference OLD instead of NEW in trigger

The trigger is used for both UPDATE and DELETE, but in DELETE there is
no value in OLD.

Given that it only references the user_id field and this field cannot
change, we can just use OLD in both the UPDATE and DELETE case.

Back-patching in existing migration since it hasn't really been deployed
anywhere yet.

5 years agoAdd explicit links to git history for policies
Magnus Hagander [Wed, 12 Aug 2020 15:52:52 +0000 (17:52 +0200)]
Add explicit links to git history for policies

We don't do this for all pages, but specifically for policies that
already included the "Last update", it's friendly to have a link to the
full set of changes.

We still lave the "Last updated" field as manually updated, because we
don't want to update that one if we just fix a typo or similar, it
should be reserved for when we make acstual content updates to a policy.

This creates and uses a specific template tag to automate the creation
of the links (that can of course be used elsewhere as well if needed).

5 years agoUse an include to list the yearly coc reportts
Magnus Hagander [Wed, 12 Aug 2020 15:30:46 +0000 (17:30 +0200)]
Use an include to list the yearly coc reportts

For some reason this was done with copy/paste before, but an include
seems much better.

5 years agoSimplify transaction handling in the changetracker daemon
Magnus Hagander [Wed, 12 Aug 2020 15:17:32 +0000 (17:17 +0200)]
Simplify transaction handling in the changetracker daemon

Previously we used a combination of optimistic concurrency control
(by DELETEing with both the id and the date included in the WHERE
clause) and REPEATABLE READ transactions. This would create
serialization conflicts when completely unnecessary. Since in this case
it doesn't matter if we happen to push the same thing twice, switch
completely to optimistic concurrency control. That gets rid of having to
deal with serialization issues.

5 years agoUpdate nagios monitor to check for duplicated email addresses
Magnus Hagander [Wed, 12 Aug 2020 15:14:19 +0000 (17:14 +0200)]
Update nagios monitor to check for duplicated email addresses

This should not be possible if things are done through the appropriate
interfaces, and those interfaces are bug-free (right..). But really bad
things can probably happen if they don't, so put a monitor in place to
check for it.

This also adds a view in the db that shows all registered email
addresses and their accounts, regardless of if it's primary or secondary
address. This is used by the nagios check but can of course be useful to
manual checks as well.

5 years agoTweak mediawiki to handle NULL in email fields
Magnus Hagander [Wed, 12 Aug 2020 10:45:33 +0000 (12:45 +0200)]
Tweak mediawiki to handle NULL in email fields

It really shouldn't exist, but we clearly have cases where the community
auth plugin sets the email to NULL, so we need to handle that case when
looking for what to update.

5 years agoUse unbuffered output by default in changetracker
Magnus Hagander [Tue, 11 Aug 2020 10:00:48 +0000 (12:00 +0200)]
Use unbuffered output by default in changetracker

5 years agoRemove symlink to selectable
Magnus Hagander [Tue, 11 Aug 2020 09:46:32 +0000 (11:46 +0200)]
Remove symlink to selectable

We already removed the dependency in
5d7cf9833f27718733cbd805e86036eae24b86bc, but forgot this symlink.

5 years agoAdd cauth push receiver plugins for mediawiki and redmine
Magnus Hagander [Mon, 10 Aug 2020 11:23:23 +0000 (13:23 +0200)]
Add cauth push receiver plugins for mediawiki and redmine

5 years agoImplement synchronization for community authentication
Magnus Hagander [Sat, 8 Aug 2020 15:03:17 +0000 (17:03 +0200)]
Implement synchronization for community authentication

This adds the concept of an apiurl to each site that uses community
authentication, that the main website server can make calls to and send
updates. This URL will receive POSTs from the main website when a user
account that has been used on this site gets updated, and can then
optionally update it's local entries with it (the django plugin sample
is updated to handle this fully).

Updates are only sent for users that have a history of having logged
into the specific site -- this way we avoid braodcasting user
information to sites requiring specific constent that the user hasn't
given, and also decreases the amount of updates that have to be sent.

Updates are queued by the system in a table and using listen/notify a
daemon that's running picks up what needs to be updated and posts it to
the endpoints. If this daemon is not running, obviously nothing gets
sent.

Updates are tracked using triggers in the database which push
information into this queue.

5 years agoMake django community auth plugin only save changed fields
Magnus Hagander [Fri, 7 Aug 2020 12:41:50 +0000 (14:41 +0200)]
Make django community auth plugin only save changed fields

5 years agoTeach pgweb to handle secondary email addresses
Magnus Hagander [Fri, 7 Aug 2020 11:32:10 +0000 (13:32 +0200)]
Teach pgweb to handle secondary email addresses

This allows each account to have more than one email address, of which
one is primary. Adding more addresses will trigger an email with a
verification link (of course). The field previously known as "email" is
now changed to be "primary email".

Change the profile form to allow freely changing between the added
addresses which one is the primary. Remove the functionality to directly
change the primary email -- instead one has to add a new address first
and then change to that one, which simplifies several things in the
handling.

5 years agoMake user_import in the django auth plugin return the new user
Magnus Hagander [Mon, 10 Aug 2020 11:14:33 +0000 (13:14 +0200)]
Make user_import in the django auth plugin return the new user

It's useful to be able to directly get at the user record that was
returned instead of having to re-query it from the database. Since
nothing was previously returned, this is not backwards incompatible.

5 years agoFix typo
Magnus Hagander [Fri, 7 Aug 2020 11:59:18 +0000 (13:59 +0200)]
Fix typo

5 years agoAdd support for easily enabling the django debug toolbar
Magnus Hagander [Fri, 7 Aug 2020 11:37:05 +0000 (13:37 +0200)]
Add support for easily enabling the django debug toolbar

This requires the web server to also configure a static mapping for
/media/django_toolbar/ pointing into the django toolbar directories.

5 years agoMark the community auth login history field as not required in admin
Magnus Hagander [Sat, 8 Aug 2020 15:01:15 +0000 (17:01 +0200)]
Mark the community auth login history field as not required in admin

With this field marked required and containing only static data and
nothing to edit, it was impossible to save the user editor at all.

5 years agoFix broken markup
Magnus Hagander [Fri, 7 Aug 2020 09:32:33 +0000 (11:32 +0200)]
Fix broken markup

<a> tags have to have a proper closing tag. Without this, the entire
text up until the next </a> became an anchor which wasn't exactly pretty...

5 years agoFix incorrect indentation
Magnus Hagander [Thu, 6 Aug 2020 17:13:36 +0000 (19:13 +0200)]
Fix incorrect indentation

5 years agoAdd "Fundamentos para el trabajo con PostgreSQL" to Books
Jonathan S. Katz [Mon, 3 Aug 2020 16:51:11 +0000 (12:51 -0400)]
Add "Fundamentos para el trabajo con PostgreSQL" to Books

5 years agoPurge taglist.json when tags are updated
Magnus Hagander [Thu, 16 Jul 2020 13:29:41 +0000 (15:29 +0200)]
Purge taglist.json when tags are updated

Clearly forgotten back when tags were first added.

5 years agoImplement permissions on news tags
Magnus Hagander [Sat, 4 Jul 2020 15:58:28 +0000 (17:58 +0200)]
Implement permissions on news tags

This makes it possible to limit which organisations can use specific
tags in news, and verify those as news is submitted. Administrators can,
as always, override.

In passing also add a sortkey field to newstags to make them, well,
sortable and include urlname in the json output.

5 years agoRemove unused imports
Magnus Hagander [Mon, 13 Jul 2020 12:53:07 +0000 (14:53 +0200)]
Remove unused imports

5 years agoClean up javascript indentation
Magnus Hagander [Sun, 12 Jul 2020 12:03:03 +0000 (14:03 +0200)]
Clean up javascript indentation

Remove tabs from indentation, which was in about half the files, and
make everything 4-space indentation, which is what most of the rest
used.

5 years agoRemove tabs from CSS indentation
Magnus Hagander [Sun, 12 Jul 2020 12:02:35 +0000 (14:02 +0200)]
Remove tabs from CSS indentation

We seem to still have sometimes 2 and sometimes 4 character indentation,
but for now at least get rid of the tabs.

5 years agoinitdb -> --initdb on newer distros. Per report from Geoffrey Gordon Ashbrook
Devrim Gündüz [Thu, 9 Jul 2020 15:57:44 +0000 (16:57 +0100)]
initdb -> --initdb on newer distros. Per report from Geoffrey Gordon Ashbrook

5 years agoMove all the non-Yum event handler setup into one shared script, per discussion.
Dave Page [Thu, 9 Jul 2020 11:03:28 +0000 (12:03 +0100)]
Move all the non-Yum event handler setup into one shared script, per discussion.

5 years agoDownload pages overhaul:
Dave Page [Tue, 7 Jul 2020 15:52:17 +0000 (16:52 +0100)]
Download pages overhaul:

- Don't use inline event handlers
- Simplify some of the wording
- Replace the package download list with nice buttons

Design by me & Jonathan, code by me, review by Jonathan and others.

5 years agoShow community account last login and count info on admin page
Magnus Hagander [Tue, 7 Jul 2020 10:24:08 +0000 (12:24 +0200)]
Show community account last login and count info on admin page

The collection facility was added in
[200~9e70a4e0c32f8db0178f05dac4c1fca7b317e7c5, but no way was added to
view it. To make it a  bit more useful, add a static set of info on the
user edit page in /admin/ that shows the last login and number of logins
per site.

5 years agoFix query for tracking number of community auth logins
Magnus Hagander [Tue, 7 Jul 2020 10:23:07 +0000 (12:23 +0200)]
Fix query for tracking number of community auth logins

Embarassing thinko would cap the number of logins at 2...

5 years agoRemove the source mapping URL for popper.min.js to prevent cluttering dev tools with...
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.

5 years agoIgnore .DS_Store files
Dave Page [Mon, 6 Jul 2020 10:54:46 +0000 (11:54 +0100)]
Ignore .DS_Store files

5 years agoFix up some incorrect imports
Magnus Hagander [Sat, 4 Jul 2020 09:53:59 +0000 (11:53 +0200)]
Fix up some incorrect imports

5 years agoMake described checkboxes a lot more clear
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.

5 years agoMove contents of forms into include file
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.

5 years agoFix typo in redirect_to help text
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.

5 years agoSet a default DATE_FORMAT
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.

5 years agoFix message preview in mailqueue model
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...

5 years agoFix link to rpmchart for new yum website layout
Magnus Hagander [Fri, 3 Jul 2020 16:02:49 +0000 (18:02 +0200)]
Fix link to rpmchart for new yum website layout

5 years agoLoad signal handlers from an app instead of urllist
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.

5 years agoAdd CSP for GTM.
Dave Page [Thu, 2 Jul 2020 15:26:08 +0000 (16:26 +0100)]
Add CSP for GTM.

5 years agoUse Google Tag Manager for integration with Google Analytics and honour DNT.
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.

5 years agoUpdate link for the new zypp website layout
Devrim Gündüz [Wed, 1 Jul 2020 10:37:20 +0000 (11:37 +0100)]
Update link for the new zypp website layout

5 years agoUpdate SLES support list
Devrim Gündüz [Wed, 1 Jul 2020 10:36:08 +0000 (11:36 +0100)]
Update SLES support list

5 years agoPostgreSQL 13 Beta 2 release
Jonathan S. Katz [Thu, 25 Jun 2020 02:50:06 +0000 (22:50 -0400)]
PostgreSQL 13 Beta 2 release

5 years agoUpdate Fedora info
Devrim Gündüz [Mon, 15 Jun 2020 08:59:24 +0000 (09:59 +0100)]
Update Fedora info

5 years agoFix command ordering per Devrim.
Dave Page [Mon, 15 Jun 2020 08:56:30 +0000 (09:56 +0100)]
Fix command ordering per Devrim.

5 years agoOverhaul the Redhat, Ubuntu and Debian installation instructions.
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.

5 years agoRemove links to pgfoundry from pgweb
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.

5 years agoList installers as EDB products rather than EnterpriseDB.
Dave Page [Mon, 8 Jun 2020 09:22:20 +0000 (10:22 +0100)]
List installers as EDB products rather than EnterpriseDB.

5 years agos/RedHat/Red Hat
Devrim Gündüz [Tue, 26 May 2020 20:56:32 +0000 (21:56 +0100)]
s/RedHat/Red Hat

5 years agos/RC/Beta/ on the Beta page
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.

5 years agoPostgreSQL 13 Beta 1 release
Jonathan S. Katz [Thu, 21 May 2020 11:29:27 +0000 (07:29 -0400)]
PostgreSQL 13 Beta 1 release

5 years agoRedHat have started requiring both a html and a json to display CVEs
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.

5 years agoFixed a URL to the news template
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.

5 years ago2020-05-14 cumulative update release
Jonathan S. Katz [Thu, 14 May 2020 01:55:38 +0000 (21:55 -0400)]
2020-05-14 cumulative update release

5 years agoUpdate doc styles for catalog tables
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>

5 years agoRemove mentions of unsupported version
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.

5 years agoAdd documentation styles for updated function & operator tables
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.

5 years agoIntroduce documentation redirects for doc pages that are renamed github/doc-redirect
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.

5 years agoUpdate Debian and Ubuntu 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>

5 years agoUpdates to backend flowchart
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>

5 years agoSet headers for no auto response on most emails
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.

5 years agoFix spelling error
Magnus Hagander [Mon, 20 Apr 2020 07:45:01 +0000 (09:45 +0200)]
Fix spelling error

5 years agoSet indenting and alignment on new function listing tables
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

5 years agoFix a few typos on the Related Projects page
Jonathan S. Katz [Wed, 15 Apr 2020 16:48:59 +0000 (12:48 -0400)]
Fix a few typos on the Related Projects page

5 years agoAdd HTML attribute selectors for table cell alignment
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.

5 years agoRespect valign="middle" property in table headers
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

5 years agoAdd "Related Projects" section to "Developers"
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

5 years agoAvoid returning HttpServerError for things not server errors
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.

5 years agoFix spacing problem pep8 complains about
Magnus Hagander [Sat, 4 Apr 2020 12:43:13 +0000 (14:43 +0200)]
Fix spacing problem pep8 complains about

5 years agoUpdate requirements versions
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.

5 years agoFix recaptcha widget for 2.2
Magnus Hagander [Tue, 31 Mar 2020 22:09:50 +0000 (00:09 +0200)]
Fix recaptcha widget for 2.2

5 years agoUpdate authentication to be django 2 compatible
Magnus Hagander [Tue, 31 Mar 2020 21:40:23 +0000 (23:40 +0200)]
Update authentication to be django 2 compatible

5 years agoEnable django v2 style autocomplete fields in admin
Magnus Hagander [Tue, 31 Mar 2020 20:54:50 +0000 (22:54 +0200)]
Enable django v2 style autocomplete fields in admin

5 years agoMiddleware and urls update for django 2.2
Magnus Hagander [Tue, 31 Mar 2020 20:50:08 +0000 (22:50 +0200)]
Middleware and urls update for django 2.2

5 years agoRemove dependency on django-selectable
Magnus Hagander [Tue, 31 Mar 2020 20:43:16 +0000 (22:43 +0200)]
Remove dependency on django-selectable

5 years agoSet on_delete=models.CASCADE on all ForeignKey fields
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.

5 years agoFix word typo on the press FAQ page
Jonathan S. Katz [Mon, 30 Mar 2020 21:38:13 +0000 (17:38 -0400)]
Fix word typo on the press FAQ page

5 years agoFixed run-on line on 2019 CoC Report
Jonathan S. Katz [Thu, 19 Mar 2020 16:21:45 +0000 (12:21 -0400)]
Fixed run-on line on 2019 CoC Report

5 years agoAdded 2019 CoC Committee Annual Report
Jonathan S. Katz [Thu, 19 Mar 2020 13:14:51 +0000 (09:14 -0400)]
Added 2019 CoC Committee Annual Report

5 years agoAdd "PostgreSQL for DBA: PostgreSQL 12" to books list
Jonathan S. Katz [Sun, 1 Mar 2020 14:37:21 +0000 (09:37 -0500)]
Add "PostgreSQL for DBA: PostgreSQL 12" to books list

5 years agoSync community auth plugin to be the latest-and-greatest
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)

5 years agoCentOS 8 and OL 8 are already out
Devrim Gündüz [Wed, 26 Feb 2020 16:37:10 +0000 (16:37 +0000)]
CentOS 8 and OL 8 are already out

5 years agoUpdate Fedora versions
Devrim Gündüz [Wed, 26 Feb 2020 16:34:51 +0000 (16:34 +0000)]
Update Fedora versions

5 years agoMore fixes to openSUSE capitalization
Magnus Hagander [Wed, 26 Feb 2020 16:24:50 +0000 (17:24 +0100)]
More fixes to openSUSE capitalization

5 years agoFix capitalization of SUSE and openSUSE
Magnus Hagander [Wed, 26 Feb 2020 16:01:10 +0000 (17:01 +0100)]
Fix capitalization of SUSE and openSUSE