Compare commits
No commits in common. "develop" and "master" have entirely different histories.
7 changed files with 43 additions and 224 deletions
29
.drone.yml
29
.drone.yml
|
@ -1,29 +0,0 @@
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Frontend
|
|
||||||
image: node:18
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /stupid
|
|
||||||
commands:
|
|
||||||
- pwd
|
|
||||||
- make build-templates
|
|
||||||
|
|
||||||
- name: Backend
|
|
||||||
image: golang:1.13
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /stupid
|
|
||||||
commands:
|
|
||||||
- pwd
|
|
||||||
- go get -v -t -d ./...
|
|
||||||
- make build-binaries
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
temp: {}
|
|
||||||
#
|
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,8 +1,6 @@
|
||||||
/node_modules
|
/node_modules
|
||||||
/musala
|
/musala-mail
|
||||||
/bin
|
/bin
|
||||||
/vendor
|
/vendor
|
||||||
/tmp
|
/tmp
|
||||||
/_*
|
|
||||||
.env
|
.env
|
||||||
|
|
||||||
|
|
61
README.md
61
README.md
|
@ -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 Status](https://cicd.apps.glenux.net/api/badges/glenux/musala/status.svg?ref=refs/heads/develop)](https://cicd.apps.glenux.net/glenux/musala)
|
![Build](https://github.com/glenux/musala/workflows/build/badge.svg?branch=master)
|
||||||
[![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)
|
||||||
|
|
||||||
|
@ -10,46 +10,33 @@ Note: _musala_ means _work, occupation_ [in Lingala](https://dic.lingala.be/fr/m
|
||||||
|
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
Multiple task sources & destinations:
|
Task sources:
|
||||||
|
|
||||||
* :heavy_check_mark: __Trello__
|
* :heavy_check_mark: __Trello__
|
||||||
* :x: Nextcloud Deck (not yet)
|
* :x: Nextcloud Deck (not yet) - [API Reference](https://github.com/nextcloud/deck/blob/master/docs/API.md)
|
||||||
/ Wekan (not yet)
|
* :x: Wekan (not yet) - [API Reference](https://github.com/wekan/wekan/wiki/REST-API)
|
||||||
/ Gitea / Forgejo (not yet)
|
* :x: Libreboard (not yet)
|
||||||
/ Libreboard (not yet)
|
* :x: Github Projects (not yet)
|
||||||
/ Github Projects (not yet)
|
|
||||||
|
|
||||||
Board Data selection:
|
Source selection
|
||||||
|
|
||||||
* :heavy_check_mark: __All boards__
|
* :heavy_check_mark: __All of them__
|
||||||
/ __Favorited boards__
|
* :heavy_check_mark: __Favorited boards__
|
||||||
/ __Only selected ones__
|
* :heavy_check_mark: __Only selected ones__
|
||||||
|
|
||||||
Task actions:
|
|
||||||
|
|
||||||
* :heavy_check_mark: __List tasks__
|
|
||||||
* :x: Create task
|
|
||||||
/ Read task
|
|
||||||
/ Update task
|
|
||||||
/ Remove task
|
|
||||||
|
|
||||||
Delivery via:
|
Delivery via:
|
||||||
|
|
||||||
* :heavy_check_mark: __E-mail__
|
* :heavy_check_mark: __E-mail__
|
||||||
* :x: Terminal
|
* :x: Telegram
|
||||||
/ Webhook
|
* :x: Slack
|
||||||
/ UnifiedPush
|
* :x: SMS
|
||||||
/ Telegram
|
* :x: Whatsapp
|
||||||
/ Slack
|
* :x: IRC
|
||||||
/ SMS
|
|
||||||
/ Whatsapp
|
|
||||||
/ IRC
|
|
||||||
|
|
||||||
UI for task management:
|
User interface for account configuration
|
||||||
|
|
||||||
* :heavy_check_mark: Simple CLI + environment variables
|
* :heavy_check_mark: Command line + environment variables
|
||||||
* :x: Composable CLI + environment variables
|
* :x: Web app
|
||||||
/ Web UI
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
@ -57,11 +44,7 @@ UI for task management:
|
||||||
|
|
||||||
Make sure you have Go installed, then type:
|
Make sure you have Go installed, then type:
|
||||||
|
|
||||||
$ go install github.com/glenux/musala/...@master
|
$ go install github.com/glenux/musala/...
|
||||||
|
|
||||||
or
|
|
||||||
|
|
||||||
$ go install code.apps.glenux.net/glenux/musala/...@master
|
|
||||||
|
|
||||||
It will install Musala Mail binary in `$GOPATH/bin`
|
It will install Musala Mail binary in `$GOPATH/bin`
|
||||||
|
|
||||||
|
@ -143,9 +126,6 @@ Then run the program:
|
||||||
|
|
||||||
Got questions? Need help? Tweet at [@glenux](https://twitter.com/glenux)
|
Got questions? Need help? Tweet at [@glenux](https://twitter.com/glenux)
|
||||||
|
|
||||||
## Thanks
|
|
||||||
|
|
||||||
Thanks to Tamim & Stephanie for watching me updating this project.
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
@ -156,7 +136,4 @@ Musala is Copyright © 2018-2021 Glenn ROLLAND. It is free software, and may be
|
||||||
Following projects may also inspire you:
|
Following projects may also inspire you:
|
||||||
|
|
||||||
* [72nd/deck-cli](https://github.com/72nd/deck-cli): a command-line tool for interacting with Nextcloud's Deck Plugin by using it's API
|
* [72nd/deck-cli](https://github.com/72nd/deck-cli): a command-line tool for interacting with Nextcloud's Deck Plugin by using it's API
|
||||||
* [Nextcloud API Reference](https://github.com/nextcloud/deck/blob/master/docs/API.md)
|
|
||||||
* [Wekan API Reference](https://github.com/wekan/wekan/wiki/REST-API)
|
|
||||||
* [Gitea API Usage](https://docs.gitea.io/en-us/api-usage/) and [Gitea API Reference](https://try.gitea.io/api/swagger)
|
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
../contrib-trello
|
/home/warbrain/src/Contrib/contrib-trello
|
|
@ -1,51 +0,0 @@
|
||||||
# Composable functions
|
|
||||||
|
|
||||||
## Example
|
|
||||||
|
|
||||||
### With pipes
|
|
||||||
|
|
||||||
musala-pull SOURCE \
|
|
||||||
| musala-add TASK \
|
|
||||||
| musala-remove --purge SOMETASK \
|
|
||||||
| musala-push DEST
|
|
||||||
|
|
||||||
### With internal filters
|
|
||||||
|
|
||||||
Also writeable like
|
|
||||||
|
|
||||||
musala pull SOURCE % add TASK1 % remove --purge TASK2 % push DEST
|
|
||||||
|
|
||||||
|
|
||||||
## Commands
|
|
||||||
|
|
||||||
### musala pull
|
|
||||||
|
|
||||||
Download all tasks from source
|
|
||||||
|
|
||||||
Get tasks from remote source
|
|
||||||
|
|
||||||
Writes tasks as JSON to stdout
|
|
||||||
|
|
||||||
### musala add
|
|
||||||
|
|
||||||
Add new task
|
|
||||||
|
|
||||||
Get tasks from stdin (json)
|
|
||||||
|
|
||||||
Add a new task
|
|
||||||
|
|
||||||
Writes tasks as JSON to stdout
|
|
||||||
|
|
||||||
### musala remove
|
|
||||||
|
|
||||||
* Get tasks from stdin (json)
|
|
||||||
* Mark a task as removed
|
|
||||||
* Remove tasks marked as remove (if --purge enabled)
|
|
||||||
* Writes tasks as JSON to stdout
|
|
||||||
|
|
||||||
### musala push
|
|
||||||
|
|
||||||
* Get tasks from stdin (json)
|
|
||||||
* Writes tasks to REMOTE DESTINATION
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
</mj-head>
|
</mj-head>
|
||||||
|
|
||||||
<mj-body>
|
<mj-body>
|
||||||
<!-- section 1 -->
|
|
||||||
<mj-section>
|
<mj-section>
|
||||||
<mj-group>
|
<mj-group>
|
||||||
<mj-column>
|
<mj-column>
|
||||||
|
@ -16,97 +15,35 @@
|
||||||
<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 Musala
|
<mj-button href="#" font-family="Helvetica" background-color="#f45e43" color="white">Visit Board
|
||||||
</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="24px" color="#F45E43" font-family="helvetica" align="center">
|
<mj-text font-size="20px" color="#F45E43" font-family="helvetica" align="center">
|
||||||
Your daily task list
|
Your daily task list for
|
||||||
|
</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>
|
||||||
|
|
||||||
<!-- Chapter -->
|
|
||||||
<mj-section>
|
<mj-section>
|
||||||
<mj-column>
|
<mj-column>
|
||||||
<mj-button font-size="20px" font-family="Helvetica" font-weight="bold" background-color="#f45e43" align="left" color="white">Late
|
<mj-button font-size="20px" font-family="Helvetica" font-weight="bold" background-color="#f45e43" align="left" color="white">Topic ABC
|
||||||
</mj-button>
|
</mj-button>
|
||||||
|
<mj-text font-size="16px" color="#666" padding-bottom="0" font-family="helvetica" font-weight="bold" align="left">
|
||||||
<mj-text font-size="16px" color="#666" padding-bottom="0" font-family="helvetica" align="left" line-height="1.25">
|
Topic dsfsdfs
|
||||||
<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> – 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 ▪ <a href="#rezrez" style="color: #f45e43;">read more</a></p>
|
|
||||||
</mj-text>
|
</mj-text>
|
||||||
|
<mj-text font-size="16px" color="#666" font-family="helvetica" align="left">
|
||||||
<mj-text font-size="16px" color="#666" padding-bottom="0" font-family="helvetica" align="left" line-height="1.25">
|
Lorem ipsum dolor sit amet, blablablabla <a href="rezrez">>> see more</a>
|
||||||
<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> – 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 ▪ <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">>> see more</a></p>
|
|
||||||
</mj-text>
|
</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">>> 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">>> 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">>> 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">>> 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">>> 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">>> 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" >
|
||||||
|
@ -114,6 +51,5 @@
|
||||||
</mj-text>
|
</mj-text>
|
||||||
</mj-column>
|
</mj-column>
|
||||||
</mj-section>
|
</mj-section>
|
||||||
|
|
||||||
</mj-body>
|
</mj-body>
|
||||||
</mjml>
|
</mjml>
|
||||||
|
|
Loading…
Reference in a new issue