Commit graph

244 commits

Author SHA1 Message Date
Morris Jobke
5d052ee1b9 Merge pull request #2113 from canepan/patch-1
Correct problem in constructor
2016-03-04 22:48:48 +01:00
Lukas Reschke
14b9339b44 Add minimum and maximum required versions 2016-02-05 16:03:31 +01:00
canepan
3e28fe3a67 Correct problem
Leaving "$webDavAuthUrl" in constructor, leads to a non-working class
2015-10-20 18:31:08 +02:00
Thomas Müller
d47ab68257 Merge pull request #2000 from stonerl/master
Make sharing easier
2015-10-09 13:25:15 +02:00
Thomas Müller
48510fcd07 Merge pull request #2062 from owncloud/smb-user-samba4
fix smb command for smb user backend
2015-10-07 15:27:45 +02:00
Thomas Müller
91417ffddf Move WebDAVAuth to User_External 2015-09-21 17:23:47 +02:00
Robin Appelman
cf8ddabaab fix smb command for smb user backend 2015-05-12 14:33:15 +02:00
Felix Bartels
7cd539aa73 don't go to $retval != 0 in case of NT_STATUS_BAD_NETWORK_NAME
NT_STATUS_BAD_NETWORK_NAME is only a minor error which should not prevent login
2015-05-10 11:40:46 +02:00
Jan-Christoph Borchardt
9cc84f3588 add icon for user_external 2015-02-27 15:09:07 +01:00
Toni Förster
1580d26488 Make sharing easier
Now Users have just to enter a part of the name. e.g. 'do' for 'John Doe'.
see also: owncloud/core#11256
2015-01-21 01:46:52 +01:00
Robin Appelman
fa3a3500f5 Merge pull request #1898 from stonerl/master
fix for #1693
2015-01-20 13:14:25 +01:00
Joas Schilling
de7c694823 Make all tests extend the new \Test\TestCase 2014-11-17 11:57:34 +01:00
Toni Förster
cf797fb97e Limit the number of maximum connect attempts to 1
http://php.net/manual/en/function.imap-open.php
2014-08-26 17:08:46 +02:00
Toni Förster
cd5fa9860d fix for #1693 2014-08-23 00:01:30 +02:00
Georg Ehrke
8dabb9c8de add ocsid 2014-07-07 17:52:45 +02:00
Volkan Gezer
45e0d8946c replace require tag with requiremin 2014-05-29 00:07:06 +02:00
Glandos
dc70d06144 Small performance improvement on imap_open
Use the OP_HALFOPEN flag to reduce server load. We don't need to open a mailbox, so just don't try
I've also make the check clearer for the opened connection (I know, 2 PR in one, it's bad…)
2014-03-26 15:34:15 +01:00
Thomas Müller
f8bc0ccaf6 Merge pull request #1662 from iroli1/master
Fix mangling of username/password containing % char
2014-02-26 07:02:27 +01:00
Christian Weiske
d5f3984a7d use executeAudited instead of prepare+execute 2014-02-11 21:05:38 +01:00
Christian Weiske
f86938dad1 Fix typos, owncloud -> ownCloud 2014-02-11 21:05:38 +01:00
Christian Weiske
fa6b4c1144 Fix coding style according to owncloud/build/phpcs.xml 2014-02-11 21:05:37 +01:00
Christian Weiske
7bfe3c269c add missing backticks to database fields 2014-02-11 21:05:37 +01:00
Christian Weiske
dad804964d fix notnull settings 2014-02-11 21:05:37 +01:00
Christian Weiske
e9cc97a9b2 remove superfluous class path definition 2014-02-11 21:05:37 +01:00
Christian Weiske
350afe2d27 Fix code according to blizzz' notes 2014-02-11 21:05:37 +01:00
Christian Weiske
690a579a26 Implement request #301: Create users when using external auth login
After a successful login with imap, smb or ftp, the corresponding
user is created in an own database table.
This is needed to make e.g. sharing files with this users work.

The table may be used by several different external user authentication
services.

See the discussion in https://github.com/owncloud/apps/pull/1579
for details on the implementation design.
2014-02-11 21:05:37 +01:00
Roland Lezuo
732310b470 Fix mangling of username/password containing % char 2014-02-11 20:54:14 +01:00
Thomas Müller
2ae107beb7 Merge pull request #1614 from cweiske/external-check
user_external: Check if extensions are enabled before using them
2014-01-29 02:05:22 -08:00
Christian Weiske
00d688fb45 add ftp and smb to readme, list dependencies 2014-01-18 11:32:53 +01:00
Christian Weiske
cd05354aaf user_external: Check if extensions are enabled before using them
This patch checks if the relevant functionality is actually available
before using it for authentication:

1. check if function imap_open() exists before using it
2. check if smbclient executable exists during smb auth
3. check if ftp/ftps stream wrappers are registered before
   using them for auth

This fixes a crash (white page) that happens when using IMAP authentication
and the IMAP extension is not installed.
2014-01-17 21:31:39 +01:00
Christian Weiske
99b8dad9d1 add readme for imap 2013-12-27 18:44:20 +01:00
Victor Dubiniuk
4622418df3 Load user_external before login 2013-07-10 19:24:49 +03:00
Kondou
853da3796c Remove apps/ infront of includes.
Basically just a common-sense/human-powered s/apps\///g

Should make multiapp-dir configs a bit easier.
2013-03-30 05:25:21 +01:00
Robin Appelman
82d644a995 Set required owncloud version to 4.93 2013-02-24 17:39:59 +01:00
Robin Appelman
549601dca0 change required ownCloud version to 4.91 2013-01-28 19:46:08 +01:00
Thomas Mueller
1f12e10d33 drop SimpleTest compatibility 2013-01-24 16:50:51 +01:00
Bart Visscher
ee1ccb561b Add loadApp to test cases 2012-10-26 16:33:26 +02:00
Bart Visscher
7c45f55f15 Whitespace cleanup 2012-10-14 21:15:47 +02:00
Frank Karlitschek
279270d407 bump the required field of all the shipped apps to 4.9 which is the internal verson number of ownCloud 4.5 2012-10-02 12:21:25 +02:00
Thomas Mueller
ccc1960de7 adding space between) and { 2012-09-07 15:21:03 +02:00
Bart Visscher
918081f707 Remove empty lines at end of file 2012-09-07 14:25:28 +02:00
Robin Appelman
290cfadc9d ftp user backend 2012-07-19 23:03:02 +02:00
Robin Appelman
8500f30dfb smb user backend 2012-07-19 22:42:26 +02:00
Robin Appelman
dc4d907a3f imap user backend 2012-07-19 22:42:18 +02:00