core icon indicating copy to clipboard operation
core copied to clipboard

run.dlang.io: “Shorten” and “Export Gist” buttons not working

Open Ogi-kun opened this issue 5 years ago • 6 comments

Ogi-kun avatar Nov 08 '19 17:11 Ogi-kun

Bump. This is fairly vital infrastructure.

FeepingCreature avatar Dec 28 '19 22:12 FeepingCreature

Bump.

Which will come first:

  • Aliens invading earth

  • This issue being fixed

My vote is on the former.

BradleyChatha avatar Apr 15 '20 13:04 BradleyChatha

This is weird... I swear I used this feature just a few days ago, but today it's not working at all.

Hezkore avatar Oct 24 '21 09:10 Hezkore

The third-party is.gd service that was used internally is no longer working and we can't do anything about it. Going forward, once I have sufficient time I will remove the ill-conceived "shorten" feature, I will instead push forward only "export to gist", which should pretty much work the same way for users, except for the exact URL format.

PetarKirov avatar Oct 24 '21 10:10 PetarKirov

See the PR I made. Export gist works fine when giving https://run.dlang.io/gist/run-dlang/<id> but not https://run.dlang.io/gist/<id>. I made this a while ago so not sure if this is updated

ljmf00 avatar Oct 24 '21 16:10 ljmf00

@ljmf00 Thanks for reminder and for the PR itself! I will review it shortly.

PetarKirov avatar Oct 25 '21 08:10 PetarKirov