summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-09made every public view return a RequestContextIsmael Carnales
RequestContexts are needed to check if the user is logged in NOTE: Generic views as direct_to_template and object_list always return a request context, so is good to use them :) Later will add a render_template shortcut that adds the RequestContext automatically
2009-11-09use direct_to_template to replace static 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-09added public appIsmael Carnales
2009-11-09updated base template to use menu from archweb_pub base templateIsmael Carnales
2009-11-09removed RequireLoginMiddlewareIsmael Carnales
2009-11-09"imported" public app files from archweb_pubIsmael Carnales
2009-11-09fixed error in todolists list viewIsmael Carnales
2009-11-09modified import paths from archweb_dev to archwebIsmael Carnales
2009-10-18Correct link to WebSVNThomas Bächler
2009-10-18Adjust SVN links to the WebSVN URL schemeThomas Bächler
2009-10-17Port archweb_pub commit 1f96c7a1182ef75279c18986b708e683f89dd690 to ↵Thomas Bächler
archweb_dev. This is the original commit message by Dan: "Make package SVN links always work This should clean up the links for all varieties of things- different arches (including any), different repos (community and community-testing), and split packages. All of the logic is in one place now and any further changes should be made to the method on the package object."
2009-10-13reporead: don't blow up on division by zeroDan McGee
We didn't sanity check the length of the DB set, so if it was zero we would blow up. Add a sanity check and also limit the whole thing to only apply if there are > 20 packages in a given {repo, arch} combo. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-10-07Set verify_exists=False on ExternalProjects modelAaron Griffin
This causes issues when entering some URLs. See http://code.djangoproject.com/ticket/9918 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-04reporead: ensure we catch all testing repos in ratio checkDan McGee
With community testing, we want to ignore the ratio check failure there as well. Clean up the whole check a bit and store the percentage in a variable as it is useful in both checks and for output purposes. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-26reporead: do all DB updates in one transactionDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-26Make community-testing accessableDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-26reporead: join multivalue attributes with ', 'Dan McGee
Fixes FS#14270. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-25Update reporead and model to store pkgbaseDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-15Add a basic mirror view for the dev siteDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-11Fix community links.Dusty Phillips
2009-08-20Add an 'external projects' model and admin for managing the projects page.Dusty Phillips
2009-08-18Apparently you couldn't view the packages page if the user wasn't logged ↵Dusty Phillips
into the admin.
2009-08-12Too many columns in mirror adminDusty Phillips
2009-08-12Merge branch 'master' of /srv/projects/git/archweb_devDusty Phillips
2009-08-12Add a couple columns to user admin at Aaron's request.Dusty Phillips
2009-08-12Add a couple fields to mirror admin at Aaron's requestDusty Phillips
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-10Merge branch 'master' of ssh://archlinux.org/srv/projects/git/archweb_devDusty Phillips
2009-08-10Dan's patch applied.Dusty Phillips
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-08-04Whoops! Got to clear that dep list firstDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-04Change deprecated admin site urls for 1.1.Dusty Phillips
2009-08-04Fix Dan's package population patch. Now it is tested.Dusty Phillips
2009-08-04reporead: unify add and update package codeDan McGee
We had a bit of a disparity between the add and update sections in reporead, causing issues like FS#12400 to only manifest themselves on updated packages rather than brand new ones. Unify the code into a function that does the updating so this doesn't happen again. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Dusty Phillips <buchuki@gmail.com>
2009-07-24Allow setting allowed repos to empty.Dusty Phillips
2009-07-24Repo-based permissions when adopting packages.Dusty Phillips
2009-07-13Fixes #12273. Patch supplied by Henning Garus.Dusty Phillips
2009-05-24Mark news as safe so people can enter HTML.Dusty Phillips
2009-05-04No More DohDusty Phillips
2009-05-04DOHDusty Phillips
2009-05-04Fix link to packages in todo lists.Dusty Phillips
2009-05-04Fix a bug when someone accesses the update page without POSTINg adopt or ↵Dusty Phillips
disown. Probably occurred by a press of the back button.
2009-04-13FS#11325. Add a 'Target Repo' column to the signoffs page.Dusty Phillips
2009-04-13Aaron says maintainer column isn't necessary (FS#11325)Dusty Phillips
2009-04-06reporead: dramatically reduce number of queriesDan McGee
Commit 789b5445cf originally set out to fix this problem but was not complete. When doing an update of [extra], the code still did > 2000 database queries because of an ill-placed call to QuerySet.get(). By using a dictionary lookup, we reduce the number of database queries to a measly 4 when updating extra and no new packages are present. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-04-02Make donor name uniqueDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-02-08Store IP address as a char fieldDan McGee
Otherwise the netmask portion can get cut off because of the way Django by default limits IP Address fields to 15 characters. Oops. Signed-off-by: Dan McGee <dan@archlinux.org>