Commit graph

2821 commits

Author SHA1 Message Date
djmaze
8934205ede Replace {'inbox-star-icon': isInboxStarred} with {'flag-icon': isFlagged} for future improvements 2021-08-24 21:10:49 +02:00
djmaze
db1615f2ca Bugfix: FolderList INBOX detection 2021-08-24 20:45:40 +02:00
the-djmaze
e2a7d1f5f0
Merge pull request #121 from Alphix/delete_parent_folder_only
[snappymail] Allow deletion of parent folder with subfolders
2021-08-24 19:41:59 +02:00
David Härdeman
72ff960114 [snappymail] Allow deletion of parent folder with subfolders
This change brings snappymails behaviour in line with RFC3501, section 6.3.4,
by allowing "real" (i.e. non-\Noselect) parent folders to be deleted and
by not performing a recursive deletion of subfolders.
2021-08-24 18:33:54 +02:00
djmaze
ef4d604f6d Bugfixes and improvements for Folderlist 2021-08-24 18:23:17 +02:00
djmaze
327d6c32ca Improved FolderCollection handling and try to solve https://github.com/the-djmaze/snappymail/issues/112#issuecomment-904193275 2021-08-24 15:53:39 +02:00
djmaze
2def2fc118 IMAP \archive is not the same \all, so split it 2021-08-23 17:23:43 +02:00
djmaze
d6071a584e Drop unused customSpecSuffix 2021-08-23 16:40:28 +02:00
the-djmaze
f0549e1735
Merge pull request #120 from Alphix/improve_change_password
[change-password] Improve change password

Last .js change is correct. It was a leftover of the old RainLoop AuthAccountHash system.
AuthAccountHash was some kind of login hash system to get logged in mail account.
2021-08-23 16:39:55 +02:00
David Härdeman
0728a26e95 [change-password] Bump version 2021-08-23 14:03:27 +02:00
David Härdeman
6c5106dbd2 [change-password] Fix password change js
Not sure what rl.hash.set() is supposed to do, but it is undefined, which
causes an exeption, which in turn provides an error message even when
the password was successfully changed.
2021-08-23 13:02:07 +02:00
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
1d65ec5345 [change-password] Document LDAP URI option 2021-08-23 10:42:07 +02:00
David Härdeman
aee1d7841b [change-password] Make use of StartTLS configurable
This makes the use of all three kinds of connections possible (ldap://,
ldap:// + TLS, ldaps://). ldap_start_tls will fail with ldaps://.
2021-08-23 10:42:07 +02:00
David Härdeman
ba2b903d67 [change-password] Use LDAP URI format instead of host/name
ldap_connect(<host>, <port>) is deprecated and ldap_connect(<uri>)
format makes it possible to use ldaps.
2021-08-23 10:35:51 +02:00
David Härdeman
2454909e83 [change-password] Set plugins to default to off 2021-08-23 10:35:51 +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