Age | Commit message (Collapse) | Author |
|
Pkgbase view in todos, other changes related to caching
Conflicts:
public/views.py
|
|
Too many new things to count
Conflicts:
templates/public/download.html
templates/public/index.html
|
|
|
|
Conflicts:
templates/packages/differences.html
|
|
|
|
|
|
Conflicts:
packages/views/__init__.py
templates/packages/differences.html
|
|
|
|
Conflicts:
local_settings.py.example
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conflicts:
public/views.py
settings.py
templates/public/download.html
|
|
|
|
|
|
Conflicts:
media/d3.layout.min.js
media/d3.min.js
This brought out a few bugs in the Makefile, fix them.
|
|
Conflicts:
main/fixtures/groups.json
packages/templatetags/package_extras.py
|
|
Conflicts:
media/Makefile
|
|
Archweb-original .js files
|
|
----
Due to our support of free software, we have two (uncommon) requirements
for .min.js files:
1. They preserve the header comments; for license-identification
2. They can be created with free software; a free minifier, SaaS does not
count.
The only viable way to do this is to use django's compress.py, which
requires the Google Closure Compiler, (or use the closure-compiler
directly), which is not (yet) packaged for Parabola.
So, for now just copy the *.js to *.min.js in order to avoid having to
change URLs to temporarily point to the non-minified versions until we can
properly minify them.
----
Add copyright headers to d3.js files, which by default ship without the
copyright included in the file, despite being free software.
----
Create a Makefile that automatically does this. It fetches the d3 and
jquery .js files, adds the copyright headers to the d3.*.js files, and then
copies .js files to .min.js files.
|
|
|
|
This makes it easier to match up a flag request with the package state
at the time of flagging, and might also help to determine if flagging
actions were legit. We only store it if it is the same across all
packages to be marked.
Also, move the various database write activities when flagging packages
into a single transaction.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Remove never_cache from many places now that we don't actually need it
since we aren't caching by default. Adjust our cache_function decorator
times be shorter values, and also randomize them a bit to make cache
invalidations not all line up.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is for use after rebuilds when moving packages out of the staging
and testing repositories.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Now that we aren't using the middleware, add cache headers on our
primary pages so we can prevent some repeat traffic, and cache all feeds
for five minutes.
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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
I'm not sure if any hit Parabolaweb, but I'd rather be safe.
But now they have copyright headers :)
|
|
Create a Makefile that automatically updates d3, and adds copyright
headers to the installed files.
|
|
* media/archweb.js: GPLv2, (c) 2007-2011 The Archweb Team
* media/visualize.js: GPLv2, (c) 2011 Dan McGee
The "Archweb Team" thing is a cop-out, but it was pulled from many
inline-js places, making a full list of edits hard.
|
|
The only way they can be created satisfactorily is with django's
compress.py, which requires the Google Closure Compiler, which is not
packaged for Parabola.
They can be re-added when the Google Closure Compiler is packaged.
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
|
|
|