summaryrefslogtreecommitdiff
path: root/templates/packages
AgeCommit message (Collapse)Author
2011-10-19Use admin_media_prefix helper everywhere in search templateDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-18Refresh title and other aspects of flag package templatesrelease_2011-10-18Dan McGee
* 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 McGee
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 McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-09-01Compact bug report links in "Package Actions" boxrelease_2011-09-01Evangelos Foutras
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 Foutras
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 McGee
Addresses FS#25732. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-25Enable display of package signed statusDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-19Fix template comment guardDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17Add PGP signature package fieldDan McGee
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 McGee
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-16templates/flag.html: Improve the note about bug reports.Thomas Bächler
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 Pupykin
Dan: fix usage of urlencode() function. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-09Link package provisions if availableDan McGee
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-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-07-25Small template updatesDan McGee
* 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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Refactor code to use new signoff modelDan McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Initial signoff template changesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Add a default datetime formatDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Add rel="nofollow" to download package linksDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-29Use normal date format on signoffs pageDan McGee
Fixes FS#24949. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-20Differentiate between no filelist and empty filelistDan McGee
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>
2011-05-03Add a created date to package relationsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-18Reimplement links code as template tagsDan McGee
These were starting to get a bit too much inside the model itself, and they don't really belong there as they are view layer concerns anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-18Add a "Report a Bug" linkDan McGee
We need Flyspray category data to make this more useful, and we can prefill the Subject and Category fields (along with putting it on the right project). Implements FS#23751. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-18Update out of date flag screen and emailDan McGee
Now that multiple packages get marked out of date whenever this form is processed, have the page and email itself reflect this fact. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-28Small package details template cleanupDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-23Allow virtual base packages to display in web interfaceDan McGee
Repurpose the old group details page to show a listing of all packages built from a particular pkgbase value, even if this value is not an actual package. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-23Generalize group details pageDan McGee
We will be able to use this same table-based package listing elsewhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-23Add flag date column to group details pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
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-04Send only one email per todolistrelease_2011-03-07Dan McGee
Customize each email on a per-maintainer basis and list all the relevant packages inside, rather than spamming people. Signed-off-by: Dan McGee <dan@archlinux.org>
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>
2011-02-23Allow deleting of stale package relations via status pageDan McGee
Add a column of checkboxes to each table, enclose the whole thing in a form, and add a super-simple delete view that takes a list of IDs and removes them from the database. The delete_packagerelation permission is required to be able to delete relations. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-23Add stale package relations status screenDan McGee
For now it is read only. Display a few tables of various ways of detecting stale package relations. These include inactive users, pkgbase values that no longer exist, and users that are listed as maintainers that don't have the proper permissions for that package anymore. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-22Use hyphen to offset optdep descriptionrelease_2011-02-22Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-22Use new split package file fields everywhereDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-16Allow for optional info in required by displayDan McGee
We need to make our root object the PackageDepend rather than the Package to get at this, so do a slight refactor on get_requiredby(). Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-16Read in optional deps and show in web interfaceDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-15Move license to a related modelDan McGee
This allows us to store multiple licenses per package in a more elegant fashion, and will later allow us to search and filter on this information. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-15Clean up Package related objects codeDan McGee
Main change is just to move groups from the default packagegroup_set location to a related_name of groups. Also refer to the Package class directly rather than by text string if we have it available. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-20Add an 'unflag all' optionDan McGee
This allows the exact opposite of the 'flag' option as presented to the end user, especially helpful for split packages. The original single unflag package option is also still available. Implements FS#22520. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-18Add arch-specific group overview pagesDan McGee
This is easy enough to refactor and support with our current infrastructure and group-fetching functions. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-18Make package signoffs AJAX if JS is enabledDan McGee
This makes the signoffs page a heck of a lot more usable as you can go through and click a bunch at once without waiting for the rather slow page to reload. Hopefully the first step to bringing life back into this part of the site. Signed-off-by: Dan McGee <dan@archlinux.org>