pgweb.git
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.

9 years agoMore https fixes for search crawler
Magnus Hagander [Wed, 25 May 2016 13:43:54 +0000 (15:43 +0200)]
More https fixes for search crawler

9 years agoUpdate for https
Magnus Hagander [Wed, 25 May 2016 13:37:32 +0000 (15:37 +0200)]
Update for https

Uncommented "add length 7" to array deindex seems to have come from it
being the length of http://. Now changed to https://, so change the
length as well, and properly comment it.

9 years agoUpdate w3 links to be https
Magnus Hagander [Tue, 24 May 2016 20:12:40 +0000 (22:12 +0200)]
Update w3 links to be https

9 years agoIssue purges over https
Magnus Hagander [Tue, 24 May 2016 19:46:55 +0000 (21:46 +0200)]
Issue purges over https

9 years agoFix embarassing typo
Magnus Hagander [Tue, 24 May 2016 19:42:31 +0000 (21:42 +0200)]
Fix embarassing typo

That's what happens when a commit is not properly tested

9 years agoAllow logins in /admin/ as well
Magnus Hagander [Tue, 24 May 2016 19:39:22 +0000 (21:39 +0200)]
Allow logins in /admin/ as well

Required for our custom admin pages.

9 years agoReplace login_required decorator with a validating one
Magnus Hagander [Mon, 23 May 2016 17:30:22 +0000 (19:30 +0200)]
Replace login_required decorator with a validating one

This one will validate that the url is under /accounts/, which is
the only part we are going to be excluding from caching once we
move the website to https-only.

9 years agoRemove the "is behind cache" functionality
Magnus Hagander [Sat, 21 May 2016 17:15:40 +0000 (13:15 -0400)]
Remove the "is behind cache" functionality

We're always behind cache now (we may or may not be cached, but that's
not what this check was about)

9 years agoFix robots.txt in https only scenario
Magnus Hagander [Sat, 21 May 2016 17:15:11 +0000 (13:15 -0400)]
Fix robots.txt in https only scenario

We now allow all searching

9 years agoSecure csrf tokens
Magnus Hagander [Fri, 20 May 2016 20:10:42 +0000 (16:10 -0400)]
Secure csrf tokens

Since we have no forms over non-http now, make sure the cookies are
locked

9 years agoRemove SSL decorators and middleware
Magnus Hagander [Thu, 19 May 2016 17:44:06 +0000 (13:44 -0400)]
Remove SSL decorators and middleware

The site is now served regardless of SSL, and assumes that the webserver
or web cache ensures that things rae always SSL.

9 years agoRemove SSL optional tag
Magnus Hagander [Thu, 19 May 2016 17:34:44 +0000 (13:34 -0400)]
Remove SSL optional tag

9 years agoChange more http -> https
Magnus Hagander [Thu, 19 May 2016 17:32:43 +0000 (13:32 -0400)]
Change more http -> https

9 years agoUpdate sitemap URLs for https
Magnus Hagander [Thu, 19 May 2016 17:26:32 +0000 (13:26 -0400)]
Update sitemap URLs for https

9 years agoRemove workaround for django bug #15152.
Magnus Hagander [Thu, 19 May 2016 18:23:09 +0000 (14:23 -0400)]
Remove workaround for django bug #15152.

This bug is fixed before django 1.8, so remove our workaround which
should now be unnecessary.

9 years agoRemove workaround for persistent admin filters
Magnus Hagander [Thu, 19 May 2016 18:19:45 +0000 (14:19 -0400)]
Remove workaround for persistent admin filters

Persistent admin filters are fixed in django 1.8

9 years agoReplace old presskit docs/interactive links with docs/static
Magnus Hagander [Thu, 19 May 2016 15:42:13 +0000 (11:42 -0400)]
Replace old presskit docs/interactive links with docs/static

They would still work with a redirect, but it's nicer to avoid having
to do that.

9 years agoReplace interactive docs with docs bug reporting
Magnus Hagander [Thu, 19 May 2016 14:42:44 +0000 (10:42 -0400)]
Replace interactive docs with docs bug reporting

Per discussion from a long time ago, interactive docs aren't really
working out. The majority of submissions are either support questions
(which then get rejected because they cannot be answered in this
context) or pointing out docs incorrectnesses (which should be submitted
as a docs bug instead, so they can actually be fixed in the main
documentation).

Old references to /interactive/ will get redirected to /static/
automatically, and we expect to keep doing that for a long time (since
there are many links to them around the net).

9 years agoRemove empty struct.py file
Magnus Hagander [Wed, 18 May 2016 14:11:34 +0000 (10:11 -0400)]
Remove empty struct.py file

No longer used since the change of the bug form to be under /account/,
but an empty struct.py file causes sitemap to fail.

9 years agoMove submitbug under /account/
Magnus Hagander [Tue, 17 May 2016 21:37:09 +0000 (17:37 -0400)]
Move submitbug under /account/

In passing make it require ssl, make it no longer csrf-exempt,
and make it require a login so we don't let unauthenticated emails
through.

9 years agoRemove "upcoming release date" for releases just made
Magnus Hagander [Tue, 17 May 2016 18:16:27 +0000 (14:16 -0400)]
Remove "upcoming release date" for releases just made

9 years agoToken generation for new account now matches new password reset code.
Jonathan S. Katz [Mon, 16 May 2016 15:21:47 +0000 (11:21 -0400)]
Token generation for new account now matches new password reset code.

9 years agoPass in "last_login" explicitly when creating User account.
Jonathan S. Katz [Mon, 16 May 2016 14:44:51 +0000 (10:44 -0400)]
Pass in "last_login" explicitly when creating User account.

9 years agoAdd missing import
Magnus Hagander [Sun, 15 May 2016 18:56:45 +0000 (20:56 +0200)]
Add missing import

9 years agoRemove pwn module and links
Magnus Hagander [Sat, 14 May 2016 20:17:07 +0000 (22:17 +0200)]
Remove pwn module and links

The pwn module has never been used, as the pwn are simply sent to
-announce and nothing else. We've kept the code and model around for
doing it on the site for years now and it's unused, so let's remove it
to cut down on maintenance cost.

9 years agoMore fixes for today -> today()
Magnus Hagander [Sat, 14 May 2016 19:50:15 +0000 (21:50 +0200)]
More fixes for today -> today()

9 years agoRemove old mirror selection code and data
Magnus Hagander [Sat, 14 May 2016 19:42:38 +0000 (21:42 +0200)]
Remove old mirror selection code and data

This has not been used for many years now, so let's get rid of
it to save some maintenance.

9 years agotoday() is a function
Magnus Hagander [Sat, 14 May 2016 19:27:07 +0000 (21:27 +0200)]
today() is a function

Callables in querysets are deprecated, so make sure we don't end
up using them unintentionally...

9 years agoFixed "reset password" pattern matcher to match the Django 1.8 method for generating...
Jonathan S. Katz [Sat, 14 May 2016 19:07:09 +0000 (15:07 -0400)]
Fixed "reset password" pattern matcher to match the Django 1.8 method for generating and reading reset password tokens.

9 years agoUpdated "requirements.txt" with Django 1.8.13 and django_markwhat 1.4 referenced
Jonathan S. Katz [Sat, 14 May 2016 18:53:52 +0000 (14:53 -0400)]
Updated "requirements.txt" with Django 1.8.13 and django_markwhat 1.4 referenced

9 years agoStop using request.REQUEST
Magnus Hagander [Sat, 14 May 2016 18:47:47 +0000 (20:47 +0200)]
Stop using request.REQUEST

This is now deprecated and we should use request.GET instead.

9 years agoAvoid returning NULL in nagios monitor
Magnus Hagander [Sat, 14 May 2016 18:41:58 +0000 (20:41 +0200)]
Avoid returning NULL in nagios monitor

9 years agoSubstitute "request.raw_post_data" with the new attribute "request.body"
Jonathan S. Katz [Sat, 14 May 2016 18:27:25 +0000 (14:27 -0400)]
Substitute "request.raw_post_data" with the new attribute "request.body"

9 years agoSimplify update script now that we're on uwsgi
Magnus Hagander [Sat, 14 May 2016 18:17:14 +0000 (20:17 +0200)]
Simplify update script now that we're on uwsgi

9 years agoRemove old migrate commands, not been used for years
Magnus Hagander [Thu, 28 Apr 2016 14:57:14 +0000 (16:57 +0200)]
Remove old migrate commands, not been used for years

9 years agoMove django-inteacting tools to be management commands
Magnus Hagander [Thu, 28 Apr 2016 14:56:34 +0000 (16:56 +0200)]
Move django-inteacting tools to be management commands

Much easier to execute them in the correct environment now that we have
proper management commands in django.

9 years agoAdd migrations for all existing models
Magnus Hagander [Thu, 28 Apr 2016 12:06:28 +0000 (14:06 +0200)]
Add migrations for all existing models

When migrating on existing installations, run the

python manage.py migrate --fake-initial

command.

9 years agoFix default value for language
Magnus Hagander [Thu, 28 Apr 2016 12:03:08 +0000 (14:03 +0200)]
Fix default value for language

Needs to be a static value for it to work properly once we enable
migrations.

9 years agoFix model warnings and deprecations
Magnus Hagander [Thu, 28 Apr 2016 11:22:53 +0000 (13:22 +0200)]
Fix model warnings and deprecations

1. ForeignKey with unique -> OneToOneField
2. IPAddressField -> GenericIPAddressField
3. Fix fields with default=datetime.now() which gives server start time,
   not the insert time (clearly this default was never used, and the
   field was always explicitly set, but it should still not be incorrectly
   defined)

9 years agoFix incorrect use of {% url
Magnus Hagander [Thu, 28 Apr 2016 09:36:00 +0000 (11:36 +0200)]
Fix incorrect use of {% url

Since we don't use it anywhere else, we'll just replace it with a
hardcoded string for now.

9 years agomodule_name has been renamed to model_name
Magnus Hagander [Thu, 28 Apr 2016 09:35:38 +0000 (11:35 +0200)]
module_name has been renamed to model_name

9 years agoDjango no longer ships with buildin markdown
Magnus Hagander [Thu, 28 Apr 2016 09:34:45 +0000 (11:34 +0200)]
Django no longer ships with buildin markdown

Instead, use django_markwhat, the same as we've done for other
postgreslq.org django projects.

9 years agoFix long-standing incorrect select_related parameter
Magnus Hagander [Thu, 28 Apr 2016 09:34:15 +0000 (11:34 +0200)]
Fix long-standing incorrect select_related parameter

This was broken before, but older django versions didn't notice it was
wrong and just ignored it. 1.8 throws an error, so now is a good time to
fix it.