Commit Graph

1870 Commits

Author SHA1 Message Date
f923e09535 Allow for direct URLs to abbreviated legacy PostgreSQL releases
For example, while a link to "/docs/release/9.1.0/" would work,
going to "/docs/release/9.1/" would not; in this case, it would
show the release details for "9.0.1". While the probability of
someone modifying the links to see the different release notes
is low, we would still need to take action on what is an
incorrect link.

Instead of returning a 404, this transposes the major/minor
version to point at the canonical version number and render the
expected page. This is set up to work for the 6, 7, 8, 9 series.

Reported by: Nikolay Samokhvalov <samokhvalov@gmail.com>
2020-10-12 14:03:24 -04:00
311a6b28d3 Add additional updates to CoCC bios
In this case, I had forgotten to update this bio in the first
pass. I'll ponder that perhaps we should put something in the
database to manage this in the future.
2020-10-08 07:54:19 -04:00
8a0037c86f Fix regression that prevented accessing new organisation page
The addition of the fieldsets did not account for the fields
themselves from being removed from the new organisation form.
The OrganisationForm now removes the appropriate fieldset when
the fields are not available in this form.
2020-10-07 17:59:22 -04:00
a5a71dfd8e Update to a bio on the CoC committee page 2020-10-07 17:47:09 -04:00
1960b89a06 Add fieldsets to the organisation form 2020-10-07 18:53:45 +02:00
669d2f733c Add support for fieldsets to forms
This makes it possible to define a fieldset which has a legend and a
description, to split up a large form into multiple visual components.
2020-10-07 18:53:45 +02:00
52cab44c8f Move form field details into a separate include file 2020-10-07 18:53:45 +02:00
3c56bedc6a Update the CoCC page change date
The previous commit forgot to do this. Also changed italicized
text to use "<em>" instead of "<i>", as "<i>" is deprecated
for italics.
2020-10-07 12:35:27 -04:00
0beec8d8c7 Update Code of Conduct Commmittee Page
This is changed to reflect the committee for the 2020-2021 term.

This also changes the "Past Members" structure to list out
names and which terms they served.
2020-10-07 12:33:15 -04:00
d409e7dfd1 Make the add manager field more clear in the organisation form
Make it clear that one should enter the email address, not username, to
add a manager, and that it should be an existing account.
2020-10-07 12:25:48 +02:00
051c0ee11b Additional date translations for the PG13 presskits
These include:

- French
- Portuguese
- Polish
- Spanish
2020-10-02 21:10:15 -04:00
7bbb36d6a9 Add release date to the Japanese press release for PG13 2020-10-01 22:39:59 -04:00
e695136390 Fix silly copy/paste mistake 2020-09-29 18:49:23 +02:00
c2dfdbe1af Slugify event URLs 2020-09-28 17:55:45 +02:00
e7395436c0 Update event archive footer links
* Turn main links into buttons
* Have a link from the archive back to the upcoming events, not just in
  one direction.
* Write a paragraph about submitting events, similar to what was
  recently done for news.
2020-09-28 17:55:45 +02:00
85947ebb55 Fix silly typo 2020-09-28 17:55:45 +02:00
a80cc420a2 Remove template reference to eventblocks
This hasn't been used for a long time but was left over in a template.
It would render a link with a space in the title and missing the word
"events"...
2020-09-28 17:48:21 +02:00
3e62af803e Fix typo in comment 2020-09-28 17:31:49 +02:00
e2fd8a84d5 Prevent creating new accounts with email registered as secondary
If an email is already added as a secondary address to one account,
don't allow creating a new account using that email, unless it's
removed. Otherwise we end up with the same email address attached to
multiple different accounts, which can cause big problems downstream.

This should never have been allowed of course, but was missed when
support for secondary emails was added.
2020-09-26 22:08:44 +02:00
25675b1479 Fix password type identifications
Sha1's start with sha1$, not sha1_ (and this is not a SQL LIKE match).
And fix parameters when calling re.match in the unmatched case.
2020-09-26 17:50:44 +02:00
a6a860f092 Fix merging of organisations
This has been broken since the OneToOne change in 2016 and since the
addition of pugs in 2013. Clearly not much used functionality.
2020-09-26 17:00:26 +02:00
888922ba16 Add direct links to news/events/services policy from submission forms
No link for Products because we don't currently have a policy for them.
2020-09-26 16:10:22 +02:00
c22d9f72c0 Use a dash instead of empty string to indicate all tags
Seems there is somethign in the stack used in production that does not
like the use of an empty string between two slashes...
2020-09-26 15:54:25 +02:00
dcde22049f Remove hardcoded number, when we have a variable 2020-09-26 15:54:07 +02:00
2182b62913 Improve display of news tags
* Add a fa icon for tags to the buttons that are clicked for news tags,
  to make it more clear what they are.
* Show a badge with the tag on each item when browsing the list.
* Change the buttons to be badges when viewing an individual item, and
  move them to the top of the page instead of the bottom for consistency
  with the listing.

In passing, add some spacing between the header and the text when
viewing a news item, because it looks a lot better.
2020-09-26 15:45:14 +02:00
f943e1fdaf Implement pagination for news archive
For now we do 10 items per page, but that's easy to adjust.

Paginate based on the date (so create an index on the date field to
simplify this), making page rendering and load a *lot* faster.
2020-09-26 15:13:55 +02:00
a9dcfa85f7 Update existing static news URLs to be slugified 2020-09-26 14:42:07 +02:00
ead68acc6d Slugify URLs to news articles 2020-09-26 14:42:07 +02:00
775e8a4de1 Add a github action to validate syntax post-commit
While we don't use the github workflow for our development, it doesn't
hurt to get a post-commit notification when somebody forgot to validate
things pre-commit (using the hook we have). This hook also runs with
exactly the version of python/pycodestyle that we are using in
production, which might help someone.
2020-09-25 13:05:42 +02:00
7ede3af8b2 Update package information on Windows / macOS pages
This now indicates the support for PostgreSQL 13.
2020-09-24 13:20:45 -04:00
eb0ebdca9b Updates to the PostgreSQL 13 Russian press release translation
This fixes a few typos.
2020-09-24 13:13:11 -04:00
6c66fa64eb Fix release notes browser for 9.6 and earlier
At some point the code to drop down parts of the list broke for version
numbers that had a dot in it, meaning all versions prior to 10.
Unrelated to the release today. Fix is to just render 96 instead of
9.6..

Bug spotted by Stephen Frost
2020-09-24 15:27:40 +02:00
c5c146fb13 Fix a date on the relesae roadmap
Someone put 2020 instead of 2021.
2020-09-24 09:04:12 -04:00
6ee429b839 PostgreSQL 13 release announcement
Yay!
2020-09-23 15:47:18 -04:00
492cb5d1e0 Content updaes for PostgreSQL 13 release
An annual review of general content on the website, including adding
in new tidibts of information based on the new PostgreSQL release,
in this case for PostgreSQL 13.
2020-09-23 12:11:42 -04:00
3c1b7de84e PostgreSQL 13 Press Kit
Includes the press kit, translations of the press release, and
retires the PostgreSQL 12 press kit.
2020-09-23 12:11:41 -04:00
1ef6f3abec Update the FAQ
Amend, emend, and remove questions and answers to help keep up
with the modern times.
2020-09-23 12:11:41 -04:00
2eb1eb69e3 Fix language in unsupported documentation blurb
This removes any ambiguity that the blurb is making a reference
to other supported documentation.

Author: Daniel Gustafsson <daniel@yesql.se>
2020-09-23 12:09:34 -04:00
aec785d93a Fix typo on NetBSD page
Somehow, this was missed by the person who is typing out this
sentence.
2020-09-23 12:07:39 -04:00
b593b590de Add NetBSD OS to list of downloadable packages
This also includes a change in the descruption of the BSD
family of packages to use the term "operating system", which
is the preferred language for describing the different BSD
options.

Author: Daniel Gustafsson <daniel@yesql.se>
2020-09-23 11:10:38 -04:00
b0e7f5ce76 Add rel="noopener" to all _blank target urls 2020-09-23 16:20:48 +02:00
e836d33bbf Remove the cross-platform Linux installer
This installer is only supported up to PostgreSQL 10 and based on
the overall outbound traffic numbers to the installer, it makes
sense to remove it instead of carrying the overall maintenance
burden.
2020-09-22 15:47:11 -04:00
b8c86e9cc3 Update macOS downloads page
This provides a much more concise and accurate description of
what is on this page, as well as an ordering of the installers
based on the measured popularity of them.
2020-09-22 15:47:11 -04:00
9ebeb31478 Remove Debian backports from downloads page
There was little outbound traffic going to these URLs.
2020-09-22 15:46:20 -04:00
b75ed9efb5 Remove references to BigSQL packages
The BigSQL packages are no longer publicly available, and
various parts of the BigSQL packages in the website had already
been commented out.
2020-09-22 14:40:33 -04:00
6ace826d51 Remove "Build from Source" section on Linux package pages
The measured traffic patterns indicated that people wanting to
build from source were not getting to the source tarballs from
the Linux package pages, rather a) people on the package pages
wanted the pre-built packages and b) people who wanted source
code went directly to the source code from the main downloads
page.
2020-09-22 14:40:30 -04:00
d7d5b105d1 Improve moderation messages somewhat
Change the subject to use the title of the object instead of the id, and
include a link to the moderation page. There's surely more to be done,
but this is a decent start.
2020-09-18 11:13:36 +02:00
eec44cb08e Add admin function to initiate user password reset
This will trigger the same reset-your-password email as a user initiated
one, but it'll cut out one step and be a bit more user friendly...

Also, if this is done with an OAuth connected account, it will be
converted into a regular one (something we don't allow the end user to
do, for support reasons)

This also adds an entry to the user editor in the admin view that shows
if the user *is* an oauth user or not, or if they might have an old
"unmigrated" password.
2020-09-18 09:14:21 +02:00
7b69185ad2 PostgreSQL 13 Beta 1 updates 2020-09-17 08:53:33 -04:00
6d5319371f Properly verify owner of organisation in all forms 2020-09-17 14:37:58 +02:00