Commit Graph

58 Commits

Author SHA1 Message Date
09d1dbb3ef Add a basic README.md, fix missing entry in /etc/hosts in Vagrantfile 2019-01-27 10:45:45 +01:00
14aa470da1 Give the vagrant box a nice hostname for testing 2019-01-26 19:31:19 +01:00
766453952f Use example.com properly, add more examples 2019-01-26 19:11:30 +01:00
37a72dc999 Add more examples to test with 2019-01-26 12:17:00 +01:00
5db1b891f1 Prepare skeleton to build a very basic test environment 2019-01-26 11:38:32 +01:00
e20b956911 Add Vagrantfile 2019-01-26 11:10:20 +01:00
50edc8dc84 Properly use methods to build up MailQ struct 2019-01-06 19:07:10 +01:00
fac4985ab7 Implement queue methods 2019-01-06 00:32:17 +01:00
7b1fa6c833 Add number of recipients to QEntry detailed string 2019-01-01 21:27:56 +01:00
6749bdbb96 Rename QEntrySortConfig to QSortConfig 2019-01-01 21:23:04 +01:00
187164fc7d Provide a better help for the shell 2019-01-01 21:16:06 +01:00
f1a6259256 Add basic inspect feature 2019-01-01 21:11:39 +01:00
47f133f418 Introduce first basic functions in shell 2019-01-01 20:50:39 +01:00
b2d1afadfc Improve how sort configuration gets passed around 2019-01-01 20:10:34 +01:00
7c33b16b8c Remove os.Stdout from shell.go completely 2019-01-01 19:42:22 +01:00
f7bb218403 Use reader and writer to make shell extensible 2019-01-01 19:37:05 +01:00
b471f6a914 Introduce a very rough skeleton to implement interactive shell 2019-01-01 19:24:43 +01:00
ad252c7480 Fix code to build sortConfig 2019-01-01 16:45:42 +01:00
8210727655 Change error handling for sort configuration 2019-01-01 16:40:58 +01:00
bd6e9cdea5 Remove superfluous prints 2019-01-01 16:18:36 +01:00
1350399e8e Rename functions for clarity 2019-01-01 16:05:25 +01:00
e57c011391 Restructure mailq package 2019-01-01 16:02:04 +01:00
9e19df62ed Begin restructuring the project 2019-01-01 15:46:35 +01:00
eadaf8d420 Fix sorting not working as expected 2019-01-01 15:17:21 +01:00
23277a9159 Fix broken switch statement 2019-01-01 15:13:18 +01:00
8dea3f83bc Refactor sorting a bit 2019-01-01 15:09:47 +01:00
2493e581ae Implement support for sorting order 2019-01-01 14:49:30 +01:00
f22be8fccf Introduce configurable sorting 2019-01-01 14:36:50 +01:00
c199ca0bcb Begin building a sorting feature 2019-01-01 12:41:15 +01:00
dd47907270 Experimental feature: Sorting the queue entries 2019-01-01 02:45:08 +01:00
3d893015a3 Add support for JSON output 2018-12-31 21:22:23 +01:00
92a709d196 Allow printing queue data in parseable format 2018-12-31 21:08:24 +01:00
7f4e19e285 Refactoring 2018-12-31 20:36:14 +01:00
5a21e5a3cf Fix missing symbol in tabwriter view 2018-12-31 17:20:48 +01:00
78f9468f0c Refactor, introduce MailQ struct 2018-12-31 17:16:32 +01:00
b164d00e1f Remove debugging printf 2018-12-31 17:00:13 +01:00
bcd08235a3 Update date format, add status to view 2018-12-31 16:54:01 +01:00
647b38ccb8 Beautify table view a bit 2018-12-31 16:47:53 +01:00
2a9ae87b2f Implement printing mailqueue in table, restructuring 2018-12-31 16:32:23 +01:00
d39fb736dc Fix getting stuck when closing pager without reading all entries 2018-12-31 15:53:51 +01:00
70420c456e Handle empty mailqueue gracefully, it is not an error 2018-12-31 15:05:13 +01:00
6a934ee54b Add TODO regarding issues with pager 2018-12-30 14:53:15 +01:00
f48e4c9f60 Use pager to display results 2018-12-30 14:51:08 +01:00
6619bd86ce Do not pass arguments if empty 2018-12-30 13:34:45 +01:00
1c8a2a0924 Improve detailed QEntry String representation 2018-12-30 13:23:30 +01:00
73fd1dcf8e Improve string view of single QEntry instances 2018-12-30 13:15:14 +01:00
d087d8d746 Fix reading from command not passing arguments 2018-12-30 12:54:22 +01:00
5474966220 Begin implementing interactive mode 2018-12-29 23:44:40 +01:00
24afa08970 Change how mail queue entries can be displayed 2018-12-29 23:28:58 +01:00
1e33d3669c Improve flag descriptions 2018-12-29 22:10:53 +01:00