Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/creds
AgeCommit message (Collapse)Author
2014-12-04Fix typo.Christian Kamm
2014-11-27Shibboleth: Fix our implemtnation of CookieJar::deleteCookieOlivier Goffart
It was deleting too many cookies. That function is virtual in Qt5 and is used when adding cookie. But some Shibboleth have several cookies with the same name, and we need to keep them. Our implementaiton was meant to delete all the shiboleth cookies when we want to log out
2014-10-27correct spelling on user is empty error.Brandon Coleman
2014-10-11credentials: Allow to trust ssl certs in subclasses of HTTPCredentials.Klaas Freitag
This allows to handle the --trust option in owncloudcmd. In the owncloudcmd subclass of the httpcredentials, we allow to manually trust the ssl certificate through a command line switch.
2014-09-17Allow passing user/pass explicitly or via netrcDaniel Molkentin
#2211
2014-08-30Merge missing commits from 1.6.2-themefix into 1.7Olivier Goffart
Conflicts: VERSION.cmake
2014-08-12Always handle 401 requests, except for network jobsDaniel Molkentin
It is not enough to only implement it for the QNAM returned by the ShibbolethCredentials, because we sometimes need it when we have no valid credentials set (and are using dummy credentials in the course). The main use case is the Webview opened by Shibboleth for FBA. But as a side-effect, we can use it to handle auth requests from the updater and other places.
2014-08-07Merge branch 'il'Olivier Goffart
Conflicts: doc/ocdoc
2014-07-28shibboleth: Fix connection when the URL do not have a pathOlivier Goffart
When the url do not have a path (for example: "http://example.com" as opposed to "http://example.com/"), its path is not a prefix of the root path of the cookie (usually '/') By adding the dav path, we make sure the URL has a path. This made a bug when the owncloud url was just a domain name and did not have a path
2014-07-25Merge remote-tracking branch 'origin/1.6' into ilMarkus Goetz
Conflicts: VERSION.cmake
2014-07-23HTTPCreds: Do delete the WritePasswordJob to not leak memory.Klaas Freitag
2014-07-16Merge branch 'il'Olivier Goffart
Conflicts: src/mirall/folder.cpp src/mirall/propagator_qnam.cpp
2014-07-16Merge branch '1.6' into ilOlivier Goffart
Conflicts: VERSION.cmake src/mirall/syncengine.cpp src/mirall/syncengine.h
2014-07-10Add Q_DECL_OVERRIDE for all function that are overriding somethingOlivier Goffart
This was made automatically with clang-modernize -override-macros -add-override
2014-07-07shibboleth: Fix the waiting curser that would not disapearOlivier Goffart
Fix #1915
2014-07-04HTTP Creds: In case of Keychain error, open the interact password dialogKlaas Freitag
But in case the user clicks cancel in the interactive dialog, invalidate the credentials. Emit fechted() also in error case.
2014-07-04HTTP Credentials: Read the password from the old location if not found.Klaas Freitag
Earlier clients used QtKeychain without a QSettings object, which made QtKeychain to write the password encrypted into a settings default location, ie. the registry under windows. If we can not find a password at the new location it is tried to read the password from the old default location once. That makes people happy in migration scenarios.
2014-07-01Merge remote-tracking branch 'origin/il'Olivier Goffart
2014-06-27Merge remote-tracking branch 'origin/1.6'Daniel Molkentin
Conflicts: VERSION.cmake doc/building.rst
2014-06-25httpcredentials: Remove useless mutexOlivier Goffart
The mutex is not shared with any thread, so it is totaly useless. Yes: there are possible races here. (with the account, but also with the user and password)
2014-06-24Shibboleth: keep the cookie from the wizard to the ShibolethCredentialsOlivier Goffart
Otherwise the user is asked twice for autentication on first sync. Fixes https://github.com/owncloud/enterprise/issues/193
2014-06-23Merge remote-tracking branch 'origin/1.6' into ilOlivier Goffart
Conflicts: VERSION.cmake csync/src/csync_statedb.c src/mirall/syncengine.cpp src/mirall/syncfileitem.h
2014-06-20Shibboleth: Always ask for the password if we are going to open the log windowOlivier Goffart
If we don't have the cookie in the keychain (e.g. the keychain is unavailable) but there is still session cookie in the cookie jar, showing the browser won't ask for authentication.
2014-06-19TokenCredentials: Fix cookie behaviourMarkus Goetz
parseCookies did not work as expected. Now we just hard-set the token credentials into the Cookie header for QNAM jobs. This is the same behaviour as for neon jobs. (cherry picked from commit 855a8c0a335f76b82b8e647a8c5a4ae692065d3b)
2014-06-17Fix regression over 1.5: Fix non-fba auth for Shib IdPsDaniel Molkentin
2014-06-16Merge remote-tracking branch 'origin/1.6' into 'il'Olivier Goffart
2014-06-14Shib: remove slotLoadFinished() from webview dtorDaniel Molkentin
This is a relict from when the webview was reused. It is now pointless, since it's now destruct-on-close.
2014-06-14Shib: Ensure browser view gets closed before QNAMDaniel Molkentin
Otherwise, QWebPage tries to delete its QNetworkReplies, which have already been deleted by the QNAM destruction, who is their parent. Fixes #1840
2014-06-03CSync & Propagator: Support a direct download URLMarkus Goetz
This is for server file backends that support sending a direct URL.
2014-06-02[Shib] Ensure only one fetch job can open the browserDaniel Molkentin
2014-05-28Shib: Show a notification whenever the shib session times outDaniel Molkentin
This is designed as a passive popup notification so that it will not surprise or annoy the users. Fixes Enterprise issue #179
2014-05-28Only remove session cookiesOlivier Goffart
This should disconnect without loosing long lived cookie
2014-05-28Clear all cookies when loging outOlivier Goffart
2014-05-28Fix the sib window re-appearing.Olivier Goffart
When the windows is accepted, do not emit fetched which means the process is finished one must first check the username is valid
2014-05-28ShibCredentials: Ensure that _stillValid is not reset while the browser ↵Daniel Molkentin
window is open This will cause the browser window to open again after it has been told to close if a network job has run in the background while the browser window was visible. Fixes #1814
2014-05-15Decrease debug noiseDaniel Molkentin
2014-05-15Fix crash: if the credentials cannot be cast, don't deref, assume changeDaniel Molkentin
2014-05-15Fix wizard flow with shibbolethDaniel Molkentin
2014-05-14Add missing header to fix Qt5 compilationDaniel Molkentin
2014-05-14CookieJar refactoring required to overcome issues in Shibboleth supportDaniel Molkentin
The shibboleth implementation no longer maintains its own QNAM. Instead, MirallAccessManager now holds a custom QNAM implementation which saves cookies to a file on disk. This patch also reduces some complexity wrt the browser window, which used to be deleted via a roundtrip to its callee, which is not longer required. Fixes #1764 and Enterprise bug #165 Going forward, AbstractCredentials::getQNAM() could maybe removed entirely.
2014-05-13Use a different key than "user" to store the shib userOlivier Goffart
There is a HACK from commit fa0a2764a40d5955f1d3426481f998a370223290 Which save the http user as a user for all credidentials, but that cannot work with shibboleth Fixes https://github.com/owncloud/enterprise/issues/175
2014-04-29Add missing includeOlivier Goffart
This was required so the compiler sees the declaration of CredentialsFactory::create which should be exported
2014-04-29fix forward declaration of CredentialsFactory::createOlivier Goffart
2014-04-29Add export macro to all classes that need to be exportedOlivier Goffart
2014-04-25Add EXPORT macro to owncloudsync libraryOlivier Goffart
Not all the class are exported currently, only the one that seems to be used by the command line tools
2014-04-22An abort on the reply is not usually a password error.Olivier Goffart
Copy the code from HTTPCredidentials
2014-04-21WiP: Attempt to compile without UIMarkus Goetz
2014-04-14AbstractNetworkJob Allow finished() to defer Job deletionDaniel Molkentin
This allows to reuse the Job
2014-04-07Include correct QtKeychain headersDaniel Molkentin
..depending on Qt version
2014-03-27Fix Qt4 compilationOlivier Goffart
And a typo