pgweb.git
8 years agoFirst stab at supporting https for generic sites
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.

8 years agoSet textsearch weight on the title of a page
Magnus Hagander [Sun, 2 Apr 2017 13:26:36 +0000 (15:26 +0200)]
Set textsearch weight on the title of a page

8 years agoExplicitly specify the tsearch configuration to use
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.

8 years agoSeems we'v ebroken the "pg" fts config, so disable temporarily
Magnus Hagander [Thu, 23 Mar 2017 16:15:58 +0000 (17:15 +0100)]
Seems we'v ebroken the "pg" fts config, so disable temporarily

8 years agoDon't break when suburl is not specified
Magnus Hagander [Thu, 23 Mar 2017 16:08:41 +0000 (17:08 +0100)]
Don't break when suburl is not specified

8 years agoAdd support for searching in internal pages
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

8 years agoNew column is isinternal, not internal
Magnus Hagander [Thu, 23 Mar 2017 15:43:12 +0000 (16:43 +0100)]
New column is isinternal, not internal

8 years agoMove a bunch of initialization to the parse step
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.

8 years agoTeach search crawler about internal sitemap
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.

8 years agoGenerate internal sitemap including devel docs
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.

8 years agoAdd PostgreSQL High Availability Cookbook 2nd Edition to the book list.
Dave Page [Thu, 9 Mar 2017 09:11:53 +0000 (09:11 +0000)]
Add PostgreSQL High Availability Cookbook 2nd Edition to the book list.

8 years agoIgnore PyCharms project files.
Dave Page [Thu, 9 Mar 2017 09:04:38 +0000 (09:04 +0000)]
Ignore PyCharms project files.

8 years agoAvoid generating empty <ul> tag when no navmenu exists
Daniel Gustafsson [Wed, 8 Mar 2017 03:38:00 +0000 (22:38 -0500)]
Avoid generating empty <ul> tag when no navmenu exists

8 years agoProperly set checked="checked" attribute in search form
Daniel Gustafsson [Sun, 26 Feb 2017 15:14:08 +0000 (16:14 +0100)]
Properly set checked="checked" attribute in search form

8 years agoTrap invalid URLs for submission forms
Magnus Hagander [Sun, 26 Feb 2017 15:09:36 +0000 (16:09 +0100)]
Trap invalid URLs for submission forms

I still haven't figured out where these come from, but generate a proper
404 when the URL is malformatted rather than trying to render it and
crash with an exception

8 years agoTrap SSLError when calling search API
Magnus Hagander [Wed, 22 Feb 2017 12:20:50 +0000 (13:20 +0100)]
Trap SSLError when calling search API

Since we moved to https, timeouts can either be at the socket level or
at the SSL level, so trap both those and give a nicer error than a 500.

8 years agoUpdate roadmap for minor releases
Stephen Frost [Sun, 19 Feb 2017 23:17:33 +0000 (18:17 -0500)]
Update roadmap for minor releases

Probably past time to adjust the roadmap for Upcoming minor
releases to account for the Feb 9 2017 releases.

Remove Feb 9 2017, add Feb 8 2018 to the bottom of the list.

8 years agoReplace references to OSX with macOS
Daniel Gustafsson [Sat, 18 Feb 2017 18:38:45 +0000 (19:38 +0100)]
Replace references to OSX with macOS

8 years agoDisable clean flag in tidy calls on new XML based docs build
Magnus Hagander [Sat, 18 Feb 2017 13:09:57 +0000 (14:09 +0100)]
Disable clean flag in tidy calls on new XML based docs build

Let's see if this cleans up some unintentional formatting

8 years agoDetect both http and https links in feature matrix links
Magnus Hagander [Sat, 18 Feb 2017 12:32:51 +0000 (13:32 +0100)]
Detect both http and https links in feature matrix links

We shouldn't have any http now, and the db will be updated to have only
https, but for safety accept both.

Based on a patch from Daniel Gustafsson

8 years agoUpdate for apt repository key
Magnus Hagander [Wed, 15 Feb 2017 20:00:04 +0000 (21:00 +0100)]
Update for apt repository key

From Christoph Berg

8 years agoFix markup
Daniel Gustafsson [Wed, 15 Feb 2017 16:29:43 +0000 (17:29 +0100)]
Fix markup

8 years agoRemove mention of Alpha releases on download page
Daniel Gustafsson [Wed, 15 Feb 2017 16:28:42 +0000 (17:28 +0100)]
Remove mention of Alpha releases on download page

Commit 42e6854 removed the information on Alpha releases are they
are no longer provided, remove one leftover mention on the download
page.

8 years agoClose the opened div containing survey results
Daniel Gustafsson [Wed, 15 Feb 2017 16:27:32 +0000 (17:27 +0100)]
Close the opened div containing survey results

8 years agoAnd now fix the date
Dave Page [Thu, 9 Feb 2017 14:08:34 +0000 (14:08 +0000)]
And now fix the date

8 years agoFix callout title
Dave Page [Thu, 9 Feb 2017 14:06:48 +0000 (14:06 +0000)]
Fix callout title

8 years agoUpdate for 9.6.2, 9.5.6, 9.4.11, 9.3.16, and 9.2.20 releases
Dave Page [Thu, 9 Feb 2017 14:01:15 +0000 (14:01 +0000)]
Update for 9.6.2, 9.5.6, 9.4.11, 9.3.16, and 9.2.20 releases

8 years agoProperly close blocks
Daniel Gustafsson [Thu, 9 Feb 2017 12:34:02 +0000 (07:34 -0500)]
Properly close blocks

Close two blocks which when left open cause lots of validation
errors on the page. This change should have no visible changes
as all browsers should've fixed the broken markup while redering.

8 years agoArchive GSoC page for 2016 and update to 2017.
Stephen Frost [Thu, 9 Feb 2017 03:35:48 +0000 (22:35 -0500)]
Archive GSoC page for 2016 and update to 2017.

8 years agoFix block-level nesting on event list
Daniel Gustafsson [Mon, 6 Feb 2017 17:40:05 +0000 (18:40 +0100)]
Fix block-level nesting on event list

Replace the <p> element wrapping the rendered event summary with a
<div> since the markdown filter renders <p> elements causing nested
block-levels inside <p>.

8 years agoUse https for git.postgresq.org
Daniel Gustafsson [Sun, 29 Jan 2017 12:34:13 +0000 (13:34 +0100)]
Use https for git.postgresq.org

As a follow-up to 533511081221670e7183dce529c7665cb04a4e5e, move all
git.postgresql.org links on developer/backend to https.

8 years agoChange xhtml namespace back to http
Daniel Gustafsson [Sun, 29 Jan 2017 12:32:17 +0000 (13:32 +0100)]
Change xhtml namespace back to http

URL is working in itself, but the namespace is a diffeent thing from a
webpage.

8 years agoFix old presskit typos
Daniel Gustafsson [Sat, 28 Jan 2017 20:46:01 +0000 (21:46 +0100)]
Fix old presskit typos

8 years agoFix "what's new" link to point to 9.6
Daniel Gustafsson [Sat, 28 Jan 2017 10:07:47 +0000 (11:07 +0100)]
Fix "what's new" link to point to 9.6

8 years agoAdded "PL/pgSQL y otros lenguajes procedurales en PostgreSQL" to books
Jonathan S. Katz [Thu, 19 Jan 2017 20:00:34 +0000 (15:00 -0500)]
Added "PL/pgSQL y otros lenguajes procedurales en PostgreSQL" to books

8 years agoArchives search need to be https by default
Magnus Hagander [Sat, 7 Jan 2017 16:51:07 +0000 (17:51 +0100)]
Archives search need to be https by default

8 years agoUpdate 2ndQuadrant sponsor logo
Magnus Hagander [Wed, 4 Jan 2017 11:19:42 +0000 (12:19 +0100)]
Update 2ndQuadrant sponsor logo

8 years agoFix notifications for ForeignKey fields
Magnus Hagander [Sat, 17 Dec 2016 13:28:01 +0000 (14:28 +0100)]
Fix notifications for ForeignKey fields

Instead of reporting the integer value of the foreign key, we should
report the text value from the related object. This makes the new
submissions more readable, and also makes the system not throw an
exception when trying to diff (as integers cannot be diffed).

THis seems to have broken around the time of the 1.8 upgrade, just went
unnoticed for a long time probably because changing things like which
organization owns a news item doesn't happen very often.

8 years agoDon't pretend that notifications for m2m works
Magnus Hagander [Sat, 17 Dec 2016 13:25:55 +0000 (14:25 +0100)]
Don't pretend that notifications for m2m works

They don't... And there is no easy way to make them work either, given
the way that signals are called for m2ms.

8 years agoDecode emails in the queue
Magnus Hagander [Sat, 17 Dec 2016 13:00:22 +0000 (14:00 +0100)]
Decode emails in the queue

Imported from pgeu. Do simple decoding of emails in the queue instead of
just showing the b64-encoded version in the admin interface. Intended to
help with debugging only.

8 years agoPurge /community/ when changing a survey
Magnus Hagander [Wed, 14 Dec 2016 14:08:32 +0000 (15:08 +0100)]
Purge /community/ when changing a survey

Without this only the survey result page is purged, not the actual
survey form on the main page.

8 years agoEnsure we don't have any trailing slashes when matching paths in the ftp site pickle.
Dave Page [Tue, 6 Dec 2016 13:58:25 +0000 (13:58 +0000)]
Ensure we don't have any trailing slashes when matching paths in the ftp site pickle.

8 years agoHandle symlinks properly in the directory browser.
Dave Page [Wed, 30 Nov 2016 08:48:35 +0000 (17:48 +0900)]
Handle symlinks properly in the directory browser.

This change properly handles symlinks by expanding any it finds in the path
and issuing a redirect to the canonical location.

Whilst we're here, display links as such on the pages, sort directory listings
so the parent link is always at the top, and avoid unnecessary redirects caused
by missing /'s on URLs.

8 years agoFix link to old documentations
Magnus Hagander [Fri, 25 Nov 2016 18:57:03 +0000 (19:57 +0100)]
Fix link to old documentations

This was mistakenly broken in an earlier patch assuming old docs still
had index.html, which they don't.

8 years agoPlanet PostgreSQL is now https
Magnus Hagander [Tue, 22 Nov 2016 20:18:50 +0000 (21:18 +0100)]
Planet PostgreSQL is now https

8 years agoAdded URL to the Israeli PostgreSQL Community
Jonathan S. Katz [Mon, 21 Nov 2016 17:36:22 +0000 (12:36 -0500)]
Added URL to the Israeli PostgreSQL Community

8 years agoSupport loading docs in utf-8 from pg version 10
Magnus Hagander [Wed, 16 Nov 2016 12:00:50 +0000 (13:00 +0100)]
Support loading docs in utf-8 from pg version 10

8 years agoCatch and handle recaptcha API errors
Magnus Hagander [Mon, 14 Nov 2016 17:53:10 +0000 (18:53 +0100)]
Catch and handle recaptcha API errors

Just send the user an API error and they can try again. Better than
internal server error + email to webmaster... Seems to be caused by
intermittent network issues.

8 years agoFix path to manage.py
Dave Page [Mon, 14 Nov 2016 17:07:58 +0000 (17:07 +0000)]
Fix path to manage.py

8 years agoAdd support for documentation built by XSL stylesheets
Peter Eisentraut [Fri, 11 Nov 2016 20:08:49 +0000 (21:08 +0100)]
Add support for documentation built by XSL stylesheets

The class names and in some cases elements differ a bit between DSSSL
and XSL builds.

8 years agoRemove useless trailing whitespace
Peter Eisentraut [Fri, 11 Nov 2016 20:08:14 +0000 (21:08 +0100)]
Remove useless trailing whitespace

8 years agoAdd missing module name
Magnus Hagander [Wed, 9 Nov 2016 22:07:04 +0000 (23:07 +0100)]
Add missing module name

8 years agoTrap integer overflow errors in search query
Magnus Hagander [Wed, 9 Nov 2016 22:00:07 +0000 (23:00 +0100)]
Trap integer overflow errors in search query

This just caused a database error to leak through to the user, but also
flooded the logs.

8 years agoHandle migrated records with NULL in them when building diff
Magnus Hagander [Mon, 7 Nov 2016 19:17:58 +0000 (20:17 +0100)]
Handle migrated records with NULL in them when building diff

9 years agotodays releases are no longer upcoming
Stephen Frost [Thu, 27 Oct 2016 14:27:22 +0000 (10:27 -0400)]
todays releases are no longer upcoming

9 years agoCorrect release date day
Stephen Frost [Thu, 27 Oct 2016 14:16:11 +0000 (10:16 -0400)]
Correct release date day

9 years agoRelease 9.6.1, 9.5.5, 9.4.10, and others.
Stephen Frost [Thu, 27 Oct 2016 13:26:49 +0000 (09:26 -0400)]
Release 9.6.1, 9.5.5, 9.4.10, and others.

9 years agoRemove reference to Ubuntu 15.10 for apt.postgresql.org
Magnus Hagander [Sun, 23 Oct 2016 11:13:18 +0000 (13:13 +0200)]
Remove reference to Ubuntu 15.10 for apt.postgresql.org

Per Jason Petersen and Christoph Berg

9 years agoFix Django version requirement.
Dave Page [Tue, 18 Oct 2016 08:56:34 +0000 (09:56 +0100)]
Fix Django version requirement.

9 years agoUpdate release date to Oct 27th
Stephen Frost [Mon, 17 Oct 2016 14:17:57 +0000 (10:17 -0400)]
Update release date to Oct 27th

Per discussion, we are moving up the next release to October 27th, 2016.

This replaces the planned November 10th release.  No changes to the rest
of the currently announced schedule.

9 years agoAdd German and Indonesian presskit translations from Josh.
Dave Page [Mon, 17 Oct 2016 00:23:27 +0000 (17:23 -0700)]
Add German and Indonesian presskit translations from Josh.

9 years agoAdd header links between the different languges in 9.6 presskit
Magnus Hagander [Sat, 15 Oct 2016 00:29:12 +0000 (17:29 -0700)]
Add header links between the different languges in 9.6 presskit

David Rider, with minor markup fixes from me

9 years agoAdd PostgreSQL Development Essentials book
Dave Page [Tue, 4 Oct 2016 14:51:28 +0000 (15:51 +0100)]
Add PostgreSQL Development Essentials book

9 years agoFix release date that accidentally referenced the wrap date
Magnus Hagander [Sat, 1 Oct 2016 11:10:19 +0000 (13:10 +0200)]
Fix release date that accidentally referenced the wrap date

9 years agoAdd dates for upcoming minor releases
Magnus Hagander [Sat, 1 Oct 2016 11:09:56 +0000 (13:09 +0200)]
Add dates for upcoming minor releases

9 years agoRemove references to Alpha versions, as we don't do them anymore
Magnus Hagander [Sat, 1 Oct 2016 11:08:19 +0000 (13:08 +0200)]
Remove references to Alpha versions, as we don't do them anymore

Also noted by Christoph Berg

9 years agoIt's supposed to be PostgreSQL 10, not 10.0
Magnus Hagander [Sat, 1 Oct 2016 11:06:10 +0000 (13:06 +0200)]
It's supposed to be PostgreSQL 10, not 10.0

Noted by Christoph Berg

9 years agoNext version is no longer 9.6
Magnus Hagander [Sat, 1 Oct 2016 11:03:14 +0000 (13:03 +0200)]
Next version is no longer 9.6

This was missed in the website updates. Assuming that the target so far
is still Q4 2016.

9 years agoAugust is in the past
Magnus Hagander [Thu, 29 Sep 2016 14:20:33 +0000 (16:20 +0200)]
August is in the past

9 years ago9.6 release!
Dave Page [Thu, 29 Sep 2016 09:01:23 +0000 (10:01 +0100)]
9.6 release!

9 years agoFix link titles that were accidentally swapped
Magnus Hagander [Tue, 27 Sep 2016 12:43:18 +0000 (14:43 +0200)]
Fix link titles that were accidentally swapped

Reported by Christoph Berg

9 years agoMake v96 visible in feature matrix
Magnus Hagander [Tue, 27 Sep 2016 12:00:51 +0000 (14:00 +0200)]
Make v96 visible in feature matrix

Per request from Berkus

9 years agoAdd version 9.6 to feature matrix
Magnus Hagander [Thu, 22 Sep 2016 12:57:29 +0000 (14:57 +0200)]
Add version 9.6 to feature matrix

By default it's hidden, and we copy the current value for all features
from 9.5.

9 years agoAdd now mandatory send_notificatins attribute to PUGs
Magnus Hagander [Wed, 21 Sep 2016 20:03:01 +0000 (22:03 +0200)]
Add now mandatory send_notificatins attribute to PUGs

9 years agoFix link to Russian documentation
Magnus Hagander [Thu, 8 Sep 2016 17:11:26 +0000 (19:11 +0200)]
Fix link to Russian documentation

One link was updated and one missed in
df4a433b195a26393f82aad14d22147b9e63c069. This makes them consistent.

Pavel Luzanov

9 years agoUpdate BigSQL links to https, name on linux download page
David Rader [Wed, 7 Sep 2016 19:36:00 +0000 (15:36 -0400)]
Update BigSQL links to https, name on linux download page

9 years agoRelease 9.6rc1
Dave Page [Thu, 1 Sep 2016 13:07:39 +0000 (14:07 +0100)]
Release 9.6rc1

9 years agoUpdate link to Russian version of docs
Magnus Hagander [Wed, 24 Aug 2016 13:00:26 +0000 (15:00 +0200)]
Update link to Russian version of docs

Per note from Ivan Panchenko and discussion on -www

9 years agoFix(ish) notifications for new objects with Unicode in value
Magnus Hagander [Mon, 22 Aug 2016 09:50:21 +0000 (11:50 +0200)]
Fix(ish) notifications for new objects with Unicode in value

Previous code triggered a conversion from unicode to ascii inside the
django framework, which would throw an exception when the object itself
returned unicode in the name.

The new version will work around that by actually checking the primary
key first.

This still doesn't work insofar that any changes to a many2many fields
are now lost. This did not work properly before either, but this
probably made it a bit work. We definitely need to fix this properly at
some point, probably by using the m2m_changed signal handler (but it's
not straight forward as this is now a separate signal and we'll somehow
want to track this indepdendently)

9 years agoFix link to beta4 release announcement
Magnus Hagander [Thu, 18 Aug 2016 10:36:36 +0000 (12:36 +0200)]
Fix link to beta4 release announcement

Umair Shahid

9 years agoFix typo.
Devrim Gündüz [Thu, 11 Aug 2016 14:14:54 +0000 (17:14 +0300)]
Fix typo.

9 years agoRelease 9.6 beta4, 9.5.4, 9.4.9, and others.
Devrim Gündüz [Thu, 11 Aug 2016 14:05:36 +0000 (17:05 +0300)]
Release 9.6 beta4, 9.5.4, 9.4.9, and others.

9 years agoadd docs translated to russian - patch from Pavel Luzanov on -www
Stefan Kaltenbrunner [Wed, 10 Aug 2016 19:58:10 +0000 (21:58 +0200)]
add docs translated to russian - patch from Pavel Luzanov on -www

9 years agofix typo - per David Johnston on -www
Stefan Kaltenbrunner [Wed, 10 Aug 2016 19:25:30 +0000 (21:25 +0200)]
fix typo - per David Johnston on -www

9 years ago* Update Fedora releases to Fedora 23+
Devrim Gündüz [Mon, 1 Aug 2016 21:29:44 +0000 (00:29 +0300)]
* Update Fedora releases to Fedora 23+
* Mention about SCL for RHEL 7+PostgreSQL 9.5 and 9.4
* Mention about dnf for related distros
* Change 9.4's to 9.5
* Add a line about how to start the database
* Mention about groupinstall option.

9 years agoUpdates to the EnterpriseDB installer information on the downloads page.
Jonathan S. Katz [Tue, 26 Jul 2016 20:39:44 +0000 (16:39 -0400)]
Updates to the EnterpriseDB installer information on the downloads page.

This makes changes to the language to the descriptions of the
Linux, OS X, and Windows installers provided by EnterpriseDB.

9 years ago9.6 beta 3 release
Dave Page [Thu, 21 Jul 2016 12:56:41 +0000 (13:56 +0100)]
9.6 beta 3 release

9 years agoMove /selectable/ into /admin/ to avoid caching issues
Magnus Hagander [Thu, 23 Jun 2016 16:06:05 +0000 (18:06 +0200)]
Move /selectable/ into /admin/ to avoid caching issues

Since we only use it for /admin/ for now, we can safely put it there
until we change that.

9 years agoImplement auto-complete for /admin/ forms that reference User
Magnus Hagander [Thu, 23 Jun 2016 15:57:38 +0000 (17:57 +0200)]
Implement auto-complete for /admin/ forms that reference User

We have so many users now that loading these forms take forever.
Instead, implement a textbox with autocomplete using django-selectable,
which will not load the whole list of users at once.

9 years agoImport django-selectable
Magnus Hagander [Thu, 23 Jun 2016 15:56:42 +0000 (17:56 +0200)]
Import django-selectable

This will also be used to do /admin/ autocompletes.

9 years agoImport jquery and jquery-ui
Magnus Hagander [Thu, 23 Jun 2016 15:55:17 +0000 (17:55 +0200)]
Import jquery and jquery-ui

We need these for autocomplete in the admin interface, to come shortly.

9 years agoPostgreSQL 9.6 Beta 2
Dave Page [Thu, 23 Jun 2016 14:07:05 +0000 (15:07 +0100)]
PostgreSQL 9.6 Beta 2

9 years agoChange all 2ndquadrant.com links to https
Magnus Hagander [Wed, 22 Jun 2016 20:11:28 +0000 (22:11 +0200)]
Change all 2ndquadrant.com links to https

Patch from Haroon

9 years agoUpdate description of TurnKey PostgreSQL
Magnus Hagander [Mon, 20 Jun 2016 08:47:39 +0000 (10:47 +0200)]
Update description of TurnKey PostgreSQL

Per suggestion from Jeremy Davis

9 years agoMake the BigSQL download descriptions more accurate
Rader, David [Tue, 14 Jun 2016 13:13:33 +0000 (14:13 +0100)]
Make the BigSQL download descriptions more accurate

9 years agoOpenSCG/BigSQL download packages
David Rader [Fri, 13 May 2016 17:55:48 +0000 (13:55 -0400)]
OpenSCG/BigSQL download packages

9 years agoDon't include /devel/ docs in sitemap
Magnus Hagander [Tue, 31 May 2016 13:25:45 +0000 (15:25 +0200)]
Don't include /devel/ docs in sitemap

This conflicts with what we had in robots.txt, and generates many
thousands of warnings by Google (and possibly others).

9 years agoMake links to git.postgresql.org use https
Magnus Hagander [Mon, 30 May 2016 14:08:04 +0000 (16:08 +0200)]
Make links to git.postgresql.org use https

9 years agoAdd missing import
Magnus Hagander [Wed, 25 May 2016 13:48:01 +0000 (15:48 +0200)]
Add missing import

9 years agoMore ssl for the crawler - don̈́'t verify server cert
Magnus Hagander [Wed, 25 May 2016 13:47:21 +0000 (15:47 +0200)]
More ssl for the crawler - don̈́'t verify server cert

We'll fix verification later, but for now since we're working on a
hardcoded local IP, we don't consider it important.