Magnus Hagander [Mon, 11 Dec 2017 14:29:45 +0000 (15:29 +0100)]
Fix submission forms for many2many fields with checkboxes
This includes proper styling (no more centering of the checkbox itself)
and actually saving the m2m fields on submit.
Magnus Hagander [Sun, 10 Dec 2017 16:23:03 +0000 (17:23 +0100)]
Add ability for cauth sites to download ssh public keys
This removes the last need to directly access the upstream database
(from the git server), so remove that view as well.
Magnus Hagander [Sun, 10 Dec 2017 15:46:43 +0000 (16:46 +0100)]
Remove community authentication 1.0
Community authentication 1.0 relied on PostgreSQL connections between
all servers, and hasn't been used for years.
This includes removing the code that migrates users from the old
community authentication system to the new one. This means that any user
who has not logged in since 2011 will no longer be able to user their
oan account, and have to create a new one.
Magnus Hagander [Sun, 10 Dec 2017 15:40:02 +0000 (16:40 +0100)]
Remove legacy workaround to support old community auth
This workaround enabled a weaker password hasher to work with old
versions of the community authentication plugin. This was already
overridden in prod, but remove the old workaround completely from the
code so we don't accidentally re-enable it.
Daniel Gustafsson [Sun, 10 Dec 2017 11:14:36 +0000 (12:14 +0100)]
Remove IRIX and Tru64 from /about
Support for SGI IRIX was removed from the postgresql.git repo
in commit
ea91a6be8957 with release 9.3 as the last supported
version, and Tru64 in
a6d488cb53 with 9.4 as the last version.
Remove from /about to manage expectations.
Magnus Hagander [Sat, 9 Dec 2017 15:49:53 +0000 (16:49 +0100)]
Remove extra space in tweets
Magnus Hagander [Sat, 9 Dec 2017 15:44:54 +0000 (16:44 +0100)]
Implement automatic tweeting of news
Once a twitter account has been registered (using the twitter_register
management command), the twitter_post command wills start posting all
new news to twitter, once they are approved. It will only post news from
the past 7 days to avoid accidentally flooding with old news.
Magnus Hagander [Sat, 9 Dec 2017 14:54:41 +0000 (15:54 +0100)]
Change personal email to group email for donations
Not only is Josh no longer -core, it's better to consistently refer
people to contact the group addresses to make sure they get timely
responses.
Jonathan S. Katz [Thu, 7 Dec 2017 01:11:08 +0000 (20:11 -0500)]
Add "Associazione ITPUG" to International sites.
Magnus Hagander [Wed, 6 Dec 2017 03:14:37 +0000 (12:14 +0900)]
Prevent changes of column width on events form
Do this by setting the max width of the lefthand column in the table, so
it doesn't change when the checkbox for community events is clicked.
A better solution would of course be to make the forms properly
responsive, but that's part of a "next generation website", rather than
a quick fix...
Jonathan S. Katz [Wed, 6 Dec 2017 03:06:37 +0000 (12:06 +0900)]
Enable events to be badged.
Adds the "badged" flag to the Event model in order to distinguish
community badged events from other PostgreSQL oriented events.
Seven total events will be displayed on the homepage, with up to
four community events displayed. If there are no upcoming
community events then, then the header "Events" is shown.
The event submission interface allows a user to opt-in to
listing an event as a "community" event and provide an
explanation for moderators as to why the event should be
considered a community event.
Expands the list of News and Planet PostgreSQL blog entries to 10.
Jonathan S. Katz [Wed, 6 Dec 2017 02:59:30 +0000 (11:59 +0900)]
Replace frontpage header images with text
It's too much of a pain to regenerate the images when a header needs to
change in some way, and having text is better for searching too. This
slightly changes the strength of the headers, but mostly things look the
same as before.
Jonathan S. Katz [Mon, 4 Dec 2017 14:06:34 +0000 (08:06 -0600)]
Updated "International Sites" page to update URLs for active sites.
Jonathan S. Katz [Sat, 25 Nov 2017 14:43:20 +0000 (09:43 -0500)]
Clean up whitespace in primary Python / HTML files
Clean up the whitespace in the primary Python / HTML files in
order to make it easier to apply changes going forward.
Magnus Hagander [Mon, 27 Nov 2017 20:11:05 +0000 (21:11 +0100)]
Replace personal addresses with group aliases
We were inconsistent between pages, and some of this was many years
old...
Jonathan S. Katz [Tue, 14 Nov 2017 22:31:30 +0000 (17:31 -0500)]
Added another publication format to previous commit.
Jonathan S. Katz [Tue, 14 Nov 2017 22:27:58 +0000 (17:27 -0500)]
Added "PostgreSQL: Up and Running, 3rd Edition" to "Books"
Magnus Hagander [Tue, 14 Nov 2017 17:39:39 +0000 (18:39 +0100)]
Add Mastering Postgresql for App devs book
Jonathan S. Katz [Sat, 11 Nov 2017 22:14:58 +0000 (17:14 -0500)]
Updated "Chinese (Traditional)" international URL.
Jonathan S. Katz [Thu, 9 Nov 2017 13:52:31 +0000 (08:52 -0500)]
Update web pages for the 2017-11-09 release
Updated the /support/security/ page to contain information about
reported and resolved security issues in the 2017-11-09 release.
Moved security issues that only affect version 9.2 and earlier
to the security archive page (/support/security_archive/)
Updated developer roadmap and call out box for the cumulative
release.
Magnus Hagander [Wed, 8 Nov 2017 17:02:58 +0000 (12:02 -0500)]
Explicitly exclude urls with .. in search crawling
There were per-site configured rules defined but the regexp was slightly
incorrectly defined. However, we should just simply never crawl urls
like this unless they are normalized, so for now just add them to the
hardcoded exclusion rules.
Stephen Frost [Tue, 31 Oct 2017 17:33:07 +0000 (13:33 -0400)]
Update roadmap reflect releases, et al
The next upcoming major release would now be 11, not 10, and it's coming
in the third quarter of 2018.
Also, add in the August planned releases to fill out a complete year.
Hopefully by having the minor release dates cover a year it'll be
clear that whenever we do a release set we remove one and add one at the
bottom, instead of randomly adding/removing them at various times.
Magnus Hagander [Mon, 30 Oct 2017 14:25:37 +0000 (15:25 +0100)]
Don't try to log data that's not always available
Magnus Hagander [Mon, 30 Oct 2017 14:22:37 +0000 (15:22 +0100)]
More logging on password resets
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