Jonathan S. Katz [Mon, 3 Sep 2018 02:58:20 +0000 (22:58 -0400)]
Remove extra "</div>" in base template.
Jonathan S. Katz [Fri, 31 Aug 2018 14:51:56 +0000 (10:51 -0400)]
Add ability to search over feature matrix features in admin.
Jonathan S. Katz [Fri, 31 Aug 2018 14:49:15 +0000 (10:49 -0400)]
Admin enhancements to make it easier to work with feature matrix.
This exposes more fields in the admin to understand how feature groups are
being ordered.
Jonathan S. Katz [Fri, 24 Aug 2018 12:58:18 +0000 (08:58 -0400)]
Have the mailing list URL on the support page go to /list/
Previously was going to PGLister, which was confusing. This now conforms
to the previous behavior.
Magnus Hagander [Tue, 14 Aug 2018 11:37:23 +0000 (13:37 +0200)]
Allow empty 'next' link when asking for community auth consent
Per crashdump
Jonathan S. Katz [Thu, 9 Aug 2018 13:26:39 +0000 (09:26 -0400)]
Instructions to download Beta 3 source code, not Beta 2
Jonathan S. Katz [Thu, 9 Aug 2018 13:25:40 +0000 (09:25 -0400)]
Update August 2019 roadmap date to be in 2019
Jonathan S. Katz [Wed, 8 Aug 2018 20:29:54 +0000 (16:29 -0400)]
2018-08-09 cumulative release.
This includes the release details for 10.5, 9.6.10, 9.5.14, 9.4.19,
and 9.3.24, as well as 11 beta 3.
Magnus Hagander [Mon, 16 Jul 2018 09:31:21 +0000 (11:31 +0200)]
Update purge hook for non-template updates
For /media/ changes, generate a classic purge based on the URL. For
anything tha'ts not templates *or* media, just don't generate any purges
at all (of course).
Magnus Hagander [Mon, 16 Jul 2018 09:19:03 +0000 (11:19 +0200)]
Update commit count
(Yes, mainly to test the previous commit)
Magnus Hagander [Mon, 16 Jul 2018 09:10:42 +0000 (11:10 +0200)]
Add a purgehook script that will auto-purge pages on git push
This will integrate with the gitdeployer script to automatically purge
pages using specific templates using the xkeys that were added some time
ago.
Magnus Hagander [Fri, 6 Jul 2018 13:32:50 +0000 (15:32 +0200)]
Make the varnish purge admin form nicer
Have the output list the actual type of purge instead of just they
keycode, and add possibility to purge both expressions and xkey.
Magnus Hagander [Fri, 6 Jul 2018 13:32:14 +0000 (15:32 +0200)]
Teach varnish purging code about xkey purges
It's just another type of purge, so it's added as an extra option with
'K' as the key (as 'X' was already taken).
Magnus Hagander [Fri, 6 Jul 2018 13:08:36 +0000 (15:08 +0200)]
Fix function signatures of varnish sql funcs in dev env
This should be the same as are used in the prodiction. We don't use them
in a way that has any effect on this today, but in case we do in the
future.
Magnus Hagander [Wed, 4 Jul 2018 17:40:34 +0000 (19:40 +0200)]
Handle OAuth providers that return NULL for first or last name
We already handled those that returns empty, but it appears that at
least Microsoft can also return null/None. If those show up, just treat
them as empty.
Magnus Hagander [Wed, 4 Jul 2018 17:40:16 +0000 (19:40 +0200)]
Fix comment typo
Jonathan S. Katz [Mon, 2 Jul 2018 23:13:24 +0000 (19:13 -0400)]
Added "PostgreSQL for Beginners" book.
Magnus Hagander [Fri, 29 Jun 2018 17:40:45 +0000 (19:40 +0200)]
Pass pg context to render when rendering static pages
This is where we set both the gitrev and the do_esi, both of which are
needed. This means that gitrev has been broken on static pages since
forever - oops.
Magnus Hagander [Fri, 29 Jun 2018 17:22:56 +0000 (19:22 +0200)]
Add debugging comment in non-esi ouptut
Magnus Hagander [Fri, 29 Jun 2018 17:16:31 +0000 (19:16 +0200)]
Oops, remove debugging code
Magnus Hagander [Fri, 29 Jun 2018 15:59:26 +0000 (17:59 +0200)]
Move "blue topbar" to ESI page
Magnus Hagander [Fri, 29 Jun 2018 15:59:04 +0000 (17:59 +0200)]
Add support for doing ESI on pages in Varnish
Magnus Hagander [Thu, 26 Apr 2018 18:21:01 +0000 (20:21 +0200)]
Add support for automatic template based xkey
This adds an xkey header to all outgoing requests with the hash of the
name of all templates loaded. In the future we will be able to use this
to purge "all pages that included a specific template", regardless of
where in the hierarchy it was loaded.
Do this by faking a template loader that never finds anything -- but it
will record the path of the template that it tried to load, and then
leave it to another template loader to actually load it. Store this in
thread local storage (it's a bit ugly, but it's the only thing Django
supports for storing things at the request level from a template
loader), and fetch it from the middleware.
Magnus Hagander [Fri, 29 Jun 2018 11:39:43 +0000 (13:39 +0200)]
Remove unused variable references
Magnus Hagander [Fri, 29 Jun 2018 11:39:32 +0000 (13:39 +0200)]
Fix incorrect exception name
Magnus Hagander [Fri, 29 Jun 2018 11:39:21 +0000 (13:39 +0200)]
Remove leftover testing code
Magnus Hagander [Fri, 29 Jun 2018 11:39:10 +0000 (13:39 +0200)]
Add missing import
Magnus Hagander [Fri, 29 Jun 2018 11:38:56 +0000 (13:38 +0200)]
Fix string vs variable in uncommon codepath
Magnus Hagander [Fri, 29 Jun 2018 11:38:47 +0000 (13:38 +0200)]
Remove unused imports
Jonathan S. Katz [Wed, 27 Jun 2018 19:29:04 +0000 (15:29 -0400)]
PostgreSQL 11 Beta 2 release.
Sarah Conway [Wed, 27 Jun 2018 01:25:53 +0000 (18:25 -0700)]
Delete "Presentations" section from the Coding page.
Removing the Presentations section until a more modern selection of slides
becomes available.
Magnus Hagander [Mon, 25 Jun 2018 14:43:59 +0000 (16:43 +0200)]
Force login before giving community auth consent
In the normal workflow this would always happen, but if the user got to
the page without being logged in (probably most likely to happen if the
session timed out while waiting to proceed) we would crash on trying to
create an invalid consent record. Instead, force a re-login in this
case.
Jonathan S. Katz [Fri, 15 Jun 2018 13:36:47 +0000 (09:36 -0400)]
Disable credit card donations to SPI until their processor is fixed.
Magnus Hagander [Thu, 14 Jun 2018 14:31:40 +0000 (16:31 +0200)]
Band-aid formatting on events listing page
Since we allow markdown, we need to somewhat constrain what it looks
like on the site, so we don't end up with events that have headlines
that are bigger than the actual page headlines.
We can probably do something cleaner for this, but this will do as a
start.
Magnus Hagander [Thu, 14 Jun 2018 14:30:13 +0000 (16:30 +0200)]
Include link_root in mail templates, and use
Instead of hardcoding www.postgresql.org, include the link_root variable
the same way we do in the global context when rendering pages, and use
that from the mail templates. Makes for a lot smoother workings in test
environments.
Jonathan S. Katz [Mon, 11 Jun 2018 20:44:08 +0000 (16:44 -0400)]
Relax the linespacing on messages in archives.
Jonathan S. Katz [Mon, 11 Jun 2018 19:24:15 +0000 (15:24 -0400)]
Decrease spacing between paragraphs in message content view in archives.
This should make it both easier to read and scroll through the text.
Jonathan S. Katz [Mon, 11 Jun 2018 18:35:12 +0000 (14:35 -0400)]
Preserve whitespace and newlines in messages in the archive.
This will help with readability of code segments and match what
people see in their email clients.
Daniel Gustafsson [Mon, 11 Jun 2018 07:07:34 +0000 (09:07 +0200)]
Fix misspellings of PostgreSQL in old presskits
Daniel Gustafsson [Sun, 10 Jun 2018 22:32:01 +0000 (00:32 +0200)]
Replace reference to Mac OS X with macOS
This is a follow-up commit to
7d5fe7dbbbb11 which changed most of
the references.
Jonathan S. Katz [Sat, 9 Jun 2018 19:53:11 +0000 (15:53 -0400)]
Update Git URL to be directly to core project.
Jonathan S. Katz [Fri, 8 Jun 2018 14:07:11 +0000 (10:07 -0400)]
Add "v11" to the PostgreSQL Feature Matrix.
This will allow us to populate new features added to PostgreSQL 11
earlier in the release lifecycle to help drive more awareness to
what has changed.
Magnus Hagander [Fri, 8 Jun 2018 10:45:52 +0000 (12:45 +0200)]
Don't crash on concurrent consent given
If a user gave consent to sharing community auth data in two parallel
sessions, one of them would crash with a unique violation. To avoid
that, use the django function for get_or_create(), and just throw away
the results if it turned out to be a get.
Jonathan S. Katz [Thu, 7 Jun 2018 19:57:31 +0000 (15:57 -0400)]
Added "Practical SQL" book to books list.
Jonathan S. Katz [Thu, 7 Jun 2018 19:49:35 +0000 (15:49 -0400)]
Added "Recognition Guidelines" to the "Community" quick links.
This had dropped off after the site refresh, but should be there.
Jonathan S. Katz [Thu, 7 Jun 2018 19:47:31 +0000 (15:47 -0400)]
Updated "Financial" section of Community Conference Recognition Guidelines.
The updated language was agreed to by the Core Team.
Sarah Conway [Fri, 1 Jun 2018 16:15:07 +0000 (09:15 -0700)]
Fix a typo that causes inconsistent line heights in the archives.
A typo caused the h3.messages class to be larger than the h1.subject class that
was apparent when reading the archives. This makes both the CSS valid as well
as brings a better user experience.
Sarah Conway [Wed, 30 May 2018 18:35:31 +0000 (11:35 -0700)]
Remove "Shaded" URLs for clicked links site wide.
Jonathan S. Katz [Thu, 31 May 2018 19:57:47 +0000 (15:57 -0400)]
Remove minor versions as part of "Release Version" from Books.
Alvaro Herrera [Thu, 31 May 2018 18:37:46 +0000 (14:37 -0400)]
Add "PostgreSQL 10 Administration Cookbook"
Magnus Hagander [Wed, 30 May 2018 20:22:42 +0000 (16:22 -0400)]
Implement consent for third party orgs in commmunity auth
This adds a new model for CommunityAuthOrg representing the organisation
that runs the system that's being authenticated (e.g. PostgreSQL Europe
or PostgreSQL US). For this we just keep a name and a "is consent required" flag.
In the case where consent is required, we keep track on a per-user basis
of if they have given consent to sharing their data with this
organistion. If they haven't, we ask for it before completing the
redirect and actually sharing the data.
Jonathan S. Katz [Thu, 24 May 2018 16:18:52 +0000 (12:18 -0400)]
"Upcoming Community Events" => "Upcoming Events" on homepage.
Jonathan S. Katz [Wed, 23 May 2018 15:56:34 +0000 (11:56 -0400)]
PostgreSQL 11 Beta 1 release.
Jonathan S. Katz [Tue, 22 May 2018 21:06:45 +0000 (17:06 -0400)]
Fixed spelling of Berkely.
Jonathan S. Katz [Fri, 18 May 2018 17:18:53 +0000 (13:18 -0400)]
Only call `datetime.date.today` once on the homepage.
Jonathan S. Katz [Fri, 18 May 2018 17:16:09 +0000 (13:16 -0400)]
Update homepage event display algorithm.
The event display algorithm shows up to two non-badged events
that take place over the next three months. Subsequently, up to
seven minus |non-badged events| are returned.
Jonathan S. Katz [Fri, 18 May 2018 13:55:49 +0000 (09:55 -0400)]
Put ordering on event querysets on homepage.
As we are getting the first X of each event queryset, we need to
ensure there is ordering so it is the first X by date.
Jonathan S. Katz [Thu, 17 May 2018 16:25:27 +0000 (12:25 -0400)]
Updated event display algorithm on home page.
The homepage will now display seven events, allowing up to two
events that are not community badged to be present.
Jonathan S. Katz [Thu, 10 May 2018 13:07:47 +0000 (06:07 -0700)]
Cumulative 2018-05-10 release content updates.
Dave Page [Wed, 9 May 2018 12:09:38 +0000 (13:09 +0100)]
Add PostgreSQL 10 High Performance book
Jonathan S. Katz [Tue, 8 May 2018 05:10:12 +0000 (22:10 -0700)]
Ensure "Donate via SPI" button submits form and redirects to SPI.
Devrim Gündüz [Mon, 7 May 2018 00:05:45 +0000 (01:05 +0100)]
Remove duplicate text
Devrim Gündüz [Sun, 6 May 2018 21:14:02 +0000 (22:14 +0100)]
Update min supported Fedora version
Devrim Gündüz [Sun, 6 May 2018 21:04:08 +0000 (22:04 +0100)]
Update Fedora information for latest releases
Christoph Berg [Sat, 5 May 2018 18:03:40 +0000 (14:03 -0400)]
Update examples for Debian packages to for PostgreSQL 10.
Christoph Berg [Sat, 5 May 2018 18:02:54 +0000 (14:02 -0400)]
Add package information for Ubuntu LTS 18.04
Jonathan S. Katz [Fri, 4 May 2018 17:56:31 +0000 (13:56 -0400)]
Do not show news article byline if author is "_migrated"
Jonathan S. Katz [Thu, 3 May 2018 20:38:09 +0000 (16:38 -0400)]
Link "Browse Archives" in "News" on homepage to news archives.
Magnus Hagander [Thu, 3 May 2018 17:44:11 +0000 (19:44 +0200)]
Don't allow docs comments on unsupported versions
Stephen Frost [Thu, 3 May 2018 12:51:49 +0000 (08:51 -0400)]
Updated Google Summer of Code page with 2018 details.
Sarah Conway [Wed, 2 May 2018 19:34:04 +0000 (15:34 -0400)]
Fix spacing between content and navigation in archives code.
Jonathan S. Katz [Wed, 2 May 2018 16:18:43 +0000 (12:18 -0400)]
Add missing trailing slash to generated URL for sitemap.
Jonathan S. Katz [Wed, 2 May 2018 16:05:49 +0000 (12:05 -0400)]
Fix generation of static templates URLs for sitemap.xml
Cause of issue is speculated to be due to different relative path
handling since upgrade of Django versions. For the static pages,
the path is handled relative to the file that is generating the
URLs for the sitemap.
Magnus Hagander [Tue, 1 May 2018 15:52:15 +0000 (17:52 +0200)]
Rename NOREPLY_FROM to ACCOUNTS_NOREPLY_FROM
This is today only used for things coming out of the accounts system,
like new accounts and password resets. To make sure we don't
accidentally start using it for something else, change the name of the
parameter.
Jonathan S. Katz [Thu, 26 Apr 2018 21:36:29 +0000 (14:36 -0700)]
Fix typo on the "About" page.
Jonathan S. Katz [Wed, 25 Apr 2018 21:01:04 +0000 (14:01 -0700)]
Refactor the navigation bar for desktop, tablet, and mobile.
Specifically, the navigation bar now shrinks in height on scroll
and when on devices smaller than 768px. Additionally, the search
box disappears at the 1280px break point to avoid text wrapping.
A JavaScript file was added (main.js) to apply the "compressed"
class when scrolling, which is what provides the menu shrinking.
Dave Page [Wed, 25 Apr 2018 10:19:09 +0000 (11:19 +0100)]
Add a new PostGIS book.
Jonathan S. Katz [Tue, 24 Apr 2018 18:44:44 +0000 (11:44 -0700)]
Return "Why Upgrade?" and "Security" to prominence on homepage.
Jonathan S. Katz [Sun, 22 Apr 2018 00:09:02 +0000 (20:09 -0400)]
Use Bootstrap's default for line height.
This will help to bring more content "above-the-fold" and in
particular help with the scrollability of pages that tend to have
much more content, e.g. mail archives.
Sarah Conway [Sat, 21 Apr 2018 23:56:24 +0000 (16:56 -0700)]
Convert formatting of Planet Postgres listing to table.
This changes the structural display of the Planet Postgres listing on
the Community page from a dl tag to table. This allows for better padding
and less dense display of the post titles.
Jonathan S. Katz [Sat, 21 Apr 2018 22:03:38 +0000 (18:03 -0400)]
Remove padding from month/tread view tables in archives.
This will help improve "information density" available on a given
page.
Sarah Conway [Sat, 21 Apr 2018 02:38:40 +0000 (19:38 -0700)]
Adjust color of <strong> tags to help them stand out more.
Sarah Conway [Sat, 21 Apr 2018 02:34:38 +0000 (19:34 -0700)]
Change colors for visited links.
This changes the color for visited links to be a darker blue shade
in order to make it easier to distinguish between visited/unvisited
URLs.
Jonathan S. Katz [Sat, 21 Apr 2018 00:34:39 +0000 (20:34 -0400)]
Fix broken link on "About" page to tutorial.
Jonathan S. Katz [Sat, 21 Apr 2018 00:18:29 +0000 (20:18 -0400)]
CSS changes related to mailing list message view fix.
The CSS will help with the mobile scrolling / viewport wrapping
of text.
Jonathan S. Katz [Fri, 20 Apr 2018 22:22:39 +0000 (18:22 -0400)]
Update language on "Contact" page related to donations.
Jonathan S. Katz [Fri, 20 Apr 2018 22:16:31 +0000 (18:16 -0400)]
Add more references on how to report bugs and security issues.
Based on user feedback, it was challenging to find how to do so.
This should make it a little easier.
xenophenes [Thu, 19 Apr 2018 23:45:38 +0000 (16:45 -0700)]
Add View Archives button to mailing lists box
Jonathan S. Katz [Thu, 19 Apr 2018 03:17:47 +0000 (23:17 -0400)]
CSS changes to go with pgarchives changes for easier scrolling
Jonathan S. Katz [Thu, 19 Apr 2018 02:27:00 +0000 (22:27 -0400)]
Change submit button on "Submit a Bug" to "Submit and Send Email"
Jonathan S. Katz [Wed, 18 Apr 2018 20:21:10 +0000 (16:21 -0400)]
Add CSS styles for pgarchives changes.
This is because there is some shared infrastructure between the
two apps.
Magnus Hagander [Wed, 18 Apr 2018 19:08:54 +0000 (21:08 +0200)]
Fix typo
Magnus Hagander [Wed, 18 Apr 2018 16:37:04 +0000 (18:37 +0200)]
Add label for the search term box
This is in particular needed when there is already something there --
the placeholder is only shown on an empty form.
Magnus Hagander [Wed, 18 Apr 2018 16:32:21 +0000 (18:32 +0200)]
Remove duplicated list dropdown
Jonathan S. Katz [Wed, 18 Apr 2018 16:26:02 +0000 (12:26 -0400)]
Fix for rendering of search results.
Author: Sarah Conway <sarah.conway@crunchydata.com>
Jonathan S. Katz [Wed, 18 Apr 2018 16:12:35 +0000 (12:12 -0400)]
Wrap search results in a <p> block.
The search results need a bit more work to look modern, but this
will alleviate formatting issues.
Jonathan S. Katz [Mon, 16 Apr 2018 04:03:55 +0000 (00:03 -0400)]
Updated "License" page with modern design and structure.
This also changes some of the language around "Why our License"
to provide more context around why the community chose our license
and where to find out more information about the license.
Jonathan S. Katz [Mon, 16 Apr 2018 04:02:47 +0000 (00:02 -0400)]
Updated survey results page with modern design.
Jonathan S. Katz [Mon, 16 Apr 2018 04:01:35 +0000 (00:01 -0400)]
Updated "Search" pages with modern design.
Jonathan S. Katz [Mon, 16 Apr 2018 03:59:49 +0000 (23:59 -0400)]
Updated Support, Security, and Versioning with modern design.
Authors: Sarah Conway <sarah.conway@crunchydata.com> andme.