Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-30 | Drastically reduce loading time of Todo lists | Evangelos 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-30 | Add Costa Rica IRC channel | Aaron Griffin | |
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> | |||
2009-12-01 | Add credential requirements tests to devel app | Ismael 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-01 | Add basic tests to public app | Ismael 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-17 | added #archlinux-gaelic channel, sorted list | Andrea Scarpino | |
2009-11-15 | Remove default debug setting in main settings | Ismael Carnales | |
Signed-off-by: Ismael Carnales <icarnales@gmail.com> | |||
2009-11-12 | added dummy cache setting to local_settings | Ismael Carnales | |
2009-11-10 | added login_required to protect todolists views | Ismael Carnales | |
2009-11-10 | added permission required to protected packages views | Ismael Carnales | |
2009-11-10 | Fix highlighting on main site tabs | Dan 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-09 | added USE_ETAGS setting from archweb_pub | Ismael Carnales | |
2009-11-09 | added chache middlewares and anonymous only cache setting | Ismael Carnales | |
2009-11-09 | updated packages template files from code of pub | Ismael Carnales | |
2009-11-09 | update packages detail template with code from pub | Ismael Carnales | |
also added user restrictions | |||
2009-11-09 | added missing packages views code from archweb_pub | Ismael Carnales | |
2009-11-09 | added missing packages views from archweb_pub | Ismael Carnales | |
2009-11-09 | updated news list template | Ismael Carnales | |
- added title - added permission checks | |||
2009-11-09 | corrected context variable names in index view | Ismael Carnales | |
2009-11-09 | added login_required to devel views | Ismael Carnales | |
2009-11-09 | use RequestContext in mirrors.views.choose | Ismael Carnales | |
2009-11-09 | fixed error in mirrors.views.choose | Ismael Carnales | |
2009-11-09 | added mirrors app from archweb_pub | Ismael Carnales | |
2009-11-09 | added sitemaps from archweb_pub | Ismael Carnales | |
2009-11-09 | added feeds from archweb_pub | Ismael Carnales | |
2009-11-09 | made every public view return a RequestContext | Ismael 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-09 | use direct_to_template to replace static views | Ismael Carnales | |
2009-11-09 | changed landing view | Ismael 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-09 | added public app | Ismael Carnales | |
2009-11-09 | updated base template to use menu from archweb_pub base template | Ismael Carnales | |
2009-11-09 | removed RequireLoginMiddleware | Ismael Carnales | |
2009-11-09 | "imported" public app files from archweb_pub | Ismael Carnales | |
2009-11-09 | fixed error in todolists list view | Ismael Carnales | |
2009-11-09 | modified import paths from archweb_dev to archweb | Ismael Carnales | |
2009-10-18 | Correct link to WebSVN | Thomas Bächler | |
2009-10-18 | Adjust SVN links to the WebSVN URL scheme | Thomas Bächler | |
2009-10-17 | Port 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-13 | reporead: don't blow up on division by zero | Dan 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-07 | Set verify_exists=False on ExternalProjects model | Aaron 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-04 | reporead: ensure we catch all testing repos in ratio check | Dan 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-26 | reporead: do all DB updates in one transaction | Dan McGee | |
Signed-off-by: Dan McGee <dan@archlinux.org> | |||
2009-09-26 | Make community-testing accessable | Dan McGee | |
Signed-off-by: Dan McGee <dan@archlinux.org> | |||
2009-09-26 | reporead: join multivalue attributes with ', ' | Dan McGee | |
Fixes FS#14270. Signed-off-by: Dan McGee <dan@archlinux.org> | |||
2009-09-25 | Update reporead and model to store pkgbase | Dan McGee | |
Signed-off-by: Dan McGee <dan@archlinux.org> | |||
2009-09-15 | Add a basic mirror view for the dev site | Dan McGee | |
Signed-off-by: Dan McGee <dan@archlinux.org> | |||
2009-09-11 | Fix community links. | Dusty Phillips | |
2009-08-20 | Add an 'external projects' model and admin for managing the projects page. | Dusty Phillips | |
2009-08-18 | Apparently you couldn't view the packages page if the user wasn't logged ↵ | Dusty Phillips | |
into the admin. | |||
2009-08-12 | Too many columns in mirror admin | Dusty Phillips | |
2009-08-12 | Merge branch 'master' of /srv/projects/git/archweb_dev | Dusty Phillips | |
2009-08-12 | Add a couple columns to user admin at Aaron's request. | Dusty Phillips | |