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.
Daniel Gustafsson [Wed, 3 May 2017 21:14:29 +0000 (23:14 +0200)]
Fix markup in old presskits
This fixes a number of repeated markup errors, as well as changes links
to the main website to be https.
Dave Page [Tue, 2 May 2017 10:37:47 +0000 (11:37 +0100)]
Add PostgreSQL Administration Cookbook 9.5/9/6 edition.
Patch by Umair Shahid.
Magnus Hagander [Tue, 2 May 2017 08:44:55 +0000 (10:44 +0200)]
Remove left-over debugginng code
Commented out, but should be removed anyway.
Magnus Hagander [Tue, 2 May 2017 08:40:51 +0000 (10:40 +0200)]
Strip trailing slashes from symlinks
This avoids double slashes and issues they cause in the ftp browser.
Daniel Gustafsson
Magnus Hagander [Fri, 14 Apr 2017 19:37:50 +0000 (21:37 +0200)]
Remove duplicate closing of </style>
Noted by Peter Eisentraut
Bruce Momjian [Fri, 14 Apr 2017 18:38:38 +0000 (20:38 +0200)]
Fix font adjustment for double-code embedding
Add additional CSS injection to prevent code tag embedded in code tag
from having its font size adjusted twice.
Discussion: https://postgr.es/m/
20170408015201.GA18573@momjian.us
Magnus Hagander [Fri, 14 Apr 2017 15:17:32 +0000 (17:17 +0200)]
Disallow creation of user accounts with @ and _
Mediawiki is just too limiting in which characters it supports, and
having to rename users once they eventually want to do things with the
wiki is getting out of hand. So we limit the global system to the
silliest common denominator, which at this point appears to be
mediawiki.
Peter Eisentraut [Wed, 12 Apr 2017 11:27:48 +0000 (13:27 +0200)]
Adjust selectors for table style in docs
Older DocBook XSL stylesheets don't have a class on the table element,
but all versions have a surrounding div element with class "table", so
use that instead.
Peter Eisentraut [Wed, 12 Apr 2017 11:26:44 +0000 (13:26 +0200)]
Improve admonitions style in new docs
Make admonitions (tip, note, caution, warning) style under XSLT more
similar to previous style. Previously, tip and note were blockquotes
and caution and warning were tables. Now everything is just a div.
Peter Eisentraut [Wed, 12 Apr 2017 11:25:37 +0000 (13:25 +0200)]
Make h2 orange in the documentation in new docs
With the XSLT stylesheets, most chunk headings are not h2 instead of
formerly h1, so make h2 orange as well to match the previous style.
Dave Page [Tue, 11 Apr 2017 08:49:49 +0000 (09:49 +0100)]
Add PostgreSQL High Performance Cookbook.
Magnus Hagander [Mon, 10 Apr 2017 12:06:27 +0000 (14:06 +0200)]
Update "Working with PostgreSQL" book to second edition
Alexey Vasiliev
Magnus Hagander [Sun, 2 Apr 2017 14:48:27 +0000 (16:48 +0200)]
Fix old typo in function name
Magnus Hagander [Sun, 2 Apr 2017 14:47:02 +0000 (16:47 +0200)]
First stab at supporting https for generic sites
Previously only the main website search supported it, which was less
than great for community sites that are now https only.
Magnus Hagander [Sun, 2 Apr 2017 13:26:36 +0000 (15:26 +0200)]
Set textsearch weight on the title of a page
Magnus Hagander [Sun, 2 Apr 2017 13:15:21 +0000 (15:15 +0200)]
Explicitly specify the tsearch configuration to use
The main reason this didn't work before was because of server dictionary
configuration, not because of the code. But make it explicit so we're
not relying on session level settings.
Magnus Hagander [Thu, 23 Mar 2017 16:15:58 +0000 (17:15 +0100)]
Seems we'v ebroken the "pg" fts config, so disable temporarily
Magnus Hagander [Thu, 23 Mar 2017 16:08:41 +0000 (17:08 +0100)]
Don't break when suburl is not specified
Magnus Hagander [Thu, 23 Mar 2017 16:03:56 +0000 (17:03 +0100)]
Add support for searching in internal pages
In particular, this re-enables the ability to search in the developer
docs
Magnus Hagander [Thu, 23 Mar 2017 15:43:12 +0000 (16:43 +0100)]
New column is isinternal, not internal
Magnus Hagander [Thu, 23 Mar 2017 15:39:03 +0000 (16:39 +0100)]
Move a bunch of initialization to the parse step
We probably need to clean up more internal state in expat between the
calls.
Magnus Hagander [Thu, 23 Mar 2017 15:31:39 +0000 (16:31 +0100)]
Teach search crawler about internal sitemap
We only support it for our main website, which uses a sitemap, so
implement it only for that provider. And always probe
sitemap_internal.xml, since we don't even try to access any external
sites on it.
Magnus Hagander [Thu, 23 Mar 2017 11:03:18 +0000 (12:03 +0100)]
Generate internal sitemap including devel docs
We'll use this to index some things in our own search engine without
exposing it to external sitemap parsers. Not from a security standpoint
of course, but something that will lead to it being possible to search
the devel docs again.
Dave Page [Thu, 9 Mar 2017 09:11:53 +0000 (09:11 +0000)]
Add PostgreSQL High Availability Cookbook 2nd Edition to the book list.