Magnus Hagander [Sun, 11 Nov 2012 15:12:09 +0000 (16:12 +0100)]
Make the mailinglist subscription form csrf exempt, so it works again
Marti Raudsepp [Wed, 7 Nov 2012 21:20:09 +0000 (23:20 +0200)]
CSRF verification failure now returns HTTP 403 Forbidden, not 200 OK
Marti Raudsepp [Wed, 7 Nov 2012 21:14:21 +0000 (23:14 +0200)]
Fix small bug in api_varnish_purge error path
HttpServerError is a function that returns HttpResponse, not an
exception.
Marti Raudsepp [Wed, 7 Nov 2012 21:11:21 +0000 (23:11 +0200)]
Update @ssl_required decorator to play nice with other decorators
The decorator now retains all attributes of the original view and adds a
new 'view.ssl_required = True' attribute.
Marti Raudsepp [Wed, 7 Nov 2012 20:01:33 +0000 (22:01 +0200)]
Fix CSRF verification in /admin/mergeorg/ and /admin/purge/
All templates using {% csrf_token %} need to be rendered with a
RequestContext.
This reverts most of commit
58a08f25901079c309d0713223e12c223b413d2c
Also permit POST requests to /search/ -- these aren't relevant to the
site itself, but this used to be allowed before.
Magnus Hagander [Wed, 7 Nov 2012 19:57:22 +0000 (20:57 +0100)]
Add specific view for handling CSRF failures
This generates the error in a bit nicer way inside our framework,
instead of throwing the default django error.
Magnus Hagander [Wed, 7 Nov 2012 19:57:06 +0000 (20:57 +0100)]
Remove extra closing tag
Magnus Hagander [Wed, 7 Nov 2012 19:29:42 +0000 (20:29 +0100)]
Make links to unsupported versions be rel=nofollow
This should hopefully decrease their scoring a bit in external
search engines.
Magnus Hagander [Wed, 7 Nov 2012 17:43:45 +0000 (18:43 +0100)]
Remove csrf from more views that were broken
Magnus Hagander [Wed, 7 Nov 2012 17:34:47 +0000 (18:34 +0100)]
Exclude CSRF token and check for the bug submission form
Magnus Hagander [Mon, 5 Nov 2012 18:39:01 +0000 (19:39 +0100)]
More complete version of the move of the password views
The previous one missed a number of parameters which caused it to throw
exceptions when used.
Magnus Hagander [Mon, 5 Nov 2012 18:19:13 +0000 (19:19 +0100)]
Make all steps of password reset run over SSL
This requires the creation of views with @require_ssl set that calls
into the core django views. Otherwise, when deployed in production,
the middleware will catch these requests and direct them out of SSL.
This has always been a problem, but it broke probably when we turned on
CSRF protection, since the cookie required is no longer passed through.
Magnus Hagander [Mon, 5 Nov 2012 13:10:39 +0000 (14:10 +0100)]
Enable CSRF protection by default
Most of these forms look pretty benign, but the user profile form, which
includes an SSH key field, certainly needs to be protected.
The survey form is unprotected because it's served over insecure HTTP
and the Varnish proxy strips cookies, which is required by the builtin
CSRF protection.
Marti Raudsepp
Magnus Hagander [Mon, 29 Oct 2012 20:53:05 +0000 (21:53 +0100)]
Try not to crash the ftp browser when there is a directory named README
Magnus Hagander [Wed, 3 Oct 2012 12:19:28 +0000 (14:19 +0200)]
Add (protected) API to queue varnish purge requests
We want an API for this so they end up in the queue with all the other
requests, and get delivered to all our frontends without needing each node
to know about which frontends exist.
Magnus Hagander [Wed, 3 Oct 2012 10:45:06 +0000 (12:45 +0200)]
Add support for varnish purging based on expressions
Previously we would only purge based on URLs, but some of the upcoming
new work requires arbitrary expression purging.
NOTE! Require the creation of the new SQL procecure in the database,
either from varnish.sql or varnish_local.sql depending on if it's prod
or dev.
Jonathan Katz [Tue, 25 Sep 2012 12:25:50 +0000 (13:25 +0100)]
Fix the What's New link.
Magnus Hagander [Mon, 24 Sep 2012 10:55:29 +0000 (12:55 +0200)]
Remove HTML from news archive clips
Would render really badly when we happened to get a header or numbered
list tag or somthing like that. Keep the clips to simple text instead,
while of course keeping the HTML in the main page.
Magnus Hagander [Mon, 24 Sep 2012 10:38:49 +0000 (12:38 +0200)]
When loading the current version of docs, also purge /current/
Magnus Hagander [Mon, 24 Sep 2012 10:35:44 +0000 (12:35 +0200)]
Update shoutbox for new releases
Magnus Hagander [Wed, 19 Sep 2012 16:11:02 +0000 (11:11 -0500)]
Set shorter cache on the sponsor page, so they rotate faster
Magnus Hagander [Wed, 19 Sep 2012 16:06:12 +0000 (11:06 -0500)]
Randomize order of sponsors, instead of using alphabetical order
Obviously just random within each group, with the groups still being
sorted the same way as before.
Stefan Kaltenbrunner [Mon, 17 Sep 2012 18:07:03 +0000 (20:07 +0200)]
urgs - if you commit something ending in ".jpg" better make sure it is actually one...
Stefan Kaltenbrunner [Mon, 17 Sep 2012 18:02:11 +0000 (20:02 +0200)]
conova changed its CI more than 3 years ago - update the logo to reflect that
Dave Page [Mon, 17 Sep 2012 13:07:48 +0000 (08:07 -0500)]
Update the hub.org logo, and add Rackspace.
Dave Page [Mon, 17 Sep 2012 12:59:42 +0000 (07:59 -0500)]
Remove sponsorship level descriptions.
Dave Page [Sat, 15 Sep 2012 16:16:48 +0000 (12:16 -0400)]
More sponsor logo updates.
Dave Page [Sat, 15 Sep 2012 16:06:46 +0000 (12:06 -0400)]
Fix logo width.
Dave Page [Sat, 15 Sep 2012 15:57:40 +0000 (11:57 -0400)]
Shrink the PGX logo to a slightly more usable size.
Dave Page [Sat, 15 Sep 2012 15:56:24 +0000 (11:56 -0400)]
More sponsor logos.
Dave Page [Sat, 15 Sep 2012 15:47:08 +0000 (11:47 -0400)]
Add PGX logo
Dave Page [Sat, 15 Sep 2012 15:44:55 +0000 (11:44 -0400)]
Update SRA logo
Dave Page [Sat, 15 Sep 2012 15:43:10 +0000 (11:43 -0400)]
Update EDB logo
Dave Page [Sat, 15 Sep 2012 15:38:19 +0000 (11:38 -0400)]
First sponsor updates
Magnus Hagander [Thu, 13 Sep 2012 14:09:42 +0000 (16:09 +0200)]
Remove pgfoundry reference from frontpage
We still have references elsehwere, but we don't want to push
"prime location" links there when it's in it's current state.
Per discussion.
Magnus Hagander [Mon, 10 Sep 2012 12:26:21 +0000 (14:26 +0200)]
Fix link for ukranian
Magnus Hagander [Mon, 10 Sep 2012 12:02:19 +0000 (14:02 +0200)]
Add small tool to run w3c validator on local pages before deployment
Magnus Hagander [Mon, 10 Sep 2012 11:16:18 +0000 (13:16 +0200)]
Redirect /downloads/ to /download/
Seems Berkus managed to push a broken link in the press release...
Magnus Hagander [Mon, 10 Sep 2012 11:05:57 +0000 (13:05 +0200)]
Update beta and roadmap pages for 9.3
Magnus Hagander [Mon, 10 Sep 2012 10:58:27 +0000 (12:58 +0200)]
Too much copy/paste makes for wrong links to PDFs. Oops.
Magnus Hagander [Mon, 10 Sep 2012 10:55:27 +0000 (12:55 +0200)]
Fix broken HTML
Magnus Hagander [Mon, 10 Sep 2012 10:55:20 +0000 (12:55 +0200)]
Doc links updates for 9.2
Magnus Hagander [Mon, 10 Sep 2012 10:26:53 +0000 (12:26 +0200)]
Oops. Title should go in title field...
Magnus Hagander [Mon, 10 Sep 2012 10:24:35 +0000 (12:24 +0200)]
New shoutbox for 9.2 from Josh Berkus, and updated link to news item
Magnus Hagander [Mon, 10 Sep 2012 10:10:09 +0000 (12:10 +0200)]
Fix broken HTML in misc press files
Magnus Hagander [Mon, 10 Sep 2012 10:09:58 +0000 (12:09 +0200)]
Fix broken links in presskit
Magnus Hagander [Mon, 10 Sep 2012 08:49:31 +0000 (10:49 +0200)]
Regional contact list update
Magnus Hagander [Mon, 10 Sep 2012 08:46:40 +0000 (10:46 +0200)]
Presskit and FAQ updates for 9.2
Josh Berkus and a number of translators/regional contacts
Magnus Hagander [Fri, 7 Sep 2012 07:51:24 +0000 (09:51 +0200)]
Oops, documentation should not refer to RPMs that are not for production use
My bad :(
Magnus Hagander [Thu, 6 Sep 2012 16:41:04 +0000 (18:41 +0200)]
Fix link
Bruce Momjian
Magnus Hagander [Wed, 5 Sep 2012 20:34:28 +0000 (22:34 +0200)]
Replace broken link to "Share your story"
Magnus Hagander [Tue, 4 Sep 2012 16:32:04 +0000 (18:32 +0200)]
Add back the backend flowchart to the website
Bruce Momjian, with surprisingly few modifications by me
Magnus Hagander [Tue, 4 Sep 2012 13:05:57 +0000 (15:05 +0200)]
Add form to search for git commit hashes
Magnus Hagander [Mon, 27 Aug 2012 12:21:13 +0000 (14:21 +0200)]
Small changes, beta -> rc
Magnus Hagander [Tue, 21 Aug 2012 10:17:21 +0000 (12:17 +0200)]
Don't include old ssh keys when new ones exist
This would cause a UNIQUE violation on the git server...
Magnus Hagander [Fri, 17 Aug 2012 10:05:36 +0000 (12:05 +0200)]
Updates for new releases out today
Including security updates
Magnus Hagander [Wed, 15 Aug 2012 12:11:53 +0000 (14:11 +0200)]
Add description for postgres.app to the download page
Mattt Thompson
Magnus Hagander [Fri, 10 Aug 2012 11:05:00 +0000 (13:05 +0200)]
Ad dback links to OpenSCG cross-disto package downloads
Magnus Hagander [Fri, 10 Aug 2012 10:43:18 +0000 (12:43 +0200)]
Move headers into include files - no need for duplication
Dave Page [Mon, 6 Aug 2012 12:27:53 +0000 (13:27 +0100)]
Update for 9.2b3
Magnus Hagander [Thu, 12 Jul 2012 10:58:14 +0000 (12:58 +0200)]
Add the RPM signing key to the pgweb repository
This is done so people can get it using https, and verify the extra
trust.
Magnus Hagander [Wed, 11 Jul 2012 16:05:28 +0000 (18:05 +0200)]
Include listgroup sortkey in the JSON API
Magnus Hagander [Wed, 11 Jul 2012 09:42:18 +0000 (11:42 +0200)]
Make stackbuilder dependencies into a comma separated textfield
The "true dependencies" usign db relationships were too strict for
reality - multiple entries can have the same textid, and that's what
we need to depend on. Resolving it for platform is handled in the
StackBuilder client.
This update requires the following SQL to be run in the database:
DROP TABLE downloads_stackbuilderapp_dependencies;
ALTER TABLE downloads_stackbuilderapp ADD COLUMN txtdependencies varchar(1000) NOT NULL DEFAULT '';
ALTER TABLE downloads_stackbuilderapp ALTER COLUMN txtdependencies DROP DEFAULT;
Closes #167
Magnus Hagander [Fri, 6 Jul 2012 08:06:30 +0000 (10:06 +0200)]
Make sure new_notification is actually in POST before we try to use it
Magnus Hagander [Sun, 1 Jul 2012 12:28:18 +0000 (14:28 +0200)]
Put sourcecode first in the snapshots page
Per comments from Josh Berkus
Magnus Hagander [Sun, 1 Jul 2012 12:25:32 +0000 (14:25 +0200)]
Restructure download sections to be clearer
In particular, split up the linux instructions into different pages
for different distributions, since they are very differnt, and in
general try to include more detail.
There are still some OSes that definitely need more info, but this
is more than we had before...
Magnus Hagander [Fri, 29 Jun 2012 12:14:43 +0000 (14:14 +0200)]
Set verbose name on more organisation fields
Magnus Hagander [Fri, 29 Jun 2012 12:13:03 +0000 (14:13 +0200)]
One more spot missed when renaming organisation field
Magnus Hagander [Tue, 26 Jun 2012 13:14:52 +0000 (15:14 +0200)]
Override builting delete_selected action with one that does notifies
This should fix the problem where notifications weren't sent for objects
being deleted through the "mass deletion" function in the list of objects.
Closes #121
Magnus Hagander [Tue, 26 Jun 2012 12:59:35 +0000 (14:59 +0200)]
Oops, missed a number of references to publisher :O
Magnus Hagander [Tue, 26 Jun 2012 12:50:30 +0000 (14:50 +0200)]
Add missing comment
Magnus Hagander [Tue, 26 Jun 2012 12:32:13 +0000 (14:32 +0200)]
Rename publisher->org in Product model
This is requied to support notifications, and good for consistency
in general.
Magnus Hagander [Tue, 26 Jun 2012 12:25:38 +0000 (14:25 +0200)]
Rename organisation->org in ProfessionalService model
This is requied to support notifications, and good for consistency
in general.
Magnus Hagander [Tue, 26 Jun 2012 12:25:03 +0000 (14:25 +0200)]
Support PgAdmin classes that don't have markdown fields
Magnus Hagander [Tue, 26 Jun 2012 12:11:22 +0000 (14:11 +0200)]
Implement ability for moderators to send notices to organisations
Notices entered will be sent to the organisations email address - so there
needs to be one (if not, the notification field doesn't show up).
Notifications also go in the database, and show up on each object so you
can see the previous history of it, and get emailed to the slaves list.
Finally, it's possible to reject-with-notification, in which case the
notification is sent off to the user and after that the object is deleted.
The notification history stays in the database, but is not linked anywhere
(but can be viewed from the admin interface on that model directly).
Unfortunately, this seems to cause double notifications to the slaves list,
but we'll have to live with that for now.
Closes #137
Magnus Hagander [Tue, 26 Jun 2012 11:51:35 +0000 (13:51 +0200)]
Properly include superblock in news articles
In passing, use <h4> for the header to make it a bit more clear what's
going on.
Magnus Hagander [Tue, 26 Jun 2012 10:43:31 +0000 (12:43 +0200)]
Rename MarkdownPreviewAdmin to PgwebAdmin
This is in preparation for adding more functionality to it...
Magnus Hagander [Wed, 13 Jun 2012 07:00:36 +0000 (09:00 +0200)]
Redirect interactive devel docs to static instead of giving error
Per suggestion from Josh Kupershmidt
Dave Page [Mon, 11 Jun 2012 19:06:26 +0000 (20:06 +0100)]
Clarify Linux platform support for the installers.
Dave Page [Mon, 11 Jun 2012 19:03:00 +0000 (20:03 +0100)]
Clarify Mac platform support.
Magnus Hagander [Sun, 10 Jun 2012 14:08:20 +0000 (16:08 +0200)]
Fix incorrect URL to software catalogue submission
Magnus Hagander [Sun, 10 Jun 2012 11:25:42 +0000 (13:25 +0200)]
Add information about OpenBSD packages/ports
Magnus Hagander [Sun, 10 Jun 2012 11:20:01 +0000 (13:20 +0200)]
Set proper classes on tables of contributors
Should fix the missing rounded corners...
Thom Brown [Wed, 6 Jun 2012 12:46:41 +0000 (13:46 +0100)]
Add separator between supported and unsupported version links in docs.
Magnus Hagander [Tue, 5 Jun 2012 10:28:38 +0000 (12:28 +0200)]
Fix XHTML syntax
Magnus Hagander [Tue, 5 Jun 2012 10:28:20 +0000 (12:28 +0200)]
Move </div> outside {%if%}, since it's opened outside the if...
Magnus Hagander [Tue, 5 Jun 2012 10:24:06 +0000 (12:24 +0200)]
Show links to other versions of docs
Main patch from Marti Raudsepp, but with some fairly extensive changes
Magnus Hagander [Tue, 5 Jun 2012 09:36:43 +0000 (11:36 +0200)]
Detect HTML in markdown submission forms
This will do simple html detection based on trivial regexps. If HTML is found,
it will replace it with HTML_REMOVED and also show a warning (in red color,
no less) that this is not permitted.
The actual filtering is still done server-side later, so the fact that these
regexps are trickable if you really want to doesn't matter...
Fixes #164
Magnus Hagander [Mon, 4 Jun 2012 15:15:43 +0000 (17:15 +0200)]
Fix name of pgcrypto module
Reported by Peter E
Magnus Hagander [Mon, 4 Jun 2012 10:20:29 +0000 (12:20 +0200)]
Fix cut/paste error in URL
Magnus Hagander [Mon, 4 Jun 2012 10:00:38 +0000 (12:00 +0200)]
New releases out, 9.1.4 and friends
Magnus Hagander [Mon, 4 Jun 2012 07:44:04 +0000 (09:44 +0200)]
New sizes for PDF files
Magnus Hagander [Mon, 4 Jun 2012 07:43:37 +0000 (09:43 +0200)]
Description of security vulns in new release
Magnus Hagander [Sun, 3 Jun 2012 10:29:02 +0000 (12:29 +0200)]
Add generic PHP code for decryption/parsing
In general, you're better off looking at the mediawiki plugin which
is a bit more complete..
Magnus Hagander [Sun, 3 Jun 2012 10:26:33 +0000 (12:26 +0200)]
Add a help text to communtity auth title
I keep forgetting that it's end-user-visible myself, so I'm sure others
using it in the future could be equally confused :-)
Magnus Hagander [Sun, 3 Jun 2012 10:20:40 +0000 (12:20 +0200)]
Add community auth v2 provider for mediawiki
Magnus Hagander [Sun, 27 May 2012 19:07:06 +0000 (21:07 +0200)]
Add feature matrix entry for 9.2, hide 7.4 for layout reasons
Requires manual sql to be run on all installations:
BEGIN;
ALTER TABLE featurematrix_feature ADD COLUMN v92 int;
UPDATE featurematrix_feature SET v92=v91;
ALTER TABLE featurematrix_feature ALTER COLUMN v92 SET NOT NULL;
COMMIT;
Magnus Hagander [Sun, 27 May 2012 19:05:36 +0000 (21:05 +0200)]
Make it possible to turn off visibilty of versions in the feature matrix
Turn the feature matrix fields into their own class and add a paramter
for visible_default to it. Turning this off will hide them from view.
In the future this could be expanded to make it dynamic, but for now let's
just stick to being able to statically hide them.
Magnus Hagander [Sun, 27 May 2012 09:09:34 +0000 (11:09 +0200)]
Replace out of date list of technical features with link to the feature matrix
Josh Kupershmidt
Magnus Hagander [Fri, 25 May 2012 11:10:58 +0000 (13:10 +0200)]
Add redmine community auth plugin
Written by Alex Shulgin (ash at commandprompt.com)