summaryrefslogtreecommitdiff
path: root/templates/packages/search.html
AgeCommit message (Collapse)Author
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 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
2014-10-18Tweak search results page a bit moreDan 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>
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-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-04-23reduce differencesLuke Shumaker
2013-04-23reduce differencesLuke 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-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
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-20Remove {% spaceless %} tag from a few more placesDan McGee
This tag is simply not worth the time it takes to do what it does. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-04-19replace a bunch more instances of "Arch" in templates manuallyLuke Shumaker
2013-03-27find templates -type f -exec sed -i 's/\({% block title %}\)Arch Linux/\1{{ ↵Luke Shumaker
BRANDING_DISTRONAME }}/' {} +
2013-02-16Remove configurable pagination for package searchDan McGee
Switch it to a hardcoded value of 100 for all searches instead. It didn't make much sense having a page number be part of the URL and a limit value being part of the query string. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-02-08Remove package seach by 'Last Updated After'Dan McGee
It is a lot easier to just sort the list rather than mess with this particular field, which didn't even allow you to specify a range or direction to search in. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-12Merge tag 'release_2012-04-02'Luke Shumaker
Signing page changes, other tweaks Conflicts: README local_settings.py.example requirements_prod.txt urls.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-12-12Merge tag 'release_2012-03-12'Luke Shumaker
Signature stuff and template tweaks Conflicts: templates/public/index.html
2012-07-31Fix broken hidden input sort field on search formDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-23Minor template touchupsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-05-19Add RSS links to /news/ and /packages/ URLsrelease_2012-05-20Dan McGee
These were available only from the home page, but it makes sense to advertise them on the corresponding index pages too. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-29Use spaceless tag on package search resultsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-23Django 1.4 admin and admin media changesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-08Break out search paginator into templateDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-08Encourage robots to not dive into search results pagesDan McGee
Add a meta tag for all search results pages past the first. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-15Fixed quotingNicolás Reynolds
2011-12-11I take it back, using // instead of https:// was a bad idea, it makes links ↵Luke Shumaker
from non-https be bad
2011-12-01Normalize the URI scheme used for inbound links. Don't use one when ↵Luke Shumaker
possible, else use https
2011-11-26A bunch of whitespace or .example/whatever changesLuke Shumaker
to reduce stupid differences between us and upstream archweb
2011-11-26Merged with archweb trunkJohannes Krampf
2011-10-19Use admin_media_prefix helper everywhere in search templateDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-27Escape parameter to search AUR linkDan McGee
Addresses FS#25732. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16Tabs -> spaces in templatesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-09Use new package details link tag in templatesDan McGee
This replaces a lot of boilerplate we had everywhere, and makes sure things like the title are consistent across all links. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-18Merge branch 'master' of git://projects.archlinux.org/archwebNicolás Reynolds
Conflicts: templates/packages/details.html templates/packages/files.html
2011-03-15Ensure package search form correctly handles errorsrelease_2011-03-15Dan McGee
We were silently eating errors and just showing a normal package list if the form didn't validate. Rather than do that, make sure we return no packages at all and display the form errors back to the user in a sane fashion. Adjust the validation methods on the 'limit' parameter so any integer is acceptable. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-13Show epoch in package version if != 0Dan McGee
Add a full_version property method to our package object that does the version formatting, and switch all templates displaying package versions over to this new method. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-07Clean up current_query and preserve multiple argsDan McGee
When implementing search for multiple architectures or repositories, I didn't update this method to accomidate the new query parameters. Clean it up a bit by not appending/stripping the leading '?' anywhere but in the template itself, and ensure we can handle multiple of any parameter passed in. Fixes FS#23180. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-06Removed AUR and pointed to the sources repoNicolás Reynolds
2011-03-06Merge branch 'master' of git://projects.archlinux.org/archwebNicolás Reynolds
Conflicts: media/archweb.css public/views.py urls.py
2011-03-04Removed steering users into AUR messageNicolás Reynolds
2011-03-03Template fine-grained permissioningDan McGee
Rather than use user.is_authenticated, rely on certain permissions being set for the user. This allows us to open up the developer side and not assume everyone is a package maintainer. Allow all logged-in users to still view todo lists, but don't show the complete/incomplete links (only the text) unless they are allowed to mess with todo lists. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-31Merge git://projects.archlinux.org/archwebNicolás Reynolds
Conflicts: templates/public/index.html urls.py
2010-12-03Display flag date in package search and allow sortingrelease_2010-12-03Dan McGee
This exposes something we added a while back, and has been shown elsewhere, but will now be available for everyone to see. Also change the default search order to just be by pkgname; we don't need to do a multi-column search by default. Signed-off-by: Dan McGee <dan@archlinux.org>