summaryrefslogtreecommitdiff
path: root/settings.py
AgeCommit message (Collapse)Author
2013-04-26Merge branch 'archweb-generic2'Luke Shumaker
Conflicts: main/fixtures/arches.json settings.py templates/public/index.html templates/public/svn.html
2013-04-23reduce differencesLuke Shumaker
2013-04-23introduce BRANDING_SLUG for relengLuke Shumaker
2013-04-23introduce BRANDING_SLUG for relengLuke Shumaker
2013-04-23tweakLuke Shumaker
2013-04-23reduce differencesLuke Shumaker
2013-04-23change TORRENT_TRACKERSLuke Shumaker
2013-04-22Merge branch 'archweb-generic2'Luke Shumaker
Conflicts: README.BRANDING local_settings.py.example packages/templatetags/package_extras.py public/views.py releng/views.py settings.py sitestatic/archnavbar/archnavbar.css sitestatic/silhouette.png templates/base.html templates/packages/differences.html templates/packages/opensearch.xml templates/packages/search.html templates/public/donate.html templates/public/download.html templates/public/feeds.html templates/public/index.html urls.py
2013-04-21use a BRANDING_OSEARCH_TAGS for templates/packages/opensearch.xmlLuke Shumaker
2013-04-21Use a BUGTRACKER_RELENG_URL for releng/views.pyLuke Shumaker
2013-04-21Merge commit '91c451'Luke Shumaker
Conflicts: devel/views.py feeds.py local_settings.py.example packages/management/commands/signoff_report.py packages/views/flag.py public/views.py templates/404.html templates/base.html templates/devel/clock.html templates/devel/index.html templates/devel/packages.html templates/devel/profile.html templates/general_form.html templates/mirrors/mirror_details.html templates/mirrors/mirrorlist.txt templates/mirrors/mirrorlist_generate.html templates/mirrors/mirrorlist_status.txt templates/mirrors/mirrors.html templates/mirrors/status.html templates/news/add.html templates/news/delete.html templates/news/list.html templates/news/view.html templates/packages/details.html templates/packages/differences.html templates/packages/files.html templates/packages/flag.html templates/packages/flag_confirmed.html templates/packages/flagged.html templates/packages/flaghelp.html templates/packages/groups.html templates/packages/opensearch.xml templates/packages/packages_list.html templates/packages/search.html templates/packages/signoff_options.html templates/packages/signoffs.html templates/packages/stale_relations.html templates/public/about.html templates/public/art.html templates/public/blank.html templates/public/donate.html templates/public/download.html templates/public/feeds.html templates/public/index.html templates/public/keys.html templates/public/svn.html templates/public/userlist.html templates/registration/login.html templates/registration/logout.html templates/releng/add.html templates/releng/results.html templates/releng/thanks.html templates/todolists/list.html templates/todolists/public_list.html templates/todolists/todolist_confirm_delete.html templates/todolists/view.html templates/visualize/index.html todolists/views.py
2013-04-21catch a few more instances of archlinuxLuke Shumaker
2013-04-21Merge branch 'archweb' into archweb-generic2Luke Shumaker
Conflicts: devel/views.py feeds.py public/views.py settings.py sitestatic/archweb.js templates/base.html templates/devel/profile.html templates/mirrors/status.html templates/news/view.html templates/packages/flaghelp.html templates/packages/opensearch.xml templates/public/download.html templates/public/feeds.html templates/public/index.html templates/registration/login.html templates/releng/results.html templates/todolists/public_list.html
2013-04-21add BUGTRACKER_URLLuke Shumaker
2013-04-20remove /mailman from the MAILMAN_BASE_URL, use it every timeLuke Shumaker
2013-04-20add MAILMAN_BASE_URL to abstract mailing list linksLuke Shumaker
2013-04-19Abstract ArchWiki URLs and references.Luke Shumaker
Notable things: * Standardize on "ArchWiki", instead of also having "Arch Wiki", via BRANDING_WIKINAME * Link to the article "Install_Guide" instead of "Official_Arch_Linux_Install_Guide", it's a redirect anyway. * On the download page, it assumes the that the version is just appended to the URL for the wiki link. * For the wiki RSS link, It now uses "/${title}?feed=rss" instead of "?title=${title}&feed=rss".
2013-03-27Add a context processor so BRANDING_* works in templacesLuke Shumaker
2013-03-27Pull references to Arch Linux in code into BRANDING_ variables in settingsLuke Shumaker
This does not include templates
2013-02-08Minify static files when running collectstaticDan McGee
This doesn't do any super optimizations, but does run the very basic cssmin and jsmin Python tools over the static resources we serve up. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-28Extract torrent trackers into a settings variableDan McGee
This allows them to be overridden and changed in a central location, like we do with the SVN URL, PXE boot URL, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-21Switch to using the cached STATICFILES_STORAGE backendDan McGee
This should finally let us crank up the Expires: header to far-future values in production since updates to JS and CSS files will take effect immediately. Some minor removals were made from retro stylesheets as they were referencing files that don't actually exist because they were missing from the web archive. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-20Remove AlwaysCommitMiddlewareDan McGee
Let's just go with the Django database option for PostreSQL autocommit mode instead. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-15Add new AlwaysCommitMiddleware to the stackDan McGee
The reason for this is documented in the middleware itself. Without this, pgbouncer is of little use to us since it has to throw away every connection we try to route through it because of unclean disconnects. In theory, with the switch to using pgbouncer for all WSGI originating connections and adding this middleware, we should see a notable decrease in connection time to the database. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-13Disable XView MiddlewareDan McGee
This is the default now in Django anyway: https://code.djangoproject.com/ticket/7317 Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-30Remove several context processors we don't useDan McGee
We're not using any of the injected values these context processors provide in our templates, so remove them from our default config. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-30Enable clickjacking protection via middlewareDan McGee
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>
2012-12-12Merge tag 'release_2012-04-26'parabolaweb-2012-12-12Luke Shumaker
CSS and display related tweaks Conflicts: public/views.py requirements.txt requirements_prod.txt templates/public/download.html
2012-12-12Merge tag 'release_2012-04-21'Luke Shumaker
Migrations, moving code around, random small improvements
2012-12-12Merge commit '3451b4f'Luke Shumaker
Conflicts: settings.py
2012-12-12Merge commit '822898e' (Merge branch 'django14')Luke Shumaker
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
2012-11-15Merge tag 'release_2012-02-23'Luke Shumaker
Fix template fragment caching issue
2012-11-14Merge tag 'release_2012-01-11'Luke Shumaker
Pkgbase view in todos, other changes related to caching Conflicts: public/views.py
2012-10-26Remove usages of 'django.contrib.markup'Dan McGee
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>
2012-10-26Merge commit '943ef2e8e4'Luke Shumaker
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
2012-10-26mirror changes from commit '943ef2e8e4'Luke Shumaker
2012-08-13Enable rate-limiting log filterDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-28Convert releng URLs to https by defaultDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-27Remove misleading comment from settings.pyDan McGee
We're not using cache middleware anymore, and this bug is fixed anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-25Add django_countries country code fields and population migrationsDan McGee
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>
2012-04-20UserProfile model and fields shuffleDan McGee
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>
2012-03-23Change default SVN URLDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-23Make all datetime objects fully timezone awareDan McGee
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>
2012-02-18Add a retro site view and link it to a URLDan McGee
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>
2012-01-03Remove all cache middlewareDan McGee
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>
2011-12-05Convert to and enable staticfiles contrib applicationDan McGee
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>
2011-12-05download: add a link to the new netboot environmentThomas Bächler
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-01Normalize the URI scheme used for inbound links. Don't use one when ↵Luke Shumaker
possible, else use https
2011-12-01I think this fixes all the broken links (that point to parabolagnulinux.org ↵Luke Shumaker
anyway)
2011-11-26Merged with archweb trunkJohannes Krampf