question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Anonymous gist API deprecation

See original GitHub issue

https://github.com/blog/2503-deprecation-notice-removing-anonymous-gist-creation

Will break the following features:

  1. Web permissions editor (https://lpedit.lucko.me/ , /lp editor, /lp user <user> editor etc etc)
  2. Verbose paste functionality (/lp verbose paste)
  3. Tree view (/lp tree)
  4. Debug output (/lp debug)

We have one month to figure out solutions - probably in the above order of priority.

The 2 & 3 rely specifically on Gist for it’s markdown rendering. Gonna be a PITA to replicate with another service. Will probably end up requiring a custom frontend site, similar to the web editor.

4 isn’t regularly used, could either be removed or moved to a different service.

The web editor is less problematic, either need to find a (relatively) reputable pastebin service with an API or make our own.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:26 (14 by maintainers)

github_iconTop GitHub Comments

7reactions
luckocommented, Feb 21, 2018

I’ve made some good progress with this issue.

Based on the discussion above (thanks for everyone’s ideas) - I think the best course of action is for the project (me) to host a simplified upload service for LuckPerms web data. We can always look at moving this elsewhere in the future.

I wrote this last night - super simple but should do what we need it to.
https://github.com/lucko/bytebin
Has a post API to submit data, returns an id of the resultant “paste”. Browsing to /<id> will return the raw content. Uploads (currently) expire after 1 day.

A new version of the web editor is live at https://luckperms.github.io/editor/ - it’s using the new upload service for data transfer.

Instead of implementing a site to just render markdown produced by the plugin (to replace Gist’s functionality), I think now’s a good time to move the other web stuff (verbose & treeview) over to nicer sites.

There’s an early prototype for verbose here. https://luckperms.github.io/verbose/

The plugin is updated for these changes, but I haven’t merged them into master just yet.
https://github.com/lucko/LuckPerms/tree/web

Still need to work on porting the tree view stuff. Should be fun. 😃

3reactions
luckocommented, Feb 20, 2018

This evening I’ve also tried with https://hastebin.com - it meets everything except no. 5. Bit of a long shot but I’ve submitted a PR to support CORS. I’m not sure how if it will get merged into production or not - but thought it was worth a try.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deprecation notice: Removing anonymous gist creation
In 30 days, we'll be deprecating anonymous gist creation—a decision ... (11:00 am PST): Disable anonymous gist creation via the web and API....
Read more >
Anonymous gist API deprecation · Issue #770 - GitHub
Probably an idea would be that the server owner has to specify an personal access token for a valid github account. If this...
Read more >
Github Deprecates Anonymous Gist Creation - Laravel News
Github announced that in 30 days they will no longer allow anonymous Gist creation any longer. The reason they stated they will be ......
Read more >
Github Deprecates Anonymous Gist Creation - CodeRomeos
Github starts deprecating the anonyms Gist creation to stop spam. In 30 days, we'll be deprecating anonymous gist creation—a decision w...
Read more >
Anonymous Gists expiration/lifetime? - github - Stack Overflow
⚠️ As of March 19, 2018, anonymous gist creation is deprecated. ⚠️. No, they don't expire. The documentation says:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found