Commit Graph

119 Commits

Author SHA1 Message Date
Casey 2ddb2639bf
Print every received event in debug mode 2023-07-03 17:03:20 +03:00
Casey 8d91d619dd
Workaround for wrong redirects on some instances 2023-07-02 20:51:48 +03:00
Casey 686cfced29
Allowed "all" to be used as user selector 2023-07-02 20:45:19 +03:00
Casey 09cc8deb37
Version bump 2023-06-17 00:54:45 +03:00
Casey da16cee1e0
Merge branch 'CyberTailor-tests' 2023-05-21 12:03:16 +03:00
Anna “CyberTailor” 8871479c85
Added tests GitHub Actions 2023-05-20 13:42:54 +05:00
Anna “CyberTailor” 88c1fadd5a
Added tests for utils 2023-05-20 13:42:54 +05:00
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 9889ca251a
Merge branch 'html2everything' 2023-05-13 09:58:55 +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 9cfbcf635a
Merge branch 'CyberTailor-master' 2023-05-13 08:09:18 +03:00
Anna “CyberTailor” ca944715f6
Fixed Markdown formatting
* Triple backticks for <pre>
* Double asterisks for <b>
* Double tildes for <s>
* Native syntax for lists and blockquotes

See: https://support.discord.com/hc/en-us/articles/210298617
2023-05-13 07:41:29 +05:00
Casey 1b3a0bbe0b
Added blockquote element to node_to_plaintext 2023-05-10 12:33:33 +03:00
Casey 277c32b09d
Merge branch 'CyberTailor-ol_numeration' 2023-05-10 12:30:38 +03:00
Anna “CyberTailor” a8129d2a88
Fix numeration in node_to_plaintext 2023-05-10 14:27:12 +05:00
Casey a2e5f15c21
Merge branch 'CyberTailor-metadata' 2023-05-10 12:20:11 +03: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
Casey 8d5a8fd424
Merge branch 'CyberTailor-argparse' 2023-05-10 09:14:41 +03:00
Anna “CyberTailor” 43963144c4
Include 'contrib' in sdist 2023-05-10 09:14:27 +03:00
Anna “CyberTailor” 19cdde7ef4
Added SystemD service 2023-05-10 09:14:27 +03:00
Anna “CyberTailor” f6dbac76e4
Added OpenRC service 2023-05-10 09:14:27 +03:00
Anna “CyberTailor” cc817f9924
Fixed misplaces ul/ol in node_to_plaintext 2023-05-10 09:14:27 +03:00
Anna “CyberTailor” 9d8c8252a4
Updated boilerplate config
There were some mistakes.
2023-05-10 09:14:27 +03:00
Casey a94c842340
Merge branch 'CyberTailor-master' 2023-05-10 09:12:05 +03:00
Casey 2fac32e770
Merge branch 'CyberTailor-ul_ol' 2023-05-10 09:02:44 +03:00
Anna “CyberTailor” a08630e23b
Updated boilerplate config
There were some mistakes.
2023-05-10 09:01:23 +03:00
Casey 038177b1c2
Merge branch 'CyberTailor-config' 2023-05-10 08:55:47 +03:00
Anna “CyberTailor” c60f19d7c6
Fixed misplaces ul/ol in node_to_plaintext 2023-05-10 08:50:52 +05: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
Anna “CyberTailor” df01956b72
Updated boilerplate config
There were some mistakes.
2023-05-10 07:30:06 +05:00
Anna “CyberTailor” 8c8d304066
Include 'contrib' in sdist 2023-05-10 06:50:14 +05:00
Anna “CyberTailor” d168db772c
Added SystemD service 2023-05-10 06:49:39 +05:00
Anna “CyberTailor” f045145f00
Added OpenRC service 2023-05-10 06:48:56 +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 3bd0b78122
Improved README, added section about Pip package 2023-05-08 17:57:43 +03:00
Casey fb7d5b8e44
Removed unused TODO file 2023-05-08 17:35:16 +03:00
Casey 6e24781d76
Merge branch 'CyberTailor-master' 2023-05-08 17:26:31 +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