Jonas L
fc856c5667
fix(legacy): get local logo file ( #1999 )
...
Load logo content from the local file instead of the public location.
2022-07-27 09:51:14 +02:00
Jonas L
067b35e9bb
feat(analyzer): load callback details from config and file_id ( #1993 )
2022-07-26 14:19:22 +02:00
Jonas L
d93731807c
feat(worker): load callback details from config ( #1994 )
2022-07-26 14:18:41 +02:00
jo
71b3f7f065
chore: remove schedule unused independent_event
2022-07-20 12:05:01 +02:00
jo
a8cb62586e
feat: remove unused cc_country table
2022-07-12 11:33:22 +02:00
jo
f234aa7c42
fix(legacy): no invalid track type in smartblock criteria
2022-07-12 11:32:26 +02:00
jo
c28fe32cdc
style(legacy): php-cs-fixer upgrade
2022-07-11 17:30:52 +02:00
jo
829b9bcd5b
chore(legacy): use Config::getPublicUrl helper
...
Replace Application_Common_HTTPHelper::getStationUrl with Config::getPublicUrl.
2022-07-08 11:03:10 +02:00
jo
72960593c7
chore(legacy): use Config::getBasePath helper
...
Replace Application_Common_OsPath::getBaseDir with Config::getBasePath.
2022-07-08 11:03:10 +02:00
jo
712ecd70b4
chore(legacy): remove exploded public_url config
...
Replace exploded public_url parts with validated url object.
2022-07-08 11:03:10 +02:00
jo
db976881f0
fix: use constrained foreign key for files track_type
2022-07-07 21:07:41 +02:00
jo
bcaea16c19
fix(legacy): check empty before iteration on files
2022-07-07 21:07:41 +02:00
jo
5e8f7d430f
style(legacy): format files
2022-07-07 21:07:41 +02:00
Jonas L
4d393fa14e
style(legacy): format files ( #1946 )
2022-07-07 20:01:15 +02:00
Jonas L
eb19283d96
fix(legacy): don't log 'could not obtain lock' exception ( #1943 )
...
Fixes #1490
2022-07-07 16:47:56 +02:00
jo
c6bba21ef9
fix(legacy): station-metadata api endpoint
...
- Remove hardcoded http://
- Add missing $request variable
2022-07-07 16:44:27 +02:00
jo
be7447b28f
style(legacy): format ApiController.php
2022-07-07 16:44:27 +02:00
jo
f1270fed6f
feat(legacy): don't guess cors url from server
2022-07-07 10:51:07 +02:00
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
jo
f936ba39ed
style(legacy): format stream settings model
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
0d16960887
feat: remove php web installer
2022-06-08 23:23:08 +02:00
jo
eb8e7b3415
feat: move allowed cors url to configuration file
...
- don't set cors origins form field as readonly and add deprecation notice.
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
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
e4439390fe
feat: change config file format to yaml
...
- docs: add link to yaml.org
BREAKING: The `ini` configuration file format changed to `yml`. Please
rewrite your configuration file using the yaml format.
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
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
241105f0a0
fix(legacy): load vendors during config init
...
Propel does not have the vendors loaded, even if they are loaded during 'preload.php'.
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
Kyle Robbertze
d698ace89f
chore: update code of conduct URLs ( #1724 )
...
* chore: update code of conduct URLs
* lowercase org name
Co-authored-by: Jonas L <jooola@users.noreply.github.com>
2022-04-01 13:02:13 +00:00
Jonas L
331df277b4
docs: fix and update links ( #1714 )
2022-03-29 13:07:38 +02:00
Jonas L
69d8eae845
style(legacy): fix code format with php-cs-fixer ( #1674 )
2022-03-14 12:15:04 +02:00
jo
dc7560e1df
feat(legacy): replace massivescale/celery-php with jooola/celery-php
2022-03-04 22:18:29 +02:00
jo
f088cc2873
feat(legacy): clean config parsing and add defaults
...
BREAKING CHANGE: The configuration schema has changed:
- The `rabbitmq.*` configuration fields now have defaults.
- The `current_backend.storage_backend` configuration field
now defaults to the only valid value `file`.
- The `general.cache_ahead_hours` configuration field now defaults to 1.
2022-02-23 13:18:05 +02:00
jo
4d868fac00
feat: remove unused web_server_user config entry
...
- remove InstallStorageDirectory function
BREAKING CHANGE: The configuration schema has changed:
- The `general.web_server_user` configuration field is
not used anymore.
2022-02-23 13:18:05 +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