Projects
Kolab:16:Testing
iRony
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
buildtarball.sh
Added
@@ -0,0 +1,22 @@ +#!/bin/bash + +set -e + +VERSION=0.4.8 +GIT_REF=master +NAME=iRony-$VERSION + +ROOT_DIR=$(pwd) + +rm -Rf /tmp/$NAME +mkdir /tmp/$NAME +cd /tmp/$NAME + +rm -f $NAME.tar.gz + -d "$NAME" && rm -rf "$NAME" +git clone --branch master ssh://git@git.kolab.org/diffusion/rI/iRony.git $NAME +pushd $NAME +git reset --hard $GIT_REF +git archive --prefix=$NAME/ -o "$ROOT_DIR/$NAME.tar.gz" HEAD + +cd "$PWD"
View file
iRony-0.4.8.tar.gz/lib/Kolab/DAV/Auth/HTTPBasic.php
Changed
@@ -28,6 +28,8 @@ use \rcube_user; use \rcube_utils; use Sabre\DAV; +use Sabre\HTTP\RequestInterface; +use Sabre\HTTP\ResponseInterface; /** * @@ -128,6 +130,28 @@ } /** + * When this method is called, the backend must check if authentication was + * successful. + * + * The returned value must be one of the following + * + * true, "principals/username" + * false, "reason for failure" + * + * @return array + */ + public function check(RequestInterface $request, ResponseInterface $response) + { + $result = parent::check($request, $response); + + if ($result0) { + $result1 = $this->principalPrefix . $this->getCurrentUser(); + } + + return $result; + } + + /** * Storage host selection */ protected function _select_host($username)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.