This repository has been archived by the owner on Aug 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ongoing work, replace listdir with scandir, unicode rework * fix empty dir detection, pep8, improve tests * add plugin actions via callback check, pep8 * fix player directory dirs not defined * test playabledirectory recursion * fix paths on scrutinizer and coverage * refactor File class * revert omit on make coverage * fix unsafe Response usage * add iter_files to PlayableDirectory * add missing merge changes * rewrite player plugin for clarity, simplify Node class interface * add plugin arguments * remove unused module, cover PlayListFile classes * fix python2-related issues * implement browser sorting * implement jplayer playlist * player page test * add blueprint tests * add editorconfig, fix css/js/html formatting * add pep8 to travis * implement head-button, multifile upload, add plugin argument test * fix sort th buttons * split upload button js to reduce redraws * fix browse column header text * rename register_action callback kwarg to filter * ongoing widget refactor * refactor widgets, fix tests * add support for widget callable properties * add mimetype-based icons, fix player css * add default link on file widgets, docstrings * implement jinja2 html-min * add extension tests * add proper no-cover hints on test runner * ignore certain tags on html minification * fix ignored tag attributes not being minified * switch to state-machine minify (broken) * simplify html minification * fix and complete html minification algorithm * browsepy as a command, update readme * add autodoc * doc ongoing work * more documentation * ongoing doc ref fixing * ongoing docs * update travis stuff * avoid travis-sphinx breaking builds * improve doc sidebar * document plugin manager * add tests and tools on requirements * fix missing compat vars * add pypy3 target to travis * add workaround to well-known flask bug * disable pypy3 build * first step on backwards compatibility * more backwards compatibility and regular tests * tests and fixes * always defer deprecated widget properties * fix app context issues * safer url comparison * fix deprecated test app config * more doc and tests * reformat readme * make build task * add pep8 to travis * add doc refs and hide deprecated methods * doc update
- Loading branch information
Showing
65 changed files
with
6,296 additions
and
1,045 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
max_line_length = 79 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[Makefile] | ||
indent_style = tab | ||
|
||
[*.{yml,json,css,js,html,rst}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.5.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
checks: | ||
python: | ||
code_rating: true | ||
duplicate_code: true | ||
python: | ||
code_rating: true | ||
duplicate_code: true | ||
filter: | ||
excluded_paths: | ||
- "*/test*.py" | ||
excluded_paths: | ||
- "*/tests.py" | ||
- "*/tests/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,49 @@ | ||
test: | ||
.PHONY: doc clean pep8 coverage travis | ||
|
||
test: pep8 | ||
ifdef debug | ||
python setup.py test --debug=$(debug) | ||
else | ||
python setup.py test | ||
endif | ||
|
||
clean: | ||
rm -rf build dist browsepy.egg-info htmlcov MANIFEST \ | ||
.eggs *.egg .coverage | ||
find browsepy -type f -name "*.py[co]" -delete | ||
find browsepy -type d -name "__pycache__" -delete | ||
$(MAKE) -C doc clean | ||
|
||
build: clean | ||
mkdir -p build | ||
python3 -m venv build/env3 | ||
build/env3/bin/pip install pip --upgrade | ||
build/env3/bin/pip install wheel | ||
env3/bin/python setup.py bdist_wheel --require-scandir | ||
env3/bin/python setup.py sdist | ||
|
||
upload: build | ||
python setup.py upload | ||
|
||
doc: | ||
$(MAKE) -C doc html | ||
|
||
showdoc: doc | ||
xdg-open file://${CURDIR}/doc/.build/html/index.html >> /dev/null | ||
|
||
pep8: | ||
find browsepy -type f -name "*.py" -exec pep8 --ignore=E123,E126,E121 {} + | ||
|
||
coverage: | ||
coverage run --source=browsepy setup.py test | ||
|
||
showcoverage: coverage | ||
coverage html | ||
xdg-open file://${CURDIR}/htmlcov/index.html >> /dev/null | ||
|
||
travis-script: pep8 coverage | ||
travis-sphinx --nowarn --source=doc build | ||
|
||
travis-success: | ||
coveralls | ||
travis-sphinx deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.