Simone Robutti
e16dd19a7c
simplified validation ( #91 )
2021-10-24 21:32:28 +02:00
Giacomo Leidi
6430de4a84
Add Mastodon publisher. ( #83 )
...
* Add Mastodon publisher.
This commit enables publishing on Mastodon and tries to define the
minimal requirements for adding a new platform to Mobilizon Reshare.
* publishers: exceptions: Add HTTPError.
* platforms: mastodon: Make toot length customizable.
2021-10-20 00:08:58 +02:00
Simone Robutti
8de70ef857
mobilizon link in template ( #80 )
...
* added basic recap feature (no error handling)
* introduced abstractpublication
* extracted base reports
* added error report to recap
* added test
* added docs
* implemented publisher and formatter
* fixed API for recap
* removed redundant config validation
* added config sample
* added mobilizon link to templates
* added link format to telegram
* added mobilizon link to recap
* fixed config and emoji
2021-10-19 07:35:18 +02:00
Simone Robutti
489d41179e
recap header ( #79 )
...
* added basic recap feature (no error handling)
* introduced abstractpublication
* extracted base reports
* added error report to recap
* added test
* added docs
* implemented publisher and formatter
* fixed API for recap
* removed redundant config validation
* added config sample
* added active publisher test
* added recap header template
2021-10-17 14:09:24 +02:00
Simone Robutti
c14cdfb67f
twitter ( #77 )
...
* added basic recap feature (no error handling)
* introduced abstractpublication
* extracted base reports
* added error report to recap
* added test
* added docs
* implemented publisher and formatter
* fixed API for recap
* removed redundant config validation
* added config sample
2021-10-17 14:05:16 +02:00
Simone Robutti
5e171216d2
event recap ( #69 )
...
* added basic recap feature (no error handling)
* introduced abstractpublication
* extracted base reports
* added error report to recap
* added test
* added docs
2021-10-16 01:25:45 +02:00
Simone Robutti
b61a2c5c3c
More tests ( #67 )
...
* decoupled notifiers from event
* stub
* publishers working
* fixed format CLI
* fixed unit tests
* renamed abstractnotifier
* added another excluded character
* restored bundled secrets file
* test telegram escape
* tested telegram event validation
* added telegram response validation
* added pragma
* added zulip response validation test
2021-10-05 15:32:07 +02:00
Simone Robutti
bc212e7801
Check length ( #66 )
...
* decoupled notifiers from event
* stub
* publishers working
* fixed format CLI
* fixed unit tests
* renamed abstractnotifier
* added another excluded character
* restored bundled secrets file
2021-10-03 13:19:37 +02:00
Simone Robutti
b6b2402767
Refactor publication ( #65 )
...
* decoupled notifiers from event
* stub
* publishers working
* fixed format CLI
* fixed unit tests
* renamed abstractnotifier
* added another excluded character
2021-10-02 18:09:03 +02:00
Simone Robutti
3258e1b1c9
Telegram format ( #64 )
...
* improved template
* improved location format
2021-09-27 09:20:01 +02:00
Giacomo Leidi
6654d13ed0
publishers: Add Zulip publisher. ( #62 )
...
* - publishers: Add Zulip publisher.
- README.md.: Add Zulip.
- LICENSE: `fold -s LICENSE | sed 's/ *$//g' > l; mv l LICENSE`
* tests: publishers: Test Zulip publisher.
* publishers: templates: Update Zulip template.
* zulip: Add more tests.
* release.sh: Safer publication.
* tests: publishers: Move zulip specific fixtures to test_zulip.py
2021-09-26 20:12:06 +02:00
Simone Robutti
360740eae0
format event cli ( #61 )
...
* added get_formatted_event
* fixed cli settings
* added format command
* refactored inspect
2021-09-09 23:04:19 +02:00
tinoilcotechino
489e3d66ad
Fix PublisherCoordinatorReport generation. ( #54 )
...
* Fix PublisherCoordinatorReport generation.
Without this patch we are given *either* the failed or the successful
publication reports. We actually need both, this patch implements the
merge.
* Reformat
Co-authored-by: Giacomo Leidi <goodoldpaul@autistici.org>
2021-08-28 13:17:39 +02:00
Simone Robutti
2197e07213
notify failure ( #52 )
...
* fixed visualization
* simplified tests
* split into files
* refactored test expected publications
* split update tests
* expanded specifications and tests
* added event_status window tests
* fixed 'all' command
* renamed everything
* fixed uppercase
* refactored main and publisher to add notifications
* tested report successful
* added tests to publisher coordinator
* added more coordinator tests
* test coordinator success
2021-08-27 23:45:24 +02:00
Simone Robutti
2c8063cf4a
rename everything ( #50 )
...
* fixed visualization
* simplified tests
* split into files
* refactored test expected publications
* split update tests
* expanded specifications and tests
* added event_status window tests
* fixed 'all' command
* renamed everything
* fixed uppercase
2021-08-16 10:49:52 +02:00