summaryrefslogtreecommitdiffstats
path: root/templates
AgeCommit message (Collapse)AuthorFilesLines
2011-04-30Add unneeded orphans reportDan McGee2-0/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-30Change big packages reportDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29releng: final touches before public showingDan McGee1-2/+2
* Move URL prefix to /releng/feedback/ * Move link on main page to Development, not Community Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29Merge branch 'releng'Dan McGee6-0/+127
2011-04-29Rename isotests to relengDan McGee5-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29Remove more hardcoded isotests linksDan McGee4-5/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29isotests: massive overview refactorDan McGee3-411/+30
Copy pasted code sucks. Fix it. Also, ensure 500 errors aren't going to be popping up when people start typing invalid URLs for fun, among a lot of other small fixes going in here. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: make the various pages a bit more usefulDan McGee4-49/+71
Instructions are nice, as are links to other pages that actually flow with the style of the rest of the site. Also fix the styling of the labels on the results entry page as it looked a bit funky before. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: Cleaned up the page titles and syncisos commandTom Willemsen3-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: various changes and updatesTom Willemsen5-182/+465
* isotests/fixtures/clockchoices.json: changed 'default' to 'unchanged' * isotests/fixtures/filesystems.json: removed 'check the installed system' line from one of the options * isotests/fixtures/modules.json: added 'ext2','ext3','ext4','swap','xfs','jfs','reiserFS' * isotests/models.py: * Added RollbackOption abstract class that adds the functions get_rollback_success_test and get_rollback_failed_test on top of the IsoOption abstract class for use with the Filesystem and Module classes since Test uses these both in 2 ways (regular and rollback). This keeps them seperated. * renamed the related names of these properties from rollback_test to rollback_test_set (seems more in-tune with the other relations) * isotests/views.py: * changed the order of the fields, the automatic order makes no sense. * Added help texts to the fields success, filesystem, rollback_filesystem and rollback_modules. * Removed help text from modules (made no sense) * Added a website field, should remain empty, a simplistic way to hopefully reduce spambot entries. * templates/isotests/results.html: * Removed the rollback yes/no section * The rollback labels should check get_rollback_success_test and get_rollback_failed_test. * Rollback checkbox removed. * Clearly tell users that success must only be selected if everything works right. * Clearly tell users to only fill in the rollback options if they did a rollback. * Added a thanks page that tells people thanks. * Added links between the pages. * Added links to lists with tests of either a specific iso or of any iso where a specific option was selected. Signed-off-by: Dan McGee <dan@archlinux.org> Conflicts: templates/isotests/results.html
2011-04-28isotests: style cleanup, ui improvementsTom Willemsen3-218/+182
* Using radio buttons for widgets is smarter. * Model names cleanup. * Test.ms: totally un-descriptive field name, should be modules. * models, Iso: Likely need more than a date field here. Removed date and added name. * get_success_test/get_failed_test: now on abstract superclass * tests.py: I wasn't using these, so I might as well remove it. * admin.py: convention is not to use * imports. * models.py: "# Create your models here." -> not needed. * urls.py: I wasn't using info_dict anymore; I had a blank second pattern definition, and I should follow indentation patterns from elsewhere in the project. * views.py, add: switched to using mostly direct_to_template to avoid some of the boilerplate. * isotest/templates: was old, not used. * I had 4 + 1 templates, but only two views- these other ones were old, unnecessary and not wired up. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: view updates, choices->models, show results, adminTom Willemsen1-0/+190
* Started changing the view portion * Changed choices to models * Show the latest failed/succeeded tests on results page * Added some more admin pages Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: entry and listing of release engineering testsTom Willemsen3-0/+49
Add a new project for entry and listing of testing results for our release ISOs. This will assist the release engineering team with determining a good ISO to make into the real deal. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-26Add links to developer reportsDan McGee1-0/+8
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-26Developer reportsDan McGee1-0/+56
This commit adds four initial developer reports that are hopefully useful to developers and packages in checking up on the state of things. They include: * big : the 100 biggest packages in the repos * old : packages built > 2 years ago * uncompressed-man : self-explanatory * uncompressed-info : self-explanatory There should obviously be some sort of index page to access all of these, so that will be coming soon. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-19Reimplement links code as template tagsDan McGee1-4/+4
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-19Add a "Report a Bug" linkDan McGee1-0/+1
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 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>