Commit Graph

1333 Commits

Author SHA1 Message Date
3ad0b7994b Preventing urlvars of null breaking connection; Acceping test_mode=1 in URL 2020-02-13 08:54:12 +13:00
b3a15f01d0 Buildout 2020-02-11 09:54:08 +13:00
37c1fe1dc2 Use /IS_CONTAINER switch 2020-02-11 09:53:58 +13:00
683ca69b7d Fix checking the boolean flag
``[[ $flag ]]`` checks if the variable is not empty. Not if it's true or false. Which means it will always succeed, because both possible values (``true`` and ``false``) are not empty.

An alternative would be ``[[ "$flag" = "true" ]]``.

Fixes some points mentioned in #489. Doesn't address changing `pip` to `pip3` (or maybe even ``python3 -m pip``) or the missing detection of the version number.
2020-02-10 10:26:28 +01:00
7fbe4e29ca Fixing parsing of host and port params in URL sharing, #490 2020-02-10 08:03:12 +13:00
2f07b82058 Fixing upgrade command 2020-02-10 07:21:16 +13:00
15943369d4 Using crude but predictable file to detect when running in docker, #489 2020-02-10 07:15:30 +13:00
33dc3d0203 Updating icon references, fixes #473 2020-02-09 08:15:10 +13:00
38b074ba59 Re-black 2020-02-07 08:08:21 +13:00
3e0339432f Disabling stdout tests (for now); Fixing concat for long strings 2020-02-07 08:07:37 +13:00
af37d37e68 Moving through unit tests, still failing 2020-02-06 16:31:11 +13:00
4331e6bbf8 Black take two; Moving excludes into setup.cfg 2020-02-06 10:44:49 +13:00
588879bf95 Flake8 re-run 2020-02-06 10:16:47 +13:00
d07a59a1e7 Autopep8 2020-02-06 10:14:27 +13:00
4ae58cdf9e Black run 2020-02-06 10:12:28 +13:00
e23a3b65ec Fixing flex lists 2020-02-04 10:44:05 +13:00
b789d322b3 Formatting 2020-02-03 16:48:39 +13:00
df18eba73c Running black 2020-02-03 16:14:04 +13:00
7e7fe8d65e Adding version to setup.cfg 2020-01-31 06:29:54 +13:00
b127cffe4c Using build tools to inject version into init, passing tox tests 2020-01-31 06:23:34 +13:00
92abf62bae Buildout 2020-01-30 21:14:34 +13:00
9ca98d946a Unset column width to fill available space (yuss for flexbox) 2020-01-30 21:10:10 +13:00
4b752821c2 Animating progress loader 2020-01-27 16:52:12 +13:00
64fbcc45b9 Placeholder iris.core.ioloop; Lists handling explicit flag without breaking columns 2020-01-26 14:25:45 +13:00
564839c92b Exposing ws ioloop for Frontend to piggy-back 2020-01-25 22:18:52 +13:00
87aa88a908 Adding mopidy-local back; Consistency with updated events; Notification progress indicator 2020-01-24 13:43:03 +13:00
a70818b88d Adding consistent ..._updated update event listeners for system tasks 2020-01-24 06:36:07 +13:00
37220ea523 Sharing of settings (including Snapcast); Fixing commands storage 2020-01-23 21:57:57 +13:00
52869390f3 Last async bug in check_for_radio_tracks 2020-01-23 18:03:48 +13:00
a9ea4f1694 Adding tracks using uris [] 2020-01-23 17:30:26 +13:00
b23917dca0 Passing websocket/http ioloop through to iris core methods 2020-01-23 06:57:52 +13:00
d66f073bca Docker image updated (beta); TODO: Version info 2020-01-22 21:55:22 +13:00
7f0f39d478 Merging Python3 2020-01-22 21:22:54 +13:00
e0724cedf7 Preparing for production release 2020-01-22 21:21:49 +13:00
f581d683bc Genius scraping working again 2020-01-22 16:19:57 +13:00
f33e37a1d1 Scraping Genius not rendering by jQuery for some reason 2020-01-22 16:04:19 +13:00
bdd82b1447 Lyrics request to use async client 2020-01-22 14:26:15 +13:00
7da76f3b9c Radio now functional; Fetching lyrics still triggers 'Cannot run the event loop while another loop is running' error... 2020-01-19 21:21:11 +13:00
20d5e3729d Upgrading to lookup.uris (no singular uri argument any more); Immutable add_uris prevents track disappearing from lists 2020-01-18 07:32:59 +13:00
aff3a4d035 Ok, NOW it's using logger.info for stdout 2020-01-17 23:15:39 +13:00
169396042a Theoretical handling of system task updates; stdout straight to logger 2020-01-17 23:14:43 +13:00
0e15a8745e Attaching Tornado ioloop to SystemThread, handling SystemThread errors with JsonRPC structure 2020-01-17 21:55:12 +13:00
76dc149041 Removing debug code, adding to test 2020-01-17 17:01:24 +13:00
be9602e72c Merge pull request #477 from kingosticks/feature/python3-py37
Feature/python3 py37
2020-01-17 16:41:39 +13:00
985f7bb542 Removed pointless script_path check.
If the file is missing, the install is bad and all bets are off.
2020-01-17 01:07:28 +00:00
47400bdd8c Use AsyncHTTPClient instead of HTTPClient.
Regarding HTTPClient, Tornado docs state:
"Applications that are running an IOLoop must use AsyncHTTPClient instead."

Also added some HTTP handler tests.
2020-01-17 00:59:52 +00:00
d0048a4f8b Adding IRIS_VERSION to contain version for buildouts 2020-01-14 16:26:42 +13:00
040153f482 Shuffle even when loading from index, follow on from #391 2020-01-10 09:49:44 +13:00
94f62b75da Added IrisSystemThread.get_command() helper and system tests.
_USE_SUDO is to make testing easier.
2020-01-08 22:22:30 +00:00
700e09acfb Support arbitrary path encodings and better error handling. 2020-01-08 22:22:30 +00:00