summaryrefslogtreecommitdiff
path: root/internal/api/model
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-01-05 12:43:00 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-05 12:43:00 +0100
commit0dbe6c514fb742b727694a6c8152fbd2a9caf035 (patch)
tree351cb411dd3aa71fb218fbe8495fe713fbfc91a2 /internal/api/model
parent[chore] Fix emoji notnull constraint on initial gtsmodel (#1303) (diff)
downloadgotosocial-0dbe6c514fb742b727694a6c8152fbd2a9caf035.tar.xz
[chore] Update/add license headers for 2023 (#1304)
Diffstat (limited to 'internal/api/model')
-rw-r--r--internal/api/model/account.go2
-rw-r--r--internal/api/model/admin.go2
-rw-r--r--internal/api/model/announcement.go2
-rw-r--r--internal/api/model/announcementreaction.go2
-rw-r--r--internal/api/model/application.go2
-rw-r--r--internal/api/model/attachment.go2
-rw-r--r--internal/api/model/block.go2
-rw-r--r--internal/api/model/card.go2
-rw-r--r--internal/api/model/content.go2
-rw-r--r--internal/api/model/context.go2
-rw-r--r--internal/api/model/conversation.go2
-rw-r--r--internal/api/model/domain.go2
-rw-r--r--internal/api/model/emoji.go2
-rw-r--r--internal/api/model/emojicategory.go2
-rw-r--r--internal/api/model/featuredtag.go2
-rw-r--r--internal/api/model/field.go2
-rw-r--r--internal/api/model/filter.go2
-rw-r--r--internal/api/model/history.go2
-rw-r--r--internal/api/model/instance.go2
-rw-r--r--internal/api/model/list.go2
-rw-r--r--internal/api/model/marker.go2
-rw-r--r--internal/api/model/mention.go2
-rw-r--r--internal/api/model/notification.go2
-rw-r--r--internal/api/model/oauth.go2
-rw-r--r--internal/api/model/paging.go2
-rw-r--r--internal/api/model/poll.go2
-rw-r--r--internal/api/model/preferences.go2
-rw-r--r--internal/api/model/pushsubscription.go2
-rw-r--r--internal/api/model/relationship.go2
-rw-r--r--internal/api/model/results.go2
-rw-r--r--internal/api/model/scheduledstatus.go2
-rw-r--r--internal/api/model/search.go2
-rw-r--r--internal/api/model/source.go2
-rw-r--r--internal/api/model/status.go2
-rw-r--r--internal/api/model/tag.go2
-rw-r--r--internal/api/model/token.go2
-rw-r--r--internal/api/model/user.go2
-rw-r--r--internal/api/model/well-known.go2
38 files changed, 38 insertions, 38 deletions
diff --git a/internal/api/model/account.go b/internal/api/model/account.go
index c580d2b37..8199532ca 100644
--- a/internal/api/model/account.go
+++ b/internal/api/model/account.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/admin.go b/internal/api/model/admin.go
index e5c956e0d..436dce390 100644
--- a/internal/api/model/admin.go
+++ b/internal/api/model/admin.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/announcement.go b/internal/api/model/announcement.go
index 72dada7d7..65e5af881 100644
--- a/internal/api/model/announcement.go
+++ b/internal/api/model/announcement.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/announcementreaction.go b/internal/api/model/announcementreaction.go
index e2619d1c8..0796a4e45 100644
--- a/internal/api/model/announcementreaction.go
+++ b/internal/api/model/announcementreaction.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/application.go b/internal/api/model/application.go
index c9817fa87..44dcd55b8 100644
--- a/internal/api/model/application.go
+++ b/internal/api/model/application.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/attachment.go b/internal/api/model/attachment.go
index aafa554d8..244f3cd8d 100644
--- a/internal/api/model/attachment.go
+++ b/internal/api/model/attachment.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/block.go b/internal/api/model/block.go
index bdb078060..2516c3825 100644
--- a/internal/api/model/block.go
+++ b/internal/api/model/block.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/card.go b/internal/api/model/card.go
index 7a67c8898..f1a426352 100644
--- a/internal/api/model/card.go
+++ b/internal/api/model/card.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/content.go b/internal/api/model/content.go
index ecce07356..94b32d112 100644
--- a/internal/api/model/content.go
+++ b/internal/api/model/content.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/context.go b/internal/api/model/context.go
index c87841291..c61e1468f 100644
--- a/internal/api/model/context.go
+++ b/internal/api/model/context.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/conversation.go b/internal/api/model/conversation.go
index 810e882ca..efe39c016 100644
--- a/internal/api/model/conversation.go
+++ b/internal/api/model/conversation.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/domain.go b/internal/api/model/domain.go
index 90c08fa6f..ffd7e666f 100644
--- a/internal/api/model/domain.go
+++ b/internal/api/model/domain.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/emoji.go b/internal/api/model/emoji.go
index 2c75ceadd..b722a1b89 100644
--- a/internal/api/model/emoji.go
+++ b/internal/api/model/emoji.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/emojicategory.go b/internal/api/model/emojicategory.go
index 0a14b303e..fc2cb0fd3 100644
--- a/internal/api/model/emojicategory.go
+++ b/internal/api/model/emojicategory.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/featuredtag.go b/internal/api/model/featuredtag.go
index 540cfb38a..f800b94a3 100644
--- a/internal/api/model/featuredtag.go
+++ b/internal/api/model/featuredtag.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/field.go b/internal/api/model/field.go
index 5cdb33004..69a919d3a 100644
--- a/internal/api/model/field.go
+++ b/internal/api/model/field.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/filter.go b/internal/api/model/filter.go
index 3bf19c2b5..98a6f7a84 100644
--- a/internal/api/model/filter.go
+++ b/internal/api/model/filter.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/history.go b/internal/api/model/history.go
index 0d25f30fd..b845b5ddd 100644
--- a/internal/api/model/history.go
+++ b/internal/api/model/history.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/instance.go b/internal/api/model/instance.go
index 7652f0ebe..731124567 100644
--- a/internal/api/model/instance.go
+++ b/internal/api/model/instance.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/list.go b/internal/api/model/list.go
index 47c8c2f77..f8bbec91c 100644
--- a/internal/api/model/list.go
+++ b/internal/api/model/list.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/marker.go b/internal/api/model/marker.go
index fdf56aab9..0cd8c69ab 100644
--- a/internal/api/model/marker.go
+++ b/internal/api/model/marker.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/mention.go b/internal/api/model/mention.go
index 67d8af806..6078580ac 100644
--- a/internal/api/model/mention.go
+++ b/internal/api/model/mention.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/notification.go b/internal/api/model/notification.go
index c43e80b3b..a6990f25e 100644
--- a/internal/api/model/notification.go
+++ b/internal/api/model/notification.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/oauth.go b/internal/api/model/oauth.go
index e6dc0d42c..ae05b412d 100644
--- a/internal/api/model/oauth.go
+++ b/internal/api/model/oauth.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/paging.go b/internal/api/model/paging.go
index 195f318c8..a5dac0b40 100644
--- a/internal/api/model/paging.go
+++ b/internal/api/model/paging.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/poll.go b/internal/api/model/poll.go
index d9104227a..77ff08338 100644
--- a/internal/api/model/poll.go
+++ b/internal/api/model/poll.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/preferences.go b/internal/api/model/preferences.go
index 64c16ae03..67e5b3961 100644
--- a/internal/api/model/preferences.go
+++ b/internal/api/model/preferences.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/pushsubscription.go b/internal/api/model/pushsubscription.go
index 5e4d3313d..1749e5bd6 100644
--- a/internal/api/model/pushsubscription.go
+++ b/internal/api/model/pushsubscription.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/relationship.go b/internal/api/model/relationship.go
index 2df9b61e6..b2227bb56 100644
--- a/internal/api/model/relationship.go
+++ b/internal/api/model/relationship.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/results.go b/internal/api/model/results.go
index 891c744cf..e28ece627 100644
--- a/internal/api/model/results.go
+++ b/internal/api/model/results.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/scheduledstatus.go b/internal/api/model/scheduledstatus.go
index 79fb924e9..bcccef57e 100644
--- a/internal/api/model/scheduledstatus.go
+++ b/internal/api/model/scheduledstatus.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/search.go b/internal/api/model/search.go
index bc19148d6..9d9dd0b44 100644
--- a/internal/api/model/search.go
+++ b/internal/api/model/search.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/source.go b/internal/api/model/source.go
index 14f4ba7a9..f3b7beb49 100644
--- a/internal/api/model/source.go
+++ b/internal/api/model/source.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/status.go b/internal/api/model/status.go
index 43ec6a387..92741edfe 100644
--- a/internal/api/model/status.go
+++ b/internal/api/model/status.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/tag.go b/internal/api/model/tag.go
index b6edbdeb7..9dc31d190 100644
--- a/internal/api/model/tag.go
+++ b/internal/api/model/tag.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/token.go b/internal/api/model/token.go
index b7b860df8..050db52f9 100644
--- a/internal/api/model/token.go
+++ b/internal/api/model/token.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/user.go b/internal/api/model/user.go
index dbdbe2b61..d15e21eff 100644
--- a/internal/api/model/user.go
+++ b/internal/api/model/user.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/api/model/well-known.go b/internal/api/model/well-known.go
index 8e16d67bd..384361fd0 100644
--- a/internal/api/model/well-known.go
+++ b/internal/api/model/well-known.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by