Compare commits

..

4 commits

Author SHA1 Message Date
968ca355df chore: Ignore _* files
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-18 21:33:24 +02:00
96ddf06817 doc: Change CICD badge in README 2022-08-18 21:33:03 +02:00
858eaee5a7 fix: Improve template readability 2022-08-18 21:32:42 +02:00
5dfea6c063 doc: Add information about nextcloud 2022-08-18 21:31:45 +02:00
4 changed files with 101 additions and 23 deletions

4
.gitignore vendored
View file

@ -1,6 +1,8 @@
/node_modules /node_modules
/musala-mail /musala
/bin /bin
/vendor /vendor
/tmp /tmp
/_*
.env .env

View file

@ -1,6 +1,6 @@
# <img src="doc/logo-title-paths.svg" width="50%" style="display: block; margin: 0 auto;" alt="Musala" /> # <img src="doc/logo-title-paths.svg" width="50%" style="display: block; margin: 0 auto;" alt="Musala" />
![Build](https://github.com/glenux/musala/workflows/build/badge.svg?branch=master) [![Build Status](https://cicd.apps.glenux.net/api/badges/glenux/musala/status.svg)](https://cicd.apps.glenux.net/glenux/musala)
[![GitHub license](https://img.shields.io/github/license/glenux/musala.svg)](https://github.com/glenux/musala/blob/master/LICENSE.txt) [![GitHub license](https://img.shields.io/github/license/glenux/musala.svg)](https://github.com/glenux/musala/blob/master/LICENSE.txt)
[![Donate on patreon](https://img.shields.io/badge/patreon-donate-orange.svg)](https://patreon.com/glenux) [![Donate on patreon](https://img.shields.io/badge/patreon-donate-orange.svg)](https://patreon.com/glenux)

12
doc/nextcloud-auth.md Normal file
View file

@ -0,0 +1,12 @@
# Nextcloud API
Read https://docs.nextcloud.com/server/latest/developer_manual/client_apis/LoginFlow/index.html
Step 1
$ curl -X POST https://cloud.apps.glenux.net/index.php/login/v2
Step 2

View file

@ -1,11 +1,12 @@
<mjml> <mjml>
<mj-head> <mj-head>
<mj-style inline="inline"> <mj-style inline="inline">
.footer-link { color: white !important; font-weight: bold; text-decoration: underline !important; } .footer-link { color: white !important; font-weight: bold; text-decoration: underline !important; }
</mj-style> </mj-style>
</mj-head> </mj-head>
<mj-body> <mj-body>
<!-- section 1 -->
<mj-section> <mj-section>
<mj-group> <mj-group>
<mj-column> <mj-column>
@ -15,41 +16,104 @@
<mj-text font-size="20px" color="#F45E43" font-family="helvetica" align="center"> <mj-text font-size="20px" color="#F45E43" font-family="helvetica" align="center">
Mardi 28 aout 2020 Mardi 28 aout 2020
</mj-text> </mj-text>
<mj-button href="#" font-family="Helvetica" background-color="#f45e43" color="white">Visit Board <mj-button href="#" font-family="Helvetica" background-color="#f45e43" color="white">Visit Musala
</mj-button> </mj-button>
</mj-column> </mj-column>
</mj-group> </mj-group>
</mj-section> </mj-section>
<!-- Title section -->
<mj-section> <mj-section>
<mj-column> <mj-column>
<mj-divider border-color="#F45E43"></mj-divider> <mj-divider border-color="#F45E43"></mj-divider>
<mj-text font-size="20px" color="#F45E43" font-family="helvetica" align="center"> <mj-text font-size="24px" color="#F45E43" font-family="helvetica" align="center">
Your daily task list for Your daily task list
</mj-text>
<mj-text font-size="24px" font-weight="bold" color="#F45E43" font-family="helvetica" align="center">
BC.Business.Operational
</mj-text> </mj-text>
<mj-divider border-color="#F45E43"></mj-divider> <mj-divider border-color="#F45E43"></mj-divider>
</mj-column> </mj-column>
</mj-section> </mj-section>
<mj-section>
<mj-column> <!-- Chapter -->
<mj-button font-size="20px" font-family="Helvetica" font-weight="bold" background-color="#f45e43" align="left" color="white">Topic ABC <mj-section>
<mj-column>
<mj-button font-size="20px" font-family="Helvetica" font-weight="bold" background-color="#f45e43" align="left" color="white">Late
</mj-button> </mj-button>
<mj-text font-size="16px" color="#666" padding-bottom="0" font-family="helvetica" font-weight="bold" align="left">
Topic dsfsdfs <mj-text font-size="16px" color="#666" padding-bottom="0" font-family="helvetica" align="left" line-height="1.25">
</mj-text> <p style="margin: 0 0 4px 0;"><b>Super task number one</b></p>
<mj-text font-size="16px" color="#666" font-family="helvetica" align="left"> <p style="margin: 0 0 4px 0; color: #bbb; font-size: 14px;"><b>Draft</b> on <b>cloud.boldcode.io</b> &ndash; Due for 2001-10-10</p>
Lorem ipsum dolor sit amet, blablablabla <a href="rezrez">&gt;&gt; see more</a> <p style="margin: 0 0 4px 0; ">Lorem ipsum dolor sit amet, blablablabla, lorem ipsum dolor sit amet, blablablabla, lorem ipsum dolor sit amet, blablablabla &blacksquare; <a href="#rezrez" style="color: #f45e43;">read more</a></p>
</mj-text> </mj-text>
<mj-text font-size="16px" color="#666" padding-bottom="0" font-family="helvetica" align="left" line-height="1.25">
<p style="margin: 0 0 4px 0;"><b>Super task number one</b></p>
<p style="margin: 0 0 4px 0; color: #bbb; font-size: 14px;"><b>Draft</b> on <b>cloud.boldcode.io</b> &ndash; Due for 2001-10-10</p>
<p style="margin: 0 0 4px 0; ">Lorem ipsum dolor sit amet, blablablabla, lorem ipsum dolor sit amet, blablablabla, lorem ipsum dolor sit amet, blablablabla &blacksquare; <a href="#rezrez" style="color: #f45e43;">read more</a></p>
</mj-text>
<mj-text font-size="16px" color="#666" padding-bottom="0" font-family="helvetica" align="left" line-height="1.25">
<p><b>Super task number one</b><br/></p>
<p>Lorem ipsum dolor sit amet, blablablabla <a href="rezrez">&gt;&gt; see more</a></p>
</mj-text>
</mj-column> </mj-column>
</mj-section> </mj-section>
<!-- Chapter -->
<mj-section>
<mj-column>
<mj-button font-size="20px" font-family="Helvetica" font-weight="bold" background-color="#f45e43" align="left" color="white">Today
</mj-button>
<mj-text font-size="16px" color="#666" padding-bottom="0" font-family="helvetica" align="left">
<p><b>Super task number one</b></p>
<p font-size="14px">Lorem ipsum dolor sit amet, blablablabla <a href="rezrez">&gt;&gt; see more</a></p>
</mj-text>
<mj-text font-size="16px" color="#666" padding-bottom="0" font-family="helvetica" align="left">
<p><b>Super task number one</b><br/></p>
<p>Lorem ipsum dolor sit amet, blablablabla <a href="rezrez">&gt;&gt; see more</a></p>
</mj-text>
<mj-text font-size="16px" color="#666" padding-bottom="0" font-family="helvetica" align="left">
<p><b>Super task number one</b><br/></p>
<p>Lorem ipsum dolor sit amet, blablablabla <a href="rezrez">&gt;&gt; see more</a></p>
</mj-text>
</mj-column>
</mj-section>
<!-- Chapter -->
<mj-section>
<mj-column>
<mj-button font-size="20px" font-family="Helvetica" font-weight="bold" background-color="#f45e43" align="left" color="white">This week
</mj-button>
<mj-text font-size="16px" color="#666" padding-bottom="0" font-family="helvetica" align="left">
<p><b>Super task number one</b></p>
<p font-size="14px">Lorem ipsum dolor sit amet, blablablabla <a href="rezrez">&gt;&gt; see more</a></p>
</mj-text>
<mj-text font-size="16px" color="#666" padding-bottom="0" font-family="helvetica" align="left">
<p><b>Super task number one</b><br/></p>
<p>Lorem ipsum dolor sit amet, blablablabla <a href="rezrez">&gt;&gt; see more</a></p>
</mj-text>
<mj-text font-size="16px" color="#666" padding-bottom="0" font-family="helvetica" align="left">
<p><b>Super task number one</b><br/></p>
<p>Lorem ipsum dolor sit amet, blablablabla <a href="rezrez">&gt;&gt; see more</a></p>
</mj-text>
</mj-column>
</mj-section>
<!-- footer -->
<mj-section> <mj-section>
<mj-column background-color="white" inner-background-color="#f45e43" padding-right="20px" padding-left="20px"> <mj-column background-color="white" inner-background-color="#f45e43" padding-right="20px" padding-left="20px">
<mj-text font-size="16px" color="#ffffff" font-family="helvetica" align="left" > <mj-text font-size="16px" color="#ffffff" font-family="helvetica" align="left">
To stop receiving these emails, you can change your <a href="#" class="footer-link">notification preferences</a> in <a href="#" class="footer-link">Musala</a>. To stop receiving these emails, you can change your <a href="#" class="footer-link">notification preferences</a> in <a href="#" class="footer-link">Musala</a>.
</mj-text> </mj-text>
</mj-column> </mj-column>
</mj-section> </mj-section>
</mj-body> </mj-body>
</mjml> </mjml>