summaryrefslogtreecommitdiff
path: root/devel/views.py
AgeCommit message (Collapse)Author
2010-06-22Add 'never_cache' decorator in a bunch of placesDan McGee
Now that we cache everything, we need to ensure anyone doing edits and such gets the live data and not some cached version that was already updated and is now stale. Add the never_cache decorator to any of the CUD screens as well as a few others that might benefit from always being regenerated. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-08Use Sites framework instead of hardcoded domain nameDan McGee
Instead of putting 'www.archlinux.org' all over the place, use the Django sites framework to pull the site name out of the database. Now these amazing things will work if you are running locally and decide to change the site! Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-24Change link to new dev site locationDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-04Ensure changing profile email doesn't reset passwordDan McGee
We weren't checking to see if the password form fields were empty before setting the user password, causing it to get reset if anything was filled out and submitted on this page. FS#19345. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27Simplify code now that pkgbase is always definedrelease_2010-03-28Dan McGee
This allows some of our queries to get a lot simpler as well as removing the pkgbase_safe property added earlier. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27Move package maintainer off of package modelDan McGee
This is an attempt to fix our long-standing problems dealing with maintainer information. Move the actual maintainer information off of the package model into a PackageRelation object, which has some flexibility to later represent more than just maintainership. This solves multiple problems: * If a package gets accidentally deleted, so did the maintainer info * Testing packages have always shown up as orphans * With split packages, it was easy to miss some of the sub-packages This commit does not include the deletion of the original maintainer column; that will come at a later time when I feel more confident that the data was migrated correctly. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-10Remove archweb prefix from all importsDan McGee
Unnecessary, and lets us standardize on not using it everywhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Make marking out of date actually workDan McGee
And honor the packager's notify flag, as Pierre pointed out. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Adjust models and views for nullable maintainerEvangelos Foutras
Signed-off-by: Evangelos Foutras <foutrelis@gmail.com> [Dan: made a few other small touchups] Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Use select_related() for some mirror pagesDan McGee
We also traverse relationships here, so select the associated items. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-12-01Add credential requirements tests to devel appIsmael Carnales
* Add models.py required file to app * Use user_passes_test instead of custom superuser checking in new_user_form as it implements the same "next" redirection as login_required Signed-off-by: Ismael Carnales <icarnales@gmail.com>
2009-11-09added login_required to devel viewsIsmael Carnales
2009-11-09changed landing viewIsmael Carnales
- moved devel.views.siteindex to public.views.index - using template from public view with added devel menu - added extra styles and images
2009-11-09modified import paths from archweb_dev to archwebIsmael Carnales
2009-09-15Add a basic mirror view for the dev siteDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-12merge fixDusty Phillips
2009-08-11So now the created user passwords should work and Aaron will be less pissed ↵Dusty Phillips
off at me.
2009-08-10Sometimes its better if you test your code before deploying. Other times, ↵Dusty Phillips
you just fix the missing imports in a second commit.
2009-08-10Add a page to aid Aaron in user creation.Dusty Phillips
2009-01-30Put maintainer list by last name.Dusty Phillips
2008-11-15alphabetical order on maintainers and packagesDusty Phillips
2008-11-09don't show inactive users in dev listDusty Phillips
2008-10-11simplify both look and code for dashboardDusty Phillips
2008-10-10use RequestContext because its standardDusty Phillips
2008-10-10drop useless viewDusty Phillips
2008-10-10fix broken maintainer packages linksDusty Phillips
2008-10-07make form submit some but not all valuesDusty Phillips
2008-10-07fairly invasive refactor to developer dashboard to be more django friendlyDusty Phillips
2008-10-07indicate that index is the dev dashboardDusty Phillips
2008-10-07fix bug introduced by previous code removalDusty Phillips
2008-10-07Dusty's 80 char issueDusty Phillips
2008-10-07remove senseless codeDusty Phillips
2008-10-07drop a bunch of static stuff necessary only in archweb_pubDusty Phillips
2008-10-07remove reference to old cvs entryDusty Phillips
2008-10-05drop a bunch of unusued importsDusty Phillips
2008-09-16port profile_form to newformsDusty Phillips
2008-06-21Remove guide from dashboard and link to wikiFix for FS#10647Dusty Phillips
2008-06-04Added an ex-developer 'fellows' page.eliott
2008-04-09Removed login_required from the individual views.eliott
Not entire dev site requires login.
2008-04-09Changed to arches and repos in the db.eliott
Added them to the django admin interface as well.
2008-04-05Fix for FS#9554eliott
Backported and modified from 'master'
2008-03-22Added the ability to see flagged packages only, per use or repoeliott
2008-03-22Refactored the model to remove arch and repo tables.eliott
Refactored the model to remove the arch and repo tables. Those data points are now encapsulated in the package table as an ENUM field. Changes to models and templates as needed.
2008-03-08More changes to the multiarch model.eliott
2008-03-08renamed donator model to donor.eliott
remove category model
2008-03-08Moved models aroundeliott
2008-01-10updated developers page. inactive devs are not shownroot
2008-01-05Removed DATA_DIR setting vareliott
2008-01-03Fixed a bug with pkgmaint pageeliott
2007-12-30Removed unnecessary pages from the dev backend.eliott