summaryrefslogtreecommitdiffstats
path: root/templates
AgeCommit message (Collapse)AuthorFilesLines
2011-04-18Update out of date flag screen and emailDan McGee3-20/+35
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-04-16Add some simple template caching on developer dashboardDan McGee1-5/+11
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-13Add optional country override for individual mirror URLsDan McGee4-4/+4
This allows a named top-level mirror to have geographically distributed URLs, e.g. kernel.org and the geo-DNS setup. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-09Show more info about todolists on developer dashboardDan McGee1-7/+14
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-09Ascii-ize the todo list email package listDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-08Ensure feed GUIDs are unchanging and uniqueDan McGee4-4/+4
Implement 'tag:' style URIs for the GUID field on our RSS feeds. This ensures new package updates show up as new, and we aren't jumping back and forth between generated GUIDs having 'http://' and 'https://' prefixes. Much of the work here is to attempt to keep old news GUIDs constant so we don't once again make everything show up as new in newsreaders. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-05Collapse all split and similar packages in recent updates listDan McGee1-5/+3
I was getting sick of seeing the *-i18n packages completely blow away anything else useful out of the recent updates sidebar. Revamp the logic here again to do something about it. As we did before, grab packages from the database and attempt to group them, but this time do it by only repo and pkgbase. From there, if we have packages in the group with a pkgname matching pkgbase, we will link just those. If not, we will create some stub objects that link to our relatively new virtual package overview screen. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-29Link email address if availableDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-29Ensure durations are sorted correctlyDan McGee1-4/+3
The automatic detection started using the builtin time parser instead of our duration parser, causing it to barf on anything > 60 minutes. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-29Small package details template cleanupDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-29Enhance the mirror details pageDan McGee2-28/+85
Get the URLs with their performance data showing up, and simplify the top part for non-authenticated users while adding more detail for logged-in users. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-24Remove dead merchandise linkDan McGee1-2/+0
Addresses FS#23399. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-23Allow virtual base packages to display in web interfaceDan McGee1-1/+2
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 McGee1-2/+2
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 McGee1-0/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-23Simplify the dev dashboardDan McGee2-20/+11
Remove all the click to expand junk; just show the tables all the time. There is no form at the bottom of the page anymore, so if you don't want to read the tables on the bottom, just don't read them. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-23Urlize todo list descriptions on dashboardDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-23Add alias to developer clocks pageDan McGee1-0/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-21Fix news preview with CSRF and AJAX in Django 1.2.5Dan McGee1-4/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-15Ensure package search form correctly handles errorsDan McGee1-22/+30
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 McGee2-4/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-14Show orphan package counts in maintainer dashboard tableDan McGee1-0/+9
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-14Fix relative URL links in admin_log templateDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-13Show epoch in package version if != 0Dan McGee8-15/+15
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 McGee2-0/+70
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-08Clean up current_query and preserve multiple argsDan McGee1-9/+9
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-08Todo list styling and info cleanupsDan McGee3-7/+10
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-04Send only one email per todolistDan McGee2-12/+5
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 McGee1-0/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-04Get general form up to snuffDan McGee1-4/+8
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-04Remove multiple account login/logout URLsDan McGee2-2/+4
And slightly spruce up the logout template with a header. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-03Template fine-grained permissioningDan McGee3-5/+9
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 McGee1-9/+0
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 McGee1-6/+17
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 McGee1-0/+101
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-23Use hyphen to offset optdep descriptionDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-22Use new split package file fields everywhereDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-17Allow for optional info in required by displayDan McGee1-3/+4
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-17Read in optional deps and show in web interfaceDan McGee1-11/+14
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-15Move license to a related modelDan McGee1-2/+2
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 McGee1-1/+1
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-21Add an 'unflag all' optionDan McGee1-0/+1
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 pageDan McGee1-8/+8
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-18Add arch-specific group overview pagesDan McGee2-3/+3
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 McGee1-2/+5
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-15Simplify JS selector for todo list complete linksDan McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Add time zone format spec to clock pageDan McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Link to dev clocks pageDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Add developer world clocks pageDan McGee1-0/+49
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ächler1-16/+18
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>