AgeCommit message (Collapse)AuthorFilesLines
2011-03-04Send only one email per todolistrelease_2011-03-07Dan McGee3-38/+33
Customize each email on a per-maintainer basis and list all the relevant packages inside, rather than spamming people. Signed-off-by: Dan McGee <>
2011-03-04Move new user email contents to templateDan McGee3-11/+26
Signed-off-by: Dan McGee <>
2011-03-04Use transactions in todolist creationDan McGee1-42/+52
So we do all of the work at once and don't let things leak out before the list is completely added or updated. Signed-off-by: Dan McGee <>
2011-03-04Get general form up to snuffDan McGee1-4/+8
Signed-off-by: Dan McGee <>
2011-03-04Remove multiple account login/logout URLsDan McGee3-6/+4
And slightly spruce up the logout template with a header. Signed-off-by: Dan McGee <>
2011-03-03Add ordering to mirror protocolsDan McGee1-0/+1
Signed-off-by: Dan McGee <>
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 <>
2011-03-03Remove devel notify viewDan McGee4-26/+0
All of this can just be set on the main profile page. Signed-off-by: Dan McGee <>
2011-03-03Correct some permission decoratorsDan McGee2-3/+3
Signed-off-by: Dan McGee <>
2011-03-03Make Arch and Repo a MultipleChoice on package searchDan McGee1-6/+6
Signed-off-by: Dan McGee <>
2011-03-03Bump Django required versionDan McGee2-2/+2
Signed-off-by: Dan McGee <>
2011-02-27Auto-resolve mirror URLs on saveDan McGee3-9/+27
This prevents people from having to mess with these checkboxes at all in the admin, and we incur no delay on their initial values being correct waiting for the cron job to run. Signed-off-by: Dan McGee <>
2011-02-27Auto map the protocol URL fieldDan McGee2-5/+29
And perform better validation when doing so. Signed-off-by: Dan McGee <>
2011-02-27Add a default initial groups fixtureDan McGee2-0/+199
Signed-off-by: Dan McGee <>
2011-02-27Update repos fixtureDan McGee1-1/+11
Signed-off-by: Dan McGee <>
2011-02-27Remove test_packages fixtureDan McGee1-11118/+0
This is very much out of date at this point, so kill it. It might make an appearance in the future in a more slimmed down version. Signed-off-by: Dan McGee <>
2011-02-27Slight refactor of user list viewsDan McGee2-15/+27
Signed-off-by: Dan McGee <>
2011-02-27Screen Fellows based on group membership as wellDan McGee1-1/+1
Signed-off-by: Dan McGee <>
2011-02-27reporead: small cleanupsDan McGee1-6/+2
2011-02-23Allow deleting of stale package relations via status pageDan McGee3-6/+31
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 <>
2011-02-23Add stale package relations status screenDan McGee5-3/+154
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 <>
2011-02-23reporead performance improvementsDan McGee1-3/+18
When importing over a million files, it makes sense to take the slightly faster route and call the PackageFile() constructor directly rather than going through the related manager's create method. We can also get huge performance improvements, especially with files databases, by using the 'io' rather than 'codecs' module. The former is now implemented in C in 2.7 and results in a no-work import (so measuring only the DB read speed) of extra.files.tar.gz from ~30 seconds to ~5 seconds. Signed-off-by: Dan McGee <>
2011-02-22Use hyphen to offset optdep descriptionrelease_2011-02-22Dan McGee1-1/+1
Signed-off-by: Dan McGee <>
2011-02-22Use new split package file fields everywhereDan McGee5-6/+169
Signed-off-by: Dan McGee <>
2011-02-22Add migration to split package files into partsDan McGee1-0/+186
This datamigration is a bit more tricky and we do some DB-specific stuff so it can be done a lot faster- we are dealing with millions of rows in this migration in production. Signed-off-by: Dan McGee <>
2011-02-22Add new file and directory parts to package filesDan McGee2-0/+169
Signed-off-by: Dan McGee <>
2011-02-22Slight tweaks to mirror commandsDan McGee2-10/+9
We know we are doing updates when setting IPv4/IPv6 information, so set force_update to True to save the useless select query on each save(). For mirror checks, use a less cumbersome deque for the results since it is also thread-safe, and have all the log entries committed in one go. Signed-off-by: Dan McGee <>
2011-02-22Modularize URLsDan McGee4-41/+55
Make some additional URL config files that can be included so we aren't trying to do so much in the top level config. This also allows us to branch a bit more rather than go linear down the rather lengthy list. Signed-off-by: Dan McGee <>
2011-02-19Unify calls to applicable_arches()Dan McGee1-1/+1
Invoke the function everywhere it is used rather than passing a callable. Signed-off-by: Dan McGee <>
2011-02-19Remove maintainer relations if user marked inactiveDan McGee1-0/+12
These users are being marked inactive because they are no longer developers; thus they should have all of their maintainer relations removed from the database. This is one of two causes of "orphan" package relation objects, the other being pkgbase values that go out of existence. Signed-off-by: Dan McGee <>
2011-02-18Add a PackageRelation adminDan McGee1-0/+11
Signed-off-by: Dan McGee <>
2011-02-18Add unicode methods for packages modelsDan McGee1-1/+6
Signed-off-by: Dan McGee <>
2011-02-16Allow for optional info in required by displayDan McGee2-16/+22
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 <>
2011-02-16Read in optional deps and show in web interfaceDan McGee4-27/+44
Signed-off-by: Dan McGee <>
2011-02-15Move license to a related modelDan McGee7-8/+413
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 <>
2011-02-15Allow optional deps in depends modelDan McGee2-0/+162
Signed-off-by: Dan McGee <>
2011-02-15Clean up Package related objects codeDan McGee5-11/+17
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 <>
2011-02-15Use date from model in news feedDan McGee1-4/+5
Now that this a datetime and not just a date, we can use it directly. Signed-off-by: Dan McGee <>
2011-02-01Fix JS date parsing sort helperDan McGee1-3/+6
How could I ever forget the awesomeness that is the JS date constructor that takes a month value between 0-11, not 1-12. Total insanity. Signed-off-by: Dan McGee <>
2011-02-01Use os.path.join for path manipulationDan McGee1-1/+3
Signed-off-by: Dan McGee <>
2011-01-31Defer format string substitution to loggerDan McGee3-29/+30
Don't use 'fmtstr % (arg1, arg2)' type format; logger can be passed a format string and the arguments to populate it. Saves a bit of work for strings that never end up getting displayed anyway. Signed-off-by: Dan McGee <>
2011-01-20Add an 'unflag all' optionDan McGee3-4/+16
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 <>
2011-01-18Link dev names to email on clocks pagerelease_2011-01-18Dan McGee1-8/+8
Signed-off-by: Dan McGee <>
2011-01-18Add arch-specific group overview pagesDan McGee5-10/+21
This is easy enough to refactor and support with our current infrastructure and group-fetching functions. Signed-off-by: Dan McGee <>
2011-01-18Small JS clarification for finding table cellDan McGee1-1/+1
Although it happened to be the parent element in this case, we are really just looking for the containing cell. Change the call to closest so we are future-proofed. Signed-off-by: Dan McGee <>
2011-01-18Make package signoffs AJAX if JS is enabledDan McGee4-17/+45
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 <>
2011-01-14Clean up news redirect argumentDan McGee1-1/+1
Signed-off-by: Dan McGee <>
2011-01-14Use more efficient updateCell event after todo list clickDan McGee1-2/+1
Signed-off-by: Dan McGee <>
2011-01-14Update tablesorter minified versionDan McGee1-1/+3
2011-01-14Simplify JS selector for todo list complete linksDan McGee1-3/+3
Signed-off-by: Dan McGee <>