Markos Gogoulos 3a8cacc847
feat: Bulk fixes (#1195)
remove ckeditor - not in use
add more strict default password validators
set Django admin as configurable URL
add nginx HSTS and CSP headers
enable moving from private to unlisted in the PORTAL_WORKFLOW private
on default comments listing, show only comments for public media
in case of a private media, dont expose any unneeded metadata
2025-02-13 13:41:53 +02:00

35 lines
1.1 KiB
HTML

MediaCMS.url = {
home: "/",
search: "/search",
latestMedia: "/latest",
featuredMedia: "/featured",
recommendedMedia: "/recommended",
members: "/members",
/* Error pages */
error404: "/error",
/* Archive pages */
tags: "/tags",
categories: "/categories",
/* User pages */
likedMedia: "/liked",
history: "/history",
/* Add pages */
addMedia: "/upload",
/* Profile/account edit pages */
editProfile: "{{user.edit_url}}",
{% if request.user.is_authenticated %}
signout: "/accounts/logout/",
editChannel: "{{user.default_channel_edit_url}}",
changePassword: "/accounts/password/change/",
/* Administration pages */
{% if IS_MEDIACMS_ADMIN %}admin: '/{{DJANGO_ADMIN_URL}}',{% endif %}
/* Management pages */
{% if IS_MEDIACMS_EDITOR %}manageMedia: "/manage/media",{% endif %}
{% if IS_MEDIACMS_MANAGER %}manageUsers: "/manage/users",{% endif %}
{% if IS_MEDIACMS_EDITOR %}manageComments: "/manage/comments",{% endif %}
{% else %}
signin: "/accounts/login/",
register: "/accounts/signup/",
{% endif %}
};