Commit Graph

19 Commits

Author SHA1 Message Date
Kyle Robbertze 6ca1ca2aec
feat: run API tests in CI (#1421)
* feat: run API tests in CI

* fix: remove incorrect test for guest user viewing themself
2021-10-18 14:17:34 +02:00
Jonas L 7384dd7a2f
feature: Use setuptools entrypoints (#1409)
* Use console_scripts entrypoint for libretimeapi

* Use console_scripts entrypoint for playout
2021-10-18 09:44:39 +02:00
Jonas L 30b3470a06
Better format enforcing (#1391)
* Add shared python format-check target

* Add .format-check to api lint target

* Format api code with makefile format target

* Add .format-check to tools lint target

* Add .format-check to analyzer lint target

* Format analyzer code with makefile format target

* Add .format-check to celery lint target

* Add .format-check to api_client lint target

* Format api_client code with makefile format target

* Add .format-check to playout lint target

* Run CI linting in parallel

* Disable isort in pre-commit
2021-10-17 16:24:37 +02:00
Kyle Robbertze 1274b2d849
Add openapi spec for API v2 (#1388) 2021-10-16 20:34:03 +02:00
jo 7f7ce0acb2 Fix api2 permissions check 2021-10-08 06:04:43 +02:00
Kyle Robbertze 77a07f4b83 make check sequence a tuple 2021-09-22 15:27:40 +02:00
Kyle Robbertze 8ca356303b correctly filter schedule items based on is_valid
Fixes: #1360
2021-09-21 21:42:57 +02:00
Kyle Robbertze 6caa29e0c9 filter out invalid schedule items 2021-09-21 11:36:49 +02:00
jo fc02f8cafb Cleanup 2021-09-19 22:39:10 +02:00
jo f84e40dc06 Small refactoring 2021-09-19 22:38:49 +02:00
jo d8c5206e2e Fix cueout for overlapping starts & ends schedule 2021-09-19 20:48:19 +02:00
Kyle Robbertze 4f765ebb2d remove debug statement 2021-08-12 10:08:38 +02:00
Kyle Robbertze 7e1be7b028 Truncate schedule items that run over the time of the containing show
Fixes: #1272
2021-08-12 10:08:38 +02:00
jo 01fbd1e8b9 Add isort pre-commit hook
Sort import statement in python files

See https://github.com/PyCQA/isort
2021-06-05 00:39:35 +02:00
jo b26de72704 Remove python encoding pragma 2021-06-05 00:39:23 +02:00
jo 5e9f99ed7e More spelling fix (dangerous) 2021-06-04 17:06:05 +02:00
jo c27f020d73 Format code using black 2021-06-04 17:06:05 +02:00
jo ac17db97fc Fix missing encoding pragma on python files 2021-06-04 17:04:53 +02:00
Kyle Robbertze 2df0189a90 add API v2 2021-05-14 13:04:46 +02:00