Casey
cea0af44ba
Apparently that squishes some things together
2023-05-15 10:00:35 +03:00
Casey
291a8b8643
More logs?
2023-05-13 21:50:11 +03:00
Casey
18b47f6866
Added media limit
2023-05-13 21:47:40 +03:00
Casey
db100c0f7e
Text node processor, typo fixes, text2* cli program
2023-05-13 09:33:21 +03:00
Casey
32d7784276
Reworked node_to_* functions
2023-05-13 08:45:46 +03:00
Casey
1b3a0bbe0b
Added blockquote element to node_to_plaintext
2023-05-10 12:33:33 +03:00
Anna “CyberTailor”
a8129d2a88
Fix numeration in node_to_plaintext
2023-05-10 14:27:12 +05:00
Anna “CyberTailor”
81a8f6b039
Fix pyproject metadata
...
* Fix description
* Fix bs4 dep (lxml support is needed)
* Set minimum Python version to 3.8 (for := operator)
2023-05-10 14:15:56 +05:00
Casey
76b2241a82
Updated pyproject.toml, black+mypy
2023-05-10 09:19:22 +03:00
Anna “CyberTailor”
cc817f9924
Fixed misplaces ul/ol in node_to_plaintext
2023-05-10 09:14:27 +03:00
Anna “CyberTailor”
65d0cc5b4d
Added argument parser
...
Just for config file path. Defaults to environment variable
"MASTOPOSTER_CONFIG_FILE".
2023-05-10 07:33:28 +05:00
Casey
d740ddb0b1
Version bump
2023-05-09 18:46:16 +03:00
Casey
0f3cac3cbf
Fixed a little issue with classes not being here
2023-05-09 18:42:47 +03:00
Casey
7955120a7c
Added _mfm_blur_ class check
2023-05-08 18:28:43 +03:00
Casey
fb7d5b8e44
Removed unused TODO file
2023-05-08 17:35:16 +03:00
Anna “CyberTailor”
9ed31cc5c8
Added packaging (via Flit)
2023-05-08 19:23:20 +05:00
Casey
d761cf5951
Added license ( closes #29 )
...
Reasnoing behind using GNU GPLv3:
* Permits modification
* Permits free distribution
* Permits private modifications
* Gives no warranty that this software works or works in an expected
way
* No liability for damage (if any is possible)
* Commonly used in FOSS software
2023-05-08 13:18:44 +03:00
Casey
7f2e87523c
Python moment
2023-03-19 20:09:43 +03:00
Casey
b789cc6015
Uh, now it should post every media
...
In separate messages, if they're incompatible with each other
idk i barely tested it, but it seems to be working
2023-03-07 11:17:46 +03:00
Casey
854bb859ec
Try, try again
2023-03-07 10:26:45 +03:00
Casey
6d3e00ba4a
Fixed regex mode of text filter just NOT WORKING
...
Apparently, `re.match` checks for the first line ONLY. We have to use
`.search` instead.
Also nuked away that plaintext conversion, we have it in status already
as a property
2023-02-08 19:38:31 +03:00
Casey
8b03ccf44a
Apparently, this exists
...
And I have no fucking clue how I missed it.
2023-01-28 22:27:08 +03:00
Casey
1632cddcb4
Pythom lomgimng yummy cool...
2023-01-26 13:44:30 +03:00
Casey
f3f7bff945
Iiiii fucked up. Again.
2023-01-20 13:22:23 +03:00
Casey
f8d903b478
Added spoilers ( closes #26 )
2023-01-20 12:59:42 +03:00
Casey
89658132a0
We all need some space and we hate to <code>
2023-01-13 11:47:40 +03:00
Casey
3753c6a342
Forgot about plaintext
2023-01-13 10:47:23 +03:00
Casey
bbc5053cf6
We just need some space
2023-01-13 10:43:48 +03:00
Casey
3fc8a3bcd8
Added ordered list
2023-01-13 10:40:40 +03:00
Casey
f3ddb4a1d9
Added unordered lists
2023-01-13 10:36:58 +03:00
Casey
a44df7030d
Changed type of `last_status_at` to be nullable
2022-11-12 00:00:14 +03:00
Casey
3904e475a4
MORE. LOGS.
2022-11-02 20:18:31 +03:00
Casey
94f477bc45
Added configurable logging level
2022-11-02 20:11:38 +03:00
Casey
bfa0534f6d
uh, more logging?
2022-11-01 14:33:47 +03:00
Casey
fd05f39f4a
Changed default level to ERROR, added TG API logs
2022-11-01 13:52:40 +03:00
Casey
95c9a523e0
More logging?
2022-11-01 13:37:47 +03:00
Casey
1ec78d5f53
Forgot to initialize logger
2022-11-01 13:04:31 +03:00
Casey
d861b2fe45
Uhh I think I added logging and some other stuff
...
Yeah so basically now initialization of integrations and filters is
moved to from_section instead of __init__ because muh better imo
2022-11-01 12:55:23 +03:00
Casey
dd60de5067
Added more HTML tags
2022-10-11 09:00:37 +03:00
Casey
6b3c48e067
Added proper README
2022-09-23 19:28:08 +03:00
Casey
cb4b32fa8b
Added property that removes emojis from the name
2022-09-23 18:31:16 +03:00
Casey
cfe26cfd8f
DUROV I FUCKING HATE YOU
2022-09-23 18:21:31 +03:00
Casey
3e707ab004
Oh my fucking god that's so embarassing
2022-09-18 16:59:19 +03:00
Casey
9fa28d518c
Oopsie
2022-09-14 20:37:51 +03:00
Casey
03cfa75bc7
Merge branch 'master' into unsafe
2022-09-14 20:35:35 +03:00
Casey
84eb94447f
[WIP] Added automatic user_id retrieving and more
...
* Added safe-er way to unpack data from instances
-> like, now we're passing only the fields that
we really need, not just everything that was
sent by out our instance. that fixes pleroma
being weird and adding pleroma field to some
of objects, which was causing KeyError to be
raised. this should be fixed now but I'm not
completely sure so that's why it's in unsafe
branch of the project. oh wow also this comm
message is looking funky. hahahahah. ok bai.
2022-09-14 20:29:23 +03:00
Casey
b7b3d12652
Now "private" posts could be reposted.
...
If you don't want to, add a separate filter, idk.
2022-09-01 00:57:36 +03:00
Casey
fd661b6a99
Merge pull request #16 from hatkidchan/formatting
...
Implemented custom formatting
2022-08-31 18:43:05 +03:00
Casey
093337414b
Made black happy
2022-08-31 18:36:11 +03:00
Casey
366a357643
Meowed emojize before creating Template
2022-08-31 18:26:02 +03:00