Magnus Hagander [Mon, 12 Dec 2011 15:00:17 +0000 (16:00 +0100)]
Make events.summary a markdown field
In passing, add help messages to make it more obvious which of the
summary and details fields are used on which pages.
Magnus Hagander [Mon, 12 Dec 2011 13:25:34 +0000 (14:25 +0100)]
Fix out of date copyright year
Probably missed it in the migration
Magnus Hagander [Sun, 11 Dec 2011 16:53:42 +0000 (17:53 +0100)]
Add link to the developer docs build log, now that it exists again
Magnus Hagander [Sun, 11 Dec 2011 15:30:26 +0000 (16:30 +0100)]
Add a 500.html template
This will render errors within the framework. And it's certainly
better than a django internal stacktrace asking for 500.html :-)
Fixes #105
Magnus Hagander [Sun, 11 Dec 2011 13:20:33 +0000 (14:20 +0100)]
Make two quick requests to the website after reload
Sometimes we get a http 503 error from lighttpd if we hit the system
right after reload - make sure that we hit these errors from
the update script instead of leaking it to the end user or our
mirror script.
Magnus Hagander [Sun, 11 Dec 2011 13:02:19 +0000 (14:02 +0100)]
Update documentation with latest versions and information
Fixes #102
Magnus Hagander [Sun, 11 Dec 2011 13:15:41 +0000 (14:15 +0100)]
Add a varnish_purge() function to be used in local installs
Thom Brown [Sun, 11 Dec 2011 13:01:51 +0000 (13:01 +0000)]
Remove reference to redundant gecko fixes css file as we don't use it anymore.
Thom Brown [Sun, 11 Dec 2011 12:43:06 +0000 (12:43 +0000)]
Add in missing link for large text stylesheet switch.
Magnus Hagander [Thu, 8 Dec 2011 18:43:47 +0000 (19:43 +0100)]
Don't crash when migrating users with blank name
Some users are registered with just a username and no actual name. The
old way only dealt with users with just first or last name - not the
ones completely without name.
Magnus Hagander [Wed, 7 Dec 2011 11:30:10 +0000 (12:30 +0100)]
Move fixedfields back to before the .save(), to unbreak doc comments
It was moved down to support ManyToMany value fields for Organisation,
but that is no longer used. If we want to use it for ManyToMany fields
in the future it needs to be split up in two sections, but for now, I'm
moving it back up so it works for regular fields again.
Magnus Hagander [Wed, 7 Dec 2011 08:45:43 +0000 (09:45 +0100)]
Fix links to 8.4 PDFs to not include major version
Noted by Dean Rasheed
Magnus Hagander [Tue, 6 Dec 2011 19:10:19 +0000 (20:10 +0100)]
Make sure the host header is set to postgresql.org
Magnus Hagander [Tue, 6 Dec 2011 18:13:32 +0000 (19:13 +0100)]
Allow for the ftpsite pickle to be uploaded via https
Previously this had to be rsynced outside of the website. By allowing the
upload here, and automatically purging the data from varnish, we will reach
"almost instant" updates of the ftp site structure on the web.
Magnus Hagander [Tue, 6 Dec 2011 10:06:56 +0000 (11:06 +0100)]
Add rel=nofollow for docs comments links
This caused thousands of links to the signin page, which seems
unnecssary...
Magnus Hagander [Tue, 6 Dec 2011 08:54:49 +0000 (09:54 +0100)]
Don't cause exception on calls to the old redirector without required parameters
Instead, show a general error, the way we do if the parameter exists
but has an invalid value.
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
Magnus Hagander [Mon, 5 Dec 2011 16:07:59 +0000 (17:07 +0100)]
Fix typo, reported by Cedric
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
Magnus Hagander [Mon, 5 Dec 2011 13:47:41 +0000 (14:47 +0100)]
Update shoutbox with new release versions
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
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
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...
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...
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
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
Magnus Hagander [Sun, 4 Dec 2011 13:18:12 +0000 (14:18 +0100)]
Fix link to 7.0 docs
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.
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
Magnus Hagander [Sat, 3 Dec 2011 15:49:16 +0000 (16:49 +0100)]
Pending page should require staff access, not superuser
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
Magnus Hagander [Sat, 3 Dec 2011 13:57:59 +0000 (14:57 +0100)]
Limit search query length to 1000 characters
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 ;)
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
Magnus Hagander [Sat, 3 Dec 2011 12:13:18 +0000 (13:13 +0100)]
Don't cause exception when no daterange is specified
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)
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.
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...
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
Magnus Hagander [Thu, 1 Dec 2011 20:34:45 +0000 (21:34 +0100)]
Remove leftover calls to PHP template functions
Magnus Hagander [Thu, 1 Dec 2011 14:45:25 +0000 (15:45 +0100)]
Use correct classname for DoesNotExist exception
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.
Devrim GUNDUZ [Tue, 29 Nov 2011 19:18:25 +0000 (21:18 +0200)]
Update my employer, and also the URL of the pglivecd project.
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
Dave Page [Tue, 29 Nov 2011 15:06:33 +0000 (15:06 +0000)]
Remove broken link to pg_live distribution.
Dave Page [Tue, 29 Nov 2011 09:58:56 +0000 (09:58 +0000)]
Include the secondary platform in the applications-v2.xml file.
Dave Page [Tue, 29 Nov 2011 09:49:04 +0000 (09:49 +0000)]
Add Win64 support to the SB management pages.
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
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
Magnus Hagander [Sun, 27 Nov 2011 19:26:07 +0000 (20:26 +0100)]
Use the same URL in the sitemap as on the website....
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
Magnus Hagander [Sun, 27 Nov 2011 18:51:11 +0000 (19:51 +0100)]
Oops, don't double up the /admin/ directory in the URL
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...
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
Magnus Hagander [Sun, 27 Nov 2011 16:56:40 +0000 (17:56 +0100)]
Add casestudy pages that were missed in the migration
Magnus Hagander [Sun, 27 Nov 2011 16:52:36 +0000 (17:52 +0100)]
Remove more references to wwwmaster
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
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
Stefan Kaltenbrunner [Sun, 27 Nov 2011 16:05:24 +0000 (17:05 +0100)]
add a title to the password change pages
Stefan Kaltenbrunner [Sun, 27 Nov 2011 15:56:19 +0000 (16:56 +0100)]
fix minor spelling error in the browser title page
Magnus Hagander [Sun, 27 Nov 2011 15:44:15 +0000 (16:44 +0100)]
Add view used to dump ssh keys for git service
Magnus Hagander [Sun, 27 Nov 2011 15:05:30 +0000 (16:05 +0100)]
Ignore symlinks in docs tarballs
Required for postgresql <7.1
Magnus Hagander [Sun, 27 Nov 2011 14:23:59 +0000 (15:23 +0100)]
Add redirect for images used by some community websites
Magnus Hagander [Sun, 27 Nov 2011 13:56:39 +0000 (14:56 +0100)]
Add simple 404 template
Magnus Hagander [Sun, 27 Nov 2011 13:44:18 +0000 (14:44 +0100)]
Migrate ssh keys and store them in a UserProfile table
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.
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
Magnus Hagander [Sun, 27 Nov 2011 11:34:00 +0000 (12:34 +0100)]
Concept of mastersite is no longer used, remove all references
Magnus Hagander [Sun, 27 Nov 2011 11:29:50 +0000 (12:29 +0100)]
Include missing slash in URL to purge for quotes
Magnus Hagander [Sun, 27 Nov 2011 11:27:17 +0000 (12:27 +0100)]
Change order of inheritance to make purging work properly
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..)
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
Magnus Hagander [Sun, 27 Nov 2011 11:11:17 +0000 (12:11 +0100)]
Add back a : that mysteriously went missing
Magnus Hagander [Sat, 26 Nov 2011 20:13:38 +0000 (21:13 +0100)]
Update the static files as well, not just the dynamic site
Magnus Hagander [Wed, 23 Nov 2011 07:55:33 +0000 (08:55 +0100)]
Purge newly loaded docs from varnish automatically
Magnus Hagander [Tue, 22 Nov 2011 20:41:22 +0000 (21:41 +0100)]
Change link to the developer version of the docs
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
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.
Magnus Hagander [Tue, 22 Nov 2011 19:58:29 +0000 (20:58 +0100)]
Allow loading and serving of developer docs on the main website
Magnus Hagander [Sun, 20 Nov 2011 12:33:24 +0000 (13:33 +0100)]
Minor updates for what might be the schedule for 9.2.
Magnus Hagander [Sun, 20 Nov 2011 12:32:46 +0000 (13:32 +0100)]
Indicate that there are no alpha versions available at this point
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).
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.
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.
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.
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
Thom Brown [Thu, 17 Nov 2011 21:16:10 +0000 (21:16 +0000)]
Remove superfluous p tags from individual event pages.
Thom Brown [Thu, 17 Nov 2011 19:41:44 +0000 (19:41 +0000)]
Remove surrounding p tags from individual news item pages.
Magnus Hagander [Thu, 17 Nov 2011 19:18:29 +0000 (20:18 +0100)]
Add images for awards, and correct links
Magnus Hagander [Tue, 15 Nov 2011 21:52:40 +0000 (22:52 +0100)]
Remove redundant <p> tags
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.
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)
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...
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.
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/)
Magnus Hagander [Wed, 9 Nov 2011 21:11:17 +0000 (22:11 +0100)]
Add ability to include help text in forms
Thom Brown [Tue, 8 Nov 2011 16:27:25 +0000 (16:27 +0000)]
Close open p tag on contact page.
Thom Brown [Tue, 8 Nov 2011 16:22:14 +0000 (16:22 +0000)]
Remove orphaned closing a tag on security information page.
Thom Brown [Tue, 8 Nov 2011 16:17:19 +0000 (16:17 +0000)]
Close li tag on testing page.
Thom Brown [Tue, 8 Nov 2011 16:08:58 +0000 (16:08 +0000)]
Make submit input elements self-closing.