jo
0e4bc4cacd
feat: replace php migration with django migration
...
- keep latest legacy version in initial migration file
- move propel schema to api legacy app
- remove legacy upgrade tool
2022-06-08 23:23:08 +02:00
Jonas L
9d5de61241
chore(api): add mypy django stubs plugins ( #1726 )
2022-04-09 12:18:23 +02:00
jo
bf8db3e6f0
chore(api): add pylint-django plugin
2022-04-04 15:20:22 +02:00
Jonas L
fce988aef1
feat(api): split api into multiple apps ( #1626 )
...
Fixes #1622
- split the api into 4 apps: core, history, schedule, storage
- exploded the settings into testing/prod
2022-04-04 14:38:50 +02:00
jo
2dcc654b70
feat(api): load config using shared helpers
...
- add django settings module documentation
- use default for previously required fields
BREAKING CHANGE: The API command line interface require the
configuration file to be present. The default configuration file path is
`/etc/airtime/airtime.conf`
2022-03-02 22:03:56 +02:00
jo
4da8d8c06b
fix(api): model_bakery is a dev dependency
2022-03-02 22:03:56 +02:00
jo
441028a1d2
chore: make setup.py file chdir consistent
2022-01-26 10:15:35 +02:00
jo
e84137a8ee
chore: fixes after libretime_api rename
2022-01-04 09:18:58 +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
Kyle Robbertze
1274b2d849
Add openapi spec for API v2 ( #1388 )
2021-10-16 20:34:03 +02:00
jo
6013434393
Install api with prod extra requires
2021-10-01 17:49:33 +02:00
jo
aad92c4ac1
Revert 77315885b9
...
And remove prod extra requires for api because ./setup.py install
don't handle extra requires.
2021-09-17 07:23:26 +02:00
jo
c2df85c751
Cleanup redondant/useless requirements
2021-09-13 14:44:32 +02:00
jo
3a336375c2
Setup python_requires to >=3.6
...
Fix python_requires format
2021-09-10 15:14:48 +02:00
jo
3dbc1205d0
Start linting with mypy
2021-09-10 15:14:48 +02:00
jo
0d88d17f7c
Use setup extra_requires for dev/prod dependencies
...
Also add pylint by default.
2021-09-10 13:45:27 +02:00
jo
c9e35b1f62
Update setup tools project details
2021-09-02 15:45:37 +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
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