mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-06 21:24:12 +08:00
Improved Nextcloud integration
This commit is contained in:
parent
2247be5026
commit
31d6666729
8 changed files with 16 additions and 8 deletions
|
@ -11,17 +11,17 @@ Thank you to all contributors to SnappyMail for nextcloud:
|
|||
|
||||
## How to Install
|
||||
|
||||
Start within Nextcloud, and click on the "+ Apps" button in the upper-left corner dropdown menu:
|
||||
Start within Nextcloud, and click on the "+ Apps" button in the upper-right corner dropdown menu:
|
||||
|
||||

|
||||
|
||||
Then, enable the SnappyMail plugin that you will find in the "Social & communication" section:
|
||||
|
||||

|
||||

|
||||
|
||||
After a quick wait, SnappyMail is installed. Now you should configure it before use: open the Nextcloud admin panel (upper-right corner dropdown menu) and go to "Additionnal settings". There, click on the "Go to SnappyMail Webmail admin panel" link.
|
||||
|
||||

|
||||

|
||||
|
||||
To enter SnappyMail admin area, the default login is "admin" and the default password will be generated in `[nextcloud-data]/app_snappymail/_data_/_default_/admin_password.txt`. Don't forget to change it once in the admin panel!
|
||||
|
||||
|
@ -34,7 +34,7 @@ From that point, all instance-wide SnappyMail settings can be tweaked as you wis
|
|||
SnappyMail for Nextcloud is highly configurable. But settings are available in multiple places and this can be misleading for first-time users.
|
||||
|
||||
### SnappyMail admin settings
|
||||
SnappyMail admin settings can be reached only by the Nextcloud administrator. Open the Nextcloud admin panel ("Admin" in the upper-right corner dropdown menu) and go to "Additionnal settings". There, click on the "Go to SnappyMail Webmail admin panel" link. Alternatively, you may use the following link: https://path.to.nextcloud/index.php/apps/snappymail/app/?admin.
|
||||
SnappyMail admin settings can be reached only by the Nextcloud administrator. Open the Nextcloud admin panel ("Admin" in the upper-right corner dropdown menu) and go to "Additionnal settings". There, click on the "Go to SnappyMail Webmail admin panel" link. Alternatively, you may use the following link: https://path.to.nextcloud/index.php/apps/snappymail/run/?admin.
|
||||
|
||||
SnappyMail admin settings include all settings that will apply to all SnappyMail users (default login rules, branding, management of plugins, security rules and domains).
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 7.9 KiB |
|
@ -61,10 +61,18 @@ There, click on the link to go to the SnappyMail admin panel.
|
|||
<lib>xxtea</lib>
|
||||
<lib>zip</lib>
|
||||
-->
|
||||
<nextcloud min-version="20" max-version="25" />
|
||||
<nextcloud min-version="20" max-version="26" />
|
||||
</dependencies>
|
||||
<settings>
|
||||
<admin>OCA\SnappyMail\Settings\AdminSettings</admin>
|
||||
<personal>OCA\SnappyMail\Settings\PersonalSettings</personal>
|
||||
</settings>
|
||||
<navigations>
|
||||
<navigation>
|
||||
<name>SnappyMail</name>
|
||||
<route>snappymail.page.index</route>
|
||||
<icon>logo-white-64x64.png</icon>
|
||||
<order>4</order>
|
||||
</navigation>
|
||||
</navigations>
|
||||
</info>
|
||||
|
|
|
@ -66,19 +66,19 @@ class Application extends App implements IBootstrap
|
|||
if (!\is_dir(\rtrim(\trim(\OC::$server->getSystemConfig()->getValue('datadirectory', '')), '\\/') . '/appdata_snappymail')) {
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
$container = $this->getContainer();
|
||||
$container->query('OCP\INavigationManager')->add(function () use ($container) {
|
||||
$urlGenerator = $container->query('OCP\IURLGenerator');
|
||||
return [
|
||||
'id' => 'snappymail',
|
||||
'order' => 10,
|
||||
'order' => 4,
|
||||
'href' => $urlGenerator->linkToRoute('snappymail.page.index'),
|
||||
'icon' => $urlGenerator->imagePath('snappymail', 'logo-white-64x64.png'),
|
||||
'name' => \OCP\Util::getL10N('snappymail')->t('Email')
|
||||
];
|
||||
});
|
||||
|
||||
*/
|
||||
$userSession = \OC::$server->getUserSession();
|
||||
$userSession->listen('\OC\User', 'postLogin', function($user, $loginName, $password, $isTokenLogin) {
|
||||
$config = \OC::$server->getConfig();
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
Binary file not shown.
Before Width: | Height: | Size: 23 KiB |
Binary file not shown.
Before Width: | Height: | Size: 13 KiB |
Binary file not shown.
Before Width: | Height: | Size: 56 KiB |
Loading…
Add table
Reference in a new issue