pgweb.git
13 years agoProperly include superblock in news articles
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.

13 years agoRename MarkdownPreviewAdmin to PgwebAdmin
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...

13 years agoRedirect interactive devel docs to static instead of giving error
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

13 years agoClarify Linux platform support for the installers.
Dave Page [Mon, 11 Jun 2012 19:06:26 +0000 (20:06 +0100)]
Clarify Linux platform support for the installers.

13 years agoClarify Mac platform support.
Dave Page [Mon, 11 Jun 2012 19:03:00 +0000 (20:03 +0100)]
Clarify Mac platform support.

13 years agoFix incorrect URL to software catalogue submission
Magnus Hagander [Sun, 10 Jun 2012 14:08:20 +0000 (16:08 +0200)]
Fix incorrect URL to software catalogue submission

13 years agoAdd information about OpenBSD packages/ports
Magnus Hagander [Sun, 10 Jun 2012 11:25:42 +0000 (13:25 +0200)]
Add information about OpenBSD packages/ports

13 years agoSet proper classes on tables of contributors
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...

13 years agoAdd separator between supported and unsupported version links in docs.
Thom Brown [Wed, 6 Jun 2012 12:46:41 +0000 (13:46 +0100)]
Add separator between supported and unsupported version links in docs.

13 years agoFix XHTML syntax
Magnus Hagander [Tue, 5 Jun 2012 10:28:38 +0000 (12:28 +0200)]
Fix XHTML syntax

13 years agoMove </div> outside {%if%}, since it's opened outside the if...
Magnus Hagander [Tue, 5 Jun 2012 10:28:20 +0000 (12:28 +0200)]
Move </div> outside {%if%}, since it's opened outside the if...

13 years agoShow links to other versions of docs
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

13 years agoDetect HTML in markdown submission forms
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

13 years agoFix name of pgcrypto module
Magnus Hagander [Mon, 4 Jun 2012 15:15:43 +0000 (17:15 +0200)]
Fix name of pgcrypto module

Reported by Peter E

13 years agoFix cut/paste error in URL
Magnus Hagander [Mon, 4 Jun 2012 10:20:29 +0000 (12:20 +0200)]
Fix cut/paste error in URL

13 years agoNew releases out, 9.1.4 and friends
Magnus Hagander [Mon, 4 Jun 2012 10:00:38 +0000 (12:00 +0200)]
New releases out, 9.1.4 and friends

13 years agoNew sizes for PDF files
Magnus Hagander [Mon, 4 Jun 2012 07:44:04 +0000 (09:44 +0200)]
New sizes for PDF files

13 years agoDescription of security vulns in new release
Magnus Hagander [Mon, 4 Jun 2012 07:43:37 +0000 (09:43 +0200)]
Description of security vulns in new release

13 years agoAdd generic PHP code for decryption/parsing
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..

13 years agoAdd a help text to communtity auth title
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 :-)

13 years agoAdd community auth v2 provider for mediawiki
Magnus Hagander [Sun, 3 Jun 2012 10:20:40 +0000 (12:20 +0200)]
Add community auth v2 provider for mediawiki

13 years agoAdd feature matrix entry for 9.2, hide 7.4 for layout reasons
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;

13 years agoMake it possible to turn off visibilty of versions in the feature matrix
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.

13 years agoReplace out of date list of technical features with link to the feature matrix
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

13 years agoAdd redmine community auth plugin
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)

13 years agoFix URLs that weren't properly anchored
Magnus Hagander [Fri, 25 May 2012 10:50:59 +0000 (12:50 +0200)]
Fix URLs that weren't properly anchored

13 years agofix minor typo...
Stefan Kaltenbrunner [Wed, 23 May 2012 20:36:47 +0000 (22:36 +0200)]
fix minor typo...

13 years agoOops - don't put the email in the name field, use the name instead
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

13 years agoAdd script to migrate a single account from the old system to the new
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...

13 years agoFixes in developer install instructions and scripts
Magnus Hagander [Wed, 23 May 2012 13:26:33 +0000 (15:26 +0200)]
Fixes in developer install instructions and scripts

Per Josh Kupershmidt

13 years agoClose db connection in docloader
Magnus Hagander [Fri, 18 May 2012 14:52:47 +0000 (10:52 -0400)]
Close db connection in docloader

To make Stefan happy...

13 years agoAdd version numbers to doc titles to prevent duplicate titles between versions. ...
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.

13 years agoSet ending copyright year always to the current year so that we no longer need to...
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.

13 years agoAdd a copyright meta tag to every page, and also a placeholder for optional meta...
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.

13 years agoExclude beta version docs from sitemap.xml
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

13 years agoChange home page title to be more appropriate for a main landing page.
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.

13 years agothe license says its "The PostgreSQL Global Development Group" and not "PostgreSQL...
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

13 years agomediawiki seems to require a community_login_exists() - the existing only considers...
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

13 years agoDon't include beta versions in versions.rss
Magnus Hagander [Tue, 15 May 2012 19:59:15 +0000 (15:59 -0400)]
Don't include beta versions in versions.rss

13 years agoClarify download pages for snapshots/RCs.
Dave Page [Tue, 15 May 2012 17:01:35 +0000 (13:01 -0400)]
Clarify download pages for snapshots/RCs.

13 years agoAdd link to 9.2 beta docs
Magnus Hagander [Mon, 14 May 2012 21:26:38 +0000 (17:26 -0400)]
Add link to 9.2 beta docs

13 years agoAnnounce 9.2 beta1
Devrim GUNDUZ [Mon, 14 May 2012 21:11:02 +0000 (00:11 +0300)]
Announce 9.2 beta1

13 years agoAllow the use of -1 as minor version to indicate pre-release
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

13 years agoInclude events that end today in the listing on the frontpage
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".

13 years agoRemove org field from event search
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...

13 years agoFix broken book images
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.

13 years agoChange GSoC page to say that PostgreSQL *is* participating.
Thom Brown [Tue, 27 Mar 2012 08:27:56 +0000 (09:27 +0100)]
Change GSoC page to say that PostgreSQL *is* participating.

13 years agoUpdated GSoC liaison list.
Thom Brown [Sun, 25 Mar 2012 21:39:57 +0000 (22:39 +0100)]
Updated GSoC liaison list.

13 years agoAdd verbose names for start and end dates
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.

13 years agoFix student application link from 2010 to 2012. Reported by Josh Berkus.
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.

13 years agoAdd GSoC advice page.
Thom Brown [Fri, 9 Mar 2012 18:15:48 +0000 (18:15 +0000)]
Add GSoC advice page.

13 years agoClose open ul tag. Report by Selena Deckelmann.
Thom Brown [Fri, 9 Mar 2012 16:47:28 +0000 (16:47 +0000)]
Close open ul tag. Report by Selena Deckelmann.

13 years agoGSoC mentor list is now present context, so correct sentence.
Thom Brown [Fri, 9 Mar 2012 12:44:46 +0000 (12:44 +0000)]
GSoC mentor list is now present context, so correct sentence.

13 years agoAllow all staff users (= admin login users) to purge things from varnish
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.

13 years agoChanged GSoC note about a list of mentors being available.
Thom Brown [Mon, 5 Mar 2012 23:23:18 +0000 (23:23 +0000)]
Changed GSoC note about a list of mentors being available.

13 years agoUpdated GSoC page for 2012 and archived 2011 GSoC page.
Thom Brown [Mon, 5 Mar 2012 21:49:41 +0000 (21:49 +0000)]
Updated GSoC page for 2012 and archived 2011 GSoC page.

13 years agoShow previous 10 posts by an organisation when moderating news
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...

13 years agoFix incorrect field for searching in the admin interface
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.

13 years agoFix typo.
Thom Brown [Mon, 27 Feb 2012 12:12:15 +0000 (12:12 +0000)]
Fix typo.

13 years agoArgh, I forgot to save in my editor before I committed :O
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

13 years agoUpdate for new security releases
Magnus Hagander [Mon, 27 Feb 2012 11:45:31 +0000 (12:45 +0100)]
Update for new security releases

13 years agoSecurity page updates for new 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

13 years agoAdd back link to openscg downloads that got lost in the migration
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

13 years agoRemove link to non-opensource postgres plus
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.

13 years agoTemporary remove listing of PWN from the website
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.

13 years agoTranslate linebreaks in docs comments
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

13 years agoDon't generate http requests with two Host: headers
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.

13 years agoRemove dead code
Magnus Hagander [Tue, 7 Feb 2012 12:04:19 +0000 (13:04 +0100)]
Remove dead code

13 years agoAssign better priorities to docs pages for searching, and include older docs
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.

13 years agoWeigh hits based on score when given in sitemap
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.

13 years agoProbably a good idea to use the same column name everywhere...
Magnus Hagander [Mon, 30 Jan 2012 09:43:47 +0000 (10:43 +0100)]
Probably a good idea to use the same column name everywhere...

13 years agoBring back the groupid in list-of-lists for search
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 :-)

13 years agoNeed to bring back the lastcrawl table for nagios monitoring
Magnus Hagander [Sun, 29 Jan 2012 13:00:55 +0000 (14:00 +0100)]
Need to bring back the lastcrawl table for nagios monitoring

13 years agoRound off the rank score of search hits to two decimal places
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

13 years agoDon't confuse total number of pages with total number of hits
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

13 years agoForgot to qualify the suburl column in one location...
Magnus Hagander [Sun, 29 Jan 2012 12:28:21 +0000 (13:28 +0100)]
Forgot to qualify the suburl column in one location...

13 years agoDon't break on months that have exactly one message in the database before we start
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

13 years agoFix typo that caused exception when reporting an exception
Magnus Hagander [Fri, 27 Jan 2012 17:30:22 +0000 (18:30 +0100)]
Fix typo that caused exception when reporting an exception

13 years agoBruce's book is no longer on our site, so remove the link to it
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

13 years ago8.2 isn't supported at all anymore, so don't special-case it for Windows
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

13 years agoUpdate message counts when finished crawling lists
Magnus Hagander [Sun, 22 Jan 2012 20:58:03 +0000 (21:58 +0100)]
Update message counts when finished crawling lists

13 years agoMake it possible to crawl more than one list at a time, without doing all
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

13 years agoNew set of web search crawlers and infrastructure
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.

13 years agoExport list information as json
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)

13 years agoAdd help texts refering to the organisation list on forms that take an organisation...
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.

13 years agoAllow the use of HTML in form field help texts
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...

13 years agoStop emphasising elements with a 'c4' class as it only affects elements which shouldn...
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.

13 years agoRemove link to pugs site which doesn't exist
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

13 years agoAnother round of markup fixes
Magnus Hagander [Sun, 15 Jan 2012 19:30:50 +0000 (20:30 +0100)]
Another round of markup fixes

13 years agoFix boken tag
Magnus Hagander [Sun, 15 Jan 2012 19:04:27 +0000 (20:04 +0100)]
Fix boken tag

13 years agoExclude precompiled python files
Magnus Hagander [Sat, 14 Jan 2012 17:58:30 +0000 (18:58 +0100)]
Exclude precompiled python files

13 years agoInclude support/versioning in search results again!
Magnus Hagander [Sat, 14 Jan 2012 16:20:45 +0000 (17:20 +0100)]
Include support/versioning in search results again!

13 years agoInclude last modified date in sitemap
Magnus Hagander [Sat, 14 Jan 2012 15:55:53 +0000 (16:55 +0100)]
Include last modified date in sitemap

13 years agoCan't leave an empty struct, need to actually remove it completely
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

13 years agoThis URL doesn't actually exist...
Magnus Hagander [Sat, 14 Jan 2012 11:41:29 +0000 (12:41 +0100)]
This URL doesn't actually exist...

13 years agoEnsure that names are utf-8 encoded in community auth
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.

13 years agoPurge supported version list from frontends when changina version object
Magnus Hagander [Sat, 7 Jan 2012 12:46:59 +0000 (13:46 +0100)]
Purge supported version list from frontends when changina version object

13 years agoRender list of supported versions on the main page
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.

13 years agoAdd two fields to the version model, for tracking release dates
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;

13 years agoAdd new frontend server to the pgq config.
Dave Page [Fri, 6 Jan 2012 10:39:04 +0000 (10:39 +0000)]
Add new frontend server to the pgq config.