add user password reset, add series image switch, add image licences, redesign exclude filters

This commit is contained in:
Milan
2018-03-17 13:14:13 +01:00
parent b3f743dee9
commit aadf3fd06e
48 changed files with 1329 additions and 667 deletions

View File

@@ -178,7 +178,11 @@ CREATE TABLE `calcms_event_history` (
`series_id` int(10) unsigned DEFAULT NULL,
`deleted` tinyint(1) unsigned DEFAULT '0',
`project_id` int(10) unsigned NOT NULL,
`draft` tinyint(3) unsigned NOT NULL DEFAULT '0',
`recurrence_count` int(10) unsigned NOT NULL DEFAULT '0',
`draft` tinyint(1) unsigned NOT NULL DEFAULT '0',
`series_image` VARCHAR(200) DEFAULT NULL,
`image_label` VARCHAR(200) DEFAULT NULL,
`series_image_label` VARCHAR(200) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `end` (`end`),
KEY `start` (`start`),
@@ -264,6 +268,9 @@ CREATE TABLE `calcms_events` (
`archive_url` varchar(300) DEFAULT NULL,
`recurrence_count` int(10) unsigned NOT NULL DEFAULT '0',
`draft` tinyint(1) unsigned NOT NULL DEFAULT '0',
`series_image` VARCHAR(200) DEFAULT NULL,
`image_label` VARCHAR(200) DEFAULT NULL,
`series_image_label` VARCHAR(200) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `end` (`end`),
KEY `start` (`start`),
@@ -315,6 +322,8 @@ CREATE TABLE `calcms_images` (
`modified_by` varchar(64) DEFAULT NULL,
`modified_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`project_id` int(10) unsigned NOT NULL,
`public` tinyint(1) unsigned NULL DEFAULT '0',
`licence` varchar(300) NULL,
PRIMARY KEY (`id`),
KEY `created_at` (`created_at`),
KEY `filename` (`filename`),
@@ -395,7 +404,7 @@ CREATE TABLE `calcms_playout` (
`rms_image` varchar(300) DEFAULT NULL,
`replay_gain` float DEFAULT NULL,
`updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`modified_at` datetime NOT NULL,
`modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`project_id`,`studio_id`,`start`),
KEY `project_id` (`project_id`),
KEY `studio_id` (`studio_id`),