Commit Graph

2806 Commits

Author SHA1 Message Date
djmaze
c8a28a7f95 Improvements for #119 2021-08-23 12:08:04 +02:00
the-djmaze
d8df978732 Merge pull request #118 from Alphix/improve_ldap_contacts
Improve ldap-contacts-suggestions plugin
2021-08-23 12:01:57 +02:00
the-djmaze
ac1041a16e Merge pull request #119 from Alphix/improve_build_scripts
[snappymail] Some build fixes
2021-08-23 12:00:16 +02:00
djmaze
8a50586d9b Better Memcache 2021-08-23 11:52:24 +02:00
djmaze
8f1d96e86f Revert #113 and #116 with a compatibility fix 2021-08-23 11:50:27 +02:00
djmaze
881528d2ee Memcache support socket connections and Memcached class 2021-08-23 11:34:34 +02:00
the-djmaze
4a39093042 Merge pull request #116 from Alphix/improve_redis_support
[snappymail] Improve Redis support
2021-08-23 11:02:51 +02:00
djmaze
9dfc5f92d9 Merge branch 'master' of github.com:the-djmaze/snappymail 2021-08-23 10:50:04 +02:00
djmaze
52e7cfb6a3 Improved mail message CSS handling due to broken Amazon mails
Resolves issue #108
2021-08-23 10:49:25 +02:00
David Härdeman
5cbc3ed3f9 [ldap-contacts-suggestions] Default to localhost instead of 127.0.0.1
No need to default to IPv4 only.
2021-08-23 10:14:42 +02:00
David Härdeman
fc83b71a30 [snappymail] Some build fixes
Not an expert on the snappy build system, but rollup doesn't seem to be
used anywhere, so no need to check for its presence. Also, I had
to replace "node-fs" with "fs" to build a .tar.gz.
2021-08-23 00:42:21 +02:00
David Härdeman
9876597542 [ldap-contacts-suggestions] Bump version number 2021-08-22 13:36:05 +02:00
David Härdeman
3beef5a789 [ldap-contacts-suggestions] Support multiple objectClasses
This is mostly for consistency with the other LDAP attributes.
2021-08-22 13:34:51 +02:00
David Härdeman
8eec9d4a8f [ldap-contacts-suggestions] Clarify some more variables
Make it clearer that these variables take several attributes.
2021-08-22 13:34:51 +02:00
David Härdeman
f3b6cd08f0 [ldap-contacts-suggestions] Update defaults
Since multiple LDAP attributes are supported for the user name/email,
there's no harm in having defaults that are a bit more flexible
(for example, "givenName" is commonly only the users first name,
while a full name is usually preferable as an email recipient).
2021-08-22 12:54:02 +02:00
David Härdeman
8e9cef4f78 [ldap-contacts-suggestions] Use LDAP URI for connecting
ldap_connect(<host>, <port>) is deprecated and ldap_connect(<uri>) is
more expressive (for example, by allowing the use of SSL to be
mandatory using a ldaps:// URL).
2021-08-22 12:32:02 +02:00
David Härdeman
1841688b5f [ldap-contacts-suggestions] Rename some variables
Rename some variables to use common LDAP terminology and to make their
purpose clearer.
2021-08-22 12:32:02 +02:00
David Härdeman
a53d7383db [ldap-contacts-suggestions] Update option documentation
Use common LDAP terminology and update comments to reflect how the
configuration options work (e.g. that all the LDAP attribute options
are multivalued).
2021-08-22 12:31:56 +02:00
David Härdeman
725f217778 [ldap-contacts-suggestions] Better handling of mixed case attributes
While the LDAP search is case insensitive, the array which is returned from
ldap_get_entries() will only use lowercase. This means that if one
configures the plugin to look for e.g. "givenName", no results
will be returned.
2021-08-22 12:31:56 +02:00
David Härdeman
11294a8f8b [ldap-contacts-suggestions] Add support for StartTLS
The plugin currently supports SSL (by using a ldaps:// URI as the
hostname of the LDAP server) and unencrypted LDAP. This patch
also adds StartTLS support, which is used by many LDAP servers.
2021-08-22 10:48:33 +02:00
David Härdeman
c23eeb54be [ldap-contacts-suggestions] Fix allowed emails
The configuration interface allows a list of allowed emails to be set, but
the configuration parameter is never used.
2021-08-22 00:42:38 +02:00
the-djmaze
05af650a29 Merge pull request #117 from Alphix/make_apcu_explicit
[snappymail] Fix ACPU support
2021-08-22 00:11:29 +02:00
David Härdeman
dab86802f0 [snappymail] Fix ACPU support
Fix ACPU support and update configuration file comments to reflect the
ACP -> ACPU change that was introduced earlier.
2021-08-21 17:21:12 +02:00
David Härdeman
bd6b903b74 [snappymail] Change default connection string for Redis
The "redis" scheme is undocumented and has a slightly different syntax, so
prefer the "tcp" scheme.
2021-08-21 14:06:30 +02:00
David Härdeman
465e4b32ee [snappymail] Improve Redis support
By using a connection URL, it is possible to support all Predis features, like
passwords, unix sockets, database selection, etc.

Tested with TCP and unix socket connections.

Closes #113
2021-08-21 13:32:17 +02:00
djmaze
cc03546484 Reduce JavaScript footprint 2021-08-20 15:40:07 +02:00
djmaze
fea65b7ebf Cleanup htmlToPlain() and replace its splitPlainText() for simple wordwrap 2021-08-20 12:10:15 +02:00
djmaze
e0adf7accd Bugfix and simplify broken folderListOptionsBuilder() due to changes for #112 2021-08-19 21:31:08 +02:00
djmaze
ee7d06fbfd Changed Quota() to QuotaRoot(string $sFolderName = 'INBOX')
After reading RainLoop#2086 and looking in the source i noticed the incorrect naming
2021-08-19 17:00:31 +02:00
djmaze
5f73b721e6 Bugfix solution of #112 2021-08-19 15:35:47 +02:00
djmaze
ba477e25ff Resolve issue #112 2021-08-19 15:14:47 +02:00
djmaze
1f9e96f107 Improve Apache gzip & brotli handling 2021-08-18 20:29:51 +02:00
djmaze
6896f080e8 Resolve Issue #107 2021-08-18 16:35:37 +02:00
djmaze
c1fbd8a5d2 Move Apache mod_rewrite gzip/brotli rules to /snappymail/v/0.0.0/static/ 2021-08-18 16:24:05 +02:00
djmaze
7e43bfc6b0 Cleanup CSS and JS
Improve app loading error
2021-08-18 15:36:33 +02:00
djmaze
2c69da61f0 Bugfix Apache no mod_rewrite 2021-08-18 13:13:54 +02:00
djmaze
17ae0eac5b Cleanup \headers() 2021-08-18 13:13:50 +02:00
djmaze
212aeb6910 Prevent 'undefined' in php error log 2021-08-18 12:25:17 +02:00
djmaze
50d7803c17 Although this is a browser bug (Fulguris & DuckDuckGo), just show why the browser fails loading resources.
See https://github.com/the-djmaze/snappymail/issues/107
2021-08-18 12:23:48 +02:00
djmaze
b8a1aa49cf logo white bg due to github being dark 2021-08-17 15:34:15 +02:00
djmaze
b403f0579b v2.6.2 v2.6.2 2021-08-17 15:14:55 +02:00
djmaze
d139c02cc9 Improved loading of WYSIWYG 2021-08-17 14:43:48 +02:00
djmaze
8273111e65 Strip unused CSS 2021-08-17 14:06:56 +02:00
djmaze
26015aaf18 Improve folderInformation and folderInformationMultiply 2021-08-17 12:08:09 +02:00
djmaze
a3dc8ad639 Drop unused allow_html_editor_source_button 2021-08-16 18:18:11 +02:00
djmaze
8498290d93 FolderInformation Result.Flags use Object.entries() 2021-08-16 18:10:45 +02:00
djmaze
1c95eab6d6 Bugfix and improve Squire HTML/Plain modes 2021-08-16 18:09:54 +02:00
djmaze
5efbcf5ad3 Squire
* drop isWin and isEdge (legacy)
* simplify isWebKit
* some code to ES 2015
2021-08-16 15:31:25 +02:00
djmaze
d4f55a02a4 Improve Squire edit history stack 2021-08-16 13:13:33 +02:00
djmaze
ed1dc4dbc1 Don't preload Compose window for speedup and to avoid an excessive DOM size 2021-08-13 10:16:55 +02:00