Stefan Kaltenbrunner [Wed, 23 May 2012 20:36:47 +0000 (22:36 +0200)]
fix minor typo...
Magnus Hagander [Wed, 23 May 2012 14:05:33 +0000 (16:05 +0200)]
Oops - don't put the email in the name field, use the name instead
Magnus Hagander [Wed, 23 May 2012 14:02:18 +0000 (16:02 +0200)]
Add script to migrate a single account from the old system to the new
Required in order to be able to do password recovery on accounts, since
we only migrate users when they actually log in...
Magnus Hagander [Wed, 23 May 2012 13:26:33 +0000 (15:26 +0200)]
Fixes in developer install instructions and scripts
Per Josh Kupershmidt
Magnus Hagander [Fri, 18 May 2012 14:52:47 +0000 (10:52 -0400)]
Close db connection in docloader
To make Stefan happy...
Thom Brown [Thu, 17 May 2012 19:49:33 +0000 (15:49 -0400)]
Add version numbers to doc titles to prevent duplicate titles between versions. This should make results on search engines clearer and more explicit.
Thom Brown [Thu, 17 May 2012 14:46:32 +0000 (10:46 -0400)]
Set ending copyright year always to the current year so that we no longer need to maintain it.
Thom Brown [Thu, 17 May 2012 14:36:02 +0000 (10:36 -0400)]
Add a copyright meta tag to every page, and also a placeholder for optional meta tags. This is so we can add a description to the home page. The reason why we don't want the same description for every page is that a general description will only be appropriate to the home landing page.
Magnus Hagander [Wed, 16 May 2012 17:35:35 +0000 (13:35 -0400)]
Exclude beta version docs from sitemap.xml
Currently showed up as the highest priority - oops....
Spotted by Stefan
Thom Brown [Wed, 16 May 2012 17:31:00 +0000 (13:31 -0400)]
Change home page title to be more appropriate for a main landing page.
Stefan Kaltenbrunner [Wed, 16 May 2012 16:41:16 +0000 (12:41 -0400)]
the license says its "The PostgreSQL Global Development Group" and not "PostgreSQL Global Development Group", probably does not matter much in practice but make the wording uniform accross the whole site
Stefan Kaltenbrunner [Wed, 16 May 2012 15:30:21 +0000 (11:30 -0400)]
mediawiki seems to require a community_login_exists() - the existing only considers the "new" user table, make it also look at the "old" one
Magnus Hagander [Tue, 15 May 2012 19:59:15 +0000 (15:59 -0400)]
Don't include beta versions in versions.rss
Dave Page [Tue, 15 May 2012 17:01:35 +0000 (13:01 -0400)]
Clarify download pages for snapshots/RCs.
Magnus Hagander [Mon, 14 May 2012 21:26:38 +0000 (17:26 -0400)]
Add link to 9.2 beta docs
Devrim GUNDUZ [Mon, 14 May 2012 21:11:02 +0000 (00:11 +0300)]
Announce 9.2 beta1
Magnus Hagander [Mon, 14 May 2012 21:05:14 +0000 (17:05 -0400)]
Allow the use of -1 as minor version to indicate pre-release
Magnus Hagander [Thu, 10 May 2012 11:19:17 +0000 (13:19 +0200)]
Include events that end today in the listing on the frontpage
Make check "greater-than-or-equal" instead of "greater-than".
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...