pgweb.git
13 years agoMake sure month numbers are padded with a leading zero
Magnus Hagander [Tue, 6 Dec 2011 08:49:55 +0000 (09:49 +0100)]
Make sure month numbers are padded with a leading zero

Per report from Alvaro

13 years agoFix typo, reported by Cedric
Magnus Hagander [Mon, 5 Dec 2011 16:07:59 +0000 (17:07 +0100)]
Fix typo, reported by Cedric

13 years agoPurges need to be anchored in / - fix news and events rss feeds
Magnus Hagander [Mon, 5 Dec 2011 14:25:15 +0000 (15:25 +0100)]
Purges need to be anchored in / - fix news and events rss feeds

13 years agoUpdate shoutbox with new release versions
Magnus Hagander [Mon, 5 Dec 2011 13:47:41 +0000 (14:47 +0100)]
Update shoutbox with new release versions

13 years agoDon't die on invalid input quite as easily - switch back to default values instead
Magnus Hagander [Sun, 4 Dec 2011 15:54:49 +0000 (16:54 +0100)]
Don't die on invalid input quite as easily - switch back to default values instead

13 years agoInclude docs load timestamp in developer docs
Magnus Hagander [Sun, 4 Dec 2011 14:14:54 +0000 (15:14 +0100)]
Include docs load timestamp in developer docs

This makes it possible to figure out when the docs were actually
loaded, since developer docs don't carry a version number. This is
actually going to be the docs *load* timestamp, and not build timestamp,
but they should be close enough together that it shouldn't matter.

Fixes #108

13 years agoPurge the correct URL when loading developer docs
Magnus Hagander [Sun, 4 Dec 2011 14:01:43 +0000 (15:01 +0100)]
Purge the correct URL when loading developer docs

They're /docs/devel/, not /docs/0/ - that's just used to cheat the
version system  being a decimal field...

13 years agoInclude list of 20 latest purges in the varnish purging page (in /admin)
Magnus Hagander [Sun, 4 Dec 2011 13:54:59 +0000 (14:54 +0100)]
Include list of 20 latest purges in the varnish purging page (in /admin)

It's a way to keep track of what the system is doing, I guess...

13 years agoPurge related URLs from varnish when a new item is fetched from RSS
Magnus Hagander [Sun, 4 Dec 2011 13:34:52 +0000 (14:34 +0100)]
Purge related URLs from varnish when a new item is fetched from RSS

Fixes #95

13 years agoFix docs index filename for old versions
Magnus Hagander [Sun, 4 Dec 2011 13:23:45 +0000 (14:23 +0100)]
Fix docs index filename for old versions

It hasn't always been called index.html, annoyingly enough...

Fixes #109

13 years agoFix link to 7.0 docs
Magnus Hagander [Sun, 4 Dec 2011 13:18:12 +0000 (14:18 +0100)]
Fix link to 7.0 docs

13 years agoSwitch to "new style" google analytics calling
Magnus Hagander [Sun, 4 Dec 2011 11:56:47 +0000 (12:56 +0100)]
Switch to "new style" google analytics calling

It's not really new. And in passing, put it back in one of the base
templates where it got missing in the switch to the new site.

13 years agoInclude link to pending moderation and varnish purging in all admin headers
Magnus Hagander [Sun, 4 Dec 2011 11:35:26 +0000 (12:35 +0100)]
Include link to pending moderation and varnish purging in all admin headers

13 years agoPending page should require staff access, not superuser
Magnus Hagander [Sat, 3 Dec 2011 15:49:16 +0000 (16:49 +0100)]
Pending page should require staff access, not superuser

13 years agoChange templates to use www.postgresql.org/search/ for search boxes
Magnus Hagander [Sat, 3 Dec 2011 14:14:23 +0000 (15:14 +0100)]
Change templates to use postgresql.org/search/ for search boxes

This makes search results render properly in the new website framwework.
Also fixes the URL for search in interactive docs, without requiring
double-indexing.

Fixes #100 and #112

13 years agoLimit search query length to 1000 characters
Magnus Hagander [Sat, 3 Dec 2011 13:57:59 +0000 (14:57 +0100)]
Limit search query length to 1000 characters

13 years agoEnsure URLs are encoded UTF-8 before quoting them
Magnus Hagander [Sat, 3 Dec 2011 13:44:58 +0000 (14:44 +0100)]
Ensure URLs are encoded UTF-8 before quoting them

Fixes issues with extended characters in search queries. Thanks
Stefan for some attemped hacking ;)

13 years agoMake the default daterange be 1 year, like it was on the old site
Magnus Hagander [Sat, 3 Dec 2011 12:16:15 +0000 (13:16 +0100)]
Make the default daterange be 1 year, like it was on the old site

13 years agoDon't cause exception when no daterange is specified
Magnus Hagander [Sat, 3 Dec 2011 12:13:18 +0000 (13:13 +0100)]
Don't cause exception when no daterange is specified

13 years agoAdd views and templates to perform searches from the main web app
Magnus Hagander [Sat, 3 Dec 2011 12:01:18 +0000 (13:01 +0100)]
Add views and templates to perform searches from the main web app

This makes it possible to render the search results on the main engine.
We still run the query on the seprate search server, so once has to be
configured in settings_local.py with the key SEARCH_DSN (standard
PostgreSQL/psycopg2 connection string)

13 years agoAdd property to return the negative id of a listgroup
Magnus Hagander [Sat, 3 Dec 2011 11:58:57 +0000 (12:58 +0100)]
Add property to return the negative id of a listgroup

This is used so we can reference the group as a negative id number from
a template, which is the standard way we separate it from lists when
included in the same dropdowns.

13 years agoDon't do HTML escaping on text entered in the bug form
Magnus Hagander [Fri, 2 Dec 2011 15:38:42 +0000 (16:38 +0100)]
Don't do HTML escaping on text entered in the bug form

The output is sent to an email - and escaping it breaks things like
using < and > characters in the bug report, which is quite normal...

13 years agoAdd some layout pngs that were not imported from the old site for some reason
Magnus Hagander [Thu, 1 Dec 2011 20:59:43 +0000 (21:59 +0100)]
Add some layout pngs that were not imported from the old site for some reason

13 years agoRemove leftover calls to PHP template functions
Magnus Hagander [Thu, 1 Dec 2011 20:34:45 +0000 (21:34 +0100)]
Remove leftover calls to PHP template functions

13 years agoUse correct classname for DoesNotExist exception
Magnus Hagander [Thu, 1 Dec 2011 14:45:25 +0000 (15:45 +0100)]
Use correct classname for DoesNotExist exception

13 years agoRemove redundant space from awards page, give award source logos blank alt attribute...
Thom Brown [Thu, 1 Dec 2011 11:19:31 +0000 (11:19 +0000)]
Remove redundant space from awards page, give award source logos blank alt attribute, and avoid bold tag on bug header template.

The awards page needs a lot more doing to it, particularly removing the bold tags, and try to avoid using tables for layouts, but we'll revisit this.

13 years agoUpdate my employer, and also the URL of the pglivecd project.
Devrim GUNDUZ [Tue, 29 Nov 2011 19:18:25 +0000 (21:18 +0200)]
Update my employer, and also the URL of the pglivecd project.

13 years ago Create prettier text for many-to-many fields in mail notifications
Jonathan S. Katz [Tue, 29 Nov 2011 18:06:38 +0000 (13:06 -0500)]
Create prettier text for many-to-many fields in mail notifications

    Creates prettier text for many-to-many fields for mail notifications by detecting if such a field is of a many-to-many type, and if so, joins the list together based on the related object's default unicode representation

    Fixes #110

    removed extra line of commented code

13 years agoRemove broken link to pg_live distribution.
Dave Page [Tue, 29 Nov 2011 15:06:33 +0000 (15:06 +0000)]
Remove broken link to pg_live distribution.

13 years agoInclude the secondary platform in the applications-v2.xml file.
Dave Page [Tue, 29 Nov 2011 09:58:56 +0000 (09:58 +0000)]
Include the secondary platform in the applications-v2.xml file.

13 years agoAdd Win64 support to the SB management pages.
Dave Page [Tue, 29 Nov 2011 09:49:04 +0000 (09:49 +0000)]
Add Win64 support to the SB management pages.

13 years agoParse files in the ftp tree as utf8, so as not to get random encoding errors
Magnus Hagander [Mon, 28 Nov 2011 20:14:04 +0000 (21:14 +0100)]
Parse files in the ftp tree as utf8, so as not to get random encoding errors

Any characters that aren't utf-8 will get replaced with the unicode
replacement character, instead of throwing an exception.

Fixes #106

14 years agoEnsure that files we look for in the filesystem are ASCII filenames
Magnus Hagander [Mon, 28 Nov 2011 17:55:21 +0000 (18:55 +0100)]
Ensure that files we look for in the filesystem are ASCII filenames

We don't have any utf8 or latin1 in the filenames at this point, and
there's no reason to start adding it....

Fixes #111

14 years agoUse the same URL in the sitemap as on the website....
Magnus Hagander [Sun, 27 Nov 2011 19:26:07 +0000 (20:26 +0100)]
Use the same URL in the sitemap as on the website....

14 years agoDon't index the ftp browser for now - it doesn't really contain
Magnus Hagander [Sun, 27 Nov 2011 18:58:57 +0000 (19:58 +0100)]
Don't index the ftp browser for now - it doesn't really contain
anything useful to search

14 years agoOops, don't double up the /admin/ directory in the URL
Magnus Hagander [Sun, 27 Nov 2011 18:51:11 +0000 (19:51 +0100)]
Oops, don't double up the /admin/ directory in the URL

14 years agoremove direct link to a specific quote, it is the only reference of that kind on...
Stefan Kaltenbrunner [Sun, 27 Nov 2011 18:45:10 +0000 (19:45 +0100)]
remove direct link to a specific quote, it is the only reference of that kind on the entire site and it does not seem worth the effort to make that work...

14 years agoDon't try to log into a nonexisting clickthrus table for now
Magnus Hagander [Sun, 27 Nov 2011 18:08:05 +0000 (19:08 +0100)]
Don't try to log into a nonexisting clickthrus table for now

14 years agoAdd casestudy pages that were missed in the migration
Magnus Hagander [Sun, 27 Nov 2011 16:56:40 +0000 (17:56 +0100)]
Add casestudy pages that were missed in the migration

14 years agoRemove more references to wwwmaster
Magnus Hagander [Sun, 27 Nov 2011 16:52:36 +0000 (17:52 +0100)]
Remove more references to wwwmaster

14 years agoRemove submitter field from professional services
Magnus Hagander [Sun, 27 Nov 2011 16:49:12 +0000 (17:49 +0100)]
Remove submitter field from professional services

The rest of the code already dealt with profservs attached to organisations,
but the existance of tihs field causded the validation to reject any
updates since this field is wrong. Instead, create a verify_submitter()
function that checks the permissions on the organisation.

This fixes #98

14 years agonot sure what Decic was supposed to say, but it seems we have enough screen estate...
Stefan Kaltenbrunner [Sun, 27 Nov 2011 16:05:47 +0000 (17:05 +0100)]
not sure what Decic was supposed to say, but it seems we have enough screen estate to writte a proper Dedicated, also "Specs" seems more useful than Perf for me

14 years agoadd a title to the password change pages
Stefan Kaltenbrunner [Sun, 27 Nov 2011 16:05:24 +0000 (17:05 +0100)]
add a title to the password change pages

14 years agofix minor spelling error in the browser title page
Stefan Kaltenbrunner [Sun, 27 Nov 2011 15:56:19 +0000 (16:56 +0100)]
fix minor spelling error in the browser title page

14 years agoAdd view used to dump ssh keys for git service
Magnus Hagander [Sun, 27 Nov 2011 15:44:15 +0000 (16:44 +0100)]
Add view used to dump ssh keys for git service

14 years agoIgnore symlinks in docs tarballs
Magnus Hagander [Sun, 27 Nov 2011 15:05:30 +0000 (16:05 +0100)]
Ignore symlinks in docs tarballs

Required for postgresql <7.1

14 years agoAdd redirect for images used by some community websites
Magnus Hagander [Sun, 27 Nov 2011 14:23:59 +0000 (15:23 +0100)]
Add redirect for images used by some community websites

14 years agoAdd simple 404 template
Magnus Hagander [Sun, 27 Nov 2011 13:56:39 +0000 (14:56 +0100)]
Add simple 404 template

14 years agoMigrate ssh keys and store them in a UserProfile table
Magnus Hagander [Sun, 27 Nov 2011 13:44:18 +0000 (14:44 +0100)]
Migrate ssh keys and store them in a UserProfile table

14 years agoMake it possible to autocreate an object in simple_form
Magnus Hagander [Sun, 27 Nov 2011 13:13:16 +0000 (14:13 +0100)]
Make it possible to autocreate an object in simple_form

Previously, one had to specify "new" as objectid to create a new one, but
in some cases it may not be known ahead of time if the object exists or not.

14 years agoAll purge_urls must be rooted, since we add ^ at the beginning
Magnus Hagander [Sun, 27 Nov 2011 12:31:20 +0000 (13:31 +0100)]
All purge_urls must be rooted, since we add ^ at the beginning

14 years agoConcept of mastersite is no longer used, remove all references
Magnus Hagander [Sun, 27 Nov 2011 11:34:00 +0000 (12:34 +0100)]
Concept of mastersite is no longer used, remove all references

14 years agoInclude missing slash in URL to purge for quotes
Magnus Hagander [Sun, 27 Nov 2011 11:29:50 +0000 (12:29 +0100)]
Include missing slash in URL to purge for quotes

14 years agoChange order of inheritance to make purging work properly
Magnus Hagander [Sun, 27 Nov 2011 11:27:17 +0000 (12:27 +0100)]
Change order of inheritance to make purging work properly

14 years agoDon't include version 0.0.0 in RSS feed
Magnus Hagander [Sun, 27 Nov 2011 11:21:43 +0000 (12:21 +0100)]
Don't include version 0.0.0 in RSS feed

(this is used for developer versions of the docs, it's not a real version..)

14 years agoOnly include supported versions. In particular, don't include 0.0.0
Magnus Hagander [Sun, 27 Nov 2011 11:21:29 +0000 (12:21 +0100)]
Only include supported versions. In particular, don't include 0.0.0

14 years agoAdd back a : that mysteriously went missing
Magnus Hagander [Sun, 27 Nov 2011 11:11:17 +0000 (12:11 +0100)]
Add back a : that mysteriously went missing

14 years agoUpdate the static files as well, not just the dynamic site
Magnus Hagander [Sat, 26 Nov 2011 20:13:38 +0000 (21:13 +0100)]
Update the static files as well, not just the dynamic site

14 years agoPurge newly loaded docs from varnish automatically
Magnus Hagander [Wed, 23 Nov 2011 07:55:33 +0000 (08:55 +0100)]
Purge newly loaded docs from varnish automatically

14 years agoChange link to the developer version of the docs
Magnus Hagander [Tue, 22 Nov 2011 20:41:22 +0000 (21:41 +0100)]
Change link to the developer version of the docs

14 years agoUse Decimal(0) instead of Decimal(0.0) to support older version of Python
Magnus Hagander [Tue, 22 Nov 2011 20:33:04 +0000 (21:33 +0100)]
Use Decimal(0) instead of Decimal(0.0) to support older version of Python

14 years agoAdd option to docload.py to make it run quietly
Magnus Hagander [Tue, 22 Nov 2011 20:09:12 +0000 (21:09 +0100)]
Add option to docload.py to make it run quietly

Using commandline --quiet. To do this, switch to using the standard
python optionparser for commandline parsing.

14 years agoAllow loading and serving of developer docs on the main website
Magnus Hagander [Tue, 22 Nov 2011 19:58:29 +0000 (20:58 +0100)]
Allow loading and serving of developer docs on the main website

14 years agoMinor updates for what might be the schedule for 9.2.
Magnus Hagander [Sun, 20 Nov 2011 12:33:24 +0000 (13:33 +0100)]
Minor updates for what might be the schedule for 9.2.

14 years agoIndicate that there are no alpha versions available at this point
Magnus Hagander [Sun, 20 Nov 2011 12:32:46 +0000 (13:32 +0100)]
Indicate that there are no alpha versions available at this point

14 years agoAdd function to duplicate stackbuilder apps
Magnus Hagander [Sun, 20 Nov 2011 12:28:50 +0000 (13:28 +0100)]
Add function to duplicate stackbuilder apps

It will append _new to the name (to avoid uniqueness conflicts), and
it will set the application to inactive (so it can be edited and then
activated once verified).

14 years agoMake community_login() look users up in the old system as well
Magnus Hagander [Sun, 20 Nov 2011 11:24:29 +0000 (12:24 +0100)]
Make community_login() look users up in the old system as well

Instead of requiring all users to log in to the main website once,
this allows them to keep using their old password on any aux sites
that uses the community login system.

We might want to consider actually migrating the accounts to the new
system at some point in the future, but for now, just allow logins
against the old tables, and have migration only happen when the
user logs into the main website.

14 years agoRemove deprecated bold tags from quotes page and add CSS rules to space quotes out.
Thom Brown [Fri, 18 Nov 2011 15:54:37 +0000 (15:54 +0000)]
Remove deprecated bold tags from quotes page and add CSS rules to space quotes out.

14 years agoChange a couple CSS rules to allow identical look to original docs.
Thom Brown [Fri, 18 Nov 2011 15:37:21 +0000 (15:37 +0000)]
Change a couple CSS rules to allow identical look to original docs.

14 years agoTry to make the update script not send email notifications every time
Magnus Hagander [Fri, 18 Nov 2011 11:08:23 +0000 (12:08 +0100)]
Try to make the update script not send email notifications every time

14 years agoRemove superfluous p tags from individual event pages.
Thom Brown [Thu, 17 Nov 2011 21:16:10 +0000 (21:16 +0000)]
Remove superfluous p tags from individual event pages.

14 years agoRemove surrounding p tags from individual news item pages.
Thom Brown [Thu, 17 Nov 2011 19:41:44 +0000 (19:41 +0000)]
Remove surrounding p tags from individual news item pages.

14 years agoAdd images for awards, and correct links
Magnus Hagander [Thu, 17 Nov 2011 19:18:29 +0000 (20:18 +0100)]
Add images for awards, and correct links

14 years agoRemove redundant <p> tags
Magnus Hagander [Tue, 15 Nov 2011 21:52:40 +0000 (22:52 +0100)]
Remove redundant <p> tags

14 years agoMake sure the submitter is always listed as an organisation admin
Magnus Hagander [Tue, 15 Nov 2011 21:49:48 +0000 (22:49 +0100)]
Make sure the submitter is always listed as an organisation admin

This fixes organisation submitting again, and also makes it impossible to
orphan oneself from an organisation.

14 years agoRemove PDF links from testing page, as they're not relevant (and were for 8.4)
Magnus Hagander [Tue, 15 Nov 2011 21:31:06 +0000 (22:31 +0100)]
Remove PDF links from testing page, as they're not relevant (and were for 8.4)

14 years agoRevert "Set navigation menu on login/change password dialogs"
Magnus Hagander [Tue, 15 Nov 2011 21:28:56 +0000 (22:28 +0100)]
Revert "Set navigation menu on login/change password dialogs"

This broke on Django 1.2, which is what we use on Debian Stable...

14 years agoMake account editing forms redirect back to list of objects
Magnus Hagander [Wed, 9 Nov 2011 21:15:18 +0000 (22:15 +0100)]
Make account editing forms redirect back to list of objects

Instead of like previously, redirect back to the list of object
types.

14 years agoMake it possible to add and remove managers from an organisation
Magnus Hagander [Wed, 9 Nov 2011 21:11:48 +0000 (22:11 +0100)]
Make it possible to add and remove managers from an organisation

(from the general interface, not just from /admin/)

14 years agoAdd ability to include help text in forms
Magnus Hagander [Wed, 9 Nov 2011 21:11:17 +0000 (22:11 +0100)]
Add ability to include help text in forms

14 years agoClose open p tag on contact page.
Thom Brown [Tue, 8 Nov 2011 16:27:25 +0000 (16:27 +0000)]
Close open p tag on contact page.

14 years agoRemove orphaned closing a tag on security information page.
Thom Brown [Tue, 8 Nov 2011 16:22:14 +0000 (16:22 +0000)]
Remove orphaned closing a tag on security information page.

14 years agoClose li tag on testing page.
Thom Brown [Tue, 8 Nov 2011 16:17:19 +0000 (16:17 +0000)]
Close li tag on testing page.

14 years agoMake submit input elements self-closing.
Thom Brown [Tue, 8 Nov 2011 16:08:58 +0000 (16:08 +0000)]
Make submit input elements self-closing.

14 years agoClose an open td tag on contributors page.
Thom Brown [Tue, 8 Nov 2011 16:06:26 +0000 (16:06 +0000)]
Close an open td tag on contributors page.

14 years agoFix closing p tag which was incorrectly using a closing a tag.
Thom Brown [Tue, 8 Nov 2011 16:03:01 +0000 (16:03 +0000)]
Fix closing p tag which was incorrectly using a closing a tag.

14 years agoFix closing p tag on donate page.
Thom Brown [Tue, 8 Nov 2011 15:56:27 +0000 (15:56 +0000)]
Fix closing p tag on donate page.

14 years agoAdd the type attribute to style tag on feature matrix page as per HTML standard.
Thom Brown [Tue, 8 Nov 2011 15:31:17 +0000 (15:31 +0000)]
Add the type attribute to style tag on feature matrix page as per HTML standard.

14 years agoFix incorrectly closed tr tag.
Thom Brown [Tue, 8 Nov 2011 15:20:19 +0000 (15:20 +0000)]
Fix incorrectly closed tr tag.

14 years agoFix thinko causing scope of paragraph margin changes to be too broad.
Thom Brown [Tue, 8 Nov 2011 15:14:30 +0000 (15:14 +0000)]
Fix thinko causing scope of paragraph margin changes to be too broad.

14 years agoEmphasise c2 paragraphs in docs to match original style.
Thom Brown [Tue, 8 Nov 2011 15:01:27 +0000 (15:01 +0000)]
Emphasise c2 paragraphs in docs to match original style.

14 years agoReduce upper paragraph margin in table paragraphs.
Thom Brown [Tue, 8 Nov 2011 15:00:48 +0000 (15:00 +0000)]
Reduce upper paragraph margin in table paragraphs.

14 years agoAdd csrf tokens as required
Magnus Hagander [Tue, 8 Nov 2011 14:04:27 +0000 (15:04 +0100)]
Add csrf tokens as required

14 years agoSet navigation menu on login/change password dialogs
Magnus Hagander [Tue, 8 Nov 2011 14:04:18 +0000 (15:04 +0100)]
Set navigation menu on login/change password dialogs

14 years agoAdd missing donation form
Magnus Hagander [Tue, 8 Nov 2011 13:53:27 +0000 (14:53 +0100)]
Add missing donation form

14 years agoSet title on bug report form
Magnus Hagander [Tue, 8 Nov 2011 13:50:58 +0000 (14:50 +0100)]
Set title on bug report form

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.