Malte Langermann
71994c6148
fix long imap login delay on mailboxes with many folders
...
Signed-off-by: Malte Langermann <malte@langermann.net>
2020-05-16 09:07:14 +02:00
Jonas Sulzer
b5799d90b8
🐛 FIX: starttls support for IMAP over curl
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2020-04-09 21:59:52 +02:00
Tim Wichmann
8d48ce91a7
Replace imap_rcube library with curl call
...
This commit removes the imap_rcube library with a curl call to the imap endpoint.
Since curl is a dependency of nextcloud this should not cause any issues.
This closes #116
Signed-off-by: Tim Wichmann <tim@wichmann.online>
2020-02-11 16:23:06 +01:00
Mischa Siekmann
1883b0c083
Corrected indentation and changed to a more specific error message.
...
Signed-off-by: Mischa Siekmann <github@gnumpi.com>
2019-08-23 13:17:44 +02:00
Mischa Siekmann
c0abb76adf
added logging of errrors for imap login
...
Signed-off-by: Mischa Siekmann <github@gnumpi.com>
2019-08-21 01:05:38 +02:00
violoncello.ch
e03df48300
Merge pull request #90 from nextcloud/fix/88
...
🐛 FIX: variable groups not set in all cases
2019-06-27 12:31:52 +02:00
Scott Shambarger
352dcb74a9
Fix Issue #56 : Undefined Indices in Logs
...
Add ssl_mode and force_caps to connection params, and correctly handle
AUTHENTICATE PLAIN in putLineC to reduce warnings in logs.
Signed-off-by: Scott Shambarger <devel@shambarger.net>
2019-06-27 11:41:10 +02:00
Jonas Sulzer
1008d41f42
🐛 FIX: variable groups not set in some cases
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-06-27 11:40:26 +02:00
Jonas Sulzer
8c38759958
👌 IMPROVE: make it possible to add the user to an array of groups (for later extendability e.g. #69 )
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
Signed-off-by: none <vlad@teksperts.nyc>
2019-06-02 13:49:49 -04:00
Jonas Sulzer
47ee3d61f4
🐛 FIX: creation of groups
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
Signed-off-by: none <vlad@teksperts.nyc>
2019-06-02 13:49:49 -04:00
Jonas Sulzer
aeb4476752
👌 IMPROVE: move group creation to imap class && check for two additional parameters wheter to stripe domain and create group based on domain or not
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
Signed-off-by: none <vlad@teksperts.nyc>
2019-06-02 13:49:49 -04:00
Jonas Sulzer
dd1d9a7e8b
👌 IMPROVE: update authors
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
Signed-off-by: none <vlad@teksperts.nyc>
2019-06-02 13:49:49 -04:00
Sebastian
76189b6e3e
Cleanly close imap connection
...
Signed-off-by: Sebastian <bash2@momou.ch>
2019-05-09 17:18:41 +02:00
Jonas Sulzer
8685369c65
👌 IMPROVE: correctly pass all parameters
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-03-13 18:46:46 +01:00
Jonas Sulzer
1cc24d39b1
📦 NEW: rcube library as replacement to php-imap/imap_open()
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-03-13 17:27:14 +01:00
Anojh Thayaparan
61e0a28204
fix closing brace
...
Signed-off-by: Anojh Thayaparan <anojh@hotmail.com>
2019-01-30 12:46:04 -08:00
Anojh Thayaparan
58dd7465b9
check for errors before printing
...
Signed-off-by: Anojh Thayaparan <anojh@hotmail.com>
2019-01-30 08:10:28 -08:00
Anojh Thayaparan
ba19fc9515
change imap_alerts to warning
...
Signed-off-by: Anojh Thayaparan <anojh@hotmail.com>
2019-01-28 10:30:04 -08:00
Anojh Thayaparan
d83a883a1c
Implements error handling #11
...
Prints IMAP errors and alerts to the nextcloud log.
Signed-off-by: Anojh Thayaparan <anojh@hotmail.com>
2019-01-28 10:28:51 -08:00
Joas Schilling
8c5e80b21d
Login via Email Address is handled by the LoginController
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-11 17:06:16 +01:00
Joas Schilling
b3565eda6c
Use the querybuilder instead
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-11 14:50:01 +01:00
Jonas Sulzer
cfd23bc01e
use \OC::$server->getDatabaseConnection()->executeQuery() with fetch() where possible
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-01-10 23:22:24 +01:00
Jonas Sulzer
db5ab31ee4
change deprecated logging method
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-01-04 23:55:11 +01:00
Jonas Sulzer
a67e3e08e0
changing discouraged operators
...
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-01-04 23:55:02 +01:00
umgfoin
034a6ef057
Fix inappropriate SQL-quoting in imap.php
...
External user-authentification against IMAP-gateways:
Commit f8fb4d9 broke compatibility with PostgreSQL due to inappropriate SQL-quoting.
2018-01-29 15:02:27 +01:00
Pierre Ozoux
40b92ae6fe
Properly merge master
2017-12-08 15:39:06 +01:00
Pierre Ozoux
59b8bb34aa
Fix identation
2017-12-08 15:38:11 +01:00
Pierre Ozoux
3fffb53a12
Merge branch 'master' into imap-email
2017-12-08 15:36:51 +01:00
Marvin
90a3107edd
handle escaped @ symbol fixes Apple AddressBook problems
...
Signed-off-by: Marvin Winkler <marvambass@gmail.com>
2017-11-22 10:43:28 +01:00
pierreozoux
2df5521c49
Add possibility to login with email on imap
2017-11-09 12:49:26 +01:00
KoS
a7e276fa7a
IMAP login can be restricted to a specific domain name.
2016-10-23 19:25:44 +02: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
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
Christian Weiske
fa6b4c1144
Fix coding style according to owncloud/build/phpcs.xml
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
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
Bart Visscher
7c45f55f15
Whitespace cleanup
2012-10-14 21:15:47 +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
dc4d907a3f
imap user backend
2012-07-19 22:42:18 +02:00