summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-31Fix up the packages search pagerelease_2010-01-31Dan McGee
* Don't show checkboxes for non-authenticated users * Fix up the adopt buttons to not be a table row * Fix the form which didn't have a closing tag Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Don't exclude testing packages from recently updatedDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Update beginners' guide namingDan McGee
FS#17287. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Fix todolist bug with select_related()Dan McGee
Hey, what do you know? Using a relational DB in a non-relational way can come back to bite you. Go foreign keys! Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Exclude repos ending with "Testing" from ToDosEvangelos Foutras
This should fix the issue with Community-Testing packages appearing in ToDo lists. After this change has been applied, simply edit and save a ToDo list to make its Community-Testing packages go away. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Package search: sort maintainer list by usernameDan McGee
Makes it easier to find a user since we have quite a few. FS#18055. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Make the copyright year always be rightDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Update download page to match the kernel on the current ISO imagePierre Schmitz
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Modify dev menu to also be top to bottomDan McGee
Just as commit 5faf6566 did for the main menu items, do the same for the dev menu. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Modify menu items order to be from top to bottomIsmael Carnales
The menu was rendered bottom to top in the html because the elements were floated to the right. This caused text browsers visitors (no CSS rendering) to see the menu backwards. I've modified the menu order and made the items float to the left so the menu is correctly rendered in text browsers. Signed-off-by: Ismael Carnales <icarnales@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Upgrade jQuery to 1.4.1Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Run optipng on all images/logosDan McGee
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>
2010-01-30Drastically reduce loading time of Todo listsEvangelos Foutras
Use Django's select_related() on the TodolistPkg QuerySet to avoid making 4 database queries per package. This way we're making just one query, regardless of the number of packages in the Todo list. Local testing with 1000 entries in a Todo list show that the loading time has been reduced from 2675 ms to around 560 ms, while the number of queries has been cut down from 8005, to only 5. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Add Costa Rica IRC channelAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> 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-12-01Add basic tests to public appIsmael Carnales
The addition of a models.py file in public app is needed for django to recognize it as an application for testing. Signed-off-by: Ismael Carnales <icarnales@gmail.com>
2009-11-17added #archlinux-gaelic channel, sorted listAndrea Scarpino
2009-11-15Remove default debug setting in main settingsIsmael Carnales
Signed-off-by: Ismael Carnales <icarnales@gmail.com>
2009-11-12added dummy cache setting to local_settingsIsmael Carnales
2009-11-10added login_required to protect todolists viewsIsmael Carnales
2009-11-10added permission required to protected packages viewsIsmael Carnales
2009-11-10Fix highlighting on main site tabsDan McGee
We should always highlight 'Home' when on the Django site. The sole exception is the download page which has its own special place. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-11-09added USE_ETAGS setting from archweb_pubIsmael Carnales
2009-11-09added chache middlewares and anonymous only cache settingIsmael Carnales
2009-11-09updated packages template files from code of pubIsmael Carnales
2009-11-09update packages detail template with code from pubIsmael Carnales
also added user restrictions
2009-11-09added missing packages views code from archweb_pubIsmael Carnales
2009-11-09added missing packages views from archweb_pubIsmael Carnales
2009-11-09updated news list templateIsmael Carnales
- added title - added permission checks
2009-11-09corrected context variable names in index viewIsmael Carnales
2009-11-09added login_required to devel viewsIsmael Carnales
2009-11-09use RequestContext in mirrors.views.chooseIsmael Carnales
2009-11-09fixed error in mirrors.views.chooseIsmael Carnales
2009-11-09added mirrors app from archweb_pubIsmael Carnales
2009-11-09added sitemaps from archweb_pubIsmael Carnales
2009-11-09added feeds from archweb_pubIsmael Carnales
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>