summaryrefslogtreecommitdiffstats
path: root/templates/packages
AgeCommit message (Collapse)AuthorFilesLines
2012-02-07Show the latest flag request on package details if out of dateDan McGee1-0/+5
This only shows up for logged in users, but might be helpful for developers browsing around the site, especially if they did not receive the email themselves, or in the case of orphan packages. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-07Clean up details dependency display logicDan McGee2-37/+26
This moves this lengthy conditional block of template into an include so it is a bit more manageable. This makes the fix for FS#28286, where provided optional dependencies were not displayed as expected. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-03Add checkbox range selection to stale relations pageDan McGee1-3/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-09Retitle package differences pageDan McGee1-1/+1
Now that this has two different tables on it, we should make the page title a bit more generic. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-08Multilib differences reportDan McGee1-24/+62
This new tables shows multilib packages paired with their regular counterparts in the normal repos if the pkgver differs. A few name hacks are needed to trim lib32-, -multilib, etc. from the name to find the matching package. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-06Convert to and enable staticfiles contrib applicationDan McGee7-10/+12
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-03Rename files list template for consistencyDan McGee2-4/+3
We use underscores in all other templates. Also remove some of the generated whitespace in the template which is noticeable in very large package lists. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-03Show files and directory count in standalone package files viewDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-03Convert packager link to search by packagerDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-30Add more precise sort for last update signoff columnDan McGee1-2/+2
This allows sorting by the exact time recorded in the database, even if we don't show it directly to the user, which makes finding the most recent updates a lot easier. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-17Display package URLs unquoted if possibleDan McGee1-1/+1
Example: kbd-ru-keymaps. Before: http://wiki.archlinux.org/index.php/%D0%98%D0%BD%D1%82%D0%B5%D1%80%D0%BD%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%B0%D0%BB%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F After: http://wiki.archlinux.org/index.php/Интернационализация Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-14Allow population of signoff specs with SVN commit messagesDan McGee1-1/+1
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>
2011-11-11Touch up signoff page stylesDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Fix misnamed JS function callDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Signoff email: prune empty contentDan McGee1-6/+7
Don't send the email at all if there are no packages even in the repository, and don't print empty sections. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Add filter by target repo on signoffs pageDan McGee1-3/+9
And add a count of displayed rows below the filter options. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Allow signoff manipulation if you are a maintainerDan McGee1-1/+1
This is a more expensive and not-yet-optimized way of doing this, but we can fix that later as needed. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Allow signoff options to apply to all packages across architecturesDan McGee1-1/+1
If you check the new box, you can set the options for both the i686 and the x86_64 packages at the same time. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Signoffs changes and improvementsDan McGee3-2/+32
* Better signoff report with more detail * Show signoff specification in signoffs view * Honor disabled/bad flags and display in approval column * Various other small bugfixes and tweaks Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Add signoff options form and data entry pageDan McGee3-4/+32
This allows the criteria and other information about certain signoffs to be overridden as necessary. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Minor tweaks to style and sorting of signoffsDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Package signoff email report, initial revisionDan McGee1-0/+27
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Refactor more package signoff stuffDan McGee2-8/+8
This sets up some shared utility code for use in a later package signoff email report command. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Many signoff page improvementsDan McGee3-22/+42
Add a new 'SignoffSpecification' model which will capture metadata regarding a specific package if it differs from the norm- e.g. more or less than 2 required signoffs, is known to be bad, a comment from the maintainer, etc. The groundwork is laid here; much of this will still need to be wired up in the future. Enhance the view with a lot more JS prettiness and add revoking of signoffs. The signoff page can be filtered and the links and all the fun stuff are totally dynamic now. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-19Use admin_media_prefix helper everywhere in search templateDan McGee1-2/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-18Refresh title and other aspects of flag package templatesDan McGee3-7/+11
* Update <title/> to contain version and architecture * Update some page text to be more descriptive * Add a meta tag to not directly index these pages in search engines Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-18Add architecture to package details and files page titlesDan McGee2-2/+2
And remove the not totally necessary "Package Details" text as that seems like a reasonable assumption for the base page. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-09-08List packages in required by list with depend provided by this packageDan McGee1-0/+1
Implements FS#25862. Most noticable on package like util-linux (util-linux-ng) and openjdk6 (java-runtime, java-environment). Signed-off-by: Dan McGee <dan@archlinux.org>
2011-09-08Show provides in package details viewDan McGee1-1/+10
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-09-01Compact bug report links in "Package Actions" boxEvangelos Foutras1-2/+4
Using the same style as the SCM links. Signed-off-by: Evangelos Foutras <evangelos@foutrelis.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-09-01Use package branches to display commit historyEvangelos Foutras1-2/+4
We now have one link pointing to the tree of /trunk, and another pointing to the log of /trunk. Both links specify a package branch. Signed-off-by: Evangelos Foutras <evangelos@foutrelis.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-27Escape parameter to search AUR linkDan McGee1-1/+1
Addresses FS#25732. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-25Enable display of package signed statusDan McGee1-2/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-20Fix template comment guardDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17Add PGP signature package fieldDan McGee1-0/+5
And add eventual display code for it to the details template, but don't show it yet as no packages will have it. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17Add capfirst filter to yesno usage in templatesDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16Tabs -> spaces in templatesDan McGee1-6/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16templates/flag.html: Improve the note about bug reports.Thomas Bächler1-4/+5
There are tons of morons out there who are not able to read. Thus, I keep getting bug reports via the "flag out of date" feature. This patch removes all occurrences of "please" from the note and adds a new sentence that explains our ignorance properly. The hint to file a bug report is now longer, so idiots might see it. Dan: add one more line in the early text. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16add "search wiki" link to package details pageSergej Pupykin1-0/+1
Dan: fix usage of urlencode() function. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-10Link package provisions if availableDan McGee1-1/+4
Rather than just the blank 'virtual' text we used to have in the dependencies listing on the package page. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-10Use new package details link tag in templatesDan McGee7-27/+22
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-07-25Small template updatesDan McGee1-2/+3
* Show full version in developer dashboard out of date pane * Link packages on flag confirmation screen Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-15Add pacakge count to group/split package details pageDan McGee1-0/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Refactor code to use new signoff modelDan McGee1-10/+15
This moves signoff creation and display to the new packages.Signoff model. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Move package signoff URL to more logical locationDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Initial signoff template changesDan McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Add a default datetime formatDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Add rel="nofollow" to download package linksDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-29Use normal date format on signoffs pageDan McGee1-1/+1
Fixes FS#24949. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-20Differentiate between no filelist and empty filelistDan McGee1-1/+5
We had these two cases munged together before; some packages have seen filelist updates but simply don't have any files ('firefox-i18n' for example). Signed-off-by: Dan McGee <dan@archlinux.org>