Magnus Hagander [Fri, 20 Jan 2012 14:13:45 +0000 (15:13 +0100)]
Add help texts refering to the organisation list on forms that take an organisation field
For those who don't read the introduction page under my account, per request
from Dave.
Magnus Hagander [Fri, 20 Jan 2012 12:45:40 +0000 (13:45 +0100)]
Allow the use of HTML in form field help texts
Also make the help text show under the field itself for regular fields,
and in the left column only for textarea fields. This makes it possible
to use longer help texts without making things look really bad...
Thom Brown [Fri, 20 Jan 2012 11:43:10 +0000 (11:43 +0000)]
Stop emphasising elements with a 'c4' class as it only affects elements which shouldn't be bold.
Magnus Hagander [Wed, 18 Jan 2012 08:43:25 +0000 (09:43 +0100)]
Remove link to pugs site which doesn't exist
Should probably be reinstated once the planned wiki page exists
Magnus Hagander [Sun, 15 Jan 2012 19:30:50 +0000 (20:30 +0100)]
Another round of markup fixes
Magnus Hagander [Sun, 15 Jan 2012 19:04:27 +0000 (20:04 +0100)]
Fix boken tag
Magnus Hagander [Sat, 14 Jan 2012 17:58:30 +0000 (18:58 +0100)]
Exclude precompiled python files
Magnus Hagander [Sat, 14 Jan 2012 16:20:45 +0000 (17:20 +0100)]
Include support/versioning in search results again!
Magnus Hagander [Sat, 14 Jan 2012 15:55:53 +0000 (16:55 +0100)]
Include last modified date in sitemap
Magnus Hagander [Sat, 14 Jan 2012 15:08:14 +0000 (16:08 +0100)]
Can't leave an empty struct, need to actually remove it completely
Magnus Hagander [Sat, 14 Jan 2012 11:41:29 +0000 (12:41 +0100)]
This URL doesn't actually exist...
Magnus Hagander [Fri, 13 Jan 2012 08:56:32 +0000 (09:56 +0100)]
Ensure that names are utf-8 encoded in community auth
If the name contains non-ascii characters, we could get an exception
when trying to urlencodethe resulting structure.
Magnus Hagander [Sat, 7 Jan 2012 12:46:59 +0000 (13:46 +0100)]
Purge supported version list from frontends when changina version object
Magnus Hagander [Sat, 7 Jan 2012 12:09:20 +0000 (13:09 +0100)]
Render list of supported versions on the main page
Now that we have more metadata, we can render this on the main page instead of
on the wiki. This commit copies all the text from the current wiki page, and
uses the new fields in the Version model to render the table on the same URL
as the reference was on before.
Magnus Hagander [Sat, 7 Jan 2012 11:59:16 +0000 (12:59 +0100)]
Add two fields to the version model, for tracking release dates
This requires the following to be run on all developer installations:
alter table core_version add column "firstreldate" date NOT NULL default current_date;
alter table core_version add column "eoldate" date NOT NULL default current_date;
alter table core_version alter column "firstreldate" drop default;
alter table core_version alter column "eoldate" drop default;
Dave Page [Fri, 6 Jan 2012 10:39:04 +0000 (10:39 +0000)]
Add new frontend server to the pgq config.
Dave Page [Thu, 5 Jan 2012 13:46:39 +0000 (13:46 +0000)]
Update copyright year.
Magnus Hagander [Mon, 2 Jan 2012 16:48:11 +0000 (17:48 +0100)]
Oops, missed about half of the last commit.
Luckily, I got all the new files, but not the code changes, so
nothing actually broke in between...
Magnus Hagander [Mon, 2 Jan 2012 16:44:55 +0000 (17:44 +0100)]
Make it possible to edit firstname and lastname fields on users
Also, make the community authentication process require that both these
fields (along with email) are set, and direct the user to set them if
not. This is so that community authenticated sites can always rely on
there being a complete profile.
Magnus Hagander [Wed, 28 Dec 2011 13:59:59 +0000 (14:59 +0100)]
Add sample login.html for django admin logins
Thom Brown [Tue, 27 Dec 2011 18:39:41 +0000 (18:39 +0000)]
Fix typo.
Magnus Hagander [Tue, 27 Dec 2011 18:35:51 +0000 (19:35 +0100)]
Implement single sign-out for community login 2.0
In order to provide a consistent user experience, we must sign the
user out from the main website if the community site provides a logout
button - else that button will appear not to work...
Magnus Hagander [Thu, 22 Dec 2011 18:19:54 +0000 (19:19 +0100)]
Add hint about how to create a key
Magnus Hagander [Thu, 22 Dec 2011 18:18:17 +0000 (19:18 +0100)]
Add comment field to community sites, never hurts...
Magnus Hagander [Wed, 21 Dec 2011 14:48:55 +0000 (15:48 +0100)]
Add sample perl code to decrypt authentication tokens
Code from Claes Jakobsson
Magnus Hagander [Wed, 21 Dec 2011 14:48:42 +0000 (15:48 +0100)]
Add sample django community authentication consumer
Magnus Hagander [Tue, 20 Dec 2011 11:52:32 +0000 (12:52 +0100)]
Include a timestamp in the authentication token
This way we can expire a token after e.g. 10 or 30 seconds, making
it impossible to do a replay attack later.
Magnus Hagander [Mon, 19 Dec 2011 17:08:13 +0000 (18:08 +0100)]
Add a special login form for the community auth logins
This form will inform about the auth system, and also which site is
trying to perform the login - just to make it extra clear that this
login is from the outside.
Magnus Hagander [Sun, 18 Dec 2011 15:55:39 +0000 (16:55 +0100)]
Implement community authentication 2.0
This system relies on http redirects and signing in to the main website
instead of using cross-internet pgsql connections and signing in individually
to each website.
Magnus Hagander [Thu, 22 Dec 2011 11:34:44 +0000 (12:34 +0100)]
Add a simple crash testing URL
It requires the file /tmp/crashtest to exist to actually test the crash,
without that it just renders a plaintext string...
Magnus Hagander [Tue, 20 Dec 2011 12:55:33 +0000 (13:55 +0100)]
Send notification emails on deletes
There are no signals for them, but it appears to work to just override
the delete() method in PgModel.
Fixes #121
Dave Page [Tue, 20 Dec 2011 11:32:07 +0000 (11:32 +0000)]
Usernames must be checked case insensitively
Magnus Hagander [Mon, 19 Dec 2011 18:36:19 +0000 (19:36 +0100)]
Purge server list when updating sponsors
We have sponsor name and URL in the server list as well....
Magnus Hagander [Sun, 18 Dec 2011 16:05:09 +0000 (17:05 +0100)]
Do a sleep before reloading the website, to avoid interfering with automirror
This should hopefully get rid of transient errors caused by automirror hitting
the site during reload, before our script has a change to pull the local site.
Magnus Hagander [Sun, 18 Dec 2011 15:30:35 +0000 (16:30 +0100)]
We have released now, the plan is no longer summer 2010
(Granted, we missed that deadline by over a year, but at least we are live now)
Thom Brown [Sun, 18 Dec 2011 13:55:56 +0000 (13:55 +0000)]
Add org, date and approved columns to news view, along with approved filter and remove redundant register_markdown imports.
Jonathan S. Katz [Sat, 17 Dec 2011 23:29:13 +0000 (18:29 -0500)]
Stops sending M2M updates from PgModel objects upon every single update
Prevents changes from M2M updates from appearing after every single
save to a PgModel derived class. The unfortunate side effect is that
no M2M updates will appear, but this has to do with the context in how
the diff between two objects it taking place. An expanded note appears in
the explanation to #110
Fixes #110
Magnus Hagander [Sat, 17 Dec 2011 18:39:36 +0000 (19:39 +0100)]
Make our session cookie secure by default, and locked to postgresql.org
This increases session security, obviously... It will also break local development
installs, which will have to add the two rows that this patch adds to the
documentation.
Magnus Hagander [Sat, 17 Dec 2011 16:47:22 +0000 (17:47 +0100)]
Remove some really ugly forgotten debugging code...
Magnus Hagander [Sat, 17 Dec 2011 14:01:40 +0000 (15:01 +0100)]
Properly redirect after login
Since the "next" field was missing, any login always redirected to the
default account page, even though it came with a "next" parameter that
would allow it to go to the correct place.
Thom Brown [Thu, 15 Dec 2011 21:19:15 +0000 (21:19 +0000)]
Remove leading and trailing paragraph HTML tags from bug header as the calling template surrounds it with these tags anyway.
Magnus Hagander [Thu, 15 Dec 2011 21:14:07 +0000 (22:14 +0100)]
Avoid crashing the frontpage when there are zero quotes
This won't happen in production since we don't delete quotes, but it
happens on empty dev environments. It still renders a pretty ugly
frontpage, but it doesn't crash...
Magnus Hagander [Tue, 13 Dec 2011 21:11:55 +0000 (22:11 +0100)]
Say "Date:" and not "Posted on:" for events, because that's what it is
Magnus Hagander [Mon, 12 Dec 2011 15:01:45 +0000 (16:01 +0100)]
Use a fully qualified path to the sendmail binary
For some reason, it appears to work fine without it when used from
inside django, but fails when the cronjobs use the same function.
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