Commit Graph

31 Commits

Author SHA1 Message Date
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
89088c8e99 Add redirect for images used by some community websites 2011-11-27 15:23:59 +01:00
7e9742c678 Allow loading and serving of developer docs on the main website 2011-11-22 20:58:29 +01:00
7874abc24d Add a sync_timestamp URL to point automirror at 2011-11-05 18:51:10 +01:00
614bc1b576 Switch to new way of specifying admin urls
Should work for deployed version as well, and the old way stopped
working in 1.3, I believe.
2011-11-05 16:05:37 +01:00
248d940c7e Implement proper mergeing of organisations 2011-08-18 10:46:25 +02:00
9ffd26ca5d Correcly handle old versions of the docs, where the file extension is .htm 2011-07-12 14:16:46 +01:00
d8dbb7e378 Add license->licence redirect, same as on old site 2011-06-15 11:07:43 +02:00
f92709d2a6 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.
2011-06-14 19:48:48 +02:00
22f5578c29 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.
2010-09-28 16:12:13 +02:00
8fce64451e Fix typo 2010-09-28 15:46:10 +02:00
34023288b8 Add redirects as required to deal with legacy urls, for all the stuff
that was in .htaccess files on the old site.
2010-06-22 11:17:49 +02:00
f0e33b3718 Return a robots.txt file 2010-06-18 11:01:43 +02:00
12cdc90e3e 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.
2010-06-17 14:11:50 +02:00
405fe4fafc 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.
2010-06-11 14:37:17 +02:00
93d3450213 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).
2010-06-10 20:43:54 +02:00
4ca5d45536 Add page with list of all pending moderation requests, and link it
(somewhat hackishly) onto the header of the administration pages.
2010-03-21 18:25:00 +01:00
370c083720 Add support for legacy signup URL, since it's linked from external
systems.
2010-02-26 15:59:18 +01:00
fd9adcf528 Add legacy URLs for news and events 2010-01-16 17:23:06 +01:00
c42e6aa740 Add module for legacy URLs, add legacy URLs for press 2010-01-16 17:17:49 +01:00
557d48bad7 Properly anchor URLs at the beginning 2010-01-16 17:16:18 +01:00
68c2ebc845 Implement stackbuilder 2010-01-13 23:12:53 +01:00
cad9eddd92 Implement the feature matrix 2010-01-11 22:55:00 +01:00
4e9c4ef7fc Properly render docs pages with missing index.html in the path. 2010-01-11 17:25:47 +01:00
2982541900 Add bug submission form 2010-01-11 16:09:49 +01:00
86940aaa86 Generate mirrors.xml file 2010-01-02 20:24:35 +01:00
4b9efc5bdc Add support for mirror selection and redirection. 2010-01-02 19:36:24 +01:00
77a5690dc8 Add handling of mailinglist subscription 2009-12-28 18:57:01 +01:00
2f671fe3d6 Add support for surveys 2009-12-28 16:12:44 +01:00
f216b00037 Implement software catalogue. Break the organisation object out as
part of the core, since it seems like it could be useful for other
kinds of objects as well in the future, but for now only the
software catalogue uses it.
2009-12-28 14:22:17 +01:00
90b758c247 A first very basic import.
Contains basic functionality, and an import of most of the static content
from the old site.

There is still plenty more to do...
2009-09-14 14:39:25 +02:00