Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove http/static_dir support #1463

Closed
4 tasks done
jodal opened this issue Feb 22, 2016 · 0 comments
Closed
4 tasks done

Remove http/static_dir support #1463

jodal opened this issue Feb 22, 2016 · 0 comments
Assignees
Labels
A-http Area: HTTP frontend breaking change A breaking change that requires a major version bump
Milestone

Comments

@jodal
Copy link
Member

jodal commented Feb 22, 2016

The http/static_dir config value was deprecated in Mopidy 1.0 almost a year ago. We should remove it entirely because:

  • Properly packaged web clients are much easier to install for end users.
  • http/static_dir can only be used by a single client.
  • http/static_dir hides the list of other installed clients (that is, it is always available at http://.../mopidy/).
  • Our cookiecutter project makes is easy getting a properly packaged web client up and running, eliminating then need for http/static_dir as a development tool.

Tasks:

  • Change the config schema type to config_lib.Deprecated()
  • Remove default from mopidy/http/ext.conf
  • Remove static dir hosting support in Mopidy-HTTP (see _get_mopidy_request_handlers())
  • Update JS extension docs to not use http/static_dir in examples
@jodal jodal added Enhancement A-http Area: HTTP frontend breaking change A breaking change that requires a major version bump labels Feb 22, 2016
@jodal jodal added this to the v3.0 - Python 2+3 support milestone Feb 22, 2016
@jodal jodal self-assigned this Sep 30, 2018
jodal added a commit to jodal/mopidy that referenced this issue Sep 30, 2018
jodal added a commit to jodal/mopidy that referenced this issue Sep 30, 2018
jodal added a commit that referenced this issue Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-http Area: HTTP frontend breaking change A breaking change that requires a major version bump
Projects
None yet
Development

No branches or pull requests

1 participant