繰り返し追加機能の追加

This commit is contained in:
2026-01-07 23:38:23 +09:00
parent b2fbb472df
commit 920928746e
13 changed files with 964 additions and 129 deletions

View File

@@ -45,6 +45,9 @@ func getFuncMap() template.FuncMap {
"multiplyFloat": func(a float64, b float64) float64 {
return a * b
},
"recurringLabel": service.GetRecurrenceTypeLabel,
"endTypeLabel": service.GetEndTypeLabel,
"recurringSummary": service.FormatRecurringSummary,
}
}
@@ -59,6 +62,8 @@ func loadTemplates() (*template.Template, error) {
pattern string
prefix string
}{
{"web/templates/auth/*.html", ""},
{"web/templates/pages/*.html", ""},
{"web/templates/auth/*.html", ""},
{"web/templates/pages/*.html", ""},
{"web/templates/assignments/*.html", "assignments/"},
@@ -175,7 +180,6 @@ func Setup(cfg *config.Config) *gin.Engine {
apiKeyService := service.NewAPIKeyService()
notificationService := service.NewNotificationService(cfg.Notification.TelegramBotToken)
// Start notification reminder scheduler
notificationService.StartReminderScheduler()
authHandler := handler.NewAuthHandler()