pgweb.git
14 years agoRemove presskit link to file that does not exist
Magnus Hagander [Tue, 8 Nov 2011 13:44:07 +0000 (14:44 +0100)]
Remove presskit link to file that does not exist

14 years agoFor multilanguage pages, use english as default language
Magnus Hagander [Tue, 8 Nov 2011 13:40:42 +0000 (14:40 +0100)]
For multilanguage pages, use english as default language

So we search both for <url>.html, and <url>/en.html. This is consistent
with how we access non-english languages.

14 years agoAdd migration of contributor list
Magnus Hagander [Tue, 8 Nov 2011 13:30:22 +0000 (14:30 +0100)]
Add migration of contributor list

14 years agoAdd more information about to do with existing organisations
Magnus Hagander [Mon, 7 Nov 2011 21:17:07 +0000 (22:17 +0100)]
Add more information about to do with existing organisations

This includes explaining what "Migrated Connection" actually means
when listed as a manager.

14 years agoFix verbose names
Magnus Hagander [Mon, 7 Nov 2011 21:07:08 +0000 (22:07 +0100)]
Fix verbose names

14 years agoRemove ugly period
Magnus Hagander [Mon, 7 Nov 2011 21:04:53 +0000 (22:04 +0100)]
Remove ugly period

14 years agoFix FAQ link
Magnus Hagander [Mon, 7 Nov 2011 20:52:34 +0000 (21:52 +0100)]
Fix FAQ link

14 years agoRemove link to CVS repository - need to rethink how it's put out there
Magnus Hagander [Mon, 7 Nov 2011 20:49:22 +0000 (21:49 +0100)]
Remove link to CVS repository - need to rethink how it's put out there

14 years agoSet proper title on list subscription form.
Magnus Hagander [Mon, 7 Nov 2011 20:47:37 +0000 (21:47 +0100)]
Set proper title on list subscription form.

14 years agoAllow HTML in mailinglist descriptions
Magnus Hagander [Mon, 7 Nov 2011 20:42:55 +0000 (21:42 +0100)]
Allow HTML in mailinglist descriptions

14 years agoFix "what's new" text to have the proper ' in it.
Magnus Hagander [Mon, 7 Nov 2011 20:37:18 +0000 (21:37 +0100)]
Fix "what's new" text to have the proper ' in it.

14 years agoAdd ordering of product categories
Magnus Hagander [Mon, 7 Nov 2011 20:29:47 +0000 (21:29 +0100)]
Add ordering of product categories

14 years agoEnsure we always set Content-Length when getting the web_sync_timestamp
Magnus Hagander [Mon, 7 Nov 2011 15:04:47 +0000 (16:04 +0100)]
Ensure we always set Content-Length when getting the web_sync_timestamp

This is required by our own automirror scripts...

14 years agoMust include the leading slash in purges.
Magnus Hagander [Sun, 6 Nov 2011 15:12:52 +0000 (16:12 +0100)]
Must include the leading slash in purges.

14 years agoVersion must be a PgModel in order to purge things
Magnus Hagander [Sun, 6 Nov 2011 15:00:19 +0000 (16:00 +0100)]
Version must be a PgModel in order to purge things

And it was already set up to purge things like the front page...

14 years agoFix for newer version of git
Magnus Hagander [Sun, 6 Nov 2011 11:10:10 +0000 (12:10 +0100)]
Fix for newer version of git

14 years agoOops, include missing cd command
Magnus Hagander [Sun, 6 Nov 2011 11:09:18 +0000 (12:09 +0100)]
Oops, include missing cd command

14 years agoAdd script to update the site automatically from cron
Magnus Hagander [Sun, 6 Nov 2011 11:05:43 +0000 (12:05 +0100)]
Add script to update the site automatically from cron

14 years agoPoint download links directly at the ftp server
Magnus Hagander [Sun, 6 Nov 2011 11:01:33 +0000 (12:01 +0100)]
Point download links directly at the ftp server

Instead of going through a redirector now that it doesn't add
any actual logic at all to the processing...

14 years agoDon't try to be smart with mirrors, just use our master mirrors
Magnus Hagander [Sun, 6 Nov 2011 10:45:46 +0000 (11:45 +0100)]
Don't try to be smart with mirrors, just use our master mirrors

Still leaves the old templates around in case we want to go back on this,
as well as keeps the pure redirector service around so accesses from
things like stackbuilder don't stop working.

14 years agoDate/time-stamp all log entries
Magnus Hagander [Sat, 5 Nov 2011 18:18:23 +0000 (19:18 +0100)]
Date/time-stamp all log entries

14 years agoAdd a sync_timestamp URL to point automirror at
Magnus Hagander [Sat, 5 Nov 2011 17:51:10 +0000 (18:51 +0100)]
Add a sync_timestamp URL to point automirror at

14 years agoSwitch to new way of specifying admin urls
Magnus Hagander [Sat, 5 Nov 2011 15:05:37 +0000 (16:05 +0100)]
Switch to new way of specifying admin urls

Should work for deployed version as well, and the old way stopped
working in 1.3, I believe.

14 years agoSync up to svn revision 2906
Magnus Hagander [Sat, 5 Nov 2011 14:57:06 +0000 (15:57 +0100)]
Sync up to svn revision 2906

14 years agoDon't crash on users with just one name when trying to turn it into first/last names
Magnus Hagander [Thu, 25 Aug 2011 10:23:56 +0000 (12:23 +0200)]
Don't crash on users with just one name when trying to turn it into first/last names

14 years agoAdd edit for professional services
Magnus Hagander [Wed, 24 Aug 2011 14:56:00 +0000 (16:56 +0200)]
Add edit for professional services

14 years agoEach organisation should only be able to have one professional service
Magnus Hagander [Wed, 24 Aug 2011 14:38:28 +0000 (16:38 +0200)]
Each organisation should only be able to have one professional service

14 years agoSet verbose name for fields in professional services
Magnus Hagander [Wed, 24 Aug 2011 14:38:04 +0000 (16:38 +0200)]
Set verbose name for fields in professional services

14 years agoFix *really* bad html typo in list of objects
Magnus Hagander [Wed, 24 Aug 2011 14:26:05 +0000 (16:26 +0200)]
Fix *really* bad html typo in list of objects

Basically, the whole style-unapproved-as-red was completely broken

14 years agoAdd required table iptocountry, for downloads
Magnus Hagander [Sat, 20 Aug 2011 19:50:11 +0000 (21:50 +0200)]
Add required table iptocountry, for downloads

14 years agoInclude style switcher in main site base template
Thom Brown [Fri, 19 Aug 2011 15:26:12 +0000 (16:26 +0100)]
Include style switcher in main site base template

14 years agoAdd 500.html template, missed in previous commit
Magnus Hagander [Thu, 18 Aug 2011 08:46:48 +0000 (10:46 +0200)]
Add 500.html template, missed in previous commit

14 years agoValidate superuser on "hidden" admin views
Magnus Hagander [Thu, 18 Aug 2011 08:46:36 +0000 (10:46 +0200)]
Validate superuser on "hidden" admin views

14 years agoImplement proper mergeing of organisations
Magnus Hagander [Thu, 18 Aug 2011 08:46:25 +0000 (10:46 +0200)]
Implement proper mergeing of organisations

14 years agoAdd a list of organisatoins, and link this one from the accounts page
Magnus Hagander [Thu, 18 Aug 2011 08:01:39 +0000 (10:01 +0200)]
Add a list of organisatoins, and link this one from the accounts page

14 years agoRender server errors with a nicer template
Magnus Hagander [Wed, 17 Aug 2011 18:28:03 +0000 (20:28 +0200)]
Render server errors with a nicer template

14 years agoLink to markdown specification for markdown fields
Magnus Hagander [Wed, 17 Aug 2011 18:02:10 +0000 (20:02 +0200)]
Link to markdown specification for markdown fields

14 years agoSet page title on simple forms, not just the H1 tag
Magnus Hagander [Wed, 17 Aug 2011 17:55:13 +0000 (19:55 +0200)]
Set page title on simple forms, not just the H1 tag

14 years agoDon't show empty list of moderation items
Magnus Hagander [Wed, 17 Aug 2011 17:51:15 +0000 (19:51 +0200)]
Don't show empty list of moderation items

14 years agoFix login functions to be compatible with pg 9.0
Magnus Hagander [Wed, 17 Aug 2011 17:51:05 +0000 (19:51 +0200)]
Fix login functions to be compatible with pg 9.0

14 years agoRescale some logo files to be the correct size
Magnus Hagander [Tue, 16 Aug 2011 19:35:48 +0000 (21:35 +0200)]
Rescale some logo files to be the correct size

14 years agoGet wwwmaster from settings instead of hardcoded, when possible
Magnus Hagander [Tue, 16 Aug 2011 19:28:04 +0000 (21:28 +0200)]
Get wwwmaster from settings instead of hardcoded, when possible

14 years agoRemove old reference to open source experts
Magnus Hagander [Tue, 16 Aug 2011 19:13:38 +0000 (21:13 +0200)]
Remove old reference to open source experts

14 years agoClarify that we want a repeat email
Magnus Hagander [Tue, 16 Aug 2011 19:10:47 +0000 (21:10 +0200)]
Clarify that we want a repeat email

14 years agoProperly migrate mailinglist information
Magnus Hagander [Tue, 16 Aug 2011 19:06:30 +0000 (21:06 +0200)]
Properly migrate mailinglist information

14 years agoWhen voting on a survey without a vote, redirect to results
Magnus Hagander [Tue, 16 Aug 2011 19:00:59 +0000 (21:00 +0200)]
When voting on a survey without a vote, redirect to results

instead of showing an error. This is now the same behaviour as the old site.

14 years agoAdd missing sponsor logos
Magnus Hagander [Tue, 16 Aug 2011 18:56:12 +0000 (20:56 +0200)]
Add missing sponsor logos

14 years agoMigrate privacy policy, previosly forgotten
Magnus Hagander [Tue, 16 Aug 2011 18:45:34 +0000 (20:45 +0200)]
Migrate privacy policy, previosly forgotten

14 years agoChange about website -> about postgresql
Magnus Hagander [Tue, 16 Aug 2011 18:44:36 +0000 (20:44 +0200)]
Change about website -> about postgresql

14 years agoProperly order surveys on list
Magnus Hagander [Tue, 16 Aug 2011 11:58:27 +0000 (13:58 +0200)]
Properly order surveys on list

14 years agoAdd migration script for surveys
Magnus Hagander [Tue, 16 Aug 2011 11:58:03 +0000 (13:58 +0200)]
Add migration script for surveys

In passing, make answers up to 500 characters, because that's required
to perform the migration of existing ones...

14 years agoMake docs loader use the django database connection/configuration
Magnus Hagander [Tue, 16 Aug 2011 11:00:30 +0000 (13:00 +0200)]
Make docs loader use the django database connection/configuration

In passing, make it check that the version being loaded actually
exists...

14 years agoOpen for writing the correct way
Magnus Hagander [Fri, 12 Aug 2011 11:02:19 +0000 (13:02 +0200)]
Open for writing the correct way

14 years agoOpen logfile for append, not write..
Magnus Hagander [Fri, 12 Aug 2011 11:01:22 +0000 (13:01 +0200)]
Open logfile for append, not write..

14 years agoAdd gitignore for external downloads directory
Magnus Hagander [Fri, 12 Aug 2011 10:56:32 +0000 (12:56 +0200)]
Add gitignore for external downloads directory

14 years agoAdd logfile argument to varnish consumer
Magnus Hagander [Fri, 12 Aug 2011 10:55:41 +0000 (12:55 +0200)]
Add logfile argument to varnish consumer

14 years agoSet pidfile and logfile for ticker
Magnus Hagander [Fri, 12 Aug 2011 08:49:18 +0000 (10:49 +0200)]
Set pidfile and logfile for ticker

14 years agoAdd separate user for pgq
Magnus Hagander [Fri, 12 Aug 2011 08:28:36 +0000 (10:28 +0200)]
Add separate user for pgq

14 years agoUpdate feature matrix versions etc
Magnus Hagander [Thu, 11 Aug 2011 14:22:18 +0000 (16:22 +0200)]
Update feature matrix versions etc

8.5 -> 9.0
add 8.1
bugfix typo for loading of 8.5/9.0 values

14 years agoConvert news as well, should not be commented out
Magnus Hagander [Thu, 11 Aug 2011 14:05:57 +0000 (16:05 +0200)]
Convert news as well, should not be commented out

14 years agoTruncate more rqeuired tables
Magnus Hagander [Thu, 11 Aug 2011 14:05:44 +0000 (16:05 +0200)]
Truncate more rqeuired tables

14 years agoTypo fix - use date, not type, to indicate date.
Magnus Hagander [Thu, 11 Aug 2011 14:03:21 +0000 (16:03 +0200)]
Typo fix - use date, not type, to indicate date.

14 years agoList supported versions in the admin interface
Magnus Hagander [Thu, 11 Aug 2011 13:52:57 +0000 (15:52 +0200)]
List supported versions in the admin interface

14 years agoUpdate copyright years
Magnus Hagander [Thu, 11 Aug 2011 13:17:16 +0000 (15:17 +0200)]
Update copyright years

14 years agoSync up to svn revision 2870
Magnus Hagander [Thu, 11 Aug 2011 13:11:23 +0000 (15:11 +0200)]
Sync up to svn revision 2870

14 years agoOnly include supported versions on the frontpage
Magnus Hagander [Tue, 12 Jul 2011 13:50:23 +0000 (14:50 +0100)]
Only include supported versions on the frontpage

14 years agoOnly index news items 4 years or younger
Magnus Hagander [Tue, 12 Jul 2011 13:17:29 +0000 (14:17 +0100)]
Only index news items 4 years or younger

14 years agoOnly sitemap events that actually are renderable
Magnus Hagander [Tue, 12 Jul 2011 13:17:14 +0000 (14:17 +0100)]
Only sitemap events that actually are renderable

14 years agoCorrecly handle old versions of the docs, where the file extension is .htm
Magnus Hagander [Tue, 12 Jul 2011 13:16:46 +0000 (14:16 +0100)]
Correcly handle old versions of the docs, where the file extension is .htm

14 years agoFix sitemap for product catalog
Magnus Hagander [Tue, 12 Jul 2011 13:16:20 +0000 (14:16 +0100)]
Fix sitemap for product catalog

14 years agoAdd concept of supported versions
Magnus Hagander [Tue, 12 Jul 2011 13:15:20 +0000 (14:15 +0100)]
Add concept of supported versions

Also, only index docs for supported versions...

14 years agoProperly quote URLs in the sitemap
Magnus Hagander [Tue, 12 Jul 2011 13:14:18 +0000 (14:14 +0100)]
Properly quote URLs in the sitemap

14 years agoEnsure that [Parent Directory] link ends up at the top of directory listings
Magnus Hagander [Tue, 12 Jul 2011 11:18:02 +0000 (12:18 +0100)]
Ensure that [Parent Directory] link ends up at the top of directory listings

Locale-aware sorting ignores the initial [, and sorts it at P. Instead,
sort before we add the parent link, and just insert it at the beginning.

14 years agoAdd INI file for pgq
Magnus Hagander [Sun, 19 Jun 2011 14:22:45 +0000 (16:22 +0200)]
Add INI file for pgq

14 years agoAdd a pgq consumer for purging URLs from Varnish
Magnus Hagander [Sun, 19 Jun 2011 14:17:55 +0000 (16:17 +0200)]
Add a pgq consumer for purging URLs from Varnish

14 years agoFix links to news and events submissions
Magnus Hagander [Wed, 15 Jun 2011 18:30:01 +0000 (20:30 +0200)]
Fix links to news and events submissions

14 years agoAdd a csrf token, hopefully fixing logins
Magnus Hagander [Wed, 15 Jun 2011 18:15:04 +0000 (20:15 +0200)]
Add a csrf token, hopefully fixing logins

14 years agoOnly show a truncated version of the news item in the archive
Magnus Hagander [Wed, 15 Jun 2011 18:00:11 +0000 (20:00 +0200)]
Only show a truncated version of the news item in the archive

This removes the need for a separate include file for item contents,
so remove that one as well.

14 years agoInclude title in news and event pages
Magnus Hagander [Wed, 15 Jun 2011 17:52:31 +0000 (19:52 +0200)]
Include title in news and event pages

14 years agoSynchronize documentation stylesheet changes to the new layout
Magnus Hagander [Wed, 15 Jun 2011 10:27:14 +0000 (12:27 +0200)]
Synchronize documentation stylesheet changes to the new layout

Thom Brown

14 years agoSync content pages up to subversion r2860
Magnus Hagander [Wed, 15 Jun 2011 10:17:19 +0000 (12:17 +0200)]
Sync content pages up to subversion r2860

14 years agoAdd license->licence redirect, same as on old site
Magnus Hagander [Wed, 15 Jun 2011 09:07:43 +0000 (11:07 +0200)]
Add license->licence redirect, same as on old site

14 years agoRemove print statement that cannot be used when running under a server
Magnus Hagander [Tue, 14 Jun 2011 17:50:29 +0000 (19:50 +0200)]
Remove print statement that cannot be used when running under a server

14 years agoImplement basic varnish purging
Magnus Hagander [Tue, 14 Jun 2011 17:48:48 +0000 (19:48 +0200)]
Implement basic varnish purging

This allows all models inherited from PgModel to specify which
URLs to purge by either setting a field or defining a function
called purge_urls, at which point they will be purged whenever
the save signal is fired.

Also implements a form under /admin/purge/ that allows for manual
purging. This should probably be extended in the future to show
the status of the pgq slaves, but that will come later.

Includes a SQL function that posts the expires to a pgq queue. For
a local deployment, this can be replaced with a simple void function
to turn off varnish purging.

14 years agoAdd comments about why we're not indexing some archive pages
Magnus Hagander [Wed, 1 Jun 2011 15:18:35 +0000 (17:18 +0200)]
Add comments about why we're not indexing some archive pages

15 years agoSync content pages up to subversion r2746.
Magnus Hagander [Wed, 29 Sep 2010 12:55:53 +0000 (14:55 +0200)]
Sync content pages up to subversion r2746.

Does not include css changes yet.

15 years agoFix URLs as generated, and don't index pointless pages
Magnus Hagander [Wed, 29 Sep 2010 12:40:28 +0000 (14:40 +0200)]
Fix URLs as generated, and don't index pointless pages

15 years agoAdd support for generating sitemap.
Magnus Hagander [Tue, 28 Sep 2010 14:12:13 +0000 (16:12 +0200)]
Add support for generating sitemap.

Each module now contains a struct.py file that will return all
the URLs that it can generate (yes, this is a small break of the
abstraction of url.py, but we've broken that elsewhere as well),
and also which search-engine-weight (0.1-1.0) that this URL should
be given.

15 years agoFix typo
Magnus Hagander [Tue, 28 Sep 2010 13:46:10 +0000 (15:46 +0200)]
Fix typo

15 years agoRemove leftover from copy/paste
Magnus Hagander [Tue, 28 Sep 2010 13:45:41 +0000 (15:45 +0200)]
Remove leftover from copy/paste

15 years agoDon't error out if there are no approved quotes avaliable
Magnus Hagander [Thu, 15 Jul 2010 20:39:28 +0000 (22:39 +0200)]
Don't error out if there are no approved quotes avaliable

15 years agoEnforce lowercase usernames everywhere.
Magnus Hagander [Tue, 22 Jun 2010 09:37:39 +0000 (11:37 +0200)]
Enforce lowercase usernames everywhere.

15 years agoAdd redirects as required to deal with legacy urls, for all the stuff
Magnus Hagander [Tue, 22 Jun 2010 09:17:49 +0000 (11:17 +0200)]
Add redirects as required to deal with legacy urls, for all the stuff
that was in .htaccess files on the old site.

15 years agoReturn a robots.txt file
Magnus Hagander [Fri, 18 Jun 2010 09:01:43 +0000 (11:01 +0200)]
Return a robots.txt file

15 years agoprettySize() is not used - we are already using the |filesize template
Magnus Hagander [Thu, 17 Jun 2010 13:05:11 +0000 (15:05 +0200)]
prettySize() is not used - we are already using the |filesize template
tag, which does the same thing in a much nicer way.

15 years agoRedirect the user back to the *survey*, not the answer (which usually meant
Magnus Hagander [Thu, 17 Jun 2010 12:58:03 +0000 (14:58 +0200)]
Redirect the user back to the *survey*, not the answer (which usually meant
redirecting to the wrong survey since the ids can't be mixed)

15 years agoUse new get_client_ip() function instead of using REMOTE_ADDR.
Magnus Hagander [Thu, 17 Jun 2010 12:56:26 +0000 (14:56 +0200)]
Use new get_client_ip() function instead of using REMOTE_ADDR.

15 years agoChange sysinfo cache to 30 seconds - it will show the wrong persons IP address
Magnus Hagander [Thu, 17 Jun 2010 12:21:47 +0000 (14:21 +0200)]
Change sysinfo cache to 30 seconds - it will show the wrong persons IP address
otherwise, of course :-)

15 years agoTypo patrol
Magnus Hagander [Thu, 17 Jun 2010 12:16:47 +0000 (14:16 +0200)]
Typo patrol

15 years agoEnsure that the system information view is only cached for 2 minutes
Magnus Hagander [Thu, 17 Jun 2010 12:15:27 +0000 (14:15 +0200)]
Ensure that the system information view is only cached for 2 minutes