A brand new planet manager and runtime
authorMagnus Hagander <magnus@hagander.net>
Wed, 10 Feb 2016 17:33:19 +0000 (18:33 +0100)
committerMagnus Hagander <magnus@hagander.net>
Wed, 10 Feb 2016 17:37:42 +0000 (18:37 +0100)
commita20b3f1758a8f4ee7c17e58c4effb024c3365bd3
tree04acd509eb1f773cdbf73053826380f92617e660
parentad471ce156033d49128b430edd2be6c5c8690404
A brand new planet manager and runtime

Completely restructure the planet postgresql code -- it was definitely
getting old.

A new registration interface makes it much more friendly, and gives the
user a chance to see what's going on.

A new moderation interface allows for a better view of what's happening
with the feeds that are pending, as well as the ability to give a message
to the subscriber when rejecting a blog.

Aggregation uses the same framework, but now runs as a django management
command, and also supports async parallelism when fetching the blogs to
make it much faster (since most of them time out on http).

Planet itself is now rendered in django, and expects a Varnish sitting in
front of it, to which it will generate purges properly. Makes any changes
made in the interface more or less instant, instead of having to wait for
15 minutes.
33 files changed:
aggregator.py [deleted file]
discovery.py [deleted file]
generator.py [deleted file]
hamnadmin/hamnadmin/exceptions.py [deleted file]
hamnadmin/hamnadmin/local_settings.py.sample
hamnadmin/hamnadmin/register/feeds.py [new file with mode: 0644]
hamnadmin/hamnadmin/register/forms.py [new file with mode: 0644]
hamnadmin/hamnadmin/register/management/__init__.py [new file with mode: 0644]
hamnadmin/hamnadmin/register/management/commands/__init__.py [new file with mode: 0644]
hamnadmin/hamnadmin/register/management/commands/aggregate_feeds.py [new file with mode: 0644]
hamnadmin/hamnadmin/register/migrations/0002_cleanup_models.py [new file with mode: 0644]
hamnadmin/hamnadmin/register/models.py
hamnadmin/hamnadmin/register/templates/edit.html [new file with mode: 0644]
hamnadmin/hamnadmin/register/templates/index.html
hamnadmin/hamnadmin/register/templates/moderate.html [new file with mode: 0644]
hamnadmin/hamnadmin/register/templates/moderate_reject.html [new file with mode: 0644]
hamnadmin/hamnadmin/register/templates/regbase.html
hamnadmin/hamnadmin/register/templatetags/__init__.py [new file with mode: 0644]
hamnadmin/hamnadmin/register/templatetags/hamn.py [new file with mode: 0644]
hamnadmin/hamnadmin/register/urls.py
hamnadmin/hamnadmin/register/views.py
hamnadmin/hamnadmin/settings.py
hamnadmin/hamnadmin/urls.py
hamnadmin/hamnadmin/util/__init__.py [new file with mode: 0644]
hamnadmin/hamnadmin/util/aggregate.py [new file with mode: 0644]
hamnadmin/hamnadmin/util/html.py [new file with mode: 0644]
hamnadmin/hamnadmin/util/shortlink.py [new file with mode: 0644]
hamnadmin/hamnadmin/util/varnish.py [new file with mode: 0644]
planethtml.py [deleted file]
shorturl.py [deleted file]
template/feeds.tmpl
template/index.tmpl
www/css/planet_reg.css [new file with mode: 0644]