From patchwork Mon Sep 16 08:40:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Sokolovsky X-Patchwork-Id: 20319 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ye0-f198.google.com (mail-ye0-f198.google.com [209.85.213.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 987ED24694 for ; Mon, 16 Sep 2013 08:40:45 +0000 (UTC) Received: by mail-ye0-f198.google.com with SMTP id m11sf3778534yen.9 for ; Mon, 16 Sep 2013 01:40:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mime-version:to:from:subject :message-id:date:reply-to:sender:errors-to:precedence :x-original-sender:x-original-authentication-results:mailing-list :list-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=zh0F2L/M6gDStvdaeCOJSDzUQ7NMuWobDkN6sYE8jaM=; b=IP8VjF0LvQ3sYPm967JnJiI1F4pHgh/tPVm2VbD+n1QLwdHzr0n6+WCinWBAxmkXtf cVAB5fA81F5GGK+K5wMS5qzLIHRvZ1A4ZP7VZl3QIm/M0lboTddQR/TF7PLaHNT88o0L wvHDynSvQcM0gByY0FkgCof00FAHhWJN0Zx2SIfXxEFVjMw5k+RYS3SBnRYKI93V3J/M cJLYr0GNnalRf2sJOE0iIFKa15lnkalI9b0wpw/+xOf3RyCl0XNu2lP4WdHDCbDyPGT4 DLZpiFmPtNbvqfWVp1Bmsyslh1RRrCW7a3uLKPlLuJAqWL7AXBaA7AhP2K8GhSML5+9I /6iA== X-Gm-Message-State: ALoCoQllsAxPylAAHMOEZJ93Y0S/wycd55UGOzybFyvDxhVQia8BO8dIkZ5YtDE2D/Nw/ZIXQHrE X-Received: by 10.236.45.102 with SMTP id o66mr1876847yhb.47.1379320844325; Mon, 16 Sep 2013 01:40:44 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.41.5 with SMTP id b5ls2136540qel.70.gmail; Mon, 16 Sep 2013 01:40:44 -0700 (PDT) X-Received: by 10.58.168.205 with SMTP id zy13mr4639906veb.19.1379320844234; Mon, 16 Sep 2013 01:40:44 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id z6si6817715vcu.145.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Sep 2013 01:40:44 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id ij15so2650524vcb.16 for ; Mon, 16 Sep 2013 01:40:44 -0700 (PDT) X-Received: by 10.52.98.131 with SMTP id ei3mr21773715vdb.4.1379320844128; Mon, 16 Sep 2013 01:40:44 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp84571vcz; Mon, 16 Sep 2013 01:40:43 -0700 (PDT) X-Received: by 10.180.183.78 with SMTP id ek14mr11321509wic.19.1379320843032; Mon, 16 Sep 2013 01:40:43 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id wa3si10842323wjc.149.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 16 Sep 2013 01:40:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1VLUMM-0000F6-FY for ; Mon, 16 Sep 2013 08:40:42 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 66CB9EAB34 for ; Mon, 16 Sep 2013 08:40:42 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-server X-Launchpad-Branch: ~linaro-validation/lava-server/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 428 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-server/trunk] Rev 428: Use "longerusername" Django module to get >30 char username support. Message-Id: <20130916084042.24117.64059.launchpad@ackee.canonical.com> Date: Mon, 16 Sep 2013 08:40:42 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16761"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 2928a0de40a3625591517882c4dc97b56224d168 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Merge authors: Paul Sokolovsky (pfalcon) Related merge proposals: https://code.launchpad.net/~pfalcon/lava-server/longerusername/+merge/184172 proposed by: Paul Sokolovsky (pfalcon) review: Approve - Antonio Terceiro (terceiro) ------------------------------------------------------------ revno: 428 [merge] committer: Paul Sokolovsky branch nick: lava-server timestamp: Mon 2013-09-16 11:39:00 +0300 message: Use "longerusername" Django module to get >30 char username support. modified: lava_server/settings/common.py lava_server/urls.py setup.py --- lp:lava-server https://code.launchpad.net/~linaro-validation/lava-server/trunk You are subscribed to branch lp:lava-server. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription === modified file 'lava_server/settings/common.py' --- lava_server/settings/common.py 2013-08-05 17:39:08 +0000 +++ lava_server/settings/common.py 2013-09-05 18:21:58 +0000 @@ -126,6 +126,7 @@ # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', # Admin docs disabled due to: https://code.djangoproject.com/ticket/6681 + 'longerusername', 'linaro_django_xmlrpc', 'lava_markitup', # Support app for MarkItUp in LAVA 'south', === modified file 'lava_server/urls.py' --- lava_server/urls.py 2013-07-19 16:03:39 +0000 +++ lava_server/urls.py 2013-09-05 18:21:58 +0000 @@ -21,6 +21,7 @@ handler404, include, patterns, url) from django.contrib import admin from staticfiles.urls import staticfiles_urlpatterns +from longerusername.forms import AuthenticationForm from linaro_django_xmlrpc import urls as api_urls from lava_server.extension import loader @@ -46,8 +47,12 @@ url(r'^{mount_point}version/$'.format(mount_point=settings.MOUNT_POINT), version, name='lava.version_details'), - url(r'^{mount_point}accounts/'.format(mount_point=settings.MOUNT_POINT), - include('django.contrib.auth.urls')), + + url(r'^{mount_point}accounts/login/$'.format(mount_point=settings.MOUNT_POINT), + 'django.contrib.auth.views.login', {'authentication_form': AuthenticationForm}), + url(r'^{mount_point}accounts/logout/$'.format(mount_point=settings.MOUNT_POINT), + 'django.contrib.auth.views.logout'), + url(r'^{mount_point}admin/'.format(mount_point=settings.MOUNT_POINT), include(admin.site.urls)), url(r'^{mount_point}openid/'.format(mount_point=settings.MOUNT_POINT), === modified file 'setup.py' --- setup.py 2013-07-25 23:02:35 +0000 +++ setup.py 2013-09-05 18:21:58 +0000 @@ -73,6 +73,7 @@ 'south >= 0.7.3', 'versiontools >= 1.8', 'markdown >= 2.0.3', + 'longerusername', # optional dependency; for authentication with Attlassian Crowd SSO # 'django-crowd-rest-backend >= 0.3,