Git Product home page Git Product logo

bakus-service's People

Contributors

dependabot[bot] avatar sirseim avatar skysmithio avatar

Stargazers

 avatar

Watchers

 avatar

bakus-service's Issues

Add endpoint: detail on transfer

  • Change Transmission state of transfer (pause, unpause)
    • not allowed if transfer is complete
  • Delete transfer
    • only really applies if it was an active download; do we throw an error if not allowed?

Investigate using FileBot

Since the core of the MVP to this project is to be able to rename files, but that's also a very difficult problem, maybe there's a way we could have a different tool do that part for us

FileBot

Maybe it would make sense to use the hosted version with something like filebot-node running in docker, or maybe rolling our own using the command line tool and celery wrapping it to handle the background processing ourselves, but with more control.

Add endpoint: list for completed transfers

  • Look at incoming folder and return list of files/folders without any .part appended items
    • Aka, these are completed according to Transmission if every file does not have .part

Demo User

Add a Boolean flag to the user to designate it as a demo user. When fetching lists of additions, they'll be preset instead of the real ones.

Add endpoint: rename movie

Endpoint needed to actually rename all the content for movies specifically. Maybe down the road this becomes tied into the detail endpoint, but keep it simple for now and have it separate.

Add development instructions to README

Write up the basics on how to setup the local dev environment.

Things to consider:

  • installing pyenv
  • installing postgres server
  • setting up pre-commit
  • setting up virtualenv
  • installing dev dependencies
  • setting up pycharm with save actions
    • include alternates for running in command-line
  • setting up pycharm with configurations for purest and Django
    • include alternates for running in command-line
  • setting up Transmission for running server
    • tests do not need Transmission running

Add custom admin section

Goal is to be able to list all the directories in a folder and show that in the admin. There is no model for this since there is nothing to write/read to the DB, just the filesystem.

Some ideas come from this stack overflow. Idea is just to use the built in templating.
Also could be useful from the Django docs.

Clean up FileSystem implementation

A couple things noticed during implementation:

  • Need a configurable exclude files set.
    • will allow to exclude some custom top level folders
  • Exclude top level folders where any .part are present. This means they are still being downloaded.
  • Exclude any Addition that does not contain any video files. Probably means it is not a real download.

Add endpoint: list of transfers

  • Get the combined list of, differentiated with a status key:
    • Transmission transfers in progress
    • Completed transfers pulled from file system, no .part files in the folder
  • Add a new transfer

Take inspiration from Pitor

Coveralls reporting broken

Builds are currently shown as being empty. Probably should go back to using Coveralls official GitHub Action

Setup pytest

Setup a test to cover the list endpoint with all it's variations

Setup Coveralls

Once Github Actions is working, report coverage to Coveralls.
Will require setting that up as well.

Requires #3

Add endpoint: account profile

Get information on the currently logged in user. May even be as simple as the username to start. This will enable the profile view in the app.

GET /api/v1/auth/account

Rename service

Because of naming limits, this should now be called Bakus Service.

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.