summaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Collapse)Author
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-15Use date template filter on datetime field displayDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-14Show orphan package counts in maintainer dashboard tableDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-14Fix relative URL links in admin_log templateDan McGee
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-10Add Admin log overview pageDan McGee
This puts the admin log functionality to a bit more use and allows seeing the last 100 overall entries. You can also drill down to see actions on a per-user basis. 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-07Todo list styling and info cleanupsDan McGee
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-04Move new user email contents to templateDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-04Get general form up to snuffDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-04Remove multiple account login/logout URLsDan McGee
And slightly spruce up the logout template with a header. 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-03-03Remove devel notify viewDan McGee
All of this can just be set on the main profile page. 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-18Link dev names to email on clocks pagerelease_2011-01-18Dan McGee
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>
2011-01-14Simplify JS selector for todo list complete linksDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Add time zone format spec to clock pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Link to dev clocks pagerelease_2011-01-08Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Add developer world clocks pageDan McGee
This should make it easier for everyone to figure out whether someone is awake, sleeping, and all that fun stuff. It does require everyone to update their profile and fill in the field, but that shouldn't be too hard of a task. Don't suggest jokes to me Saturday morning on IRC unless you really want to see them implemented. Thanks, Pierre! Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-14Get rid of all references to repos.archlinux.orgThomas Bächler
The packages/community repositories can now be viewed via cgit. Point links to cgit instead of websvn, as websvn is buggy and nobody wants to maintain it. This allows us to get rid of websvn entirely. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-14Add note about UTC datetimesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Link to JSON mirror status viewDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-07Add repo name to recent updates package tooltipDan McGee
Should handle the suggestion/question in FS#11078 in the easiest way possible. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-07Update public todo list templateDan McGee
Add a TOC as suggested in FS#20720. Fix closing tag span/a mixup that snuck in from the private developer template, and finally use a different div box for each todo list which should make them stand out better. Signed-off-by: Dan McGee <dan@archlinux.org>
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>
2010-11-30Make dev dashboard columns a bit prettierDan McGee
We don't need to force widths on the upper tables, and ensure the todo list description can wrap if it is a long one. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-11-01Point to release specific wiki page for more infoDieter Plaetinck
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be> Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-28Convert a bunch of links to HTTPSDan McGee
Now that the wiki is HTTPS for the most part, we should skip the redirects and link directly. Also switch some www links for mailman resources to the mailman subdomain. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-28Use HTTPS for links to AURDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-27Use CDN on the artwork pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-27Allow index and donate page to use resources from CDNDan McGee
The index page is obviously hit more than just about every other page, so this will benefit the most from moving the sponsor images to a different domain. The donate page uses the same images. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-26Make package differences JS a bit more efficientDan McGee
Use an id-based selector so we can get the necessary table rows to filter a lot more quickly than a lengthy CSS selector. Also use traversal rather than selectors when grabbing the package versions. This looked like a 3x-4x increase in speed while testing locally. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-21Add flag date column to developer dashboard listrelease_2010-10-21Dan McGee
This only implements about 25% of FS#14656, but it is a good start and trivial to add for now. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-21Show a message when filelist is out of dateDan McGee
This addresses FS#21394 and ensures that the website is less misleading when a package gets new files but they are not yet reflected in the shown list. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-20Package differences small updatesDan McGee
* Add 'multilib-testing' to the CSS class list to hide for [multilib] * Select 'Only In Both' by default, which is probably the most useful option * Unselect 'Minor Version Mismatches' by default Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-19Show flag out-of-date date on package details pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-19Unify hyphenation of out-of-date textDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-18Comment out paypal donations for nowDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-10Update link to AirVMDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>