Giacomo Leidi
e381c1b522
Migrate to importlib and update some dependencies ( #189 )
...
* Migrate to importlib.
* Update CI
2024-01-28 21:08:17 +01:00
Simone Robutti
370e00d187
decouple dataclasses from models ( #181 )
...
* fixed parsing bug
* implemented events and publications endpoints
split endpoints by entity
removed credentials
* add pagination (#179 )
* added pagination
* integrated pagination with tortoise
* added test for publications
* removed converter file
* moved publications to dataclasses module
* implemented import pattern on dataclasses to prevent circular imports
* removed redundant fetch
* removed unused query
* split build_publications
* split failed_publications
* removed redundant query functions
* split publication retrieve
* split all read functions
* removed redundant write function
* fixed lock
2022-12-11 14:15:04 +01:00
Simone Robutti
9d71ef36b9
add dry run ( #169 )
...
* introduced CommandConfig object
* added dry_run for start command
* added test to start_dry_run
* added dry_run recap
* fixed import
* improved printing
* fixed zulip debug info
* improved recap dry-run print
2022-07-12 07:39:56 +02:00
Simone Robutti
1217b17326
fix event retry ( #152 )
...
* added twitter error handling
* added facebook tests
* added header format test
* added multiple newlines check
* added test list command
* fixed commands structure
* fixed event retry
* fixed publication retry
* added publication tests
* removed unused option
* fixed list begin/end window
* added test retry failures
* linting
* refactored sender
* added timezone freeze
* fixed facebook-sdk and beatifulsoup errors
2022-03-06 10:41:02 +01:00
Giacomo Leidi
d6714f2142
publishers: zulip: Catch general HTTPErrors. ( #107 )
...
* publishers: zulip: Catch general HTTPErrors.
2021-11-28 16:50:22 +01:00
Giacomo Leidi
f8bbd1df41
Fix publication exception handling for notification. ( #105 )
2021-11-27 23:31:44 +01:00
Simone Robutti
2476686c33
added facebook publisher ( #99 )
...
* added facebook publisher
* mobilizon-reshare.git: [propagated-inputs]: Add python-sdk-facebook.
This package definition has been generated with `guix import pypi -r
facebook-sdk`.
* mobilizon-reshare.git: [propagated-inputs]: Use python-facebook-sdk.git.
Co-authored-by: Giacomo Leidi <goodoldpaul@autistici.org>
2021-11-20 15:40:10 +01:00
Giacomo Leidi
f12992c5d9
publishers: zulip: Let the user specify their instance. ( #95 )
2021-11-11 16:25:09 +01:00
Simone Robutti
e16dd19a7c
simplified validation ( #91 )
2021-10-24 21:32:28 +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
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