Age | Commit message (Collapse) | Author |
|
See https://docs.djangoproject.com/en/1.4/ref/clickjacking/ for details.
This middleware was added to the default configuration in Django 1.4.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
CSS and display related tweaks
Conflicts:
public/views.py
requirements.txt
requirements_prod.txt
templates/public/download.html
|
|
Migrations, moving code around, random small improvements
|
|
Conflicts:
settings.py
|
|
Conflicts:
requirements.txt
requirements_prod.txt
templates/base.html
templates/devel/clock.html
templates/public/download.html
templates/public/index.html
templates/releng/results.html
|
|
Fix template fragment caching issue
|
|
Pkgbase view in todos, other changes related to caching
Conflicts:
public/views.py
|
|
Switch to the news model being able to spit out the HTML version of the
content, and don't use the markup contrib module. This is deprecated as
of Django 1.5 so we can move off it now to save trouble down the road
when it is fully removed.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Conflicts:
public/static/logos/legacy/arch-legacy-aqua-blue.png
public/static/logos/legacy/arch-legacy-aqua-blue.svg
public/static/logos/legacy/arch-legacy-aqua-white.png
public/static/logos/legacy/arch-legacy-aqua-white.svg
public/static/logos/legacy/arch-legacy-aqua.png
public/static/logos/legacy/arch-legacy-aqua.svg
public/static/logos/legacy/arch-legacy-blue1.png
public/static/logos/legacy/arch-legacy-blue1.svg
public/static/logos/legacy/arch-legacy-blue2.png
public/static/logos/legacy/arch-legacy-blue2.svg
public/static/logos/legacy/arch-legacy-noodle-blue.png
public/static/logos/legacy/arch-legacy-noodle-blue.svg
public/static/logos/legacy/arch-legacy-noodle-box.png
public/static/logos/legacy/arch-legacy-noodle-box.svg
public/static/logos/legacy/arch-legacy-noodle-cup.png
public/static/logos/legacy/arch-legacy-noodle-cup.svg
public/static/logos/legacy/arch-legacy-noodle-white.png
public/static/logos/legacy/arch-legacy-noodle-white.svg
public/static/logos/legacy/arch-legacy-ribbon1.png
public/static/logos/legacy/arch-legacy-ribbon2.png
public/static/logos/legacy/arch-legacy-ribbon3.png
public/static/logos/legacy/arch-legacy-ribbon4.png
public/static/logos/legacy/arch-legacy-ribbon5.png
public/static/logos/legacy/arch-legacy-ribbon6.png
public/static/logos/legacy/arch-legacy-wombat-lg.png
public/static/logos/legacy/arch-legacy-wombat.png
sitestatic/favicon.ico
sitestatic/jquery-1.4.4.min.js
sitestatic/jquery.tablesorter.min.js
sitestatic/silhouette.png
templates/base.html
templates/devel/clock.html
templates/packages/opensearch.xml
visualize/static/d3.geom.min.js
visualize/static/d3.layout.min.js
visualize/static/d3.min.js
|
|
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
We're not using cache middleware anymore, and this bug is fixed anyway.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This adds these columns and attempts to populate them with data from our
existing country column data.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Move this model into the devel/ application, and move the PGPKeyField
which is used only by these models into the application as well. This
involves updating some old migrations along the way to ensure we don't
reference a field class that no longer exists.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is most of the transition to Django 1.4 `USE_TZ = True`. We need to
ensure we don't mix aware and non-aware datetime objects when dealing
with datetimes in the code. Add a utc_now() helper method that we can
use most places, and ensure there is always a timezone attached when
necessary.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is from our friends at web.archive.org, who's earliest capture of
the Arch Linux website was on March 28, 2002. Seems like something nice
to do around the 10th anniversary of the website being up and the distro
being around, and not hotlinking their servers also seems like a good
idea.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
It's time to stop serving up stale pages. Remove this middleware caching
and start pushing it down to spots where we can actually control it more
appropriately (and only cache things that are expensive anyway).
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This moves our site static files into the sitestatic directory if they
are shared resources, and also moves a handful of things (such as the
artwork logos) into application-specific static/ directories. This
allows the staticfiles contrib app to work after a few settings tweaks,
a run of collectstatic, and massaging the hardcoded '/media/' prefix out
of our templates.
Django 1.4 is going to make this a lot easier to move things to a CDN
and provides better template tags; for now this is setting the stage
before we can move to that.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
possible, else use https
|
|
anyway)
|
|
|
|
This ensures one can override them in local_settings.py if necesary.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This pulls them from the latest SVN commit on trunk. We don't have a
failproof method of getting the exact right commit, but this should be
close if it is run on a regular basis via cron (aka hourly).
Note that running locally, I needed the development version of South to
get the migration included here to apply because of information_schema
changes in the current version of MySQL.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Why the hell not? Have fun clicking all the pretty buttons.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Update a few things in settings.py, but more importantly, update
local_settings.py.template to be more in line with modern Django
settings.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Conflicts:
packages/urls.py
templates/packages/details.html
|
|
Conflicts:
templates/base.html
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
Conflicts:
devel/views.py
feeds.py
templates/devel/index.html
templates/packages/flag.html
templates/public/index.html
todolists/views.py
urls.py
|
|
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
To be more Django-like, Pythonic, or to fit better in the existing
archweb project. Also add some created fields to the models, as storing
dates for anything is almost always a good idea.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* Added vim modelines to files.
* Rearranged import statements.
* Moved the arch releng isos url to settings.py.
* Fixed some issues that arose from forgetting to import the isotests urls
package.
* removed redundant str() calls.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Add a new project for entry and listing of testing results for our
release ISOs. This will assist the release engineering team with
determining a good ISO to make into the real deal.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Whoops. This has been there a while.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Add a config option DEBUG_TOOLBAR that defaults to False. If set to True
in local_settings, add the relevant application and middleware to the
settings to enable it.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Set them in local_settings instead.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
By importing local settings at the end, you can override settings specified
in settings.py. Helpful for something like the Django debug toolbar. The
template loader needs to come last, however, in order to respect the
TEMPLATE_DEBUG setting.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
We need a bit more, like actually having something relevant in the
RequestContext object, in order for this to all work. Instead of putting the
full request in just populate a 'secure' key with a boolean value indicating
whether the request is secure.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Set up a default DATE_FORMAT in settings.py and use it everywhere we do the
'|date' template filter rather than hardcoding the value in the template.
This also fixes a regression with news date/time now that we changed the
field to store both date and time.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|