Jonathan S. Katz [Sat, 28 Oct 2017 21:19:02 +0000 (17:19 -0400)]
Add clarifying language about how the EOL versioning policy works.
Language proposed by Noah Misch.
Magnus Hagander [Fri, 13 Oct 2017 13:56:25 +0000 (15:56 +0200)]
Attempt to fix version sorting in ftp browser
There was already an ugly hack to handle this, so make it a bit uglier
with even more hardcoded assumptions. Seems to be working for the site
as it is now, but may definitely need further ugly hacks in the future.
Magnus Hagander [Fri, 13 Oct 2017 12:08:21 +0000 (14:08 +0200)]
Enforce lowercase email addresses in more places
We don't want two different accounts to exist with the same email
address only differing in case. This had already happened for a few
which have been manually fixed, since it turns out we only enforced the
rule on new account creation, not when accounts changed email address or
when they were created using oauth. Also add database level constraints to
make sure this cannot happen again if some codepath is missed.
Magnus Hagander [Fri, 13 Oct 2017 11:10:23 +0000 (13:10 +0200)]
Spider fedora versions up to 30
No need for us to update this script on every new Fedora release. If we
don't have packages for them, they just won't be found.
Magnus Hagander [Fri, 13 Oct 2017 10:45:38 +0000 (12:45 +0200)]
Fix suggested initialization command on RPMs
As of 10, the name of the script has changed from postgresql<nn>-setup
to postgresql-<nn>-setup.
Magnus Hagander [Fri, 13 Oct 2017 09:15:51 +0000 (11:15 +0200)]
Don't crash when .git/refs/heads/master doesn't exist
This happens after a git gc which moves this into packed-refs. So when
this happens, look in packed-refs. If packed-refs also cannot be found,
just return a made up value instead of crashing.
Magnus Hagander [Fri, 13 Oct 2017 09:15:14 +0000 (11:15 +0200)]
Import jquery-ui theme images
We already had the basic theme imported, just forgot the images.
Magnus Hagander [Fri, 13 Oct 2017 08:07:20 +0000 (10:07 +0200)]
Consistently load jquery from our own copy
Also consistently load the same version of jquery, so browsers only have
to cache one.
Magnus Hagander [Mon, 9 Oct 2017 10:50:28 +0000 (12:50 +0200)]
Automate supported versions in yum download scripts
We do this by always spidering every repo rpm available (since the ftp
server doesn't know about supported versions), and then filtering which
versions are shown in the dropdown instead. Given the small number of
versions of either kind, this doesn't make a material difference in the
size of the files anyway.
Dave Page [Fri, 6 Oct 2017 08:33:29 +0000 (09:33 +0100)]
Update supported versions.
Magnus Hagander [Fri, 6 Oct 2017 07:44:08 +0000 (09:44 +0200)]
Sort versions as numbers, not strings
Javascript by default sorts numbers as strings, go figure. So instead,
properly sort them as number, which makes v10 show up at the top as it
should be.
Magnus Hagander [Fri, 6 Oct 2017 07:36:55 +0000 (09:36 +0200)]
Need to spider v10 yum files
Jonathan S. Katz [Thu, 5 Oct 2017 15:50:28 +0000 (11:50 -0400)]
Ensure all references to PostgreSQL icon in press kit are to PNG
At some point, the PostgreSQL icon used in the press kit changed
from being a JPG to a PNG, so this change ensures that the PNG
is used. This was also applied to previous press kits as the
JPG icon is missing.
Jonathan S. Katz [Thu, 5 Oct 2017 14:29:11 +0000 (10:29 -0400)]
Edits to the Portuguese translation for PG10 release
Dave Page [Thu, 5 Oct 2017 13:44:33 +0000 (14:44 +0100)]
Add presskit link to the callout.
Dave Page [Thu, 5 Oct 2017 13:07:53 +0000 (14:07 +0100)]
Update download platform support.
Dave Page [Thu, 5 Oct 2017 13:00:27 +0000 (14:00 +0100)]
Release 10.0
Jonathan S. Katz [Fri, 29 Sep 2017 17:40:20 +0000 (13:40 -0400)]
Update PostgreSQL 10 RC 1 download URL.
Update the PostgreSQL 10 RC 1 download URL to point to the snapshot
area for downloads, as it contains more directions for how to
download the release candidate.
Jonathan S. Katz [Wed, 27 Sep 2017 15:55:00 +0000 (11:55 -0400)]
Added regional press contact for Vietnam
Magnus Hagander [Wed, 27 Sep 2017 10:01:45 +0000 (12:01 +0200)]
Split out noreply sender address to separate config parameter
We want to use the noreply@ email address when sending out notifications
to addresses that have yet to be verified, since we can just ignore
bounces to those.
Jonathan S. Katz [Tue, 26 Sep 2017 10:11:10 +0000 (12:11 +0200)]
Add v10 to feature matrix
Jonathan S. Katz [Tue, 26 Sep 2017 03:49:31 +0000 (23:49 -0400)]
Added regional contacts for Myanmar, Phiilippines, and Thailand
Stephen Frost [Thu, 21 Sep 2017 13:12:24 +0000 (09:12 -0400)]
v10 RC1 released
Jonathan S. Katz [Mon, 18 Sep 2017 18:11:54 +0000 (14:11 -0400)]
Create "Europe, the Middle East, and Africa" group on Press Contact page.
The press contact group for "Europe and Africa" was relabeled and made
into "Europe, the Middle East, and Africa" to follow common conventions.
Additionally, the contact info for Israel was moved into this group.
Magnus Hagander [Mon, 18 Sep 2017 16:32:49 +0000 (18:32 +0200)]
Don't require first and last name fields in OAuth signup
I had fixed the OAuth process to deal with this case, but failed to
cover the actual new account creation part which still required it. With
this fix, we allow a signup without a name. If the user wishes to set a
full name on the account it can be done on the profile page for the
user, but it's possible to proceed to access restricted resources
without doing it.
Reported by @Smylers2 on twitter, relayed by @TokenScandi
Magnus Hagander [Mon, 18 Sep 2017 16:31:48 +0000 (18:31 +0200)]
Don't crash on completely empty github names
Sometimes you get a name but it's NULL, sometimes you don't get one. Yay
for consistency, but handle both cases.
Magnus Hagander [Sat, 16 Sep 2017 11:34:55 +0000 (13:34 +0200)]
Maintain redirection URL across oauth signup
Previously when signing up for a new account in the middle of an
authentication process, the final redirection URL was lost and the user
was sent back to the /account/ page. Instead, we now redirect to the
proper URL (for sending back to the community auth client site) if it's
available in the session, both for successful signup and for
canceled logins.
Magnus Hagander [Sat, 16 Sep 2017 11:22:58 +0000 (13:22 +0200)]
Properly pass next value across failed password attempts
In the event of a failed password attempt, we'd loose the "next url"
part in community auth, so once the correct password was entered an
error message about unknown redirect would show up.
Jonathan S. Katz [Wed, 13 Sep 2017 18:57:02 +0000 (14:57 -0400)]
Added press contact for Israel
Peter Eisentraut [Wed, 6 Sep 2017 18:12:25 +0000 (11:12 -0700)]
Apply table style also to informaltable elements
Discussion:
https://www.postgresql.org/message-id/flat/
20170728120244.1449.87477%40wrigleys.postgresql.org
Magnus Hagander [Mon, 4 Sep 2017 10:31:08 +0000 (12:31 +0200)]
Don't fail on creating new oauth accounts with no first/last name
If no first or last name is given, fall back to the method of using the
email address to suggest only.
In passing, split out the references to the session in own variables to
make the code a lot easier to read.
Stephen Frost [Sun, 3 Sep 2017 22:59:45 +0000 (18:59 -0400)]
Update roadmap
August is done, next releases are November, add in May 2018 release
target date.
Stephen Frost [Thu, 31 Aug 2017 15:43:21 +0000 (11:43 -0400)]
Fix release announcement link for beta4 on beta page
Stephen Frost [Thu, 31 Aug 2017 14:48:28 +0000 (10:48 -0400)]
10 beta 4 and new releases
Magnus Hagander [Thu, 31 Aug 2017 07:58:55 +0000 (09:58 +0200)]
Add nicer exception handling for OAuth logins
Instead of throwing Internal Server Error at the user, throw a custom
exception that can actually give a slightly less useless error message.
Magnus Hagander [Thu, 31 Aug 2017 07:56:38 +0000 (09:56 +0200)]
Make full name optional in all authentication providers
We haven't seen crashes for other providers, but that's no reason not to
fix..
Magnus Hagander [Thu, 31 Aug 2017 07:36:29 +0000 (09:36 +0200)]
Don't crash when oauth provider does not include state
This should normally never happen, and should cause an error. But it
should cause an error saying "invalid state received", not an error
saying kaboom.
Magnus Hagander [Thu, 31 Aug 2017 07:25:04 +0000 (09:25 +0200)]
Further fixes for Github names with just one name
Not only can they be without names, they can be a one word name which
would cause a different crash. Again, allow that through and let the
user make manual adjustments if they wish.
Magnus Hagander [Thu, 31 Aug 2017 07:22:32 +0000 (09:22 +0200)]
Support login with github profiles that have no full name
We only really need the email, the rest the user can just fill out
manually. So instead of crashing, just leave them empty.
Magnus Hagander [Tue, 29 Aug 2017 08:03:02 +0000 (10:03 +0200)]
Update beta information bage with beta3
This was missed in the latest beta push.
Report by Laurence Parry
Magnus Hagander [Mon, 28 Aug 2017 15:16:26 +0000 (17:16 +0200)]
Give better error message when restricting information in oauth login
We need access to email, firstname and lastname, which is also what we
ask for. If the user forcibly restricts access to that, give a
reasonable error message instead of crashing.
Magnus Hagander [Mon, 28 Aug 2017 15:11:29 +0000 (17:11 +0200)]
Generate suggested oauth usernames in unicode
They won't work in the end, so a better fix is probably a good idea, but
this at least turns it into a useful error.
Magnus Hagander [Mon, 28 Aug 2017 15:07:58 +0000 (17:07 +0200)]
Don't crash when unauthenticated users try to change password
Magnus Hagander [Mon, 28 Aug 2017 15:05:43 +0000 (17:05 +0200)]
Make sessioninfo script work when user is not logged in
Magnus Hagander [Mon, 28 Aug 2017 15:04:10 +0000 (17:04 +0200)]
Copy over sessioninfo utility from postgresqleu site
Magnus Hagander [Mon, 28 Aug 2017 14:28:03 +0000 (16:28 +0200)]
Implement support for Oauth2 based login integrations
This creates Google, Github, Microsoft and Facebook login integrations.
Other providers can also be added if needed. Accounts still need to be
created in the community auth system, and will be automatically created
on first login, when the user also gets to pick a username. Once an
account exists, it will be matched on email address from the external
systems.
No methods are enabled by default, as they all require encryption keys
and identities configured in local_settings.py.
Review by Stephen Frost, Jonathan Katz and Daniel Gustafsson.
Magnus Hagander [Mon, 28 Aug 2017 09:54:43 +0000 (11:54 +0200)]
Change mailpref URL to redirect to lists.postgresql.org
mail.postgresql.org is a hostname we haven't used actively for a *long*
time, so stop redirecting to it (it still worked, but is definitely very
legacy)
Guillaume Lelarge [Sun, 13 Aug 2017 16:41:38 +0000 (18:41 +0200)]
Fix link to French docs
Jonathan S. Katz [Fri, 11 Aug 2017 02:00:35 +0000 (22:00 -0400)]
Modified CVE-2017-7548 affected versions to remove 9.2, 9.3
Stephen Frost [Thu, 10 Aug 2017 13:23:12 +0000 (09:23 -0400)]
flip security update/beta3 announce
Stephen Frost [Thu, 10 Aug 2017 13:12:17 +0000 (09:12 -0400)]
improve wording, et al
Stephen Frost [Thu, 10 Aug 2017 13:08:22 +0000 (09:08 -0400)]
10 Beta 3 & New security release
Magnus Hagander [Wed, 9 Aug 2017 14:27:52 +0000 (16:27 +0200)]
Unify the two login forms
Instead of having two completely different forms for general login and
community authentication login with the only difference being the url
and the intro text, make it take a parameter instead and have just one
copy of the rest.
Magnus Hagander [Wed, 9 Aug 2017 08:05:33 +0000 (10:05 +0200)]
Fix incorrect mention of core team size
Reported by Vik Fearing
Daniel Gustafsson [Tue, 8 Aug 2017 11:06:26 +0000 (13:06 +0200)]
Fix typo
Jonathan S. Katz [Sat, 29 Jul 2017 16:31:54 +0000 (12:31 -0400)]
Publish community recognition guidelines from the PostgreSQL Core Committee.
Publish the community recognition guidelines developed by the PostgreSQL Core
Committee from a navigation off of the "Community" section. Add URLs from
several other pages on the PostgreSQL website in order to access the guidelines:
* Donate
* Events
* User Groups
Additionally, this patch updates the contact email address for donation questions
to the PostgreSQL Funds Group.
Dave Page [Mon, 24 Jul 2017 08:16:24 +0000 (09:16 +0100)]
Simplify wording pointing to the sponsorship policy.
Jonathan S. Katz [Sat, 22 Jul 2017 16:37:41 +0000 (12:37 -0400)]
Update logo collection for "/about/sponsors/" page
Stephen Frost [Tue, 18 Jul 2017 19:29:24 +0000 (21:29 +0200)]
Allow contributor emails to be blank
Over the years, contributors come and go and we have many cases now where
the contributor's email address which we have is not valid. As we really
don't want to show incorrect information on the webpage, allow contributor
email addresses to be blank for cases where we've discovered that the email
address is no longer valid.
Magnus Hagander [Mon, 17 Jul 2017 12:03:37 +0000 (14:03 +0200)]
Update info about supported debian and ubuntu releases
Adrien Nayrat
Magnus Hagander [Thu, 13 Jul 2017 17:52:01 +0000 (19:52 +0200)]
Show username on profile edit form
Can't change the username, but it makes sense for it to be visible.
Magnus Hagander [Thu, 13 Jul 2017 17:29:05 +0000 (19:29 +0200)]
Add a post_form block to baseform
Dave Page [Fri, 14 Jul 2017 11:31:32 +0000 (12:31 +0100)]
Clarify installer platform support.
Magnus Hagander [Thu, 13 Jul 2017 13:21:41 +0000 (15:21 +0200)]
Oops, it's July, not June
Magnus Hagander [Thu, 13 Jul 2017 13:19:47 +0000 (15:19 +0200)]
10 beta2 is out
Daniel Gustafsson [Tue, 11 Jul 2017 15:25:23 +0000 (17:25 +0200)]
Boldface current version when active in docs
We previously did this only for non-current version of the docs, which
seems like an oversight.
Magnus Hagander [Tue, 11 Jul 2017 09:55:51 +0000 (11:55 +0200)]
Prevent empty <ul></ul> if no pdf manuals exist for a version
Magnus Hagander [Sat, 8 Jul 2017 19:32:47 +0000 (21:32 +0200)]
Support listname in the URL, not just the id
This will make it easier to link to a search form that properly
pre-populates the dropdown. This will be followed with a patch to the
archives to generate links this way.
It's not strictly speaking needed to support this as we currently
synchronize the list id between the systems, but that's something that
is likely going away in the future.
Magnus Hagander [Sat, 8 Jul 2017 19:31:12 +0000 (21:31 +0200)]
Make mailinglist name unique in the database
This should have been the case from the beginning, there are many things
that would break if this was not followed.
Magnus Hagander [Tue, 4 Jul 2017 15:57:51 +0000 (16:57 +0100)]
cc bugreports to the original submitter
This gives the submitter a chance to respond to their own message even
if it's not delivered through the list (for example, because they are
not subscribed, or because it's caught in moderation for other reasons).
Per discussion at the developer meeting.
Magnus Hagander [Mon, 3 Jul 2017 14:35:55 +0000 (15:35 +0100)]
Add simple API endpoint to activate and deactivate a list
Access is restricted by IP for the list server. Once the migration is
done, we should probably remove the endpoint again.
Magnus Hagander [Tue, 27 Jun 2017 20:20:11 +0000 (22:20 +0200)]
Set correct attributes on script tags
The type attribute is mandatory in XHTML while the language
attribute has been deprecated.
Magnus Hagander [Tue, 27 Jun 2017 13:14:20 +0000 (15:14 +0200)]
Remove support for repo updated trigger
This was never actually completed, and we have other ways to deal with
the deployments now that are faster.
Magnus Hagander [Thu, 22 Jun 2017 19:15:17 +0000 (21:15 +0200)]
Add information about pglister migration to subscription pages
Magnus Hagander [Thu, 22 Jun 2017 18:44:02 +0000 (20:44 +0200)]
Add support for a pre-form block on generic forms
Magnus Hagander [Thu, 22 Jun 2017 18:30:51 +0000 (20:30 +0200)]
Remove support for nomail and digest on new subscriptions
A step towards simplification as this moves to a legacy section
Magnus Hagander [Tue, 20 Jun 2017 18:56:46 +0000 (20:56 +0200)]
Strip leading and trailing space from searches
Magnus Hagander [Thu, 8 Jun 2017 11:49:18 +0000 (13:49 +0200)]
Remove explicit version listings in text
We have them in the dropdowns aleady, which also contains a more
detailed info about which versions are actually available for which
platforms. So keep the distributions only, not the specific version.
Per suggestion from Devrim.
Magnus Hagander [Thu, 8 Jun 2017 11:05:35 +0000 (13:05 +0200)]
Make yum download instructions more dyanamic
Using the crawled data, propulate dropdown boxes with versions and
platforms, to be able to show simpler instructions of exactly which
commands to use to install using the yum repository.
Dave Page [Wed, 7 Jun 2017 08:31:28 +0000 (09:31 +0100)]
Add a couple of new books from Packt.
Magnus Hagander [Sun, 28 May 2017 15:41:03 +0000 (11:41 -0400)]
Generate sitemap with 10 instead of 10.0 for docs search
Magnus Hagander [Sat, 27 May 2017 18:43:34 +0000 (14:43 -0400)]
Fix spelling error
Pointed out by Stephen
Magnus Hagander [Fri, 26 May 2017 14:31:52 +0000 (10:31 -0400)]
Add proper tsearch configuration for site search as well
It was previously only on archives search
Magnus Hagander [Thu, 25 May 2017 15:28:39 +0000 (11:28 -0400)]
Invent the concept of a docs page alias
This allows us to say that "app-pgreceivexlog.html" is actually the same
as "app-pgreceivewal.html" on a different version.
Turns out the templates would already render this correctly if we could
just find the map, so it's a simple case of adding an additional join
(that the django orm can't figure out, but we can do it in manual sql).
Adds a non-django managed unique index to make sure that it's not
possible to add the same alias twice in different "directions".
Violating this will cause a django excpetion in the admin interface
since it doesn't know about it, but as this is a very uncommon operation
and admin only, we don't care about that.
Finally, we don't bother issuing varnish purges for changes here, the
admin is expected to handle those manually. These changes are supposed
to happen very seldom, and the contents are purged automatically when
the docs are loaded anyway.
Magnus Hagander [Thu, 25 May 2017 13:55:52 +0000 (09:55 -0400)]
Fix whitespace
Magnus Hagander [Thu, 25 May 2017 13:54:49 +0000 (09:54 -0400)]
Add ability to hide emails per contributor type
This makes it possible to hide emails from past contributors, which are
more likely to not be correct anyway.
Magnus Hagander [Wed, 24 May 2017 17:48:04 +0000 (13:48 -0400)]
Add function to spider reporpms from the yum repo
The ftp server can then submit a list (and structure) of which platforms
are supported for yum downloads, which can then later (in a separate
commit) be used to generate a nicer download for yum repo rpms.
Magnus Hagander [Wed, 24 May 2017 15:17:22 +0000 (11:17 -0400)]
Reorder Linux download options
Put our own apt and yum repositories at the top, as they are the
recommended way to install.
Magnus Hagander [Tue, 23 May 2017 19:17:29 +0000 (15:17 -0400)]
Remove incorrect mention of architectures in yum repo
Some new distros only have packages for x86_64, so remove the text that
says that all distros are available in both that and i386.
Magnus Hagander [Fri, 19 May 2017 11:53:58 +0000 (13:53 +0200)]
Fix one missing conversion to numtree
Spotted by Daniel Gustafsson
Magnus Hagander [Fri, 19 May 2017 11:53:16 +0000 (13:53 +0200)]
Fix release notes link on frontpage to be 10 instead of 10.0
Peter Eisentraut [Fri, 19 May 2017 11:50:44 +0000 (13:50 +0200)]
Update versioning explanation text to reflect version 10
Magnus Hagander [Fri, 19 May 2017 11:49:04 +0000 (13:49 +0200)]
Remove May 11 release from "upcoming" releases
Since it has already happened, it's clearly not upcoming anymore.
Magnus Hagander [Fri, 19 May 2017 11:43:50 +0000 (13:43 +0200)]
Redirect docs requests for 10.0 to 10
This will include future 11.0 -> 11 as well, etc, for good measure.
Magnus Hagander [Fri, 19 May 2017 11:42:58 +0000 (13:42 +0200)]
Invent the concept of a "numtree" for versions
This property returns a single digit numbers for versions 10 and up (10,
11 etc), and keeps the two digit number for earlier (9.0, 9.1 etc).
Dave Page [Thu, 18 May 2017 12:59:52 +0000 (13:59 +0100)]
10 Beta 1
Dave Page [Thu, 18 May 2017 11:12:21 +0000 (12:12 +0100)]
Handle URLS for the PG10 docs. This is a hack for now - we need to properly handle '10' vs. '9.6' formatting before GA.
Dave Page [Thu, 11 May 2017 13:00:07 +0000 (14:00 +0100)]
Update releases
Daniel Gustafsson [Thu, 11 May 2017 09:14:31 +0000 (11:14 +0200)]
Update buildfarm links to https
The buildfarm now returns 301 on http, so update the links to use
https instead.
Devrim Gündüz [Wed, 3 May 2017 21:42:16 +0000 (00:42 +0300)]
Various updates: Update repo RPM URLs, update Fedora version, use 9.6 instead of 9.5.
Reported by Greg Clough offlist.