Upgraded all dependencies, but downgraded sleekxmpp to “stable” version - 1.3.1 to fix TLS errors with Jabber. Ref: fritzy/SleekXMPP#462 There might be unreleased fix, but 1.3.1 seems Ok.
Possibly - use gettext within Jinja templates.
Don’t show –now– after a “ranged” appointment if the next one didn’t start, and the ranged - didn’t end.
- Search through all events in the calendar.
- Narrow down in consecutive queries, helm-like.
- Remember last search for X minutes.
Avoid shell-expansions etc. Try to keep it safe.
- someone created new event
- removed one (or changed status)
- rescheduled to different hour
- Hide headlines of private tags
- Print all available commands with their aliases
- Short description of each command.
detect date: 2018-08-10 mm-dd (this or next months in this year) mon, tue, wed, thu, fri, sat, sun (next) hh:mm - hour, minute And schedule using given date (or treat as appointment?)
Currently tunneled port breaks TLS domain checking. Certificate is for SRV record, not for JID domain. Update: I lacked pyasn1 on one server and it didn’t verify cert there at all. Where: sleekxmpp: cert.py / verify() gets expected from jid. tries to get srv from cert (but doesn’t; and can it?) Maybe my cert is bad but pidgin likes it.
- Note taken on [2018-06-02 Sat 11:24]
In progress; started converting old prints() and adding logging.
For answers like “why didn’t I get that important notification”
Alter orgnode and org helpers to store file&line of all org events during reading. Keep a start line and a last line of event.
- No required IDs.
- Change only those lines that need changing.
- Handle state change.
- Handle date updates: moving scheduled, deadline, other dates.
- in 2 days, in 2 hours, 2 days ago, etc.
- for scheduling: 2d, 2h, 1w2d.
- orgassist is not completely unique name.
- I’m trying to use gender neutral names.
- http://www.thesaurus.com/browse/assistant orgally? orgmate? botally, botmate seem taken
- “orgremote” is technical, but unique.
- “orgbot” is taken, but seems to be a dead repo.
Finally: Keeping “OrgAssist”. We even got logo! Thanks to TJ.
- other bot-interfaces: irc interface, email interface, web interface, android push-notification interface,
- caldav integration,
- rescheduling tasks and snoozing notifications using remote commands,
- intelligent capturing which handles tags and dates,
- changing task state,
email/password approach: https://github.com/carpedm20/fbchat
sleekxmpp approach: https://stackoverflow.com/questions/16902171/send-a-facebook-message-with-xmpp-using-access-tokens-in-python
- Watchout for spoofing: Detect boss by it’s address, not only a nickname.
- SASL support
- TLS support
http://python-irclib.sourceforge.net/
uses it’s own irc.py: https://github.com/rmmh/skybot/blob/master/core/irc.py https://github.com/sbp/phenny
- Use API key to identify boss?
- Local interface for easier integrations?
or maybe always show also “next after that” event?
Like: https://github.com/home-assistant/home-assistant
https://github.com/chubin/wttr.in
$ curl 'wttr.in/warsaw?0&q&T&lang=en' Warsaw, Poland \ / Sunny .-. 22-25 °C ― ( ) ― ← 7 km/h `-’ 10 km / \ 0.4 mm
Read your tasks from Jira. Notify on new, remind on current.
Pheh. Certainly doable, but makes sense only to let other people talk to your bot and schedule an appointment with you without using “commands”. Kind of obvious idea, requires a lot of data to train the network. I’m not interested currently in pursuing it.
defaults:
enable_commands:
# Send current agenda
- agenda
# What should I do next? (displays and selects the task)
- next
# Select one of the tasks to perform an action on it.
- select
# Remind me what am I supposed to be doing?
- now
# Mark selected task as done
- done
# status [done|todo|delegated] - set status
- status
# Take a fast note; it gets selected afterwards
- note
# Reschedule selected note (+1d, +1w, YYYY-MM-DD HH:MM)
- schedule
# Count me time on selected task
- clockin
# Clock me out
- clockout
- Start by appending a jinja template to inbox file.
- Note taken on [2018-05-30 Wed 18:48]
Works, but agenda format needs many fixes.