Giter Site home page Giter Site logo

import-from-pixelfed's People

Contributors

janboddez avatar

Watchers

 avatar  avatar

Forkers

frankmeeuwsen

import-from-pixelfed's Issues

Code that never runs?

We refresh tokens that are about to expire; don't think the verify token method is ever run, so it can probably deleted.

Also, I'm not sure who would ever want to import replies or reblogs, and thus someone else's photos, from a photo sharing site, so those can probably go as well.

Also, I don't think the tagged API parameter is actually supported: https://github.com/pixelfed/pixelfed/blob/d48e6c5d67f2f9ba8a4a6f838cfba70a3eb7978a/app/Http/Controllers/Api/ApiV1Controller.php#L529. So that can probably be taken out too.

Verify token validity

Since it's possible to remove tokens, we should probably check if they're still valid, inform users when they aren't.

Revoking tokens still doesn't work

And, neither, it seems, does verification ...

Your best bet, for now, is to visit your instance's /settings/applications page, revoke the app/access there, and then reset all settings ...

Consider using Atom rather than API

Can be found at https://pixelfed-instance/users/username.atom.

Benefits of using API:

  • can provide min_id parameter

Downsides of API:

  • even GETting statuses requires we're authorized (not really an issue, but a difference from Mastodon's API)
  • unclear if revoking tokens works, or verifying (although verifying should work) --> to do: try Accept: application/json, text/plain, */*

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.