Magnus Hagander [Thu, 20 Jun 2013 13:16:47 +0000 (15:16 +0200)]
Update community authentication to pass an arbitrary datablock instead of url
This makes it possible to pass URLs that will fail when they end up being double
escaped in some cases, since they contain non-url-safe characters. Instead, they'd
be base64-encoded, and thus safe.
Also update the django community auth provider to do just this, including encrypting
the data with the site secret key to make sure it can't be changed/injected by
tricking the user to go directly to the wrong URL.
Magnus Hagander [Thu, 20 Jun 2013 10:29:27 +0000 (12:29 +0200)]
Fix creation of new objects with notifications that have ManyToMany relationships
This broke in django 1.4 since it fires based on the contents of an error message,
and the message changed. Most visible due to the fact that it completely broke
creation of new organsation objects.
Magnus Hagander [Thu, 20 Jun 2013 09:40:13 +0000 (11:40 +0200)]
Revert to SHA1 hashing for stored passwords
This is required for the old style community auth system that is still
in use by the commitfest app. Once that has been retired or upgraded,
this patch should be reverted.
Existing passwords are automatically converted once the user logs in to
the main website once.
Magnus Hagander [Sun, 16 Jun 2013 19:54:09 +0000 (21:54 +0200)]
Update for new version of feedparser library
Magnus Hagander [Sun, 16 Jun 2013 16:32:06 +0000 (18:32 +0200)]
Exclude the ftp info upload page from CSRF checks
This is a pure PUT from a trusted IP, so it fails with 403 with the
CSRF middleware.
Magnus Hagander [Sun, 16 Jun 2013 15:05:16 +0000 (17:05 +0200)]
Remove safe tag for markdown
Broken in newer versions of django, and since all our content is moderated anyway,
it isn't strictly necessariy for us anyway.
Magnus Hagander [Sat, 25 May 2013 18:34:29 +0000 (14:34 -0400)]
Update docs
Magnus Hagander [Sat, 25 May 2013 18:32:53 +0000 (14:32 -0400)]
Add a pip requirements file for virtualenv deployments
Magnus Hagander [Sat, 25 May 2013 18:17:22 +0000 (14:17 -0400)]
Fix parameters to inherited change_view function
Must be the same as in in the inherited-from class, or we ended up
passing a python dict as a string, and render the contents of it as
the "action" attribute on the form.
Magnus Hagander [Sat, 25 May 2013 18:17:09 +0000 (14:17 -0400)]
Sync up the admin index template with the one from django 1.4
Magnus Hagander [Sat, 25 May 2013 18:16:38 +0000 (14:16 -0400)]
Update contexts and processors for django 1.4
Some requirements from the admin interface are also mandatory now,
so include those.
Magnus Hagander [Sat, 25 May 2013 18:16:07 +0000 (14:16 -0400)]
Switch to using staticfiles app for serving, well, static files
This is required by the new admin interface
Magnus Hagander [Sat, 25 May 2013 18:11:55 +0000 (14:11 -0400)]
Update db settings for new database config format
Magnus Hagander [Sat, 25 May 2013 18:10:39 +0000 (14:10 -0400)]
Switch to using the new feeds framework
Magnus Hagander [Sat, 15 Jun 2013 09:20:17 +0000 (11:20 +0200)]
Remove mention of news server, since it doesn't exist anymore
Magnus Hagander [Sun, 9 Jun 2013 18:22:31 +0000 (20:22 +0200)]
Don't crash when valid enddate and invalid startdate is entered for event
When startdate is cleaned and invalid it's removed from cleaned_data, so
we cannot test it in clean_enddate.
Peter Eisentraut [Wed, 5 Jun 2013 07:19:10 +0000 (08:19 +0100)]
Add Homebrew to the Mac OS X download page.
Stefan Kaltenbrunner [Sun, 26 May 2013 23:59:03 +0000 (19:59 -0400)]
fix a minor typo
Stefan Kaltenbrunner [Sun, 26 May 2013 23:58:09 +0000 (19:58 -0400)]
change example rewrite rules to something that also catches the "nocache"
versions of the mw pages
Stefan Kaltenbrunner [Sun, 26 May 2013 17:31:00 +0000 (13:31 -0400)]
remove the code to add default user_options for the upcoming MW 1.19 upgrade
user preferences in MW pos 1.18 got moved to a seperate table and only stuff
that is _NOT_ default should be stored there. Despite what the documentation
says actually having data left in user_options is harmful and will break
random functionality like preference handling
Stefan Kaltenbrunner [Sun, 26 May 2013 16:34:47 +0000 (12:34 -0400)]
add 9.3 to the feature matrix so that thom can start updating it
Magnus Hagander [Tue, 21 May 2013 18:07:01 +0000 (14:07 -0400)]
Prevent event swith enddate before startdate
Magnus Hagander [Tue, 21 May 2013 18:05:06 +0000 (14:05 -0400)]
Prevent changing of dates on already approved news and events
Since this can be used to bypass moderator approval and move items
to the frontpage of the site, they're blocked. We still allow the user
to make corrections in the text and other such fields.
Dave Page [Wed, 15 May 2013 14:43:38 +0000 (15:43 +0100)]
Add new books from Packt
Dave Page [Mon, 13 May 2013 11:04:48 +0000 (12:04 +0100)]
Announce 9.3b1
Dave Page [Fri, 10 May 2013 08:27:00 +0000 (09:27 +0100)]
Release, but don't announce 9.3 beta 1
Jonathan S. Katz [Wed, 8 May 2013 20:37:06 +0000 (16:37 -0400)]
Proper appending of pug list
Jonathan S. Katz [Wed, 8 May 2013 20:25:24 +0000 (16:25 -0400)]
Fixed indentation on pugs/views
Magnus Hagander [Wed, 8 May 2013 20:13:12 +0000 (22:13 +0200)]
Fix indentation
Magnus Hagander [Wed, 8 May 2013 20:10:51 +0000 (22:10 +0200)]
Properly purge pugs list from cache when objects are edited
Magnus Hagander [Wed, 8 May 2013 20:07:30 +0000 (22:07 +0200)]
Add usergroup listing module
Jonathan Katz
Thom Brown [Tue, 9 Apr 2013 12:53:35 +0000 (13:53 +0100)]
Update GSoC to reflect the fact that we have now been accepted for 2013.
Magnus Hagander [Mon, 8 Apr 2013 18:00:06 +0000 (20:00 +0200)]
Specify that Fedora 18 has PostgreSQL 9.2
Per Devrim
Magnus Hagander [Sun, 7 Apr 2013 19:56:39 +0000 (21:56 +0200)]
Change reference to release time to be past tense
Dave Page [Thu, 4 Apr 2013 17:22:25 +0000 (18:22 +0100)]
Update PDF sizes for 8.4.17, 9.0.13, 9.1.9 and 9.2.4.
Dave Page [Thu, 4 Apr 2013 15:30:10 +0000 (16:30 +0100)]
Include the version numbers in the release, on the FAQ.
Selena Deckelmann [Thu, 4 Apr 2013 14:02:57 +0000 (07:02 -0700)]
Wording tweak for clarity and to reduce sentence length
Dave Page [Thu, 4 Apr 2013 13:20:00 +0000 (14:20 +0100)]
PostgreSQL releases 8.4.17, 9.0.13, 9.1.9, 9.2.4.
Magnus Hagander [Wed, 3 Apr 2013 20:19:33 +0000 (22:19 +0200)]
Fix title as well, missed in previous commit
Magnus Hagander [Wed, 3 Apr 2013 16:08:40 +0000 (18:08 +0200)]
Remove release notes and download link to wrong version
When the page was changed to show the announcement instead of the latest
version, the links belonging to the old "shoutbox" was left around, pointing
to the past release.
Dave Page [Wed, 3 Apr 2013 14:35:29 +0000 (15:35 +0100)]
Update the descriptions for the installers. Remove references to
"one click".
Stephen Frost [Wed, 3 Apr 2013 14:19:40 +0000 (15:19 +0100)]
Update the callout to pre-announce the updates coming tomorrow.
Selena Deckelmann [Tue, 2 Apr 2013 21:12:58 +0000 (14:12 -0700)]
Remove mention of pgInstaller, deprecated with 8.3
Dave Page [Tue, 2 Apr 2013 08:30:12 +0000 (09:30 +0100)]
Add the date to the callout box.
Magnus Hagander [Tue, 26 Mar 2013 20:15:02 +0000 (21:15 +0100)]
Dissallow non-standard characters in username
Specifically, only allow alphabetical, numbers, _@- and period.
The website it self handles "advanced" characters just fine, but all
systems integrated through community authentication does not.
Magnus Hagander [Tue, 19 Mar 2013 15:05:53 +0000 (16:05 +0100)]
Show both start and end date for events in admin view
Makes it easier to spot those that register events for a whole year...
Thom Brown [Sun, 10 Mar 2013 00:18:51 +0000 (00:18 +0000)]
Update GSoC admins
Thom Brown [Sat, 9 Mar 2013 17:37:21 +0000 (17:37 +0000)]
Archive 2012 GSoC page and replace with new one for 2013.
Magnus Hagander [Thu, 7 Mar 2013 20:43:06 +0000 (21:43 +0100)]
Add header as required by the w3c validator these days
Magnus Hagander [Thu, 7 Mar 2013 20:42:41 +0000 (21:42 +0100)]
Simplify debian/ubuntu download instructions
Mainly by Christoph Berg, with some cleanups from me.
Thom Brown [Mon, 4 Mar 2013 18:11:09 +0000 (18:11 +0000)]
Adjust CSS on nav menu for large text layout so that wrapping doesn't result in invisible menu items.
Magnus Hagander [Sat, 23 Feb 2013 10:09:01 +0000 (11:09 +0100)]
Fix incorrect CVE number in title (link was correct)
Reported by Thomas Hart
Magnus Hagander [Tue, 12 Feb 2013 16:57:34 +0000 (17:57 +0100)]
Override some CSS classes from django-admin in the markdown previews
We don't want to use django style headlines and margins in the preview,
we want something that looks a bit more like the main site. It's not
going to be exact (e.g. the colors will still be wrong), but it will
be a lot closer than without this.
Magnus Hagander [Thu, 7 Feb 2013 12:50:38 +0000 (13:50 +0100)]
Drop windows CHM file for documentation
These files haven't been updated for years (8.3.0 and 8.4.0 respectively),
and are hard/impossible to automate the build of. And clearly not many people
are actually using them, since we've had no complaints about the versions
that are there being old.
Magnus Hagander [Thu, 7 Feb 2013 12:36:33 +0000 (13:36 +0100)]
8.3 is no longer supported, so move the documentation links to the archive
We keep them around like all other old documentation versions of course, but we
move them away from the main page.
Magnus Hagander [Thu, 7 Feb 2013 11:44:36 +0000 (12:44 +0100)]
Update size of PDF files
Magnus Hagander [Thu, 7 Feb 2013 10:33:45 +0000 (11:33 +0100)]
New minor releases
Magnus Hagander [Wed, 6 Feb 2013 14:43:29 +0000 (15:43 +0100)]
Replace references to old archives URLs with new counterparts
Magnus Hagander [Tue, 5 Feb 2013 10:32:41 +0000 (11:32 +0100)]
Remove extra comma on frontpage.
Strange that nobody noticed this before...
Magnus Hagander [Wed, 30 Jan 2013 14:21:04 +0000 (15:21 +0100)]
Events are upcoming, not current
Magnus Hagander [Wed, 30 Jan 2013 14:17:12 +0000 (15:17 +0100)]
Add language property to events
Enter the primary language for any event. In the future we will likely want
to filter events bsaed on this, but for now we just show it in the listing
and on the details page.
Requires SQL (after syncdb has run):
ALTER TABLE events_event ADD COLUMN language_id varchar(7) REFERENCES core_language(alpha3) DEFERRABLE INITIALLY DEFERRED;
Also requires loading of fixture:
./manage.py loaddata core/fixtures/language.yaml
Fixes #125
Magnus Hagander [Wed, 30 Jan 2013 14:11:10 +0000 (15:11 +0100)]
Add a Language model to core
This lists all ISO-639-2 languages, and can be used in foreign keys
from other models.
Magnus Hagander [Wed, 30 Jan 2013 13:28:16 +0000 (14:28 +0100)]
Actually implement a way to look at older events (events archive)
This also changes the main URL to look at events to be /about/events/
instead of /about/eventsarchive/, and reuses /about/eventsarchive/ to
be the actual achive. Also separates out the training archive to it's
own page at /about/eventsarchive/training/, for easier browsing.
Magnus Hagander [Wed, 30 Jan 2013 13:07:48 +0000 (14:07 +0100)]
Add checkbox for "is online" on events
This gets rid of the annoying requirement to specify things like
"online, United States" for events that are online.
This requires some SQL to run on existing installations:
ALTER TABLE events_event ADD COLUMN isonline boolean NOT NULL DEFAULT 'f';
ALTER TABLE events_event ALTER COLUMN isonline DROP DEFAULT;
ALTER TABLE events_event ALTER COLUMN country_id DROP NOT NULL;
Fixes #166
Magnus Hagander [Wed, 30 Jan 2013 13:01:25 +0000 (14:01 +0100)]
Add ability to toggle fields in forms
This uses jQuery to make it possible to enable and disable fields in the
default forms, by specifying an attribute on the form class. The form
class still has to implement proper validators, so it does not rely on
client side validations.
Magnus Hagander [Wed, 30 Jan 2013 10:45:31 +0000 (11:45 +0100)]
Allow doc comment filtering by approval status
Magnus Hagander [Wed, 30 Jan 2013 10:45:11 +0000 (11:45 +0100)]
Allow batch approval of doc comments
Magnus Hagander [Wed, 30 Jan 2013 10:41:14 +0000 (11:41 +0100)]
Make filters in admin be sticky, according to:
http://code.djangoproject.com/ticket/3777
Magnus Hagander [Tue, 15 Jan 2013 07:46:36 +0000 (08:46 +0100)]
Encode list search queries with UTF-8
Should fix exception when searching for non-ascii characters
Jonathan S. Katz [Sat, 12 Jan 2013 18:24:42 +0000 (13:24 -0500)]
Fixed typo in templates/500.html
Magnus Hagander [Sat, 12 Jan 2013 18:23:00 +0000 (19:23 +0100)]
Show a nicer error on timeout of searches
Magnus Hagander [Sat, 12 Jan 2013 18:07:36 +0000 (19:07 +0100)]
List id is not used in the template, so remove it
Since messages are no longer tied directly to lists, it makes no sense to
show which list a message belongs to.
Magnus Hagander [Sat, 12 Jan 2013 18:03:48 +0000 (19:03 +0100)]
Support redirect when we get a messageid hit in archives search
Magnus Hagander [Sat, 12 Jan 2013 17:49:00 +0000 (18:49 +0100)]
Generate search hits using new URL scheme
Magnus Hagander [Sat, 12 Jan 2013 17:41:18 +0000 (18:41 +0100)]
Don't use pylibmc behaviours, not supported in the version used in production
Magnus Hagander [Sat, 12 Jan 2013 17:11:38 +0000 (18:11 +0100)]
Attempt to set a 20 second timeout on searches
Magnus Hagander [Sat, 12 Jan 2013 16:48:09 +0000 (17:48 +0100)]
Reimplement list searching on top of http API
The new archives has a http api - use that one for searching instead
of directly talking to the database.
With the new API, we always fetch the complete search results (still
capped server-side at 1000 items), and store them locally in memcached
for 10 minutes. That way, paging will only hit the local memcached and
not the remote http api *or* the SQL api.
Magnus Hagander [Tue, 8 Jan 2013 09:22:54 +0000 (10:22 +0100)]
Organizations with >1 manager is always "new style"
Missing code branch when detecting if an event was migrated - it worked
as long as the org had a single new manager, but if it had more than
one it fell through to the same codepath.
This should fix a number of events showing as migrated even though they
were obviously much newer than that.
Dave Page [Wed, 2 Jan 2013 16:33:58 +0000 (16:33 +0000)]
Improve size of book cover.
Dave Page [Wed, 2 Jan 2013 16:16:12 +0000 (16:16 +0000)]
Correct alt text
Dave Page [Wed, 2 Jan 2013 16:14:24 +0000 (16:14 +0000)]
Add PostgreSQL Server Programming book
Magnus Hagander [Tue, 1 Jan 2013 17:38:02 +0000 (18:38 +0100)]
Add new book "PostgreSQL: Up and Running"
Magnus Hagander [Sat, 29 Dec 2012 11:33:32 +0000 (12:33 +0100)]
Fix broken markup
Magnus Hagander [Wed, 26 Dec 2012 18:40:59 +0000 (19:40 +0100)]
Fix link to professional services
Noted by Peter Rowell
Magnus Hagander [Tue, 18 Dec 2012 19:58:31 +0000 (20:58 +0100)]
Fix typo in URLs
Magnus Hagander [Sat, 15 Dec 2012 17:47:20 +0000 (18:47 +0100)]
Add apt.postgresql.org to debian and ubuntu download instructions
Magnus Hagander [Mon, 10 Dec 2012 17:26:12 +0000 (18:26 +0100)]
Update privacy policy to list what happens when you post to the mailinglists
The archives policy was already on the wiki, but for completeness list it here
as well.
Dave Page [Thu, 6 Dec 2012 18:52:59 +0000 (18:52 +0000)]
Update PDF sizes.
Dave Page [Thu, 6 Dec 2012 18:44:01 +0000 (18:44 +0000)]
Fix URL to latest release notes.
Magnus Hagander [Thu, 6 Dec 2012 18:40:47 +0000 (19:40 +0100)]
Add ability to approve events by batch
Magnus Hagander [Thu, 6 Dec 2012 18:14:38 +0000 (19:14 +0100)]
Support UTF8 encoded URLs in community authentication
Commit
8b3726b7d866d614c842ca90593187e726a6cf3e fixed this for all
login fields except the URL redirect field (such as the users name).
But the wiki in particular uses UTF8 in the URLs, so we need to deal
with them in the URL as well.
Dave Page [Thu, 6 Dec 2012 14:07:16 +0000 (14:07 +0000)]
Update releases
Magnus Hagander [Fri, 30 Nov 2012 07:23:54 +0000 (16:23 +0900)]
Show purge type in list of recent varnish purges
Magnus Hagander [Fri, 30 Nov 2012 07:11:13 +0000 (16:11 +0900)]
Clarify that ^ is added to all varnish purge expressions automatically
Dave Page [Tue, 27 Nov 2012 07:50:49 +0000 (13:20 +0530)]
Add sponsor logos for Google and Garden Grove
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.