Commit Graph

353 Commits

Author SHA1 Message Date
renovate[bot] f1d187ebe3
chore(deps): update pre-commit/action action to v3 (#1864)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-05 23:54:28 +02:00
renovate[bot] b27f62f3fb
chore(deps): update lycheeverse/lychee-action action to v1.5.0 (#1861)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-31 06:41:15 +02:00
renovate[bot] 6289b5be6f
chore(deps): update docker/login-action action to v2 (#1844)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-06 08:13:20 +02:00
renovate[bot] f9e80377d5
chore(deps): update docker/build-push-action action to v3 (#1843)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-05 21:39:31 +02:00
renovate[bot] 64d17832cf
chore(deps): update amannn/action-semantic-pull-request action to v4.5.0 (#1825)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 13:17:20 +02:00
Kyle Robbertze 696f7f957d
ci: add link to next version of the docs in preview comment (#1824) 2022-05-03 11:38:54 +02:00
Kyle Robbertze 164cddca9f
ci: rename api-client repo (#1805) 2022-04-25 16:31:04 +02:00
Jonas L e320ce204e
ci: reduce usage (#1804)
* ci: move analyzer jobs in a dedicated workflow

* ci: move worker jobs in a dedicated workflow

* ci: move legacy jobs in a dedicated workflow

* ci: move shared jobs in a dedicated workflow

* ci: move api-client jobs to dedicated workflow

* ci: remove unused test job

* ci: move api jobs in a dedicated workflow

* ci: move playout ci jobs in a dedicated workflow

* ci: remove unused test job

* ci: move test-with-database in api workflow

* ci: run playout on api-client changes

* ci: rename tools workflow to dev-tools

* ci: rename generic tests workflow to project

* ci: rename lint-pr workflow to pr

* ci: update python tests concurrency

* ci: update python caching keys

* ci: update website/docs trigger condition

* ci: update legacy trigger condition

* ci: readd cancel in progress

* ci :update api cache key
2022-04-25 15:27:10 +02:00
renovate[bot] 684951dcd3
chore(deps): update amannn/action-semantic-pull-request action to v4.4.0 (#1801)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 11:14:40 +00:00
Jonas L 62a7558ed1
chore: allow deps scope for commit messages (#1803) 2022-04-25 13:05:42 +02:00
Kyle Robbertze c460bb1f6b chore(deps): remove dependabot 2022-04-25 12:57:49 +02:00
Kyle Robbertze 634fea9a04 chore(deps): configure renovate 2022-04-25 12:57:49 +02:00
Jonas L 7865683f53
ci: fix website preview cleanup branch (#1793) 2022-04-23 20:05:28 +02:00
dependabot[bot] 148292933a
chore: bump amannn/action-semantic-pull-request from 4.2.0 to 4.3.0 (#1772)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/master/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 09:11:15 +00:00
Jonas L 8a8476755c
ci: do not cache website preview build (#1763) 2022-04-12 15:13:46 +00:00
Jonas L f183886224
ci: update workflow dispatch input description (#1762) 2022-04-12 15:01:35 +00:00
Jonas L 6e31dc0005
ci: setup command dispatcher (#1759) 2022-04-12 16:10:01 +02:00
Kyle Robbertze c033c68daa
ci: use GH actions bot for schema generation committer (#1756) 2022-04-12 13:27:44 +02:00
jo 388519fa73 ci: add website-preview workflow 2022-04-11 12:47:06 +02:00
jo 6e00a75f9f ci: add website build cache 2022-04-11 12:47:06 +02:00
jo b42ab29b59 ci: only run website workflow for main branch 2022-04-11 12:47:06 +02:00
jo b18cc8c2e8 ci: move docs linting to docs workflow 2022-04-11 12:47:06 +02:00
Jonas L 0ac19964e7
ci: ignore versioned_docs with find_closed_references (#1753) 2022-04-11 07:11:07 +00:00
jo 28be15f83b ci: test on ubuntu jammy 2022-04-09 19:23:45 +02:00
Jonas L 652349c749
ci: simplify legacy test matrix (#1749) 2022-04-09 17:53:14 +02:00
Jonas L f2e7c3c124
ci: fix dev images creation script (#1745) 2022-04-09 16:33:10 +02:00
Jonas L 5f4badcdeb
ci: build test images for ubuntu jammy (#1743) 2022-04-09 16:18:12 +02:00
jo aedfd522d7 ci: don't run api-schema generation on forks 2022-04-08 16:44:06 +02:00
Jonas L 4113ea7506 ci: update api-schema generation commit message 2022-04-08 16:44:06 +02:00
Kyle Robbertze beebe79edd
ci: generate schema and push to api-client repo (#1740)
* chore(api): add schema generation make target

* ci: generate schema and push to api-client repo
2022-04-08 15:38:58 +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
Jonas L fef38fb131
chore: rename api_client to api-client (#1727) 2022-04-04 10:25:38 +02:00
Jonas L e623c1f0df
ci: add missing python3-venv package for testing (#1729)
Related to 8c96c0a094
2022-04-03 15:07:31 +02:00
Jonas L 713640e8dc
chore: release 3.0.0-alpha.12 (#1718) 2022-03-29 15:49:33 +02:00
Jonas L 331df277b4
docs: fix and update links (#1714) 2022-03-29 13:07:38 +02:00
Kyle Robbertze 3c50d67b8e ci: use current release notes 2022-03-28 21:13:41 +02:00
jo 01daceedc9 ci: don't run linting in custom testing container 2022-03-28 17:55:08 +02:00
jo d49681447e ci: use ppa in all ubuntu distributions 2022-03-28 17:55:08 +02:00
jo 4f14be8ca0 ci: run test container as root
Should fix a permissions issue with github actions
2022-03-28 17:55:08 +02:00
Jonas L 7c44580260
ci: install git in libretime-dev testing image (#1706)
This might fix a lot of false positive while downloading the
code to the testing folder.
2022-03-28 11:35:12 +00:00
Jonas L 877eb6cee7
chore: ignore docusaurus extra packages upgrade (#1705) 2022-03-28 11:23:30 +00:00
dependabot[bot] 4f35a7e419
chore: bump lycheeverse/lychee-action from 1.3.2 to 1.4.1 (#1698)
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1.3.2 to 1.4.1.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](https://github.com/lycheeverse/lychee-action/compare/v1.3.2...v1.4.1)

---
updated-dependencies:
- dependency-name: lycheeverse/lychee-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 11:23:04 +02:00
dependabot[bot] 6c47250647
chore: bump peter-evans/create-issue-from-file from 3 to 4 (#1699)
Bumps [peter-evans/create-issue-from-file](https://github.com/peter-evans/create-issue-from-file) from 3 to 4.
- [Release notes](https://github.com/peter-evans/create-issue-from-file/releases)
- [Commits](https://github.com/peter-evans/create-issue-from-file/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/create-issue-from-file
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 11:22:04 +02:00
dependabot[bot] 8ccf371a04
chore: bump actions/cache from 2 to 3 (#1690)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 12:57:04 +02:00
dependabot[bot] e1dc69af9e
chore: bump actions/checkout from 2 to 3 (#1668)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 09:22:29 +00:00
dependabot[bot] 3d14989c5c
chore: bump lycheeverse/lychee-action from 1.3.1 to 1.3.2 (#1667)
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](https://github.com/lycheeverse/lychee-action/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: lycheeverse/lychee-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 11:19:04 +02:00
dependabot[bot] 417c2fa4b9
chore: bump actions/setup-python from 2 to 3 (#1669)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 11:17:51 +02:00
Jonas L 83eec6a878
ci: lowercase org name (#1656) 2022-03-03 13:07:16 +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
dependabot[bot] cc0e764f47
chore: bump lycheeverse/lychee-action from 1.3.0 to 1.3.1 (#1646)
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](https://github.com/lycheeverse/lychee-action/compare/v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: lycheeverse/lychee-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 11:20:02 +02:00
dependabot[bot] a058f80958
chore: bump actions/setup-node from 2 to 3 (#1647)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 11:17:50 +02:00
Jonas L 6dcea43f7a
chore: ignore closed ref notifer on releases notes (#1635) 2022-02-24 17:34:57 +02:00
Kyle Robbertze a7e9549643 docs: fix deploy to LibreTime website 2022-02-21 10:00:22 +01:00
Jonas L 3ec85d7821
docs: update structure and create links between pages (#1611)
* docs: rework files structure

* rewrite documentation entrypoint

* update category files and use yml

* add manuals entry page

* update admin-manual titles and page order

* create releases sections

* move ssl configuration to reverse proxy

* docs: update website vars and links

* update release note codeblock syntax key

* resurect troubleshooting guide

* Update freeipa custom auth documentation

* add notice about the state of the documentation

* update the backup documentation

* tmp: allow to deploy the website for preview

* Don't use require.resolve for plugins

* Update the main page link dest

* update development environment title

* rewrite the install/upgrade/migrate as guides

* update website docs sections links

* Fix urls

* move release note to documentation

* move home links to vars files

* tmp: update deploy url

* add react to tsconfig to handle jsx linting

* fix: replace absolute url to relative path to files

* tmp: allow CI Website dpeloy on working branch

* Update release note title

* use default syntax highlighting theme

* update the troubleshooting guide

* Wording

* use CodeBlock components

* Better prose

* remove api_client config section

* fix prose errors

* update import prefix for vars file

* reroder docs manuals links

* use sentence capitalization for page titles

* Wording

* missing word

* Update note about syslog log file

* wording
2022-02-21 09:16:54 +02:00
jo 8113077fd9 chore: fix broken links 2022-02-16 15:01:25 +02:00
dependabot[bot] 0bde024bda
chore: bump lycheeverse/lychee-action from 1.2.1 to 1.3.0 (#1597)
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](https://github.com/lycheeverse/lychee-action/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: lycheeverse/lychee-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 11:24:42 +02:00
jo 94d3c5e496 docs: fix prose linting errors
- Properly enclose code between triple backticks
- Put paths and url between backticks
- Remove links <> enclosing
- Libretime styled name is LibreTime
- Put urls and paths betwen backticks
- Use sentence like capitalization for headings
- Put tools name between backticks
- Update links
2022-02-11 10:12:07 +01:00
jo 75e3760f2e ci: setup docs prose linting with vale
- only deploy if prose lint passes
- rework styles download
- add vale anotations matcher
- set MinAlertLevel to warning
- add website pages to the prose linter
- do not fail on docs linting
2022-02-11 10:12:07 +01:00
jo dae1420a5b ci: add link-checker workflow
- merge closed-references and link-checker
- add issue number to update
2022-02-10 08:40:38 +01:00
jo 328e36168d ci: only cancel same worklow 2022-02-10 08:40:38 +01:00
dependabot[bot] 89214966c2 chore: bump amannn/action-semantic-pull-request from 4.1.0 to 4.2.0
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/master/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-10 08:21:23 +01:00
jo 17f3aab7cb ci: add dependabot check on website 2022-02-10 08:17:02 +01:00
jo 270fef3cbc ci: add website deploy workflow
Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
2022-02-10 08:17:02 +01:00
jo 8d8e55f236 docs: replace jekyll with docusaurus
- jsnon5 not handled by pre-commit

Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
2022-02-10 08:17:02 +01:00
dependabot[bot] 94ca1b3e41 chore: bump amannn/action-semantic-pull-request from 3.6.0 to 4.1.0
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 3.6.0 to 4.1.0.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/master/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/v3.6.0...v4.1.0)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 10:17:48 +01:00
Jonas L 3245216869
feat(legacy): add db config defaults and allow custom port (#1559)
* feat(legacy): allow custom port for database connection

- fix heredoc for php72

* update test config db section

* update sample config db section

* update api db config

* use defaults for database config section

* update documentation

* more documentation for migration
2022-02-04 16:03:01 +02:00
Jonas L 729a7b99e0
feat(legacy): consolidate constants (#1558)
* remove unused file

* fix paths leading slash

* remove useless imports

* refactor(legacy): use constants everywhere

* fix path leading slash

* remove useless import

* consolidate legacy contants

* format code

* reuse LIBRETIME_CONFIG_DIR

* fix test config path

* remove ci legacy log dir creation

* some logs improvements
2022-02-04 12:00:41 +02:00
jo a15e1fead5 chore(shared): add dependabot dependencies check 2022-01-31 11:17:02 +02:00
jo ca37322da4 chore: reorder dependabot entries 2022-01-31 11:17:02 +02:00
Jonas L 7ce6104806
chore: remove broken invite-contributors config (#1541)
Fixes #1323
2022-01-31 11:14:23 +02:00
jo ad7686e8a7 feat(api): update env var settings loading
BREAKING CHANGE: environment variables names changed
'LIBRETIME_CONF_DIR' was removed
'LIBRETIME_CONF_FILE' was renamed to 'LIBRETIME_CONFIG_FILEPATH'
2022-01-17 09:49:22 +02:00
Jonas L 4443528cf8
ci: cancel duplicate test workflow (#1513) 2022-01-13 19:35:42 +02:00
Jonas L c2cd1c28b8
chore: rename master branch to main (#1508) 2022-01-13 16:03:31 +00:00
dependabot[bot] db8dd87d61
chore: bump amannn/action-semantic-pull-request from 3.5.0 to 3.6.0 (#1500)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/master/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/v3.5.0...v3.6.0)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-10 11:13:06 +02:00
Jonas L 9bad45acb3
ci: add shared to allowed commit scopes (#1494) 2022-01-07 17:34:59 +02:00
Jonas L 3a615cafa0
feat: create libretime_shared package (#1349)
* feat: create libretime_shared package

- We don't use pydantic.BaseSettings because of some
  incompatble loading behavior.

* fix: whitelist pydantic in pylintrc

* docs: update to new BaseConfig behavior

* docs: change confusing config filepath
2022-01-06 15:40:52 +02:00
jo 4a7f2290f1 ci: pin action-semantic-pull-request version 2022-01-04 08:26:27 +01:00
Jonas L bd43688757
ci: add semantic pull request linting (#1472)
* ci: add semantic pull request linting

* ci: add missing link to conventional commits
2022-01-04 09:15:08 +02:00
Jonas L 0b994c4e20
ci: add closed references notificier workflow (#1467)
This workflow will check for issue links in the code
that has been closed upstream and can be dealt with.
2022-01-04 08:51:03 +02:00
Jonas L e5ac78414e
chore(ci): let dependapot catch up with commit syle (#1468) 2022-01-03 08:02:06 +02:00
Kyle Robbertze 360bcb0a9c chore: add semantic-release prefix to dependabot commits 2021-11-17 10:20:19 +01:00
Jonas L 4057c88cf0
feat: debian 11 support (#1292)
* Debian 11 Support

Run api ci test on bullseye as well

* Silan does not work for mp3 on bullseye

* Liquisoap does not fail with wma files on bullseye
2021-11-09 11:21:40 +02:00
Kyle Robbertze 8200df1c40 ci: add missing focal database test run 2021-11-08 20:57:41 +01:00
Kyle Robbertze 7182390000
feat: add support for Ubuntu Focal 20.04 (#1168)
Co-authored-by: Valerio Bozzolan <gnu@linux.it>
2021-11-04 09:55:50 +02:00
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 7837cc2320
Add dependabot check for legacy composer (#1392) 2021-10-17 18:25:50 +02:00
Jonas L 5e8d8db6e9
Feature: Support php7.4 (#1354)
* Run CI tests against php 7.4

* Sort composer dependencies

* Remove unused Aws S3 php library

* Pin simplepie dependency to ^1.5

* Pin getid3 dependency to ^1.9

* Pin composer semver to ^3.2

* Pin php-amqplib to ^2.12

* Drop sentry logging support

* Update composer dependencies

* Move propel regenerate to Makefile

* Regenerate propel files with v1.7.0

* Pin propel orm to ^1.7

* Regenerate propel files with v1.7.2

* fix: generator_version in airtime-conf-production.php

* Replace propel/propel1 with jooola/propel1

* Regenerate propel files with v1.7.3-dev

* Fix php7.4 compatibility

Using php-cs-fixer:

    '@PhpCsFixer' => true,
    'concat_space' => ['spacing' => 'one'],
    'ordered_class_elements' => false,
    'yoda_style' => false,
    '@PHP74Migration' => true,
    'assign_null_coalescing_to_coalesce_equal' => false,
    'ternary_to_null_coalescing' => false,
    'heredoc_indentation' => false,
    '@PHP74Migration:risky' => true,
    'declare_strict_types' => false,
    'void_return' => false,
    'use_arrow_functions' => false,

* Fix pre-commit
2021-10-17 17:19:53 +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
jo 19c816f294 Update paths after playout move 2021-10-17 08:02:47 +00:00
jo 8fe0156d4f Update paths after api_client move 2021-10-17 08:02:47 +00:00
jo cf36eec5f8 Update paths after wroker move 2021-10-17 08:02:47 +00:00
jo 08f13d850c Update paths after analyzer move 2021-10-17 08:02:47 +00:00
Kyle Robbertze 9f1e41e6fa
Fix release action (#1401)
* correctly output file content

* trigger on version tags

* install gettext

* do not allow manual releases

* use maintained release action
2021-10-15 16:50:18 +02:00
Kyle Robbertze 9e9f6b433a
Create alpha.10 release notes (#1395)
* create alpha.10 release notes

* fix table of context to be markdown

* add python script cleanup

* fix links

* add API v2 feature

* Remove /usr/local/bin references

* add issue links to known issues and fix API v2 description

* Sort cleanup command args

* Better cleanup comments

Co-authored-by: Jonas L <jooola@users.noreply.github.com>
2021-10-15 15:49:45 +02:00
Jonas L 4335795c52
chore: Enhance release workflow (#1400)
* Rename package-release to release

* Move tarball creation in Makefile

* Enhance release workflow

* Add --ignore-platform-reqs to composer build
2021-10-15 14:59:59 +02:00
jo 81b0f22277 Improve legacy Makefile 2021-10-15 01:49:56 +02:00
jo 6a2b90b44d Add php-cs-fixer ci job 2021-10-12 11:07:56 +02:00
jo c4c89eae19 Fix paths after legacy rename 2021-10-11 13:43:39 +02:00
Kyle Robbertze 87525efaba update to use new labels for issue filing 2021-09-21 22:01:05 +02:00
jo ed8a63a284 Update labels 2021-09-18 17:12:46 +02:00
jo 78344167da Allow ci image user to run sudo without password 2021-09-16 21:34:41 +02:00
Kyle Robbertze 56f5a84146
Merge pull request #1339 from jooola/feat/ci_start_linting
Start linting 🎉 !
2021-09-13 12:01:31 +00:00
jo 9a7c3e0d21 Replace build.sh with make to manage airtime_mvc 2021-09-11 04:55:51 +02:00
jo 03b109dcb5 Fix paths after composer.* files move 2021-09-11 04:48:53 +02:00
jo 15145039b3 Add annotations matchers 2021-09-10 15:14:48 +02:00
jo c9322fbcc8 Use makefile in test jobs
Reorder test job sorting
2021-09-10 15:14:48 +02:00
jo 00b73a3819 Add CI linting job
Use a single lint job

Run linting inside a container
2021-09-10 15:14:48 +02:00
Kyle Robbertze 31c2d2ee7f disable interactive frontend for apt in docker builds 2021-09-09 20:16:22 +02:00
jo 3677a08656 Prepare Ubuntu 20.04 support
Start building docker dev images for testing purpose.
2021-09-09 17:54:27 +02:00
jo 1ec11f2a87 Prepare Debian 11 support
Start building docker dev images for testing purpose.
2021-09-09 16:31:55 +02:00
jo 7f1c368c13 Run tools CI job 2021-09-07 23:10:34 +02:00
jo 7cb3501540 Rename scripts/ to tools/ 2021-09-07 23:03:19 +02:00
jo bbabffcc0d Remove unused lock workflow 2021-09-02 16:12:14 +02:00
jo 610a1d673b Fix CI docker test image
- Lowercase registry organisation name
- Always use LibreTime's org dev image for tests
- Never build the dev image on forks
2021-09-01 17:06:40 +02:00
jo 84c334eafb Add missing ffmpeg package for fixtures generation 2021-09-01 16:00:08 +02:00
jo 4a3ce313d1 Enhance CI workflow
- Explode tests in multiple jobs.
- Cache apt dependencies in a shared docker image.
- Run tests on different distribution (debian/ubuntu, and maybe centos).
2021-09-01 16:00:08 +02:00
jo 8ac5c1ba03 Generate analyzer fixtures using ffmpeg 2021-08-30 21:23:38 +02:00
jo 2db156040c Remove xenial file leftover 2021-08-17 14:15:12 +02:00
jo 5ec5ef8a40 Fix CI python app installation 2021-08-17 12:24:00 +02:00
jo 9881eebf55 Fix shellcheck warnings 2021-08-17 12:23:36 +02:00
jo dc999f9006 Fix shellcheck errors 2021-08-17 12:23:32 +02:00
jo 6c2e547808 Allow custom shellcheck severity
Normal severity is normal.

CI severity is set to warning, but this should be
changed to style (default) once most
of the scripts are iether gone or modernized.
2021-08-17 12:20:52 +02:00
jo 38513c3bed Add shell-check job
We don't want to fail on shellcheck yet.
2021-08-17 12:20:52 +02:00
jo 5b64b29bdc ci: use test matrix for php and python tests 2021-08-15 13:53:30 +02:00
Kyle Robbertze f94e90a7f6 update documentation to remove bionic 2021-07-12 10:13:07 +02:00
Kyle Robbertze fa5db502ed Drop Ubuntu Xenial support
Fixes: #1226
2021-07-06 10:27:17 +02:00
Kyle Robbertze 817919b5be Add pull request template
Fixes: #794
2021-07-03 18:43:26 +02:00
Kyle Robbertze 16a9168d4f
Merge pull request #1227 from jooola/update_contibuting
Improve CONTRIBUTING and community links
2021-06-13 18:37:08 +02:00
jo ed3d527c09 Update CI to run pytest 2021-06-08 14:28:16 +02:00
jo 8d9d1e43c5 Update CI to run api_clients pytest 2021-06-08 14:06:32 +02:00
jo 19b7573b6f Improve CONTRIBUTING and community links
- Enhance CONTRIBUTING.md file.
- Add extra links to issue chooser.
2021-06-08 00:39:26 +02:00
Kyle Robbertze e8d5481422
Merge pull request #1210 from jooola/setup-pre-commit
Add pre-commit setup
2021-06-07 23:14:56 +02:00
jo cd17d0e6f9 Setup dependabot config 2021-06-07 23:08:32 +02:00
jo 35e325fbf0 Move lint/pre-commit to test/pre-commit workflow 2021-06-05 00:39:35 +02:00
jo 0180fa0e49 Fix shebangs 2021-06-04 17:06:05 +02:00
jo 1af089219f Bump pre-commit/actions version to 2.0.3 2021-06-04 17:06:05 +02:00
Jonas L c04daca033 Pin pre-commit action version
Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
2021-06-04 17:06:05 +02:00
jo efe4fa027e Format code using prettier 2021-06-04 17:04:53 +02:00
jo 65f7b41487 Fix spelling 2021-06-04 17:04:53 +02:00
jo 0cd499eee1 Add pre-commit setup
- Add pre-commit hooks
- Add github action to enforce pre-commit setup

For any hooks required for a 'sub project', for
instance the UI. It will be possible to create custom hooks,
and call some package scripts in the package.json file.

Fixes #1208
2021-06-04 17:04:53 +02:00
Kyle Robbertze 6beece7057 run CI on pull request updates 2021-05-31 10:54:07 +02:00
Kyle Robbertze ab3cc1afdd do not run release on every push to master 2021-05-27 15:31:30 +02:00
Kyle Robbertze b6d83d9b9b install for all python apps 2021-05-21 16:50:57 +02:00
Kyle Robbertze ca28cc5170 make release on tags draft 2021-05-21 16:45:29 +02:00
Kyle Robbertze c7c62b1268 drop Python tests on xenial 2021-05-21 16:40:29 +02:00
Kyle Robbertze e63fa940df pass environment to step 2021-05-21 16:36:12 +02:00
Kyle Robbertze 629d1d451b set log dir permissions 2021-05-21 16:29:45 +02:00
Kyle Robbertze 6193d80e2a group install steps 2021-05-21 16:22:50 +02:00
Kyle Robbertze 6f6d90fad7 update replaygain values 2021-05-21 16:15:50 +02:00
Kyle Robbertze ed8366cf58 install mock 2021-05-21 15:45:05 +02:00
Kyle Robbertze 29086efd9b install nose 2021-05-21 15:42:20 +02:00
Kyle Robbertze a720ad13e1 make scripts executable 2021-05-21 15:36:41 +02:00
Kyle Robbertze d3ed443888 do not fail fast 2021-05-21 15:32:58 +02:00
Kyle Robbertze 359d351e20 fail python test when tests fail 2021-05-21 15:30:26 +02:00
Zachary Klosko 78e78243f7 Using fixed date in tests, removing extra dependencies 2020-12-29 10:03:41 -05:00
Zachary Klosko 1476b69abc Oops 2020-12-29 10:03:41 -05:00
Zachary Klosko 277297e3ba Adding back Bionic test 2020-12-29 10:03:41 -05:00
Zachary Klosko bbb909a467 Nevermind 2020-12-29 10:03:41 -05:00
Zachary Klosko 752f354d0b Rearranging cacheing 2020-12-29 10:03:41 -05:00
Zachary Klosko a16739bb9b Trying out cacheing 2020-12-29 10:03:41 -05:00
Zachary Klosko f1a58fc8ca Reverting Python testing 2020-12-29 10:03:41 -05:00
Zachary Klosko e67bf8545d Changing call on PHP script 2020-12-29 10:03:41 -05:00
Zachary Klosko 0f1da44a87 Reaching brink of insanity 2020-12-29 10:03:41 -05:00
Zachary Klosko b2e34e6bb1 Switching to Github Action 2020-12-29 10:03:41 -05:00
Zachary Klosko 572a3a273c Updating Composer dependencies 2020-12-29 10:03:41 -05:00
Zachary Klosko 621a08dc74 Back to Xenial 2020-12-29 10:03:41 -05:00
Zachary Klosko 314695f8f9 Reverting to Bionic tests, moving up Python tests 2020-12-29 10:03:41 -05:00
Zachary Klosko 1758f3bf88 Switch test to Xenial 2020-12-29 10:03:41 -05:00
Zachary Klosko 29b853c813 Adding in ls for debugging 2020-12-29 10:03:41 -05:00
Zachary Klosko 7bad165ade Changing dependencies 2020-12-29 10:03:41 -05:00
Zachary Klosko 537ceed683 Readding PHP dependencies on install 2020-12-29 10:03:41 -05:00
Zachary Klosko 3877aead8c Adding PHP setup Github Action 2020-12-29 10:03:41 -05:00
Zachary Klosko 6b55206eff Merging installer strings 2020-12-29 10:03:41 -05:00
Zachary Klosko 09dc9f53f3 Trying @pashagolub's suggestion 2020-12-29 10:03:41 -05:00
Zachary Klosko ab2bb53ff2 Adding back PHP and Postgres actions 2020-12-29 10:03:41 -05:00
Zachary Klosko 488a611440 Adding back PHP tests (I think) 2020-12-29 10:03:41 -05:00
Zachary Klosko 2adf947148 Removing PHP dependencies in test install 2020-12-29 10:03:41 -05:00
Zachary Klosko aabef630c1 Removing PHP Composer test 2020-12-29 10:03:41 -05:00
Zachary Klosko 25904e164f Removing Postgre, Xenial from testing 2020-12-29 10:03:41 -05:00
Zachary Klosko 85e1f29ea4 Adding systemctl restart postgres 2020-12-29 10:03:41 -05:00
Zachary Klosko 76a52a8ebd Adding sudos to install.sh 2020-12-29 10:03:41 -05:00
Zachary Klosko da8ab32073 Typo 2020-12-29 10:03:41 -05:00
Zachary Klosko 365b65f21f Merging Bionic and Xenial tests 2020-12-29 10:03:41 -05:00
Zachary Klosko b444f7d3b1 Adding -x to nosetests and correcting DB setup scripts 2020-12-29 10:03:41 -05:00
Zachary Klosko 97db37e9f2 Adding back exclusions, fixing asset_path 2020-12-29 10:03:41 -05:00
Zachary Klosko 6e57e10169 New idea: work out of one directory 2020-12-29 10:03:41 -05:00
Zachary Klosko 1008182c64 Working on fixing packaging process 2020-12-29 10:03:41 -05:00
Zachary Klosko 25a40d2131 Attempting database install fix 2020-12-29 10:03:41 -05:00
Zachary Klosko 35541522f7 Fixing database issues in testing 2020-12-29 10:03:41 -05:00
Zachary Klosko cd6e105c6e Automates import of release notes in body
Requires RELEASENOTES file in repo root
2020-12-29 10:03:41 -05:00
Zachary Klosko dbbc666a8d Automating packaging take 1 #v.0.1 2020-12-29 10:03:41 -05:00
Zachary Klosko 34c511208c Bionic and Xenial tests work
Not sure what PHP version is being used for each, but composer install works on both tests
2020-12-29 10:03:41 -05:00
Zachary Klosko 70b8b1bfe1 Add manual run trigger 2020-12-29 10:03:41 -05:00
Zachary Klosko e58bbd31e8 Adding triggers for PRs 2020-12-29 10:03:41 -05:00
Zachary Klosko fc8b3df0ee Removing sudo 2020-12-29 10:03:41 -05:00
Zachary Klosko 977f5e9669 Establishing Xenial test workflow 2020-12-29 10:03:41 -05:00
Kyle Robbertze a723ac040b Add sponsor button 2020-05-19 22:07:50 +02:00
Kyle Robbertze b768bfd0f7 do not mark milestone issues and release blockers as stale 2019-10-20 22:28:40 +02:00
Kyle Robbertze 2c9584f631
Merge pull request #897 from radiorabe/feature/stale-bot
Configure stale bot
2019-10-20 22:01:18 +02:00
Lucas Bickel 97e92f0cf6 (probot) Configure stale bot 2019-10-20 21:53:47 +02:00