Shin Kojima
0b385dc946
Skip iconv for problematic ISO-2022-JP strings ( #5668 )
...
We sometimes get broken character encodings such as:
Subject: =?iso-2022-jp?B?GyRCLWo7M3l1OSk2SBsoQgo=?=
This actually is not a strict ISO-2022-JP string, but a CP50220 string
that is a variant of ISO-2022-JP with extended characters proposed by
Microsoft. Iconv can not handle these encodings well.
8 years ago
Aleksander Machniak
adbab9d3e2
Merge branch 'master' into dev-elastic
8 years ago
Aleksander Machniak
e2d80479d6
Make possible to set (some) config options from a skin
8 years ago
Joe Bordes
3c1d951d84
feat(Hook) full message object on message_sent event
8 years ago
Aleksander Machniak
81f67a4de2
Don't use each() deprecated in PHP 7.2
8 years ago
Aleksander Machniak
dfd19206a4
sizeof() -> count()
8 years ago
Aleksander Machniak
8131629c6e
Extended unified searchform object for templates engine
8 years ago
Aleksander Machniak
e08f22ef28
Fix bug where external content in src attribute of input/video tags was not secured ( #5583 )
8 years ago
Aleksander Machniak
7340360e79
Fix bug where image data URIs in css style were treated as evil/remote in mail preview ( #5580 )
8 years ago
Thomas Bruederli
f78e2a4367
Add 1.3-beta milestone + update copyright year
8 years ago
Jens Carl
de82576134
Add mime type detection under FreeBSD and Apache 2.4 ( #5560 )
8 years ago
Aleksander Machniak
4f5ec65a36
Close SMTP connection ASAP after the message has been sent
...
We should not keep the connection open until the script shuts down.
It may take long time e.g. to save the message in IMAP.
8 years ago
Aleksander Machniak
a99e479cb4
Fix variable substitution in ldap host for some use-cases, e.g. new_user_identity ( #5544 )
8 years ago
Aleksander Machniak
32b68959b2
Merge branch 'master' of github.com:roundcube/roundcubemail
8 years ago
Aleksander Machniak
a1f679adca
Fixed redundancy in sql caching system and compatibility with Galera Cluster ( #5439 )
...
- Removed redundant 'created' column from cache and cache_shared tables
- Removed use of redundant data records
- Added missing primary keys (dictionary, cache, cache_shared tables)
8 years ago
Aleksander Machniak
940a27400e
Use GSSAPI only if configured ( #5530 )
8 years ago
Aleksander Machniak
5cca1988b6
Fix write_log() return value when using syslog() and it fails
8 years ago
Aleksander Machniak
a844db6a27
Merge branch 'dev-layouts'
8 years ago
Aleksander Machniak
8a76bf3783
Make sure $prefs property is an array ( #5523 )
8 years ago
Aleksander Machniak
e306328340
Fix storing "empty" values in rcube_cache/rcube_cache_shared ( #5519 )
8 years ago
Aleksander Machniak
7e90de4ef5
write_record() should return boolean value
8 years ago
Aleksander Machniak
68221ed4ae
Improve uppercase/lowercase/ucfirst attrib handling in rcube::gettext()
...
- Make ucfirst mode compatible with UTF-8
- Fix bug which made uppercase=FIRST non-working
- Replace \n with real line-break before converting char case
8 years ago
Aleksander Machniak
6e0effa54c
Fix "Illegal string offset" warning in rcube::log_bug() on PHP 7.1 ( #5508 )
8 years ago
Aleksander Machniak
e17e8851f1
CS improvements, _xor() method replaced with an anonymous function
8 years ago
Aleksander Machniak
556c1725a7
Unify automatic marking as \Seen in preview pane, full-page and extwin views ( #5071 )
...
We now have one 'mail_read_time' option that works for all cases.
Option 'preview_pane_mark_read' has been removed and marked as an alias.
8 years ago
Aleksander Machniak
f43f5bf93f
Use JSON_PRETTY_PRINT in devel_mode
...
This effectively makes PHP 5.4 a real requirement
8 years ago
Aleksander Machniak
4e0532808d
Fix bug where it wasn't possible to store more that 2MB objects in memcache/apc ( #5452 )
...
Added memcache_max_allowed_packet and apc_max_allowed_packet settings
8 years ago
Aleksander Machniak
cf9f0d8829
Fix bug where IMAP password could be exposed via error message ( #5472 )
8 years ago
Aleksander Machniak
b8f9ba7d47
Fix bug where deleting folders with subfolders could fail in some cases ( #5466 )
8 years ago
Aleksander Machniak
b258b91560
Do not show inline images of unsupported mimetype ( #5463 )
8 years ago
Aleksander Machniak
8a51607671
Fix regression where creation of default folders wasn't functioning without prefix ( #5460 )
8 years ago
Aleksander Machniak
9e129383a1
Improve randomness of password salts and random hashes ( #5266 )
8 years ago
Aleksander Machniak
195dc11855
Support host-specific imap_conn_options/smtp_conn_options/managesieve_conn_options ( #5136 )
8 years ago
Aleksander Machniak
8c75dd3aa8
Add convenient method to create new session records
8 years ago
Aleksander Machniak
42ddfe5ec9
Simplify mbstring code path in rcube_charset::convert()
8 years ago
Aleksander Machniak
c1c0a0d815
Implemented rcube::sleep() method for disconnecting all external connection in long-running/sleeping scripts
8 years ago
Aleksander Machniak
f92052fd73
Fix so when moving to Trash we make sure the folder exists ( #5192 )
8 years ago
Aleksander Machniak
2999cc38a5
Generate more compact HTML5 code, e.g. use short form of boolean attributes
8 years ago
Aleksander Machniak
defdf84bb7
Really fix login form regression
...
Remove 'form' from allowed attributes list of input field. We needed
it only for a moment, now we don't. It's also not supported by IE/Edge
which means there's no way we would need it. Maybe some day...
8 years ago
Aleksander Machniak
32e5a6bbcf
Fix bug where folder creation could fail if personal namespace contained more than one entry ( #5403 )
...
+ small code improvements
8 years ago
Aleksander Machniak
43f3c5fb2a
Implement "one click" attachment upload ( #5024 )
8 years ago
Aleksander Machniak
c65bb121eb
Describe Framework requirements, drop some redundant code (since we require mbstring)
8 years ago
Aleksander Machniak
9debc38724
Drop mail_header_delimiter option, since we don't use mail() we don't need it
8 years ago
Aleksander Machniak
184de7735c
CS fixes (mostly phpdoc)
8 years ago
Aleksander Machniak
2298ecf7f6
Fix E_DEPRECATED warning when using Auth_SASL::factory() ( #5401 )
8 years ago
Aleksander Machniak
0836b213db
Removed useless 'created' column from 'session' table ( #5389 )
8 years ago
Aleksander Machniak
94f8ce3334
Make html::parse_attrib_string() more robust
...
Fixes PHP Error: Expression parse error on: ($app->config->get('preview_pane',rcube_utils::get_boolean('')) == true ? ' checked=checked' : ')
8 years ago
Aleksander Machniak
062d95503e
Fix bug where Message-ID domain part was tied to username instead of current identity ( #5385 )
8 years ago
Aleksander Machniak
55cdf1569e
Support contact+group searches in all relevant places (T1360)
...
Before the search worked only in Addressbook, not also in Compose.
The point of the change is also to align group searches with contact searches
in that it now uses the same set of attributes. Previously groups
in Compose were searched by name only.
8 years ago
DanCld
ee00d949c4
Properly set the memcache debug log file name
...
Properly set the debug log file name ('memcache') as $this->type is undefined
8 years ago
Aleksander Machniak
53b5ccfb0c
Fix regression where LDAP results could be counted incorrectly when using VLV
...
... broken by d08bd0a51f
where we added searching in users+groups in one request
8 years ago
Aleksander Machniak
dcabc1d814
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
tests/Framework/Washtml.php
8 years ago
Aleksander Machniak
c3fc072d97
Remove code related to magic_quotes_* and register_globals
...
...they do not exist in PHP 5.4 which we now require.
8 years ago
Aleksander Machniak
906cf101c3
Better time handling in rcube_utils::clean_datestr()
8 years ago
Aleksander Machniak
ec1525a1e6
Remove debug code
8 years ago
Aleksander Machniak
ed35267b9b
Managesieve: Fix parsing of vacation date-time with non-default date_format ( #5372 )
...
Added new method rcube_utils::format_datestr() to convert date_format date
into ISO date format.
8 years ago
Aleksander Machniak
2f2765ab43
Fix regression in resizing JPEG images with Imagick ( #5376 )
8 years ago
Aleksander Machniak
d91bad5975
Fix handling of blockquote tags with mixed case on html2text conversion ( #5363 )
8 years ago
Aleksander Machniak
7a7a6795f0
Support WEBP images in mail messages ( #5362 )
8 years ago
Aleksander Machniak
6626328e7c
We already require PEAR, so it's not needed to check if PEAR class exists.
...
Sooner or later it will fail if PEAR does not exist, so better to do this sooner.
8 years ago
Aleksander Machniak
edfd9da42a
Support MathML in HTML message preview ( #5182 )
9 years ago
Aleksander Machniak
ee895a2c96
Remove PHP mail() support, smtp_server is required now ( #5340 )
9 years ago
Aleksander Machniak
e13deb2e47
Merge branch 'master' of github.com:roundcube/roundcubemail
9 years ago
Aleksander Machniak
930e363e55
Fix handling of 'mailto' and 'error' arguments in message_before_send hook ( #5347 )
9 years ago
Aleksander Machniak
d2d4f867e5
Merge pull request #5350 from demis-palma/fix-encoding
...
Fixed wrong encoding in currency symbols
9 years ago
Aleksander Machniak
dc6cfe1eec
Merge pull request #5351 from fliespl/patch-1
...
Remove use of deprecated method Imagick::flattenImages
9 years ago
Aleksander Machniak
9a2264ba0e
Fix regression where messages with no text part (but e.g. application/zip) were not displayed as an attachment ( #5357 )
9 years ago
fliespl
10c032165b
Remove deprecated function flattenImages
...
flattenImages in imagick is deprecated since php 5.6.
`PHP Deprecated: Imagick::flattenImages method is deprecated and it's use should be avoided `
Proposed solution works with imagick 3.1.0+.
11 is used as an alternative to `Imagick::ALPHACHANNEL_REMOVE` which was added in imagick 3.2.0.
9 years ago
Demis Palma
411bd3fe82
Fixed wrong encoding in currency symbols
9 years ago
Aleksander Machniak
997e82d2b2
Merge pull request #5326 from raoulbhatia/autoload
...
Translate PHP namespaces into directories
9 years ago
dsoares
8e7e22c656
Avoid PHP fatal error
...
After last change to file `rcube_ldap.php`, my roundcube instance was getting this error:
```
PHP Fatal error: Cannot use object of type Net_LDAP3_Result as array in ...
```
In
```php
protected function extended_search($count = false)
```
`$result = $this->ldap->search()` returns a LDAP object (whatever package we use).
If the search returns no results (and if `$is_extended_search` is false), then it gets to line 971 trying to do a `usort()` and then a `count()` on an object, instead of an array.
9 years ago
Aleksander Machniak
c08ca018d8
Get rid of rcube_imap_generic::strToTime() in favor of rcube_utils::strtotime()
9 years ago
Raoul Bhatia
7122df719d
Translate PHP namespaces into directories
9 years ago
Aleksander Machniak
d08bd0a51f
Searching in both contacts and groups when LDAP addressbook with group_filters option is used
9 years ago
Aleksander Machniak
22241a5d82
CS fixes
9 years ago
Aleksander Machniak
58c036116b
Support type=password in rcube_output::get_edit_field()
9 years ago
Aleksander Machniak
f2eafda539
Fix bug where microsecond format in logged date didn't work in some cases
9 years ago
Aleksander Machniak
5e1277e971
Trim error message
9 years ago
Aleksander Machniak
f840abe6e0
Don't add HTTP response body/headers to the spellchecker error message (it is displayed to the user)
9 years ago
Aleksander Machniak
c478536741
Make SQL selects less expensive in memory for some cases where we fetch big data chunks
9 years ago
Aleksander Machniak
c76c4ed08b
Workaround PHP issue by calling closelog() on script shutdown when using log_driver=syslog ( #5289 )
9 years ago
Aleksander Machniak
d61d33a12a
Fix handling of --delete argument in moduserprefs.sh script ( #5296 )
9 years ago
Aleksander Machniak
f466899d8d
Simplified code
9 years ago
Aleksander Machniak
7864a98f08
Fix searching by email address in contacts with multiple addresses ( #5291 )
9 years ago
Aleksander Machniak
6737e293bb
Wash position:fixed style in HTML mail for better security ( #5264 )
9 years ago
Aleksander Machniak
0ce7c493a8
Fix multi-folder search issues in "this and subfolders" scope ( #5282 , #5259 )
...
- Fix bug where multi-folder search could choose a wrong folder
- Fix bug where multi-folder search didn't work for unsubscribed INBOX
9 years ago
Aleksander Machniak
930a3ceac0
Fix bug where errors could have been not logged when per_user_logging=true
9 years ago
John Regan
3a2874c77c
Remove check for multiple dots in local-part
9 years ago
John Regan
0e809364e7
Support SMTPUTF8, relax email restrictions
...
If the FROM/TO portions of an email use non-ASCII characters,
check that the SMTP server supports the SMTPUTF8 extension.
Additionally, change some rules for parsing email addresses to
allow for more characters. Basically, SMTPUTF8 states that
nearly any printable character is a valid character in an
email address.
9 years ago
Aleksander Machniak
3d0d5dbd0f
Performance improvements in format_flowed() and unfold_flowed()
9 years ago
Aleksander Machniak
afd090672c
Small performance optimization
9 years ago
Aleksander Machniak
6652367d65
Fix XSS issue in href attribute on area tag ( #5240 , #5241 )
9 years ago
Aleksander Machniak
4921c21cff
Optimize SELECT response handling
9 years ago
Aleksander Machniak
344b0af9c6
Indicate that a collapsed thread has flagged children ( #5013 )
9 years ago
Aleksander Machniak
9796cd2063
Merge branch 'dev-rfc822-preview'
...
Conflicts:
CHANGELOG
program/steps/mail/show.inc
9 years ago
Aleksander Machniak
9634169647
Bump version number to 1.3-beta
9 years ago
Aleksander Machniak
0eece8222b
Fix autoloading of 'html' class and improve autoloader performance
9 years ago
Aleksander Machniak
5e406f7b7e
Disable links list when converting html2text for spellchecking
9 years ago
Aleksander Machniak
52106ffd39
Fix bug where rcube_contacts::get_record() could return cached result when requested record wasn't found ( #5218 )
9 years ago
Aleksander Machniak
e2e56261b9
Fix handling of long script/style tags when converting to text
9 years ago
Aleksander Machniak
a0f38f5fd8
Small code style improvements
9 years ago
Aleksander Machniak
e8ab3d96bd
Fix converting mail addresses with @www. into mailto links ( #5197 )
9 years ago
Aleksander Machniak
d01c06eded
CS fixes
9 years ago
Bostjan Skufca
70a8236cd5
mailbox/listing: Make server response for large mailbox listing faster when using threaded view
...
Symptom
=======
When using roundcube with mailboxes with over 60k messages, list
view was way faster than viewing in threaded view.
Mailbox index view timing: ~360 ms
Mailbox threaded view timing: ~800 ms
Resolution
==========
Use native PHP array manipulation functions instead of rolling custom
string data reversal implementation using strpos() and substr() in a
'while' loop.
This optimization is already present in index view handler, but was missing
from threaded view.
Results after optimization
==========================
Both average out around ~360 ms response time.
9 years ago
Bernardo Silva
c72446a8fc
Allow pattern attribute in input
...
"pattern" included in the list of allowed attributes in the input tag
9 years ago
Aleksander Machniak
6f2c007d1b
CS fixes: Replace use of "bool ? true : false" with just "bool"
9 years ago
Aleksander Machniak
5c253dd59e
Fix so SPECIAL-USE assignments are forced only until user sets special folders ( #4782 )
...
The old behaviour where SPECIAL-USE has always a prio can be bringed back
by setting lock_special_folders=false and adding it to dont_override.
9 years ago
Aleksander Machniak
7462095f60
Small code improvements
9 years ago
Aleksander Machniak
e8b6e726f6
Add message menu with viewsource and edit actions in message/rfc822 preview
9 years ago
Aleksander Machniak
ce3105c58f
Reply/Reply-All/Forward/Change-format buttons for message/rfc822 preview
9 years ago
Aleksander Machniak
323fa20bc8
Message/rfc822 attachment preview ( #5054 )
9 years ago
Aleksander Machniak
05972d7b33
Refer to Github issues instead of Trac
9 years ago
Aleksander Machniak
791ee65d2e
Fix so contactlist_fields option can be set via config file
9 years ago
Aleksander Machniak
348ec70f12
Export vCard PHOTO with "ENCODING=b" (instead of "ENCODING=B") as specified in RFC2426
9 years ago
Thomas Bruederli
4a408843b0
Protect download urls against CSRF using unique request tokens ( #1490642 )
...
Send X-Frame-Options headers with every HTTP response
9 years ago
Aleksander Machniak
d4df3748cf
Require Net_Socket >= 1.0.12 (because of timeout=0 bugfix)
9 years ago
Aleksander Machniak
ca34ba139e
CS fixes
9 years ago
Aleksander Machniak
4c0cb96a48
Enigma: Fix missing html/plain switch on multipart/signed messages ( #1490649 )
9 years ago
Aleksander Machniak
e91c35c534
Fix background color on selected and focused addressbook
9 years ago
Aleksander Machniak
8dc756f319
Fix bug in long recipients list parsing for cases where recipient name contained @-char ( #1490653 )
9 years ago
Aleksander Machniak
53fa08d8ae
Enigma: Code refactoring with better handling of encrypted-inside-encrypted (e.g. forwarded) and signed+ncrypted messages
9 years ago
Aleksander Machniak
c9e2ab488e
Enigma: Fix handling of encrypted + signed messages ( #1490632 )
9 years ago
Aleksander Machniak
0e77b6f1b3
Fix regression where xml mode could be used to parse xhtml messages causing empty result
9 years ago
Aleksander Machniak
bffca14d96
Exit when imagecreatetruecolor() fails
9 years ago
Aleksander Machniak
22a018d082
Merge branch 'dev-svg'
9 years ago
Aleksander Machniak
ed1d212ae2
Improved SVG cleanup code
9 years ago
Aleksander Machniak
023d3eb031
Refactor wash_attribs() - fix regressions
9 years ago
Aleksander Machniak
d5f7490b08
Fix PHP Fatal error: Can't use function return value in write context
9 years ago
Thomas B
66d4ef6e31
Merge pull request #316 from namesco/prevent-blank-contactnames
...
Ensure roundcube doesn't render contact names as blank
9 years ago
Aleksander Machniak
a1fdb205f8
Extend rcube_washtml with SVG support
9 years ago
Francis Russell
8f71b164fd
Make TLS method for IMAP parameterisable.
9 years ago
Francis Russell
191a6a6805
Enable use of TLSv1.1 and TLSv1.2 for IMAP.
9 years ago
James Buncle
fd0244dabf
Ensure roundcube doesn't render contact names as blank (when the name is whitespace)
9 years ago
Aleksander Machniak
4e1aa60c16
Make possible to disable authentication via rcube_smtp::connect() arguments ( #1490621 )
9 years ago
Aleksander Machniak
39137fe292
CS fixes
9 years ago
Aleksander Machniak
d72e5afb47
Fix PHP7 warning "session_start(): Session callback expects true/false return value" ( #1490624 )
9 years ago
Aleksander Machniak
6521c20768
Add INBOX to the list of folders only if no filter and no prefix was specified
9 years ago
Aleksander Machniak
cd219a45dd
Fix regression where some message attachments could be missing on edit/forward ( #1490608 )
9 years ago
Aleksander Machniak
be346095a0
Fix handling of message/rfc822 attachments on replies and forwards ( #1490607 )
9 years ago
Aleksander Machniak
3296965f41
Force arg_separator in http_build_query()
9 years ago
Aleksander Machniak
87cb24d873
Don't add redundant URL arguments to logged error messages
9 years ago
Aleksander Machniak
cbe701ac4a
Fix rcube_utils::words_match() to work with mixed/invalid/binary content (T844)
9 years ago
Aleksander Machniak
7e3298753a
Use ternary operator where aplicable
9 years ago
Aleksander Machniak
a15d877ba8
Added brute-force attack prevention via login rate limit ( #1490566 )
9 years ago
Aleksander Machniak
454b0b1ca9
Remove deprecated rcmail and rcube_imap methods
9 years ago
Aleksander Machniak
9234903287
Fix HTML sanitizer to skip <!-- node type X --> in output ( #1490583 )
9 years ago
Aleksander Machniak
eca19d65b5
Optimized some regular expressions
9 years ago
Aleksander Machniak
2ff3385788
Fix warning when enchant_broker_list_dicts() does not return an array
9 years ago
Aleksander Machniak
91dc7fabbc
Small improvements in HTML to text conversion.
...
Better handling of <body> and trailing spaces, and </p><div> or <br><div>.
9 years ago
Aleksander Machniak
c8c4cafb1f
Add possibility to define date format in write operations for ldap attributes ( #1488741 )
9 years ago
Aleksander Machniak
a03233ceba
CS fixes
9 years ago
Aleksander Machniak
354cff8b26
Some more CS fixes
9 years ago
Aleksander Machniak
7fb0aedc9b
Fix fetchMIMEHeaders() so it really works with multiple parts, various CS fixes
9 years ago
Aleksander Machniak
b813011902
Remove unused property
9 years ago
Aleksander Machniak
85f4209074
Code improvements: CS fixes, improved internal cache cleanup on folder selection, removed redundant cache
9 years ago
Aleksander Machniak
aada285660
Simplify change_subscription() code, removed unused vars
9 years ago
Aleksander Machniak
6a94f69bd1
Remove code for Mail_mime<1.9, we already require Mail_mime-1.10 for other reasons
9 years ago
Aleksander Machniak
0ee57208b3
Add possibility to set PDO::ATTR_PREFETCH and PDO::ATTR_TIMEOUT via DSN string
9 years ago
Aleksander Machniak
1b61a48eec
Get rid of mb_check_encoding() before mb_convert_encoding() for better performance, CS fixes
9 years ago
Aleksander Machniak
83345af059
Log charset conversion warning only when no function was found, not when the string was invalid
9 years ago
Aleksander Machniak
7d71c48952
s/RCMAIL_VERSION/RCUBE_VERSION/
9 years ago
Aleksander Machniak
7bbb86f78a
Session read handler must return a string in PHP7
9 years ago
Aleksander Machniak
b2b9b591ce
Fix handling random_bytes() errors in PHP 7.0.0RC3
9 years ago
Aleksander Machniak
df0b4f3437
Make sure an email address is valid when replacing it with mailto: link
9 years ago
Thomas Bruederli
db390a27fb
Do not tokenize search string when querying in strict mode ( #1490504 )
9 years ago
Aleksander Machniak
fef8537adb
Improved multi-folder search performance on sort order change or list page change
...
by proper index serialization and skipped redundant sorting
9 years ago
Thomas Bruederli
f7f75ff7d1
Unify detection of pgp/mime message part
9 years ago
Aleksander Machniak
e85bbc9e9c
random_bytes() can throw an exception in some cases, since PHP 7.0.0rc3
9 years ago
Aleksander Machniak
63e7937d02
Change so rcube_message class does not depend on $_GET parameters
9 years ago
Aleksander Machniak
26086981a2
Improve randomness of security tokens ( #1490529 )
9 years ago
Aleksander Machniak
f75bc5c24b
Use random security tokens instead of hashes based on encryption key ( #1490404 )
9 years ago
Aleksander Machniak
e4c66080a8
Improved encrypt/decrypt methods with option to choose the cipher_method ( #1489719 )
9 years ago
Aleksander Machniak
4c53e78915
Fix printing required ini options values in error message
9 years ago
Aleksander Machniak
427ab2f393
Optimize folder_size() on Cyrus IMAP by using special folder annotation ( #1490514 )
9 years ago
Aleksander Machniak
5eb9c70b60
Added method to determine IMAP server vendor, for future use
9 years ago
Aleksander Machniak
86b241df63
CS fixes
9 years ago
Aleksander Machniak
4ceff8f353
Make optional hidding of folders with name starting with a dot - imap_skip_hidden_folders ( #1490468 )
9 years ago
Aleksander Machniak
f00e1f5333
CS fixes
9 years ago
Aleksander Machniak
6f249b0e38
Change code so versions of Mail_mime before and after 1.9.0 are supported
9 years ago
Aleksander Machniak
7a42173a16
Simplify rcube_utils::check_ip()
9 years ago
Aleksander Machniak
6b31846c43
Fix IPv6 address validation on PHP with disabled IPv6 support
9 years ago
Aleksander Machniak
f4c512336d
Fix "washing" of style elements wrapped into many lines
9 years ago
Thomas B.
cf69daf896
Merge pull request #288 from ThijsFeryn/fnnonempty
...
Emptying the display name when the display name is the main e-mail ad…
9 years ago
Aleksander Machniak
559e5d7bd4
Fix unintentional error_reporting change
9 years ago
Aleksander Machniak
36bd93f138
PHP7: Fixed some E_WARNING errors that previously were E_STRICT
9 years ago
Aleksander Machniak
a7efdd7c5d
Make Mail_mime>=1.9.0 a requirement, fix compat. errors
9 years ago
Aleksander Machniak
1b8ca08e5b
Added GSSAPI/Kerberos authentication plugin - krb_authentication
9 years ago
Aleksander Machniak
0868c2e841
Make sure list page is never set to 0 ( #1490458 )
...
This should fix the issue where after message move wrong message was
added to the list and the list counter was invalid.
9 years ago
Aleksander Machniak
5ed8ade763
Fix bug where some plugins could be initialized more than one time
9 years ago
Aleksander Machniak
93e64008a6
Small code improvements
9 years ago
Aleksander Machniak
c21f95f626
Fix bug where new messages weren't added to the list in search mode
9 years ago
Aleksander Machniak
6c7be218f7
Revert create_folder() behaviour change where the method didn't fail if folder already existed.
...
This should not be the default behaviour. It could likely
become an optional functionality, however we should keep the method simple.
9 years ago
Aleksander Machniak
9d78c68cbf
Fix so imap folder attribute comparisons are case-insensitive ( #1490466 )
...
+ make in_array_nocase() much faster for ASCII strings
9 years ago
ThijsFeryn
58f6f19505
Emptying the display name when the display name is the main e-mail address contradicts lines 731 till 734
9 years ago
Aleksander Machniak
b71eef6d7d
Don't use private properties of Net_SMTP object
9 years ago
Aleksander Machniak
9335f9cede
Reset internal cache index in close()
10 years ago
Aleksander Machniak
e2bceaefe6
Support more secure hashing algorithms for auth cookie - configurable by PHP's session.hash_function ( #1490403 )
10 years ago
Aleksander Machniak
843643b1bd
Fix multi-folder search result sorting by arrival date ( #1490450 )
10 years ago
Aleksander Machniak
212e332cef
Get rid of array_walk() when simple foreach() can be used
10 years ago
Aleksander Machniak
d2890372c1
Fix Fatal error after last commit
10 years ago
Aleksander Machniak
6a8c4fc73b
Fix issue when first search() argument is not an array
10 years ago
Aleksander Machniak
8447bae77c
Require Mbstring and OpenSSL extensions ( #1490415 ) - remove redundant code
10 years ago
Aleksander Machniak
f7427f151e
Get rid of Mail_mimeDecode package dependency ( #1490416 )
10 years ago
Aleksander Machniak
9aae1b7fc3
Fix so microseconds macro (u) in log_date_format works ( #1490446 )
10 years ago
Aleksander Machniak
25c8fe4eeb
Fix handling of non-break spaces in html to text conversion ( #1490436 )
10 years ago
Aleksander Machniak
b92a66b3ee
Make has_(html|text)_part and first_(html|text)_part methods consistent in arguments and functionality
10 years ago
Aleksander Machniak
36a7f57345
Modify rcube_smtp::send_mail() so it is possible to send message by
...
specifying only the message stream no headers, it's for cases when
the stream already contains a complete message.
10 years ago
Aleksander Machniak
ff40683404
Fix so links with href == content aren't added to links list on html to text conversion ( #1490434 )
10 years ago
Aleksander Machniak
26a00e76be
Fix race-condition in saving user preferences and loading plugin config ( #1490431 )
10 years ago
Aleksander Machniak
a958748947
CS fixes
10 years ago
Thomas Bruederli
d375b20225
Suppress E_DEPRECATED errors after change in [ 4ab77dd1
]
10 years ago
Thomas Bruederli
4ab77dd13e
Check for PEAR class before accessing it. With new composer modules this isn't necessary in the include path anymore
10 years ago
Aleksander Machniak
a84f0b65dc
Fix undefined variable use after recent changes ( #1490401 )
10 years ago
Aleksander Machniak
3994b3a26c
Installer: Use openssl_random_pseudo_bytes() (if available) to generate des_key ( #1490402 )
10 years ago
Aleksander Machniak
0c08b04778
Fix issues when using moduserprefs.sh without --user argument ( #1490399 )
10 years ago
Aleksander Machniak
59d11dce33
Small code improvement
10 years ago
Aleksander Machniak
c4ad7edd53
Fix font artifacts in text2html conversion ( #1490353 )
...
Use white-space:nowrap elements instead of unicode word-joiner character
10 years ago
Aleksander Machniak
b120d42f5b
Improved cache index changes detection (again)
10 years ago
Aleksander Machniak
044c1a0523
Simplified code + some CS fixes
10 years ago
Aleksander Machniak
652e11f82e
Fix missing index update after write() call
10 years ago
Aleksander Machniak
b1e35a685c
Performance: Improve changes detection, so we update index only if needed
10 years ago
Aleksander Machniak
11d5e7c100
Implemented memcache_debug also for session operations
10 years ago
Aleksander Machniak
9ed8584c3e
Count memcache/apc debug lines
10 years ago
Aleksander Machniak
fff8e0f2ae
Fix possible memcache/apc cache data consistency issues ( #1490390 )
...
And removed unused code
10 years ago
Aleksander Machniak
247b845a8e
Workaround possible issue where some keys were ignored when deleting cached entries
...
by key name prefix and keys index is in inconsistent state (does not contain all keys)
10 years ago
Aleksander Machniak
44708ec647
Implemented memcache_debug and apc_debug options for cache operations tracking
10 years ago
Aleksander Machniak
bb21913387
Fix mb_substitute_character() use
10 years ago
Aleksander Machniak
966a9086a5
Fix rcube_charset::clean() for case when mbstring and iconv are not installed
10 years ago
Aleksander Machniak
1422b0823e
Fix bug where messages count was not updated after message move/delete with skip_deleted=false ( #1490372 )
10 years ago
Thomas Bruederli
0f63418b7e
Use Net_LDAP3::domain_root_dn() to resolve the domain DN for the %dc variable; replaces PR #268
10 years ago
Aleksander Machniak
1d0ffdc2ac
Fix decoding array headers
10 years ago
Aleksander Machniak
5b737d9f8d
Fix bug where some unrelated attachments in multipart/related message were not listed ( #1490355 )
10 years ago
Aleksander Machniak
d86ff98339
Fix font artifact in Google Chrome on Windows ( #1490353 )
10 years ago
Aleksander Machniak
53cbebf8ad
Fix handling spaces after <br> on html2text conversion
10 years ago
Aleksander Machniak
d61d668b64
Remove useless code
10 years ago
Aleksander Machniak
292292df32
Fix so unrecognized TNEF attachments are displayed on the list of attachments ( #1490351 )
10 years ago
Aleksander Machniak
98e4614b0d
Fix so text/calendar parts are listed as attachments even if not marked as such ( #1490325 )
10 years ago
Aleksander Machniak
48d01837a0
Fix tables listing routine on mysql and postgres so it skips system or other database tables and views ( #1490337 )
10 years ago
Aleksander Machniak
5a4f3f8266
Remove Kolab's hack for Cyrus Murder bug in SETANNOTATION - it's not needed anymore
10 years ago
Aleksander Machniak
3d6ce95009
Fix PHP warning: Non-static method PEAR::setErrorHandling() should not be called statically ( #1490343 )
10 years ago
Aleksander Machniak
8eeb721bd6
Fix unintended DB session expiration - lost variable in refactoring ( #1490316 )
10 years ago
Thomas Bruederli
e2fb340289
Remove obsolete mt_srand() calls
10 years ago
Thomas Bruederli
a74d023903
Generate random hash for the per-user local storage prefix ( #1490279 ); only unserialize user prefs once
10 years ago
Aleksander Machniak
496972bf95
Fix backtick character handling in sql queries ( #1490312 )
10 years ago
Thomas Bruederli
5def0d8e9e
Ignore plugin loading filter if force parameter is set
10 years ago
Thomas Bruederli
87ff88d550
Fix session garbage collector handler registration after refactoring
10 years ago
Thomas Bruederli
aafc050f55
Fix rcube_contacts::search() calls with empty search string but $required argument
10 years ago
Aleksander Machniak
9af8e22b8e
Plugin API: added message_part_body hook, fixes around message structure handling by plugins
10 years ago
Thomas B.
2755471f33
Merge pull request #257 from corbosman/session_refactor
...
Merging session refactor into master
10 years ago
Aleksander Machniak
6cdffbf1b6
Fix "PHP Fatal error: Using $this when not in object context"
10 years ago
corbosman
82058d7af2
minor fixes
10 years ago
Thomas Bruederli
8e333bcb66
Only normalize search term when searching in 'words' column
10 years ago
Thomas Bruederli
3bd0277261
Fix full-text searching in a given list of fields
10 years ago
Thomas Bruederli
fd259bed69
Adapt fulltext search in local address book to ignore words order
10 years ago
Thomas Bruederli
c32998084d
Add untility function to match strings ignoring word order
10 years ago
Thomas Bruederli
36ee2c8427
Improve LDAP search by ignoring words order in fuzzy substring matching mode
10 years ago
Thomas Bruederli
83eeec6c06
Add utility function to compose a full-text-like LDAP search filter
10 years ago
corbosman
6e3d249655
remove commented out code
10 years ago
corbosman
b4be89bdac
use factory
10 years ago
Aleksander Machniak
a4ef49d6cf
Fix duplicate entry on timezones list in rcube_config::timezone_name_from_abbr() ( #1490293 )
10 years ago
Aleksander Machniak
5aa1d2005b
Fix parsing ldap URI for cases where hostname is non-empty
10 years ago
Aleksander Machniak
759566fe99
Fix parsing invalid HTML messages with BOM after <!DOCTYPE> ( #1490291 )
10 years ago
Aleksander Machniak
b59b72cc30
Fix "Non-static method PEAR::isError() should not be called statically" errors ( #1490281 )
10 years ago
Aleksander Machniak
2a31f6dbd7
Reset default db_max_allowed_packet, fix max packet size detection
10 years ago
Aleksander Machniak
83f1f6b12f
Improve compose_search_name() to not return "email@address <email@address>" entries
...
which may happen for contacts without name(s)
10 years ago
Aleksander Machniak
8f485469c7
Add possibility to configure max_allowed_packet value for all database engines ( #1490283 )
10 years ago
Aleksander Machniak
62b847bea3
Fix "PHP Fatal error: Call to a member function getMessage() on a non-object"
10 years ago
Aleksander Machniak
75e8a7d313
Really make sure plugins aren't initialized twice
10 years ago
Aleksander Machniak
4d90e6596d
Use also Organization field as a fallback if contact has no name(s) specified
10 years ago
Aleksander Machniak
6c8cbe3ee5
Fix regression where require_plugin() wasn't initializing the plugin
10 years ago
Aleksander Machniak
f070da7c27
Fix fatal errors on systems without mbstring extension or mb_regex_encoding() function ( #1490280 )
10 years ago
Aleksander Machniak
bd82526e41
Fix missing or not up-to-date CATEGORIES entry in vCard export ( #1490277 )
10 years ago
Aleksander Machniak
c7b77b9179
Fix performance of rcube_db_mysql::get_variable()
...
As currently we're using this to find only max_allowed_packet value,
it is better to use "SHOW VARIABLES LIKE ?" instead of asking for all variables.
10 years ago
Aleksander Machniak
13e0a6556f
Fix handling of some improper constructs in format=flowed text as per the RFC3676[4.5] ( #1490284 )
10 years ago
corbosman
4df4ab5007
session refactor and add redis driver
10 years ago
Aleksander Machniak
50b04366ee
Merge branch 'master' of github.com:roundcube/roundcubemail
...
Conflicts:
CHANGELOG
10 years ago
Aleksander Machniak
81d4ff214e
Fix setting max packet size for DB caches and check packet size also in shared cache
10 years ago
Aleksander Machniak
3665d1e8ec
Merge pull request #259 from corbosman/plugin_preload
...
Plugin preload
10 years ago
Aleksander Machniak
3779b67a9c
Set version number to 1.2-git
10 years ago
Thomas B.
38b42e96af
Merge pull request #265 from kanarip/master
...
Allow the timeout and retry interval for memcached to be configured
10 years ago
Jeroen van Meeuwen (Kolab Systems)
c3e441044d
Allow the timeout and retry interval for memcached servers to be configured
10 years ago
Thomas Bruederli
2f8b1036da
Bump version and copyright year
10 years ago
corbosman
de89d46be2
Load plugins before sessions have started
...
Move the plugin loading phase to before sessions have started allowing plugins to add session drivers. Plugins that want to use this should define an "onload" method in their plugins. This method does not have access to variables like $task as they are not yet initialised at that time.
10 years ago
Aleksander Machniak
09d52dbb67
Fix some typos in comments
10 years ago
Aleksander Machniak
20740a9650
Fix error in exec_hook() in case some hook handler was unregistered before
10 years ago
Aleksander Machniak
e17decc4c2
Better handle log/temp directory misconfiguration
10 years ago
Aleksander Machniak
e8fc8d303a
Fix handling of GETANNOTATION errors - return NULL on error as documented
10 years ago
Aleksander Machniak
0a5841702f
Fix exec_hook() so handlers added inside the hook are not omitted
10 years ago
Aleksander Machniak
a3fa844aad
Make logged SMTP errors more verbose - log also real server response and codes
10 years ago
Aleksander Machniak
bf99c50cc1
Fix bug where empty fieldmap config entries caused empty results of ldap search ( #1490229 )
10 years ago
Thomas Bruederli
ef29153a32
Improve display of pgp/mime and s/mime messges. Reverts commit f4154d91
10 years ago
Aleksander Machniak
786aa0725e
Fix XSS issue in style attribute handling ( #1490227 )
10 years ago
Aleksander Machniak
8c2075b9fc
Remove hook aliases deprecated long time ago, CS fixes
10 years ago
Aleksander Machniak
7b924535fd
CS fixes
10 years ago
Thomas Bruederli
bca7dc68e9
Fix syntax error and codestyle from recent PR merge
10 years ago
Alex Brandt
e4b9910a32
Add environment variable reading to configuration.
...
Docker prefers to pass parameters via environment variables. This
allows the environment variables to be checked and if a value exists it
will override the default.
10 years ago
Thomas Bruederli
e8b82c2e7b
Fix rcube_utils::normalize_string() to support unicode characters + add argument for minimum token length
10 years ago
Thomas Bruederli
09c58d1add
Make rcube_utils::strtotime() timezone aware ( #1490163 )
10 years ago
Aleksander Machniak
aafccefb88
Properly set fuzzy_search for vlv searches
10 years ago
Aleksander Machniak
681ba6fc3c
Improve system security by using optional special URL with security token
...
Allows to define separate server/path for image/js/css files
Fix bugs where CSRF attacks were still possible on some requests
10 years ago
Aleksander Machniak
066e22874b
Don't log "No suitable function found for UTF-8..." as E_USER_WARNING.
...
Use E_USER_NOTICE - this happens quite often as email messages
containing invalid charset name are not so rare.
10 years ago
Aleksander Machniak
72b117feb1
Use consistent license identifiers, remove redundant package.xml files
10 years ago
Aleksander Machniak
b262e12964
Fix import of contacts with multiple email addresses from Google-csv format ( #1490178 )
10 years ago
Aleksander Machniak
f864495b7b
Fix import of multiple contact email addresses from Outlook-csv format ( #1490169 )
10 years ago
Aleksander Machniak
692011df7f
Extend list_emails() to optionally return only default identity
10 years ago
Aleksander Machniak
32eb977b12
Merge branch 'master' of github.com:roundcube/roundcubemail
10 years ago
Aleksander Machniak
2f46789081
Added rcube_user::list_emails() method with better performance than list_identities()
...
which should be used always if we want only all user email addresses (with names)
10 years ago
Aleksander Machniak
25fb9732a0
Fix so all unknown email addresses from Google csv format are imported ( #1490159 )
10 years ago
Aleksander Machniak
787a421846
Fix rcube_utils::anytodatetime() with no timezone specified
10 years ago
Aleksander Machniak
bb1398a54e
Fix import of multiple contact groups from Google-csv format ( #1490159 )
10 years ago
Aleksander Machniak
9e4246d957
Code improvements and fixes (mostly unused variables and methods)
10 years ago
Aleksander Machniak
07280e7643
Remove reference to non-existing option 'default_folders'
10 years ago
Aleksander Machniak
409b649346
Fix lack of delimiter for recipient addresses in smtp_log ( #1490150 )
10 years ago
Aleksander Machniak
a7a778c157
Fix some character sets detection ( #1490135 )
10 years ago
Aleksander Machniak
2883fcba2b
Move TNEF decoder class to the Roundcube Framework ( #1490055 )
...
So, for now all dependencies of the Framework can be installed
with composer and we need only lib/Roundcube folder.
des.inc was never required and is less important since we do
encryption using openssl or mcrypt extensions.
10 years ago
Thomas Bruederli
5c9ddcc052
Check available memory for image resizing with GD on Windows ( #1489937 )
10 years ago
Thomas Bruederli
a63b9b546c
Add plugin hook 'db_table_name' as requested in #1489837
10 years ago
Aleksander Machniak
9d4d48ad4c
Remove debug code
10 years ago
Aleksander Machniak
96a7f6cc1b
CS fixes
10 years ago
Aleksander Machniak
db357b4187
Remove redundant default
10 years ago
Aleksander Machniak
1ffab0ad4a
Fix possible issues in skin/skin_path config handling ( #1490125 )
10 years ago
Aleksander Machniak
5d8f8b59f3
Correct load_config() return value with improvement in last commit
10 years ago
Aleksander Machniak
ab5b89b854
Improve load_config() so when called many times it will read config file only once
10 years ago
Aleksander Machniak
d93019125c
Allways call rcube_imap::set_folder() before rcube_imap::get_message_part()
10 years ago
Aleksander Machniak
68c41f1dff
Fix regresion that caused double charset conversion in some messages ( #1490121 )
10 years ago
Aleksander Machniak
9aa55d5a50
Fix so DDL script for Oracle can be executed in SQLPlus
10 years ago
Aleksander Machniak
2da8300fb7
Correctly detect charset of attachment names in TNEF messages
10 years ago
Aleksander Machniak
2979df5529
Call exif_read_data() only on JPEG images
10 years ago
Bartlomiej Nogas
a235f79df9
Fix of really fix UNKNOWN-CTE handling
10 years ago
Aleksander Machniak
bf9c9b3e38
Really fix UNKNOWN-CTE handling
10 years ago
Aleksander Machniak
81dab388d0
Fix handling of UNKNOWN-CTE response, try do decode content client-side ( #1490046 )
10 years ago
Aleksander Machniak
9d9623462a
Fix handling of base64-encoded attachments with extra spaces ( #1490111 )
10 years ago
Aleksander Machniak
2268aa676d
Fix handling of uuencoded messages if messages_cache is enabled ( #1490108 )
10 years ago
Aleksander Machniak
48ba4414b3
Fix download of attachments that are part of TNEF message ( #1490091 )
...
Rcube_message_part::body content should never be modified by code out of the rcube_message.
Added convenient rcube_message::get_part_body() method, making rcube_message::get_part_content() deprecated.
10 years ago
Aleksander Machniak
e050502900
Fix bug where openssl-based crypt/decrypt method wasn't using defined crypto-key
10 years ago
Aleksander Machniak
0ea079d604
dirname(__FILE__) -> __DIR__
10 years ago
Aleksander Machniak
07fa81dc4e
Fix setting flags on servers with no PERMANENTFLAGS response ( #1490087 )
10 years ago
Aleksander Machniak
a1d042fd58
Add rcube_plugin_api::get_plugin() method
10 years ago
Thomas Bruederli
6646809a31
Fix another regression in metadata response parsing introduced in commit 939380da
10 years ago
Bartlomiej Nogas
0d273c9a97
Fix get_metadata() function response, NIL response was introducing an shift
10 years ago
Aleksander Machniak
dd6f784ec4
Fix syntax error
10 years ago
Aleksander Machniak
000f6ee304
Merge branch 'oracle'
10 years ago
Aleksander Machniak
ff767a14ff
Merge branch 'oracle'
10 years ago
Aleksander Machniak
fb8adc8a19
Remove Oracle driver based on PDO_OCI extension
10 years ago
Aleksander Machniak
7f84924799
Fix long data handling
10 years ago
Aleksander Machniak
e7af012bc2
Fix binary operator use for Oracle
10 years ago
Aleksander Machniak
8451577659
Added transactions support
10 years ago
Aleksander Machniak
d7c91c14f8
Add Oracle driver which uses OCI8 extension - the one that supports CLOB columns
10 years ago
Aleksander Machniak
83a64265a7
Fixes for Oracle
10 years ago
Aleksander Machniak
848e204ef9
Fix validation of email addresses with IDNA domains ( #1490067 )
10 years ago