Commit Graph

7 Commits

Author SHA1 Message Date
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
e3d8eae0ce Add the concept of a "current version", and use this when determining
which version to map /current/ to in the docs section.
2010-02-26 13:14:03 +01:00
7b3bb5d09b Make organisations support multiple "managers" and not just one
"submitter", thus making it possible for a single person to manage
multiple organisations, as well as for a single organisation to have
multiple different manages.

Re-hook events and news items to use organisation of the submitter
instead of the user who did the submission. (product listings already
did this)
2010-02-26 12:34:19 +01:00
fcc9e08e95 Add simple RSS parser, currently only does planet. Use this for the
planet list on the frontpage and the community page.
2009-12-28 19:21:32 +01:00
3aa6730487 Make sure organisation and product names are unique 2009-12-28 14:31:08 +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