426d7cee3d
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.
2011-12-04 12:56:47 +01:00
e9bb35ba23
Include link to pending moderation and varnish purging in all admin headers
2011-12-04 12:35:26 +01:00
3523989223
Pending page should require staff access, not superuser
2011-12-03 16:49:16 +01:00
42d1dd7ddf
Change templates to use www.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
2011-12-03 15:14:23 +01:00
247fb6d6e9
Limit search query length to 1000 characters
2011-12-03 14:57:59 +01:00
dd26d2c386
Ensure URLs are encoded UTF-8 before quoting them
...
Fixes issues with extended characters in search queries. Thanks
Stefan for some attemped hacking ;)
2011-12-03 14:44:58 +01:00
4f2f495191
Make the default daterange be 1 year, like it was on the old site
2011-12-03 13:16:15 +01:00
41dbe220e9
Don't cause exception when no daterange is specified
2011-12-03 13:13:18 +01:00
563790f170
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)
2011-12-03 13:01:18 +01:00
efbe9fc843
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.
2011-12-03 12:58:57 +01:00
7ffc80c120
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...
2011-12-02 16:38:42 +01:00
1d887a0c7e
Add some layout pngs that were not imported from the old site for some reason
2011-12-01 21:59:43 +01:00
ea50ab3b63
Remove leftover calls to PHP template functions
2011-12-01 21:34:45 +01:00
42cc273025
Use correct classname for DoesNotExist exception
2011-12-01 15:45:25 +01:00
430f94ce37
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.
2011-12-01 11:21:40 +00:00
c766c2afe6
Update my employer, and also the URL of the pglivecd project.
2011-11-29 21:18:25 +02:00
2d8849272a
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
2011-11-29 13:06:38 -05:00
f547ef22cd
Remove broken link to pg_live distribution.
2011-11-29 15:06:33 +00:00
898ff65116
Include the secondary platform in the applications-v2.xml file.
2011-11-29 09:58:56 +00:00
96a93a6fa0
Add Win64 support to the SB management pages.
2011-11-29 09:49:04 +00:00
71903d7f0c
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
2011-11-28 21:14:40 +01:00
e712f987ac
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
2011-11-28 18:55:21 +01:00
a4efdddc3a
Use the same URL in the sitemap as on the website....
2011-11-27 20:26:07 +01:00
22a93b02fa
Don't index the ftp browser for now - it doesn't really contain
...
anything useful to search
2011-11-27 19:58:57 +01:00
68c49bbebd
Oops, don't double up the /admin/ directory in the URL
2011-11-27 19:52:41 +01:00
531a8212e9
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...
2011-11-27 19:49:08 +01:00
2e07b3b30f
Don't try to log into a nonexisting clickthrus table for now
2011-11-27 19:08:05 +01:00
5e4591cb6f
Add casestudy pages that were missed in the migration
2011-11-27 17:56:40 +01:00
4c7c2f34a1
Remove more references to wwwmaster
2011-11-27 17:52:36 +01:00
b609de5559
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
2011-11-27 17:50:40 +01:00
53d05af350
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
2011-11-27 17:05:47 +01:00
2306481c60
add a title to the password change pages
2011-11-27 17:05:24 +01:00
f888c13f6c
fix minor spelling error in the browser title page
2011-11-27 16:56:19 +01:00
14935a25d0
Add view used to dump ssh keys for git service
2011-11-27 16:44:15 +01:00
4b4e9348c4
Ignore symlinks in docs tarballs
...
Required for postgresql <7.1
2011-11-27 16:05:30 +01:00
89088c8e99
Add redirect for images used by some community websites
2011-11-27 15:23:59 +01:00
df212bb2cd
Add simple 404 template
2011-11-27 14:56:39 +01:00
27fc2a7e3c
Migrate ssh keys and store them in a UserProfile table
2011-11-27 14:44:18 +01:00
e363050c75
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.
2011-11-27 14:13:16 +01:00
5bcbf1253e
All purge_urls must be rooted, since we add ^ at the beginning
2011-11-27 13:31:20 +01:00
84ba10f1ca
Concept of mastersite is no longer used, remove all references
2011-11-27 12:35:02 +01:00
e0dc26457b
Include missing slash in URL to purge for quotes
2011-11-27 12:29:50 +01:00
320add73f5
Change order of inheritance to make purging work properly
2011-11-27 12:27:17 +01:00
559721ff51
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..)
2011-11-27 12:21:43 +01:00
82cd58fb69
Only include supported versions. In particular, don't include 0.0.0
2011-11-27 12:21:29 +01:00
af740a8a96
Add back a : that mysteriously went missing
2011-11-27 12:11:17 +01:00
4ec146569d
Update the static files as well, not just the dynamic site
2011-11-26 21:13:38 +01:00
00d058bc98
Purge newly loaded docs from varnish automatically
2011-11-23 08:55:33 +01:00
3eee67d18f
Change link to the developer version of the docs
2011-11-22 21:41:22 +01:00
9424c84e15
Use Decimal(0) instead of Decimal(0.0) to support older version of Python
2011-11-22 21:33:04 +01:00