Commit graph

349 commits

Author SHA1 Message Date
djmaze 99c72ad9e6 Drop bootstrap .well and .pull-left
Reduce bootstrap .pull-right usage
2021-11-09 00:53:42 +01:00
djmaze e4e86d0347 Put a garbage collector in demo plugin 2021-11-08 17:52:40 +01:00
djmaze 70f9f0bd76 Improved demo mode plugin 2021-11-08 17:40:21 +01:00
djmaze 09a9a45e98 Cleanup plugin hooks README 2021-10-25 09:52:04 +02:00
djmaze 57dd0f7e2c Move TemproryApcStorage to demo-account plugin 2021-10-25 09:45:22 +02:00
djmaze 3945ab1349 Set umask(0077) by default to prevent any access to the _data_ dir 2021-10-22 17:42:58 +02:00
djmaze 617d700a5d Revamp NetClient (SMTP, IMAP, Sieve) login for rfc7628 OAuth plugin support 2021-10-22 12:45:14 +02:00
djmaze 12a07cce8c Resolve issue #82 by adding back all languages 2021-10-21 22:02:06 +02:00
djmaze 1b58e45b26 Added Polish language 2021-10-21 20:42:34 +02:00
djmaze d27e6fe97f Added Czech language 2021-10-21 20:39:11 +02:00
djmaze 16f9ec3c37 Added Russian language 2021-10-21 20:34:45 +02:00
djmaze 21a9e24233 Revert templateId to viewModelTemplateID for issue #150 2021-10-11 14:31:54 +02:00
djmaze 7ede8eeb4a Better solution for #150 2021-10-04 13:53:59 +02:00
djmaze db8ba85350 Resolve issue #150 2021-10-04 13:48:31 +02:00
djmaze df975ade72 .less to .css see comments #134 2021-08-30 09:43:18 +02:00
David Härdeman 4e28a7bb7b [snappymail] More changes to use the word "extensions" rather than plugins/packages 2021-08-27 23:49:03 +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
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 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
djmaze 212aeb6910 Prevent 'undefined' in php error log 2021-08-18 12:25:17 +02:00
djmaze b403f0579b v2.6.2 2021-08-17 15:14:55 +02:00
djmaze a3dc8ad639 Drop unused allow_html_editor_source_button 2021-08-16 18:18:11 +02:00
djmaze b7cb990b00 v2.6.0 2021-07-28 16:11:59 +02:00
djmaze 55a581f922 Resolved Issue #84 2021-07-23 16:21:06 +02:00
djmaze d1f43f49b7 Cleanup plugin languages 2021-07-23 16:18:23 +02:00
djmaze 8b760ef0d1 Get this plugin working 2021-07-23 15:58:54 +02:00
djmaze 2d1f99a8ce Get 2FA plugin somesort of working 2021-07-23 13:36:38 +02:00
djmaze 7d61f40fff improved some 2fa code based onmaster source changes 2021-07-22 22:14:26 +02:00
djmaze 0aab26383c Merge branch 'master' into plugin-2fa 2021-07-21 12:26:14 +02:00
djmaze 2aed429e5d Merge branch 'master' into OwnCloud 2021-07-20 20:47:44 +02:00
djmaze e13337e247 Cleanup styling and gulp merge @media queries 2021-07-20 16:45:55 +02:00
djmaze b8d594eb45 Move OwnCloud plugin to final destination 2021-07-17 08:56:09 +02:00
djmaze b0d7bab1b0 Move the NextCloud plugin to final destination 2021-07-17 08:53:50 +02:00
djmaze 65200af210 Added NextCloud
Taken from https://github.com/pierre-alain-b/snappymail-nextcloud
2021-07-17 08:38:21 +02:00
djmaze 2dde6c59eb Bugfix: \RainLoop\Utils::IsOwnCloudLoggedIn() undefined 2021-07-16 17:13:24 +02:00
djmaze 6e26c767c3 Changes for base OwnCloud/NextCloud
See https://github.com/the-djmaze/snappymail/issues/96
2021-07-16 16:27:19 +02:00
djmaze 5213b804d9 Some tiny changes 2021-07-16 16:24:07 +02:00
djmaze 7985eaa23a Merge branch 'master' into plugin-2fa 2021-07-14 12:51:54 +02:00
djmaze d67cfaa3a4 Resolve Issue #93 2021-05-31 16:19:01 +02:00
djmaze 0d5ea94934 Resolve #87
Resolve #85
2021-04-21 10:34:54 +02:00
djmaze 2ed328d07c Improved 2fa plugin 2021-04-14 15:33:37 +02:00
djmaze 7621ecbf2a improve 2fa plugin 2021-04-14 15:24:57 +02:00
djmaze c30de83da9 Merge branch 'master' into plugin-2fa 2021-04-14 14:38:13 +02:00
djmaze e112d1fd70 Change and document plugins hook system 2021-04-14 14:30:42 +02:00
djmaze 54d2fb93cc Prepare more 2fa data 2021-04-14 10:11:09 +02:00
djmaze d9bab28bfe #84 as plugin 2021-04-13 11:42:06 +02:00
djmaze 7fc279293c v2.5.0-rc.1 2021-04-08 16:02:41 +02:00
djmaze d2534b5ed9 Implemented: plugin CSS
RainLoop still had a TODO for implementing plugin CSS
This is now used by the CKEditor plugin
2021-04-01 21:01:35 +02:00
djmaze af3c79ce80 Moved CKEditor to be plugin 2021-03-25 13:35:15 +01:00
djmaze 2cf5fce562 Resolve Issue #61 2021-03-19 10:11:30 +01:00
djmaze 407a69e100 v2.4.0 2021-03-18 16:28:06 +01:00
djmaze 11fd6736bb Set response ErrorCode as iError for easier fetch error handling 2021-03-18 12:33:13 +01:00
djmaze 4a8d516123 Changed: StorageResultType to error result code 2021-03-16 09:46:23 +01:00
djmaze 6d0fa33022 Resolve Issue #51 2021-03-08 12:21:58 +01:00
djmaze addaede0df Improved password strength meter 2021-03-05 09:43:46 +01:00
the-djmaze c36b2ed839
Merge pull request #57 from dominiquefournier/patch-4
Error: preg_match_all(): Unknown modifier 'g'
2021-03-04 16:26:38 +01:00
dominiquefournier 986b424b5e
Update index.php : $oConfig() -> $oConfig 2021-03-04 15:27:07 +01:00
djmaze fbd333cf4a Bugfix: allow space in password
Bugfix: throw ClientException on failure
See #51
2021-03-04 15:23:38 +01:00
dominiquefournier ea1ce46f2d
Error: preg_match_all(): Unknown modifier 'g'
Error: preg_match_all(): Unknown modifier 'g'
2021-03-04 15:20:05 +01:00
djmaze a528c93d47 Bugfix password plugin properties 2021-03-04 15:15:21 +01:00
djmaze 0c8c28fe41 Bugfix: Undefined property ChangePasswordPlugin::$oLogger 2021-03-04 14:54:35 +01:00
djmaze a36cb17165 Issue #51
Added: visual password weakness meter
Bugfix: PasswordWeaknessCheck
2021-03-04 14:18:23 +01:00
djmaze 96ea4fdf0a Added config option for minimum passlength
Disable broken PasswordWeaknessCheck
See https://github.com/the-djmaze/snappymail/issues/51#issuecomment-790582737
2021-03-04 13:51:21 +01:00
djmaze 72988972a7 Bugfix: Undefined variable oAccount
https://github.com/the-djmaze/snappymail/issues/51#issuecomment-790419644
2021-03-04 12:20:06 +01:00
djmaze a1ad4a8f27 Improve plugin Description/README functionality 2021-03-04 12:15:11 +01:00
djmaze 1e13725768 Added: support plugins als .phar files 2021-03-04 11:56:26 +01:00
djmaze 514fe02619 v2.3.4 2021-03-03 11:53:11 +01:00
djmaze b8fd3df2e6 Issue #51 check if PDO is supported 2021-03-02 14:33:11 +01:00
djmaze 25958cd87a ChangePasswordDriverLDAP, see https://github.com/the-djmaze/snappymail/issues/51#issuecomment-788851329 2021-03-02 14:30:24 +01:00
djmaze c0e61bb0a2 Issue #51 added getSupportedDrivers() 2021-03-02 14:23:45 +01:00
djmaze 4d80671bf3 Improve Issue #51 2021-03-02 12:35:41 +01:00
djmaze 93f371e0ff Added PDO driver to the change-password plugin 2021-03-02 12:23:50 +01:00
djmaze bba0ac150a Moved the change-password plugin language strings 2021-03-01 12:42:34 +01:00
djmaze fb03687528 Revamp Issue #51 to make the whole "change password" thing a plugin 2021-03-01 00:52:46 +01:00
djmaze 1a82dde49b https://github.com/the-djmaze/snappymail/issues/51 2021-02-24 22:03:14 +01:00
djmaze b9b0a550d6 Release plugins as tar.gz because PharData is more common then ZipArchive 2021-02-10 09:50:20 +01:00
djmaze 7ccc44616d Small code cleanups and fix translations 2021-01-27 00:26:31 +01:00
djmaze 950579c7f5 Rename 'ajax' to 'json' because we don't use XML
We use json as response
2020-12-30 15:50:47 +01:00
Floris Westerman 0f30d33977
Added constructor to LDAP identities plugin
Without the constructor, SnappyMail would crash when using custom language features. This is now resolved.
2020-11-26 23:56:36 +01:00
djmaze 2047525ce6 Fix filename 2020-11-25 14:39:46 +01:00
djmaze 1670ca0db1 Checked merge https://github.com/the-djmaze/snappymail/pull/40
Some small formatting changes for ldap identities
FWest98 accidentally removed `case 'suggestions': $mResult = [];` in fabrica?
2020-11-13 09:56:40 +01:00
Floris Westerman e46c3b10ec
Fixing indentation 2020-11-10 11:52:55 +01:00
Floris Westerman 427d909783
Add early exit when no groups are configured 2020-11-10 11:52:55 +01:00
Floris Westerman abe058943e
Add ldap identities plugin 2020-11-10 11:52:55 +01:00
djmaze d0f686c657 Rename basefolder 'rainloop' to 'snappymail'
this prevents conflicts with original rainloop
2020-10-15 16:21:52 +02:00
djmaze 5009adfb60 Resolve issue #5 2020-08-30 18:04:54 +02:00
djmaze 412d69ce75 Removed jquery-backstretch that handled the UserBackground
The UserBackground is now handled with CSS3 on body.thm-body
This allowed me to remove the #rl-bg so that the "video-on-login-screen" plugin will not work indefinitely.
2020-07-13 15:47:19 +02:00
djmaze aae7883b99 Bugfix: bootstrap jQuery('#') syntax error
Changed: use ES2015
Changed: gulp uglify to terser
Removed: ChangePassword
Removed: nanoscroll
Removed: JS polyfills
2020-03-13 15:30:39 +01:00
djmaze 6e0d0b3b6e CRLF to LF 2020-03-11 14:17:52 +01:00
djmaze 4468d5bd22 Removed: twitter, google, dropbox, facebook, owncloud, modernizr from JavaScript 2020-03-11 12:55:03 +01:00
RainLoop Team 66b23747c7
Merge pull request #1888 from hifihedgehog/master
Added CyberPanel password changing plugin
2019-08-01 00:15:39 +03:00
hifihedgehog 4c1a7a41a8
Update VERSION 2019-07-31 15:48:28 -04:00
hifihedgehog 4640e1941b
Increased cost/rounds to 12 for enhanced security 2019-07-31 15:46:44 -04:00
Nicolas B fdaefab7cb
code review
correction after review: use the temporary variable instead of recalculating the JQuery node
2019-07-31 12:31:36 +02:00
Nicolas B b0cf16ace4
Add files via upload
Fixes a regression of plugin contact-group-excel-paste since an update of rainloop that modified CSS classes and JavaScript of autocomplete fields
2019-07-30 23:10:07 +02:00
hifihedgehog d75641c367
Update ChangePasswordCyberPanel.php 2019-07-26 15:56:43 -04:00
hifihedgehog d683da256f
Update README.md 2019-07-26 10:06:07 -04:00
hifihedgehog cf63417374
Update README 2019-07-26 10:04:00 -04:00
hifihedgehog 03e4f4fc9c
Update README.md 2019-07-26 10:02:25 -04:00
hifihedgehog d4fdac74e6
Tweaked wording and edited grammar 2019-07-26 10:02:15 -04:00
hifihedgehog e157fb02a5
Update ChangePasswordCyberPanel.php 2019-07-26 09:59:05 -04:00
hifihedgehog e84c2742e8
Fixed minor typo 2019-07-26 09:34:55 -04:00
hifihedgehog a6e70256ea
Added escaping of special characters 2019-07-26 09:33:31 -04:00
hifihedgehog 4b00ef72d4
Update index.php 2019-07-25 16:54:15 -04:00
hifihedgehog 81449eb59d
Update ChangePasswordCyberPanel.php 2019-07-25 16:53:09 -04:00
hifihedgehog 36059e960d
Cleaned up code formatting from upload 2019-07-25 16:52:26 -04:00
hifihedgehog fe197ab440
Added CyberPanel password changing plugin 2019-07-25 12:22:42 -04:00
RainLoop Team 450528ff00 Add prettier 2019-07-04 22:09:27 +03:00
RainLoop Team 7a227a532d Merge branch 'master' of support_rainloop_net.github.com:RainLoop/rainloop-webmail 2019-03-28 01:52:09 +03:00
RainLoop Team 909cd45769 Small fixes 2019-03-28 01:44:29 +03:00
RainLoop Team 2f6a1637f1
Merge pull request #1342 from korukugashi/feat-contact-group-excel
creation of plugin that handle paste multi row mail addresses into a …
2019-03-28 01:29:03 +03:00
RainLoop Team 860ac47f6c Small improvements 2019-03-28 01:26:34 +03:00
RainLoop Team 4235d95a39
Merge pull request #1690 from grizmin/master
start tls and gecos
2019-03-28 01:24:06 +03:00
RainLoop Team 957e393d3b
Merge pull request #1716 from lindolfomeira/ldap-contacts-suggestions
Added support to additional search field (defaults to "uid")
2019-03-28 01:19:48 +03:00
RainLoop Team 2faf418f27
Merge pull request #1802 from PlanetHoster/auto-grab-mx
auto-domain-grab use MX record for Host
2019-03-28 01:15:57 +03:00
RainLoop Team 62e6fb7317
Merge pull request #1804 from imt-mines-albi/ldap-contacts-suggestions-allow-anonymous-bind
ldap-contacts-suggestions: Allow anonymous ldap_bind()
2019-03-28 01:14:55 +03:00
RainLoop Team d717b96800
Merge pull request #1833 from TheAssailant/patch-1
Use `random_bytes` if available in postfix plugin
2019-03-28 01:14:02 +03:00
Ernesto Serrano b8ad70a8e3
Update index.php 2019-03-14 14:45:19 +01:00
Ernesto Serrano e1768a13dc Added generic REST plugin 2019-03-10 17:15:45 +01:00
Paul Borges 4890249b5a
Use random_bytes if available in postfix plugin
The [PHP `str_shuffle()`](http://php.net/manual/en/function.str-shuffle.php) documentation states:

```
This function does not generate cryptographically secure values, and should not be used for cryptographic purposes.
```

This change makes use of [`random_bytes()`](http://php.net/manual/en/function.random-bytes.php) if it's available and falls back to the old (probably ok) `str_shuffle()` implementation.
2019-02-06 15:06:09 -05:00
imt-mines-albi bb602a52a3 ldap-contacts-suggestions: Allow anonymous ldap_bind() if bind DN is not filled up in plugin config 2018-11-30 12:54:28 +00:00
Gabriel P 134c99624c update comment 2018-11-29 12:26:22 -05:00
Gabriel P 2898ecc5e0 auto-domain-grab use MX record for Host 2018-11-29 12:00:25 -05:00
rolfen 32ccf8c76f improve description 2018-10-20 15:40:11 +00:00
rolfen 353964e729 working version 2018-10-20 15:13:05 +00:00
rolfen b17e5dd11d try to plug the hole in the custom sql plugin 2018-10-20 12:35:57 +00:00
Lindolfo Meira 075b841b84 Added support to additional search field (defaults to "uid") 2018-06-06 19:02:43 -03:00
Konstantin Krastev 04bfe2686f * added start_tls support
* added gecos token for use in user DN in case your user accounts are using cn as rdn.
2018-05-08 23:43:31 +03:00
RainLoop Team c4b7de0ad4
Merge pull request #1534 from cdgco/patch-1
Update Vesta Plugin
2018-02-21 02:28:52 +03:00
RainLoop Team c3ff2ab116
Merge pull request #1634 from abbatis/master
Hotfix plugins/auto-domain-grab/index.php
2018-02-21 02:10:29 +03:00
RainLoop Team 11989a4c28
Merge pull request #1584 from mwohlert/ChangePasswordPostfix-PostgresSQL
Add PostgreSQL to postfixadmin-change-password Plugin
2018-02-21 02:08:17 +03:00
RainLoop Team ef601cb4f2
Merge pull request #1491 from mariogrip/mailinabox-change-password
Add change email account password plugin for Mail-in-a-Box
2018-02-21 02:04:14 +03:00
Abbatis 4ba90c115e
Update index.php 2018-02-03 13:15:55 +01:00
Abbatis 8c90bd9e46
Update index.php 2018-02-03 13:01:50 +01:00
kromonos 6d88a93975
Add files via upload 2017-12-19 00:11:13 +01:00