Commit graph

72 commits

Author SHA1 Message Date
3796364f79 Merge pull request 'Improve Mastodon profile link detection' (#11) from rompe/MastodonBot:10-improve_mastodon_profile_link_detection into main
Reviewed-on: #11
Reviewed-by: Pieter Vander Vennet <pietervdvn@posteo.net>
2025-08-25 22:45:06 +00:00
0b8cda3fd0 Merge branch 'main' into 10-improve_mastodon_profile_link_detection 2025-08-25 22:44:57 +00:00
2f4c15b8a1 Merge pull request 'Find Fediverse links in classic OSM profiles' (#9) from rompe/MastodonBot:8-find_all_social_links into main
Reviewed-on: #9
Reviewed-by: Pieter Vander Vennet <pietervdvn@posteo.net>
2025-08-15 10:25:31 +00:00
Ulf Rompe
057a2d2f84 Detect Pleroma and Pixelfed profile links
- Re-introduce the server blacklist unchanged
- Incorporate it into the Fediverse profile regex

These two platforms sadly have a non-unique URL scheme,
so it may be better to keep the blacklist in place to filter out
all the github and codeberg URLs.
2025-08-06 17:59:35 +02:00
Ulf Rompe
0ed685baa0 Add hector to test.ts as he has good test links 2025-08-01 17:52:13 +02:00
Ulf Rompe
5e118fdbd0 Improve Mastodon profile link detection
- Use a regular expression instead of substrings
- Detect profile URL schema for Mastodon, Akkoma, Friendica and others
- Add more uids to `test.ts` to provide some examples

Fixes #10
2025-08-01 17:33:22 +02:00
Ulf Rompe
f371d7dffb Find Fediverse links in classic OSM profiles
If a user didn't bother to configure the new "social links" on OSM yet,
the bot didn't scan the links in the classic page data.
It does so now as the `content-inner` div seems to be available
in any case.

Fixes #8
2025-07-31 18:04:15 +02:00
d9e4c7d198 Improve blacklist of mastodon items, should fix #7 2025-07-15 13:04:38 +02:00
f3d4f57d80 Add 'masto' to whitelist 2025-07-12 18:41:13 +02:00
338b9526ec Version bump 2025-06-14 01:03:35 +02:00
d5e20d6c82 Add scraper to handle the new social links on the website 2025-06-14 00:58:40 +02:00
3977e3ca99 Actions: update labels, add workflow dispatch 2025-06-03 21:42:58 +02:00
5d564176fd Use locally hosted actions/checkout 2025-03-26 15:42:39 +01:00
0c8c41c6d4 Add ghostbike bot as action 2025-02-06 23:42:31 +01:00
9e69adb2a5 Schedule daily run 2025-02-06 23:38:50 +01:00
f97592260e Actually use access token
All checks were successful
/ mapcomplete_edits_en_osm_town (push) Successful in 1m31s
2025-02-06 23:36:43 +01:00
5e20ea32a9 Chore: deploy via forgejo actions: disable dry run
Some checks failed
/ mapcomplete_edits_en_osm_town (push) Failing after 1m2s
2025-02-06 23:35:18 +01:00
36cd8f4221 Chore: deploy via forgejo actions (dryrun), retry 3
All checks were successful
/ mapcomplete_edits_en_osm_town (push) Successful in 46s
2025-02-06 23:34:17 +01:00
24931c6aa9 Chore: deploy via forgejo actions (dryrun), retry 2
Some checks failed
/ mapcomplete_edits_en_osm_town (push) Failing after 24s
2025-02-06 23:32:33 +01:00
7bf38b7c80 Add ts-node
Some checks failed
/ mapcomplete_edits_en_osm_town (push) Failing after 21s
2025-02-06 23:28:33 +01:00
6fe8ebd4d0 Chore: deploy via forgejo actions (dryrun), retry
Some checks failed
/ mapcomplete_edits_en_osm_town (push) Failing after 23s
2025-02-06 23:27:22 +01:00
bc09f8a719 Chore: deploy via forgejo actions (dryrun)
Some checks failed
/ deploy_on_hetzner_single (push) Failing after 11m3s
2025-02-06 22:37:56 +01:00
340f256074 Fix: fix #5 2024-12-26 17:23:54 +01:00
4a74e5c8bb Update README.md 2024-12-26 17:23:54 +01:00
Pieter Vander Vennet
d680cf9c88 Merge pull request 'Fix typo in README' (#4) from midgard/MastodonBot:main into main
Reviewed-on: #4
Reviewed-by: Pieter Vander Vennet <pietervdvn@nerdlab.nohost.me>
2024-12-17 23:53:27 +01:00
cade22655f
Fix typo in README 2024-12-17 21:06:42 +01:00
e297d3cc23
Update README.md: backlinking is optional 2024-12-02 12:57:45 +00:00
33879f9198
Update README.md 2024-12-02 11:48:30 +00:00
0bd78d6a47
Update README.md
Fix #3
2024-12-02 11:47:55 +00:00
c2a6dc2e45 Fix: use correct username for friendica users; add some docs 2024-10-07 21:51:20 +02:00
274904c95a Fix: fallback to 'CC-BY-SA' as license 2024-10-07 21:50:44 +02:00
a9779163b8 Chore: update deps 2024-10-07 21:50:29 +02:00
570dacb89e Fix mastodon bot to work with panoramax 2024-09-30 00:59:25 +02:00
ddd8566efc Add debug info in log 2024-07-08 13:50:33 +02:00
8796a589e8 Fix broken nobot detection for gowin 2024-06-18 12:52:54 +02:00
61482d19cc Update token 2024-06-01 11:52:40 +02:00
3afbb8b6fe Fix attribution download for .jpg 2024-03-07 11:47:20 +01:00
68e63f8e39 Show 'one contributor' instead of '1 contributors', hide thank you note if this is configured 2024-01-06 17:19:57 +01:00
2407530f86 Tone down character limit 2023-12-05 13:15:29 +01:00
4d46214109 Re-enable images for middle post 2023-12-02 03:15:46 +01:00
edf6301cbf Formatting, attempt to debug (without success) 2023-11-28 13:06:44 +01:00
16ab6ac69d Correct count: only count every element once 2023-10-05 15:20:02 +02:00
535de1fb54 Do post an overview if no changes were made 2023-10-05 13:58:20 +02:00
9e697f170f Add some debug output 2023-10-05 13:52:15 +02:00
c00fe1a811 Update url, fix #1 2023-08-28 10:12:33 +02:00
9700702804 Fix of-by-one error 2023-05-17 13:34:15 +02:00
5adc37b2db Fix bug where the message might be too long 2023-03-12 11:45:09 +01:00
65921d2d11 Gracefully handle failing user lookups 2023-02-03 05:01:08 +01:00
59c7e47f49 Fix date 2023-02-01 15:05:51 +01:00
d100edd598 Improve wording 2023-01-30 01:57:46 +01:00