From 1b7baf6fc9e45ffd59f34fe41c46fabf1bf83b89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Sat, 7 May 2022 23:17:15 +0200 Subject: [PATCH] fix: explicitly set default value for unique columns (fix #367) --- coverage/coverage.out | 1030 ++++++++++++++++++++--------------------- models/user.go | 2 +- version.txt | 2 +- 3 files changed, 514 insertions(+), 520 deletions(-) diff --git a/coverage/coverage.out b/coverage/coverage.out index a073b0c..8cd9edc 100644 --- a/coverage/coverage.out +++ b/coverage/coverage.out @@ -13,16 +13,30 @@ 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/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/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/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 @@ -57,11 +71,19 @@ 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/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 @@ -273,48 +295,77 @@ 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/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/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/project_label.go:14.39,16.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/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/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/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/project_label.go:14.39,16.2 1 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/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 +github.com/muety/wakapi/config/sentry.go:48.79,51.2 2 0 +github.com/muety/wakapi/config/sentry.go:53.72,57.2 3 0 +github.com/muety/wakapi/config/sentry.go:59.71,63.2 3 0 +github.com/muety/wakapi/config/sentry.go:65.71,69.2 3 0 +github.com/muety/wakapi/config/sentry.go:71.72,75.2 3 0 +github.com/muety/wakapi/config/sentry.go:77.72,81.2 3 0 +github.com/muety/wakapi/config/sentry.go:83.67,88.18 4 0 +github.com/muety/wakapi/config/sentry.go:100.2,100.28 1 0 +github.com/muety/wakapi/config/sentry.go:88.18,89.65 1 0 +github.com/muety/wakapi/config/sentry.go:89.65,92.42 3 0 +github.com/muety/wakapi/config/sentry.go:95.4,96.10 2 0 +github.com/muety/wakapi/config/sentry.go:92.42,94.5 1 0 +github.com/muety/wakapi/config/sentry.go:110.50,115.91 1 0 +github.com/muety/wakapi/config/sentry.go:115.91,116.29 1 0 +github.com/muety/wakapi/config/sentry.go:120.4,123.38 3 0 +github.com/muety/wakapi/config/sentry.go:128.4,128.39 1 0 +github.com/muety/wakapi/config/sentry.go:131.4,131.69 1 0 +github.com/muety/wakapi/config/sentry.go:116.29,118.5 1 0 +github.com/muety/wakapi/config/sentry.go:123.38,124.38 1 0 +github.com/muety/wakapi/config/sentry.go:124.38,126.6 1 0 +github.com/muety/wakapi/config/sentry.go:128.39,130.5 1 0 +github.com/muety/wakapi/config/sentry.go:133.79,134.27 1 0 +github.com/muety/wakapi/config/sentry.go:141.4,141.16 1 0 +github.com/muety/wakapi/config/sentry.go:134.27,135.84 1 0 +github.com/muety/wakapi/config/sentry.go:135.84,136.42 1 0 +github.com/muety/wakapi/config/sentry.go:136.42,138.7 1 0 +github.com/muety/wakapi/config/sentry.go:143.17,145.3 1 0 +github.com/muety/wakapi/config/sentry.go:148.49,152.51 2 0 +github.com/muety/wakapi/config/sentry.go:155.2,155.12 1 0 +github.com/muety/wakapi/config/sentry.go:152.51,154.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 @@ -414,100 +465,110 @@ 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/db.go:54.2,54.12 1 0 +github.com/muety/wakapi/config/db.go:41.23,46.5 1 0 +github.com/muety/wakapi/config/db.go:47.26,50.5 1 0 +github.com/muety/wakapi/config/db.go:51.24,52.48 1 0 +github.com/muety/wakapi/config/db.go:57.53,67.2 1 1 +github.com/muety/wakapi/config/db.go:69.56,71.16 2 1 +github.com/muety/wakapi/config/db.go:75.2,82.3 1 1 +github.com/muety/wakapi/config/db.go:71.16,73.3 1 0 +github.com/muety/wakapi/config/db.go:85.54,87.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 -github.com/muety/wakapi/config/sentry.go:48.79,51.2 2 0 -github.com/muety/wakapi/config/sentry.go:53.72,57.2 3 0 -github.com/muety/wakapi/config/sentry.go:59.71,63.2 3 0 -github.com/muety/wakapi/config/sentry.go:65.71,69.2 3 0 -github.com/muety/wakapi/config/sentry.go:71.72,75.2 3 0 -github.com/muety/wakapi/config/sentry.go:77.72,81.2 3 0 -github.com/muety/wakapi/config/sentry.go:83.67,88.18 4 0 -github.com/muety/wakapi/config/sentry.go:100.2,100.28 1 0 -github.com/muety/wakapi/config/sentry.go:88.18,89.65 1 0 -github.com/muety/wakapi/config/sentry.go:89.65,92.42 3 0 -github.com/muety/wakapi/config/sentry.go:95.4,96.10 2 0 -github.com/muety/wakapi/config/sentry.go:92.42,94.5 1 0 -github.com/muety/wakapi/config/sentry.go:110.50,114.91 1 0 -github.com/muety/wakapi/config/sentry.go:114.91,115.29 1 0 -github.com/muety/wakapi/config/sentry.go:119.4,122.38 3 0 -github.com/muety/wakapi/config/sentry.go:127.4,127.39 1 0 -github.com/muety/wakapi/config/sentry.go:130.4,130.69 1 0 -github.com/muety/wakapi/config/sentry.go:115.29,117.5 1 0 -github.com/muety/wakapi/config/sentry.go:122.38,123.38 1 0 -github.com/muety/wakapi/config/sentry.go:123.38,125.6 1 0 -github.com/muety/wakapi/config/sentry.go:127.39,129.5 1 0 -github.com/muety/wakapi/config/sentry.go:132.79,133.27 1 0 -github.com/muety/wakapi/config/sentry.go:140.4,140.16 1 0 -github.com/muety/wakapi/config/sentry.go:133.27,134.84 1 0 -github.com/muety/wakapi/config/sentry.go:134.84,135.42 1 0 -github.com/muety/wakapi/config/sentry.go:135.42,137.7 1 0 -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/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/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: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/strings.go:8.34,10.2 1 0 +github.com/muety/wakapi/middlewares/principal.go:15.62,17.2 1 0 +github.com/muety/wakapi/middlewares/principal.go:19.58,21.2 1 0 +github.com/muety/wakapi/middlewares/principal.go:42.71,43.43 1 0 +github.com/muety/wakapi/middlewares/principal.go:43.43,45.3 1 0 +github.com/muety/wakapi/middlewares/principal.go:48.81,51.2 2 0 +github.com/muety/wakapi/middlewares/principal.go:53.55,54.52 1 0 +github.com/muety/wakapi/middlewares/principal.go:54.52,56.3 1 0 +github.com/muety/wakapi/middlewares/principal.go:59.49,60.52 1 0 +github.com/muety/wakapi/middlewares/principal.go:63.2,63.12 1 0 +github.com/muety/wakapi/middlewares/principal.go:60.52,62.3 1 0 +github.com/muety/wakapi/middlewares/security.go:19.62,20.43 1 0 +github.com/muety/wakapi/middlewares/security.go:20.43,22.3 1 0 +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/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 +github.com/muety/wakapi/middlewares/sentry.go:26.54,27.43 1 0 +github.com/muety/wakapi/middlewares/sentry.go:27.43,29.4 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:30.91,36.2 1 1 +github.com/muety/wakapi/middlewares/authenticate.go:38.90,41.2 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:43.90,46.2 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:48.71,49.71 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:49.71,51.3 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:54.107,58.16 3 0 +github.com/muety/wakapi/middlewares/authenticate.go:61.2,61.16 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:65.2,65.31 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:81.2,82.12 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:58.16,60.3 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:61.16,63.3 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:65.31,66.31 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:71.3,71.29 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:78.3,78.9 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:66.31,69.4 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:71.29,74.4 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:74.9,77.4 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:85.70,86.39 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:91.2,91.14 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:86.39,87.60 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:87.60,89.4 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:94.98,96.16 2 1 +github.com/muety/wakapi/middlewares/authenticate.go:100.2,103.16 4 1 +github.com/muety/wakapi/middlewares/authenticate.go:106.2,106.18 1 1 +github.com/muety/wakapi/middlewares/authenticate.go:96.16,98.3 1 1 +github.com/muety/wakapi/middlewares/authenticate.go:103.16,105.3 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:109.97,113.19 4 1 +github.com/muety/wakapi/middlewares/authenticate.go:116.2,117.16 2 1 +github.com/muety/wakapi/middlewares/authenticate.go:120.2,120.18 1 1 +github.com/muety/wakapi/middlewares/authenticate.go:113.19,115.3 1 1 +github.com/muety/wakapi/middlewares/authenticate.go:117.16,119.3 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:123.92,125.16 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:129.2,130.16 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:137.2,137.18 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:125.16,127.3 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:130.16,132.3 1 0 +github.com/muety/wakapi/middlewares/filetype.go:13.83,14.43 1 0 +github.com/muety/wakapi/middlewares/filetype.go:14.43,19.3 1 0 +github.com/muety/wakapi/middlewares/filetype.go:22.84,24.34 2 0 +github.com/muety/wakapi/middlewares/filetype.go:31.2,31.27 1 0 +github.com/muety/wakapi/middlewares/filetype.go:24.34,25.50 1 0 +github.com/muety/wakapi/middlewares/filetype.go:25.50,29.4 3 0 +github.com/muety/wakapi/middlewares/logging.go:20.102,21.43 1 0 +github.com/muety/wakapi/middlewares/logging.go:21.43,27.3 1 0 +github.com/muety/wakapi/middlewares/logging.go:30.80,39.44 7 0 +github.com/muety/wakapi/middlewares/logging.go:45.2,54.3 1 0 +github.com/muety/wakapi/middlewares/logging.go:39.44,40.38 1 0 +github.com/muety/wakapi/middlewares/logging.go:40.38,42.4 1 0 +github.com/muety/wakapi/middlewares/logging.go:57.41,59.14 2 0 +github.com/muety/wakapi/middlewares/logging.go:62.2,62.14 1 0 +github.com/muety/wakapi/middlewares/logging.go:65.2,65.11 1 0 +github.com/muety/wakapi/middlewares/logging.go:59.14,61.3 1 0 +github.com/muety/wakapi/middlewares/logging.go:62.14,64.3 1 0 +github.com/muety/wakapi/middlewares/logging.go:68.41,69.42 1 0 +github.com/muety/wakapi/middlewares/logging.go:72.2,72.12 1 0 +github.com/muety/wakapi/middlewares/logging.go:69.42,71.3 1 0 +github.com/muety/wakapi/middlewares/logging.go:103.52,105.2 1 0 +github.com/muety/wakapi/middlewares/logging.go:117.45,118.20 1 0 +github.com/muety/wakapi/middlewares/logging.go:118.20,122.3 3 0 +github.com/muety/wakapi/middlewares/logging.go:124.54,127.18 3 0 +github.com/muety/wakapi/middlewares/logging.go:134.2,135.15 2 0 +github.com/muety/wakapi/middlewares/logging.go:127.18,130.17 2 0 +github.com/muety/wakapi/middlewares/logging.go:130.17,132.4 1 0 +github.com/muety/wakapi/middlewares/logging.go:137.42,138.20 1 0 +github.com/muety/wakapi/middlewares/logging.go:138.20,140.3 1 0 +github.com/muety/wakapi/middlewares/logging.go:142.36,144.2 1 0 +github.com/muety/wakapi/middlewares/logging.go:145.42,147.2 1 0 +github.com/muety/wakapi/middlewares/logging.go:148.40,150.2 1 0 +github.com/muety/wakapi/middlewares/logging.go:151.52,153.2 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 @@ -531,6 +592,16 @@ 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/strings.go:8.34,10.2 1 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 @@ -601,114 +672,200 @@ 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/middlewares/filetype.go:13.83,14.43 1 0 -github.com/muety/wakapi/middlewares/filetype.go:14.43,19.3 1 0 -github.com/muety/wakapi/middlewares/filetype.go:22.84,24.34 2 0 -github.com/muety/wakapi/middlewares/filetype.go:31.2,31.27 1 0 -github.com/muety/wakapi/middlewares/filetype.go:24.34,25.50 1 0 -github.com/muety/wakapi/middlewares/filetype.go:25.50,29.4 3 0 -github.com/muety/wakapi/middlewares/logging.go:20.102,21.43 1 0 -github.com/muety/wakapi/middlewares/logging.go:21.43,27.3 1 0 -github.com/muety/wakapi/middlewares/logging.go:30.80,39.44 7 0 -github.com/muety/wakapi/middlewares/logging.go:45.2,54.3 1 0 -github.com/muety/wakapi/middlewares/logging.go:39.44,40.38 1 0 -github.com/muety/wakapi/middlewares/logging.go:40.38,42.4 1 0 -github.com/muety/wakapi/middlewares/logging.go:57.41,59.14 2 0 -github.com/muety/wakapi/middlewares/logging.go:62.2,62.14 1 0 -github.com/muety/wakapi/middlewares/logging.go:65.2,65.11 1 0 -github.com/muety/wakapi/middlewares/logging.go:59.14,61.3 1 0 -github.com/muety/wakapi/middlewares/logging.go:62.14,64.3 1 0 -github.com/muety/wakapi/middlewares/logging.go:68.41,69.42 1 0 -github.com/muety/wakapi/middlewares/logging.go:72.2,72.12 1 0 -github.com/muety/wakapi/middlewares/logging.go:69.42,71.3 1 0 -github.com/muety/wakapi/middlewares/logging.go:103.52,105.2 1 0 -github.com/muety/wakapi/middlewares/logging.go:117.45,118.20 1 0 -github.com/muety/wakapi/middlewares/logging.go:118.20,122.3 3 0 -github.com/muety/wakapi/middlewares/logging.go:124.54,127.18 3 0 -github.com/muety/wakapi/middlewares/logging.go:134.2,135.15 2 0 -github.com/muety/wakapi/middlewares/logging.go:127.18,130.17 2 0 -github.com/muety/wakapi/middlewares/logging.go:130.17,132.4 1 0 -github.com/muety/wakapi/middlewares/logging.go:137.42,138.20 1 0 -github.com/muety/wakapi/middlewares/logging.go:138.20,140.3 1 0 -github.com/muety/wakapi/middlewares/logging.go:142.36,144.2 1 0 -github.com/muety/wakapi/middlewares/logging.go:145.42,147.2 1 0 -github.com/muety/wakapi/middlewares/logging.go:148.40,150.2 1 0 -github.com/muety/wakapi/middlewares/logging.go:151.52,153.2 1 0 -github.com/muety/wakapi/middlewares/principal.go:15.62,17.2 1 0 -github.com/muety/wakapi/middlewares/principal.go:19.58,21.2 1 0 -github.com/muety/wakapi/middlewares/principal.go:42.71,43.43 1 0 -github.com/muety/wakapi/middlewares/principal.go:43.43,45.3 1 0 -github.com/muety/wakapi/middlewares/principal.go:48.81,51.2 2 0 -github.com/muety/wakapi/middlewares/principal.go:53.55,54.52 1 0 -github.com/muety/wakapi/middlewares/principal.go:54.52,56.3 1 0 -github.com/muety/wakapi/middlewares/principal.go:59.49,60.52 1 0 -github.com/muety/wakapi/middlewares/principal.go:63.2,63.12 1 0 -github.com/muety/wakapi/middlewares/principal.go:60.52,62.3 1 0 -github.com/muety/wakapi/middlewares/security.go:19.62,20.43 1 0 -github.com/muety/wakapi/middlewares/security.go:20.43,22.3 1 0 -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/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 -github.com/muety/wakapi/middlewares/sentry.go:26.54,27.43 1 0 -github.com/muety/wakapi/middlewares/sentry.go:27.43,29.4 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:30.91,36.2 1 1 -github.com/muety/wakapi/middlewares/authenticate.go:38.90,41.2 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:43.90,46.2 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:48.71,49.71 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:49.71,51.3 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:54.107,58.16 3 0 -github.com/muety/wakapi/middlewares/authenticate.go:61.2,61.16 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:65.2,65.31 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:81.2,82.12 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:58.16,60.3 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:61.16,63.3 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:65.31,66.31 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:71.3,71.29 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:78.3,78.9 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:66.31,69.4 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:71.29,74.4 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:74.9,77.4 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:85.70,86.39 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:91.2,91.14 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:86.39,87.60 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:87.60,89.4 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:94.98,96.16 2 1 -github.com/muety/wakapi/middlewares/authenticate.go:100.2,103.16 4 1 -github.com/muety/wakapi/middlewares/authenticate.go:106.2,106.18 1 1 -github.com/muety/wakapi/middlewares/authenticate.go:96.16,98.3 1 1 -github.com/muety/wakapi/middlewares/authenticate.go:103.16,105.3 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:109.97,113.19 4 1 -github.com/muety/wakapi/middlewares/authenticate.go:116.2,117.16 2 1 -github.com/muety/wakapi/middlewares/authenticate.go:120.2,120.18 1 1 -github.com/muety/wakapi/middlewares/authenticate.go:113.19,115.3 1 1 -github.com/muety/wakapi/middlewares/authenticate.go:117.16,119.3 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:123.92,125.16 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:129.2,130.16 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:137.2,137.18 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:125.16,127.3 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:130.16,132.3 1 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/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/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/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 +github.com/muety/wakapi/services/report.go:45.31,47.4 1 0 +github.com/muety/wakapi/services/report.go:53.38,57.16 3 0 +github.com/muety/wakapi/services/report.go:61.2,62.26 2 0 +github.com/muety/wakapi/services/report.go:57.16,59.3 1 0 +github.com/muety/wakapi/services/report.go:62.26,64.3 1 0 +github.com/muety/wakapi/services/report.go:69.61,74.22 3 0 +github.com/muety/wakapi/services/report.go:81.2,81.65 1 0 +github.com/muety/wakapi/services/report.go:98.2,98.24 1 0 +github.com/muety/wakapi/services/report.go:74.22,78.3 3 0 +github.com/muety/wakapi/services/report.go:81.65,91.47 3 0 +github.com/muety/wakapi/services/report.go:91.47,93.4 1 0 +github.com/muety/wakapi/services/report.go:93.9,95.4 1 0 +github.com/muety/wakapi/services/report.go:101.80,102.22 1 0 +github.com/muety/wakapi/services/report.go:107.2,107.29 1 0 +github.com/muety/wakapi/services/report.go:112.2,116.16 4 0 +github.com/muety/wakapi/services/report.go:121.2,128.65 2 0 +github.com/muety/wakapi/services/report.go:133.2,134.12 2 0 +github.com/muety/wakapi/services/report.go:102.22,105.3 2 0 +github.com/muety/wakapi/services/report.go:107.29,110.3 2 0 +github.com/muety/wakapi/services/report.go:116.16,119.3 2 0 +github.com/muety/wakapi/services/report.go:128.65,131.3 2 0 +github.com/muety/wakapi/services/report.go:137.63,138.41 1 0 +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/summary.go:29.189,41.33 3 1 +github.com/muety/wakapi/services/summary.go:47.2,47.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.4 1 0 +github.com/muety/wakapi/services/summary.go:53.161,56.66 2 1 +github.com/muety/wakapi/services/summary.go:61.2,66.20 4 1 +github.com/muety/wakapi/services/summary.go:72.2,72.65 1 1 +github.com/muety/wakapi/services/summary.go:77.2,78.16 2 1 +github.com/muety/wakapi/services/summary.go:83.2,88.105 5 1 +github.com/muety/wakapi/services/summary.go:92.2,93.30 2 1 +github.com/muety/wakapi/services/summary.go:56.66,58.3 1 0 +github.com/muety/wakapi/services/summary.go:66.20,69.3 2 1 +github.com/muety/wakapi/services/summary.go:72.65,74.3 1 0 +github.com/muety/wakapi/services/summary.go:78.16,80.3 1 0 +github.com/muety/wakapi/services/summary.go:88.105,90.3 1 1 +github.com/muety/wakapi/services/summary.go:96.126,100.41 2 1 +github.com/muety/wakapi/services/summary.go:111.2,112.44 2 1 +github.com/muety/wakapi/services/summary.go:127.2,128.16 2 1 +github.com/muety/wakapi/services/summary.go:132.2,132.30 1 1 +github.com/muety/wakapi/services/summary.go:100.41,103.17 2 1 +github.com/muety/wakapi/services/summary.go:103.17,105.4 1 1 +github.com/muety/wakapi/services/summary.go:105.9,107.4 1 0 +github.com/muety/wakapi/services/summary.go:112.44,113.87 1 1 +github.com/muety/wakapi/services/summary.go:113.87,114.71 1 1 +github.com/muety/wakapi/services/summary.go:120.4,120.36 1 1 +github.com/muety/wakapi/services/summary.go:114.71,118.13 1 0 +github.com/muety/wakapi/services/summary.go:121.9,123.4 1 0 +github.com/muety/wakapi/services/summary.go:128.16,130.3 1 0 +github.com/muety/wakapi/services/summary.go:135.127,138.16 2 1 +github.com/muety/wakapi/services/summary.go:142.2,143.74 2 1 +github.com/muety/wakapi/services/summary.go:147.2,149.26 3 1 +github.com/muety/wakapi/services/summary.go:154.2,161.34 7 1 +github.com/muety/wakapi/services/summary.go:179.2,179.25 1 1 +github.com/muety/wakapi/services/summary.go:184.2,197.30 2 1 +github.com/muety/wakapi/services/summary.go:138.16,140.3 1 0 +github.com/muety/wakapi/services/summary.go:143.74,145.3 1 1 +github.com/muety/wakapi/services/summary.go:149.26,151.3 1 1 +github.com/muety/wakapi/services/summary.go:161.34,163.20 2 1 +github.com/muety/wakapi/services/summary.go:164.30,165.29 1 1 +github.com/muety/wakapi/services/summary.go:166.31,167.30 1 1 +github.com/muety/wakapi/services/summary.go:168.29,169.28 1 1 +github.com/muety/wakapi/services/summary.go:170.25,171.24 1 1 +github.com/muety/wakapi/services/summary.go:172.30,173.29 1 1 +github.com/muety/wakapi/services/summary.go:174.29,175.28 1 1 +github.com/muety/wakapi/services/summary.go:179.25,182.3 2 1 +github.com/muety/wakapi/services/summary.go:202.76,204.2 1 0 +github.com/muety/wakapi/services/summary.go:206.62,209.2 2 0 +github.com/muety/wakapi/services/summary.go:211.66,214.2 2 0 +github.com/muety/wakapi/services/summary.go:218.125,221.30 2 1 +github.com/muety/wakapi/services/summary.go:225.2,226.28 2 1 +github.com/muety/wakapi/services/summary.go:234.2,234.40 1 1 +github.com/muety/wakapi/services/summary.go:238.2,238.67 1 1 +github.com/muety/wakapi/services/summary.go:221.30,223.3 1 1 +github.com/muety/wakapi/services/summary.go:226.28,232.3 1 1 +github.com/muety/wakapi/services/summary.go:234.40,236.3 1 1 +github.com/muety/wakapi/services/summary.go:241.87,242.72 1 1 +github.com/muety/wakapi/services/summary.go:250.2,251.16 2 1 +github.com/muety/wakapi/services/summary.go:256.2,257.37 2 1 +github.com/muety/wakapi/services/summary.go:261.2,263.30 3 1 +github.com/muety/wakapi/services/summary.go:274.2,275.29 2 1 +github.com/muety/wakapi/services/summary.go:280.2,281.16 2 1 +github.com/muety/wakapi/services/summary.go:242.72,248.3 1 1 +github.com/muety/wakapi/services/summary.go:251.16,254.3 2 0 +github.com/muety/wakapi/services/summary.go:257.37,259.3 1 1 +github.com/muety/wakapi/services/summary.go:263.30,264.48 1 1 +github.com/muety/wakapi/services/summary.go:264.48,265.41 1 1 +github.com/muety/wakapi/services/summary.go:268.4,269.29 2 1 +github.com/muety/wakapi/services/summary.go:265.41,267.5 1 1 +github.com/muety/wakapi/services/summary.go:275.29,276.18 1 1 +github.com/muety/wakapi/services/summary.go:276.18,278.4 1 1 +github.com/muety/wakapi/services/summary.go:284.97,285.24 1 1 +github.com/muety/wakapi/services/summary.go:289.2,305.30 5 1 +github.com/muety/wakapi/services/summary.go:336.2,339.26 3 1 +github.com/muety/wakapi/services/summary.go:285.24,287.3 1 0 +github.com/muety/wakapi/services/summary.go:305.30,307.41 2 1 +github.com/muety/wakapi/services/summary.go:312.3,312.38 1 1 +github.com/muety/wakapi/services/summary.go:316.3,316.37 1 1 +github.com/muety/wakapi/services/summary.go:320.3,320.34 1 1 +github.com/muety/wakapi/services/summary.go:324.3,333.25 9 1 +github.com/muety/wakapi/services/summary.go:307.41,309.12 2 1 +github.com/muety/wakapi/services/summary.go:312.38,314.4 1 0 +github.com/muety/wakapi/services/summary.go:316.37,318.4 1 1 +github.com/muety/wakapi/services/summary.go:320.34,322.4 1 1 +github.com/muety/wakapi/services/summary.go:342.127,346.32 2 1 +github.com/muety/wakapi/services/summary.go:350.2,350.27 1 1 +github.com/muety/wakapi/services/summary.go:358.2,360.26 3 1 +github.com/muety/wakapi/services/summary.go:365.2,365.43 1 1 +github.com/muety/wakapi/services/summary.go:369.2,369.17 1 1 +github.com/muety/wakapi/services/summary.go:346.32,348.3 1 1 +github.com/muety/wakapi/services/summary.go:350.27,351.37 1 1 +github.com/muety/wakapi/services/summary.go:351.37,353.4 1 1 +github.com/muety/wakapi/services/summary.go:353.9,355.4 1 1 +github.com/muety/wakapi/services/summary.go:360.26,363.3 2 1 +github.com/muety/wakapi/services/summary.go:365.43,367.3 1 1 +github.com/muety/wakapi/services/summary.go:372.130,373.25 1 1 +github.com/muety/wakapi/services/summary.go:377.2,380.44 2 1 +github.com/muety/wakapi/services/summary.go:385.2,385.40 1 1 +github.com/muety/wakapi/services/summary.go:416.2,416.54 1 1 +github.com/muety/wakapi/services/summary.go:420.2,420.18 1 1 +github.com/muety/wakapi/services/summary.go:373.25,375.3 1 0 +github.com/muety/wakapi/services/summary.go:380.44,382.3 1 1 +github.com/muety/wakapi/services/summary.go:385.40,387.51 2 1 +github.com/muety/wakapi/services/summary.go:391.3,398.15 3 1 +github.com/muety/wakapi/services/summary.go:410.3,410.22 1 1 +github.com/muety/wakapi/services/summary.go:387.51,388.12 1 1 +github.com/muety/wakapi/services/summary.go:398.15,404.38 3 1 +github.com/muety/wakapi/services/summary.go:404.38,406.5 1 0 +github.com/muety/wakapi/services/summary.go:410.22,412.4 1 1 +github.com/muety/wakapi/services/summary.go:416.54,418.3 1 1 +github.com/muety/wakapi/services/summary.go:423.59,425.2 1 1 +github.com/muety/wakapi/services/summary.go:427.63,428.37 1 0 +github.com/muety/wakapi/services/summary.go:428.37,429.36 1 0 +github.com/muety/wakapi/services/summary.go:429.36,431.4 1 0 +github.com/muety/wakapi/services/summary.go:435.85,436.40 1 1 +github.com/muety/wakapi/services/summary.go:436.40,439.3 2 1 +github.com/muety/wakapi/services/summary.go:442.99,443.42 1 1 +github.com/muety/wakapi/services/summary.go:443.42,445.17 2 1 +github.com/muety/wakapi/services/summary.go:448.3,449.29 2 1 +github.com/muety/wakapi/services/summary.go:452.3,452.22 1 1 +github.com/muety/wakapi/services/summary.go:445.17,447.4 1 0 +github.com/muety/wakapi/services/summary.go:449.29,451.4 1 1 +github.com/muety/wakapi/services/summary.go:456.114,457.33 1 1 +github.com/muety/wakapi/services/summary.go:457.33,460.17 3 1 +github.com/muety/wakapi/services/summary.go:465.3,466.28 2 1 +github.com/muety/wakapi/services/summary.go:469.3,469.24 1 1 +github.com/muety/wakapi/services/summary.go:460.17,461.33 1 1 +github.com/muety/wakapi/services/summary.go:461.33,463.5 1 1 +github.com/muety/wakapi/services/summary.go:466.28,468.4 1 1 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 @@ -761,48 +918,46 @@ 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/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/services/aggregation.go:47.43,51.2 3 0 +github.com/muety/wakapi/services/aggregation.go:53.77,54.47 1 0 +github.com/muety/wakapi/services/aggregation.go:57.2,62.40 4 0 +github.com/muety/wakapi/services/aggregation.go:66.2,66.50 1 0 +github.com/muety/wakapi/services/aggregation.go:71.2,71.60 1 0 +github.com/muety/wakapi/services/aggregation.go:77.2,77.35 1 0 +github.com/muety/wakapi/services/aggregation.go:54.47,56.3 1 0 +github.com/muety/wakapi/services/aggregation.go:62.40,64.3 1 0 +github.com/muety/wakapi/services/aggregation.go:66.50,68.3 1 0 +github.com/muety/wakapi/services/aggregation.go:71.60,75.3 3 0 +github.com/muety/wakapi/services/aggregation.go:80.109,81.24 1 0 +github.com/muety/wakapi/services/aggregation.go:81.24,82.116 1 0 +github.com/muety/wakapi/services/aggregation.go:82.116,84.4 1 0 +github.com/muety/wakapi/services/aggregation.go:84.9,87.4 2 0 +github.com/muety/wakapi/services/aggregation.go:91.80,92.33 1 0 +github.com/muety/wakapi/services/aggregation.go:92.33,93.60 1 0 +github.com/muety/wakapi/services/aggregation.go:93.60,95.4 1 0 +github.com/muety/wakapi/services/aggregation.go:99.110,104.16 3 0 +github.com/muety/wakapi/services/aggregation.go:110.2,111.16 2 0 +github.com/muety/wakapi/services/aggregation.go:117.2,118.44 2 0 +github.com/muety/wakapi/services/aggregation.go:123.2,123.41 1 0 +github.com/muety/wakapi/services/aggregation.go:141.2,141.12 1 0 +github.com/muety/wakapi/services/aggregation.go:104.16,107.3 2 0 +github.com/muety/wakapi/services/aggregation.go:111.16,114.3 2 0 +github.com/muety/wakapi/services/aggregation.go:118.44,120.3 1 0 +github.com/muety/wakapi/services/aggregation.go:123.41,124.71 1 0 +github.com/muety/wakapi/services/aggregation.go:128.3,128.21 1 0 +github.com/muety/wakapi/services/aggregation.go:124.71,125.12 1 0 +github.com/muety/wakapi/services/aggregation.go:128.21,132.4 1 0 +github.com/muety/wakapi/services/aggregation.go:132.9,132.62 1 0 +github.com/muety/wakapi/services/aggregation.go:132.62,136.4 1 0 +github.com/muety/wakapi/services/aggregation.go:144.83,147.27 3 0 +github.com/muety/wakapi/services/aggregation.go:152.2,153.12 2 0 +github.com/muety/wakapi/services/aggregation.go:147.27,148.34 1 0 +github.com/muety/wakapi/services/aggregation.go:148.34,150.4 1 0 +github.com/muety/wakapi/services/aggregation.go:156.79,159.27 3 0 +github.com/muety/wakapi/services/aggregation.go:159.27,161.3 1 0 +github.com/muety/wakapi/services/aggregation.go:164.83,179.41 5 0 +github.com/muety/wakapi/services/aggregation.go:179.41,189.3 3 0 +github.com/muety/wakapi/services/aggregation.go:192.34,195.2 2 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 @@ -864,6 +1019,53 @@ 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/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/duration.go:17.78,23.2 2 1 github.com/muety/wakapi/services/duration.go:25.123,28.42 2 1 github.com/muety/wakapi/services/duration.go:34.2,35.16 2 1 @@ -969,230 +1171,22 @@ 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/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/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/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 -github.com/muety/wakapi/services/report.go:45.31,47.4 1 0 -github.com/muety/wakapi/services/report.go:53.38,57.16 3 0 -github.com/muety/wakapi/services/report.go:61.2,62.26 2 0 -github.com/muety/wakapi/services/report.go:57.16,59.3 1 0 -github.com/muety/wakapi/services/report.go:62.26,64.3 1 0 -github.com/muety/wakapi/services/report.go:69.61,74.22 3 0 -github.com/muety/wakapi/services/report.go:81.2,81.65 1 0 -github.com/muety/wakapi/services/report.go:98.2,98.24 1 0 -github.com/muety/wakapi/services/report.go:74.22,78.3 3 0 -github.com/muety/wakapi/services/report.go:81.65,91.47 3 0 -github.com/muety/wakapi/services/report.go:91.47,93.4 1 0 -github.com/muety/wakapi/services/report.go:93.9,95.4 1 0 -github.com/muety/wakapi/services/report.go:101.80,102.22 1 0 -github.com/muety/wakapi/services/report.go:107.2,107.29 1 0 -github.com/muety/wakapi/services/report.go:112.2,116.16 4 0 -github.com/muety/wakapi/services/report.go:121.2,128.65 2 0 -github.com/muety/wakapi/services/report.go:133.2,134.12 2 0 -github.com/muety/wakapi/services/report.go:102.22,105.3 2 0 -github.com/muety/wakapi/services/report.go:107.29,110.3 2 0 -github.com/muety/wakapi/services/report.go:116.16,119.3 2 0 -github.com/muety/wakapi/services/report.go:128.65,131.3 2 0 -github.com/muety/wakapi/services/report.go:137.63,138.41 1 0 -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/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/misc.go:40.50,44.2 3 0 +github.com/muety/wakapi/services/misc.go:46.51,48.16 2 0 +github.com/muety/wakapi/services/misc.go:52.2,55.26 3 0 +github.com/muety/wakapi/services/misc.go:61.2,63.40 2 0 +github.com/muety/wakapi/services/misc.go:68.2,70.33 3 0 +github.com/muety/wakapi/services/misc.go:74.2,79.17 2 0 +github.com/muety/wakapi/services/misc.go:83.2,86.17 1 0 +github.com/muety/wakapi/services/misc.go:90.2,90.12 1 0 +github.com/muety/wakapi/services/misc.go:48.16,50.3 1 0 +github.com/muety/wakapi/services/misc.go:55.26,60.3 1 0 +github.com/muety/wakapi/services/misc.go:63.40,65.3 1 0 +github.com/muety/wakapi/services/misc.go:70.33,73.3 2 0 +github.com/muety/wakapi/services/misc.go:79.17,81.3 1 0 +github.com/muety/wakapi/services/misc.go:86.17,88.3 1 0 +github.com/muety/wakapi/services/misc.go:93.116,94.24 1 0 +github.com/muety/wakapi/services/misc.go:94.24,95.156 1 0 +github.com/muety/wakapi/services/misc.go:95.156,97.4 1 0 +github.com/muety/wakapi/services/misc.go:97.9,102.4 1 0 diff --git a/models/user.go b/models/user.go index a3ffd6e..adb2698 100644 --- a/models/user.go +++ b/models/user.go @@ -14,7 +14,7 @@ func init() { type User struct { ID string `json:"id" gorm:"primary_key"` - ApiKey string `json:"api_key" gorm:"unique"` + ApiKey string `json:"api_key" gorm:"unique; default:NULL"` Email string `json:"email" gorm:"index:idx_user_email; size:255"` Location string `json:"location"` Password string `json:"-"` diff --git a/version.txt b/version.txt index fd06a92..3b26524 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.3.4 \ No newline at end of file +2.3.5 \ No newline at end of file