Tobias Quathamer toddy
  • Joined on 2024-01-02
toddy commented on pull request friendica/friendica-addons#1483 2024-03-18 11:12:24 +01:00
Updated URL Replace addon

If this is the last discussion point before being able to merge this PR, I'll give in. :-)

toddy pushed to 2024.03-rc at toddy/friendica-addons 2024-03-18 11:11:42 +01:00
482388c420 Use invidio.us as default
toddy pushed to 2024.03-rc at toddy/friendica-addons 2024-03-18 11:05:51 +01:00
4842258a1f Only show small info about replacements if the original has changed
toddy commented on pull request friendica/friendica-addons#1483 2024-03-17 16:44:46 +01:00
Updated URL Replace addon

You're right, that makes more sense. I'll change that probably tomorrow, I'm short on time right now.

toddy pushed to 2024.03-rc at toddy/friendica-addons 2024-03-16 20:26:51 +01:00
23ef3ac580 Reformat code to apply standards
toddy commented on pull request friendica/friendica-addons#1483 2024-03-16 20:23:31 +01:00
Updated URL Replace addon

Strange, I did run bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer for the file. However, I've seen that you've done some reformatting of my code as well in commit https://git.friendi.ca/friendica/f

toddy commented on pull request friendica/friendica-addons#1483 2024-03-16 11:43:10 +01:00
Updated URL Replace addon

I've just pushed a commit which uses this pattern. Please take a look.

toddy commented on pull request friendica/friendica-addons#1483 2024-03-16 11:42:33 +01:00
Updated URL Replace addon

TBH, I'm not a big fan of that change. After all, it requires two clicks of the user instead of just one to watch the video. All other alternative frontends provided by this addon show the content…

toddy pushed to 2024.03-rc at toddy/friendica-addons 2024-03-16 11:37:00 +01:00
d45e94c2bc Remove configuration value if no server URL is provided
toddy commented on pull request friendica/friendica-addons#1483 2024-03-14 09:42:06 +01:00
Updated URL Replace addon

The alternative approach could look like this:

	$server = rtrim(trim($_POST['nitter_server']), '/');
	if (empty($server)) {
		DI::config()->delete('url_replace', 'nitter_server');
	}
toddy pushed to 2024.03-rc at toddy/friendica-addons 2024-03-14 09:32:04 +01:00
4f391f51cd Fix formatting
toddy pushed to 2024.03-rc at toddy/friendica-addons 2024-03-14 09:05:40 +01:00
984e112961 Update message catalog
toddy commented on pull request friendica/friendica-addons#1483 2024-03-14 09:04:42 +01:00
Updated URL Replace addon

@heluecht I've now switched to using constants.

toddy pushed to 2024.03-rc at toddy/friendica-addons 2024-03-14 09:03:57 +01:00
5c1f706277 Use constants for the default servers
toddy commented on pull request friendica/friendica-addons#1483 2024-03-14 08:50:59 +01:00
Updated URL Replace addon

@tobias is right, Invidious is smart enough to understand the same URL structure which YouTube uses, so you only need to replace the server part.

toddy commented on pull request friendica/friendica-addons#1483 2024-03-14 08:49:23 +01:00
Updated URL Replace addon

Thanks for your review. Unfotunately, the third parameter of get() does not work in this case, I've tried that. When the addon is freshly installed, there is no configuration in the database. In…

toddy created pull request friendica/friendica-addons#1483 2024-03-13 23:08:37 +01:00
Updated URL Replace addon
toddy pushed to 2024.03-rc at toddy/friendica-addons 2024-03-13 22:57:45 +01:00
d3ba63c559 Increment version
6d941dd0a8 Update message catalog
a2b3691916 Remove now unnecessary variable
499167ec50 Reformat code, no content changes
4a98e20fb7 Enable individual replacement preferences
Compare 8 commits »
toddy pushed to 2024.03-rc at toddy/friendica-addons 2024-03-13 15:37:54 +01:00
d11efc108c Merge pull request 'Bluesky: fix the fetching of media in quoted posts' (#1481) from heluecht/friendica-addons:bluesky-media into 2024.03-rc
d5dfa8028c Bluesky: fix the fetching of media in quoted posts
3da448b01f Merge pull request 'Tumblr: Handle quote shares' (#1480) from heluecht/friendica-addons:issue-13972 into 2024.03-rc
0fc8285f87 Tumblr: Handle quote shares
167b7f9466 Merge pull request 'Blockbot: New user agents added' (#1482) from heluecht/friendica-addons:blockbot-forte into 2024.03-rc
Compare 40 commits »
toddy created branch 2024.03-rc in toddy/friendica-addons 2024-03-13 15:37:03 +01:00