summaryrefslogtreecommitdiff
path: root/templates/packages
AgeCommit message (Collapse)Author
2016-05-10Add armv7h supportAndré Fabian Silva Delgado
2015-04-16Merge branch 'archweb-generic'Luke Shumaker
2015-04-16Merge tag 'release_2015-04-13' into archweb-genericLuke Shumaker
Fix up 'None' display in places
2015-04-14Replace usage of parabolagnulinux.org with parabola.nu, alsoLuke Shumaker
replace repo.parabola.nu/isos/ with /iso/, in settings.py
2015-04-13Merge branch 'archweb-generic' into master-nomakeLuke Shumaker
# Conflicts: # public/views.py
2015-04-13Merge tag 'release_2014-10-20' into archweb-genericLuke Shumaker
A few Jinja2 fixes and some perf changes
2015-04-13Merge branch 'archweb-generic' into master-nomakeLuke Shumaker
2015-04-13Catch an instance of "Arch Linux" in packages/details.htmlLuke Shumaker
2015-04-13Merge tag 'release_2014-10-19' into archweb-genericLuke Shumaker
Jinja2 switch for some templates, exact matches in package search # Conflicts: # templates/packages/search.html
2015-04-13Merge tag 'release_2014-10-19' into archweb-genericLuke Shumaker
Jinja2 switch for some templates, exact matches in package search
2015-04-12Add true parameter to Jinja2 default filterDan McGee
We need this to make it act more like the Django filter, which prints the default value not only when the variable is undefined, but also when it evaluates to being false (such as a None value). Noticed by felixonmars on packages that provided other packages; None was always showing as the comparison operator. More embarrassing is that our file lists were always showing 'None' concatenated onto all directory entries. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-20Fix display of flag requests for non-logged-in usersDan McGee
More Jinja2 conversion fallout, whoops. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-19Convert package files view to Jinja2Dan McGee
This is another one we spend a lot of time rendering, and packges like sage-mathematics with 80,000+ files can really make the Django template engine grind. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-19Fix Jinja2 render in no-packager caseDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-19Fix function vs. property reference in Jinja templateDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-18Merge branch 'jinja'Dan McGee
2014-10-18Tweak search results page a bit moreDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-18Fix colspan valuesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-18FS#30773: put exact matches at topDan McGee
There have been a few proposed solutions to this, but there really isn't anything without a drawback. Things break pagination, require loading the entire result set from the database, etc. Just plop a new table on the page if someone did a so-called "simple" search and we have a match. Only show on the first page of the search results. This results in a relatively fast experience for someone doing something like searching for the "perl" package. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-18Package search HTML cleanupsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-18Move maintainer/packager link code back into templateDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-18Convert bulk of package details page to Jinja2Dan McGee
We wrap the whole thing in a Django template so we don't have to convert our base template to Jinja2 (or have one for each templating engine). This also simplifies the static stuff so we can just keep using the Django tags. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-18Convert details sub-tempates to Jinja2Dan McGee
This is a start at improving performance of rendering the package details page, our most-visited and slowest page on the production website. The Django template system is not very efficient due to our heavy use of broken out templates and pulling of various attributes and such on related packages. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-18Tweak sorting settings on stale relations pageDan McGee
* Don't allow sorting of packages columns, doesn't make much sense * Default to sorting by pkgbase on all tables * Ensure all JS is executed inside doc.ready function (wow, how has this been wrong for so long?) Signed-off-by: Dan McGee <dan@archlinux.org>
2014-05-25Merge branch 'archweb-generic' into master-nomakeLuke Shumaker
Conflicts: templates/public/download.html
2014-05-25Merge tag 'release_2014-03-22' into archweb-genericLuke Shumaker
Fix long filenames; local storage for filter prefs Conflicts: templates/public/download.html
2014-03-09Use localStorage to save/restore signoffs filtersDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-01-25Add 'Latest Update' column to stale package relationsDan McGee
This helps when doing the irregular cleanup of these things and making sure a relation has been stale for some time and not just a couple minutes or hours. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-01-21Flag out-of-date message is no longer optionalDan McGee
Changed way back in commit ef9d1c1e, but I didn't update the actual text at the same time. FS#38126. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-12-22Merge branch 'archweb-generic' into master-nomakeLuke Shumaker
Conflicts: README.md
2013-12-22Merge tag 'release_2013-11-30' into archweb-genericLuke Shumaker
End of month release, perf fixes
2013-11-28Merge tag 'release_2013-11-25' into archweb-genericLuke Shumaker
Django 1.6 upgrade and other changes Conflicts: templates/news/list.html templates/public/index.html
2013-11-28Merge tag 'release_2013-11-25' into archweb-genericLuke Shumaker
Django 1.6 upgrade and other changes Conflicts: templates/news/list.html templates/public/index.html
2013-11-27Allow pkg_details_link to honor package flag stateDan McGee
This allows the tag to be used in a few more places we weren't already able to use it, and hopefully speeds up rendering a tad on the package differences page. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-11-27Use pkg_details_link tag on differences report pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-11-06Django 1.6 upgrade, deprecation cleanupDan McGee
PendingDeprecationWarning: 'The `cycle` template tag is changing to escape its arguments; the non-autoescaping version is deprecated. Load it from the `future` tag library to start using the new behavior. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-08-26fix parenthesis in the ifOmar Vega Ramos
2013-08-26templates/packages/details.html: blacklist Arch repos, instead of whitelist ↵Luke Shumaker
Parabola
2013-08-26Fix typosLuke Shumaker
2013-08-26Remove flag as outdate links to packages from archOmar Vega Ramos
2013-07-15reduce differences in the package details pageLuke Shumaker
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-23Merge branch 'archweb' into archweb-generic2Luke Shumaker
2013-04-23fix bugsLuke Shumaker
2013-04-23reduce differencesLuke Shumaker
2013-04-23reduce differencesLuke Shumaker
2013-04-23reduce differencesLuke Shumaker
2013-04-22Use required_signoffs value when creating signoff specsDan McGee
And respect it elsewhere when we create a fake default specification because a real one does not exist yet. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-04-22take care of a few introduced arch-ismsLuke 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