Commit graph

2837 commits

Author SHA1 Message Date
djmaze 8a22ddff5e Improved #121 2021-08-25 16:27:17 +02:00
djmaze 6435fc3876 Bugfix: Trying to access array offset on OptionalResponse is null 2021-08-25 15:15:27 +02:00
djmaze b24da035df Bugfix: undefined $sStyles 2021-08-25 15:00:45 +02:00
djmaze 3ad9bb6258 Cleanup some code 2021-08-25 13:22:40 +02:00
djmaze ddb6daace6 Resolve weird cursor as mentioned in #112 2021-08-25 12:43:13 +02:00
djmaze be9cb6c727 Bugfix for #123 2021-08-25 12:34:19 +02:00
djmaze 0b323ab870 Bugfix: when clicking \NoSelect subfolder, it redirect to parent
Improvement for #112
2021-08-25 12:24:27 +02:00
djmaze 0d35c70d7c Fix dark theme FolderList change 2021-08-25 12:18:24 +02:00
djmaze e57069af4e Forgot to stage and commit this change for #123 2021-08-25 12:15:13 +02:00
djmaze 7a46527aa8 0 equals FALSE, so no need to check
Change 'TODO' with 'TODO: Translate'
2021-08-25 12:14:25 +02:00
the-djmaze b1f78361f6
Merge pull request #122 from Alphix/fix_issue_72
Fix issue #72
2021-08-25 12:02:51 +02:00
djmaze 5db8f032b8 Resolve issue #123 2021-08-25 12:00:50 +02:00
David Härdeman 17f107057a [snappymail] Rework FolderCollectionModel .js a bit
Following the previous bugfix, rework the .js code a bit to reduce the
amount of nested ifdeffery.
2021-08-25 00:24:53 +02:00
David Härdeman 0190170edd [snappymail] Include subfolders in folder list rebuild
Subfolders also need to be taken into consideration, otherwise
subfolder deletion/creation won't be reflected in the UI.

Fixes #72
2021-08-25 00:24:01 +02:00
David Härdeman b658b79264 [snappymail] Remove some more overuse of trim()
The FolderCreate() function also misses using trim() sometimes on
$sFolderParentFullNameRaw, so this should be more correct as well.
2021-08-24 23:20:27 +02:00
David Härdeman 542a1c9624 [snappymail] No need to call trim() twice
Mostly a cosmetic change, but stil.
2021-08-24 23:08:46 +02:00
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