Magnus Hagander [Tue, 8 Nov 2011 13:44:07 +0000 (14:44 +0100)]
Remove presskit link to file that does not exist
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.
Magnus Hagander [Tue, 8 Nov 2011 13:30:22 +0000 (14:30 +0100)]
Add migration of contributor list
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.
Magnus Hagander [Mon, 7 Nov 2011 21:07:08 +0000 (22:07 +0100)]
Fix verbose names
Magnus Hagander [Mon, 7 Nov 2011 21:04:53 +0000 (22:04 +0100)]
Remove ugly period
Magnus Hagander [Mon, 7 Nov 2011 20:52:34 +0000 (21:52 +0100)]
Fix FAQ link
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
Magnus Hagander [Mon, 7 Nov 2011 20:47:37 +0000 (21:47 +0100)]
Set proper title on list subscription form.
Magnus Hagander [Mon, 7 Nov 2011 20:42:55 +0000 (21:42 +0100)]
Allow HTML in mailinglist descriptions
Magnus Hagander [Mon, 7 Nov 2011 20:37:18 +0000 (21:37 +0100)]
Fix "what's new" text to have the proper ' in it.
Magnus Hagander [Mon, 7 Nov 2011 20:29:47 +0000 (21:29 +0100)]
Add ordering of product categories
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...
Magnus Hagander [Sun, 6 Nov 2011 15:12:52 +0000 (16:12 +0100)]
Must include the leading slash in purges.
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...
Magnus Hagander [Sun, 6 Nov 2011 11:10:10 +0000 (12:10 +0100)]
Fix for newer version of git
Magnus Hagander [Sun, 6 Nov 2011 11:09:18 +0000 (12:09 +0100)]
Oops, include missing cd command
Magnus Hagander [Sun, 6 Nov 2011 11:05:43 +0000 (12:05 +0100)]
Add script to update the site automatically from cron
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...
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.
Magnus Hagander [Sat, 5 Nov 2011 18:18:23 +0000 (19:18 +0100)]
Date/time-stamp all log entries
Magnus Hagander [Sat, 5 Nov 2011 17:51:10 +0000 (18:51 +0100)]
Add a sync_timestamp URL to point automirror at
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.
Magnus Hagander [Sat, 5 Nov 2011 14:57:06 +0000 (15:57 +0100)]
Sync up to svn revision 2906
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
Magnus Hagander [Wed, 24 Aug 2011 14:56:00 +0000 (16:56 +0200)]
Add edit for professional services
Magnus Hagander [Wed, 24 Aug 2011 14:38:28 +0000 (16:38 +0200)]
Each organisation should only be able to have one professional service
Magnus Hagander [Wed, 24 Aug 2011 14:38:04 +0000 (16:38 +0200)]
Set verbose name for fields in professional services
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
Magnus Hagander [Sat, 20 Aug 2011 19:50:11 +0000 (21:50 +0200)]
Add required table iptocountry, for downloads
Thom Brown [Fri, 19 Aug 2011 15:26:12 +0000 (16:26 +0100)]
Include style switcher in main site base template
Magnus Hagander [Thu, 18 Aug 2011 08:46:48 +0000 (10:46 +0200)]
Add 500.html template, missed in previous commit
Magnus Hagander [Thu, 18 Aug 2011 08:46:36 +0000 (10:46 +0200)]
Validate superuser on "hidden" admin views
Magnus Hagander [Thu, 18 Aug 2011 08:46:25 +0000 (10:46 +0200)]
Implement proper mergeing of organisations
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
Magnus Hagander [Wed, 17 Aug 2011 18:28:03 +0000 (20:28 +0200)]
Render server errors with a nicer template
Magnus Hagander [Wed, 17 Aug 2011 18:02:10 +0000 (20:02 +0200)]
Link to markdown specification for markdown fields
Magnus Hagander [Wed, 17 Aug 2011 17:55:13 +0000 (19:55 +0200)]
Set page title on simple forms, not just the H1 tag
Magnus Hagander [Wed, 17 Aug 2011 17:51:15 +0000 (19:51 +0200)]
Don't show empty list of moderation items
Magnus Hagander [Wed, 17 Aug 2011 17:51:05 +0000 (19:51 +0200)]
Fix login functions to be compatible with pg 9.0
Magnus Hagander [Tue, 16 Aug 2011 19:35:48 +0000 (21:35 +0200)]
Rescale some logo files to be the correct size
Magnus Hagander [Tue, 16 Aug 2011 19:28:04 +0000 (21:28 +0200)]
Get wwwmaster from settings instead of hardcoded, when possible
Magnus Hagander [Tue, 16 Aug 2011 19:13:38 +0000 (21:13 +0200)]
Remove old reference to open source experts
Magnus Hagander [Tue, 16 Aug 2011 19:10:47 +0000 (21:10 +0200)]
Clarify that we want a repeat email
Magnus Hagander [Tue, 16 Aug 2011 19:06:30 +0000 (21:06 +0200)]
Properly migrate mailinglist information
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.
Magnus Hagander [Tue, 16 Aug 2011 18:56:12 +0000 (20:56 +0200)]
Add missing sponsor logos
Magnus Hagander [Tue, 16 Aug 2011 18:45:34 +0000 (20:45 +0200)]
Migrate privacy policy, previosly forgotten
Magnus Hagander [Tue, 16 Aug 2011 18:44:36 +0000 (20:44 +0200)]
Change about website -> about postgresql
Magnus Hagander [Tue, 16 Aug 2011 11:58:27 +0000 (13:58 +0200)]
Properly order surveys on list
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...
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...
Magnus Hagander [Fri, 12 Aug 2011 11:02:19 +0000 (13:02 +0200)]
Open for writing the correct way
Magnus Hagander [Fri, 12 Aug 2011 11:01:22 +0000 (13:01 +0200)]
Open logfile for append, not write..
Magnus Hagander [Fri, 12 Aug 2011 10:56:32 +0000 (12:56 +0200)]
Add gitignore for external downloads directory
Magnus Hagander [Fri, 12 Aug 2011 10:55:41 +0000 (12:55 +0200)]
Add logfile argument to varnish consumer
Magnus Hagander [Fri, 12 Aug 2011 08:49:18 +0000 (10:49 +0200)]
Set pidfile and logfile for ticker
Magnus Hagander [Fri, 12 Aug 2011 08:28:36 +0000 (10:28 +0200)]
Add separate user for pgq
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
Magnus Hagander [Thu, 11 Aug 2011 14:05:57 +0000 (16:05 +0200)]
Convert news as well, should not be commented out
Magnus Hagander [Thu, 11 Aug 2011 14:05:44 +0000 (16:05 +0200)]
Truncate more rqeuired tables
Magnus Hagander [Thu, 11 Aug 2011 14:03:21 +0000 (16:03 +0200)]
Typo fix - use date, not type, to indicate date.
Magnus Hagander [Thu, 11 Aug 2011 13:52:57 +0000 (15:52 +0200)]
List supported versions in the admin interface
Magnus Hagander [Thu, 11 Aug 2011 13:17:16 +0000 (15:17 +0200)]
Update copyright years
Magnus Hagander [Thu, 11 Aug 2011 13:11:23 +0000 (15:11 +0200)]
Sync up to svn revision 2870
Magnus Hagander [Tue, 12 Jul 2011 13:50:23 +0000 (14:50 +0100)]
Only include supported versions on the frontpage
Magnus Hagander [Tue, 12 Jul 2011 13:17:29 +0000 (14:17 +0100)]
Only index news items 4 years or younger
Magnus Hagander [Tue, 12 Jul 2011 13:17:14 +0000 (14:17 +0100)]
Only sitemap events that actually are renderable
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
Magnus Hagander [Tue, 12 Jul 2011 13:16:20 +0000 (14:16 +0100)]
Fix sitemap for product catalog
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...
Magnus Hagander [Tue, 12 Jul 2011 13:14:18 +0000 (14:14 +0100)]
Properly quote URLs in the sitemap
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.
Magnus Hagander [Sun, 19 Jun 2011 14:22:45 +0000 (16:22 +0200)]
Add INI file for pgq
Magnus Hagander [Sun, 19 Jun 2011 14:17:55 +0000 (16:17 +0200)]
Add a pgq consumer for purging URLs from Varnish
Magnus Hagander [Wed, 15 Jun 2011 18:30:01 +0000 (20:30 +0200)]
Fix links to news and events submissions
Magnus Hagander [Wed, 15 Jun 2011 18:15:04 +0000 (20:15 +0200)]
Add a csrf token, hopefully fixing logins
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.
Magnus Hagander [Wed, 15 Jun 2011 17:52:31 +0000 (19:52 +0200)]
Include title in news and event pages
Magnus Hagander [Wed, 15 Jun 2011 10:27:14 +0000 (12:27 +0200)]
Synchronize documentation stylesheet changes to the new layout
Thom Brown
Magnus Hagander [Wed, 15 Jun 2011 10:17:19 +0000 (12:17 +0200)]
Sync content pages up to subversion r2860
Magnus Hagander [Wed, 15 Jun 2011 09:07:43 +0000 (11:07 +0200)]
Add license->licence redirect, same as on old site
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
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.
Magnus Hagander [Wed, 1 Jun 2011 15:18:35 +0000 (17:18 +0200)]
Add comments about why we're not indexing some archive pages
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.
Magnus Hagander [Wed, 29 Sep 2010 12:40:28 +0000 (14:40 +0200)]
Fix URLs as generated, and don't index pointless pages
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.
Magnus Hagander [Tue, 28 Sep 2010 13:46:10 +0000 (15:46 +0200)]
Fix typo
Magnus Hagander [Tue, 28 Sep 2010 13:45:41 +0000 (15:45 +0200)]
Remove leftover from copy/paste
Magnus Hagander [Thu, 15 Jul 2010 20:39:28 +0000 (22:39 +0200)]
Don't error out if there are no approved quotes avaliable
Magnus Hagander [Tue, 22 Jun 2010 09:37:39 +0000 (11:37 +0200)]
Enforce lowercase usernames everywhere.
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.
Magnus Hagander [Fri, 18 Jun 2010 09:01:43 +0000 (11:01 +0200)]
Return a robots.txt file
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.
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)
Magnus Hagander [Thu, 17 Jun 2010 12:56:26 +0000 (14:56 +0200)]
Use new get_client_ip() function instead of using REMOTE_ADDR.
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 :-)
Magnus Hagander [Thu, 17 Jun 2010 12:16:47 +0000 (14:16 +0200)]
Typo patrol
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