Time and calendar: a stopwatch timer started before there is a ticket that goes to a new ticket through Quick ticket or onto an open one, the time you logged today and this week in the timers panel, reminders for calendar events and for work booked on your tickets by notification and optional email (db 4.0.6, a new Reminders cron job), and a Timeline tab on projects with bookings in time, now, start and due, clashes and the open tickets not booked yet

This commit is contained in:
johnnyq
2026-11-19 21:03:37 -05:00
parent c98fa4bc8a
commit 5af76f5d8e
26 changed files with 1132 additions and 33 deletions

21
db.sql
View File

@@ -587,6 +587,7 @@ CREATE TABLE `calendar_events` (
`event_repeat_until` date DEFAULT NULL,
`event_repeat_skip` text DEFAULT NULL,
`event_sequence` int(11) NOT NULL DEFAULT 0,
`event_reminder` int(11) DEFAULT NULL,
`event_created_at` datetime NOT NULL DEFAULT current_timestamp(),
`event_updated_at` datetime DEFAULT NULL ON UPDATE current_timestamp(),
`event_archived_at` datetime DEFAULT NULL,
@@ -602,6 +603,24 @@ CREATE TABLE `calendar_events` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `calendar_reminders`
--
DROP TABLE IF EXISTS `calendar_reminders`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `calendar_reminders` (
`reminder_kind` varchar(10) NOT NULL,
`reminder_item_id` int(11) NOT NULL,
`reminder_for` datetime NOT NULL,
`reminder_user_id` int(11) NOT NULL,
`reminder_sent_at` datetime NOT NULL DEFAULT current_timestamp(),
PRIMARY KEY (`reminder_kind`,`reminder_item_id`,`reminder_for`,`reminder_user_id`),
KEY `reminder_sent_at` (`reminder_sent_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `calendars`
--
@@ -5017,6 +5036,8 @@ CREATE TABLE `user_settings` (
`user_config_signature` text DEFAULT NULL,
`user_config_theme_dark` tinyint(1) NOT NULL DEFAULT 0,
`user_config_compact_rows` tinyint(1) NOT NULL DEFAULT 0,
`user_config_booking_reminder` int(11) DEFAULT NULL,
`user_config_reminder_email` tinyint(1) NOT NULL DEFAULT 0,
PRIMARY KEY (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;