Compare commits

..

6 Commits

Author SHA1 Message Date
semantic-release-bot 10c0782fe0 chore(release): 8.0.4 [skip ci]
## [8.0.4](https://github.com/mediacms-io/mediacms/compare/v8.0.3...v8.0.4) (2026-05-11)

### Bug Fixes

* docker compose settings, provide key ([318dad0](https://github.com/mediacms-io/mediacms/commit/318dad0e5d2512d68068c019eb87f942f83318e9))
2026-05-11 11:14:41 +00:00
Markos Gogoulos 318dad0e5d fix: docker compose settings, provide key 2026-05-11 14:13:56 +03:00
semantic-release-bot 09ead87884 chore(release): 8.0.3 [skip ci]
## [8.0.3](https://github.com/mediacms-io/mediacms/compare/v8.0.2...v8.0.3) (2026-05-11)

### Bug Fixes

* secret key ([559977f](https://github.com/mediacms-io/mediacms/commit/559977f9bc74412739784926862b94a558e6fd84))
2026-05-11 10:12:14 +00:00
Markos Gogoulos 559977f9bc fix: secret key 2026-05-11 13:11:22 +03:00
semantic-release-bot 35de017562 chore(release): 8.0.2 [skip ci]
## [8.0.2](https://github.com/mediacms-io/mediacms/compare/v8.0.1...v8.0.2) (2026-05-11)

### Bug Fixes

* provide Bento4 url ([c19c520](https://github.com/mediacms-io/mediacms/commit/c19c5207e907cbd7d0c968d8cd8caaec20706277))
2026-05-11 10:03:56 +00:00
Markos Gogoulos c19c5207e9 fix: provide Bento4 url 2026-05-11 13:03:13 +03:00
6 changed files with 46 additions and 6 deletions
+18
View File
@@ -1,5 +1,23 @@
# Changelog # Changelog
## [8.0.4](https://github.com/mediacms-io/mediacms/compare/v8.0.3...v8.0.4) (2026-05-11)
### Bug Fixes
* docker compose settings, provide key ([318dad0](https://github.com/mediacms-io/mediacms/commit/318dad0e5d2512d68068c019eb87f942f83318e9))
## [8.0.3](https://github.com/mediacms-io/mediacms/compare/v8.0.2...v8.0.3) (2026-05-11)
### Bug Fixes
* secret key ([559977f](https://github.com/mediacms-io/mediacms/commit/559977f9bc74412739784926862b94a558e6fd84))
## [8.0.2](https://github.com/mediacms-io/mediacms/compare/v8.0.1...v8.0.2) (2026-05-11)
### Bug Fixes
* provide Bento4 url ([c19c520](https://github.com/mediacms-io/mediacms/commit/c19c5207e907cbd7d0c968d8cd8caaec20706277))
## [7.7.0](https://github.com/mediacms-io/mediacms/compare/v7.6.0...v7.7.0) (2026-05-11) ## [7.7.0](https://github.com/mediacms-io/mediacms/compare/v7.6.0...v7.7.0) (2026-05-11)
### Features ### Features
+1 -1
View File
@@ -16,7 +16,7 @@ RUN mkdir -p ffmpeg-tmp && \
# Install Bento4 in the specified location # Install Bento4 in the specified location
RUN mkdir -p /home/mediacms.io/bento4 && \ RUN mkdir -p /home/mediacms.io/bento4 && \
wget -q http://zebulon.bok.net/Bento4/binaries/Bento4-SDK-1-6-0-637.x86_64-unknown-linux.zip && \ wget -q --tries=5 --waitretry=10 --timeout=30 https://www.bok.net/Bento4/binaries/Bento4-SDK-1-6-0-637.x86_64-unknown-linux.zip && \
unzip Bento4-SDK-1-6-0-637.x86_64-unknown-linux.zip -d /home/mediacms.io/bento4 && \ unzip Bento4-SDK-1-6-0-637.x86_64-unknown-linux.zip -d /home/mediacms.io/bento4 && \
mv /home/mediacms.io/bento4/Bento4-SDK-1-6-0-637.x86_64-unknown-linux/* /home/mediacms.io/bento4/ && \ mv /home/mediacms.io/bento4/Bento4-SDK-1-6-0-637.x86_64-unknown-linux/* /home/mediacms.io/bento4/ && \
rm -rf /home/mediacms.io/bento4/Bento4-SDK-1-6-0-637.x86_64-unknown-linux && \ rm -rf /home/mediacms.io/bento4/Bento4-SDK-1-6-0-637.x86_64-unknown-linux && \
+25 -2
View File
@@ -1,6 +1,7 @@
import os import os
from celery.schedules import crontab from celery.schedules import crontab
from django.core.management.utils import get_random_secret_key
from django.utils.translation import gettext_lazy as _ from django.utils.translation import gettext_lazy as _
DEBUG = False DEBUG = False
@@ -171,8 +172,30 @@ REST_FRAMEWORK = {
} }
SECRET_KEY = "2dii4cog7k=5n37$fz)8dst)kg(s3&10)^qa*gv(kk+nv-z&cu" # Set the SECRET_KEY env var in production. If unset, a fresh random key is
# TODO: this needs to be changed! # generated or read from a .secret_key file to ensure all workers share the same key.
def get_secret_key():
key = os.getenv('SECRET_KEY')
if key:
return key
base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
secret_path = os.path.join(base_dir, '.secret_key')
if os.path.exists(secret_path):
with open(secret_path) as f:
return f.read().strip()
key = get_random_secret_key()
try:
with open(secret_path, 'w') as f:
f.write(key)
except Exception:
pass
return key
SECRET_KEY = get_secret_key()
TEMP_DIRECTORY = "/tmp" # Don't use a temp directory inside BASE_DIR!!! TEMP_DIRECTORY = "/tmp" # Don't use a temp directory inside BASE_DIR!!!
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+1 -1
View File
@@ -1 +1 @@
VERSION = "8.0.1" VERSION = "8.0.4"
-1
View File
@@ -2,7 +2,6 @@ import os
FRONTEND_HOST = os.getenv('FRONTEND_HOST', 'http://localhost') FRONTEND_HOST = os.getenv('FRONTEND_HOST', 'http://localhost')
PORTAL_NAME = os.getenv('PORTAL_NAME', 'MediaCMS') PORTAL_NAME = os.getenv('PORTAL_NAME', 'MediaCMS')
SECRET_KEY = os.getenv('SECRET_KEY', 'ma!s3^b-cw!f#7s6s0m3*jx77a@riw(7701**(r=ww%w!2+yk2')
REDIS_LOCATION = os.getenv('REDIS_LOCATION', 'redis://redis:6379/1') REDIS_LOCATION = os.getenv('REDIS_LOCATION', 'redis://redis:6379/1')
DATABASES = { DATABASES = {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "mediacms", "name": "mediacms",
"version": "7.7.0", "version": "8.0.4",
"devDependencies": { "devDependencies": {
"@semantic-release/changelog": "^6.0.3", "@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1", "@semantic-release/git": "^10.0.1",