mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-22 06:17:58 -05:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ab4d9d67df | ||
|
|
f7a2f049bd |
@@ -28,8 +28,8 @@ A demo is available at https://demo.mediacms.io
|
|||||||
- **Multiple media types support**: video, audio, image, pdf
|
- **Multiple media types support**: video, audio, image, pdf
|
||||||
- **Multiple media classification options**: categories, tags and custom
|
- **Multiple media classification options**: categories, tags and custom
|
||||||
- **Multiple media sharing options**: social media share, videos embed code generation
|
- **Multiple media sharing options**: social media share, videos embed code generation
|
||||||
- **Role-Based Access Control (RBAC)
|
- **Role-Based Access Control (RBAC)**: create RBAC categories and connect users to groups with view/edit access on their media
|
||||||
- **SAML support
|
- **SAML support**: with ability to add mappings to system roles and groups
|
||||||
- **Easy media searching**: enriched with live search functionality
|
- **Easy media searching**: enriched with live search functionality
|
||||||
- **Playlists for audio and video content**: create playlists, add and reorder content
|
- **Playlists for audio and video content**: create playlists, add and reorder content
|
||||||
- **Responsive design**: including light and dark themes
|
- **Responsive design**: including light and dark themes
|
||||||
|
|||||||
@@ -445,19 +445,6 @@ CELERY_TASK_ALWAYS_EAGER = False
|
|||||||
if os.environ.get("TESTING"):
|
if os.environ.get("TESTING"):
|
||||||
CELERY_TASK_ALWAYS_EAGER = True
|
CELERY_TASK_ALWAYS_EAGER = True
|
||||||
|
|
||||||
|
|
||||||
if GLOBAL_LOGIN_REQUIRED:
|
|
||||||
# this should go after the AuthenticationMiddleware middleware
|
|
||||||
MIDDLEWARE.insert(6, "login_required.middleware.LoginRequiredMiddleware")
|
|
||||||
LOGIN_REQUIRED_IGNORE_PATHS = [
|
|
||||||
r'/accounts/login/$',
|
|
||||||
r'/accounts/logout/$',
|
|
||||||
r'/accounts/signup/$',
|
|
||||||
r'/accounts/password/.*/$',
|
|
||||||
r'/accounts/confirm-email/.*/$',
|
|
||||||
# r'/api/v[0-9]+/',
|
|
||||||
]
|
|
||||||
|
|
||||||
# if True, only show original, don't perform any action on videos
|
# if True, only show original, don't perform any action on videos
|
||||||
DO_NOT_TRANSCODE_VIDEO = False
|
DO_NOT_TRANSCODE_VIDEO = False
|
||||||
|
|
||||||
@@ -544,3 +531,16 @@ try:
|
|||||||
from .dev_settings import * # noqa
|
from .dev_settings import * # noqa
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
if GLOBAL_LOGIN_REQUIRED:
|
||||||
|
# this should go after the AuthenticationMiddleware middleware
|
||||||
|
MIDDLEWARE.insert(6, "login_required.middleware.LoginRequiredMiddleware")
|
||||||
|
LOGIN_REQUIRED_IGNORE_PATHS = [
|
||||||
|
r'/accounts/login/$',
|
||||||
|
r'/accounts/logout/$',
|
||||||
|
r'/accounts/signup/$',
|
||||||
|
r'/accounts/password/.*/$',
|
||||||
|
r'/accounts/confirm-email/.*/$',
|
||||||
|
# r'/api/v[0-9]+/',
|
||||||
|
]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
VERSION = "5.0.0"
|
VERSION = "5.0.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user