release: 0.2.0

This commit is contained in:
xeruf 2024-07-29 22:56:30 +03:00
parent e7bfc720db
commit 18fca1d0f3
4 changed files with 16 additions and 7 deletions

2
Cargo.lock generated
View File

@ -898,7 +898,7 @@ dependencies = [
[[package]] [[package]]
name = "mostr" name = "mostr"
version = "0.1.0" version = "0.2.0"
dependencies = [ dependencies = [
"colog", "colog",
"itertools", "itertools",

View File

@ -5,7 +5,7 @@ repository = "https://forge.ftt.gmbh/janek/mostr"
readme = "README.md" readme = "README.md"
license = "GPL 3.0" license = "GPL 3.0"
authors = ["melonion"] authors = ["melonion"]
version = "0.1.0" version = "0.2.0"
edition = "2021" edition = "2021"
default-run = "mostr" default-run = "mostr"
@ -18,4 +18,4 @@ log = "0.4.21"
colog = "1.3.0" colog = "1.3.0"
nostr-sdk = "0.30" nostr-sdk = "0.30"
tokio = { version = "1.0.0", features = ["rt", "rt-multi-thread", "macros"] } tokio = { version = "1.0.0", features = ["rt", "rt-multi-thread", "macros"] }
once_cell = "1.19.0" once_cell = "1.19.0"

View File

@ -6,11 +6,18 @@ A nested task chat, powered by nostr!
First, start a nostr relay, such as First, start a nostr relay, such as
- https://github.com/coracle-social/bucket for local development - https://github.com/coracle-social/bucket for local development
- rnostr for production use - https://github.com/rnostr/rnostr for production use
Run development build with:
cargo run cargo run
Creating a test task: nostril --envelope --content "test task" --kind 1630 | websocat ws://localhost:4736 Creating a test task:
`nostril --envelope --content "test task" --kind 1621 | websocat ws://localhost:4736`
Install latest build:
cargo install --path . --offline
## Principles ## Principles
@ -66,7 +73,7 @@ An active tag or state filter will also set that attribute for newly created tas
- TBI: `progress` - how many subtasks are complete - TBI: `progress` - how many subtasks are complete
- TBI: `progressp` - subtask completion in percent - TBI: `progressp` - subtask completion in percent
For debugging: `props` - Task Property Events For debugging: `props`, `alltags`
## Plans ## Plans
@ -76,7 +83,8 @@ For debugging: `props` - Task Property Events
- Unified Filter object - Unified Filter object
-> include sub -> include sub
- Time tracking: Active not as task state, ability to postpone task and add planned timestamps (calendar entry) - Time tracking: Active not as task state, ability to postpone task and add planned timestamps (calendar entry)
- Web Interface, Messenger integrations
- TUI - Clear terminal? - TUI - Clear terminal?
- Expiry (no need to fetch potential years of history) - Expiry (no need to fetch potential years of history)
- Offline caching
- Web Interface, Messenger integrations
- Relay: filter out task state updates within few seconds, also on client side - Relay: filter out task state updates within few seconds, also on client side

View File

@ -352,6 +352,7 @@ async fn main() {
} }
println!(); println!();
// TODO optionally continue
tasks.update_state("", |t| { tasks.update_state("", |t| {
if t.pure_state() == State::Active { if t.pure_state() == State::Active {
Some(State::Open) Some(State::Open)