pgweb.git
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

15 years agoImport required settings symbol
Magnus Hagander [Thu, 17 Jun 2010 12:14:53 +0000 (14:14 +0200)]
Import required settings symbol

15 years agoImplement is_behind_cache() and get_client_ip() functions to handle
Magnus Hagander [Thu, 17 Jun 2010 12:11:50 +0000 (14:11 +0200)]
Implement is_behind_cache() and get_client_ip() functions to handle
the fact that when pages are served through Varnish, the request will come
from the Varnish server and not from the client.

Create a /system_information page that shows some information about the
connection to help diagnose how the caches work.

15 years agoA couple of wording fixes suggested by Bruce
Magnus Hagander [Tue, 15 Jun 2010 19:11:20 +0000 (21:11 +0200)]
A couple of wording fixes suggested by Bruce

15 years agoAdd a whole bunch of basic documentation. I'm sure there's more to do,
Magnus Hagander [Mon, 14 Jun 2010 19:40:15 +0000 (21:40 +0200)]
Add a whole bunch of basic documentation. I'm sure there's more to do,
but this is at least a start.

15 years agoAdd basic README file with information about the project
Magnus Hagander [Mon, 14 Jun 2010 19:39:24 +0000 (21:39 +0200)]
Add basic README file with information about the project

15 years agoAdd instructions for how to set up a development enviroment, based on
Magnus Hagander [Mon, 14 Jun 2010 19:37:06 +0000 (21:37 +0200)]
Add instructions for how to set up a development enviroment, based on
a readme file from Selena

15 years agoSync download/linux.html up with subversion r2689.
Magnus Hagander [Mon, 14 Jun 2010 10:54:15 +0000 (12:54 +0200)]
Sync download/linux.html up with subversion r2689.

15 years agoAdd all the settings available to settings.py, even the ones that are
Magnus Hagander [Sun, 13 Jun 2010 13:17:25 +0000 (15:17 +0200)]
Add all the settings available to settings.py, even the ones that are
normally overwritten using settings_local.py.

15 years agoRefactor the list of objects needing moderation into utils/moderation.py,
Magnus Hagander [Sun, 13 Jun 2010 13:11:53 +0000 (15:11 +0200)]
Refactor the list of objects needing moderation into utils/moderation.py,
and create a script to use this to generate a moderation report email.

15 years agopsycopg2 doesn't need an explicit import anymore
Magnus Hagander [Sun, 13 Jun 2010 12:54:18 +0000 (14:54 +0200)]
psycopg2 doesn't need an explicit import anymore

15 years agoAdd 8.0 docs links to manual list, not just index page
Magnus Hagander [Sun, 13 Jun 2010 11:05:34 +0000 (13:05 +0200)]
Add 8.0 docs links to manual list, not just index page

15 years agoAdd the planet RSS feed to the initial fixtures
Magnus Hagander [Fri, 11 Jun 2010 17:36:09 +0000 (19:36 +0200)]
Add the planet RSS feed to the initial fixtures

15 years agoMake the RSS feeder use the django model framework, to be consistent.
Magnus Hagander [Fri, 11 Jun 2010 17:31:29 +0000 (19:31 +0200)]
Make the RSS feeder use the django model framework, to be consistent.

15 years agoMake the pending moderations request page look a lot nicer (more like the
Magnus Hagander [Fri, 11 Jun 2010 14:07:01 +0000 (16:07 +0200)]
Make the pending moderations request page look a lot nicer (more like the
rest of the admin site)

15 years agoClean up the admin interface - move our special links to the index page only,
Magnus Hagander [Fri, 11 Jun 2010 13:58:03 +0000 (15:58 +0200)]
Clean up the admin interface - move our special links to the index page only,
remove them from the login form. Remove the Sites application, since we don't
use it.

15 years agoFix security link
Magnus Hagander [Fri, 11 Jun 2010 12:41:05 +0000 (14:41 +0200)]
Fix security link

15 years agoHandle references to .html pages, for example the link to security. We can
Magnus Hagander [Fri, 11 Jun 2010 12:37:17 +0000 (14:37 +0200)]
Handle references to .html pages, for example the link to security. We can
fix the links, but we need to keep the old references for links coming
in from other sites.

15 years agoMigrate the contact page over.
Magnus Hagander [Fri, 11 Jun 2010 12:32:21 +0000 (14:32 +0200)]
Migrate the contact page over.

15 years agoAdd back the header with search and contact links, etc. Not entirely
Magnus Hagander [Fri, 11 Jun 2010 12:31:34 +0000 (14:31 +0200)]
Add back the header with search and contact links, etc. Not entirely
sure why that was lost in the migration.

15 years agoIndicate if a news article has been migrated, the same way we do for
Magnus Hagander [Fri, 11 Jun 2010 12:22:49 +0000 (14:22 +0200)]
Indicate if a news article has been migrated, the same way we do for
events.

15 years agoAdd app to store and view the PostgreSQL Weekly News, including generation
Magnus Hagander [Thu, 10 Jun 2010 18:43:54 +0000 (20:43 +0200)]
Add app to store and view the PostgreSQL Weekly News, including generation
of the RSS feed. (Which will receive a new URL now that it lives in the
actual app and not in with the static files, so a redirect will be needed
there).

15 years agoAdd a couple of conversion scripts used to get data off the old wwwmaster
Magnus Hagander [Thu, 10 Jun 2010 17:11:29 +0000 (19:11 +0200)]
Add a couple of conversion scripts used to get data off the old wwwmaster
onto the new system. Will be deleted once the migration is done, but it's
good to keep them around.

15 years agoRe-fix event sorting, we're supposed to sort by *end* date...
Magnus Hagander [Thu, 10 Jun 2010 17:08:30 +0000 (19:08 +0200)]
Re-fix event sorting, we're supposed to sort by *end* date...

15 years agoFix sorting of events
Magnus Hagander [Thu, 10 Jun 2010 17:04:58 +0000 (19:04 +0200)]
Fix sorting of events

15 years agoAnnoyingly enough, EnterpriseDB actually uses more than 100 chars to
Magnus Hagander [Thu, 10 Jun 2010 14:48:00 +0000 (16:48 +0200)]
Annoyingly enough, EnterpriseDB actually uses more than 100 chars to
list their prices..

15 years agoSync up contents of static HTML files in the template directory with changes
Magnus Hagander [Thu, 10 Jun 2010 14:05:40 +0000 (16:05 +0200)]
Sync up contents of static HTML files in the template directory with changes
on the main website.

With this update, the tree is in sync with subversion r2686.

15 years agoGet the information for the ftp browser from a file that is generated
Magnus Hagander [Thu, 10 Jun 2010 12:46:16 +0000 (14:46 +0200)]
Get the information for the ftp browser from a file that is generated
on the ftp server, instead of crawling the directoreis directly. This
removes the requirement to sync almost 10Gb worth of ftp site onto the
web server...

The pickle file for this is currently around 1Mb, so it's not a huge
burden on the server. If it grows larger in the future, we may want to
re-think this and split it up, or put it in a database format or something
like that.

15 years agoSet dimensions for upcoming training image on the frontpage.
Magnus Hagander [Thu, 10 Jun 2010 11:12:31 +0000 (13:12 +0200)]
Set dimensions for upcoming training image on the frontpage.

15 years agoEnforce redirection of /admin/ to https in the django code instead,
Magnus Hagander [Wed, 9 Jun 2010 17:47:27 +0000 (19:47 +0200)]
Enforce redirection of /admin/ to https in the django code instead,
seems impossible to get it working properly in the webserver...

15 years agoMissing include!
Magnus Hagander [Wed, 9 Jun 2010 14:52:01 +0000 (16:52 +0200)]
Missing include!

15 years agoControl the caching of the frontpage to 10 minutes
Magnus Hagander [Wed, 9 Jun 2010 14:50:54 +0000 (16:50 +0200)]
Control the caching of the frontpage to 10 minutes

15 years agoFix formatting of s-maxage
Magnus Hagander [Wed, 9 Jun 2010 14:50:44 +0000 (16:50 +0200)]
Fix formatting of s-maxage

15 years agoFix blue arrow URL
Magnus Hagander [Tue, 8 Jun 2010 20:16:52 +0000 (22:16 +0200)]
Fix blue arrow URL

15 years agoFix image name typos. Per report from Selena.
Magnus Hagander [Mon, 7 Jun 2010 19:01:04 +0000 (21:01 +0200)]
Fix image name typos. Per report from Selena.

15 years agoBasic styling making form error messages look a little bit better.
Magnus Hagander [Tue, 30 Mar 2010 16:26:30 +0000 (18:26 +0200)]
Basic styling making form error messages look a little bit better.

15 years agoAdd page with list of all pending moderation requests, and link it
Magnus Hagander [Sun, 21 Mar 2010 17:25:00 +0000 (18:25 +0100)]
Add page with list of all pending moderation requests, and link it
(somewhat hackishly) onto the header of the administration pages.

15 years agoAdd string output for doc comment
Magnus Hagander [Sun, 21 Mar 2010 17:24:12 +0000 (18:24 +0100)]
Add string output for doc comment

15 years agoInclude country name in the mirror select list, not just the flag.
Magnus Hagander [Sun, 14 Mar 2010 15:26:07 +0000 (16:26 +0100)]
Include country name in the mirror select list, not just the flag.

15 years agoControl the headline of forms to say "New" and "Edit" depending
Magnus Hagander [Sat, 27 Feb 2010 01:09:59 +0000 (02:09 +0100)]
Control the headline of forms to say "New" and "Edit" depending
on what we're actually doing.

15 years agoProper intro text for account signup form
Magnus Hagander [Sat, 27 Feb 2010 01:07:42 +0000 (02:07 +0100)]
Proper intro text for account signup form

15 years agoMake the base form support different names for the save button
Magnus Hagander [Sat, 27 Feb 2010 01:06:15 +0000 (02:06 +0100)]
Make the base form support different names for the save button

15 years agoRe-instate the new links for different objects, that was accidentally
Magnus Hagander [Sat, 27 Feb 2010 01:03:34 +0000 (02:03 +0100)]
Re-instate the new links for different objects, that was accidentally
removed earlier.

15 years agoAdd support for legacy signup URL, since it's linked from external
Magnus Hagander [Fri, 26 Feb 2010 14:59:18 +0000 (15:59 +0100)]
Add support for legacy signup URL, since it's linked from external
systems.

15 years agoThese are not objects, so the parameter isn't "self" - it's the request object
Magnus Hagander [Fri, 26 Feb 2010 14:58:27 +0000 (15:58 +0100)]
These are not objects, so the parameter isn't "self" - it's the request object

15 years agoAdd support for changing passwords, resetting passwords and signing
Magnus Hagander [Fri, 26 Feb 2010 14:57:33 +0000 (15:57 +0100)]
Add support for changing passwords, resetting passwords and signing
up for new accounts.

15 years agoClean up the /accounts/ section. Still need to edit profile somehow,
Magnus Hagander [Fri, 26 Feb 2010 12:58:41 +0000 (13:58 +0100)]
Clean up the /accounts/ section. Still need to edit profile somehow,
but the submitted objects are now much nicer arranged.

15 years agoAdjust footer to be the same as the main pages
Magnus Hagander [Fri, 26 Feb 2010 12:18:27 +0000 (13:18 +0100)]
Adjust footer to be the same as the main pages

15 years agoAdd the concept of a "current version", and use this when determining
Magnus Hagander [Fri, 26 Feb 2010 12:14:03 +0000 (13:14 +0100)]
Add the concept of a "current version", and use this when determining
which version to map /current/ to in the docs section.

15 years agoProperly print event locations that have a state
Magnus Hagander [Fri, 26 Feb 2010 11:58:13 +0000 (12:58 +0100)]
Properly print event locations that have a state

15 years agoMake it possible to add new organisations again - they need to be tagged
Magnus Hagander [Fri, 26 Feb 2010 11:53:26 +0000 (12:53 +0100)]
Make it possible to add new organisations again - they need to be tagged
with the logged in user as the first manager, or they become orphans before
they're even created...

15 years agoMake organisations support multiple "managers" and not just one
Magnus Hagander [Fri, 26 Feb 2010 11:34:19 +0000 (12:34 +0100)]
Make organisations support multiple "managers" and not just one
"submitter", thus making it possible for a single person to manage
multiple organisations, as well as for a single organisation to have
multiple different manages.

Re-hook events and news items to use organisation of the submitter
instead of the user who did the submission. (product listings already
did this)

15 years agoMake filter_by_user apply to forms when they are edited as well, not just
Magnus Hagander [Fri, 26 Feb 2010 11:30:28 +0000 (12:30 +0100)]
Make filter_by_user apply to forms when they are edited as well, not just
when they are created. This is to make sure the organisation list, for example,
doesn't list all non-avaiable organisations when there was a missing field
somewhere else in the form.

15 years agoUpdate copyright date to 2010
Magnus Hagander [Fri, 26 Feb 2010 10:24:50 +0000 (11:24 +0100)]
Update copyright date to 2010

15 years agoMake professional services also use organisations
Magnus Hagander [Thu, 25 Feb 2010 16:03:12 +0000 (17:03 +0100)]
Make professional services also use organisations

15 years agoMake each event have an organisation that's not just a free-text field,
Magnus Hagander [Thu, 25 Feb 2010 15:46:36 +0000 (16:46 +0100)]
Make each event have an organisation that's not just a free-text field,
for future ability to have multiple people manage a single event.

15 years agoAdd support for docs comments
Magnus Hagander [Sat, 16 Jan 2010 19:02:07 +0000 (20:02 +0100)]
Add support for docs comments

15 years agoSupport fixed fields in forms, such as the version and filename for
Magnus Hagander [Sat, 16 Jan 2010 19:01:11 +0000 (20:01 +0100)]
Support fixed fields in forms, such as the version and filename for
a doc comment.

15 years agoClearly this file was never supposed to be included
Magnus Hagander [Sat, 16 Jan 2010 18:53:02 +0000 (19:53 +0100)]
Clearly this file was never supposed to be included