* camera images ordered by mtime

* display image by camera is now second to last, not the last one
* indent changes in javascript code
* js code should now be more roboust if there are camera folders getting deleted
This commit is contained in:
Dávid Danyi
2018-01-25 15:44:39 +01:00
parent 07a95f5c4b
commit 139116d76f
8 changed files with 46 additions and 34 deletions

View File

@@ -12,7 +12,7 @@ class CameraPictureManagerServiceTest extends TestCase
{
const EXISTING_CAM_DIR = 'cam1';
const EXISTING_IMAGE = 'img1.png';
const MISSING_IMAGE = 'img9.png';
const MISSING_IMAGE = 'imgXX.png';
const TEST_DATA_DIR = 'test/data';
/** @var Config */