Magnus Hagander [Thu, 10 May 2012 11:16:06 +0000 (13:16 +0200)]
Remove org field from event search
Seems this causes errors in django...
Magnus Hagander [Thu, 19 Apr 2012 09:40:55 +0000 (11:40 +0200)]
Fix broken book images
Two images missing and an URL that failed in the migration from the
old site.
Thom Brown [Tue, 27 Mar 2012 08:27:56 +0000 (09:27 +0100)]
Change GSoC page to say that PostgreSQL *is* participating.
Thom Brown [Sun, 25 Mar 2012 21:39:57 +0000 (22:39 +0100)]
Updated GSoC liaison list.
Magnus Hagander [Sun, 25 Mar 2012 19:37:55 +0000 (21:37 +0200)]
Add verbose names for start and end dates
Per report from Devrim.
Thom Brown [Fri, 16 Mar 2012 19:59:58 +0000 (19:59 +0000)]
Fix student application link from 2010 to 2012. Reported by Josh Berkus.
Thom Brown [Fri, 9 Mar 2012 18:15:48 +0000 (18:15 +0000)]
Add GSoC advice page.
Thom Brown [Fri, 9 Mar 2012 16:47:28 +0000 (16:47 +0000)]
Close open ul tag. Report by Selena Deckelmann.
Thom Brown [Fri, 9 Mar 2012 12:44:46 +0000 (12:44 +0000)]
GSoC mentor list is now present context, so correct sentence.
Magnus Hagander [Tue, 6 Mar 2012 09:51:48 +0000 (10:51 +0100)]
Allow all staff users (= admin login users) to purge things from varnish
Previously we required superuser, but that seems a bit excessive. We could
limit it based on specific groups, but for now, we'll allow all staff users.
Thom Brown [Mon, 5 Mar 2012 23:23:18 +0000 (23:23 +0000)]
Changed GSoC note about a list of mentors being available.
Thom Brown [Mon, 5 Mar 2012 21:49:41 +0000 (21:49 +0000)]
Updated GSoC page for 2012 and archived 2011 GSoC page.
Magnus Hagander [Fri, 2 Mar 2012 11:01:08 +0000 (12:01 +0100)]
Show previous 10 posts by an organisation when moderating news
This makes it a lot easier to see if they violate a policy or not...
Magnus Hagander [Fri, 2 Mar 2012 10:39:32 +0000 (11:39 +0100)]
Fix incorrect field for searching in the admin interface
This caused exceptions when searching on news articles.
Thom Brown [Mon, 27 Feb 2012 12:12:15 +0000 (12:12 +0000)]
Fix typo.
Magnus Hagander [Mon, 27 Feb 2012 11:48:00 +0000 (12:48 +0100)]
Argh, I forgot to save in my editor before I committed :O
Magnus Hagander [Mon, 27 Feb 2012 11:45:31 +0000 (12:45 +0100)]
Update for new security releases
Magnus Hagander [Sat, 25 Feb 2012 11:50:05 +0000 (12:50 +0100)]
Security page updates for new releases
Mostly by Josh Berkus with some fixes from me
Magnus Hagander [Tue, 21 Feb 2012 07:59:55 +0000 (08:59 +0100)]
Add back link to openscg downloads that got lost in the migration
Magnus Hagander [Tue, 21 Feb 2012 07:57:28 +0000 (08:57 +0100)]
Remove link to non-opensource postgres plus
Link target changed to no longer being the open source version, and
we don't list those here.
Magnus Hagander [Mon, 13 Feb 2012 09:27:11 +0000 (10:27 +0100)]
Temporary remove listing of PWN from the website
Given that new PWNs aren't actually posted into the database, let's not
have the website pretend that they are there.
Once we're ready to post PWNs to the website again, this commit should
be reverted.
Magnus Hagander [Thu, 9 Feb 2012 10:00:25 +0000 (11:00 +0100)]
Translate linebreaks in docs comments
Turn linebreaks into BR tags instead of just leaving them letting HTML
ignore them...
Closes #131
Magnus Hagander [Tue, 7 Feb 2012 12:05:41 +0000 (13:05 +0100)]
Don't generate http requests with two Host: headers
This would cause http 400 requests at the server, unsurprisingly.
Magnus Hagander [Tue, 7 Feb 2012 12:04:19 +0000 (13:04 +0100)]
Remove dead code
Magnus Hagander [Tue, 7 Feb 2012 11:12:05 +0000 (12:12 +0100)]
Assign better priorities to docs pages for searching, and include older docs
Instead of just including supported versions, include older versions of
the docs as well, and properly assign priorities by:
* For current docs, always assign priority 1.0
* For any other docs, start at 0.8 for the latest and decrease priority
by 0.1 for each version, until we reach 0.1.
This should restore the ability to search for old versions of the
documentation (they still get proper priorities when searching for
suburls, which currently returns no hits at all) while maintaining
a strong priority for the newer versions.
Magnus Hagander [Tue, 7 Feb 2012 11:02:59 +0000 (12:02 +0100)]
Weigh hits based on score when given in sitemap
In particular, this is used to prioritise hits in the documentation,
and in the current version of the documentation over older versions.
Magnus Hagander [Mon, 30 Jan 2012 09:43:47 +0000 (10:43 +0100)]
Probably a good idea to use the same column name everywhere...
Magnus Hagander [Mon, 30 Jan 2012 09:40:02 +0000 (10:40 +0100)]
Bring back the groupid in list-of-lists for search
Seems we were actually using this :-)
Magnus Hagander [Sun, 29 Jan 2012 13:00:55 +0000 (14:00 +0100)]
Need to bring back the lastcrawl table for nagios monitoring
Magnus Hagander [Sun, 29 Jan 2012 12:32:53 +0000 (13:32 +0100)]
Round off the rank score of search hits to two decimal places
Magnus Hagander [Sun, 29 Jan 2012 12:28:33 +0000 (13:28 +0100)]
Don't confuse total number of pages with total number of hits
Magnus Hagander [Sun, 29 Jan 2012 12:28:21 +0000 (13:28 +0100)]
Forgot to qualify the suburl column in one location...
Magnus Hagander [Fri, 27 Jan 2012 17:30:31 +0000 (18:30 +0100)]
Don't break on months that have exactly one message in the database before we start
Magnus Hagander [Fri, 27 Jan 2012 17:30:22 +0000 (18:30 +0100)]
Fix typo that caused exception when reporting an exception
Magnus Hagander [Fri, 27 Jan 2012 09:35:18 +0000 (10:35 +0100)]
Bruce's book is no longer on our site, so remove the link to it
Magnus Hagander [Sun, 22 Jan 2012 20:59:44 +0000 (21:59 +0100)]
8.2 isn't supported at all anymore, so don't special-case it for Windows
Noted by Guillaume Lelarge
Magnus Hagander [Sun, 22 Jan 2012 20:58:03 +0000 (21:58 +0100)]
Update message counts when finished crawling lists
Magnus Hagander [Sun, 22 Jan 2012 11:06:32 +0000 (12:06 +0100)]
Make it possible to crawl more than one list at a time, without doing all
Magnus Hagander [Sat, 14 Jan 2012 17:57:48 +0000 (18:57 +0100)]
New set of web search crawlers and infrastructure
Replaces the old search code with something that's not quite as much
spaghetti (e.g. not evolved over too much time), and more stable (actual
error handling instead of random crashes)
Crawlers are now also multithreaded to deal with higher latency to some
sites.
Magnus Hagander [Sun, 15 Jan 2012 15:19:48 +0000 (16:19 +0100)]
Export list information as json
This makes it easier to sync information about which lists we have,
and how they are grouped, to external sites (such as the search crawler)
Magnus Hagander [Fri, 20 Jan 2012 14:13:45 +0000 (15:13 +0100)]
Add help texts refering to the organisation list on forms that take an organisation field
For those who don't read the introduction page under my account, per request
from Dave.
Magnus Hagander [Fri, 20 Jan 2012 12:45:40 +0000 (13:45 +0100)]
Allow the use of HTML in form field help texts
Also make the help text show under the field itself for regular fields,
and in the left column only for textarea fields. This makes it possible
to use longer help texts without making things look really bad...
Thom Brown [Fri, 20 Jan 2012 11:43:10 +0000 (11:43 +0000)]
Stop emphasising elements with a 'c4' class as it only affects elements which shouldn't be bold.
Magnus Hagander [Wed, 18 Jan 2012 08:43:25 +0000 (09:43 +0100)]
Remove link to pugs site which doesn't exist
Should probably be reinstated once the planned wiki page exists
Magnus Hagander [Sun, 15 Jan 2012 19:30:50 +0000 (20:30 +0100)]
Another round of markup fixes
Magnus Hagander [Sun, 15 Jan 2012 19:04:27 +0000 (20:04 +0100)]
Fix boken tag
Magnus Hagander [Sat, 14 Jan 2012 17:58:30 +0000 (18:58 +0100)]
Exclude precompiled python files
Magnus Hagander [Sat, 14 Jan 2012 16:20:45 +0000 (17:20 +0100)]
Include support/versioning in search results again!
Magnus Hagander [Sat, 14 Jan 2012 15:55:53 +0000 (16:55 +0100)]
Include last modified date in sitemap
Magnus Hagander [Sat, 14 Jan 2012 15:08:14 +0000 (16:08 +0100)]
Can't leave an empty struct, need to actually remove it completely
Magnus Hagander [Sat, 14 Jan 2012 11:41:29 +0000 (12:41 +0100)]
This URL doesn't actually exist...
Magnus Hagander [Fri, 13 Jan 2012 08:56:32 +0000 (09:56 +0100)]
Ensure that names are utf-8 encoded in community auth
If the name contains non-ascii characters, we could get an exception
when trying to urlencodethe resulting structure.
Magnus Hagander [Sat, 7 Jan 2012 12:46:59 +0000 (13:46 +0100)]
Purge supported version list from frontends when changina version object
Magnus Hagander [Sat, 7 Jan 2012 12:09:20 +0000 (13:09 +0100)]
Render list of supported versions on the main page
Now that we have more metadata, we can render this on the main page instead of
on the wiki. This commit copies all the text from the current wiki page, and
uses the new fields in the Version model to render the table on the same URL
as the reference was on before.
Magnus Hagander [Sat, 7 Jan 2012 11:59:16 +0000 (12:59 +0100)]
Add two fields to the version model, for tracking release dates
This requires the following to be run on all developer installations:
alter table core_version add column "firstreldate" date NOT NULL default current_date;
alter table core_version add column "eoldate" date NOT NULL default current_date;
alter table core_version alter column "firstreldate" drop default;
alter table core_version alter column "eoldate" drop default;
Dave Page [Fri, 6 Jan 2012 10:39:04 +0000 (10:39 +0000)]
Add new frontend server to the pgq config.
Dave Page [Thu, 5 Jan 2012 13:46:39 +0000 (13:46 +0000)]
Update copyright year.
Magnus Hagander [Mon, 2 Jan 2012 16:48:11 +0000 (17:48 +0100)]
Oops, missed about half of the last commit.
Luckily, I got all the new files, but not the code changes, so
nothing actually broke in between...
Magnus Hagander [Mon, 2 Jan 2012 16:44:55 +0000 (17:44 +0100)]
Make it possible to edit firstname and lastname fields on users
Also, make the community authentication process require that both these
fields (along with email) are set, and direct the user to set them if
not. This is so that community authenticated sites can always rely on
there being a complete profile.
Magnus Hagander [Wed, 28 Dec 2011 13:59:59 +0000 (14:59 +0100)]
Add sample login.html for django admin logins
Thom Brown [Tue, 27 Dec 2011 18:39:41 +0000 (18:39 +0000)]
Fix typo.
Magnus Hagander [Tue, 27 Dec 2011 18:35:51 +0000 (19:35 +0100)]
Implement single sign-out for community login 2.0
In order to provide a consistent user experience, we must sign the
user out from the main website if the community site provides a logout
button - else that button will appear not to work...
Magnus Hagander [Thu, 22 Dec 2011 18:19:54 +0000 (19:19 +0100)]
Add hint about how to create a key
Magnus Hagander [Thu, 22 Dec 2011 18:18:17 +0000 (19:18 +0100)]
Add comment field to community sites, never hurts...
Magnus Hagander [Wed, 21 Dec 2011 14:48:55 +0000 (15:48 +0100)]
Add sample perl code to decrypt authentication tokens
Code from Claes Jakobsson
Magnus Hagander [Wed, 21 Dec 2011 14:48:42 +0000 (15:48 +0100)]
Add sample django community authentication consumer
Magnus Hagander [Tue, 20 Dec 2011 11:52:32 +0000 (12:52 +0100)]
Include a timestamp in the authentication token
This way we can expire a token after e.g. 10 or 30 seconds, making
it impossible to do a replay attack later.
Magnus Hagander [Mon, 19 Dec 2011 17:08:13 +0000 (18:08 +0100)]
Add a special login form for the community auth logins
This form will inform about the auth system, and also which site is
trying to perform the login - just to make it extra clear that this
login is from the outside.
Magnus Hagander [Sun, 18 Dec 2011 15:55:39 +0000 (16:55 +0100)]
Implement community authentication 2.0
This system relies on http redirects and signing in to the main website
instead of using cross-internet pgsql connections and signing in individually
to each website.
Magnus Hagander [Thu, 22 Dec 2011 11:34:44 +0000 (12:34 +0100)]
Add a simple crash testing URL
It requires the file /tmp/crashtest to exist to actually test the crash,
without that it just renders a plaintext string...
Magnus Hagander [Tue, 20 Dec 2011 12:55:33 +0000 (13:55 +0100)]
Send notification emails on deletes
There are no signals for them, but it appears to work to just override
the delete() method in PgModel.
Fixes #121
Dave Page [Tue, 20 Dec 2011 11:32:07 +0000 (11:32 +0000)]
Usernames must be checked case insensitively
Magnus Hagander [Mon, 19 Dec 2011 18:36:19 +0000 (19:36 +0100)]
Purge server list when updating sponsors
We have sponsor name and URL in the server list as well....
Magnus Hagander [Sun, 18 Dec 2011 16:05:09 +0000 (17:05 +0100)]
Do a sleep before reloading the website, to avoid interfering with automirror
This should hopefully get rid of transient errors caused by automirror hitting
the site during reload, before our script has a change to pull the local site.
Magnus Hagander [Sun, 18 Dec 2011 15:30:35 +0000 (16:30 +0100)]
We have released now, the plan is no longer summer 2010
(Granted, we missed that deadline by over a year, but at least we are live now)
Thom Brown [Sun, 18 Dec 2011 13:55:56 +0000 (13:55 +0000)]
Add org, date and approved columns to news view, along with approved filter and remove redundant register_markdown imports.
Jonathan S. Katz [Sat, 17 Dec 2011 23:29:13 +0000 (18:29 -0500)]
Stops sending M2M updates from PgModel objects upon every single update
Prevents changes from M2M updates from appearing after every single
save to a PgModel derived class. The unfortunate side effect is that
no M2M updates will appear, but this has to do with the context in how
the diff between two objects it taking place. An expanded note appears in
the explanation to #110
Fixes #110
Magnus Hagander [Sat, 17 Dec 2011 18:39:36 +0000 (19:39 +0100)]
Make our session cookie secure by default, and locked to postgresql.org
This increases session security, obviously... It will also break local development
installs, which will have to add the two rows that this patch adds to the
documentation.
Magnus Hagander [Sat, 17 Dec 2011 16:47:22 +0000 (17:47 +0100)]
Remove some really ugly forgotten debugging code...
Magnus Hagander [Sat, 17 Dec 2011 14:01:40 +0000 (15:01 +0100)]
Properly redirect after login
Since the "next" field was missing, any login always redirected to the
default account page, even though it came with a "next" parameter that
would allow it to go to the correct place.
Thom Brown [Thu, 15 Dec 2011 21:19:15 +0000 (21:19 +0000)]
Remove leading and trailing paragraph HTML tags from bug header as the calling template surrounds it with these tags anyway.
Magnus Hagander [Thu, 15 Dec 2011 21:14:07 +0000 (22:14 +0100)]
Avoid crashing the frontpage when there are zero quotes
This won't happen in production since we don't delete quotes, but it
happens on empty dev environments. It still renders a pretty ugly
frontpage, but it doesn't crash...
Magnus Hagander [Tue, 13 Dec 2011 21:11:55 +0000 (22:11 +0100)]
Say "Date:" and not "Posted on:" for events, because that's what it is
Magnus Hagander [Mon, 12 Dec 2011 15:01:45 +0000 (16:01 +0100)]
Use a fully qualified path to the sendmail binary
For some reason, it appears to work fine without it when used from
inside django, but fails when the cronjobs use the same function.
Magnus Hagander [Mon, 12 Dec 2011 15:00:17 +0000 (16:00 +0100)]
Make events.summary a markdown field
In passing, add help messages to make it more obvious which of the
summary and details fields are used on which pages.
Magnus Hagander [Mon, 12 Dec 2011 13:25:34 +0000 (14:25 +0100)]
Fix out of date copyright year
Probably missed it in the migration
Magnus Hagander [Sun, 11 Dec 2011 16:53:42 +0000 (17:53 +0100)]
Add link to the developer docs build log, now that it exists again
Magnus Hagander [Sun, 11 Dec 2011 15:30:26 +0000 (16:30 +0100)]
Add a 500.html template
This will render errors within the framework. And it's certainly
better than a django internal stacktrace asking for 500.html :-)
Fixes #105
Magnus Hagander [Sun, 11 Dec 2011 13:20:33 +0000 (14:20 +0100)]
Make two quick requests to the website after reload
Sometimes we get a http 503 error from lighttpd if we hit the system
right after reload - make sure that we hit these errors from
the update script instead of leaking it to the end user or our
mirror script.
Magnus Hagander [Sun, 11 Dec 2011 13:02:19 +0000 (14:02 +0100)]
Update documentation with latest versions and information
Fixes #102
Magnus Hagander [Sun, 11 Dec 2011 13:15:41 +0000 (14:15 +0100)]
Add a varnish_purge() function to be used in local installs
Thom Brown [Sun, 11 Dec 2011 13:01:51 +0000 (13:01 +0000)]
Remove reference to redundant gecko fixes css file as we don't use it anymore.
Thom Brown [Sun, 11 Dec 2011 12:43:06 +0000 (12:43 +0000)]
Add in missing link for large text stylesheet switch.
Magnus Hagander [Thu, 8 Dec 2011 18:43:47 +0000 (19:43 +0100)]
Don't crash when migrating users with blank name
Some users are registered with just a username and no actual name. The
old way only dealt with users with just first or last name - not the
ones completely without name.
Magnus Hagander [Wed, 7 Dec 2011 11:30:10 +0000 (12:30 +0100)]
Move fixedfields back to before the .save(), to unbreak doc comments
It was moved down to support ManyToMany value fields for Organisation,
but that is no longer used. If we want to use it for ManyToMany fields
in the future it needs to be split up in two sections, but for now, I'm
moving it back up so it works for regular fields again.
Magnus Hagander [Wed, 7 Dec 2011 08:45:43 +0000 (09:45 +0100)]
Fix links to 8.4 PDFs to not include major version
Noted by Dean Rasheed
Magnus Hagander [Tue, 6 Dec 2011 19:10:19 +0000 (20:10 +0100)]
Make sure the host header is set to postgresql.org
Magnus Hagander [Tue, 6 Dec 2011 18:13:32 +0000 (19:13 +0100)]
Allow for the ftpsite pickle to be uploaded via https
Previously this had to be rsynced outside of the website. By allowing the
upload here, and automatically purging the data from varnish, we will reach
"almost instant" updates of the ftp site structure on the web.
Magnus Hagander [Tue, 6 Dec 2011 10:06:56 +0000 (11:06 +0100)]
Add rel=nofollow for docs comments links
This caused thousands of links to the signin page, which seems
unnecssary...
Magnus Hagander [Tue, 6 Dec 2011 08:54:49 +0000 (09:54 +0100)]
Don't cause exception on calls to the old redirector without required parameters
Instead, show a general error, the way we do if the parameter exists
but has an invalid value.