Magnus Hagander [Thu, 28 Apr 2016 09:25:02 +0000 (11:25 +0200)]
Fix URL namespace changes
1. Prefix all our local modules with "pgweb" as required by the new
project layout.
2. Change the django core imports to match 1.8
3. redirect_to has been changed to RedirectView
In passing also tabify the urls file which used a horrible mix of tabs
and spaces. The python standard is spaces, but since the rest of the
pgweb projects uses tabs, make the urls.py files do that as well.
Magnus Hagander [Wed, 27 Apr 2016 17:42:49 +0000 (19:42 +0200)]
Move files and directories for new project layout
Move manage.py up one step, set up a new wsgi.py file, and adjust
relative paths that refer to other directories for the new project
layout that we need to use in django 1.8.
Magnus Hagander [Wed, 27 Apr 2016 11:17:32 +0000 (13:17 +0200)]
Replace pgq with trivial local queue implementation
The queue used for varnish purges has so few entries that it's really
not worth paying the management overhead for skytools/pgq. Instead we
can use a very simple local deamon using LISTEN/NOTIFY to fire them off.
Now include a proper nagios plugin in this package, so we can get rid
of the not-very-nice munin plugin currently used in the deployment.
Dave Page [Thu, 12 May 2016 14:39:32 +0000 (15:39 +0100)]
Fix link
Dave Page [Thu, 12 May 2016 14:30:30 +0000 (15:30 +0100)]
Fix versions per Erik Rijkers
Dave Page [Thu, 12 May 2016 13:08:55 +0000 (14:08 +0100)]
PostgreSQL 9.6 Beta 1, 9.5.2, 9.4.7, 9.3.12, 9.2.16 and 9.1.21
Magnus Hagander [Wed, 27 Apr 2016 12:33:15 +0000 (14:33 +0200)]
Hide 8.0 by default from feature matrix
We're getting too many versions there, so from now on when we add
a new one, we have to remove an old one.
Magnus Hagander [Tue, 26 Apr 2016 13:22:03 +0000 (15:22 +0200)]
Make featurematrix use regular integer fields instead of custom field
The custom fields will give us pain when we upgrade to use django
migrations, and don't really add anything useful to us here.
Magnus Hagander [Wed, 13 Apr 2016 13:15:43 +0000 (15:15 +0200)]
Consistently use standard date formats for news entries
This appears to have become dependent on a django setting that we no
longer set -- and it's best to have a predictable format regardless.
Most things on the frontpage used the standard format, but not news,
leading to an annoyingly inconsistent view.
Magnus Hagander [Mon, 4 Apr 2016 16:28:32 +0000 (18:28 +0200)]
Fix headers on security archives page
Alvaro Herrera
Stefan Kaltenbrunner [Thu, 31 Mar 2016 18:25:35 +0000 (20:25 +0200)]
add xenial (ubuntu 16.04) per Christoph Berg on -www
Magnus Hagander [Thu, 31 Mar 2016 13:36:07 +0000 (15:36 +0200)]
Fix typo
Magnus Hagander [Thu, 31 Mar 2016 11:45:28 +0000 (13:45 +0200)]
New minor releases 9.5.2 and friends
Magnus Hagander [Tue, 29 Mar 2016 20:26:19 +0000 (22:26 +0200)]
Add texts about quarterly releases
Dave Page [Tue, 15 Mar 2016 09:58:25 +0000 (09:58 +0000)]
Fix typo
Magnus Hagander [Mon, 7 Mar 2016 21:02:24 +0000 (22:02 +0100)]
Use difflib to show differences when an object is edited
This makes for a much easier-to-read output, especially when the
modified field is more than one line.
Magnus Hagander [Mon, 7 Mar 2016 20:41:45 +0000 (21:41 +0100)]
Get rid of PgModel, replacing it with simple signals
We were already using signals for everything except delete, and even
in our old version of django the delete signal exists (it didn't exist
when this code was first written).
Django doesn't really like models to be OOP like this, so keeping PgModel
would cause issues with upcoming changes in django 1.8. Using simple functions
is easier, and the actual functionality is replicated straight off.
Dave Page [Mon, 7 Mar 2016 11:38:48 +0000 (11:38 +0000)]
Add PostgreSQL Up and Running (2nd Edition)
Magnus Hagander [Thu, 3 Mar 2016 14:53:10 +0000 (15:53 +0100)]
Properly set encoding for archives search post
Magnus Hagander [Wed, 2 Mar 2016 12:10:05 +0000 (13:10 +0100)]
Remove link that no longer exists
Reported by Chanoch Wiggers
Stefan Kaltenbrunner [Fri, 26 Feb 2016 18:49:40 +0000 (19:49 +0100)]
add wily werewolf and deprecate utopic - per complaint from andres on IRC
Thom Brown [Mon, 22 Feb 2016 09:27:13 +0000 (09:27 +0000)]
Update Google Summer of Code page for 2016.
Dave Page [Fri, 12 Feb 2016 09:09:51 +0000 (09:09 +0000)]
Correct bug severity level.
Dave Page [Fri, 12 Feb 2016 08:55:39 +0000 (08:55 +0000)]
Correct security info, per Noah.
Dave Page [Thu, 11 Feb 2016 13:51:33 +0000 (13:51 +0000)]
Add a couple of books.
Dave Page [Thu, 11 Feb 2016 13:38:39 +0000 (13:38 +0000)]
Release 9.5.1, 9.4.6, 9.3.11, 9.2.15, and 9.1.20
Dave Page [Thu, 11 Feb 2016 09:06:30 +0000 (09:06 +0000)]
Fix link to latest version per Daniel Cristian Cruz
Stefan Kaltenbrunner [Tue, 9 Feb 2016 20:08:39 +0000 (21:08 +0100)]
fix typo - per Daniel Gustafsson on -www
Dave Page [Fri, 29 Jan 2016 17:47:57 +0000 (18:47 +0100)]
Add the core team email address to the core page.
Magnus Hagander [Fri, 29 Jan 2016 11:39:27 +0000 (12:39 +0100)]
Go back to using direct psycopg2 for docs loading
This removes the dependency on django from docload, facilitating
incremental upgrades of the infrastructure.
This now requires a new docload.ini file in the tools/docs directory,
with a section "db" and a setting "dsn".
Stefan Kaltenbrunner [Mon, 11 Jan 2016 19:06:05 +0000 (20:06 +0100)]
add russion presskit
Stefan Kaltenbrunner [Fri, 8 Jan 2016 15:35:46 +0000 (16:35 +0100)]
the next release is not 9.5 any more - now that we have pushed that one out the door
Dave Page [Thu, 7 Jan 2016 14:21:31 +0000 (14:21 +0000)]
Add the Italian press kit.
Dave Page [Thu, 7 Jan 2016 14:06:24 +0000 (14:06 +0000)]
Another URL fix
Dave Page [Thu, 7 Jan 2016 14:03:35 +0000 (14:03 +0000)]
Fix another link
Dave Page [Thu, 7 Jan 2016 13:59:49 +0000 (13:59 +0000)]
Fix URLs
Dave Page [Thu, 7 Jan 2016 13:52:58 +0000 (13:52 +0000)]
Fix alpha page wording following release
Dave Page [Thu, 7 Jan 2016 10:45:04 +0000 (10:45 +0000)]
Update for 9.5
Magnus Hagander [Sat, 26 Dec 2015 17:39:02 +0000 (18:39 +0100)]
Catch "unknown password hashing algoritm errors"
These errors typically happens when someone tries to log in before they
have completed the process by clicking the link in the received email,
so give them an error message showing this.
Dave Page [Fri, 18 Dec 2015 13:28:16 +0000 (13:28 +0000)]
Fix announcement URL & make the title look nicer
Dave Page [Fri, 18 Dec 2015 13:26:02 +0000 (13:26 +0000)]
9.5rc1
Dave Page [Fri, 18 Dec 2015 09:00:19 +0000 (09:00 +0000)]
Update CVE-2015-5289 per Noah.
Magnus Hagander [Thu, 17 Dec 2015 16:36:00 +0000 (17:36 +0100)]
Fix long standing bug in determining remote IP
The check was for is_behind_cache without the (), meaning it always
returned true, which in turn meant we trusted all x-forwarded-for
headers. It was pretty hard to get them into the system, and
we didn't actually use it for anything other than locking survey
submissions, so it's not a big problem.
However, the basic logic was also wrong, as it assumes that all
SSL connections terminate directly at the backend server, which is
not necessarily true anymore.
The new version of the function will trust an X-Forwarded-For as
long as it's set on one of our frontend servers, regardless of if
it's an encrypted connection or not.
Magnus Hagander [Thu, 17 Dec 2015 16:32:52 +0000 (17:32 +0100)]
Add a system_information view available through SSL
Magnus Hagander [Thu, 17 Dec 2015 16:22:20 +0000 (17:22 +0100)]
Remove dead code
Dave Page [Thu, 17 Dec 2015 15:39:05 +0000 (15:39 +0000)]
Fix typo
Magnus Hagander [Thu, 17 Dec 2015 15:38:41 +0000 (16:38 +0100)]
Fully log attempts to log in during cooloff period
Magnus Hagander [Thu, 17 Dec 2015 15:34:18 +0000 (16:34 +0100)]
Implement a "cooloff period" for community authentication
This lets us configure some sites that require accounts to have been
in the system for longer than a certain time before they are allowed
to log in to that site. In particular, the wiki is easy to spam, so
we want those users to be in the system for a while before they can
try something like that.
Requires manual sql to be run on all installations:
ALTER TABLE account_communityauthsite ADD COLUMN cooloff_hours int NOT NULL DEFAULT 0;
Magnus Hagander [Thu, 17 Dec 2015 15:07:18 +0000 (16:07 +0100)]
Generate recaptcha specific tracing
Magnus Hagander [Thu, 17 Dec 2015 14:53:33 +0000 (15:53 +0100)]
Stop including remote IP in recaptcha requests
It only shows our frontend terminators anyway at this point, so it will
be incorrect data. We'll add it back in once that's solved.
Magnus Hagander [Thu, 17 Dec 2015 14:27:31 +0000 (15:27 +0100)]
Fix typo in log message
Magnus Hagander [Thu, 17 Dec 2015 14:25:24 +0000 (15:25 +0100)]
Re-enable registration again
Now with better tracing, so we can figure out what's actually happening.
Magnus Hagander [Thu, 17 Dec 2015 14:25:10 +0000 (15:25 +0100)]
Add more random entropy to data used to generate tokens
Magnus Hagander [Thu, 17 Dec 2015 14:21:11 +0000 (15:21 +0100)]
Add a lot of tracing about account signups
Trying to track down how all these accounts are actually created.
Magnus Hagander [Thu, 17 Dec 2015 13:43:35 +0000 (14:43 +0100)]
Revert "Re-enable captchas now that we have captchas"
Yup, it seems they manage to register even with captchas on the page.
Magnus Hagander [Thu, 17 Dec 2015 13:03:11 +0000 (14:03 +0100)]
Don't crash when browser doesn't have javascript enabled
Instead, just indicate that the captcha is required.
Yes, it sucks to require javascript, but it's at least only for the
signup step...
Magnus Hagander [Thu, 17 Dec 2015 12:57:03 +0000 (13:57 +0100)]
Re-enable captchas now that we have captchas
Let's hope it's not actually recaptcha that is broken..
Magnus Hagander [Thu, 17 Dec 2015 12:53:29 +0000 (13:53 +0100)]
Properly pass remote IP address to recaptcha
In theory, at least, they can make a better decision for people to get past the
captcha with more knowledge. The parameter is currently option, but it's not
unlikely it might become mandatory in the future, so we might as well include it.
Magnus Hagander [Thu, 17 Dec 2015 12:37:49 +0000 (13:37 +0100)]
Implement basic re-captcha handling
I very much hate captchas, but we need something, and using something like
re-captcha for it makes it easy to implement.
Magnus Hagander [Wed, 16 Dec 2015 17:24:56 +0000 (18:24 +0100)]
Attempt a very crude way to stop new signups
Magnus Hagander [Sat, 12 Dec 2015 16:44:22 +0000 (17:44 +0100)]
Replace simpljson imports with json
This has been in standard python since 2.6, and we don't really care
about supporting anything older than that (even our old and soon to
be upgraded environments use 2.7)
Stefan Kaltenbrunner [Mon, 7 Dec 2015 21:33:34 +0000 (22:33 +0100)]
Update entry on the book from Guillaume, per his patch on pgsql-..
Stefan Kaltenbrunner [Mon, 7 Dec 2015 21:30:07 +0000 (22:30 +0100)]
remove ubuntu 10.04/lucid from the ubuntu download page - per report from
Jens Larsson on pgsql-www
Dave Page [Mon, 16 Nov 2015 09:25:32 +0000 (09:25 +0000)]
Add 2UDA to the 3rd party distros download section per -www discussion.
Dave Page [Thu, 12 Nov 2015 19:10:02 +0000 (19:10 +0000)]
9.5 beta 2
Dave Page [Thu, 5 Nov 2015 09:00:40 +0000 (09:00 +0000)]
Use more direct URL, per comments from Heikki
Stefan Kaltenbrunner [Wed, 4 Nov 2015 19:03:08 +0000 (20:03 +0100)]
add a "current" link to the docs page to encourage people to refer to
the "current" docs instead of linking to versioned urls.
Thanks to Amir Rohan for both the idea and the patch!
Magnus Hagander [Wed, 4 Nov 2015 17:17:23 +0000 (18:17 +0100)]
Fix handlig of upper/mixed case email addresses on signup
The validation that the two entered email addresses were the same
did not work properly in this case - only login and other related
pages.
Dave Page [Thu, 8 Oct 2015 14:39:42 +0000 (15:39 +0100)]
Cleanup text a little
Dave Page [Thu, 8 Oct 2015 14:31:35 +0000 (15:31 +0100)]
9.5b1 and backbranch releases.
Magnus Hagander [Wed, 7 Oct 2015 13:54:25 +0000 (15:54 +0200)]
users_keys is a view in production..
Magnus Hagander [Wed, 7 Oct 2015 13:53:36 +0000 (15:53 +0200)]
Drop objects in the correct order..
Magnus Hagander [Tue, 6 Oct 2015 13:00:24 +0000 (15:00 +0200)]
Also get rid of old users_keys table
Magnus Hagander [Tue, 6 Oct 2015 12:55:19 +0000 (14:55 +0200)]
Scrub organizations a bit more, per Stephen
Magnus Hagander [Tue, 6 Oct 2015 12:44:02 +0000 (14:44 +0200)]
Add simple data scrubbing script
This is used when we want a developer copy of the database somewhere.
NOTE! Before use always validate that it's up to date!
Magnus Hagander [Tue, 6 Oct 2015 12:33:10 +0000 (14:33 +0200)]
Remove commented-out references to old clickthrus table
This table is now dropped from the master, so remove it from here
so that nobody tries to re-use that code...
Magnus Hagander [Sat, 3 Oct 2015 11:02:44 +0000 (13:02 +0200)]
Fix how the mailinglist subscription form handles parameters
This was plain broken for things like nomail and digest, but even with
the right syntax it probably did not work right together with the fact
that we require confirmation for subscriptions.
Issue spotted by Amir Rohan, fix suggested by Alvaro Herrera, (broken) code by me
Magnus Hagander [Thu, 24 Sep 2015 14:03:55 +0000 (16:03 +0200)]
Ensure emails are always checked in lowercase
Without this, it seems we can get a failure when the same email
address is entered in different cases on different users.
Magnus Hagander [Mon, 24 Aug 2015 14:35:51 +0000 (16:35 +0200)]
Allow editing of contributor email addresses
Since this is only used as a display field (same as company name)
etc, we allow the contributors to edit them just generating a standard
post-moderation message to the list.
Jonathan S. Katz [Tue, 11 Aug 2015 20:39:46 +0000 (16:39 -0400)]
Updated URL in Press FAQ that was pointing to an incorrect page for PostgreSQL professional services.
David Fetter [Thu, 6 Aug 2015 18:35:06 +0000 (11:35 -0700)]
Adjusted release date for reality
Dave Page [Thu, 6 Aug 2015 12:46:03 +0000 (13:46 +0100)]
9.5 Alpha 2
Magnus Hagander [Fri, 17 Jul 2015 18:01:42 +0000 (20:01 +0200)]
Fix incorrect wording on debian/ubuntu pages
Spotted by Daniel Cristian Cruz
Magnus Hagander [Wed, 8 Jul 2015 12:29:27 +0000 (13:29 +0100)]
Add 9.5 to the feature matrix
Magnus Hagander [Tue, 21 Apr 2015 12:42:42 +0000 (14:42 +0200)]
Return proper errorcodes in django auth plugin example
Instead of raising an exception which will cause both a server log
and an email to be sent, return a proper http 400 message when the
incoming authentication request is bad. This will also show the
proper error message to the client, instead of a generic internal
server error.
Magnus Hagander [Tue, 21 Apr 2015 12:36:54 +0000 (14:36 +0200)]
Remove unused variables
Magnus Hagander [Fri, 27 Mar 2015 19:20:57 +0000 (15:20 -0400)]
Properly show error message on login form
Very strange that nobody noticed earlier that this was missing...
Dave Page [Thu, 2 Jul 2015 14:21:15 +0000 (15:21 +0100)]
Don't list "with comments" docs for test versions.
Dave Page [Thu, 2 Jul 2015 13:57:58 +0000 (14:57 +0100)]
Handle Alpha versions.
Dave Page [Thu, 2 Jul 2015 13:39:09 +0000 (14:39 +0100)]
Missed an 'alpha'.
Dave Page [Thu, 2 Jul 2015 13:35:03 +0000 (14:35 +0100)]
We have Alpha builds at the moment...
Dave Page [Thu, 2 Jul 2015 13:28:37 +0000 (14:28 +0100)]
9.5 Alpha 1
Stefan Kaltenbrunner [Sat, 20 Jun 2015 16:02:20 +0000 (12:02 -0400)]
make php code enclosed by ?php - this makes it work by default on more modern
php/debian
Dave Page [Fri, 12 Jun 2015 12:38:55 +0000 (13:38 +0100)]
PostgreSQL 9.4.4, 9.3.9, 9.2.13, 9.1.18 & 9.0.22 Released!
Dave Page [Thu, 4 Jun 2015 12:54:13 +0000 (13:54 +0100)]
PostgreSQL 9.4.2, 9.3.7, 9.2.11, 9.1.16 & 9.0.20 Released!
Dave Page [Fri, 22 May 2015 13:00:01 +0000 (14:00 +0100)]
PostgreSQL 9.4.2, 9.3.7, 9.2.11, 9.1.16, and 9.0.20 released!
Dave Page [Mon, 18 May 2015 09:58:08 +0000 (10:58 +0100)]
Add core team description.
Devrim Gündüz [Thu, 16 Apr 2015 11:19:46 +0000 (14:19 +0300)]
Add RHEL 7, mention about 9.2 packages in RHEL 6, and reorder from the latest to the oldest.
Per Magnus.
Stefan Kaltenbrunner [Fri, 15 May 2015 17:28:04 +0000 (19:28 +0200)]
split security information into two parts, one for issues in supported versions
and into an archive. Patch from Josh Berkus - very slightly modified by me.
Dave Page [Tue, 14 Apr 2015 08:08:04 +0000 (09:08 +0100)]
Add new books from Packt.