jan-pona-mute.git
5 years agoFix show with no argument (used after post)
Alex Schroeder [Mon, 19 Aug 2019 19:01:50 +0000 (21:01 +0200)]
Fix show with no argument (used after post)

5 years agoCompletion added
Alex Schroeder [Mon, 19 Aug 2019 18:47:32 +0000 (20:47 +0200)]
Completion added

The following commands now complete:

- delete
- edit
- preview

Notes are no longer referred to by number but by name (with
completion).

Catch errors when pager or editor aren't found.

Catch error when posting nothing.

5 years agoImprove doc strings
Alex Schroeder [Mon, 19 Aug 2019 12:09:18 +0000 (14:09 +0200)]
Improve doc strings

5 years agoREADME: recommend my own diaspy repo
Alex Schroeder [Mon, 19 Aug 2019 12:09:05 +0000 (14:09 +0200)]
README: recommend my own diaspy repo

5 years agoAdd m shortcut
Alex Schroeder [Sun, 18 Aug 2019 19:22:02 +0000 (21:22 +0200)]
Add m shortcut

5 years agoSupport commands with arguments
Alex Schroeder [Sun, 18 Aug 2019 19:21:33 +0000 (21:21 +0200)]
Support commands with arguments

Pager and editor can now be complexer comands.

5 years agoChanged how notifications get loaded
Alex Schroeder [Sun, 18 Aug 2019 18:27:15 +0000 (20:27 +0200)]
Changed how notifications get loaded

Change 'notifications reload' to 'notifications update'.

The latest change requires a change in diaspy: we need a __len__ on
Notifications.

5 years agoSort notes and drop Emacs backup files
Alex Schroeder [Thu, 15 Aug 2019 22:09:36 +0000 (00:09 +0200)]
Sort notes and drop Emacs backup files

5 years agoREADME: document next and previous
Alex Schroeder [Thu, 15 Aug 2019 15:21:42 +0000 (17:21 +0200)]
README: document next and previous

5 years agoAdd BUGS and PLANS
Alex Schroeder [Thu, 15 Aug 2019 15:09:41 +0000 (17:09 +0200)]
Add BUGS and PLANS

5 years agoAdd next and pevious commands
Alex Schroeder [Thu, 15 Aug 2019 15:09:30 +0000 (17:09 +0200)]
Add next and pevious commands

5 years agoAdd debug command
Alex Schroeder [Thu, 15 Aug 2019 14:47:25 +0000 (16:47 +0200)]
Add debug command

5 years agoHandle deleted posts
Alex Schroeder [Thu, 15 Aug 2019 11:28:04 +0000 (13:28 +0200)]
Handle deleted posts

5 years agoREADME: add more details about installation
Alex Schroeder [Thu, 15 Aug 2019 10:39:52 +0000 (12:39 +0200)]
README: add more details about installation

5 years agoREADME: add TOC
Alex Schroeder [Thu, 15 Aug 2019 10:36:42 +0000 (12:36 +0200)]
README: add TOC

5 years agoREADME: add reference
Alex Schroeder [Thu, 15 Aug 2019 10:34:35 +0000 (12:34 +0200)]
README: add reference

5 years agoAdd post deletion
Alex Schroeder [Thu, 15 Aug 2019 10:33:42 +0000 (12:33 +0200)]
Add post deletion

5 years agoAdd lot of extra prints to make things intelligible
Alex Schroeder [Thu, 15 Aug 2019 09:52:53 +0000 (11:52 +0200)]
Add lot of extra prints to make things intelligible

5 years agoSort posts before selecting one by number
Alex Schroeder [Thu, 15 Aug 2019 09:52:39 +0000 (11:52 +0200)]
Sort posts before selecting one by number

5 years agoFix wording of notifications reload
Alex Schroeder [Thu, 15 Aug 2019 09:52:13 +0000 (11:52 +0200)]
Fix wording of notifications reload

5 years agoNote what we're doing during login
Alex Schroeder [Thu, 15 Aug 2019 09:27:55 +0000 (11:27 +0200)]
Note what we're doing during login

Login can take a moment so print some status information.

5 years agoAdd post command
Alex Schroeder [Thu, 15 Aug 2019 09:23:23 +0000 (11:23 +0200)]
Add post command

Allow posting from notes and directly. Sort posts by creation date.

5 years agoNo longer call notifications after login
Alex Schroeder [Thu, 15 Aug 2019 09:22:43 +0000 (11:22 +0200)]
No longer call notifications after login

This should be up to the user.

5 years agoAllow redefinition of shortcuts
Alex Schroeder [Wed, 14 Aug 2019 12:55:09 +0000 (14:55 +0200)]
Allow redefinition of shortcuts

5 years agoAdd home command
Alex Schroeder [Wed, 14 Aug 2019 12:30:01 +0000 (14:30 +0200)]
Add home command

5 years agoREADME: add diaspy links
Alex Schroeder [Wed, 14 Aug 2019 11:39:15 +0000 (13:39 +0200)]
README: add diaspy links

5 years agoREADME: update rc filenames
Alex Schroeder [Wed, 14 Aug 2019 11:15:29 +0000 (13:15 +0200)]
README: update rc filenames

5 years agoREADME: fix markup
Alex Schroeder [Wed, 14 Aug 2019 11:13:55 +0000 (13:13 +0200)]
README: fix markup

5 years agoREADME: add example with preview
Alex Schroeder [Wed, 14 Aug 2019 10:59:05 +0000 (12:59 +0200)]
README: add example with preview

5 years agoAdd preview command
Alex Schroeder [Wed, 14 Aug 2019 10:58:53 +0000 (12:58 +0200)]
Add preview command

5 years agoMove reading notes into a separate function
Alex Schroeder [Wed, 14 Aug 2019 10:58:28 +0000 (12:58 +0200)]
Move reading notes into a separate function

5 years agoRemove the comment from the post after undo
Alex Schroeder [Wed, 14 Aug 2019 10:40:46 +0000 (12:40 +0200)]
Remove the comment from the post after undo

The undo case (delete comment x from y) is now handled like the normal
case (delete comment z) in that we update the comments of the post
such as to remove the deleted comment. This fixes the display using
the comments command.

5 years agoFix posting a comment from a note
Alex Schroeder [Wed, 14 Aug 2019 10:40:09 +0000 (12:40 +0200)]
Fix posting a comment from a note

This read the comment and but still posted the note number.

5 years agoFix listing of notes after editing a note
Alex Schroeder [Wed, 14 Aug 2019 10:39:19 +0000 (12:39 +0200)]
Fix listing of notes after editing a note

As I had removed the list command, this threw an exception.

5 years agoEditing, deleting comments
Alex Schroeder [Wed, 14 Aug 2019 10:13:25 +0000 (12:13 +0200)]
Editing, deleting comments

Added notes which are stored as files and the ability to post a note
as a comment. Notes are stored in a directory. The editor used is
based on the EDITOR environment variable, or vi, or ed. There is a new
command to edit notes and to list notes, and to set the editor.

The pager defaults to the PAGER environment variable.

Removed the rc path ~/.config/.jan-pona-mute; added
~/.jan-pona-mute.d/login instead.

Fixed display of index for comments. It is now possible to use this
index to delete comments. The delete command also deletes notes.

5 years agofix comment counting
Alex Schroeder [Tue, 13 Aug 2019 21:26:27 +0000 (23:26 +0200)]
fix comment counting

5 years agoReloading notifications.
Alex Schroeder [Tue, 13 Aug 2019 21:22:38 +0000 (23:22 +0200)]
Reloading notifications.

5 years agoHow to install diaspy
Alex Schroeder [Tue, 13 Aug 2019 20:21:03 +0000 (22:21 +0200)]
How to install diaspy

5 years agoHandle posts with no comments
Alex Schroeder [Tue, 13 Aug 2019 20:11:23 +0000 (22:11 +0200)]
Handle posts with no comments

5 years agoREADME: add installation and quickstart
Alex Schroeder [Tue, 13 Aug 2019 20:11:09 +0000 (22:11 +0200)]
README: add installation and quickstart

5 years agoAdd undo command
Alex Schroeder [Tue, 13 Aug 2019 08:42:50 +0000 (10:42 +0200)]
Add undo command

5 years agoAdd comment command
Alex Schroeder [Tue, 13 Aug 2019 08:42:26 +0000 (10:42 +0200)]
Add comment command

5 years agoDefine c as an abbreviation for comments
Alex Schroeder [Tue, 13 Aug 2019 08:41:39 +0000 (10:41 +0200)]
Define c as an abbreviation for comments

5 years agoAdd doc strings
Alex Schroeder [Tue, 13 Aug 2019 08:41:27 +0000 (10:41 +0200)]
Add doc strings

5 years agoAdded README
Alex Schroeder [Tue, 13 Aug 2019 08:15:31 +0000 (10:15 +0200)]
Added README

5 years agoHighlight headers
Alex Schroeder [Tue, 13 Aug 2019 07:38:05 +0000 (09:38 +0200)]
Highlight headers

5 years agoShow comments
Alex Schroeder [Mon, 12 Aug 2019 21:29:01 +0000 (23:29 +0200)]
Show comments

5 years agoPrint post that belongs to a notification
Alex Schroeder [Thu, 8 Aug 2019 10:23:27 +0000 (12:23 +0200)]
Print post that belongs to a notification

5 years agoInit file handling and writing
Alex Schroeder [Thu, 8 Aug 2019 09:28:54 +0000 (11:28 +0200)]
Init file handling and writing

5 years agoInitial checkin
Alex Schroeder [Wed, 7 Aug 2019 22:37:43 +0000 (00:37 +0200)]
Initial checkin

Login, rcfile, notifications