From 5276f689185af1473825d9457d035aa2d70cc1e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Mon, 18 Apr 2022 15:18:01 +0200 Subject: [PATCH] fix: double counting when using precise missing intervals --- config.default.yml | 3 +- config/config.go | 21 +- coverage/coverage.out | 1730 +++++++++++++++++------------------ main.go | 6 +- routes/utils/badge_utils.go | 1 + services/summary.go | 12 +- services/summary_test.go | 2 +- 7 files changed, 881 insertions(+), 894 deletions(-) diff --git a/config.default.yml b/config.default.yml index 1509c45..261a1d5 100644 --- a/config.default.yml +++ b/config.default.yml @@ -72,4 +72,5 @@ mail: client_id: client_secret: -quick_start: false # whether to skip initial tasks on application startup, like summary generation \ No newline at end of file +quick_start: false # whether to skip initial tasks on application startup, like summary generation +skip_migrations: false # whether to intentionally not run database migrations, only use for dev purposes \ No newline at end of file diff --git a/config/config.go b/config/config.go index b80e71a..72b6b7d 100644 --- a/config/config.go +++ b/config/config.go @@ -142,16 +142,17 @@ type SMTPMailConfig struct { } type Config struct { - Env string `default:"dev" env:"ENVIRONMENT"` - Version string `yaml:"-"` - QuickStart bool `yaml:"quick_start" env:"WAKAPI_QUICK_START"` - InstanceId string `yaml:"-"` // only temporary, changes between runs - App appConfig - Security securityConfig - Db dbConfig - Server serverConfig - Sentry sentryConfig - Mail mailConfig + Env string `default:"dev" env:"ENVIRONMENT"` + Version string `yaml:"-"` + QuickStart bool `yaml:"quick_start" env:"WAKAPI_QUICK_START"` + SkipMigrations bool `yaml:"skip_migrations" env:"WAKAPI_SKIP_MIGRATIONS"` + InstanceId string `yaml:"-"` // only temporary, changes between runs + App appConfig + Security securityConfig + Db dbConfig + Server serverConfig + Sentry sentryConfig + Mail mailConfig } func (c *Config) CreateCookie(name, value string) *http.Cookie { diff --git a/coverage/coverage.out b/coverage/coverage.out index 6a79144..4e822b8 100644 --- a/coverage/coverage.out +++ b/coverage/coverage.out @@ -1,199 +1,4 @@ mode: set -github.com/muety/wakapi/models/alias.go:18.32,20.2 1 0 -github.com/muety/wakapi/models/alias.go:22.37,23.35 1 0 -github.com/muety/wakapi/models/alias.go:28.2,28.14 1 0 -github.com/muety/wakapi/models/alias.go:23.35,24.18 1 0 -github.com/muety/wakapi/models/alias.go:24.18,26.4 1 0 -github.com/muety/wakapi/models/filters.go:21.33,23.2 1 1 -github.com/muety/wakapi/models/filters.go:25.48,26.22 1 1 -github.com/muety/wakapi/models/filters.go:31.2,31.14 1 1 -github.com/muety/wakapi/models/filters.go:26.22,27.18 1 1 -github.com/muety/wakapi/models/filters.go:27.18,29.4 1 1 -github.com/muety/wakapi/models/filters.go:39.56,41.2 1 1 -github.com/muety/wakapi/models/filters.go:43.66,46.2 2 1 -github.com/muety/wakapi/models/filters.go:48.59,50.2 1 1 -github.com/muety/wakapi/models/filters.go:52.70,53.16 1 1 -github.com/muety/wakapi/models/filters.go:69.2,69.10 1 1 -github.com/muety/wakapi/models/filters.go:54.22,55.41 1 1 -github.com/muety/wakapi/models/filters.go:56.17,57.31 1 0 -github.com/muety/wakapi/models/filters.go:58.23,59.43 1 1 -github.com/muety/wakapi/models/filters.go:60.21,61.39 1 0 -github.com/muety/wakapi/models/filters.go:62.22,63.41 1 0 -github.com/muety/wakapi/models/filters.go:64.20,65.37 1 1 -github.com/muety/wakapi/models/filters.go:66.21,67.39 1 0 -github.com/muety/wakapi/models/filters.go:72.49,73.44 1 1 -github.com/muety/wakapi/models/filters.go:88.2,88.29 1 1 -github.com/muety/wakapi/models/filters.go:73.44,75.3 1 1 -github.com/muety/wakapi/models/filters.go:75.8,75.41 1 1 -github.com/muety/wakapi/models/filters.go:75.41,77.3 1 0 -github.com/muety/wakapi/models/filters.go:77.8,77.53 1 1 -github.com/muety/wakapi/models/filters.go:77.53,79.3 1 1 -github.com/muety/wakapi/models/filters.go:79.8,79.49 1 1 -github.com/muety/wakapi/models/filters.go:79.49,81.3 1 0 -github.com/muety/wakapi/models/filters.go:81.8,81.51 1 1 -github.com/muety/wakapi/models/filters.go:81.51,83.3 1 0 -github.com/muety/wakapi/models/filters.go:83.8,83.47 1 1 -github.com/muety/wakapi/models/filters.go:83.47,85.3 1 0 -github.com/muety/wakapi/models/filters.go:85.8,85.49 1 1 -github.com/muety/wakapi/models/filters.go:85.49,87.3 1 0 -github.com/muety/wakapi/models/filters.go:91.46,92.30 1 1 -github.com/muety/wakapi/models/filters.go:95.2,95.66 1 0 -github.com/muety/wakapi/models/filters.go:92.30,94.3 1 1 -github.com/muety/wakapi/models/filters.go:98.34,101.2 2 1 -github.com/muety/wakapi/models/filters.go:103.31,105.51 2 0 -github.com/muety/wakapi/models/filters.go:108.2,108.14 1 0 -github.com/muety/wakapi/models/filters.go:105.51,107.3 1 0 -github.com/muety/wakapi/models/filters.go:111.51,113.2 1 0 -github.com/muety/wakapi/models/filters.go:115.37,117.51 2 0 -github.com/muety/wakapi/models/filters.go:122.2,122.14 1 0 -github.com/muety/wakapi/models/filters.go:117.51,118.37 1 0 -github.com/muety/wakapi/models/filters.go:118.37,120.4 1 0 -github.com/muety/wakapi/models/filters.go:125.59,126.18 1 0 -github.com/muety/wakapi/models/filters.go:127.22,128.20 1 0 -github.com/muety/wakapi/models/filters.go:129.23,130.21 1 0 -github.com/muety/wakapi/models/filters.go:131.21,132.19 1 0 -github.com/muety/wakapi/models/filters.go:133.17,134.15 1 0 -github.com/muety/wakapi/models/filters.go:135.22,136.20 1 0 -github.com/muety/wakapi/models/filters.go:137.20,138.18 1 0 -github.com/muety/wakapi/models/filters.go:139.21,140.19 1 0 -github.com/muety/wakapi/models/filters.go:141.10,142.21 1 0 -github.com/muety/wakapi/models/filters.go:146.33,148.16 2 0 -github.com/muety/wakapi/models/filters.go:151.2,151.32 1 0 -github.com/muety/wakapi/models/filters.go:148.16,150.3 1 0 -github.com/muety/wakapi/models/filters.go:154.44,160.2 1 1 -github.com/muety/wakapi/models/filters.go:163.70,164.22 1 1 -github.com/muety/wakapi/models/filters.go:172.2,172.17 1 1 -github.com/muety/wakapi/models/filters.go:180.2,180.23 1 1 -github.com/muety/wakapi/models/filters.go:188.2,188.21 1 1 -github.com/muety/wakapi/models/filters.go:196.2,196.22 1 1 -github.com/muety/wakapi/models/filters.go:204.2,204.21 1 1 -github.com/muety/wakapi/models/filters.go:212.2,212.10 1 1 -github.com/muety/wakapi/models/filters.go:164.22,166.31 2 1 -github.com/muety/wakapi/models/filters.go:170.3,170.22 1 1 -github.com/muety/wakapi/models/filters.go:166.31,169.4 2 1 -github.com/muety/wakapi/models/filters.go:172.17,174.26 2 0 -github.com/muety/wakapi/models/filters.go:178.3,178.17 1 0 -github.com/muety/wakapi/models/filters.go:174.26,177.4 2 0 -github.com/muety/wakapi/models/filters.go:180.23,182.32 2 1 -github.com/muety/wakapi/models/filters.go:186.3,186.23 1 1 -github.com/muety/wakapi/models/filters.go:182.32,185.4 2 1 -github.com/muety/wakapi/models/filters.go:188.21,190.30 2 0 -github.com/muety/wakapi/models/filters.go:194.3,194.21 1 0 -github.com/muety/wakapi/models/filters.go:190.30,193.4 2 0 -github.com/muety/wakapi/models/filters.go:196.22,198.31 2 0 -github.com/muety/wakapi/models/filters.go:202.3,202.22 1 0 -github.com/muety/wakapi/models/filters.go:198.31,201.4 2 0 -github.com/muety/wakapi/models/filters.go:204.21,206.30 2 0 -github.com/muety/wakapi/models/filters.go:210.3,210.21 1 0 -github.com/muety/wakapi/models/filters.go:206.30,209.4 2 0 -github.com/muety/wakapi/models/filters.go:215.83,216.41 1 1 -github.com/muety/wakapi/models/filters.go:219.2,219.28 1 1 -github.com/muety/wakapi/models/filters.go:222.2,222.10 1 1 -github.com/muety/wakapi/models/filters.go:216.41,218.3 1 0 -github.com/muety/wakapi/models/filters.go:219.28,221.3 1 1 -github.com/muety/wakapi/models/interval.go:39.47,40.23 1 0 -github.com/muety/wakapi/models/interval.go:45.2,45.14 1 0 -github.com/muety/wakapi/models/interval.go:40.23,41.13 1 0 -github.com/muety/wakapi/models/interval.go:41.13,43.4 1 0 -github.com/muety/wakapi/models/mail_address.go:15.13,18.2 2 1 -github.com/muety/wakapi/models/mail_address.go:24.38,26.2 1 0 -github.com/muety/wakapi/models/mail_address.go:28.35,30.21 2 1 -github.com/muety/wakapi/models/mail_address.go:36.2,36.11 1 1 -github.com/muety/wakapi/models/mail_address.go:30.21,31.21 1 1 -github.com/muety/wakapi/models/mail_address.go:34.3,34.18 1 1 -github.com/muety/wakapi/models/mail_address.go:31.21,33.4 1 1 -github.com/muety/wakapi/models/mail_address.go:39.35,41.2 1 1 -github.com/muety/wakapi/models/mail_address.go:43.43,45.22 2 0 -github.com/muety/wakapi/models/mail_address.go:48.2,48.12 1 0 -github.com/muety/wakapi/models/mail_address.go:45.22,47.3 1 0 -github.com/muety/wakapi/models/mail_address.go:51.46,53.22 2 1 -github.com/muety/wakapi/models/mail_address.go:56.2,56.12 1 1 -github.com/muety/wakapi/models/mail_address.go:53.22,55.3 1 1 -github.com/muety/wakapi/models/mail_address.go:59.40,60.22 1 1 -github.com/muety/wakapi/models/mail_address.go:65.2,65.13 1 1 -github.com/muety/wakapi/models/mail_address.go:60.22,61.17 1 1 -github.com/muety/wakapi/models/mail_address.go:61.17,63.4 1 1 -github.com/muety/wakapi/models/shared.go:35.52,37.2 1 0 -github.com/muety/wakapi/models/shared.go:39.52,42.16 3 0 -github.com/muety/wakapi/models/shared.go:45.2,47.12 3 0 -github.com/muety/wakapi/models/shared.go:42.16,44.3 1 0 -github.com/muety/wakapi/models/shared.go:50.52,56.22 2 0 -github.com/muety/wakapi/models/shared.go:71.2,74.12 3 0 -github.com/muety/wakapi/models/shared.go:57.14,61.17 2 0 -github.com/muety/wakapi/models/shared.go:64.17,66.8 2 0 -github.com/muety/wakapi/models/shared.go:67.10,68.64 1 0 -github.com/muety/wakapi/models/shared.go:61.17,63.4 1 0 -github.com/muety/wakapi/models/shared.go:77.51,80.2 2 0 -github.com/muety/wakapi/models/shared.go:82.45,84.2 1 0 -github.com/muety/wakapi/models/shared.go:86.37,88.2 1 0 -github.com/muety/wakapi/models/shared.go:90.35,92.2 1 0 -github.com/muety/wakapi/models/shared.go:94.34,96.2 1 0 -github.com/muety/wakapi/models/heartbeat.go:33.34,35.2 1 1 -github.com/muety/wakapi/models/heartbeat.go:37.55,40.2 2 0 -github.com/muety/wakapi/models/heartbeat.go:42.65,44.46 2 1 -github.com/muety/wakapi/models/heartbeat.go:44.46,45.108 1 1 -github.com/muety/wakapi/models/heartbeat.go:45.108,48.4 2 1 -github.com/muety/wakapi/models/heartbeat.go:52.50,53.11 1 1 -github.com/muety/wakapi/models/heartbeat.go:68.2,68.15 1 1 -github.com/muety/wakapi/models/heartbeat.go:72.2,72.12 1 1 -github.com/muety/wakapi/models/heartbeat.go:54.22,55.18 1 1 -github.com/muety/wakapi/models/heartbeat.go:56.21,57.17 1 1 -github.com/muety/wakapi/models/heartbeat.go:58.23,59.19 1 1 -github.com/muety/wakapi/models/heartbeat.go:60.17,61.26 1 1 -github.com/muety/wakapi/models/heartbeat.go:62.22,63.18 1 1 -github.com/muety/wakapi/models/heartbeat.go:64.21,65.17 1 0 -github.com/muety/wakapi/models/heartbeat.go:68.15,70.3 1 1 -github.com/muety/wakapi/models/heartbeat.go:75.37,91.2 1 0 -github.com/muety/wakapi/models/heartbeat.go:99.41,101.16 2 0 -github.com/muety/wakapi/models/heartbeat.go:104.2,105.10 2 0 -github.com/muety/wakapi/models/heartbeat.go:101.16,103.3 1 0 -github.com/muety/wakapi/models/heartbeat.go:108.38,118.2 1 0 -github.com/muety/wakapi/models/language_mapping.go:11.42,13.2 1 0 -github.com/muety/wakapi/models/language_mapping.go:15.51,17.2 1 0 -github.com/muety/wakapi/models/language_mapping.go:19.52,21.2 1 0 -github.com/muety/wakapi/models/models.go:3.14,5.2 0 1 -github.com/muety/wakapi/models/project_label.go:14.39,16.2 1 0 -github.com/muety/wakapi/models/duration.go:24.55,38.2 2 0 -github.com/muety/wakapi/models/duration.go:40.39,42.16 2 0 -github.com/muety/wakapi/models/duration.go:45.2,46.10 2 0 -github.com/muety/wakapi/models/duration.go:42.16,44.3 1 0 -github.com/muety/wakapi/models/duration.go:49.49,50.11 1 0 -github.com/muety/wakapi/models/duration.go:65.2,65.15 1 0 -github.com/muety/wakapi/models/duration.go:69.2,69.12 1 0 -github.com/muety/wakapi/models/duration.go:51.22,52.18 1 0 -github.com/muety/wakapi/models/duration.go:53.21,54.17 1 0 -github.com/muety/wakapi/models/duration.go:55.23,56.19 1 0 -github.com/muety/wakapi/models/duration.go:57.17,58.26 1 0 -github.com/muety/wakapi/models/duration.go:59.22,60.18 1 0 -github.com/muety/wakapi/models/duration.go:61.21,62.17 1 0 -github.com/muety/wakapi/models/duration.go:65.15,67.3 1 0 -github.com/muety/wakapi/models/durations.go:7.30,9.2 1 0 -github.com/muety/wakapi/models/durations.go:11.40,13.2 1 0 -github.com/muety/wakapi/models/durations.go:15.35,17.2 1 0 -github.com/muety/wakapi/models/durations.go:19.45,21.22 2 0 -github.com/muety/wakapi/models/durations.go:24.2,24.14 1 0 -github.com/muety/wakapi/models/durations.go:21.22,23.3 1 0 -github.com/muety/wakapi/models/durations.go:27.39,30.2 2 0 -github.com/muety/wakapi/models/durations.go:32.39,34.18 1 0 -github.com/muety/wakapi/models/durations.go:37.2,37.16 1 0 -github.com/muety/wakapi/models/durations.go:34.18,36.3 1 0 -github.com/muety/wakapi/models/durations.go:40.38,42.18 1 0 -github.com/muety/wakapi/models/durations.go:45.2,45.24 1 0 -github.com/muety/wakapi/models/durations.go:42.18,44.3 1 0 -github.com/muety/wakapi/models/heartbeats.go:7.31,9.2 1 0 -github.com/muety/wakapi/models/heartbeats.go:11.41,13.2 1 0 -github.com/muety/wakapi/models/heartbeats.go:15.36,17.2 1 0 -github.com/muety/wakapi/models/heartbeats.go:19.43,22.2 2 0 -github.com/muety/wakapi/models/heartbeats.go:24.41,26.18 1 0 -github.com/muety/wakapi/models/heartbeats.go:29.2,29.16 1 0 -github.com/muety/wakapi/models/heartbeats.go:26.18,28.3 1 0 -github.com/muety/wakapi/models/heartbeats.go:32.40,34.18 1 0 -github.com/muety/wakapi/models/heartbeats.go:37.2,37.24 1 0 -github.com/muety/wakapi/models/heartbeats.go:34.18,36.3 1 0 -github.com/muety/wakapi/models/mail.go:19.44,23.2 3 0 -github.com/muety/wakapi/models/mail.go:25.44,29.2 3 0 -github.com/muety/wakapi/models/mail.go:31.32,44.2 1 0 -github.com/muety/wakapi/models/mail.go:46.41,48.2 1 0 github.com/muety/wakapi/models/summary.go:64.29,66.2 1 1 github.com/muety/wakapi/models/summary.go:68.35,70.2 1 0 github.com/muety/wakapi/models/summary.go:72.38,74.2 1 0 @@ -292,6 +97,201 @@ github.com/muety/wakapi/models/summary.go:359.50,363.2 1 1 github.com/muety/wakapi/models/summary.go:365.33,367.2 1 1 github.com/muety/wakapi/models/summary.go:369.43,371.2 1 1 github.com/muety/wakapi/models/summary.go:373.38,375.2 1 1 +github.com/muety/wakapi/models/duration.go:24.55,38.2 2 0 +github.com/muety/wakapi/models/duration.go:40.39,42.16 2 0 +github.com/muety/wakapi/models/duration.go:45.2,46.10 2 0 +github.com/muety/wakapi/models/duration.go:42.16,44.3 1 0 +github.com/muety/wakapi/models/duration.go:49.49,50.11 1 0 +github.com/muety/wakapi/models/duration.go:65.2,65.15 1 0 +github.com/muety/wakapi/models/duration.go:69.2,69.12 1 0 +github.com/muety/wakapi/models/duration.go:51.22,52.18 1 0 +github.com/muety/wakapi/models/duration.go:53.21,54.17 1 0 +github.com/muety/wakapi/models/duration.go:55.23,56.19 1 0 +github.com/muety/wakapi/models/duration.go:57.17,58.26 1 0 +github.com/muety/wakapi/models/duration.go:59.22,60.18 1 0 +github.com/muety/wakapi/models/duration.go:61.21,62.17 1 0 +github.com/muety/wakapi/models/duration.go:65.15,67.3 1 0 +github.com/muety/wakapi/models/heartbeats.go:7.31,9.2 1 0 +github.com/muety/wakapi/models/heartbeats.go:11.41,13.2 1 0 +github.com/muety/wakapi/models/heartbeats.go:15.36,17.2 1 0 +github.com/muety/wakapi/models/heartbeats.go:19.43,22.2 2 0 +github.com/muety/wakapi/models/heartbeats.go:24.41,26.18 1 0 +github.com/muety/wakapi/models/heartbeats.go:29.2,29.16 1 0 +github.com/muety/wakapi/models/heartbeats.go:26.18,28.3 1 0 +github.com/muety/wakapi/models/heartbeats.go:32.40,34.18 1 0 +github.com/muety/wakapi/models/heartbeats.go:37.2,37.24 1 0 +github.com/muety/wakapi/models/heartbeats.go:34.18,36.3 1 0 +github.com/muety/wakapi/models/language_mapping.go:11.42,13.2 1 0 +github.com/muety/wakapi/models/language_mapping.go:15.51,17.2 1 0 +github.com/muety/wakapi/models/language_mapping.go:19.52,21.2 1 0 +github.com/muety/wakapi/models/mail.go:19.44,23.2 3 0 +github.com/muety/wakapi/models/mail.go:25.44,29.2 3 0 +github.com/muety/wakapi/models/mail.go:31.32,44.2 1 0 +github.com/muety/wakapi/models/mail.go:46.41,48.2 1 0 +github.com/muety/wakapi/models/models.go:3.14,5.2 0 1 +github.com/muety/wakapi/models/project_label.go:14.39,16.2 1 0 +github.com/muety/wakapi/models/alias.go:18.32,20.2 1 0 +github.com/muety/wakapi/models/alias.go:22.37,23.35 1 0 +github.com/muety/wakapi/models/alias.go:28.2,28.14 1 0 +github.com/muety/wakapi/models/alias.go:23.35,24.18 1 0 +github.com/muety/wakapi/models/alias.go:24.18,26.4 1 0 +github.com/muety/wakapi/models/durations.go:7.30,9.2 1 0 +github.com/muety/wakapi/models/durations.go:11.40,13.2 1 0 +github.com/muety/wakapi/models/durations.go:15.35,17.2 1 0 +github.com/muety/wakapi/models/durations.go:19.45,21.22 2 0 +github.com/muety/wakapi/models/durations.go:24.2,24.14 1 0 +github.com/muety/wakapi/models/durations.go:21.22,23.3 1 0 +github.com/muety/wakapi/models/durations.go:27.39,30.2 2 0 +github.com/muety/wakapi/models/durations.go:32.39,34.18 1 0 +github.com/muety/wakapi/models/durations.go:37.2,37.16 1 0 +github.com/muety/wakapi/models/durations.go:34.18,36.3 1 0 +github.com/muety/wakapi/models/durations.go:40.38,42.18 1 0 +github.com/muety/wakapi/models/durations.go:45.2,45.24 1 0 +github.com/muety/wakapi/models/durations.go:42.18,44.3 1 0 +github.com/muety/wakapi/models/filters.go:21.33,23.2 1 1 +github.com/muety/wakapi/models/filters.go:25.48,26.22 1 1 +github.com/muety/wakapi/models/filters.go:31.2,31.14 1 1 +github.com/muety/wakapi/models/filters.go:26.22,27.18 1 1 +github.com/muety/wakapi/models/filters.go:27.18,29.4 1 1 +github.com/muety/wakapi/models/filters.go:39.56,41.2 1 1 +github.com/muety/wakapi/models/filters.go:43.66,46.2 2 1 +github.com/muety/wakapi/models/filters.go:48.59,50.2 1 1 +github.com/muety/wakapi/models/filters.go:52.70,53.16 1 1 +github.com/muety/wakapi/models/filters.go:69.2,69.10 1 1 +github.com/muety/wakapi/models/filters.go:54.22,55.41 1 1 +github.com/muety/wakapi/models/filters.go:56.17,57.31 1 0 +github.com/muety/wakapi/models/filters.go:58.23,59.43 1 1 +github.com/muety/wakapi/models/filters.go:60.21,61.39 1 0 +github.com/muety/wakapi/models/filters.go:62.22,63.41 1 0 +github.com/muety/wakapi/models/filters.go:64.20,65.37 1 1 +github.com/muety/wakapi/models/filters.go:66.21,67.39 1 0 +github.com/muety/wakapi/models/filters.go:72.49,73.44 1 1 +github.com/muety/wakapi/models/filters.go:88.2,88.29 1 1 +github.com/muety/wakapi/models/filters.go:73.44,75.3 1 1 +github.com/muety/wakapi/models/filters.go:75.8,75.41 1 1 +github.com/muety/wakapi/models/filters.go:75.41,77.3 1 0 +github.com/muety/wakapi/models/filters.go:77.8,77.53 1 1 +github.com/muety/wakapi/models/filters.go:77.53,79.3 1 1 +github.com/muety/wakapi/models/filters.go:79.8,79.49 1 1 +github.com/muety/wakapi/models/filters.go:79.49,81.3 1 0 +github.com/muety/wakapi/models/filters.go:81.8,81.51 1 1 +github.com/muety/wakapi/models/filters.go:81.51,83.3 1 0 +github.com/muety/wakapi/models/filters.go:83.8,83.47 1 1 +github.com/muety/wakapi/models/filters.go:83.47,85.3 1 0 +github.com/muety/wakapi/models/filters.go:85.8,85.49 1 1 +github.com/muety/wakapi/models/filters.go:85.49,87.3 1 0 +github.com/muety/wakapi/models/filters.go:91.46,92.30 1 1 +github.com/muety/wakapi/models/filters.go:95.2,95.66 1 0 +github.com/muety/wakapi/models/filters.go:92.30,94.3 1 1 +github.com/muety/wakapi/models/filters.go:98.34,101.2 2 1 +github.com/muety/wakapi/models/filters.go:103.31,105.51 2 0 +github.com/muety/wakapi/models/filters.go:108.2,108.14 1 0 +github.com/muety/wakapi/models/filters.go:105.51,107.3 1 0 +github.com/muety/wakapi/models/filters.go:111.51,113.2 1 0 +github.com/muety/wakapi/models/filters.go:115.37,117.51 2 0 +github.com/muety/wakapi/models/filters.go:122.2,122.14 1 0 +github.com/muety/wakapi/models/filters.go:117.51,118.37 1 0 +github.com/muety/wakapi/models/filters.go:118.37,120.4 1 0 +github.com/muety/wakapi/models/filters.go:125.59,126.18 1 0 +github.com/muety/wakapi/models/filters.go:127.22,128.20 1 0 +github.com/muety/wakapi/models/filters.go:129.23,130.21 1 0 +github.com/muety/wakapi/models/filters.go:131.21,132.19 1 0 +github.com/muety/wakapi/models/filters.go:133.17,134.15 1 0 +github.com/muety/wakapi/models/filters.go:135.22,136.20 1 0 +github.com/muety/wakapi/models/filters.go:137.20,138.18 1 0 +github.com/muety/wakapi/models/filters.go:139.21,140.19 1 0 +github.com/muety/wakapi/models/filters.go:141.10,142.21 1 0 +github.com/muety/wakapi/models/filters.go:146.33,148.16 2 0 +github.com/muety/wakapi/models/filters.go:151.2,151.32 1 0 +github.com/muety/wakapi/models/filters.go:148.16,150.3 1 0 +github.com/muety/wakapi/models/filters.go:154.44,160.2 1 1 +github.com/muety/wakapi/models/filters.go:163.70,164.22 1 1 +github.com/muety/wakapi/models/filters.go:172.2,172.17 1 1 +github.com/muety/wakapi/models/filters.go:180.2,180.23 1 1 +github.com/muety/wakapi/models/filters.go:188.2,188.21 1 1 +github.com/muety/wakapi/models/filters.go:196.2,196.22 1 1 +github.com/muety/wakapi/models/filters.go:204.2,204.21 1 1 +github.com/muety/wakapi/models/filters.go:212.2,212.10 1 1 +github.com/muety/wakapi/models/filters.go:164.22,166.31 2 1 +github.com/muety/wakapi/models/filters.go:170.3,170.22 1 1 +github.com/muety/wakapi/models/filters.go:166.31,169.4 2 1 +github.com/muety/wakapi/models/filters.go:172.17,174.26 2 0 +github.com/muety/wakapi/models/filters.go:178.3,178.17 1 0 +github.com/muety/wakapi/models/filters.go:174.26,177.4 2 0 +github.com/muety/wakapi/models/filters.go:180.23,182.32 2 1 +github.com/muety/wakapi/models/filters.go:186.3,186.23 1 1 +github.com/muety/wakapi/models/filters.go:182.32,185.4 2 1 +github.com/muety/wakapi/models/filters.go:188.21,190.30 2 0 +github.com/muety/wakapi/models/filters.go:194.3,194.21 1 0 +github.com/muety/wakapi/models/filters.go:190.30,193.4 2 0 +github.com/muety/wakapi/models/filters.go:196.22,198.31 2 0 +github.com/muety/wakapi/models/filters.go:202.3,202.22 1 0 +github.com/muety/wakapi/models/filters.go:198.31,201.4 2 0 +github.com/muety/wakapi/models/filters.go:204.21,206.30 2 0 +github.com/muety/wakapi/models/filters.go:210.3,210.21 1 0 +github.com/muety/wakapi/models/filters.go:206.30,209.4 2 0 +github.com/muety/wakapi/models/filters.go:215.83,216.41 1 1 +github.com/muety/wakapi/models/filters.go:219.2,219.28 1 1 +github.com/muety/wakapi/models/filters.go:222.2,222.10 1 1 +github.com/muety/wakapi/models/filters.go:216.41,218.3 1 0 +github.com/muety/wakapi/models/filters.go:219.28,221.3 1 1 +github.com/muety/wakapi/models/mail_address.go:15.13,18.2 2 1 +github.com/muety/wakapi/models/mail_address.go:24.38,26.2 1 0 +github.com/muety/wakapi/models/mail_address.go:28.35,30.21 2 1 +github.com/muety/wakapi/models/mail_address.go:36.2,36.11 1 1 +github.com/muety/wakapi/models/mail_address.go:30.21,31.21 1 1 +github.com/muety/wakapi/models/mail_address.go:34.3,34.18 1 1 +github.com/muety/wakapi/models/mail_address.go:31.21,33.4 1 1 +github.com/muety/wakapi/models/mail_address.go:39.35,41.2 1 1 +github.com/muety/wakapi/models/mail_address.go:43.43,45.22 2 0 +github.com/muety/wakapi/models/mail_address.go:48.2,48.12 1 0 +github.com/muety/wakapi/models/mail_address.go:45.22,47.3 1 0 +github.com/muety/wakapi/models/mail_address.go:51.46,53.22 2 1 +github.com/muety/wakapi/models/mail_address.go:56.2,56.12 1 1 +github.com/muety/wakapi/models/mail_address.go:53.22,55.3 1 1 +github.com/muety/wakapi/models/mail_address.go:59.40,60.22 1 1 +github.com/muety/wakapi/models/mail_address.go:65.2,65.13 1 1 +github.com/muety/wakapi/models/mail_address.go:60.22,61.17 1 1 +github.com/muety/wakapi/models/mail_address.go:61.17,63.4 1 1 +github.com/muety/wakapi/models/shared.go:40.52,42.2 1 0 +github.com/muety/wakapi/models/shared.go:44.52,47.16 3 0 +github.com/muety/wakapi/models/shared.go:50.2,52.12 3 0 +github.com/muety/wakapi/models/shared.go:47.16,49.3 1 0 +github.com/muety/wakapi/models/shared.go:55.52,61.22 2 0 +github.com/muety/wakapi/models/shared.go:76.2,79.12 3 0 +github.com/muety/wakapi/models/shared.go:62.14,66.17 2 0 +github.com/muety/wakapi/models/shared.go:69.17,71.8 2 0 +github.com/muety/wakapi/models/shared.go:72.10,73.64 1 0 +github.com/muety/wakapi/models/shared.go:66.17,68.4 1 0 +github.com/muety/wakapi/models/shared.go:82.51,85.2 2 0 +github.com/muety/wakapi/models/shared.go:87.45,89.2 1 0 +github.com/muety/wakapi/models/shared.go:91.37,93.2 1 0 +github.com/muety/wakapi/models/shared.go:95.35,97.2 1 0 +github.com/muety/wakapi/models/shared.go:99.34,101.2 1 0 +github.com/muety/wakapi/models/heartbeat.go:33.34,35.2 1 1 +github.com/muety/wakapi/models/heartbeat.go:37.55,40.2 2 0 +github.com/muety/wakapi/models/heartbeat.go:42.65,44.46 2 1 +github.com/muety/wakapi/models/heartbeat.go:44.46,45.108 1 1 +github.com/muety/wakapi/models/heartbeat.go:45.108,48.4 2 1 +github.com/muety/wakapi/models/heartbeat.go:52.50,53.11 1 1 +github.com/muety/wakapi/models/heartbeat.go:68.2,68.15 1 1 +github.com/muety/wakapi/models/heartbeat.go:72.2,72.12 1 1 +github.com/muety/wakapi/models/heartbeat.go:54.22,55.18 1 1 +github.com/muety/wakapi/models/heartbeat.go:56.21,57.17 1 1 +github.com/muety/wakapi/models/heartbeat.go:58.23,59.19 1 1 +github.com/muety/wakapi/models/heartbeat.go:60.17,61.26 1 1 +github.com/muety/wakapi/models/heartbeat.go:62.22,63.18 1 1 +github.com/muety/wakapi/models/heartbeat.go:64.21,65.17 1 0 +github.com/muety/wakapi/models/heartbeat.go:68.15,70.3 1 1 +github.com/muety/wakapi/models/heartbeat.go:75.37,91.2 1 0 +github.com/muety/wakapi/models/heartbeat.go:99.41,101.16 2 0 +github.com/muety/wakapi/models/heartbeat.go:104.2,105.10 2 0 +github.com/muety/wakapi/models/heartbeat.go:101.16,103.3 1 0 +github.com/muety/wakapi/models/heartbeat.go:108.38,118.2 1 0 +github.com/muety/wakapi/models/interval.go:39.47,40.23 1 0 +github.com/muety/wakapi/models/interval.go:45.2,45.14 1 0 +github.com/muety/wakapi/models/interval.go:40.23,41.13 1 0 +github.com/muety/wakapi/models/interval.go:41.13,43.4 1 0 github.com/muety/wakapi/models/user.go:11.13,13.2 1 1 github.com/muety/wakapi/models/user.go:83.36,84.22 1 1 github.com/muety/wakapi/models/user.go:87.2,88.16 2 1 @@ -315,6 +315,119 @@ github.com/muety/wakapi/models/user.go:142.45,144.2 1 0 github.com/muety/wakapi/models/user.go:146.45,148.2 1 0 github.com/muety/wakapi/models/user.go:150.39,152.2 1 0 github.com/muety/wakapi/models/user.go:154.39,157.2 2 0 +github.com/muety/wakapi/config/utils.go:5.78,7.22 2 0 +github.com/muety/wakapi/config/utils.go:13.2,13.11 1 0 +github.com/muety/wakapi/config/utils.go:7.22,8.18 1 0 +github.com/muety/wakapi/config/utils.go:11.3,11.12 1 0 +github.com/muety/wakapi/config/utils.go:8.18,10.4 1 0 +github.com/muety/wakapi/config/config.go:158.64,160.2 1 0 +github.com/muety/wakapi/config/config.go:162.59,164.2 1 0 +github.com/muety/wakapi/config/config.go:166.82,176.2 1 0 +github.com/muety/wakapi/config/config.go:178.31,180.2 1 0 +github.com/muety/wakapi/config/config.go:182.32,184.2 1 0 +github.com/muety/wakapi/config/config.go:186.74,187.19 1 0 +github.com/muety/wakapi/config/config.go:188.10,189.34 1 0 +github.com/muety/wakapi/config/config.go:189.34,190.90 1 0 +github.com/muety/wakapi/config/config.go:193.4,193.100 1 0 +github.com/muety/wakapi/config/config.go:196.4,196.91 1 0 +github.com/muety/wakapi/config/config.go:199.4,199.95 1 0 +github.com/muety/wakapi/config/config.go:202.4,202.93 1 0 +github.com/muety/wakapi/config/config.go:205.4,205.97 1 0 +github.com/muety/wakapi/config/config.go:208.4,208.101 1 0 +github.com/muety/wakapi/config/config.go:211.4,211.98 1 0 +github.com/muety/wakapi/config/config.go:214.4,214.97 1 0 +github.com/muety/wakapi/config/config.go:217.4,217.14 1 0 +github.com/muety/wakapi/config/config.go:190.90,192.5 1 0 +github.com/muety/wakapi/config/config.go:193.100,195.5 1 0 +github.com/muety/wakapi/config/config.go:196.91,198.5 1 0 +github.com/muety/wakapi/config/config.go:199.95,201.5 1 0 +github.com/muety/wakapi/config/config.go:202.93,204.5 1 0 +github.com/muety/wakapi/config/config.go:205.97,207.5 1 0 +github.com/muety/wakapi/config/config.go:208.101,210.5 1 0 +github.com/muety/wakapi/config/config.go:211.98,213.5 1 0 +github.com/muety/wakapi/config/config.go:214.97,216.5 1 0 +github.com/muety/wakapi/config/config.go:222.60,224.2 1 0 +github.com/muety/wakapi/config/config.go:226.59,228.2 1 0 +github.com/muety/wakapi/config/config.go:230.57,232.2 1 0 +github.com/muety/wakapi/config/config.go:234.53,236.2 1 0 +github.com/muety/wakapi/config/config.go:238.55,241.2 2 0 +github.com/muety/wakapi/config/config.go:243.50,245.2 1 0 +github.com/muety/wakapi/config/config.go:247.54,250.2 2 0 +github.com/muety/wakapi/config/config.go:252.36,254.2 1 0 +github.com/muety/wakapi/config/config.go:256.35,258.2 1 0 +github.com/muety/wakapi/config/config.go:260.38,262.2 1 0 +github.com/muety/wakapi/config/config.go:264.46,266.2 1 0 +github.com/muety/wakapi/config/config.go:268.43,270.2 1 0 +github.com/muety/wakapi/config/config.go:272.29,274.2 1 1 +github.com/muety/wakapi/config/config.go:276.48,287.16 2 0 +github.com/muety/wakapi/config/config.go:291.2,292.53 2 0 +github.com/muety/wakapi/config/config.go:296.2,296.15 1 0 +github.com/muety/wakapi/config/config.go:287.16,289.3 1 0 +github.com/muety/wakapi/config/config.go:292.53,294.3 1 0 +github.com/muety/wakapi/config/config.go:299.38,300.43 1 0 +github.com/muety/wakapi/config/config.go:303.2,303.15 1 0 +github.com/muety/wakapi/config/config.go:300.43,302.3 1 0 +github.com/muety/wakapi/config/config.go:306.45,307.27 1 0 +github.com/muety/wakapi/config/config.go:310.2,310.24 1 0 +github.com/muety/wakapi/config/config.go:313.2,313.25 1 0 +github.com/muety/wakapi/config/config.go:316.2,316.15 1 0 +github.com/muety/wakapi/config/config.go:307.27,309.3 1 0 +github.com/muety/wakapi/config/config.go:310.24,312.3 1 0 +github.com/muety/wakapi/config/config.go:313.25,315.3 1 0 +github.com/muety/wakapi/config/config.go:319.77,320.29 1 0 +github.com/muety/wakapi/config/config.go:325.2,325.19 1 0 +github.com/muety/wakapi/config/config.go:320.29,321.18 1 0 +github.com/muety/wakapi/config/config.go:321.18,323.4 1 0 +github.com/muety/wakapi/config/config.go:328.42,329.28 1 0 +github.com/muety/wakapi/config/config.go:345.2,345.20 1 0 +github.com/muety/wakapi/config/config.go:330.52,331.21 1 0 +github.com/muety/wakapi/config/config.go:332.53,333.22 1 0 +github.com/muety/wakapi/config/config.go:334.55,335.24 1 0 +github.com/muety/wakapi/config/config.go:336.54,337.23 1 0 +github.com/muety/wakapi/config/config.go:338.52,339.21 1 0 +github.com/muety/wakapi/config/config.go:340.54,341.23 1 0 +github.com/muety/wakapi/config/config.go:342.52,343.21 1 0 +github.com/muety/wakapi/config/config.go:348.26,350.2 1 0 +github.com/muety/wakapi/config/config.go:352.20,354.2 1 0 +github.com/muety/wakapi/config/config.go:356.35,361.96 3 0 +github.com/muety/wakapi/config/config.go:365.2,375.52 7 0 +github.com/muety/wakapi/config/config.go:379.2,379.47 1 0 +github.com/muety/wakapi/config/config.go:385.2,385.29 1 0 +github.com/muety/wakapi/config/config.go:391.2,391.106 1 0 +github.com/muety/wakapi/config/config.go:394.2,394.28 1 0 +github.com/muety/wakapi/config/config.go:397.2,397.51 1 0 +github.com/muety/wakapi/config/config.go:401.2,401.94 1 0 +github.com/muety/wakapi/config/config.go:404.2,404.81 1 0 +github.com/muety/wakapi/config/config.go:407.2,407.75 1 0 +github.com/muety/wakapi/config/config.go:410.2,410.74 1 0 +github.com/muety/wakapi/config/config.go:414.2,415.14 2 0 +github.com/muety/wakapi/config/config.go:361.96,363.3 1 0 +github.com/muety/wakapi/config/config.go:375.52,377.3 1 0 +github.com/muety/wakapi/config/config.go:379.47,380.14 1 0 +github.com/muety/wakapi/config/config.go:380.14,382.4 1 0 +github.com/muety/wakapi/config/config.go:385.29,388.3 2 0 +github.com/muety/wakapi/config/config.go:391.106,393.3 1 0 +github.com/muety/wakapi/config/config.go:394.28,396.3 1 0 +github.com/muety/wakapi/config/config.go:397.51,400.3 2 0 +github.com/muety/wakapi/config/config.go:401.94,403.3 1 0 +github.com/muety/wakapi/config/config.go:404.81,406.3 1 0 +github.com/muety/wakapi/config/config.go:407.75,409.3 1 0 +github.com/muety/wakapi/config/config.go:410.74,412.3 1 0 +github.com/muety/wakapi/config/db.go:39.50,40.19 1 0 +github.com/muety/wakapi/config/db.go:53.2,53.12 1 0 +github.com/muety/wakapi/config/db.go:41.23,45.5 1 0 +github.com/muety/wakapi/config/db.go:46.26,49.5 1 0 +github.com/muety/wakapi/config/db.go:50.24,51.48 1 0 +github.com/muety/wakapi/config/db.go:56.53,66.2 1 1 +github.com/muety/wakapi/config/db.go:68.56,70.16 2 1 +github.com/muety/wakapi/config/db.go:74.2,81.3 1 1 +github.com/muety/wakapi/config/db.go:70.16,72.3 1 0 +github.com/muety/wakapi/config/db.go:84.54,86.2 1 1 +github.com/muety/wakapi/config/eventbus.go:26.13,28.2 1 1 +github.com/muety/wakapi/config/eventbus.go:30.26,32.2 1 0 +github.com/muety/wakapi/config/fs.go:9.56,10.19 1 0 +github.com/muety/wakapi/config/fs.go:13.2,13.19 1 0 +github.com/muety/wakapi/config/fs.go:10.19,12.3 1 0 github.com/muety/wakapi/config/sentry.go:22.35,24.2 1 0 github.com/muety/wakapi/config/sentry.go:26.62,29.2 2 0 github.com/muety/wakapi/config/sentry.go:39.33,46.2 2 0 @@ -348,152 +461,146 @@ github.com/muety/wakapi/config/sentry.go:142.17,144.3 1 0 github.com/muety/wakapi/config/sentry.go:147.49,151.51 2 0 github.com/muety/wakapi/config/sentry.go:154.2,154.12 1 0 github.com/muety/wakapi/config/sentry.go:151.51,153.3 1 0 -github.com/muety/wakapi/config/utils.go:5.78,7.22 2 0 -github.com/muety/wakapi/config/utils.go:13.2,13.11 1 0 -github.com/muety/wakapi/config/utils.go:7.22,8.18 1 0 -github.com/muety/wakapi/config/utils.go:11.3,11.12 1 0 -github.com/muety/wakapi/config/utils.go:8.18,10.4 1 0 -github.com/muety/wakapi/config/config.go:157.64,159.2 1 0 -github.com/muety/wakapi/config/config.go:161.59,163.2 1 0 -github.com/muety/wakapi/config/config.go:165.82,175.2 1 0 -github.com/muety/wakapi/config/config.go:177.31,179.2 1 0 -github.com/muety/wakapi/config/config.go:181.32,183.2 1 0 -github.com/muety/wakapi/config/config.go:185.74,186.19 1 0 -github.com/muety/wakapi/config/config.go:187.10,188.34 1 0 -github.com/muety/wakapi/config/config.go:188.34,189.90 1 0 -github.com/muety/wakapi/config/config.go:192.4,192.100 1 0 -github.com/muety/wakapi/config/config.go:195.4,195.91 1 0 -github.com/muety/wakapi/config/config.go:198.4,198.95 1 0 -github.com/muety/wakapi/config/config.go:201.4,201.93 1 0 -github.com/muety/wakapi/config/config.go:204.4,204.97 1 0 -github.com/muety/wakapi/config/config.go:207.4,207.101 1 0 -github.com/muety/wakapi/config/config.go:210.4,210.98 1 0 -github.com/muety/wakapi/config/config.go:213.4,213.97 1 0 -github.com/muety/wakapi/config/config.go:216.4,216.14 1 0 -github.com/muety/wakapi/config/config.go:189.90,191.5 1 0 -github.com/muety/wakapi/config/config.go:192.100,194.5 1 0 -github.com/muety/wakapi/config/config.go:195.91,197.5 1 0 -github.com/muety/wakapi/config/config.go:198.95,200.5 1 0 -github.com/muety/wakapi/config/config.go:201.93,203.5 1 0 -github.com/muety/wakapi/config/config.go:204.97,206.5 1 0 -github.com/muety/wakapi/config/config.go:207.101,209.5 1 0 -github.com/muety/wakapi/config/config.go:210.98,212.5 1 0 -github.com/muety/wakapi/config/config.go:213.97,215.5 1 0 -github.com/muety/wakapi/config/config.go:221.60,223.2 1 0 -github.com/muety/wakapi/config/config.go:225.59,227.2 1 0 -github.com/muety/wakapi/config/config.go:229.57,231.2 1 0 -github.com/muety/wakapi/config/config.go:233.53,235.2 1 0 -github.com/muety/wakapi/config/config.go:237.55,240.2 2 0 -github.com/muety/wakapi/config/config.go:242.50,244.2 1 0 -github.com/muety/wakapi/config/config.go:246.54,249.2 2 0 -github.com/muety/wakapi/config/config.go:251.36,253.2 1 0 -github.com/muety/wakapi/config/config.go:255.35,257.2 1 0 -github.com/muety/wakapi/config/config.go:259.38,261.2 1 0 -github.com/muety/wakapi/config/config.go:263.46,265.2 1 0 -github.com/muety/wakapi/config/config.go:267.43,269.2 1 0 -github.com/muety/wakapi/config/config.go:271.29,273.2 1 1 -github.com/muety/wakapi/config/config.go:275.48,286.16 2 0 -github.com/muety/wakapi/config/config.go:290.2,291.53 2 0 -github.com/muety/wakapi/config/config.go:295.2,295.15 1 0 -github.com/muety/wakapi/config/config.go:286.16,288.3 1 0 -github.com/muety/wakapi/config/config.go:291.53,293.3 1 0 -github.com/muety/wakapi/config/config.go:298.38,299.43 1 0 -github.com/muety/wakapi/config/config.go:302.2,302.15 1 0 -github.com/muety/wakapi/config/config.go:299.43,301.3 1 0 -github.com/muety/wakapi/config/config.go:305.45,306.27 1 0 -github.com/muety/wakapi/config/config.go:309.2,309.24 1 0 -github.com/muety/wakapi/config/config.go:312.2,312.25 1 0 -github.com/muety/wakapi/config/config.go:315.2,315.15 1 0 -github.com/muety/wakapi/config/config.go:306.27,308.3 1 0 -github.com/muety/wakapi/config/config.go:309.24,311.3 1 0 -github.com/muety/wakapi/config/config.go:312.25,314.3 1 0 -github.com/muety/wakapi/config/config.go:318.77,319.29 1 0 -github.com/muety/wakapi/config/config.go:324.2,324.19 1 0 -github.com/muety/wakapi/config/config.go:319.29,320.18 1 0 -github.com/muety/wakapi/config/config.go:320.18,322.4 1 0 -github.com/muety/wakapi/config/config.go:327.42,328.28 1 0 -github.com/muety/wakapi/config/config.go:344.2,344.20 1 0 -github.com/muety/wakapi/config/config.go:329.52,330.21 1 0 -github.com/muety/wakapi/config/config.go:331.53,332.22 1 0 -github.com/muety/wakapi/config/config.go:333.55,334.24 1 0 -github.com/muety/wakapi/config/config.go:335.54,336.23 1 0 -github.com/muety/wakapi/config/config.go:337.52,338.21 1 0 -github.com/muety/wakapi/config/config.go:339.54,340.23 1 0 -github.com/muety/wakapi/config/config.go:341.52,342.21 1 0 -github.com/muety/wakapi/config/config.go:347.26,349.2 1 0 -github.com/muety/wakapi/config/config.go:351.20,353.2 1 0 -github.com/muety/wakapi/config/config.go:355.35,360.96 3 0 -github.com/muety/wakapi/config/config.go:364.2,374.52 7 0 -github.com/muety/wakapi/config/config.go:378.2,378.47 1 0 -github.com/muety/wakapi/config/config.go:384.2,384.29 1 0 -github.com/muety/wakapi/config/config.go:390.2,390.106 1 0 -github.com/muety/wakapi/config/config.go:393.2,393.28 1 0 -github.com/muety/wakapi/config/config.go:396.2,396.51 1 0 -github.com/muety/wakapi/config/config.go:400.2,400.94 1 0 -github.com/muety/wakapi/config/config.go:403.2,403.81 1 0 -github.com/muety/wakapi/config/config.go:406.2,406.75 1 0 -github.com/muety/wakapi/config/config.go:409.2,409.74 1 0 -github.com/muety/wakapi/config/config.go:413.2,414.14 2 0 -github.com/muety/wakapi/config/config.go:360.96,362.3 1 0 -github.com/muety/wakapi/config/config.go:374.52,376.3 1 0 -github.com/muety/wakapi/config/config.go:378.47,379.14 1 0 -github.com/muety/wakapi/config/config.go:379.14,381.4 1 0 -github.com/muety/wakapi/config/config.go:384.29,387.3 2 0 -github.com/muety/wakapi/config/config.go:390.106,392.3 1 0 -github.com/muety/wakapi/config/config.go:393.28,395.3 1 0 -github.com/muety/wakapi/config/config.go:396.51,399.3 2 0 -github.com/muety/wakapi/config/config.go:400.94,402.3 1 0 -github.com/muety/wakapi/config/config.go:403.81,405.3 1 0 -github.com/muety/wakapi/config/config.go:406.75,408.3 1 0 -github.com/muety/wakapi/config/config.go:409.74,411.3 1 0 -github.com/muety/wakapi/config/db.go:39.50,40.19 1 0 -github.com/muety/wakapi/config/db.go:53.2,53.12 1 0 -github.com/muety/wakapi/config/db.go:41.23,45.5 1 0 -github.com/muety/wakapi/config/db.go:46.26,49.5 1 0 -github.com/muety/wakapi/config/db.go:50.24,51.48 1 0 -github.com/muety/wakapi/config/db.go:56.53,66.2 1 1 -github.com/muety/wakapi/config/db.go:68.56,70.16 2 1 -github.com/muety/wakapi/config/db.go:74.2,81.3 1 1 -github.com/muety/wakapi/config/db.go:70.16,72.3 1 0 -github.com/muety/wakapi/config/db.go:84.54,86.2 1 1 -github.com/muety/wakapi/config/eventbus.go:26.13,28.2 1 1 -github.com/muety/wakapi/config/eventbus.go:30.26,32.2 1 0 -github.com/muety/wakapi/config/fs.go:9.56,10.19 1 0 -github.com/muety/wakapi/config/fs.go:13.2,13.19 1 0 -github.com/muety/wakapi/config/fs.go:10.19,12.3 1 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:30.112,37.2 1 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:39.59,43.2 2 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:55.68,60.79 4 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:64.2,65.75 2 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:71.2,73.16 3 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:78.2,81.62 3 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:87.2,89.22 3 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:114.2,114.19 1 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:120.2,121.50 2 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:126.2,127.16 2 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:133.2,135.44 3 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:60.79,62.3 1 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:65.75,66.59 1 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:66.59,68.4 1 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:73.16,76.3 2 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:81.62,85.3 3 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:90.17,92.68 2 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:93.12,95.63 2 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:96.16,98.67 2 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:99.18,101.69 2 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:102.17,104.68 2 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:105.15,107.66 2 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:109.10,111.30 2 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:114.19,118.3 3 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:121.50,124.3 2 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:127.16,131.3 3 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:138.144,140.16 2 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:144.2,151.29 3 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:155.2,163.16 2 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:167.2,167.36 1 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:140.16,142.3 1 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:151.29,153.3 1 0 -github.com/muety/wakapi/routes/compat/shields/v1/badge.go:163.16,165.3 1 0 +github.com/muety/wakapi/utils/template.go:13.41,15.16 2 0 +github.com/muety/wakapi/utils/template.go:18.2,18.23 1 0 +github.com/muety/wakapi/utils/template.go:15.16,17.3 1 0 +github.com/muety/wakapi/utils/template.go:21.37,22.30 1 0 +github.com/muety/wakapi/utils/template.go:25.2,25.10 1 0 +github.com/muety/wakapi/utils/template.go:22.30,24.3 1 0 +github.com/muety/wakapi/utils/template.go:28.83,33.16 4 0 +github.com/muety/wakapi/utils/template.go:37.2,37.29 1 0 +github.com/muety/wakapi/utils/template.go:62.2,62.23 1 0 +github.com/muety/wakapi/utils/template.go:33.16,35.3 1 0 +github.com/muety/wakapi/utils/template.go:37.29,39.51 2 0 +github.com/muety/wakapi/utils/template.go:43.3,44.17 2 0 +github.com/muety/wakapi/utils/template.go:47.3,48.17 2 0 +github.com/muety/wakapi/utils/template.go:52.3,55.17 3 0 +github.com/muety/wakapi/utils/template.go:59.3,59.27 1 0 +github.com/muety/wakapi/utils/template.go:39.51,40.12 1 0 +github.com/muety/wakapi/utils/template.go:44.17,46.4 1 0 +github.com/muety/wakapi/utils/template.go:48.17,50.4 1 0 +github.com/muety/wakapi/utils/template.go:55.17,57.4 1 0 +github.com/muety/wakapi/utils/db.go:8.34,9.37 1 0 +github.com/muety/wakapi/utils/db.go:17.2,18.14 2 0 +github.com/muety/wakapi/utils/db.go:9.37,11.110 2 0 +github.com/muety/wakapi/utils/db.go:15.3,15.20 1 0 +github.com/muety/wakapi/utils/db.go:11.110,14.4 2 0 +github.com/muety/wakapi/utils/db.go:21.39,22.37 1 0 +github.com/muety/wakapi/utils/db.go:30.2,31.14 2 0 +github.com/muety/wakapi/utils/db.go:22.37,24.119 2 0 +github.com/muety/wakapi/utils/db.go:28.3,28.20 1 0 +github.com/muety/wakapi/utils/db.go:24.119,27.4 2 0 +github.com/muety/wakapi/utils/strings.go:8.34,10.2 1 0 +github.com/muety/wakapi/utils/common.go:18.73,19.58 1 0 +github.com/muety/wakapi/utils/common.go:22.2,22.87 1 0 +github.com/muety/wakapi/utils/common.go:25.2,25.64 1 0 +github.com/muety/wakapi/utils/common.go:19.58,21.3 1 0 +github.com/muety/wakapi/utils/common.go:22.87,24.3 1 0 +github.com/muety/wakapi/utils/common.go:28.40,30.2 1 0 +github.com/muety/wakapi/utils/common.go:32.44,34.2 1 0 +github.com/muety/wakapi/utils/common.go:36.49,38.2 1 0 +github.com/muety/wakapi/utils/common.go:40.45,42.2 1 0 +github.com/muety/wakapi/utils/common.go:44.24,46.2 1 0 +github.com/muety/wakapi/utils/common.go:48.56,51.45 3 1 +github.com/muety/wakapi/utils/common.go:54.2,54.40 1 1 +github.com/muety/wakapi/utils/common.go:51.45,53.3 1 1 +github.com/muety/wakapi/utils/date.go:9.48,11.2 1 0 +github.com/muety/wakapi/utils/date.go:13.51,15.2 1 0 +github.com/muety/wakapi/utils/date.go:17.52,19.2 1 0 +github.com/muety/wakapi/utils/date.go:21.51,23.2 1 0 +github.com/muety/wakapi/utils/date.go:26.41,28.21 2 0 +github.com/muety/wakapi/utils/date.go:31.2,31.33 1 0 +github.com/muety/wakapi/utils/date.go:28.21,30.3 1 0 +github.com/muety/wakapi/utils/date.go:35.67,38.33 2 1 +github.com/muety/wakapi/utils/date.go:47.2,47.18 1 1 +github.com/muety/wakapi/utils/date.go:38.33,40.19 2 1 +github.com/muety/wakapi/utils/date.go:43.3,44.10 2 1 +github.com/muety/wakapi/utils/date.go:40.19,42.4 1 1 +github.com/muety/wakapi/utils/date.go:50.50,56.2 5 0 +github.com/muety/wakapi/utils/date.go:59.36,62.2 2 0 +github.com/muety/wakapi/utils/http.go:21.13,23.2 1 1 +github.com/muety/wakapi/utils/http.go:25.90,28.58 3 0 +github.com/muety/wakapi/utils/http.go:28.58,30.3 1 0 +github.com/muety/wakapi/utils/http.go:33.62,35.48 2 0 +github.com/muety/wakapi/utils/http.go:38.2,38.93 1 0 +github.com/muety/wakapi/utils/http.go:43.2,43.14 1 0 +github.com/muety/wakapi/utils/http.go:35.48,37.3 1 0 +github.com/muety/wakapi/utils/http.go:38.93,39.89 1 0 +github.com/muety/wakapi/utils/http.go:39.89,41.4 1 0 +github.com/muety/wakapi/utils/summary.go:10.66,11.40 1 0 +github.com/muety/wakapi/utils/summary.go:16.2,16.48 1 0 +github.com/muety/wakapi/utils/summary.go:11.40,12.27 1 0 +github.com/muety/wakapi/utils/summary.go:12.27,14.4 1 0 +github.com/muety/wakapi/utils/summary.go:19.88,22.2 2 0 +github.com/muety/wakapi/utils/summary.go:24.95,26.16 2 0 +github.com/muety/wakapi/utils/summary.go:29.2,29.38 1 0 +github.com/muety/wakapi/utils/summary.go:26.16,28.3 1 0 +github.com/muety/wakapi/utils/summary.go:32.105,36.18 3 0 +github.com/muety/wakapi/utils/summary.go:71.2,71.22 1 0 +github.com/muety/wakapi/utils/summary.go:37.28,38.26 1 0 +github.com/muety/wakapi/utils/summary.go:39.32,41.24 2 0 +github.com/muety/wakapi/utils/summary.go:42.31,43.29 1 0 +github.com/muety/wakapi/utils/summary.go:44.31,46.27 2 0 +github.com/muety/wakapi/utils/summary.go:47.32,48.30 1 0 +github.com/muety/wakapi/utils/summary.go:49.32,51.28 2 0 +github.com/muety/wakapi/utils/summary.go:52.31,53.29 1 0 +github.com/muety/wakapi/utils/summary.go:54.32,55.31 1 0 +github.com/muety/wakapi/utils/summary.go:56.41,58.42 2 0 +github.com/muety/wakapi/utils/summary.go:59.33,60.32 1 0 +github.com/muety/wakapi/utils/summary.go:61.33,62.32 1 0 +github.com/muety/wakapi/utils/summary.go:63.35,64.32 1 0 +github.com/muety/wakapi/utils/summary.go:65.26,66.21 1 0 +github.com/muety/wakapi/utils/summary.go:67.10,68.39 1 0 +github.com/muety/wakapi/utils/summary.go:74.73,81.56 5 0 +github.com/muety/wakapi/utils/summary.go:97.2,107.8 3 0 +github.com/muety/wakapi/utils/summary.go:81.56,83.3 1 0 +github.com/muety/wakapi/utils/summary.go:83.8,83.54 1 0 +github.com/muety/wakapi/utils/summary.go:83.54,85.3 1 0 +github.com/muety/wakapi/utils/summary.go:85.8,87.17 2 0 +github.com/muety/wakapi/utils/summary.go:91.3,92.17 2 0 +github.com/muety/wakapi/utils/summary.go:87.17,89.4 1 0 +github.com/muety/wakapi/utils/summary.go:92.17,94.4 1 0 +github.com/muety/wakapi/utils/summary.go:110.59,112.48 2 0 +github.com/muety/wakapi/utils/summary.go:115.2,115.49 1 0 +github.com/muety/wakapi/utils/summary.go:118.2,118.47 1 0 +github.com/muety/wakapi/utils/summary.go:121.2,121.48 1 0 +github.com/muety/wakapi/utils/summary.go:124.2,124.57 1 0 +github.com/muety/wakapi/utils/summary.go:127.2,127.46 1 0 +github.com/muety/wakapi/utils/summary.go:130.2,130.47 1 0 +github.com/muety/wakapi/utils/summary.go:133.2,133.16 1 0 +github.com/muety/wakapi/utils/summary.go:112.48,114.3 1 0 +github.com/muety/wakapi/utils/summary.go:115.49,117.3 1 0 +github.com/muety/wakapi/utils/summary.go:118.47,120.3 1 0 +github.com/muety/wakapi/utils/summary.go:121.48,123.3 1 0 +github.com/muety/wakapi/utils/summary.go:124.57,126.3 1 0 +github.com/muety/wakapi/utils/summary.go:127.46,129.3 1 0 +github.com/muety/wakapi/utils/summary.go:130.47,132.3 1 0 +github.com/muety/wakapi/utils/summary.go:136.48,140.51 2 0 +github.com/muety/wakapi/utils/summary.go:143.2,143.12 1 0 +github.com/muety/wakapi/utils/summary.go:140.51,142.3 1 0 +github.com/muety/wakapi/utils/auth.go:16.79,18.54 2 0 +github.com/muety/wakapi/utils/auth.go:22.2,24.16 3 0 +github.com/muety/wakapi/utils/auth.go:28.2,30.45 3 0 +github.com/muety/wakapi/utils/auth.go:33.2,34.32 2 0 +github.com/muety/wakapi/utils/auth.go:18.54,20.3 1 0 +github.com/muety/wakapi/utils/auth.go:24.16,26.3 1 0 +github.com/muety/wakapi/utils/auth.go:30.45,32.3 1 0 +github.com/muety/wakapi/utils/auth.go:37.65,39.85 2 0 +github.com/muety/wakapi/utils/auth.go:43.2,44.30 2 0 +github.com/muety/wakapi/utils/auth.go:39.85,41.3 1 0 +github.com/muety/wakapi/utils/auth.go:47.94,49.16 2 0 +github.com/muety/wakapi/utils/auth.go:53.2,53.107 1 0 +github.com/muety/wakapi/utils/auth.go:57.2,57.22 1 0 +github.com/muety/wakapi/utils/auth.go:49.16,51.3 1 0 +github.com/muety/wakapi/utils/auth.go:53.107,55.3 1 0 +github.com/muety/wakapi/utils/auth.go:60.56,64.2 3 0 +github.com/muety/wakapi/utils/auth.go:66.55,69.16 3 0 +github.com/muety/wakapi/utils/auth.go:72.2,72.16 1 0 +github.com/muety/wakapi/utils/auth.go:69.16,71.3 1 0 +github.com/muety/wakapi/utils/color.go:8.90,10.32 2 0 +github.com/muety/wakapi/utils/color.go:15.2,15.15 1 0 +github.com/muety/wakapi/utils/color.go:10.32,11.50 1 0 +github.com/muety/wakapi/utils/color.go:11.50,13.4 1 0 github.com/muety/wakapi/middlewares/sentry.go:15.60,16.43 1 0 github.com/muety/wakapi/middlewares/sentry.go:16.43,20.3 1 0 github.com/muety/wakapi/middlewares/sentry.go:23.78,26.54 3 0 @@ -584,472 +691,24 @@ github.com/muety/wakapi/middlewares/security.go:25.80,26.36 1 0 github.com/muety/wakapi/middlewares/security.go:31.2,31.27 1 0 github.com/muety/wakapi/middlewares/security.go:26.36,27.30 1 0 github.com/muety/wakapi/middlewares/security.go:27.30,29.4 1 0 -github.com/muety/wakapi/utils/date.go:14.43,16.2 1 1 -github.com/muety/wakapi/utils/date.go:18.48,20.2 1 0 -github.com/muety/wakapi/utils/date.go:22.41,24.21 2 1 -github.com/muety/wakapi/utils/date.go:27.2,27.23 1 1 -github.com/muety/wakapi/utils/date.go:24.21,26.3 1 0 -github.com/muety/wakapi/utils/date.go:30.46,32.2 1 0 -github.com/muety/wakapi/utils/date.go:34.51,36.2 1 0 -github.com/muety/wakapi/utils/date.go:38.44,41.2 2 1 -github.com/muety/wakapi/utils/date.go:43.52,45.2 1 0 -github.com/muety/wakapi/utils/date.go:47.45,49.2 1 0 -github.com/muety/wakapi/utils/date.go:51.51,53.2 1 0 -github.com/muety/wakapi/utils/date.go:55.44,57.2 1 0 -github.com/muety/wakapi/utils/date.go:60.42,62.2 1 1 -github.com/muety/wakapi/utils/date.go:65.46,67.2 1 0 -github.com/muety/wakapi/utils/date.go:70.41,72.21 2 1 -github.com/muety/wakapi/utils/date.go:75.2,75.33 1 1 -github.com/muety/wakapi/utils/date.go:72.21,74.3 1 1 -github.com/muety/wakapi/utils/date.go:79.63,81.2 1 0 -github.com/muety/wakapi/utils/date.go:84.62,90.2 5 0 -github.com/muety/wakapi/utils/date.go:93.67,96.33 2 1 -github.com/muety/wakapi/utils/date.go:105.2,105.18 1 1 -github.com/muety/wakapi/utils/date.go:96.33,98.19 2 1 -github.com/muety/wakapi/utils/date.go:101.3,102.10 2 1 -github.com/muety/wakapi/utils/date.go:98.19,100.4 1 1 -github.com/muety/wakapi/utils/date.go:108.50,114.2 5 0 -github.com/muety/wakapi/utils/date.go:117.36,120.2 2 0 -github.com/muety/wakapi/utils/date.go:123.79,126.36 3 1 -github.com/muety/wakapi/utils/date.go:130.2,130.21 1 1 -github.com/muety/wakapi/utils/date.go:134.2,134.21 1 1 -github.com/muety/wakapi/utils/date.go:138.2,138.13 1 1 -github.com/muety/wakapi/utils/date.go:126.36,129.3 2 0 -github.com/muety/wakapi/utils/date.go:130.21,133.3 2 1 -github.com/muety/wakapi/utils/date.go:134.21,137.3 2 1 -github.com/muety/wakapi/utils/strings.go:8.34,10.2 1 0 -github.com/muety/wakapi/utils/summary.go:10.66,11.40 1 0 -github.com/muety/wakapi/utils/summary.go:16.2,16.48 1 0 -github.com/muety/wakapi/utils/summary.go:11.40,12.27 1 0 -github.com/muety/wakapi/utils/summary.go:12.27,14.4 1 0 -github.com/muety/wakapi/utils/summary.go:19.88,22.2 2 0 -github.com/muety/wakapi/utils/summary.go:24.95,26.16 2 0 -github.com/muety/wakapi/utils/summary.go:29.2,29.38 1 0 -github.com/muety/wakapi/utils/summary.go:26.16,28.3 1 0 -github.com/muety/wakapi/utils/summary.go:32.105,36.18 3 0 -github.com/muety/wakapi/utils/summary.go:71.2,71.22 1 0 -github.com/muety/wakapi/utils/summary.go:37.28,38.26 1 0 -github.com/muety/wakapi/utils/summary.go:39.32,41.24 2 0 -github.com/muety/wakapi/utils/summary.go:42.31,43.29 1 0 -github.com/muety/wakapi/utils/summary.go:44.31,46.27 2 0 -github.com/muety/wakapi/utils/summary.go:47.32,48.30 1 0 -github.com/muety/wakapi/utils/summary.go:49.32,51.28 2 0 -github.com/muety/wakapi/utils/summary.go:52.31,53.29 1 0 -github.com/muety/wakapi/utils/summary.go:54.32,55.31 1 0 -github.com/muety/wakapi/utils/summary.go:56.41,58.42 2 0 -github.com/muety/wakapi/utils/summary.go:59.33,60.32 1 0 -github.com/muety/wakapi/utils/summary.go:61.33,62.32 1 0 -github.com/muety/wakapi/utils/summary.go:63.35,64.32 1 0 -github.com/muety/wakapi/utils/summary.go:65.26,66.21 1 0 -github.com/muety/wakapi/utils/summary.go:67.10,68.39 1 0 -github.com/muety/wakapi/utils/summary.go:74.73,81.56 5 0 -github.com/muety/wakapi/utils/summary.go:97.2,107.8 3 0 -github.com/muety/wakapi/utils/summary.go:81.56,83.3 1 0 -github.com/muety/wakapi/utils/summary.go:83.8,83.54 1 0 -github.com/muety/wakapi/utils/summary.go:83.54,85.3 1 0 -github.com/muety/wakapi/utils/summary.go:85.8,87.17 2 0 -github.com/muety/wakapi/utils/summary.go:91.3,92.17 2 0 -github.com/muety/wakapi/utils/summary.go:87.17,89.4 1 0 -github.com/muety/wakapi/utils/summary.go:92.17,94.4 1 0 -github.com/muety/wakapi/utils/summary.go:110.59,112.48 2 0 -github.com/muety/wakapi/utils/summary.go:115.2,115.49 1 0 -github.com/muety/wakapi/utils/summary.go:118.2,118.47 1 0 -github.com/muety/wakapi/utils/summary.go:121.2,121.48 1 0 -github.com/muety/wakapi/utils/summary.go:124.2,124.57 1 0 -github.com/muety/wakapi/utils/summary.go:127.2,127.46 1 0 -github.com/muety/wakapi/utils/summary.go:130.2,130.47 1 0 -github.com/muety/wakapi/utils/summary.go:133.2,133.16 1 0 -github.com/muety/wakapi/utils/summary.go:112.48,114.3 1 0 -github.com/muety/wakapi/utils/summary.go:115.49,117.3 1 0 -github.com/muety/wakapi/utils/summary.go:118.47,120.3 1 0 -github.com/muety/wakapi/utils/summary.go:121.48,123.3 1 0 -github.com/muety/wakapi/utils/summary.go:124.57,126.3 1 0 -github.com/muety/wakapi/utils/summary.go:127.46,129.3 1 0 -github.com/muety/wakapi/utils/summary.go:130.47,132.3 1 0 -github.com/muety/wakapi/utils/summary.go:136.48,140.51 2 0 -github.com/muety/wakapi/utils/summary.go:143.2,143.12 1 0 -github.com/muety/wakapi/utils/summary.go:140.51,142.3 1 0 -github.com/muety/wakapi/utils/auth.go:16.79,18.54 2 0 -github.com/muety/wakapi/utils/auth.go:22.2,24.16 3 0 -github.com/muety/wakapi/utils/auth.go:28.2,30.45 3 0 -github.com/muety/wakapi/utils/auth.go:33.2,34.32 2 0 -github.com/muety/wakapi/utils/auth.go:18.54,20.3 1 0 -github.com/muety/wakapi/utils/auth.go:24.16,26.3 1 0 -github.com/muety/wakapi/utils/auth.go:30.45,32.3 1 0 -github.com/muety/wakapi/utils/auth.go:37.65,39.85 2 0 -github.com/muety/wakapi/utils/auth.go:43.2,44.30 2 0 -github.com/muety/wakapi/utils/auth.go:39.85,41.3 1 0 -github.com/muety/wakapi/utils/auth.go:47.94,49.16 2 0 -github.com/muety/wakapi/utils/auth.go:53.2,53.107 1 0 -github.com/muety/wakapi/utils/auth.go:57.2,57.22 1 0 -github.com/muety/wakapi/utils/auth.go:49.16,51.3 1 0 -github.com/muety/wakapi/utils/auth.go:53.107,55.3 1 0 -github.com/muety/wakapi/utils/auth.go:60.56,64.2 3 0 -github.com/muety/wakapi/utils/auth.go:66.55,69.16 3 0 -github.com/muety/wakapi/utils/auth.go:72.2,72.16 1 0 -github.com/muety/wakapi/utils/auth.go:69.16,71.3 1 0 -github.com/muety/wakapi/utils/color.go:8.90,10.32 2 0 -github.com/muety/wakapi/utils/color.go:15.2,15.15 1 0 -github.com/muety/wakapi/utils/color.go:10.32,11.50 1 0 -github.com/muety/wakapi/utils/color.go:11.50,13.4 1 0 -github.com/muety/wakapi/utils/common.go:18.73,19.58 1 0 -github.com/muety/wakapi/utils/common.go:22.2,22.87 1 0 -github.com/muety/wakapi/utils/common.go:25.2,25.64 1 0 -github.com/muety/wakapi/utils/common.go:19.58,21.3 1 0 -github.com/muety/wakapi/utils/common.go:22.87,24.3 1 0 -github.com/muety/wakapi/utils/common.go:28.40,30.2 1 0 -github.com/muety/wakapi/utils/common.go:32.44,34.2 1 0 -github.com/muety/wakapi/utils/common.go:36.49,38.2 1 0 -github.com/muety/wakapi/utils/common.go:40.45,42.2 1 0 -github.com/muety/wakapi/utils/common.go:44.24,46.2 1 0 -github.com/muety/wakapi/utils/common.go:48.56,51.45 3 1 -github.com/muety/wakapi/utils/common.go:54.2,54.40 1 1 -github.com/muety/wakapi/utils/common.go:51.45,53.3 1 1 -github.com/muety/wakapi/utils/db.go:8.34,9.37 1 0 -github.com/muety/wakapi/utils/db.go:17.2,18.14 2 0 -github.com/muety/wakapi/utils/db.go:9.37,11.110 2 0 -github.com/muety/wakapi/utils/db.go:15.3,15.20 1 0 -github.com/muety/wakapi/utils/db.go:11.110,14.4 2 0 -github.com/muety/wakapi/utils/db.go:21.39,22.37 1 0 -github.com/muety/wakapi/utils/db.go:30.2,31.14 2 0 -github.com/muety/wakapi/utils/db.go:22.37,24.119 2 0 -github.com/muety/wakapi/utils/db.go:28.3,28.20 1 0 -github.com/muety/wakapi/utils/db.go:24.119,27.4 2 0 -github.com/muety/wakapi/utils/http.go:9.90,12.58 3 0 -github.com/muety/wakapi/utils/http.go:12.58,14.3 1 0 -github.com/muety/wakapi/utils/template.go:13.41,15.16 2 0 -github.com/muety/wakapi/utils/template.go:18.2,18.23 1 0 -github.com/muety/wakapi/utils/template.go:15.16,17.3 1 0 -github.com/muety/wakapi/utils/template.go:21.37,22.30 1 0 -github.com/muety/wakapi/utils/template.go:25.2,25.10 1 0 -github.com/muety/wakapi/utils/template.go:22.30,24.3 1 0 -github.com/muety/wakapi/utils/template.go:28.83,33.16 4 0 -github.com/muety/wakapi/utils/template.go:37.2,37.29 1 0 -github.com/muety/wakapi/utils/template.go:62.2,62.23 1 0 -github.com/muety/wakapi/utils/template.go:33.16,35.3 1 0 -github.com/muety/wakapi/utils/template.go:37.29,39.51 2 0 -github.com/muety/wakapi/utils/template.go:43.3,44.17 2 0 -github.com/muety/wakapi/utils/template.go:47.3,48.17 2 0 -github.com/muety/wakapi/utils/template.go:52.3,55.17 3 0 -github.com/muety/wakapi/utils/template.go:59.3,59.27 1 0 -github.com/muety/wakapi/utils/template.go:39.51,40.12 1 0 -github.com/muety/wakapi/utils/template.go:44.17,46.4 1 0 -github.com/muety/wakapi/utils/template.go:48.17,50.4 1 0 -github.com/muety/wakapi/utils/template.go:55.17,57.4 1 0 -github.com/muety/wakapi/services/alias.go:19.77,24.2 1 1 -github.com/muety/wakapi/services/alias.go:28.60,29.43 1 1 -github.com/muety/wakapi/services/alias.go:32.2,32.14 1 1 -github.com/muety/wakapi/services/alias.go:29.43,31.3 1 1 -github.com/muety/wakapi/services/alias.go:35.62,37.16 2 1 -github.com/muety/wakapi/services/alias.go:40.2,40.12 1 1 -github.com/muety/wakapi/services/alias.go:37.16,39.3 1 1 -github.com/muety/wakapi/services/alias.go:43.59,44.51 1 1 -github.com/muety/wakapi/services/alias.go:44.51,46.3 1 0 -github.com/muety/wakapi/services/alias.go:49.76,50.32 1 0 -github.com/muety/wakapi/services/alias.go:53.2,53.49 1 0 -github.com/muety/wakapi/services/alias.go:50.32,52.3 1 0 -github.com/muety/wakapi/services/alias.go:53.49,55.3 1 0 -github.com/muety/wakapi/services/alias.go:55.8,57.3 1 0 -github.com/muety/wakapi/services/alias.go:60.102,61.38 1 0 -github.com/muety/wakapi/services/alias.go:64.2,64.39 1 0 -github.com/muety/wakapi/services/alias.go:61.38,63.3 1 0 -github.com/muety/wakapi/services/alias.go:67.113,68.38 1 0 -github.com/muety/wakapi/services/alias.go:71.2,71.39 1 0 -github.com/muety/wakapi/services/alias.go:68.38,70.3 1 0 -github.com/muety/wakapi/services/alias.go:74.108,75.32 1 1 -github.com/muety/wakapi/services/alias.go:79.2,79.49 1 1 -github.com/muety/wakapi/services/alias.go:87.2,87.19 1 1 -github.com/muety/wakapi/services/alias.go:75.32,77.3 1 1 -github.com/muety/wakapi/services/alias.go:79.49,80.47 1 1 -github.com/muety/wakapi/services/alias.go:80.47,81.49 1 1 -github.com/muety/wakapi/services/alias.go:81.49,83.5 1 1 -github.com/muety/wakapi/services/alias.go:90.77,92.16 2 0 -github.com/muety/wakapi/services/alias.go:96.2,100.20 3 0 -github.com/muety/wakapi/services/alias.go:92.16,94.3 1 0 -github.com/muety/wakapi/services/alias.go:103.60,104.24 1 0 -github.com/muety/wakapi/services/alias.go:107.2,110.16 2 0 -github.com/muety/wakapi/services/alias.go:114.2,116.12 2 0 -github.com/muety/wakapi/services/alias.go:104.24,106.3 1 0 -github.com/muety/wakapi/services/alias.go:110.16,112.3 1 0 -github.com/muety/wakapi/services/alias.go:119.69,123.28 3 0 -github.com/muety/wakapi/services/alias.go:131.2,134.16 2 0 -github.com/muety/wakapi/services/alias.go:140.2,140.31 1 0 -github.com/muety/wakapi/services/alias.go:144.2,144.12 1 0 -github.com/muety/wakapi/services/alias.go:123.28,124.21 1 0 -github.com/muety/wakapi/services/alias.go:127.3,128.16 2 0 -github.com/muety/wakapi/services/alias.go:124.21,126.4 1 0 -github.com/muety/wakapi/services/alias.go:134.16,135.29 1 0 -github.com/muety/wakapi/services/alias.go:135.29,137.4 1 0 -github.com/muety/wakapi/services/alias.go:140.31,142.3 1 0 -github.com/muety/wakapi/services/alias.go:147.74,148.14 1 0 -github.com/muety/wakapi/services/alias.go:148.14,149.57 1 0 -github.com/muety/wakapi/services/alias.go:149.57,153.4 3 0 -github.com/muety/wakapi/services/alias.go:154.8,155.57 1 0 -github.com/muety/wakapi/services/alias.go:155.57,157.48 2 0 -github.com/muety/wakapi/services/alias.go:162.4,162.52 1 0 -github.com/muety/wakapi/services/alias.go:157.48,158.26 1 0 -github.com/muety/wakapi/services/alias.go:158.26,160.6 1 0 -github.com/muety/wakapi/services/alias.go:167.116,168.32 1 0 -github.com/muety/wakapi/services/alias.go:171.2,171.49 1 0 -github.com/muety/wakapi/services/alias.go:168.32,170.3 1 0 -github.com/muety/wakapi/services/alias.go:171.49,173.47 2 0 -github.com/muety/wakapi/services/alias.go:178.3,178.30 1 0 -github.com/muety/wakapi/services/alias.go:173.47,174.16 1 0 -github.com/muety/wakapi/services/alias.go:174.16,176.5 1 0 -github.com/muety/wakapi/services/alias.go:179.8,181.3 1 0 -github.com/muety/wakapi/services/duration.go:16.78,22.2 2 1 -github.com/muety/wakapi/services/duration.go:24.123,27.42 2 1 -github.com/muety/wakapi/services/duration.go:33.2,34.16 2 1 -github.com/muety/wakapi/services/duration.go:41.2,46.31 4 1 -github.com/muety/wakapi/services/duration.go:81.2,83.31 2 1 -github.com/muety/wakapi/services/duration.go:96.2,96.49 1 1 -github.com/muety/wakapi/services/duration.go:100.2,100.32 1 1 -github.com/muety/wakapi/services/duration.go:27.42,28.90 1 1 -github.com/muety/wakapi/services/duration.go:28.90,30.4 1 1 -github.com/muety/wakapi/services/duration.go:34.16,36.3 1 0 -github.com/muety/wakapi/services/duration.go:46.31,47.42 1 1 -github.com/muety/wakapi/services/duration.go:51.3,53.62 2 1 -github.com/muety/wakapi/services/duration.go:57.3,57.20 1 1 -github.com/muety/wakapi/services/duration.go:62.3,63.35 2 1 -github.com/muety/wakapi/services/duration.go:66.3,68.72 2 1 -github.com/muety/wakapi/services/duration.go:78.3,78.10 1 1 -github.com/muety/wakapi/services/duration.go:47.42,48.12 1 1 -github.com/muety/wakapi/services/duration.go:53.62,55.4 1 1 -github.com/muety/wakapi/services/duration.go:57.20,59.12 2 1 -github.com/muety/wakapi/services/duration.go:63.35,65.4 1 1 -github.com/muety/wakapi/services/duration.go:68.72,70.41 2 1 -github.com/muety/wakapi/services/duration.go:73.4,73.15 1 1 -github.com/muety/wakapi/services/duration.go:70.41,72.5 1 1 -github.com/muety/wakapi/services/duration.go:74.9,76.4 1 1 -github.com/muety/wakapi/services/duration.go:83.31,84.26 1 1 -github.com/muety/wakapi/services/duration.go:84.26,89.23 1 1 -github.com/muety/wakapi/services/duration.go:92.4,92.36 1 1 -github.com/muety/wakapi/services/duration.go:89.23,91.5 1 1 -github.com/muety/wakapi/services/duration.go:96.49,98.3 1 1 -github.com/muety/wakapi/services/key_value.go:14.89,19.2 1 0 -github.com/muety/wakapi/services/key_value.go:21.83,23.2 1 0 -github.com/muety/wakapi/services/key_value.go:25.78,27.16 2 0 -github.com/muety/wakapi/services/key_value.go:33.2,33.11 1 0 -github.com/muety/wakapi/services/key_value.go:27.16,32.3 1 0 -github.com/muety/wakapi/services/key_value.go:36.72,38.2 1 0 -github.com/muety/wakapi/services/key_value.go:40.60,42.2 1 0 -github.com/muety/wakapi/services/misc.go:21.126,28.2 1 0 -github.com/muety/wakapi/services/misc.go:40.50,42.48 1 0 -github.com/muety/wakapi/services/misc.go:46.2,48.19 3 0 -github.com/muety/wakapi/services/misc.go:42.48,44.3 1 0 -github.com/muety/wakapi/services/misc.go:51.51,53.16 2 0 -github.com/muety/wakapi/services/misc.go:57.2,60.26 3 0 -github.com/muety/wakapi/services/misc.go:66.2,68.40 2 0 -github.com/muety/wakapi/services/misc.go:73.2,75.33 3 0 -github.com/muety/wakapi/services/misc.go:79.2,84.17 2 0 -github.com/muety/wakapi/services/misc.go:88.2,91.17 1 0 -github.com/muety/wakapi/services/misc.go:95.2,95.12 1 0 -github.com/muety/wakapi/services/misc.go:53.16,55.3 1 0 -github.com/muety/wakapi/services/misc.go:60.26,65.3 1 0 -github.com/muety/wakapi/services/misc.go:68.40,70.3 1 0 -github.com/muety/wakapi/services/misc.go:75.33,78.3 2 0 -github.com/muety/wakapi/services/misc.go:84.17,86.3 1 0 -github.com/muety/wakapi/services/misc.go:91.17,93.3 1 0 -github.com/muety/wakapi/services/misc.go:98.116,99.24 1 0 -github.com/muety/wakapi/services/misc.go:99.24,100.156 1 0 -github.com/muety/wakapi/services/misc.go:100.156,102.4 1 0 -github.com/muety/wakapi/services/misc.go:102.9,107.4 1 0 -github.com/muety/wakapi/services/project_label.go:21.111,28.2 1 0 -github.com/muety/wakapi/services/project_label.go:30.80,32.2 1 0 -github.com/muety/wakapi/services/project_label.go:34.90,35.51 1 0 -github.com/muety/wakapi/services/project_label.go:39.2,40.16 2 0 -github.com/muety/wakapi/services/project_label.go:43.2,44.20 2 0 -github.com/muety/wakapi/services/project_label.go:35.51,37.3 1 0 -github.com/muety/wakapi/services/project_label.go:40.16,42.3 1 0 -github.com/muety/wakapi/services/project_label.go:48.108,50.16 2 0 -github.com/muety/wakapi/services/project_label.go:53.2,53.112 1 0 -github.com/muety/wakapi/services/project_label.go:56.2,56.26 1 0 -github.com/muety/wakapi/services/project_label.go:50.16,52.3 1 0 -github.com/muety/wakapi/services/project_label.go:53.112,55.3 1 0 -github.com/muety/wakapi/services/project_label.go:60.116,62.16 2 0 -github.com/muety/wakapi/services/project_label.go:65.2,65.112 1 0 -github.com/muety/wakapi/services/project_label.go:68.2,68.26 1 0 -github.com/muety/wakapi/services/project_label.go:62.16,64.3 1 0 -github.com/muety/wakapi/services/project_label.go:65.112,67.3 1 0 -github.com/muety/wakapi/services/project_label.go:71.98,73.16 2 0 -github.com/muety/wakapi/services/project_label.go:77.2,79.20 3 0 -github.com/muety/wakapi/services/project_label.go:73.16,75.3 1 0 -github.com/muety/wakapi/services/project_label.go:82.74,83.24 1 0 -github.com/muety/wakapi/services/project_label.go:86.2,89.12 4 0 -github.com/muety/wakapi/services/project_label.go:83.24,85.3 1 0 -github.com/muety/wakapi/services/project_label.go:92.89,94.14 2 0 -github.com/muety/wakapi/services/project_label.go:97.2,100.4 1 0 -github.com/muety/wakapi/services/project_label.go:94.14,96.3 1 0 -github.com/muety/wakapi/services/summary.go:29.189,41.33 3 1 -github.com/muety/wakapi/services/summary.go:52.2,52.12 1 1 -github.com/muety/wakapi/services/summary.go:41.33,42.31 1 1 -github.com/muety/wakapi/services/summary.go:42.31,44.39 2 0 -github.com/muety/wakapi/services/summary.go:44.39,45.71 1 0 -github.com/muety/wakapi/services/summary.go:45.71,47.6 1 0 -github.com/muety/wakapi/services/summary.go:58.161,61.66 2 1 -github.com/muety/wakapi/services/summary.go:66.2,71.20 4 1 -github.com/muety/wakapi/services/summary.go:77.2,77.65 1 1 -github.com/muety/wakapi/services/summary.go:82.2,83.16 2 1 -github.com/muety/wakapi/services/summary.go:88.2,93.105 5 1 -github.com/muety/wakapi/services/summary.go:97.2,98.30 2 1 -github.com/muety/wakapi/services/summary.go:61.66,63.3 1 0 -github.com/muety/wakapi/services/summary.go:71.20,74.3 2 1 -github.com/muety/wakapi/services/summary.go:77.65,79.3 1 0 -github.com/muety/wakapi/services/summary.go:83.16,85.3 1 0 -github.com/muety/wakapi/services/summary.go:93.105,95.3 1 1 -github.com/muety/wakapi/services/summary.go:101.126,105.41 2 1 -github.com/muety/wakapi/services/summary.go:116.2,117.44 2 1 -github.com/muety/wakapi/services/summary.go:126.2,127.16 2 1 -github.com/muety/wakapi/services/summary.go:131.2,131.30 1 1 -github.com/muety/wakapi/services/summary.go:105.41,108.17 2 1 -github.com/muety/wakapi/services/summary.go:108.17,110.4 1 1 -github.com/muety/wakapi/services/summary.go:110.9,112.4 1 0 -github.com/muety/wakapi/services/summary.go:117.44,118.87 1 1 -github.com/muety/wakapi/services/summary.go:118.87,120.4 1 1 -github.com/muety/wakapi/services/summary.go:120.9,122.4 1 0 -github.com/muety/wakapi/services/summary.go:127.16,129.3 1 0 -github.com/muety/wakapi/services/summary.go:134.127,137.16 2 1 -github.com/muety/wakapi/services/summary.go:141.2,142.74 2 1 -github.com/muety/wakapi/services/summary.go:146.2,148.26 3 1 -github.com/muety/wakapi/services/summary.go:153.2,160.34 7 1 -github.com/muety/wakapi/services/summary.go:178.2,178.25 1 1 -github.com/muety/wakapi/services/summary.go:183.2,196.30 2 1 -github.com/muety/wakapi/services/summary.go:137.16,139.3 1 0 -github.com/muety/wakapi/services/summary.go:142.74,144.3 1 1 -github.com/muety/wakapi/services/summary.go:148.26,150.3 1 1 -github.com/muety/wakapi/services/summary.go:160.34,162.20 2 1 -github.com/muety/wakapi/services/summary.go:163.30,164.29 1 1 -github.com/muety/wakapi/services/summary.go:165.31,166.30 1 1 -github.com/muety/wakapi/services/summary.go:167.29,168.28 1 1 -github.com/muety/wakapi/services/summary.go:169.25,170.24 1 1 -github.com/muety/wakapi/services/summary.go:171.30,172.29 1 1 -github.com/muety/wakapi/services/summary.go:173.29,174.28 1 1 -github.com/muety/wakapi/services/summary.go:178.25,181.3 2 1 -github.com/muety/wakapi/services/summary.go:201.76,203.2 1 0 -github.com/muety/wakapi/services/summary.go:205.62,208.2 2 0 -github.com/muety/wakapi/services/summary.go:210.66,213.2 2 0 -github.com/muety/wakapi/services/summary.go:217.125,220.30 2 1 -github.com/muety/wakapi/services/summary.go:224.2,225.28 2 1 -github.com/muety/wakapi/services/summary.go:233.2,233.40 1 1 -github.com/muety/wakapi/services/summary.go:237.2,237.67 1 1 -github.com/muety/wakapi/services/summary.go:220.30,222.3 1 1 -github.com/muety/wakapi/services/summary.go:225.28,231.3 1 1 -github.com/muety/wakapi/services/summary.go:233.40,235.3 1 1 -github.com/muety/wakapi/services/summary.go:240.87,241.72 1 1 -github.com/muety/wakapi/services/summary.go:249.2,250.16 2 1 -github.com/muety/wakapi/services/summary.go:255.2,256.37 2 1 -github.com/muety/wakapi/services/summary.go:260.2,262.30 3 1 -github.com/muety/wakapi/services/summary.go:273.2,274.29 2 1 -github.com/muety/wakapi/services/summary.go:279.2,280.16 2 1 -github.com/muety/wakapi/services/summary.go:241.72,247.3 1 1 -github.com/muety/wakapi/services/summary.go:250.16,253.3 2 0 -github.com/muety/wakapi/services/summary.go:256.37,258.3 1 1 -github.com/muety/wakapi/services/summary.go:262.30,263.48 1 1 -github.com/muety/wakapi/services/summary.go:263.48,264.41 1 1 -github.com/muety/wakapi/services/summary.go:267.4,268.29 2 1 -github.com/muety/wakapi/services/summary.go:264.41,266.5 1 1 -github.com/muety/wakapi/services/summary.go:274.29,275.18 1 1 -github.com/muety/wakapi/services/summary.go:275.18,277.4 1 1 -github.com/muety/wakapi/services/summary.go:283.97,284.24 1 1 -github.com/muety/wakapi/services/summary.go:288.2,304.30 5 1 -github.com/muety/wakapi/services/summary.go:335.2,338.26 3 1 -github.com/muety/wakapi/services/summary.go:284.24,286.3 1 0 -github.com/muety/wakapi/services/summary.go:304.30,306.41 2 1 -github.com/muety/wakapi/services/summary.go:311.3,311.38 1 1 -github.com/muety/wakapi/services/summary.go:315.3,315.37 1 1 -github.com/muety/wakapi/services/summary.go:319.3,319.34 1 1 -github.com/muety/wakapi/services/summary.go:323.3,332.25 9 1 -github.com/muety/wakapi/services/summary.go:306.41,308.12 2 1 -github.com/muety/wakapi/services/summary.go:311.38,313.4 1 0 -github.com/muety/wakapi/services/summary.go:315.37,317.4 1 1 -github.com/muety/wakapi/services/summary.go:319.34,321.4 1 1 -github.com/muety/wakapi/services/summary.go:341.127,345.32 2 1 -github.com/muety/wakapi/services/summary.go:349.2,349.27 1 1 -github.com/muety/wakapi/services/summary.go:357.2,359.26 3 1 -github.com/muety/wakapi/services/summary.go:364.2,364.43 1 1 -github.com/muety/wakapi/services/summary.go:368.2,368.17 1 1 -github.com/muety/wakapi/services/summary.go:345.32,347.3 1 1 -github.com/muety/wakapi/services/summary.go:349.27,350.37 1 1 -github.com/muety/wakapi/services/summary.go:350.37,352.4 1 1 -github.com/muety/wakapi/services/summary.go:352.9,354.4 1 1 -github.com/muety/wakapi/services/summary.go:359.26,362.3 2 1 -github.com/muety/wakapi/services/summary.go:364.43,366.3 1 1 -github.com/muety/wakapi/services/summary.go:371.116,372.25 1 1 -github.com/muety/wakapi/services/summary.go:376.2,379.44 2 1 -github.com/muety/wakapi/services/summary.go:384.2,384.40 1 1 -github.com/muety/wakapi/services/summary.go:409.2,409.54 1 1 -github.com/muety/wakapi/services/summary.go:413.2,413.18 1 1 -github.com/muety/wakapi/services/summary.go:372.25,374.3 1 0 -github.com/muety/wakapi/services/summary.go:379.44,381.3 1 1 -github.com/muety/wakapi/services/summary.go:384.40,386.19 2 1 -github.com/muety/wakapi/services/summary.go:393.3,398.34 3 1 -github.com/muety/wakapi/services/summary.go:403.3,403.22 1 1 -github.com/muety/wakapi/services/summary.go:386.19,387.12 1 1 -github.com/muety/wakapi/services/summary.go:398.34,400.4 1 1 -github.com/muety/wakapi/services/summary.go:403.22,405.4 1 1 -github.com/muety/wakapi/services/summary.go:409.54,411.3 1 1 -github.com/muety/wakapi/services/summary.go:416.59,418.2 1 1 -github.com/muety/wakapi/services/summary.go:420.63,421.37 1 0 -github.com/muety/wakapi/services/summary.go:421.37,422.36 1 0 -github.com/muety/wakapi/services/summary.go:422.36,424.4 1 0 -github.com/muety/wakapi/services/summary.go:428.85,429.40 1 1 -github.com/muety/wakapi/services/summary.go:429.40,432.3 2 1 -github.com/muety/wakapi/services/summary.go:435.99,436.42 1 1 -github.com/muety/wakapi/services/summary.go:436.42,438.17 2 1 -github.com/muety/wakapi/services/summary.go:441.3,442.29 2 1 -github.com/muety/wakapi/services/summary.go:445.3,445.22 1 1 -github.com/muety/wakapi/services/summary.go:438.17,440.4 1 0 -github.com/muety/wakapi/services/summary.go:442.29,444.4 1 1 -github.com/muety/wakapi/services/summary.go:449.114,450.33 1 1 -github.com/muety/wakapi/services/summary.go:450.33,453.17 3 1 -github.com/muety/wakapi/services/summary.go:458.3,459.28 2 1 -github.com/muety/wakapi/services/summary.go:462.3,462.24 1 1 -github.com/muety/wakapi/services/summary.go:453.17,454.33 1 1 -github.com/muety/wakapi/services/summary.go:454.33,456.5 1 1 -github.com/muety/wakapi/services/summary.go:459.28,461.4 1 1 -github.com/muety/wakapi/services/aggregation.go:30.142,38.2 1 0 -github.com/muety/wakapi/services/aggregation.go:47.43,49.64 1 0 -github.com/muety/wakapi/services/aggregation.go:53.2,55.19 3 0 -github.com/muety/wakapi/services/aggregation.go:49.64,51.3 1 0 -github.com/muety/wakapi/services/aggregation.go:58.77,59.47 1 0 -github.com/muety/wakapi/services/aggregation.go:62.2,67.40 4 0 -github.com/muety/wakapi/services/aggregation.go:71.2,71.50 1 0 -github.com/muety/wakapi/services/aggregation.go:76.2,76.60 1 0 -github.com/muety/wakapi/services/aggregation.go:82.2,82.35 1 0 -github.com/muety/wakapi/services/aggregation.go:59.47,61.3 1 0 -github.com/muety/wakapi/services/aggregation.go:67.40,69.3 1 0 -github.com/muety/wakapi/services/aggregation.go:71.50,73.3 1 0 -github.com/muety/wakapi/services/aggregation.go:76.60,80.3 3 0 -github.com/muety/wakapi/services/aggregation.go:85.109,86.24 1 0 -github.com/muety/wakapi/services/aggregation.go:86.24,87.116 1 0 -github.com/muety/wakapi/services/aggregation.go:87.116,89.4 1 0 -github.com/muety/wakapi/services/aggregation.go:89.9,92.4 2 0 -github.com/muety/wakapi/services/aggregation.go:96.80,97.33 1 0 -github.com/muety/wakapi/services/aggregation.go:97.33,98.60 1 0 -github.com/muety/wakapi/services/aggregation.go:98.60,100.4 1 0 -github.com/muety/wakapi/services/aggregation.go:104.110,109.16 3 0 -github.com/muety/wakapi/services/aggregation.go:115.2,116.16 2 0 -github.com/muety/wakapi/services/aggregation.go:122.2,123.44 2 0 -github.com/muety/wakapi/services/aggregation.go:128.2,128.41 1 0 -github.com/muety/wakapi/services/aggregation.go:146.2,146.12 1 0 -github.com/muety/wakapi/services/aggregation.go:109.16,112.3 2 0 -github.com/muety/wakapi/services/aggregation.go:116.16,119.3 2 0 -github.com/muety/wakapi/services/aggregation.go:123.44,125.3 1 0 -github.com/muety/wakapi/services/aggregation.go:128.41,129.71 1 0 -github.com/muety/wakapi/services/aggregation.go:133.3,133.21 1 0 -github.com/muety/wakapi/services/aggregation.go:129.71,130.12 1 0 -github.com/muety/wakapi/services/aggregation.go:133.21,137.4 1 0 -github.com/muety/wakapi/services/aggregation.go:137.9,137.62 1 0 -github.com/muety/wakapi/services/aggregation.go:137.62,141.4 1 0 -github.com/muety/wakapi/services/aggregation.go:149.83,152.27 3 0 -github.com/muety/wakapi/services/aggregation.go:157.2,158.12 2 0 -github.com/muety/wakapi/services/aggregation.go:152.27,153.34 1 0 -github.com/muety/wakapi/services/aggregation.go:153.34,155.4 1 0 -github.com/muety/wakapi/services/aggregation.go:161.79,164.27 3 0 -github.com/muety/wakapi/services/aggregation.go:164.27,166.3 1 0 -github.com/muety/wakapi/services/aggregation.go:169.83,184.41 5 0 -github.com/muety/wakapi/services/aggregation.go:184.41,194.3 3 0 -github.com/muety/wakapi/services/aggregation.go:197.34,200.2 2 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:25.112,32.2 1 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:34.59,38.2 2 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:50.68,52.16 2 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:57.2,58.16 2 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:64.2,65.50 2 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:70.2,78.16 3 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:84.2,86.44 3 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:52.16,55.3 2 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:58.16,62.3 3 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:65.50,68.3 2 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:78.16,82.3 3 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:89.144,91.16 2 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:95.2,102.29 3 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:106.2,114.16 2 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:118.2,118.36 1 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:91.16,93.3 1 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:102.29,104.3 1 0 +github.com/muety/wakapi/routes/compat/shields/v1/badge.go:114.16,116.3 1 0 github.com/muety/wakapi/services/heartbeat.go:26.141,40.33 3 0 github.com/muety/wakapi/services/heartbeat.go:48.2,48.12 1 0 github.com/muety/wakapi/services/heartbeat.go:40.33,41.31 1 0 @@ -1119,25 +778,27 @@ github.com/muety/wakapi/services/heartbeat.go:255.94,257.42 2 0 github.com/muety/wakapi/services/heartbeat.go:263.2,263.18 1 0 github.com/muety/wakapi/services/heartbeat.go:257.42,259.18 2 0 github.com/muety/wakapi/services/heartbeat.go:259.18,261.4 1 0 -github.com/muety/wakapi/services/language_mapping.go:18.118,24.2 1 0 -github.com/muety/wakapi/services/language_mapping.go:26.86,28.2 1 0 -github.com/muety/wakapi/services/language_mapping.go:30.96,31.53 1 0 -github.com/muety/wakapi/services/language_mapping.go:35.2,36.16 2 0 -github.com/muety/wakapi/services/language_mapping.go:39.2,40.22 2 0 -github.com/muety/wakapi/services/language_mapping.go:31.53,33.3 1 0 -github.com/muety/wakapi/services/language_mapping.go:36.16,38.3 1 0 -github.com/muety/wakapi/services/language_mapping.go:43.92,46.16 3 0 -github.com/muety/wakapi/services/language_mapping.go:50.2,50.33 1 0 -github.com/muety/wakapi/services/language_mapping.go:53.2,53.22 1 0 -github.com/muety/wakapi/services/language_mapping.go:46.16,48.3 1 0 -github.com/muety/wakapi/services/language_mapping.go:50.33,52.3 1 0 -github.com/muety/wakapi/services/language_mapping.go:56.109,58.16 2 0 -github.com/muety/wakapi/services/language_mapping.go:62.2,63.20 2 0 -github.com/muety/wakapi/services/language_mapping.go:58.16,60.3 1 0 -github.com/muety/wakapi/services/language_mapping.go:66.82,67.26 1 0 -github.com/muety/wakapi/services/language_mapping.go:70.2,72.12 3 0 -github.com/muety/wakapi/services/language_mapping.go:67.26,69.3 1 0 -github.com/muety/wakapi/services/language_mapping.go:75.74,78.2 1 0 +github.com/muety/wakapi/services/misc.go:21.126,28.2 1 0 +github.com/muety/wakapi/services/misc.go:40.50,42.48 1 0 +github.com/muety/wakapi/services/misc.go:46.2,48.19 3 0 +github.com/muety/wakapi/services/misc.go:42.48,44.3 1 0 +github.com/muety/wakapi/services/misc.go:51.51,53.16 2 0 +github.com/muety/wakapi/services/misc.go:57.2,60.26 3 0 +github.com/muety/wakapi/services/misc.go:66.2,68.40 2 0 +github.com/muety/wakapi/services/misc.go:73.2,75.33 3 0 +github.com/muety/wakapi/services/misc.go:79.2,84.17 2 0 +github.com/muety/wakapi/services/misc.go:88.2,91.17 1 0 +github.com/muety/wakapi/services/misc.go:95.2,95.12 1 0 +github.com/muety/wakapi/services/misc.go:53.16,55.3 1 0 +github.com/muety/wakapi/services/misc.go:60.26,65.3 1 0 +github.com/muety/wakapi/services/misc.go:68.40,70.3 1 0 +github.com/muety/wakapi/services/misc.go:75.33,78.3 2 0 +github.com/muety/wakapi/services/misc.go:84.17,86.3 1 0 +github.com/muety/wakapi/services/misc.go:91.17,93.3 1 0 +github.com/muety/wakapi/services/misc.go:98.116,99.24 1 0 +github.com/muety/wakapi/services/misc.go:99.24,100.156 1 0 +github.com/muety/wakapi/services/misc.go:100.156,102.4 1 0 +github.com/muety/wakapi/services/misc.go:102.9,107.4 1 0 github.com/muety/wakapi/services/report.go:30.122,44.33 4 0 github.com/muety/wakapi/services/report.go:50.2,50.12 1 0 github.com/muety/wakapi/services/report.go:44.33,45.31 1 0 @@ -1167,56 +828,371 @@ github.com/muety/wakapi/services/report.go:145.2,145.12 1 0 github.com/muety/wakapi/services/report.go:138.41,139.30 1 0 github.com/muety/wakapi/services/report.go:139.30,140.16 1 0 github.com/muety/wakapi/services/report.go:140.16,142.5 1 0 -github.com/muety/wakapi/services/user.go:24.99,34.33 3 0 -github.com/muety/wakapi/services/user.go:55.2,55.12 1 0 -github.com/muety/wakapi/services/user.go:34.33,35.31 1 0 -github.com/muety/wakapi/services/user.go:35.31,41.73 4 0 -github.com/muety/wakapi/services/user.go:45.4,45.24 1 0 -github.com/muety/wakapi/services/user.go:41.73,43.5 1 0 -github.com/muety/wakapi/services/user.go:45.24,46.80 1 0 -github.com/muety/wakapi/services/user.go:46.80,48.6 1 0 -github.com/muety/wakapi/services/user.go:48.11,50.6 1 0 -github.com/muety/wakapi/services/user.go:58.74,59.40 1 0 -github.com/muety/wakapi/services/user.go:63.2,64.16 2 0 -github.com/muety/wakapi/services/user.go:68.2,69.15 2 0 -github.com/muety/wakapi/services/user.go:59.40,61.3 1 0 -github.com/muety/wakapi/services/user.go:64.16,66.3 1 0 -github.com/muety/wakapi/services/user.go:72.72,73.37 1 0 -github.com/muety/wakapi/services/user.go:77.2,78.16 2 0 -github.com/muety/wakapi/services/user.go:82.2,83.15 2 0 -github.com/muety/wakapi/services/user.go:73.37,75.3 1 0 -github.com/muety/wakapi/services/user.go:78.16,80.3 1 0 -github.com/muety/wakapi/services/user.go:86.76,88.2 1 0 -github.com/muety/wakapi/services/user.go:90.86,92.2 1 0 -github.com/muety/wakapi/services/user.go:94.58,96.2 1 0 -github.com/muety/wakapi/services/user.go:98.86,100.2 1 0 -github.com/muety/wakapi/services/user.go:102.71,104.12 2 0 -github.com/muety/wakapi/services/user.go:108.2,109.42 2 0 -github.com/muety/wakapi/services/user.go:113.2,114.16 2 0 -github.com/muety/wakapi/services/user.go:118.2,119.21 2 0 -github.com/muety/wakapi/services/user.go:104.12,106.3 1 0 -github.com/muety/wakapi/services/user.go:109.42,111.3 1 0 -github.com/muety/wakapi/services/user.go:114.16,116.3 1 0 -github.com/muety/wakapi/services/user.go:122.48,124.2 1 0 -github.com/muety/wakapi/services/user.go:126.102,136.93 2 0 -github.com/muety/wakapi/services/user.go:142.2,142.38 1 0 -github.com/muety/wakapi/services/user.go:136.93,138.3 1 0 -github.com/muety/wakapi/services/user.go:138.8,140.3 1 0 -github.com/muety/wakapi/services/user.go:145.73,149.2 3 0 -github.com/muety/wakapi/services/user.go:151.78,155.2 3 0 -github.com/muety/wakapi/services/user.go:157.122,160.35 2 0 -github.com/muety/wakapi/services/user.go:166.2,166.35 1 0 -github.com/muety/wakapi/services/user.go:170.2,170.18 1 0 -github.com/muety/wakapi/services/user.go:160.35,161.89 1 0 -github.com/muety/wakapi/services/user.go:161.89,163.4 1 0 -github.com/muety/wakapi/services/user.go:166.35,168.3 1 0 -github.com/muety/wakapi/services/user.go:173.106,176.96 3 0 -github.com/muety/wakapi/services/user.go:181.2,181.68 1 0 -github.com/muety/wakapi/services/user.go:176.96,178.3 1 0 -github.com/muety/wakapi/services/user.go:178.8,180.3 1 0 -github.com/muety/wakapi/services/user.go:184.85,186.2 1 0 -github.com/muety/wakapi/services/user.go:188.57,195.2 4 0 -github.com/muety/wakapi/services/user.go:197.38,199.2 1 0 -github.com/muety/wakapi/services/user.go:201.57,206.2 1 0 +github.com/muety/wakapi/services/user.go:25.99,35.33 3 0 +github.com/muety/wakapi/services/user.go:56.2,56.12 1 0 +github.com/muety/wakapi/services/user.go:35.33,36.31 1 0 +github.com/muety/wakapi/services/user.go:36.31,42.73 4 0 +github.com/muety/wakapi/services/user.go:46.4,46.24 1 0 +github.com/muety/wakapi/services/user.go:42.73,44.5 1 0 +github.com/muety/wakapi/services/user.go:46.24,47.80 1 0 +github.com/muety/wakapi/services/user.go:47.80,49.6 1 0 +github.com/muety/wakapi/services/user.go:49.11,51.6 1 0 +github.com/muety/wakapi/services/user.go:59.74,60.40 1 0 +github.com/muety/wakapi/services/user.go:64.2,65.16 2 0 +github.com/muety/wakapi/services/user.go:69.2,70.15 2 0 +github.com/muety/wakapi/services/user.go:60.40,62.3 1 0 +github.com/muety/wakapi/services/user.go:65.16,67.3 1 0 +github.com/muety/wakapi/services/user.go:73.72,74.37 1 0 +github.com/muety/wakapi/services/user.go:78.2,79.16 2 0 +github.com/muety/wakapi/services/user.go:83.2,84.15 2 0 +github.com/muety/wakapi/services/user.go:74.37,76.3 1 0 +github.com/muety/wakapi/services/user.go:79.16,81.3 1 0 +github.com/muety/wakapi/services/user.go:87.76,89.2 1 0 +github.com/muety/wakapi/services/user.go:91.86,93.2 1 0 +github.com/muety/wakapi/services/user.go:95.58,97.2 1 0 +github.com/muety/wakapi/services/user.go:99.86,101.2 1 0 +github.com/muety/wakapi/services/user.go:103.71,105.12 2 0 +github.com/muety/wakapi/services/user.go:109.2,110.42 2 0 +github.com/muety/wakapi/services/user.go:114.2,115.16 2 0 +github.com/muety/wakapi/services/user.go:119.2,120.21 2 0 +github.com/muety/wakapi/services/user.go:105.12,107.3 1 0 +github.com/muety/wakapi/services/user.go:110.42,112.3 1 0 +github.com/muety/wakapi/services/user.go:115.16,117.3 1 0 +github.com/muety/wakapi/services/user.go:123.48,125.2 1 0 +github.com/muety/wakapi/services/user.go:127.102,137.93 2 0 +github.com/muety/wakapi/services/user.go:143.2,143.38 1 0 +github.com/muety/wakapi/services/user.go:137.93,139.3 1 0 +github.com/muety/wakapi/services/user.go:139.8,141.3 1 0 +github.com/muety/wakapi/services/user.go:146.73,150.2 3 0 +github.com/muety/wakapi/services/user.go:152.78,156.2 3 0 +github.com/muety/wakapi/services/user.go:158.122,161.35 2 0 +github.com/muety/wakapi/services/user.go:167.2,167.35 1 0 +github.com/muety/wakapi/services/user.go:171.2,171.18 1 0 +github.com/muety/wakapi/services/user.go:161.35,162.89 1 0 +github.com/muety/wakapi/services/user.go:162.89,164.4 1 0 +github.com/muety/wakapi/services/user.go:167.35,169.3 1 0 +github.com/muety/wakapi/services/user.go:174.106,177.96 3 0 +github.com/muety/wakapi/services/user.go:182.2,182.68 1 0 +github.com/muety/wakapi/services/user.go:177.96,179.3 1 0 +github.com/muety/wakapi/services/user.go:179.8,181.3 1 0 +github.com/muety/wakapi/services/user.go:185.85,187.2 1 0 +github.com/muety/wakapi/services/user.go:189.57,196.2 4 0 +github.com/muety/wakapi/services/user.go:198.38,200.2 1 0 +github.com/muety/wakapi/services/user.go:202.57,207.2 1 0 +github.com/muety/wakapi/services/duration.go:16.78,22.2 2 1 +github.com/muety/wakapi/services/duration.go:24.123,27.42 2 1 +github.com/muety/wakapi/services/duration.go:33.2,34.16 2 1 +github.com/muety/wakapi/services/duration.go:41.2,46.31 4 1 +github.com/muety/wakapi/services/duration.go:81.2,83.31 2 1 +github.com/muety/wakapi/services/duration.go:96.2,96.49 1 1 +github.com/muety/wakapi/services/duration.go:100.2,100.32 1 1 +github.com/muety/wakapi/services/duration.go:27.42,28.90 1 1 +github.com/muety/wakapi/services/duration.go:28.90,30.4 1 1 +github.com/muety/wakapi/services/duration.go:34.16,36.3 1 0 +github.com/muety/wakapi/services/duration.go:46.31,47.42 1 1 +github.com/muety/wakapi/services/duration.go:51.3,53.62 2 1 +github.com/muety/wakapi/services/duration.go:57.3,57.20 1 1 +github.com/muety/wakapi/services/duration.go:62.3,63.35 2 1 +github.com/muety/wakapi/services/duration.go:66.3,68.72 2 1 +github.com/muety/wakapi/services/duration.go:78.3,78.10 1 1 +github.com/muety/wakapi/services/duration.go:47.42,48.12 1 1 +github.com/muety/wakapi/services/duration.go:53.62,55.4 1 1 +github.com/muety/wakapi/services/duration.go:57.20,59.12 2 1 +github.com/muety/wakapi/services/duration.go:63.35,65.4 1 1 +github.com/muety/wakapi/services/duration.go:68.72,70.41 2 1 +github.com/muety/wakapi/services/duration.go:73.4,73.15 1 1 +github.com/muety/wakapi/services/duration.go:70.41,72.5 1 1 +github.com/muety/wakapi/services/duration.go:74.9,76.4 1 1 +github.com/muety/wakapi/services/duration.go:83.31,84.26 1 1 +github.com/muety/wakapi/services/duration.go:84.26,89.23 1 1 +github.com/muety/wakapi/services/duration.go:92.4,92.36 1 1 +github.com/muety/wakapi/services/duration.go:89.23,91.5 1 1 +github.com/muety/wakapi/services/duration.go:96.49,98.3 1 1 +github.com/muety/wakapi/services/alias.go:19.77,24.2 1 1 +github.com/muety/wakapi/services/alias.go:28.60,29.43 1 1 +github.com/muety/wakapi/services/alias.go:32.2,32.14 1 1 +github.com/muety/wakapi/services/alias.go:29.43,31.3 1 1 +github.com/muety/wakapi/services/alias.go:35.62,37.16 2 1 +github.com/muety/wakapi/services/alias.go:40.2,40.12 1 1 +github.com/muety/wakapi/services/alias.go:37.16,39.3 1 1 +github.com/muety/wakapi/services/alias.go:43.59,44.51 1 1 +github.com/muety/wakapi/services/alias.go:44.51,46.3 1 0 +github.com/muety/wakapi/services/alias.go:49.76,50.32 1 0 +github.com/muety/wakapi/services/alias.go:53.2,53.49 1 0 +github.com/muety/wakapi/services/alias.go:50.32,52.3 1 0 +github.com/muety/wakapi/services/alias.go:53.49,55.3 1 0 +github.com/muety/wakapi/services/alias.go:55.8,57.3 1 0 +github.com/muety/wakapi/services/alias.go:60.102,61.38 1 0 +github.com/muety/wakapi/services/alias.go:64.2,64.39 1 0 +github.com/muety/wakapi/services/alias.go:61.38,63.3 1 0 +github.com/muety/wakapi/services/alias.go:67.113,68.38 1 0 +github.com/muety/wakapi/services/alias.go:71.2,71.39 1 0 +github.com/muety/wakapi/services/alias.go:68.38,70.3 1 0 +github.com/muety/wakapi/services/alias.go:74.108,75.32 1 1 +github.com/muety/wakapi/services/alias.go:79.2,79.49 1 1 +github.com/muety/wakapi/services/alias.go:87.2,87.19 1 1 +github.com/muety/wakapi/services/alias.go:75.32,77.3 1 1 +github.com/muety/wakapi/services/alias.go:79.49,80.47 1 1 +github.com/muety/wakapi/services/alias.go:80.47,81.49 1 1 +github.com/muety/wakapi/services/alias.go:81.49,83.5 1 1 +github.com/muety/wakapi/services/alias.go:90.77,92.16 2 0 +github.com/muety/wakapi/services/alias.go:96.2,100.20 3 0 +github.com/muety/wakapi/services/alias.go:92.16,94.3 1 0 +github.com/muety/wakapi/services/alias.go:103.60,104.24 1 0 +github.com/muety/wakapi/services/alias.go:107.2,110.16 2 0 +github.com/muety/wakapi/services/alias.go:114.2,116.12 2 0 +github.com/muety/wakapi/services/alias.go:104.24,106.3 1 0 +github.com/muety/wakapi/services/alias.go:110.16,112.3 1 0 +github.com/muety/wakapi/services/alias.go:119.69,123.28 3 0 +github.com/muety/wakapi/services/alias.go:131.2,134.16 2 0 +github.com/muety/wakapi/services/alias.go:140.2,140.31 1 0 +github.com/muety/wakapi/services/alias.go:144.2,144.12 1 0 +github.com/muety/wakapi/services/alias.go:123.28,124.21 1 0 +github.com/muety/wakapi/services/alias.go:127.3,128.16 2 0 +github.com/muety/wakapi/services/alias.go:124.21,126.4 1 0 +github.com/muety/wakapi/services/alias.go:134.16,135.29 1 0 +github.com/muety/wakapi/services/alias.go:135.29,137.4 1 0 +github.com/muety/wakapi/services/alias.go:140.31,142.3 1 0 +github.com/muety/wakapi/services/alias.go:147.74,148.14 1 0 +github.com/muety/wakapi/services/alias.go:148.14,149.57 1 0 +github.com/muety/wakapi/services/alias.go:149.57,153.4 3 0 +github.com/muety/wakapi/services/alias.go:154.8,155.57 1 0 +github.com/muety/wakapi/services/alias.go:155.57,157.48 2 0 +github.com/muety/wakapi/services/alias.go:162.4,162.52 1 0 +github.com/muety/wakapi/services/alias.go:157.48,158.26 1 0 +github.com/muety/wakapi/services/alias.go:158.26,160.6 1 0 +github.com/muety/wakapi/services/alias.go:167.116,168.32 1 0 +github.com/muety/wakapi/services/alias.go:171.2,171.49 1 0 +github.com/muety/wakapi/services/alias.go:168.32,170.3 1 0 +github.com/muety/wakapi/services/alias.go:171.49,173.47 2 0 +github.com/muety/wakapi/services/alias.go:178.3,178.30 1 0 +github.com/muety/wakapi/services/alias.go:173.47,174.16 1 0 +github.com/muety/wakapi/services/alias.go:174.16,176.5 1 0 +github.com/muety/wakapi/services/alias.go:179.8,181.3 1 0 github.com/muety/wakapi/services/diagnostics.go:14.101,19.2 1 0 github.com/muety/wakapi/services/diagnostics.go:21.101,23.2 1 0 +github.com/muety/wakapi/services/key_value.go:14.89,19.2 1 0 +github.com/muety/wakapi/services/key_value.go:21.83,23.2 1 0 +github.com/muety/wakapi/services/key_value.go:25.78,27.16 2 0 +github.com/muety/wakapi/services/key_value.go:33.2,33.11 1 0 +github.com/muety/wakapi/services/key_value.go:27.16,32.3 1 0 +github.com/muety/wakapi/services/key_value.go:36.72,38.2 1 0 +github.com/muety/wakapi/services/key_value.go:40.60,42.2 1 0 +github.com/muety/wakapi/services/language_mapping.go:18.118,24.2 1 0 +github.com/muety/wakapi/services/language_mapping.go:26.86,28.2 1 0 +github.com/muety/wakapi/services/language_mapping.go:30.96,31.53 1 0 +github.com/muety/wakapi/services/language_mapping.go:35.2,36.16 2 0 +github.com/muety/wakapi/services/language_mapping.go:39.2,40.22 2 0 +github.com/muety/wakapi/services/language_mapping.go:31.53,33.3 1 0 +github.com/muety/wakapi/services/language_mapping.go:36.16,38.3 1 0 +github.com/muety/wakapi/services/language_mapping.go:43.92,46.16 3 0 +github.com/muety/wakapi/services/language_mapping.go:50.2,50.33 1 0 +github.com/muety/wakapi/services/language_mapping.go:53.2,53.22 1 0 +github.com/muety/wakapi/services/language_mapping.go:46.16,48.3 1 0 +github.com/muety/wakapi/services/language_mapping.go:50.33,52.3 1 0 +github.com/muety/wakapi/services/language_mapping.go:56.109,58.16 2 0 +github.com/muety/wakapi/services/language_mapping.go:62.2,63.20 2 0 +github.com/muety/wakapi/services/language_mapping.go:58.16,60.3 1 0 +github.com/muety/wakapi/services/language_mapping.go:66.82,67.26 1 0 +github.com/muety/wakapi/services/language_mapping.go:70.2,72.12 3 0 +github.com/muety/wakapi/services/language_mapping.go:67.26,69.3 1 0 +github.com/muety/wakapi/services/language_mapping.go:75.74,78.2 1 0 +github.com/muety/wakapi/services/project_label.go:21.111,28.2 1 0 +github.com/muety/wakapi/services/project_label.go:30.80,32.2 1 0 +github.com/muety/wakapi/services/project_label.go:34.90,35.51 1 0 +github.com/muety/wakapi/services/project_label.go:39.2,40.16 2 0 +github.com/muety/wakapi/services/project_label.go:43.2,44.20 2 0 +github.com/muety/wakapi/services/project_label.go:35.51,37.3 1 0 +github.com/muety/wakapi/services/project_label.go:40.16,42.3 1 0 +github.com/muety/wakapi/services/project_label.go:48.108,50.16 2 0 +github.com/muety/wakapi/services/project_label.go:53.2,53.112 1 0 +github.com/muety/wakapi/services/project_label.go:56.2,56.26 1 0 +github.com/muety/wakapi/services/project_label.go:50.16,52.3 1 0 +github.com/muety/wakapi/services/project_label.go:53.112,55.3 1 0 +github.com/muety/wakapi/services/project_label.go:60.116,62.16 2 0 +github.com/muety/wakapi/services/project_label.go:65.2,65.112 1 0 +github.com/muety/wakapi/services/project_label.go:68.2,68.26 1 0 +github.com/muety/wakapi/services/project_label.go:62.16,64.3 1 0 +github.com/muety/wakapi/services/project_label.go:65.112,67.3 1 0 +github.com/muety/wakapi/services/project_label.go:71.98,73.16 2 0 +github.com/muety/wakapi/services/project_label.go:77.2,79.20 3 0 +github.com/muety/wakapi/services/project_label.go:73.16,75.3 1 0 +github.com/muety/wakapi/services/project_label.go:82.74,83.24 1 0 +github.com/muety/wakapi/services/project_label.go:86.2,89.12 4 0 +github.com/muety/wakapi/services/project_label.go:83.24,85.3 1 0 +github.com/muety/wakapi/services/project_label.go:92.89,94.14 2 0 +github.com/muety/wakapi/services/project_label.go:97.2,100.4 1 0 +github.com/muety/wakapi/services/project_label.go:94.14,96.3 1 0 +github.com/muety/wakapi/services/summary.go:30.189,42.33 3 1 +github.com/muety/wakapi/services/summary.go:53.2,53.12 1 1 +github.com/muety/wakapi/services/summary.go:42.33,43.31 1 1 +github.com/muety/wakapi/services/summary.go:43.31,45.39 2 0 +github.com/muety/wakapi/services/summary.go:45.39,46.71 1 0 +github.com/muety/wakapi/services/summary.go:46.71,48.6 1 0 +github.com/muety/wakapi/services/summary.go:59.161,62.66 2 1 +github.com/muety/wakapi/services/summary.go:67.2,72.20 4 1 +github.com/muety/wakapi/services/summary.go:78.2,78.65 1 1 +github.com/muety/wakapi/services/summary.go:83.2,84.16 2 1 +github.com/muety/wakapi/services/summary.go:89.2,94.105 5 1 +github.com/muety/wakapi/services/summary.go:98.2,99.30 2 1 +github.com/muety/wakapi/services/summary.go:62.66,64.3 1 0 +github.com/muety/wakapi/services/summary.go:72.20,75.3 2 1 +github.com/muety/wakapi/services/summary.go:78.65,80.3 1 0 +github.com/muety/wakapi/services/summary.go:84.16,86.3 1 0 +github.com/muety/wakapi/services/summary.go:94.105,96.3 1 1 +github.com/muety/wakapi/services/summary.go:102.126,106.41 2 1 +github.com/muety/wakapi/services/summary.go:117.2,118.44 2 1 +github.com/muety/wakapi/services/summary.go:133.2,134.16 2 1 +github.com/muety/wakapi/services/summary.go:138.2,138.30 1 1 +github.com/muety/wakapi/services/summary.go:106.41,109.17 2 1 +github.com/muety/wakapi/services/summary.go:109.17,111.4 1 1 +github.com/muety/wakapi/services/summary.go:111.9,113.4 1 0 +github.com/muety/wakapi/services/summary.go:118.44,119.87 1 1 +github.com/muety/wakapi/services/summary.go:119.87,120.71 1 1 +github.com/muety/wakapi/services/summary.go:126.4,126.36 1 1 +github.com/muety/wakapi/services/summary.go:120.71,124.13 1 0 +github.com/muety/wakapi/services/summary.go:127.9,129.4 1 0 +github.com/muety/wakapi/services/summary.go:134.16,136.3 1 0 +github.com/muety/wakapi/services/summary.go:141.127,144.16 2 1 +github.com/muety/wakapi/services/summary.go:148.2,149.74 2 1 +github.com/muety/wakapi/services/summary.go:153.2,155.26 3 1 +github.com/muety/wakapi/services/summary.go:160.2,167.34 7 1 +github.com/muety/wakapi/services/summary.go:185.2,185.25 1 1 +github.com/muety/wakapi/services/summary.go:190.2,203.30 2 1 +github.com/muety/wakapi/services/summary.go:144.16,146.3 1 0 +github.com/muety/wakapi/services/summary.go:149.74,151.3 1 1 +github.com/muety/wakapi/services/summary.go:155.26,157.3 1 1 +github.com/muety/wakapi/services/summary.go:167.34,169.20 2 1 +github.com/muety/wakapi/services/summary.go:170.30,171.29 1 1 +github.com/muety/wakapi/services/summary.go:172.31,173.30 1 1 +github.com/muety/wakapi/services/summary.go:174.29,175.28 1 1 +github.com/muety/wakapi/services/summary.go:176.25,177.24 1 1 +github.com/muety/wakapi/services/summary.go:178.30,179.29 1 1 +github.com/muety/wakapi/services/summary.go:180.29,181.28 1 1 +github.com/muety/wakapi/services/summary.go:185.25,188.3 2 1 +github.com/muety/wakapi/services/summary.go:208.76,210.2 1 0 +github.com/muety/wakapi/services/summary.go:212.62,215.2 2 0 +github.com/muety/wakapi/services/summary.go:217.66,220.2 2 0 +github.com/muety/wakapi/services/summary.go:224.125,227.30 2 1 +github.com/muety/wakapi/services/summary.go:231.2,232.28 2 1 +github.com/muety/wakapi/services/summary.go:240.2,240.40 1 1 +github.com/muety/wakapi/services/summary.go:244.2,244.67 1 1 +github.com/muety/wakapi/services/summary.go:227.30,229.3 1 1 +github.com/muety/wakapi/services/summary.go:232.28,238.3 1 1 +github.com/muety/wakapi/services/summary.go:240.40,242.3 1 1 +github.com/muety/wakapi/services/summary.go:247.87,248.72 1 1 +github.com/muety/wakapi/services/summary.go:256.2,257.16 2 1 +github.com/muety/wakapi/services/summary.go:262.2,263.37 2 1 +github.com/muety/wakapi/services/summary.go:267.2,269.30 3 1 +github.com/muety/wakapi/services/summary.go:280.2,281.29 2 1 +github.com/muety/wakapi/services/summary.go:286.2,287.16 2 1 +github.com/muety/wakapi/services/summary.go:248.72,254.3 1 1 +github.com/muety/wakapi/services/summary.go:257.16,260.3 2 0 +github.com/muety/wakapi/services/summary.go:263.37,265.3 1 1 +github.com/muety/wakapi/services/summary.go:269.30,270.48 1 1 +github.com/muety/wakapi/services/summary.go:270.48,271.41 1 1 +github.com/muety/wakapi/services/summary.go:274.4,275.29 2 1 +github.com/muety/wakapi/services/summary.go:271.41,273.5 1 1 +github.com/muety/wakapi/services/summary.go:281.29,282.18 1 1 +github.com/muety/wakapi/services/summary.go:282.18,284.4 1 1 +github.com/muety/wakapi/services/summary.go:290.97,291.24 1 1 +github.com/muety/wakapi/services/summary.go:295.2,311.30 5 1 +github.com/muety/wakapi/services/summary.go:342.2,345.26 3 1 +github.com/muety/wakapi/services/summary.go:291.24,293.3 1 0 +github.com/muety/wakapi/services/summary.go:311.30,313.41 2 1 +github.com/muety/wakapi/services/summary.go:318.3,318.38 1 1 +github.com/muety/wakapi/services/summary.go:322.3,322.37 1 1 +github.com/muety/wakapi/services/summary.go:326.3,326.34 1 1 +github.com/muety/wakapi/services/summary.go:330.3,339.25 9 1 +github.com/muety/wakapi/services/summary.go:313.41,315.12 2 1 +github.com/muety/wakapi/services/summary.go:318.38,320.4 1 0 +github.com/muety/wakapi/services/summary.go:322.37,324.4 1 1 +github.com/muety/wakapi/services/summary.go:326.34,328.4 1 1 +github.com/muety/wakapi/services/summary.go:348.127,352.32 2 1 +github.com/muety/wakapi/services/summary.go:356.2,356.27 1 1 +github.com/muety/wakapi/services/summary.go:364.2,366.26 3 1 +github.com/muety/wakapi/services/summary.go:371.2,371.43 1 1 +github.com/muety/wakapi/services/summary.go:375.2,375.17 1 1 +github.com/muety/wakapi/services/summary.go:352.32,354.3 1 1 +github.com/muety/wakapi/services/summary.go:356.27,357.37 1 1 +github.com/muety/wakapi/services/summary.go:357.37,359.4 1 1 +github.com/muety/wakapi/services/summary.go:359.9,361.4 1 1 +github.com/muety/wakapi/services/summary.go:366.26,369.3 2 1 +github.com/muety/wakapi/services/summary.go:371.43,373.3 1 1 +github.com/muety/wakapi/services/summary.go:378.130,379.25 1 1 +github.com/muety/wakapi/services/summary.go:383.2,386.44 2 1 +github.com/muety/wakapi/services/summary.go:391.2,391.40 1 1 +github.com/muety/wakapi/services/summary.go:422.2,422.54 1 1 +github.com/muety/wakapi/services/summary.go:426.2,426.18 1 1 +github.com/muety/wakapi/services/summary.go:379.25,381.3 1 0 +github.com/muety/wakapi/services/summary.go:386.44,388.3 1 1 +github.com/muety/wakapi/services/summary.go:391.40,393.51 2 1 +github.com/muety/wakapi/services/summary.go:397.3,404.15 3 1 +github.com/muety/wakapi/services/summary.go:416.3,416.22 1 1 +github.com/muety/wakapi/services/summary.go:393.51,394.12 1 1 +github.com/muety/wakapi/services/summary.go:404.15,410.38 3 1 +github.com/muety/wakapi/services/summary.go:410.38,412.5 1 0 +github.com/muety/wakapi/services/summary.go:416.22,418.4 1 1 +github.com/muety/wakapi/services/summary.go:422.54,424.3 1 1 +github.com/muety/wakapi/services/summary.go:429.59,431.2 1 1 +github.com/muety/wakapi/services/summary.go:433.63,434.37 1 0 +github.com/muety/wakapi/services/summary.go:434.37,435.36 1 0 +github.com/muety/wakapi/services/summary.go:435.36,437.4 1 0 +github.com/muety/wakapi/services/summary.go:441.85,442.40 1 1 +github.com/muety/wakapi/services/summary.go:442.40,445.3 2 1 +github.com/muety/wakapi/services/summary.go:448.99,449.42 1 1 +github.com/muety/wakapi/services/summary.go:449.42,451.17 2 1 +github.com/muety/wakapi/services/summary.go:454.3,455.29 2 1 +github.com/muety/wakapi/services/summary.go:458.3,458.22 1 1 +github.com/muety/wakapi/services/summary.go:451.17,453.4 1 0 +github.com/muety/wakapi/services/summary.go:455.29,457.4 1 1 +github.com/muety/wakapi/services/summary.go:462.114,463.33 1 1 +github.com/muety/wakapi/services/summary.go:463.33,466.17 3 1 +github.com/muety/wakapi/services/summary.go:471.3,472.28 2 1 +github.com/muety/wakapi/services/summary.go:475.3,475.24 1 1 +github.com/muety/wakapi/services/summary.go:466.17,467.33 1 1 +github.com/muety/wakapi/services/summary.go:467.33,469.5 1 1 +github.com/muety/wakapi/services/summary.go:472.28,474.4 1 1 +github.com/muety/wakapi/services/aggregation.go:30.142,38.2 1 0 +github.com/muety/wakapi/services/aggregation.go:47.43,49.64 1 0 +github.com/muety/wakapi/services/aggregation.go:53.2,55.19 3 0 +github.com/muety/wakapi/services/aggregation.go:49.64,51.3 1 0 +github.com/muety/wakapi/services/aggregation.go:58.77,59.47 1 0 +github.com/muety/wakapi/services/aggregation.go:62.2,67.40 4 0 +github.com/muety/wakapi/services/aggregation.go:71.2,71.50 1 0 +github.com/muety/wakapi/services/aggregation.go:76.2,76.60 1 0 +github.com/muety/wakapi/services/aggregation.go:82.2,82.35 1 0 +github.com/muety/wakapi/services/aggregation.go:59.47,61.3 1 0 +github.com/muety/wakapi/services/aggregation.go:67.40,69.3 1 0 +github.com/muety/wakapi/services/aggregation.go:71.50,73.3 1 0 +github.com/muety/wakapi/services/aggregation.go:76.60,80.3 3 0 +github.com/muety/wakapi/services/aggregation.go:85.109,86.24 1 0 +github.com/muety/wakapi/services/aggregation.go:86.24,87.116 1 0 +github.com/muety/wakapi/services/aggregation.go:87.116,89.4 1 0 +github.com/muety/wakapi/services/aggregation.go:89.9,92.4 2 0 +github.com/muety/wakapi/services/aggregation.go:96.80,97.33 1 0 +github.com/muety/wakapi/services/aggregation.go:97.33,98.60 1 0 +github.com/muety/wakapi/services/aggregation.go:98.60,100.4 1 0 +github.com/muety/wakapi/services/aggregation.go:104.110,109.16 3 0 +github.com/muety/wakapi/services/aggregation.go:115.2,116.16 2 0 +github.com/muety/wakapi/services/aggregation.go:122.2,123.44 2 0 +github.com/muety/wakapi/services/aggregation.go:128.2,128.41 1 0 +github.com/muety/wakapi/services/aggregation.go:146.2,146.12 1 0 +github.com/muety/wakapi/services/aggregation.go:109.16,112.3 2 0 +github.com/muety/wakapi/services/aggregation.go:116.16,119.3 2 0 +github.com/muety/wakapi/services/aggregation.go:123.44,125.3 1 0 +github.com/muety/wakapi/services/aggregation.go:128.41,129.71 1 0 +github.com/muety/wakapi/services/aggregation.go:133.3,133.21 1 0 +github.com/muety/wakapi/services/aggregation.go:129.71,130.12 1 0 +github.com/muety/wakapi/services/aggregation.go:133.21,137.4 1 0 +github.com/muety/wakapi/services/aggregation.go:137.9,137.62 1 0 +github.com/muety/wakapi/services/aggregation.go:137.62,141.4 1 0 +github.com/muety/wakapi/services/aggregation.go:149.83,152.27 3 0 +github.com/muety/wakapi/services/aggregation.go:157.2,158.12 2 0 +github.com/muety/wakapi/services/aggregation.go:152.27,153.34 1 0 +github.com/muety/wakapi/services/aggregation.go:153.34,155.4 1 0 +github.com/muety/wakapi/services/aggregation.go:161.79,164.27 3 0 +github.com/muety/wakapi/services/aggregation.go:164.27,166.3 1 0 +github.com/muety/wakapi/services/aggregation.go:169.83,184.41 5 0 +github.com/muety/wakapi/services/aggregation.go:184.41,194.3 3 0 +github.com/muety/wakapi/services/aggregation.go:197.34,200.2 2 0 diff --git a/main.go b/main.go index fc8e950..c2a62c3 100644 --- a/main.go +++ b/main.go @@ -2,6 +2,7 @@ package main import ( "embed" + "github.com/muety/wakapi/migrations" "io/fs" "log" "net" @@ -16,7 +17,6 @@ import ( "github.com/emvi/logbuch" "github.com/gorilla/handlers" conf "github.com/muety/wakapi/config" - "github.com/muety/wakapi/migrations" "github.com/muety/wakapi/repositories" "github.com/muety/wakapi/routes/api" "github.com/muety/wakapi/services/mail" @@ -138,7 +138,9 @@ func main() { defer sqlDb.Close() // Migrate database schema - migrations.Run(db, config) + if !config.SkipMigrations { + migrations.Run(db, config) + } // Repositories aliasRepository = repositories.NewAliasRepository(db) diff --git a/routes/utils/badge_utils.go b/routes/utils/badge_utils.go index 7b36f74..7a82a81 100644 --- a/routes/utils/badge_utils.go +++ b/routes/utils/badge_utils.go @@ -74,6 +74,7 @@ func GetBadgeParams(r *http.Request, requestedUser *models.User) (*models.KeyedI default: // non-entity-specific request, just a general, in-total query permitEntity = true + filters = &models.Filters{} } if !permitEntity { diff --git a/services/summary.go b/services/summary.go index 1e22269..9be0fc4 100644 --- a/services/summary.go +++ b/services/summary.go @@ -117,6 +117,12 @@ func (srv *SummaryService) Retrieve(from, to time.Time, user *models.User, filte missingIntervals := srv.getMissingIntervals(from, to, summaries, false) for _, interval := range missingIntervals { if s, err := srv.Summarize(interval.Start, interval.End, user, filters); err == nil { + if len(missingIntervals) > 2 && s.FromTime.T().Equal(s.ToTime.T()) { + // little hack here: GetAllWithin will query for >= from_date + // however, for "in-between" / intra-day missing intervals, we want strictly > from_date to prevent double-counting + // to not have to rewrite many interfaces, we skip these summaries here + continue + } summaries = append(summaries, s) } else { return nil, err @@ -384,7 +390,7 @@ func (srv *SummaryService) getMissingIntervals(from, to time.Time, summaries []* // Between for i := 0; i < len(summaries)-1; i++ { t1, t2 := summaries[i].ToTime.T(), summaries[i+1].FromTime.T() - if t1.Equal(t2) || t1.Equal(to) || t1.After(to) { + if t1.Equal(t2) || t1.Equal(to) || t1.After(to) { // TODO: check after continue } @@ -401,14 +407,14 @@ func (srv *SummaryService) getMissingIntervals(from, to time.Time, summaries []* // we always want to jump to beginning of next day // however, if left summary ends already at midnight, we would instead jump to beginning of second-next day -> go back again - if td1.Sub(t1) == 24*time.Hour { + if td1.AddDate(0, 0, 1).Equal(t1) { td1 = td1.Add(-1 * time.Hour) } } // one or more day missing in between? if td1.Before(td2) { - intervals = append(intervals, &models.Interval{Start: summaries[i].ToTime.T(), End: summaries[i+1].FromTime.T()}) + intervals = append(intervals, &models.Interval{Start: t1, End: t2}) } } diff --git a/services/summary_test.go b/services/summary_test.go index 0c9f61b..b9d591d 100644 --- a/services/summary_test.go +++ b/services/summary_test.go @@ -318,7 +318,7 @@ func (suite *SummaryServiceTestSuite) TestSummaryService_Retrieve() { assert.Equal(suite.T(), 45*time.Minute, result.TotalTimeByKey(models.SummaryProject, TestProject1)) assert.Equal(suite.T(), 45*time.Minute, result.TotalTimeByKey(models.SummaryProject, TestProject2)) assert.Equal(suite.T(), 200, result.NumHeartbeats) - suite.DurationService.AssertNumberOfCalls(suite.T(), "Get", 2+1+1) + suite.DurationService.AssertNumberOfCalls(suite.T(), "Get", 2+1) } func (suite *SummaryServiceTestSuite) TestSummaryService_Retrieve_DuplicateSummaries() {