Jonas L
703a8e5856
chore: remove cloud storage remainings ( #1934 )
2022-07-04 22:09:14 +02:00
jo
0e6b0da142
feat(legacy): add Ukrainian language
2022-07-04 20:00:51 +02:00
jo
fa136fad97
chore: explicit schedule file metadata dict values
2022-07-01 11:07:26 +02:00
jo
216ab62507
style(legacy): format Schedule.php
2022-07-01 11:07:26 +02:00
jo
523f646acc
feat(legacy): compute md5 during early upload
2022-06-28 19:05:14 +02:00
jo
df3b4fccd4
style(legacy): format CcFiles.php
2022-06-28 19:05:14 +02:00
Jonas L
9c042c881a
feat: remove unused cc_perms table ( #1909 )
2022-06-22 16:32:39 +02:00
Jonas L
4837a1885d
feat: remove unused cc_sess table ( #1907 )
2022-06-22 15:15:31 +02:00
jo
71cfab79ef
feat: rename default stream mount point to main
...
This will not change the default mount point if you are upgrading.
BREAKING: The default stream mount point changed from `airtime_128` to `main`. Be sure to updates your clients accordingly.
2022-06-18 12:08:29 +02:00
Jonas L
8d2b340017
fix(legacy): remove file directory metadata ( #1887 )
2022-06-17 16:02:13 +02:00
jo
28b9343c77
fix(legacy): remove not null contraint when using default
...
This fixes the inital schema creation to match as if the old migrations
were always run.
The third_party_track_references.file_id field should not have a not
null constraint while have a default value to 0.
2022-06-08 23:23:08 +02:00
jo
f7bb6e7592
feat: move storage path setting to configuration file
...
- change default storage path to /srv/libretime
- remove music dirs table
- use /tmp for testing storage
- storage dir should always have a trailing slash
2022-06-08 23:23:08 +02:00
jo
980f1acd0c
fix: correct cc_file.artwork column size
2022-06-08 23:23:08 +02:00
Jonas L
be5d732006
fix(legacy): station url always has a trailing slash ( #1838 )
2022-05-05 19:24:51 +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
ae5746d26d
style: fix php-cs-fixer linting ( #1575 )
2022-02-08 11:14:59 +02: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
jo
3f67d36909
fix(legacy): default values when array is null
2022-01-27 16:01:09 +02:00
Jonas L
8569af9328
style(legacy): force semicolon on same line ( #1534 )
2022-01-23 20:15:55 +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
1efa0742c9
Clean and update locales ( #1402 )
...
* Remove untranslated languages
* Add country prefix to some locales
* Remove locale template file
* Prepare nl_NL and tr_TR locale for future use
* Sort locales list and put en_Us at the top
* Enhance locale Makefile
Add clean target for locales
Set locale all target to clean and build
Ensure we keep issue tracker on po updates
* Update locales headers
* Scan sources files and update locales
2021-10-17 00:20:03 +02:00
jo
a070e4a4c3
Rename locale text domain to libretime
2021-10-15 14:12:27 +02:00
jo
a7e6cb4ed8
Remove 'pro' locales domain
2021-10-15 14:12:27 +02:00
jo
69d85c4236
Fix legacy services check names
2021-10-14 16:03:35 +02:00
jo
83b7e4162e
Run pre-commit on legacy code
2021-10-12 11:17:57 +02:00
jo
f05c228f1d
Put regex rules between single quotes
2021-10-12 11:09:46 +02:00
jo
d52c6184b9
Format code using php-cs-fixer
2021-10-12 11:07:56 +02:00
jo
3e18d42c8b
Rename airtime_mvc/ to legacy/
2021-10-11 13:43:25 +02:00