Commit Graph

40 Commits

Author SHA1 Message Date
Jonas L. a3865aa6ee
fix: add missing file for nb_NO locale (#3075)
### Description

Related to #3073
2024-09-07 21:13:52 +02:00
Jonas L. e614fbcf6c
feat: add Norwegian Bokmål locale (#3073)
### Description

Locale was requested on Weblate.
2024-09-06 14:43:40 +01:00
dakriy 4642b6c08e
feat(legacy): add filename block criteria (#3015)
### Description

Adds filename block criteria because sometimes you just need the
filename and the ID3 tags won't do.

Closes  #3014
2024-06-22 11:51:59 +02:00
Thomas Göttgens 064c435b09
refactor(legacy): remove unused waveform related code (#3003)
Co-authored-by: Thomas Göttgens <tgoettgens@mail.com>
Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
2024-05-05 21:15:11 +02:00
Thomas Göttgens da02e74f21
feat(legacy): visual cue point editor (#2947)
A visual cue point editor in the track editor view. This view displays the track as a waveform and allows you to set where the in- and out-cue points are set. These cue points determine the start and end points of the track.

---------

Co-authored-by: Thomas Göttgens <tgoettgens@mail.com>
Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
2024-04-21 10:13:43 +01:00
Thomas Göttgens 270aa08ae6
fix(legacy): allow updating track types code (#2955)
Since moving to an indexed track_type model for 3.0, the constraint of the code being immutable is no longer
valid, since it's not used as index anymore. This commit removes the readonly flag from that form field.
2024-02-18 19:10:30 +01:00
renovate[bot] 8c5512cd73
chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614)
* chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3

* style: format code using prettier v3.0.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-07-06 21:39:05 +02:00
jo f357fb64b7
Merge branch 'stable' 2023-04-24 16:03:18 +02:00
Jonas L aa98309634
fix(legacy): keep datatable settings between views (#2519)
Use a different storage key for datatable settings for the dashboard and
builder views. The settings were overwritten when the other view was
loaded.
2023-04-24 14:52:52 +01:00
Jonas L 4bf729679e
fix(legacy): don't print track_type id in show builder table (#2510) 2023-04-18 08:22:48 +01:00
jo f5e46c6f3d feat: configure cue points analysis per track type 2023-02-15 10:13:32 +02:00
jo 9a005138a7 fix(legacy): missing plupload uk_UA translation 2022-10-07 16:33:21 +02:00
jo 6b16df8966 fix(legacy): update or remove broken links 2022-09-21 08:28:43 +02:00
Jonas L 5e2ec8956e
fix(legacy): rebuild favicon (#2167) 2022-09-20 19:55:02 +02:00
Jonas L 4496e3d061
fix(legacy): number of tracks displayed initially (#2168)
Fix #124
2022-09-20 19:54:22 +02:00
jo 5bf62dd9cb feat(legacy): read stream config from file
- We don't delete the stream preferences from the database to prevent data loss. This will be handled in a future release.
2022-09-06 13:21:54 +02:00
Jonas L 1550d44ac5
style(legacy): format (#2039) 2022-08-10 13:38:19 +02:00
jo c28fe32cdc style(legacy): php-cs-fixer upgrade 2022-07-11 17:30:52 +02:00
jo db976881f0 fix: use constrained foreign key for files track_type 2022-07-07 21:07:41 +02:00
jo 5e8f7d430f style(legacy): format files 2022-07-07 21:07:41 +02:00
Jonas L 652ce53f89
chore(legacy): add missing datatables uk_UA i18n (#1937) 2022-07-05 08:36:25 +02:00
jo 0d16960887 feat: remove php web installer 2022-06-08 23:23:08 +02:00
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
jo aed6d2f294 feat: change config dir path to /etc/libretime
BREAKING: The configuration directory changed from `/etc/airtime` to
`/etc/libretime`. Please rename your configuration directory accordingly.
2022-06-08 23:23:08 +02:00
jo 604ff20239 feat: change config filename to config.yml
BREAKING: The configuration file name changed from `airtime.conf` to
`config.yml`. Please rename your configuration file accordingly.
2022-06-08 23:23:08 +02:00
jo 981ba4fe33 fix(legacy): the ini config parser requires a .conf ext
- rename installer config filepath
2022-04-25 16:45:01 +02:00
jo 88e618e802 fix(legacy): bypass config validation during django migration 2022-04-25 16:45:01 +02:00
jo 751d430bcc feat: replace exploded base_* with public_url
Fixes #1574

BREAKING CHANGE: The `general` section in the config schema has changed: the `general.base_*`, `general.protocol` and `general.force_ssl` configuration fields have been replaced with a single `general.public_url` field. Be sure to use a valid url with the new configuration field.
2022-04-25 16:45:01 +02:00
Jonas L 69d8eae845
style(legacy): fix code format with php-cs-fixer (#1674) 2022-03-14 12:15:04 +02:00
Jonas L c80f520d76
fix(legacy): update setup with new db config schema (#1567) 2022-02-05 09:48:36 +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
Jonas L 8569af9328
style(legacy): force semicolon on same line (#1534) 2022-01-23 20:15:55 +02:00
Jonas L f42d67d41d
fix(legacy): api migration config variable name (#1522) 2022-01-18 09:36:40 +02:00
dependabot[bot] ccde6039e7
Bump php-amqplib/php-amqplib from 2.12.3 to 3.0.0 in /legacy (#1418)
* Bump php-amqplib/php-amqplib from 2.12.3 to 3.0.0 in /legacy

Bumps [php-amqplib/php-amqplib](https://github.com/php-amqplib/php-amqplib) from 2.12.3 to 3.0.0.
- [Release notes](https://github.com/php-amqplib/php-amqplib/releases)
- [Changelog](https://github.com/php-amqplib/php-amqplib/blob/master/CHANGELOG.md)
- [Commits](https://github.com/php-amqplib/php-amqplib/compare/v2.12.3...v3.0.0)

---
updated-dependencies:
- dependency-name: php-amqplib/php-amqplib
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Replace deprecated AMQPConnection with AMQPStreamConnection

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2021-10-17 21:55:12 +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 a7d06ad076
Fix double path separator in require_once (#1408) 2021-10-17 08:54:08 +02:00
jo 83b7e4162e Run pre-commit on legacy code 2021-10-12 11:17:57 +02:00
jo d52c6184b9 Format code using php-cs-fixer 2021-10-12 11:07:56 +02:00
jo c4c89eae19 Fix paths after legacy rename 2021-10-11 13:43:39 +02:00
jo 3e18d42c8b Rename airtime_mvc/ to legacy/ 2021-10-11 13:43:25 +02:00