Add thumbnail command

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix use regex test() instead of string match()

- app/routes/api.js: fix API version regex
- app/routes/api.js: fix use regex test()
- bin/shell: fix use regex test()

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix default value

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix callbacks

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix model.all() calls when empty array is returned

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix useless model.count() and meta name

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix variable

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix error with header check

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix remove useless variables initialization

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix object test and remove useless var init

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix error messages

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Replace updateAttributes() by updateAttribute()

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>