Commit graph

2945 commits

Author SHA1 Message Date
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 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
djmaze
2a6a1ff799 Improved keyboard shortcuts handling 2021-08-13 10:03:13 +02:00
djmaze
5f21fcc100 hasher.changed.* to hasher.* 2021-08-13 10:01:01 +02:00
djmaze
d536b5eeee Change ()=>{} into ()=>0 2021-08-13 09:58:43 +02:00
djmaze
2d87b52c07 There is no 'return true' for the shortcuts system 2021-08-12 20:55:24 +02:00
djmaze
64a7b82408 Bugfix: Help screen broken tabbing shortcuts 2021-08-12 20:33:13 +02:00
djmaze
8b116fa8ba Cleanup some code 2021-08-12 20:17:37 +02:00
djmaze
8d51e57d41 Resolve issue #106 2021-08-12 14:56:58 +02:00
djmaze
5895804e9a More excessive DOM reductions 2021-08-12 14:44:38 +02:00
djmaze
74f74163c6 Bugfix: <!-- ko text: valueAccessor --> failed
https://knockoutjs.com/documentation/text-binding.html#note-3-using-text-without-a-container-element
2021-08-12 12:54:42 +02:00
djmaze
467b4a7913 Resolve issue #105 2021-08-10 17:10:09 +02:00
djmaze
308e65f94f cleanup some css and js 2021-08-10 17:07:26 +02:00