wrapperr/models.go

646 lines
30 KiB
Go
Raw Normal View History

Squashed commit of the following: commit 23a91e9daad1c482435581c69c756257ac703149 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jul 4 17:47:18 2022 +0200 Removed tmp text commit 1c09e583b2fa5e30a36c809e85fc43b328e3ad7f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jul 3 15:33:36 2022 +0200 Read log in admin interface commit 4ae253185a33bb13a94b1a200bf3aa92a62fb17d Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:27:39 2022 +0200 Added comments commit 89cabc36e86ae541fa9b001928211ba48e9ba48b Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:08:47 2022 +0200 Update index.js commit 12279e7ed47eeb45454ab525aa745eeaac0da180 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:02:36 2022 +0200 Update index.html commit a1c76b3e4d06cd25f7795390155521f2c341465f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 23:56:39 2022 +0200 Errors and frontend Cookies are more stable Errors are more concise commit ee170aeb3acf3f586c93e7b142a08bbb32a17134 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:33:27 2022 +0200 Better error handling commit 6317a1fa15ccfaf91fb2d8737e346621d9884008 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:18:45 2022 +0200 Added returns on errors commit 7126ddf2fbb824de0906fd6d7bfc2ca8acac0fdf Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:09:07 2022 +0200 Added ASCII Art commit 1fd45ede34abe6ae9555d9d6f23f87a2e67dba3b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:39:24 2022 +0200 Form CSS tweak commit 9861c662cd5f2b66721b3d2f2030d92d84bdf8bc Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:24:03 2022 +0200 Update route_admin_auth.go commit 119de6b2b1124266aae6cd5fec90fff2d2ddd24f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:19:36 2022 +0200 Update route_admin_auth.go commit 87a43dfc4945fe5ce45b8d9d06c7dcd6a5c9ee0c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:17:21 2022 +0200 Bugs and CSS Time zone validation Caching log is prettier Return bug on certain API endpoints fixed commit 3e81df71516572944b8e46bad129da82235b1b85 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Jul 1 18:36:21 2022 +0200 Create codeql-analysis.yml commit 32d05f3fff0231139df0e590b98097d6c6e3cdfb Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:23:05 2022 +0200 Update index.js commit c3fcdee18406e1a9d96b26c85169e1db365bb36a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:15:38 2022 +0200 Capital W commit a243d310597b9f8148621690b9662f93b8467e83 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:08:53 2022 +0200 Update index.js commit 068739fc76b96c4379bf93aa39d11db1c2dfcada Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:58:48 2022 +0200 Update README.md commit d61074bde69f5dac1a1a2dd6b2164564131f53d1 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:56:55 2022 +0200 Docker-compose mistake commit 3036905d92d23cb0664559471fa9e0a81565fa64 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:55:30 2022 +0200 README touchups commit 6f07775121cec5cddf17f25efe349b300d43b8e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:48:10 2022 +0200 Rewrote README commit 58a26b11c77e6d21be0f433cd22c4da46f5d0450 Author: Aune <oystein.sverre@gmail.com> Date: Fri Jul 1 10:00:58 2022 +0200 Changed release workflow commit ffeea7ca689f405b6e629411f5bc9fc8c19e6b34 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 20:09:01 2022 +0200 Updated workflow to 1.18 commit aa321e87729673b4ce047f87b68f7223ea02d159 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 19:58:44 2022 +0200 Update README.md commit 5c4e59474882689f6dadf61f140a4ec18f744a1e Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 18:16:30 2022 +0200 CSS fixes commit 97f3fc57a389e5dd637b560e48fee86c4163dcd5 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Jun 29 22:00:32 2022 +0200 Option to disable winter theme And loading screen commit cf804312c7b9b72b416ef2a53947efab79ab604b Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Jun 28 22:05:43 2022 +0200 Update README.md commit 362a15ee1daa2464ad4f27b7e3107a63d736e591 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 28 18:41:19 2022 +0200 Fixed buddy bug commit 58f4d0060230c2349634689438088dcdf48d7715 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jun 27 19:26:37 2022 +0200 Finalized show buddy commit 0f89a1df974af9947d9e297f3c662d4082c0403d Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 26 12:47:37 2022 +0200 Improved logging commit b57cb24928c2e213c38ce566478af11937e6e4e3 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jun 25 13:42:14 2022 +0200 Finalized shareable links Links can be deleted Links are retrieved to the front page Links can be copied to clipboard commit 000022b882877bc306e13203578a3d1e184afc9a Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 18:47:34 2022 +0200 Get share links now functional commit df697f68b2bcedc7c623d9d9ec291a9625b62160 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:29:52 2022 +0200 Share link formatting bug commit 3b357ca72767fcbb9742a935f29770ab488ac36f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:26:15 2022 +0200 Share link creation Started implementation Missing get and delete functionality Added delete cache option to Tautulli settings commit 54e079951ff131d9177fd0f4a79238c03043d875 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jun 10 19:13:01 2022 +0200 Fixed bugs Shows with seasons in different years were split on top lists Amount of media plays was not unique to media-release, just amount of plays overall Fixed display for music minutes Logging can now be disabled Tautulli libraries were not included in API calls commit 26508af56a182b9611affb4401e5db494ae27c8b Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:38:08 2022 +0200 Fixed bug where top-lists under 10 crashed the API commit 0f28e39c8d4fe444c8d30caaaee9ca138d469270 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:17:41 2022 +0200 Fixed bug for year users duration-sum commit 1e3cb11637cfe001936d4b950b28564d2eec2a4b Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 29 19:51:15 2022 +0200 Statistics retrieval finished Revamped config get/set functions Redid some UI explanations Renamed template JSON commit 93390d469bab45560574e678a88b38dcef60f100 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon May 23 22:23:31 2022 +0200 Bug problem commit 3eb49b8da1c77d33923913e817cb41201cab3963 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 23:48:11 2022 +0200 Users commit aa6b3ec5121bb73cbe5828d9f42e1fd14514ddbd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 13:11:35 2022 +0200 More stats Leaderboard and show buddy missing Working on bug that resets config (?!) commit 29742a2b6305a3835c63fc2c7760018b3e2267f0 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 00:41:19 2022 +0200 Basis for stats retrieval personal movies, shows and music is functional commit a0df0759a76689638d47657abde755cc34dd4a1b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:24 2022 +0200 Removed Docker folder commit 3e192997c08a5406a3d98e850218a674559f9ff0 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:05 2022 +0200 Renaming and Pop-up fix Pop ups should now not be blocked. Hopefully... commit 57b2d03fb57762c6c2aec7433a4f2affd6faa090 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 15:37:26 2022 +0200 CSS changes New rounded corners Transparent background colors Yellow borders Blurred background image Better footer placement More depth to snow particles commit b562e75bee6ff612019fa08d221fbf1ee69edd11 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 12:37:18 2022 +0200 API endpoints changes Get wrapperr-version now also retrieves config-state Login via Plex Auth disabled if Wrapperr is unconfigured Cookies changed to strict samesite value Logging changes commit e01bfc41cf46b3d7bc3b6627c93b67c0f70aa718 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Apr 29 10:47:12 2022 +0200 Update README.md More shields commit 2d2893cb9b212016c3455fd4f8dd3a5b229550ba Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 22:09:24 2022 +0200 Comments and time zone fixes commit 271c16b00e0eb4d58a97ed3b82f0e96993a7d853 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 16:26:44 2022 +0200 Caching and caching loop commit 44376b4d57765258602ec585e59b0825938d3c77 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 10:33:18 2022 +0200 Pulling Tautulli History Moved Tautulli functions to their own file commit 5355dafc68c5c2ed5a7c7e413388981438314500 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 22:00:49 2022 +0200 Start of Tautulli data collection Added time-zone setting in code Created cache structs commit 8bcce997c3b1a0556752ff99b5925cce7e18c4b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 17:25:06 2022 +0200 Comments and caching mode commit 6e951efbcd6acb0b442a691ceb9919e95d3e9e98 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Apr 23 19:03:00 2022 +0200 User details fetch (From Plex & Tautulli) commit cb5b9384c0b716ef33770a0f96f6e4c0601cff50 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Sat Apr 23 12:07:57 2022 +0200 Shields.io stats commit 343e0ac727576652ccd81e565a7a385879b1bfb4 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 18 22:14:49 2022 +0200 Begun stats function Moved Taut test to separate function from API endpoint commit b7e34224d7524358a4b59bd667d75b3b6527361c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:26:54 2022 +0200 Update util.go commit 4a2598f77cce3c5e9d5fc66e9e870bf3cd4bfb51 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:22:34 2022 +0200 Error handling commit 09b80cf16c054d2767cd1cf50ae17f7f72268a53 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 15:01:59 2022 +0200 Updated readme to explain current standing commit 273b08f43ca317b6cd4ede01efb5040e63cc9839 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:46:34 2022 +0200 Removed test-log commands commit f2e85beb9d4aa9157b32933c50495c5f029787e4 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:26:17 2022 +0200 Removed legacy PHP files commit aaafea6da38173224d1b15063d4f32468ec12879 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:24:41 2022 +0200 URL builder & test Tautulli connection commit a02a172a7fc85a5a595fdb4003b00c8aa7d5f475 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 02:37:48 2022 +0200 Moved Plex Auth Get Pin to front end By moving this API call to the front end (JS), the IP address is identical when logging in. This removes the red warning. commit 744fae84a088cc77ba86d3c3687aff8d9caa77d7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 01:33:40 2022 +0200 Plex Auth Plex Auth login, validation and JWT token creation commit 820bbca58a5679ef6a1e98ec586442cd841ac958 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 20:45:00 2022 +0200 Update config API now updates config file commit cb581d69007b32e8e924ac22ba66c923dd9eef23 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 15:49:04 2022 +0200 More API functions - Admin login - Config/Admin file creation - Config API retrieval commit f832df727de5c5fe583f03e2d8906714ceaf8017 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 12 09:30:58 2022 +0200 Functional API endpoints Some basic functionality - Retrieve wrapperr version - Retrieve admin state - Create admin commit 76193b7230e90d578bc561c8f479a87885c0b50f Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 11 16:51:35 2022 +0200 Config loaders commit c197a1b91b6307432e560756da97887bbfb36de5 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 8 17:20:36 2022 +0200 Config files commit 2ef850426a14ecf3dc39ab4b122fb479bb1e8f11 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 7 13:16:01 2022 +0200 Functional jwt validattion and creation commit a52de743daeb3dce18db7e0848eea37d4c35b707 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 22:25:01 2022 +0200 Auth token jwt commit 2f446a484ad6e4330a3a40cc708a543ca47ce148 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 14:19:49 2022 +0200 Middleware commit 1a1bc6ef09b9bce995d9d4b3f4bf7b0d1ead988a Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:14:02 2022 +0200 Added more comments commit 8c36dc74a98aa66565851ab01aff91e641287f06 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:08:26 2022 +0200 Port start argument Also included as ENV in Dockerfile commit 6bfbbdf5c3f955ab680ee4b47863bd7f017ffd5a Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Apr 5 23:31:36 2022 +0200 Whopsie commit 7600f2812e01d266f3488ed32a49d1591740a3e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 20:05:13 2022 +0200 Routing commit 0dbb1c756fcd411e60b73752554d75c8bf04f0b5 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 18:20:12 2022 +0200 Added warnings & Dockerfile commit a787a0acd41ab182ca0607dc3c1796a28ce947bd Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 17:51:48 2022 +0200 Go branch init The assets are served, but no API
2022-07-04 15:47:59 +00:00
package main
import (
"time"
"github.com/google/uuid"
)
type Default_Reply struct {
Message string `json:"message"`
Error bool `json:"error"`
}
2022-07-04 16:08:08 +00:00
/*
Squashed commit of the following: commit 23a91e9daad1c482435581c69c756257ac703149 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jul 4 17:47:18 2022 +0200 Removed tmp text commit 1c09e583b2fa5e30a36c809e85fc43b328e3ad7f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jul 3 15:33:36 2022 +0200 Read log in admin interface commit 4ae253185a33bb13a94b1a200bf3aa92a62fb17d Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:27:39 2022 +0200 Added comments commit 89cabc36e86ae541fa9b001928211ba48e9ba48b Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:08:47 2022 +0200 Update index.js commit 12279e7ed47eeb45454ab525aa745eeaac0da180 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:02:36 2022 +0200 Update index.html commit a1c76b3e4d06cd25f7795390155521f2c341465f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 23:56:39 2022 +0200 Errors and frontend Cookies are more stable Errors are more concise commit ee170aeb3acf3f586c93e7b142a08bbb32a17134 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:33:27 2022 +0200 Better error handling commit 6317a1fa15ccfaf91fb2d8737e346621d9884008 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:18:45 2022 +0200 Added returns on errors commit 7126ddf2fbb824de0906fd6d7bfc2ca8acac0fdf Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:09:07 2022 +0200 Added ASCII Art commit 1fd45ede34abe6ae9555d9d6f23f87a2e67dba3b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:39:24 2022 +0200 Form CSS tweak commit 9861c662cd5f2b66721b3d2f2030d92d84bdf8bc Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:24:03 2022 +0200 Update route_admin_auth.go commit 119de6b2b1124266aae6cd5fec90fff2d2ddd24f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:19:36 2022 +0200 Update route_admin_auth.go commit 87a43dfc4945fe5ce45b8d9d06c7dcd6a5c9ee0c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:17:21 2022 +0200 Bugs and CSS Time zone validation Caching log is prettier Return bug on certain API endpoints fixed commit 3e81df71516572944b8e46bad129da82235b1b85 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Jul 1 18:36:21 2022 +0200 Create codeql-analysis.yml commit 32d05f3fff0231139df0e590b98097d6c6e3cdfb Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:23:05 2022 +0200 Update index.js commit c3fcdee18406e1a9d96b26c85169e1db365bb36a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:15:38 2022 +0200 Capital W commit a243d310597b9f8148621690b9662f93b8467e83 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:08:53 2022 +0200 Update index.js commit 068739fc76b96c4379bf93aa39d11db1c2dfcada Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:58:48 2022 +0200 Update README.md commit d61074bde69f5dac1a1a2dd6b2164564131f53d1 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:56:55 2022 +0200 Docker-compose mistake commit 3036905d92d23cb0664559471fa9e0a81565fa64 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:55:30 2022 +0200 README touchups commit 6f07775121cec5cddf17f25efe349b300d43b8e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:48:10 2022 +0200 Rewrote README commit 58a26b11c77e6d21be0f433cd22c4da46f5d0450 Author: Aune <oystein.sverre@gmail.com> Date: Fri Jul 1 10:00:58 2022 +0200 Changed release workflow commit ffeea7ca689f405b6e629411f5bc9fc8c19e6b34 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 20:09:01 2022 +0200 Updated workflow to 1.18 commit aa321e87729673b4ce047f87b68f7223ea02d159 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 19:58:44 2022 +0200 Update README.md commit 5c4e59474882689f6dadf61f140a4ec18f744a1e Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 18:16:30 2022 +0200 CSS fixes commit 97f3fc57a389e5dd637b560e48fee86c4163dcd5 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Jun 29 22:00:32 2022 +0200 Option to disable winter theme And loading screen commit cf804312c7b9b72b416ef2a53947efab79ab604b Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Jun 28 22:05:43 2022 +0200 Update README.md commit 362a15ee1daa2464ad4f27b7e3107a63d736e591 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 28 18:41:19 2022 +0200 Fixed buddy bug commit 58f4d0060230c2349634689438088dcdf48d7715 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jun 27 19:26:37 2022 +0200 Finalized show buddy commit 0f89a1df974af9947d9e297f3c662d4082c0403d Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 26 12:47:37 2022 +0200 Improved logging commit b57cb24928c2e213c38ce566478af11937e6e4e3 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jun 25 13:42:14 2022 +0200 Finalized shareable links Links can be deleted Links are retrieved to the front page Links can be copied to clipboard commit 000022b882877bc306e13203578a3d1e184afc9a Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 18:47:34 2022 +0200 Get share links now functional commit df697f68b2bcedc7c623d9d9ec291a9625b62160 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:29:52 2022 +0200 Share link formatting bug commit 3b357ca72767fcbb9742a935f29770ab488ac36f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:26:15 2022 +0200 Share link creation Started implementation Missing get and delete functionality Added delete cache option to Tautulli settings commit 54e079951ff131d9177fd0f4a79238c03043d875 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jun 10 19:13:01 2022 +0200 Fixed bugs Shows with seasons in different years were split on top lists Amount of media plays was not unique to media-release, just amount of plays overall Fixed display for music minutes Logging can now be disabled Tautulli libraries were not included in API calls commit 26508af56a182b9611affb4401e5db494ae27c8b Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:38:08 2022 +0200 Fixed bug where top-lists under 10 crashed the API commit 0f28e39c8d4fe444c8d30caaaee9ca138d469270 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:17:41 2022 +0200 Fixed bug for year users duration-sum commit 1e3cb11637cfe001936d4b950b28564d2eec2a4b Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 29 19:51:15 2022 +0200 Statistics retrieval finished Revamped config get/set functions Redid some UI explanations Renamed template JSON commit 93390d469bab45560574e678a88b38dcef60f100 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon May 23 22:23:31 2022 +0200 Bug problem commit 3eb49b8da1c77d33923913e817cb41201cab3963 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 23:48:11 2022 +0200 Users commit aa6b3ec5121bb73cbe5828d9f42e1fd14514ddbd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 13:11:35 2022 +0200 More stats Leaderboard and show buddy missing Working on bug that resets config (?!) commit 29742a2b6305a3835c63fc2c7760018b3e2267f0 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 00:41:19 2022 +0200 Basis for stats retrieval personal movies, shows and music is functional commit a0df0759a76689638d47657abde755cc34dd4a1b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:24 2022 +0200 Removed Docker folder commit 3e192997c08a5406a3d98e850218a674559f9ff0 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:05 2022 +0200 Renaming and Pop-up fix Pop ups should now not be blocked. Hopefully... commit 57b2d03fb57762c6c2aec7433a4f2affd6faa090 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 15:37:26 2022 +0200 CSS changes New rounded corners Transparent background colors Yellow borders Blurred background image Better footer placement More depth to snow particles commit b562e75bee6ff612019fa08d221fbf1ee69edd11 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 12:37:18 2022 +0200 API endpoints changes Get wrapperr-version now also retrieves config-state Login via Plex Auth disabled if Wrapperr is unconfigured Cookies changed to strict samesite value Logging changes commit e01bfc41cf46b3d7bc3b6627c93b67c0f70aa718 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Apr 29 10:47:12 2022 +0200 Update README.md More shields commit 2d2893cb9b212016c3455fd4f8dd3a5b229550ba Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 22:09:24 2022 +0200 Comments and time zone fixes commit 271c16b00e0eb4d58a97ed3b82f0e96993a7d853 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 16:26:44 2022 +0200 Caching and caching loop commit 44376b4d57765258602ec585e59b0825938d3c77 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 10:33:18 2022 +0200 Pulling Tautulli History Moved Tautulli functions to their own file commit 5355dafc68c5c2ed5a7c7e413388981438314500 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 22:00:49 2022 +0200 Start of Tautulli data collection Added time-zone setting in code Created cache structs commit 8bcce997c3b1a0556752ff99b5925cce7e18c4b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 17:25:06 2022 +0200 Comments and caching mode commit 6e951efbcd6acb0b442a691ceb9919e95d3e9e98 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Apr 23 19:03:00 2022 +0200 User details fetch (From Plex & Tautulli) commit cb5b9384c0b716ef33770a0f96f6e4c0601cff50 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Sat Apr 23 12:07:57 2022 +0200 Shields.io stats commit 343e0ac727576652ccd81e565a7a385879b1bfb4 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 18 22:14:49 2022 +0200 Begun stats function Moved Taut test to separate function from API endpoint commit b7e34224d7524358a4b59bd667d75b3b6527361c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:26:54 2022 +0200 Update util.go commit 4a2598f77cce3c5e9d5fc66e9e870bf3cd4bfb51 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:22:34 2022 +0200 Error handling commit 09b80cf16c054d2767cd1cf50ae17f7f72268a53 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 15:01:59 2022 +0200 Updated readme to explain current standing commit 273b08f43ca317b6cd4ede01efb5040e63cc9839 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:46:34 2022 +0200 Removed test-log commands commit f2e85beb9d4aa9157b32933c50495c5f029787e4 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:26:17 2022 +0200 Removed legacy PHP files commit aaafea6da38173224d1b15063d4f32468ec12879 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:24:41 2022 +0200 URL builder & test Tautulli connection commit a02a172a7fc85a5a595fdb4003b00c8aa7d5f475 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 02:37:48 2022 +0200 Moved Plex Auth Get Pin to front end By moving this API call to the front end (JS), the IP address is identical when logging in. This removes the red warning. commit 744fae84a088cc77ba86d3c3687aff8d9caa77d7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 01:33:40 2022 +0200 Plex Auth Plex Auth login, validation and JWT token creation commit 820bbca58a5679ef6a1e98ec586442cd841ac958 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 20:45:00 2022 +0200 Update config API now updates config file commit cb581d69007b32e8e924ac22ba66c923dd9eef23 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 15:49:04 2022 +0200 More API functions - Admin login - Config/Admin file creation - Config API retrieval commit f832df727de5c5fe583f03e2d8906714ceaf8017 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 12 09:30:58 2022 +0200 Functional API endpoints Some basic functionality - Retrieve wrapperr version - Retrieve admin state - Create admin commit 76193b7230e90d578bc561c8f479a87885c0b50f Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 11 16:51:35 2022 +0200 Config loaders commit c197a1b91b6307432e560756da97887bbfb36de5 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 8 17:20:36 2022 +0200 Config files commit 2ef850426a14ecf3dc39ab4b122fb479bb1e8f11 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 7 13:16:01 2022 +0200 Functional jwt validattion and creation commit a52de743daeb3dce18db7e0848eea37d4c35b707 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 22:25:01 2022 +0200 Auth token jwt commit 2f446a484ad6e4330a3a40cc708a543ca47ce148 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 14:19:49 2022 +0200 Middleware commit 1a1bc6ef09b9bce995d9d4b3f4bf7b0d1ead988a Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:14:02 2022 +0200 Added more comments commit 8c36dc74a98aa66565851ab01aff91e641287f06 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:08:26 2022 +0200 Port start argument Also included as ENV in Dockerfile commit 6bfbbdf5c3f955ab680ee4b47863bd7f017ffd5a Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Apr 5 23:31:36 2022 +0200 Whopsie commit 7600f2812e01d266f3488ed32a49d1591740a3e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 20:05:13 2022 +0200 Routing commit 0dbb1c756fcd411e60b73752554d75c8bf04f0b5 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 18:20:12 2022 +0200 Added warnings & Dockerfile commit a787a0acd41ab182ca0607dc3c1796a28ce947bd Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 17:51:48 2022 +0200 Go branch init The assets are served, but no API
2022-07-04 15:47:59 +00:00
type CustomPayload struct {
jwt.Payload
Username string `json:"username,omitempty"`
PlexID int `json:"plexid,omitempty"`
Admin bool `json:"admin,omitempty"`
}
2022-07-04 16:08:08 +00:00
*/
Squashed commit of the following: commit 23a91e9daad1c482435581c69c756257ac703149 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jul 4 17:47:18 2022 +0200 Removed tmp text commit 1c09e583b2fa5e30a36c809e85fc43b328e3ad7f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jul 3 15:33:36 2022 +0200 Read log in admin interface commit 4ae253185a33bb13a94b1a200bf3aa92a62fb17d Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:27:39 2022 +0200 Added comments commit 89cabc36e86ae541fa9b001928211ba48e9ba48b Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:08:47 2022 +0200 Update index.js commit 12279e7ed47eeb45454ab525aa745eeaac0da180 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:02:36 2022 +0200 Update index.html commit a1c76b3e4d06cd25f7795390155521f2c341465f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 23:56:39 2022 +0200 Errors and frontend Cookies are more stable Errors are more concise commit ee170aeb3acf3f586c93e7b142a08bbb32a17134 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:33:27 2022 +0200 Better error handling commit 6317a1fa15ccfaf91fb2d8737e346621d9884008 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:18:45 2022 +0200 Added returns on errors commit 7126ddf2fbb824de0906fd6d7bfc2ca8acac0fdf Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:09:07 2022 +0200 Added ASCII Art commit 1fd45ede34abe6ae9555d9d6f23f87a2e67dba3b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:39:24 2022 +0200 Form CSS tweak commit 9861c662cd5f2b66721b3d2f2030d92d84bdf8bc Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:24:03 2022 +0200 Update route_admin_auth.go commit 119de6b2b1124266aae6cd5fec90fff2d2ddd24f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:19:36 2022 +0200 Update route_admin_auth.go commit 87a43dfc4945fe5ce45b8d9d06c7dcd6a5c9ee0c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:17:21 2022 +0200 Bugs and CSS Time zone validation Caching log is prettier Return bug on certain API endpoints fixed commit 3e81df71516572944b8e46bad129da82235b1b85 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Jul 1 18:36:21 2022 +0200 Create codeql-analysis.yml commit 32d05f3fff0231139df0e590b98097d6c6e3cdfb Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:23:05 2022 +0200 Update index.js commit c3fcdee18406e1a9d96b26c85169e1db365bb36a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:15:38 2022 +0200 Capital W commit a243d310597b9f8148621690b9662f93b8467e83 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:08:53 2022 +0200 Update index.js commit 068739fc76b96c4379bf93aa39d11db1c2dfcada Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:58:48 2022 +0200 Update README.md commit d61074bde69f5dac1a1a2dd6b2164564131f53d1 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:56:55 2022 +0200 Docker-compose mistake commit 3036905d92d23cb0664559471fa9e0a81565fa64 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:55:30 2022 +0200 README touchups commit 6f07775121cec5cddf17f25efe349b300d43b8e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:48:10 2022 +0200 Rewrote README commit 58a26b11c77e6d21be0f433cd22c4da46f5d0450 Author: Aune <oystein.sverre@gmail.com> Date: Fri Jul 1 10:00:58 2022 +0200 Changed release workflow commit ffeea7ca689f405b6e629411f5bc9fc8c19e6b34 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 20:09:01 2022 +0200 Updated workflow to 1.18 commit aa321e87729673b4ce047f87b68f7223ea02d159 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 19:58:44 2022 +0200 Update README.md commit 5c4e59474882689f6dadf61f140a4ec18f744a1e Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 18:16:30 2022 +0200 CSS fixes commit 97f3fc57a389e5dd637b560e48fee86c4163dcd5 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Jun 29 22:00:32 2022 +0200 Option to disable winter theme And loading screen commit cf804312c7b9b72b416ef2a53947efab79ab604b Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Jun 28 22:05:43 2022 +0200 Update README.md commit 362a15ee1daa2464ad4f27b7e3107a63d736e591 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 28 18:41:19 2022 +0200 Fixed buddy bug commit 58f4d0060230c2349634689438088dcdf48d7715 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jun 27 19:26:37 2022 +0200 Finalized show buddy commit 0f89a1df974af9947d9e297f3c662d4082c0403d Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 26 12:47:37 2022 +0200 Improved logging commit b57cb24928c2e213c38ce566478af11937e6e4e3 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jun 25 13:42:14 2022 +0200 Finalized shareable links Links can be deleted Links are retrieved to the front page Links can be copied to clipboard commit 000022b882877bc306e13203578a3d1e184afc9a Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 18:47:34 2022 +0200 Get share links now functional commit df697f68b2bcedc7c623d9d9ec291a9625b62160 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:29:52 2022 +0200 Share link formatting bug commit 3b357ca72767fcbb9742a935f29770ab488ac36f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:26:15 2022 +0200 Share link creation Started implementation Missing get and delete functionality Added delete cache option to Tautulli settings commit 54e079951ff131d9177fd0f4a79238c03043d875 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jun 10 19:13:01 2022 +0200 Fixed bugs Shows with seasons in different years were split on top lists Amount of media plays was not unique to media-release, just amount of plays overall Fixed display for music minutes Logging can now be disabled Tautulli libraries were not included in API calls commit 26508af56a182b9611affb4401e5db494ae27c8b Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:38:08 2022 +0200 Fixed bug where top-lists under 10 crashed the API commit 0f28e39c8d4fe444c8d30caaaee9ca138d469270 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:17:41 2022 +0200 Fixed bug for year users duration-sum commit 1e3cb11637cfe001936d4b950b28564d2eec2a4b Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 29 19:51:15 2022 +0200 Statistics retrieval finished Revamped config get/set functions Redid some UI explanations Renamed template JSON commit 93390d469bab45560574e678a88b38dcef60f100 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon May 23 22:23:31 2022 +0200 Bug problem commit 3eb49b8da1c77d33923913e817cb41201cab3963 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 23:48:11 2022 +0200 Users commit aa6b3ec5121bb73cbe5828d9f42e1fd14514ddbd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 13:11:35 2022 +0200 More stats Leaderboard and show buddy missing Working on bug that resets config (?!) commit 29742a2b6305a3835c63fc2c7760018b3e2267f0 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 00:41:19 2022 +0200 Basis for stats retrieval personal movies, shows and music is functional commit a0df0759a76689638d47657abde755cc34dd4a1b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:24 2022 +0200 Removed Docker folder commit 3e192997c08a5406a3d98e850218a674559f9ff0 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:05 2022 +0200 Renaming and Pop-up fix Pop ups should now not be blocked. Hopefully... commit 57b2d03fb57762c6c2aec7433a4f2affd6faa090 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 15:37:26 2022 +0200 CSS changes New rounded corners Transparent background colors Yellow borders Blurred background image Better footer placement More depth to snow particles commit b562e75bee6ff612019fa08d221fbf1ee69edd11 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 12:37:18 2022 +0200 API endpoints changes Get wrapperr-version now also retrieves config-state Login via Plex Auth disabled if Wrapperr is unconfigured Cookies changed to strict samesite value Logging changes commit e01bfc41cf46b3d7bc3b6627c93b67c0f70aa718 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Apr 29 10:47:12 2022 +0200 Update README.md More shields commit 2d2893cb9b212016c3455fd4f8dd3a5b229550ba Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 22:09:24 2022 +0200 Comments and time zone fixes commit 271c16b00e0eb4d58a97ed3b82f0e96993a7d853 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 16:26:44 2022 +0200 Caching and caching loop commit 44376b4d57765258602ec585e59b0825938d3c77 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 10:33:18 2022 +0200 Pulling Tautulli History Moved Tautulli functions to their own file commit 5355dafc68c5c2ed5a7c7e413388981438314500 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 22:00:49 2022 +0200 Start of Tautulli data collection Added time-zone setting in code Created cache structs commit 8bcce997c3b1a0556752ff99b5925cce7e18c4b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 17:25:06 2022 +0200 Comments and caching mode commit 6e951efbcd6acb0b442a691ceb9919e95d3e9e98 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Apr 23 19:03:00 2022 +0200 User details fetch (From Plex & Tautulli) commit cb5b9384c0b716ef33770a0f96f6e4c0601cff50 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Sat Apr 23 12:07:57 2022 +0200 Shields.io stats commit 343e0ac727576652ccd81e565a7a385879b1bfb4 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 18 22:14:49 2022 +0200 Begun stats function Moved Taut test to separate function from API endpoint commit b7e34224d7524358a4b59bd667d75b3b6527361c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:26:54 2022 +0200 Update util.go commit 4a2598f77cce3c5e9d5fc66e9e870bf3cd4bfb51 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:22:34 2022 +0200 Error handling commit 09b80cf16c054d2767cd1cf50ae17f7f72268a53 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 15:01:59 2022 +0200 Updated readme to explain current standing commit 273b08f43ca317b6cd4ede01efb5040e63cc9839 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:46:34 2022 +0200 Removed test-log commands commit f2e85beb9d4aa9157b32933c50495c5f029787e4 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:26:17 2022 +0200 Removed legacy PHP files commit aaafea6da38173224d1b15063d4f32468ec12879 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:24:41 2022 +0200 URL builder & test Tautulli connection commit a02a172a7fc85a5a595fdb4003b00c8aa7d5f475 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 02:37:48 2022 +0200 Moved Plex Auth Get Pin to front end By moving this API call to the front end (JS), the IP address is identical when logging in. This removes the red warning. commit 744fae84a088cc77ba86d3c3687aff8d9caa77d7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 01:33:40 2022 +0200 Plex Auth Plex Auth login, validation and JWT token creation commit 820bbca58a5679ef6a1e98ec586442cd841ac958 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 20:45:00 2022 +0200 Update config API now updates config file commit cb581d69007b32e8e924ac22ba66c923dd9eef23 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 15:49:04 2022 +0200 More API functions - Admin login - Config/Admin file creation - Config API retrieval commit f832df727de5c5fe583f03e2d8906714ceaf8017 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 12 09:30:58 2022 +0200 Functional API endpoints Some basic functionality - Retrieve wrapperr version - Retrieve admin state - Create admin commit 76193b7230e90d578bc561c8f479a87885c0b50f Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 11 16:51:35 2022 +0200 Config loaders commit c197a1b91b6307432e560756da97887bbfb36de5 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 8 17:20:36 2022 +0200 Config files commit 2ef850426a14ecf3dc39ab4b122fb479bb1e8f11 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 7 13:16:01 2022 +0200 Functional jwt validattion and creation commit a52de743daeb3dce18db7e0848eea37d4c35b707 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 22:25:01 2022 +0200 Auth token jwt commit 2f446a484ad6e4330a3a40cc708a543ca47ce148 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 14:19:49 2022 +0200 Middleware commit 1a1bc6ef09b9bce995d9d4b3f4bf7b0d1ead988a Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:14:02 2022 +0200 Added more comments commit 8c36dc74a98aa66565851ab01aff91e641287f06 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:08:26 2022 +0200 Port start argument Also included as ENV in Dockerfile commit 6bfbbdf5c3f955ab680ee4b47863bd7f017ffd5a Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Apr 5 23:31:36 2022 +0200 Whopsie commit 7600f2812e01d266f3488ed32a49d1591740a3e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 20:05:13 2022 +0200 Routing commit 0dbb1c756fcd411e60b73752554d75c8bf04f0b5 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 18:20:12 2022 +0200 Added warnings & Dockerfile commit a787a0acd41ab182ca0607dc3c1796a28ce947bd Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 17:51:48 2022 +0200 Go branch init The assets are served, but no API
2022-07-04 15:47:59 +00:00
type Payload struct {
ID uuid.UUID `json:"id"`
Username string `json:"username"`
Admin bool `json:"admin"`
AuthToken string `json:"authtoken"`
IssuedAt time.Time `json:"issued_at"`
ExpiredAt time.Time `json:"expired_at"`
}
type JWTMaker struct {
secretKey string
}
type AdminConfig struct {
AdminUsername string `json:"admin_username"`
AdminPassword string `json:"admin_password"`
}
type WrapperrConfig struct {
TautulliConfig []TautulliConfig `json:"tautulli_config"`
Squashed commit of the following: commit 23a91e9daad1c482435581c69c756257ac703149 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jul 4 17:47:18 2022 +0200 Removed tmp text commit 1c09e583b2fa5e30a36c809e85fc43b328e3ad7f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jul 3 15:33:36 2022 +0200 Read log in admin interface commit 4ae253185a33bb13a94b1a200bf3aa92a62fb17d Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:27:39 2022 +0200 Added comments commit 89cabc36e86ae541fa9b001928211ba48e9ba48b Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:08:47 2022 +0200 Update index.js commit 12279e7ed47eeb45454ab525aa745eeaac0da180 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:02:36 2022 +0200 Update index.html commit a1c76b3e4d06cd25f7795390155521f2c341465f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 23:56:39 2022 +0200 Errors and frontend Cookies are more stable Errors are more concise commit ee170aeb3acf3f586c93e7b142a08bbb32a17134 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:33:27 2022 +0200 Better error handling commit 6317a1fa15ccfaf91fb2d8737e346621d9884008 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:18:45 2022 +0200 Added returns on errors commit 7126ddf2fbb824de0906fd6d7bfc2ca8acac0fdf Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:09:07 2022 +0200 Added ASCII Art commit 1fd45ede34abe6ae9555d9d6f23f87a2e67dba3b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:39:24 2022 +0200 Form CSS tweak commit 9861c662cd5f2b66721b3d2f2030d92d84bdf8bc Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:24:03 2022 +0200 Update route_admin_auth.go commit 119de6b2b1124266aae6cd5fec90fff2d2ddd24f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:19:36 2022 +0200 Update route_admin_auth.go commit 87a43dfc4945fe5ce45b8d9d06c7dcd6a5c9ee0c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:17:21 2022 +0200 Bugs and CSS Time zone validation Caching log is prettier Return bug on certain API endpoints fixed commit 3e81df71516572944b8e46bad129da82235b1b85 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Jul 1 18:36:21 2022 +0200 Create codeql-analysis.yml commit 32d05f3fff0231139df0e590b98097d6c6e3cdfb Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:23:05 2022 +0200 Update index.js commit c3fcdee18406e1a9d96b26c85169e1db365bb36a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:15:38 2022 +0200 Capital W commit a243d310597b9f8148621690b9662f93b8467e83 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:08:53 2022 +0200 Update index.js commit 068739fc76b96c4379bf93aa39d11db1c2dfcada Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:58:48 2022 +0200 Update README.md commit d61074bde69f5dac1a1a2dd6b2164564131f53d1 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:56:55 2022 +0200 Docker-compose mistake commit 3036905d92d23cb0664559471fa9e0a81565fa64 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:55:30 2022 +0200 README touchups commit 6f07775121cec5cddf17f25efe349b300d43b8e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:48:10 2022 +0200 Rewrote README commit 58a26b11c77e6d21be0f433cd22c4da46f5d0450 Author: Aune <oystein.sverre@gmail.com> Date: Fri Jul 1 10:00:58 2022 +0200 Changed release workflow commit ffeea7ca689f405b6e629411f5bc9fc8c19e6b34 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 20:09:01 2022 +0200 Updated workflow to 1.18 commit aa321e87729673b4ce047f87b68f7223ea02d159 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 19:58:44 2022 +0200 Update README.md commit 5c4e59474882689f6dadf61f140a4ec18f744a1e Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 18:16:30 2022 +0200 CSS fixes commit 97f3fc57a389e5dd637b560e48fee86c4163dcd5 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Jun 29 22:00:32 2022 +0200 Option to disable winter theme And loading screen commit cf804312c7b9b72b416ef2a53947efab79ab604b Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Jun 28 22:05:43 2022 +0200 Update README.md commit 362a15ee1daa2464ad4f27b7e3107a63d736e591 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 28 18:41:19 2022 +0200 Fixed buddy bug commit 58f4d0060230c2349634689438088dcdf48d7715 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jun 27 19:26:37 2022 +0200 Finalized show buddy commit 0f89a1df974af9947d9e297f3c662d4082c0403d Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 26 12:47:37 2022 +0200 Improved logging commit b57cb24928c2e213c38ce566478af11937e6e4e3 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jun 25 13:42:14 2022 +0200 Finalized shareable links Links can be deleted Links are retrieved to the front page Links can be copied to clipboard commit 000022b882877bc306e13203578a3d1e184afc9a Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 18:47:34 2022 +0200 Get share links now functional commit df697f68b2bcedc7c623d9d9ec291a9625b62160 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:29:52 2022 +0200 Share link formatting bug commit 3b357ca72767fcbb9742a935f29770ab488ac36f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:26:15 2022 +0200 Share link creation Started implementation Missing get and delete functionality Added delete cache option to Tautulli settings commit 54e079951ff131d9177fd0f4a79238c03043d875 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jun 10 19:13:01 2022 +0200 Fixed bugs Shows with seasons in different years were split on top lists Amount of media plays was not unique to media-release, just amount of plays overall Fixed display for music minutes Logging can now be disabled Tautulli libraries were not included in API calls commit 26508af56a182b9611affb4401e5db494ae27c8b Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:38:08 2022 +0200 Fixed bug where top-lists under 10 crashed the API commit 0f28e39c8d4fe444c8d30caaaee9ca138d469270 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:17:41 2022 +0200 Fixed bug for year users duration-sum commit 1e3cb11637cfe001936d4b950b28564d2eec2a4b Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 29 19:51:15 2022 +0200 Statistics retrieval finished Revamped config get/set functions Redid some UI explanations Renamed template JSON commit 93390d469bab45560574e678a88b38dcef60f100 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon May 23 22:23:31 2022 +0200 Bug problem commit 3eb49b8da1c77d33923913e817cb41201cab3963 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 23:48:11 2022 +0200 Users commit aa6b3ec5121bb73cbe5828d9f42e1fd14514ddbd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 13:11:35 2022 +0200 More stats Leaderboard and show buddy missing Working on bug that resets config (?!) commit 29742a2b6305a3835c63fc2c7760018b3e2267f0 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 00:41:19 2022 +0200 Basis for stats retrieval personal movies, shows and music is functional commit a0df0759a76689638d47657abde755cc34dd4a1b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:24 2022 +0200 Removed Docker folder commit 3e192997c08a5406a3d98e850218a674559f9ff0 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:05 2022 +0200 Renaming and Pop-up fix Pop ups should now not be blocked. Hopefully... commit 57b2d03fb57762c6c2aec7433a4f2affd6faa090 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 15:37:26 2022 +0200 CSS changes New rounded corners Transparent background colors Yellow borders Blurred background image Better footer placement More depth to snow particles commit b562e75bee6ff612019fa08d221fbf1ee69edd11 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 12:37:18 2022 +0200 API endpoints changes Get wrapperr-version now also retrieves config-state Login via Plex Auth disabled if Wrapperr is unconfigured Cookies changed to strict samesite value Logging changes commit e01bfc41cf46b3d7bc3b6627c93b67c0f70aa718 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Apr 29 10:47:12 2022 +0200 Update README.md More shields commit 2d2893cb9b212016c3455fd4f8dd3a5b229550ba Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 22:09:24 2022 +0200 Comments and time zone fixes commit 271c16b00e0eb4d58a97ed3b82f0e96993a7d853 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 16:26:44 2022 +0200 Caching and caching loop commit 44376b4d57765258602ec585e59b0825938d3c77 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 10:33:18 2022 +0200 Pulling Tautulli History Moved Tautulli functions to their own file commit 5355dafc68c5c2ed5a7c7e413388981438314500 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 22:00:49 2022 +0200 Start of Tautulli data collection Added time-zone setting in code Created cache structs commit 8bcce997c3b1a0556752ff99b5925cce7e18c4b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 17:25:06 2022 +0200 Comments and caching mode commit 6e951efbcd6acb0b442a691ceb9919e95d3e9e98 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Apr 23 19:03:00 2022 +0200 User details fetch (From Plex & Tautulli) commit cb5b9384c0b716ef33770a0f96f6e4c0601cff50 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Sat Apr 23 12:07:57 2022 +0200 Shields.io stats commit 343e0ac727576652ccd81e565a7a385879b1bfb4 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 18 22:14:49 2022 +0200 Begun stats function Moved Taut test to separate function from API endpoint commit b7e34224d7524358a4b59bd667d75b3b6527361c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:26:54 2022 +0200 Update util.go commit 4a2598f77cce3c5e9d5fc66e9e870bf3cd4bfb51 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:22:34 2022 +0200 Error handling commit 09b80cf16c054d2767cd1cf50ae17f7f72268a53 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 15:01:59 2022 +0200 Updated readme to explain current standing commit 273b08f43ca317b6cd4ede01efb5040e63cc9839 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:46:34 2022 +0200 Removed test-log commands commit f2e85beb9d4aa9157b32933c50495c5f029787e4 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:26:17 2022 +0200 Removed legacy PHP files commit aaafea6da38173224d1b15063d4f32468ec12879 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:24:41 2022 +0200 URL builder & test Tautulli connection commit a02a172a7fc85a5a595fdb4003b00c8aa7d5f475 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 02:37:48 2022 +0200 Moved Plex Auth Get Pin to front end By moving this API call to the front end (JS), the IP address is identical when logging in. This removes the red warning. commit 744fae84a088cc77ba86d3c3687aff8d9caa77d7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 01:33:40 2022 +0200 Plex Auth Plex Auth login, validation and JWT token creation commit 820bbca58a5679ef6a1e98ec586442cd841ac958 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 20:45:00 2022 +0200 Update config API now updates config file commit cb581d69007b32e8e924ac22ba66c923dd9eef23 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 15:49:04 2022 +0200 More API functions - Admin login - Config/Admin file creation - Config API retrieval commit f832df727de5c5fe583f03e2d8906714ceaf8017 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 12 09:30:58 2022 +0200 Functional API endpoints Some basic functionality - Retrieve wrapperr version - Retrieve admin state - Create admin commit 76193b7230e90d578bc561c8f479a87885c0b50f Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 11 16:51:35 2022 +0200 Config loaders commit c197a1b91b6307432e560756da97887bbfb36de5 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 8 17:20:36 2022 +0200 Config files commit 2ef850426a14ecf3dc39ab4b122fb479bb1e8f11 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 7 13:16:01 2022 +0200 Functional jwt validattion and creation commit a52de743daeb3dce18db7e0848eea37d4c35b707 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 22:25:01 2022 +0200 Auth token jwt commit 2f446a484ad6e4330a3a40cc708a543ca47ce148 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 14:19:49 2022 +0200 Middleware commit 1a1bc6ef09b9bce995d9d4b3f4bf7b0d1ead988a Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:14:02 2022 +0200 Added more comments commit 8c36dc74a98aa66565851ab01aff91e641287f06 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:08:26 2022 +0200 Port start argument Also included as ENV in Dockerfile commit 6bfbbdf5c3f955ab680ee4b47863bd7f017ffd5a Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Apr 5 23:31:36 2022 +0200 Whopsie commit 7600f2812e01d266f3488ed32a49d1591740a3e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 20:05:13 2022 +0200 Routing commit 0dbb1c756fcd411e60b73752554d75c8bf04f0b5 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 18:20:12 2022 +0200 Added warnings & Dockerfile commit a787a0acd41ab182ca0607dc3c1796a28ce947bd Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 17:51:48 2022 +0200 Go branch init The assets are served, but no API
2022-07-04 15:47:59 +00:00
WrapperrCustomize WrapperrCustomize `json:"wrapperr_customize"`
WrapperrVersion string `json:"wrapperr_version"`
Timezone string `json:"timezone"`
ApplicationName string `json:"application_name"`
ApplicationURL string `json:"application_url"`
UseCache bool `json:"use_cache"`
UseLogs bool `json:"use_logs"`
ClientKey string `json:"client_key"`
WrapperrRoot string `json:"wrapperr_root"`
PrivateKey string `json:"private_key"`
CreateShareLinks bool `json:"create_share_links"`
WrappedStart int `json:"wrapped_start"`
WrappedEnd int `json:"wrapped_end"`
WrapperrPort int `json:"wrapperr_port"`
PlexAuth bool `json:"plex_auth"`
WinterTheme bool `json:"winter_theme"`
}
type TautulliConfig struct {
TautulliApiKey string `json:"tautulli_apikey"`
TautulliIP string `json:"tautulli_ip"`
TautulliPort int `json:"tautulli_port"`
TautulliLength int `json:"tautulli_length"`
TautulliRoot string `json:"tautulli_root"`
TautulliLibraries string `json:"tautulli_libraries"`
TautulliGrouping bool `json:"tautulli_grouping"`
TautulliHttps bool `json:"tautulli_https"`
TautulliName string `json:"tautulli_name"`
TautulliID int `json:"tautulli_id"`
Squashed commit of the following: commit 23a91e9daad1c482435581c69c756257ac703149 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jul 4 17:47:18 2022 +0200 Removed tmp text commit 1c09e583b2fa5e30a36c809e85fc43b328e3ad7f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jul 3 15:33:36 2022 +0200 Read log in admin interface commit 4ae253185a33bb13a94b1a200bf3aa92a62fb17d Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:27:39 2022 +0200 Added comments commit 89cabc36e86ae541fa9b001928211ba48e9ba48b Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:08:47 2022 +0200 Update index.js commit 12279e7ed47eeb45454ab525aa745eeaac0da180 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:02:36 2022 +0200 Update index.html commit a1c76b3e4d06cd25f7795390155521f2c341465f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 23:56:39 2022 +0200 Errors and frontend Cookies are more stable Errors are more concise commit ee170aeb3acf3f586c93e7b142a08bbb32a17134 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:33:27 2022 +0200 Better error handling commit 6317a1fa15ccfaf91fb2d8737e346621d9884008 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:18:45 2022 +0200 Added returns on errors commit 7126ddf2fbb824de0906fd6d7bfc2ca8acac0fdf Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:09:07 2022 +0200 Added ASCII Art commit 1fd45ede34abe6ae9555d9d6f23f87a2e67dba3b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:39:24 2022 +0200 Form CSS tweak commit 9861c662cd5f2b66721b3d2f2030d92d84bdf8bc Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:24:03 2022 +0200 Update route_admin_auth.go commit 119de6b2b1124266aae6cd5fec90fff2d2ddd24f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:19:36 2022 +0200 Update route_admin_auth.go commit 87a43dfc4945fe5ce45b8d9d06c7dcd6a5c9ee0c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:17:21 2022 +0200 Bugs and CSS Time zone validation Caching log is prettier Return bug on certain API endpoints fixed commit 3e81df71516572944b8e46bad129da82235b1b85 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Jul 1 18:36:21 2022 +0200 Create codeql-analysis.yml commit 32d05f3fff0231139df0e590b98097d6c6e3cdfb Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:23:05 2022 +0200 Update index.js commit c3fcdee18406e1a9d96b26c85169e1db365bb36a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:15:38 2022 +0200 Capital W commit a243d310597b9f8148621690b9662f93b8467e83 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:08:53 2022 +0200 Update index.js commit 068739fc76b96c4379bf93aa39d11db1c2dfcada Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:58:48 2022 +0200 Update README.md commit d61074bde69f5dac1a1a2dd6b2164564131f53d1 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:56:55 2022 +0200 Docker-compose mistake commit 3036905d92d23cb0664559471fa9e0a81565fa64 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:55:30 2022 +0200 README touchups commit 6f07775121cec5cddf17f25efe349b300d43b8e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:48:10 2022 +0200 Rewrote README commit 58a26b11c77e6d21be0f433cd22c4da46f5d0450 Author: Aune <oystein.sverre@gmail.com> Date: Fri Jul 1 10:00:58 2022 +0200 Changed release workflow commit ffeea7ca689f405b6e629411f5bc9fc8c19e6b34 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 20:09:01 2022 +0200 Updated workflow to 1.18 commit aa321e87729673b4ce047f87b68f7223ea02d159 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 19:58:44 2022 +0200 Update README.md commit 5c4e59474882689f6dadf61f140a4ec18f744a1e Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 18:16:30 2022 +0200 CSS fixes commit 97f3fc57a389e5dd637b560e48fee86c4163dcd5 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Jun 29 22:00:32 2022 +0200 Option to disable winter theme And loading screen commit cf804312c7b9b72b416ef2a53947efab79ab604b Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Jun 28 22:05:43 2022 +0200 Update README.md commit 362a15ee1daa2464ad4f27b7e3107a63d736e591 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 28 18:41:19 2022 +0200 Fixed buddy bug commit 58f4d0060230c2349634689438088dcdf48d7715 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jun 27 19:26:37 2022 +0200 Finalized show buddy commit 0f89a1df974af9947d9e297f3c662d4082c0403d Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 26 12:47:37 2022 +0200 Improved logging commit b57cb24928c2e213c38ce566478af11937e6e4e3 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jun 25 13:42:14 2022 +0200 Finalized shareable links Links can be deleted Links are retrieved to the front page Links can be copied to clipboard commit 000022b882877bc306e13203578a3d1e184afc9a Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 18:47:34 2022 +0200 Get share links now functional commit df697f68b2bcedc7c623d9d9ec291a9625b62160 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:29:52 2022 +0200 Share link formatting bug commit 3b357ca72767fcbb9742a935f29770ab488ac36f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:26:15 2022 +0200 Share link creation Started implementation Missing get and delete functionality Added delete cache option to Tautulli settings commit 54e079951ff131d9177fd0f4a79238c03043d875 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jun 10 19:13:01 2022 +0200 Fixed bugs Shows with seasons in different years were split on top lists Amount of media plays was not unique to media-release, just amount of plays overall Fixed display for music minutes Logging can now be disabled Tautulli libraries were not included in API calls commit 26508af56a182b9611affb4401e5db494ae27c8b Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:38:08 2022 +0200 Fixed bug where top-lists under 10 crashed the API commit 0f28e39c8d4fe444c8d30caaaee9ca138d469270 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:17:41 2022 +0200 Fixed bug for year users duration-sum commit 1e3cb11637cfe001936d4b950b28564d2eec2a4b Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 29 19:51:15 2022 +0200 Statistics retrieval finished Revamped config get/set functions Redid some UI explanations Renamed template JSON commit 93390d469bab45560574e678a88b38dcef60f100 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon May 23 22:23:31 2022 +0200 Bug problem commit 3eb49b8da1c77d33923913e817cb41201cab3963 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 23:48:11 2022 +0200 Users commit aa6b3ec5121bb73cbe5828d9f42e1fd14514ddbd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 13:11:35 2022 +0200 More stats Leaderboard and show buddy missing Working on bug that resets config (?!) commit 29742a2b6305a3835c63fc2c7760018b3e2267f0 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 00:41:19 2022 +0200 Basis for stats retrieval personal movies, shows and music is functional commit a0df0759a76689638d47657abde755cc34dd4a1b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:24 2022 +0200 Removed Docker folder commit 3e192997c08a5406a3d98e850218a674559f9ff0 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:05 2022 +0200 Renaming and Pop-up fix Pop ups should now not be blocked. Hopefully... commit 57b2d03fb57762c6c2aec7433a4f2affd6faa090 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 15:37:26 2022 +0200 CSS changes New rounded corners Transparent background colors Yellow borders Blurred background image Better footer placement More depth to snow particles commit b562e75bee6ff612019fa08d221fbf1ee69edd11 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 12:37:18 2022 +0200 API endpoints changes Get wrapperr-version now also retrieves config-state Login via Plex Auth disabled if Wrapperr is unconfigured Cookies changed to strict samesite value Logging changes commit e01bfc41cf46b3d7bc3b6627c93b67c0f70aa718 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Apr 29 10:47:12 2022 +0200 Update README.md More shields commit 2d2893cb9b212016c3455fd4f8dd3a5b229550ba Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 22:09:24 2022 +0200 Comments and time zone fixes commit 271c16b00e0eb4d58a97ed3b82f0e96993a7d853 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 16:26:44 2022 +0200 Caching and caching loop commit 44376b4d57765258602ec585e59b0825938d3c77 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 10:33:18 2022 +0200 Pulling Tautulli History Moved Tautulli functions to their own file commit 5355dafc68c5c2ed5a7c7e413388981438314500 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 22:00:49 2022 +0200 Start of Tautulli data collection Added time-zone setting in code Created cache structs commit 8bcce997c3b1a0556752ff99b5925cce7e18c4b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 17:25:06 2022 +0200 Comments and caching mode commit 6e951efbcd6acb0b442a691ceb9919e95d3e9e98 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Apr 23 19:03:00 2022 +0200 User details fetch (From Plex & Tautulli) commit cb5b9384c0b716ef33770a0f96f6e4c0601cff50 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Sat Apr 23 12:07:57 2022 +0200 Shields.io stats commit 343e0ac727576652ccd81e565a7a385879b1bfb4 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 18 22:14:49 2022 +0200 Begun stats function Moved Taut test to separate function from API endpoint commit b7e34224d7524358a4b59bd667d75b3b6527361c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:26:54 2022 +0200 Update util.go commit 4a2598f77cce3c5e9d5fc66e9e870bf3cd4bfb51 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:22:34 2022 +0200 Error handling commit 09b80cf16c054d2767cd1cf50ae17f7f72268a53 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 15:01:59 2022 +0200 Updated readme to explain current standing commit 273b08f43ca317b6cd4ede01efb5040e63cc9839 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:46:34 2022 +0200 Removed test-log commands commit f2e85beb9d4aa9157b32933c50495c5f029787e4 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:26:17 2022 +0200 Removed legacy PHP files commit aaafea6da38173224d1b15063d4f32468ec12879 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:24:41 2022 +0200 URL builder & test Tautulli connection commit a02a172a7fc85a5a595fdb4003b00c8aa7d5f475 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 02:37:48 2022 +0200 Moved Plex Auth Get Pin to front end By moving this API call to the front end (JS), the IP address is identical when logging in. This removes the red warning. commit 744fae84a088cc77ba86d3c3687aff8d9caa77d7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 01:33:40 2022 +0200 Plex Auth Plex Auth login, validation and JWT token creation commit 820bbca58a5679ef6a1e98ec586442cd841ac958 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 20:45:00 2022 +0200 Update config API now updates config file commit cb581d69007b32e8e924ac22ba66c923dd9eef23 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 15:49:04 2022 +0200 More API functions - Admin login - Config/Admin file creation - Config API retrieval commit f832df727de5c5fe583f03e2d8906714ceaf8017 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 12 09:30:58 2022 +0200 Functional API endpoints Some basic functionality - Retrieve wrapperr version - Retrieve admin state - Create admin commit 76193b7230e90d578bc561c8f479a87885c0b50f Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 11 16:51:35 2022 +0200 Config loaders commit c197a1b91b6307432e560756da97887bbfb36de5 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 8 17:20:36 2022 +0200 Config files commit 2ef850426a14ecf3dc39ab4b122fb479bb1e8f11 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 7 13:16:01 2022 +0200 Functional jwt validattion and creation commit a52de743daeb3dce18db7e0848eea37d4c35b707 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 22:25:01 2022 +0200 Auth token jwt commit 2f446a484ad6e4330a3a40cc708a543ca47ce148 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 14:19:49 2022 +0200 Middleware commit 1a1bc6ef09b9bce995d9d4b3f4bf7b0d1ead988a Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:14:02 2022 +0200 Added more comments commit 8c36dc74a98aa66565851ab01aff91e641287f06 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:08:26 2022 +0200 Port start argument Also included as ENV in Dockerfile commit 6bfbbdf5c3f955ab680ee4b47863bd7f017ffd5a Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Apr 5 23:31:36 2022 +0200 Whopsie commit 7600f2812e01d266f3488ed32a49d1591740a3e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 20:05:13 2022 +0200 Routing commit 0dbb1c756fcd411e60b73752554d75c8bf04f0b5 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 18:20:12 2022 +0200 Added warnings & Dockerfile commit a787a0acd41ab182ca0607dc3c1796a28ce947bd Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 17:51:48 2022 +0200 Go branch init The assets are served, but no API
2022-07-04 15:47:59 +00:00
}
type WrapperrCustomize struct {
WrapperrFrontPageTitle string `json:"wrapperr_front_page_title"`
WrapperrFrontPageSubtitle string `json:"wrapperr_front_page_subtitle"`
StatsIntroTitle string `json:"stats_intro_title"`
StatsIntroSubtitle string `json:"stats_intro_subtitle"`
StatsOutroTitle string `json:"stats_outro_title"`
StatsOutroSubtitle string `json:"stats_outro_subtitle"`
StatsOrderByPlays bool `json:"stats_order_by_plays"`
StatsOrderByDuration bool `json:"stats_order_by_duration"`
2022-10-15 20:07:15 +00:00
StatsTopListLength int `json:"stats_top_list_length"`
Squashed commit of the following: commit 23a91e9daad1c482435581c69c756257ac703149 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jul 4 17:47:18 2022 +0200 Removed tmp text commit 1c09e583b2fa5e30a36c809e85fc43b328e3ad7f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jul 3 15:33:36 2022 +0200 Read log in admin interface commit 4ae253185a33bb13a94b1a200bf3aa92a62fb17d Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:27:39 2022 +0200 Added comments commit 89cabc36e86ae541fa9b001928211ba48e9ba48b Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:08:47 2022 +0200 Update index.js commit 12279e7ed47eeb45454ab525aa745eeaac0da180 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:02:36 2022 +0200 Update index.html commit a1c76b3e4d06cd25f7795390155521f2c341465f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 23:56:39 2022 +0200 Errors and frontend Cookies are more stable Errors are more concise commit ee170aeb3acf3f586c93e7b142a08bbb32a17134 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:33:27 2022 +0200 Better error handling commit 6317a1fa15ccfaf91fb2d8737e346621d9884008 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:18:45 2022 +0200 Added returns on errors commit 7126ddf2fbb824de0906fd6d7bfc2ca8acac0fdf Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:09:07 2022 +0200 Added ASCII Art commit 1fd45ede34abe6ae9555d9d6f23f87a2e67dba3b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:39:24 2022 +0200 Form CSS tweak commit 9861c662cd5f2b66721b3d2f2030d92d84bdf8bc Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:24:03 2022 +0200 Update route_admin_auth.go commit 119de6b2b1124266aae6cd5fec90fff2d2ddd24f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:19:36 2022 +0200 Update route_admin_auth.go commit 87a43dfc4945fe5ce45b8d9d06c7dcd6a5c9ee0c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:17:21 2022 +0200 Bugs and CSS Time zone validation Caching log is prettier Return bug on certain API endpoints fixed commit 3e81df71516572944b8e46bad129da82235b1b85 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Jul 1 18:36:21 2022 +0200 Create codeql-analysis.yml commit 32d05f3fff0231139df0e590b98097d6c6e3cdfb Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:23:05 2022 +0200 Update index.js commit c3fcdee18406e1a9d96b26c85169e1db365bb36a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:15:38 2022 +0200 Capital W commit a243d310597b9f8148621690b9662f93b8467e83 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:08:53 2022 +0200 Update index.js commit 068739fc76b96c4379bf93aa39d11db1c2dfcada Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:58:48 2022 +0200 Update README.md commit d61074bde69f5dac1a1a2dd6b2164564131f53d1 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:56:55 2022 +0200 Docker-compose mistake commit 3036905d92d23cb0664559471fa9e0a81565fa64 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:55:30 2022 +0200 README touchups commit 6f07775121cec5cddf17f25efe349b300d43b8e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:48:10 2022 +0200 Rewrote README commit 58a26b11c77e6d21be0f433cd22c4da46f5d0450 Author: Aune <oystein.sverre@gmail.com> Date: Fri Jul 1 10:00:58 2022 +0200 Changed release workflow commit ffeea7ca689f405b6e629411f5bc9fc8c19e6b34 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 20:09:01 2022 +0200 Updated workflow to 1.18 commit aa321e87729673b4ce047f87b68f7223ea02d159 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 19:58:44 2022 +0200 Update README.md commit 5c4e59474882689f6dadf61f140a4ec18f744a1e Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 18:16:30 2022 +0200 CSS fixes commit 97f3fc57a389e5dd637b560e48fee86c4163dcd5 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Jun 29 22:00:32 2022 +0200 Option to disable winter theme And loading screen commit cf804312c7b9b72b416ef2a53947efab79ab604b Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Jun 28 22:05:43 2022 +0200 Update README.md commit 362a15ee1daa2464ad4f27b7e3107a63d736e591 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 28 18:41:19 2022 +0200 Fixed buddy bug commit 58f4d0060230c2349634689438088dcdf48d7715 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jun 27 19:26:37 2022 +0200 Finalized show buddy commit 0f89a1df974af9947d9e297f3c662d4082c0403d Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 26 12:47:37 2022 +0200 Improved logging commit b57cb24928c2e213c38ce566478af11937e6e4e3 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jun 25 13:42:14 2022 +0200 Finalized shareable links Links can be deleted Links are retrieved to the front page Links can be copied to clipboard commit 000022b882877bc306e13203578a3d1e184afc9a Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 18:47:34 2022 +0200 Get share links now functional commit df697f68b2bcedc7c623d9d9ec291a9625b62160 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:29:52 2022 +0200 Share link formatting bug commit 3b357ca72767fcbb9742a935f29770ab488ac36f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:26:15 2022 +0200 Share link creation Started implementation Missing get and delete functionality Added delete cache option to Tautulli settings commit 54e079951ff131d9177fd0f4a79238c03043d875 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jun 10 19:13:01 2022 +0200 Fixed bugs Shows with seasons in different years were split on top lists Amount of media plays was not unique to media-release, just amount of plays overall Fixed display for music minutes Logging can now be disabled Tautulli libraries were not included in API calls commit 26508af56a182b9611affb4401e5db494ae27c8b Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:38:08 2022 +0200 Fixed bug where top-lists under 10 crashed the API commit 0f28e39c8d4fe444c8d30caaaee9ca138d469270 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:17:41 2022 +0200 Fixed bug for year users duration-sum commit 1e3cb11637cfe001936d4b950b28564d2eec2a4b Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 29 19:51:15 2022 +0200 Statistics retrieval finished Revamped config get/set functions Redid some UI explanations Renamed template JSON commit 93390d469bab45560574e678a88b38dcef60f100 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon May 23 22:23:31 2022 +0200 Bug problem commit 3eb49b8da1c77d33923913e817cb41201cab3963 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 23:48:11 2022 +0200 Users commit aa6b3ec5121bb73cbe5828d9f42e1fd14514ddbd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 13:11:35 2022 +0200 More stats Leaderboard and show buddy missing Working on bug that resets config (?!) commit 29742a2b6305a3835c63fc2c7760018b3e2267f0 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 00:41:19 2022 +0200 Basis for stats retrieval personal movies, shows and music is functional commit a0df0759a76689638d47657abde755cc34dd4a1b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:24 2022 +0200 Removed Docker folder commit 3e192997c08a5406a3d98e850218a674559f9ff0 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:05 2022 +0200 Renaming and Pop-up fix Pop ups should now not be blocked. Hopefully... commit 57b2d03fb57762c6c2aec7433a4f2affd6faa090 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 15:37:26 2022 +0200 CSS changes New rounded corners Transparent background colors Yellow borders Blurred background image Better footer placement More depth to snow particles commit b562e75bee6ff612019fa08d221fbf1ee69edd11 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 12:37:18 2022 +0200 API endpoints changes Get wrapperr-version now also retrieves config-state Login via Plex Auth disabled if Wrapperr is unconfigured Cookies changed to strict samesite value Logging changes commit e01bfc41cf46b3d7bc3b6627c93b67c0f70aa718 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Apr 29 10:47:12 2022 +0200 Update README.md More shields commit 2d2893cb9b212016c3455fd4f8dd3a5b229550ba Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 22:09:24 2022 +0200 Comments and time zone fixes commit 271c16b00e0eb4d58a97ed3b82f0e96993a7d853 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 16:26:44 2022 +0200 Caching and caching loop commit 44376b4d57765258602ec585e59b0825938d3c77 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 10:33:18 2022 +0200 Pulling Tautulli History Moved Tautulli functions to their own file commit 5355dafc68c5c2ed5a7c7e413388981438314500 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 22:00:49 2022 +0200 Start of Tautulli data collection Added time-zone setting in code Created cache structs commit 8bcce997c3b1a0556752ff99b5925cce7e18c4b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 17:25:06 2022 +0200 Comments and caching mode commit 6e951efbcd6acb0b442a691ceb9919e95d3e9e98 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Apr 23 19:03:00 2022 +0200 User details fetch (From Plex & Tautulli) commit cb5b9384c0b716ef33770a0f96f6e4c0601cff50 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Sat Apr 23 12:07:57 2022 +0200 Shields.io stats commit 343e0ac727576652ccd81e565a7a385879b1bfb4 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 18 22:14:49 2022 +0200 Begun stats function Moved Taut test to separate function from API endpoint commit b7e34224d7524358a4b59bd667d75b3b6527361c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:26:54 2022 +0200 Update util.go commit 4a2598f77cce3c5e9d5fc66e9e870bf3cd4bfb51 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:22:34 2022 +0200 Error handling commit 09b80cf16c054d2767cd1cf50ae17f7f72268a53 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 15:01:59 2022 +0200 Updated readme to explain current standing commit 273b08f43ca317b6cd4ede01efb5040e63cc9839 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:46:34 2022 +0200 Removed test-log commands commit f2e85beb9d4aa9157b32933c50495c5f029787e4 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:26:17 2022 +0200 Removed legacy PHP files commit aaafea6da38173224d1b15063d4f32468ec12879 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:24:41 2022 +0200 URL builder & test Tautulli connection commit a02a172a7fc85a5a595fdb4003b00c8aa7d5f475 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 02:37:48 2022 +0200 Moved Plex Auth Get Pin to front end By moving this API call to the front end (JS), the IP address is identical when logging in. This removes the red warning. commit 744fae84a088cc77ba86d3c3687aff8d9caa77d7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 01:33:40 2022 +0200 Plex Auth Plex Auth login, validation and JWT token creation commit 820bbca58a5679ef6a1e98ec586442cd841ac958 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 20:45:00 2022 +0200 Update config API now updates config file commit cb581d69007b32e8e924ac22ba66c923dd9eef23 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 15:49:04 2022 +0200 More API functions - Admin login - Config/Admin file creation - Config API retrieval commit f832df727de5c5fe583f03e2d8906714ceaf8017 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 12 09:30:58 2022 +0200 Functional API endpoints Some basic functionality - Retrieve wrapperr version - Retrieve admin state - Create admin commit 76193b7230e90d578bc561c8f479a87885c0b50f Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 11 16:51:35 2022 +0200 Config loaders commit c197a1b91b6307432e560756da97887bbfb36de5 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 8 17:20:36 2022 +0200 Config files commit 2ef850426a14ecf3dc39ab4b122fb479bb1e8f11 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 7 13:16:01 2022 +0200 Functional jwt validattion and creation commit a52de743daeb3dce18db7e0848eea37d4c35b707 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 22:25:01 2022 +0200 Auth token jwt commit 2f446a484ad6e4330a3a40cc708a543ca47ce148 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 14:19:49 2022 +0200 Middleware commit 1a1bc6ef09b9bce995d9d4b3f4bf7b0d1ead988a Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:14:02 2022 +0200 Added more comments commit 8c36dc74a98aa66565851ab01aff91e641287f06 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:08:26 2022 +0200 Port start argument Also included as ENV in Dockerfile commit 6bfbbdf5c3f955ab680ee4b47863bd7f017ffd5a Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Apr 5 23:31:36 2022 +0200 Whopsie commit 7600f2812e01d266f3488ed32a49d1591740a3e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 20:05:13 2022 +0200 Routing commit 0dbb1c756fcd411e60b73752554d75c8bf04f0b5 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 18:20:12 2022 +0200 Added warnings & Dockerfile commit a787a0acd41ab182ca0607dc3c1796a28ce947bd Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 17:51:48 2022 +0200 Go branch init The assets are served, but no API
2022-07-04 15:47:59 +00:00
GetUserMovieStats bool `json:"get_user_movie_stats"`
GetUserMovieStatsTitle string `json:"get_user_movie_stats_title"`
GetUserMovieStatsSubtitle string `json:"get_user_movie_stats_subtitle"`
GetUserMovieStatsSubsubtitle string `json:"get_user_movie_stats_subsubtitle"`
GetUserMovieStatsSubtitleOne string `json:"get_user_movie_stats_subtitle_one"`
GetUserMovieStatsSubsubtitleOne string `json:"get_user_movie_stats_subsubtitle_one"`
GetUserMovieStatsSubtitleNone string `json:"get_user_movie_stats_subtitle_none"`
GetUserMovieStatsSubsubtitleNone string `json:"get_user_movie_stats_subsubtitle_none"`
GetUserMovieStatsTopMovie string `json:"get_user_movie_stats_top_movie"`
GetUserMovieStatsTopMoviePlural string `json:"get_user_movie_stats_top_movie_plural"`
GetUserMovieStatsMovieCompletionTitle string `json:"get_user_movie_stats_movie_completion_title"`
GetUserMovieStatsMovieCompletionTitlePlural string `json:"get_user_movie_stats_movie_completion_title_plural"`
GetUserMovieStatsMovieCompletionSubtitle string `json:"get_user_movie_stats_movie_completion_subtitle"`
GetUserMovieStatsPauseTitle string `json:"get_user_movie_stats_pause_title"`
GetUserMovieStatsPauseSubtitle string `json:"get_user_movie_stats_pause_subtitle"`
GetUserMovieStatsPauseTitleOne string `json:"get_user_movie_stats_pause_title_one"`
GetUserMovieStatsPauseSubtitleOne string `json:"get_user_movie_stats_pause_subtitle_one"`
GetUserMovieStatsPauseTitleNone string `json:"get_user_movie_stats_pause_title_none"`
GetUserMovieStatsPauseSubtitleNone string `json:"get_user_movie_stats_pause_subtitle_none"`
GetUserMovieStatsOldestTitle string `json:"get_user_movie_stats_oldest_title"`
GetUserMovieStatsOldestSubtitle string `json:"get_user_movie_stats_oldest_subtitle"`
GetUserMovieStatsOldestSubtitlePre1950 string `json:"get_user_movie_stats_oldest_subtitle_pre_1950"`
GetUserMovieStatsOldestSubtitlePre1975 string `json:"get_user_movie_stats_oldest_subtitle_pre_1975"`
GetUserMovieStatsOldestSubtitlePre2000 string `json:"get_user_movie_stats_oldest_subtitle_pre_2000"`
GetUserMovieStatsSpentTitle string `json:"get_user_movie_stats_spent_title"`
GetUserShowStats bool `json:"get_user_show_stats"`
GetUserShowBuddy bool `json:"get_user_show_stats_buddy"`
GetUserShowStatsTitle string `json:"get_user_show_stats_title"`
GetUserShowStatsSubtitle string `json:"get_user_show_stats_subtitle"`
GetUserShowStatsSubsubtitle string `json:"get_user_show_stats_subsubtitle"`
GetUserShowStatsSubtitleOne string `json:"get_user_show_stats_subtitle_one"`
GetUserShowStatsSubsubtitleOne string `json:"get_user_show_stats_subsubtitle_one"`
GetUserShowStatsSubtitleNone string `json:"get_user_show_stats_subtitle_none"`
GetUserShowStatsSubsubtitleNone string `json:"get_user_show_stats_subsubtitle_none"`
GetUserShowStatsTopShow string `json:"get_user_show_stats_top_show"`
GetUserShowStatsTopShowPlural string `json:"get_user_show_stats_top_show_plural"`
GetUserShowStatsSpentTitle string `json:"get_user_show_stats_spent_title"`
GetUserShowStatsMostPlayedTitle string `json:"get_user_show_stats_most_played_title"`
GetUserShowStatsMostPlayedSubtitle string `json:"get_user_show_stats_most_played_subtitle"`
GetUserShowStatsBuddyTitle string `json:"get_user_show_stats_buddy_title"`
GetUserShowStatsBuddySubtitle string `json:"get_user_show_stats_buddy_subtitle"`
GetUserShowStatsBuddyTitleNone string `json:"get_user_show_stats_buddy_title_none"`
GetUserShowStatsBuddySubtitleNone string `json:"get_user_show_stats_buddy_subtitle_none"`
GetUserMusicStats bool `json:"get_user_music_stats"`
GetUserMusicStatsTitle string `json:"get_user_music_stats_title"`
GetUserMusicStatsSubtitle string `json:"get_user_music_stats_subtitle"`
GetUserMusicStatsSubsubtitle string `json:"get_user_music_stats_subsubtitle"`
GetUserMusicStatsSubtitleOne string `json:"get_user_music_stats_subtitle_one"`
GetUserMusicStatsSubsubtitleOne string `json:"get_user_music_stats_subsubtitle_one"`
GetUserMusicStatsSubtitleNone string `json:"get_user_music_stats_subtitle_none"`
GetUserMusicStatsSubsubtitleNone string `json:"get_user_music_stats_subsubtitle_none"`
GetUserMusicStatsTopTrack string `json:"get_user_music_stats_top_track"`
GetUserMusicStatsTopTrackPlural string `json:"get_user_music_stats_top_track_plural"`
GetUserMusicStatsTopAlbumPlural string `json:"get_user_music_stats_top_album_plural"`
GetUserMusicStatsTopArtistPlural string `json:"get_user_music_stats_top_artist_plural"`
GetUserMusicStatsSpentTitle string `json:"get_user_music_stats_spent_title"`
GetUserMusicStatsSpentSubtitle string `json:"get_user_music_stats_spent_subtitle"`
GetUserMusicStatsOldestAlbumTitle string `json:"get_user_music_stats_oldest_album_title"`
GetUserMusicStatsOldestAlbumSubtitle string `json:"get_user_music_stats_oldest_album_subtitle"`
GetYearStatsTitle string `json:"get_year_stats_title"`
GetYearStatsSubtitle string `json:"get_year_stats_subtitle"`
GetYearStatsSubsubtitle string `json:"get_year_stats_subsubtitle"`
GetYearStatsMovies bool `json:"get_year_stats_movies"`
GetYearStatsMoviesTitle string `json:"get_year_stats_movies_title"`
GetYearStatsShows bool `json:"get_year_stats_shows"`
GetYearStatsShowsTitle string `json:"get_year_stats_shows_title"`
GetYearStatsMusic bool `json:"get_year_stats_music"`
GetYearStatsMusicTitle string `json:"get_year_stats_music_title"`
GetYearStatsLeaderboard bool `json:"get_year_stats_leaderboard"`
GetYearStatsLeaderboardNumbers bool `json:"get_year_stats_leaderboard_numbers"`
Squashed commit of the following: commit 23a91e9daad1c482435581c69c756257ac703149 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jul 4 17:47:18 2022 +0200 Removed tmp text commit 1c09e583b2fa5e30a36c809e85fc43b328e3ad7f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jul 3 15:33:36 2022 +0200 Read log in admin interface commit 4ae253185a33bb13a94b1a200bf3aa92a62fb17d Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:27:39 2022 +0200 Added comments commit 89cabc36e86ae541fa9b001928211ba48e9ba48b Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:08:47 2022 +0200 Update index.js commit 12279e7ed47eeb45454ab525aa745eeaac0da180 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:02:36 2022 +0200 Update index.html commit a1c76b3e4d06cd25f7795390155521f2c341465f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 23:56:39 2022 +0200 Errors and frontend Cookies are more stable Errors are more concise commit ee170aeb3acf3f586c93e7b142a08bbb32a17134 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:33:27 2022 +0200 Better error handling commit 6317a1fa15ccfaf91fb2d8737e346621d9884008 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:18:45 2022 +0200 Added returns on errors commit 7126ddf2fbb824de0906fd6d7bfc2ca8acac0fdf Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:09:07 2022 +0200 Added ASCII Art commit 1fd45ede34abe6ae9555d9d6f23f87a2e67dba3b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:39:24 2022 +0200 Form CSS tweak commit 9861c662cd5f2b66721b3d2f2030d92d84bdf8bc Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:24:03 2022 +0200 Update route_admin_auth.go commit 119de6b2b1124266aae6cd5fec90fff2d2ddd24f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:19:36 2022 +0200 Update route_admin_auth.go commit 87a43dfc4945fe5ce45b8d9d06c7dcd6a5c9ee0c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:17:21 2022 +0200 Bugs and CSS Time zone validation Caching log is prettier Return bug on certain API endpoints fixed commit 3e81df71516572944b8e46bad129da82235b1b85 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Jul 1 18:36:21 2022 +0200 Create codeql-analysis.yml commit 32d05f3fff0231139df0e590b98097d6c6e3cdfb Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:23:05 2022 +0200 Update index.js commit c3fcdee18406e1a9d96b26c85169e1db365bb36a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:15:38 2022 +0200 Capital W commit a243d310597b9f8148621690b9662f93b8467e83 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:08:53 2022 +0200 Update index.js commit 068739fc76b96c4379bf93aa39d11db1c2dfcada Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:58:48 2022 +0200 Update README.md commit d61074bde69f5dac1a1a2dd6b2164564131f53d1 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:56:55 2022 +0200 Docker-compose mistake commit 3036905d92d23cb0664559471fa9e0a81565fa64 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:55:30 2022 +0200 README touchups commit 6f07775121cec5cddf17f25efe349b300d43b8e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:48:10 2022 +0200 Rewrote README commit 58a26b11c77e6d21be0f433cd22c4da46f5d0450 Author: Aune <oystein.sverre@gmail.com> Date: Fri Jul 1 10:00:58 2022 +0200 Changed release workflow commit ffeea7ca689f405b6e629411f5bc9fc8c19e6b34 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 20:09:01 2022 +0200 Updated workflow to 1.18 commit aa321e87729673b4ce047f87b68f7223ea02d159 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 19:58:44 2022 +0200 Update README.md commit 5c4e59474882689f6dadf61f140a4ec18f744a1e Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 18:16:30 2022 +0200 CSS fixes commit 97f3fc57a389e5dd637b560e48fee86c4163dcd5 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Jun 29 22:00:32 2022 +0200 Option to disable winter theme And loading screen commit cf804312c7b9b72b416ef2a53947efab79ab604b Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Jun 28 22:05:43 2022 +0200 Update README.md commit 362a15ee1daa2464ad4f27b7e3107a63d736e591 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 28 18:41:19 2022 +0200 Fixed buddy bug commit 58f4d0060230c2349634689438088dcdf48d7715 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jun 27 19:26:37 2022 +0200 Finalized show buddy commit 0f89a1df974af9947d9e297f3c662d4082c0403d Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 26 12:47:37 2022 +0200 Improved logging commit b57cb24928c2e213c38ce566478af11937e6e4e3 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jun 25 13:42:14 2022 +0200 Finalized shareable links Links can be deleted Links are retrieved to the front page Links can be copied to clipboard commit 000022b882877bc306e13203578a3d1e184afc9a Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 18:47:34 2022 +0200 Get share links now functional commit df697f68b2bcedc7c623d9d9ec291a9625b62160 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:29:52 2022 +0200 Share link formatting bug commit 3b357ca72767fcbb9742a935f29770ab488ac36f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:26:15 2022 +0200 Share link creation Started implementation Missing get and delete functionality Added delete cache option to Tautulli settings commit 54e079951ff131d9177fd0f4a79238c03043d875 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jun 10 19:13:01 2022 +0200 Fixed bugs Shows with seasons in different years were split on top lists Amount of media plays was not unique to media-release, just amount of plays overall Fixed display for music minutes Logging can now be disabled Tautulli libraries were not included in API calls commit 26508af56a182b9611affb4401e5db494ae27c8b Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:38:08 2022 +0200 Fixed bug where top-lists under 10 crashed the API commit 0f28e39c8d4fe444c8d30caaaee9ca138d469270 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:17:41 2022 +0200 Fixed bug for year users duration-sum commit 1e3cb11637cfe001936d4b950b28564d2eec2a4b Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 29 19:51:15 2022 +0200 Statistics retrieval finished Revamped config get/set functions Redid some UI explanations Renamed template JSON commit 93390d469bab45560574e678a88b38dcef60f100 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon May 23 22:23:31 2022 +0200 Bug problem commit 3eb49b8da1c77d33923913e817cb41201cab3963 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 23:48:11 2022 +0200 Users commit aa6b3ec5121bb73cbe5828d9f42e1fd14514ddbd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 13:11:35 2022 +0200 More stats Leaderboard and show buddy missing Working on bug that resets config (?!) commit 29742a2b6305a3835c63fc2c7760018b3e2267f0 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 00:41:19 2022 +0200 Basis for stats retrieval personal movies, shows and music is functional commit a0df0759a76689638d47657abde755cc34dd4a1b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:24 2022 +0200 Removed Docker folder commit 3e192997c08a5406a3d98e850218a674559f9ff0 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:05 2022 +0200 Renaming and Pop-up fix Pop ups should now not be blocked. Hopefully... commit 57b2d03fb57762c6c2aec7433a4f2affd6faa090 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 15:37:26 2022 +0200 CSS changes New rounded corners Transparent background colors Yellow borders Blurred background image Better footer placement More depth to snow particles commit b562e75bee6ff612019fa08d221fbf1ee69edd11 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 12:37:18 2022 +0200 API endpoints changes Get wrapperr-version now also retrieves config-state Login via Plex Auth disabled if Wrapperr is unconfigured Cookies changed to strict samesite value Logging changes commit e01bfc41cf46b3d7bc3b6627c93b67c0f70aa718 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Apr 29 10:47:12 2022 +0200 Update README.md More shields commit 2d2893cb9b212016c3455fd4f8dd3a5b229550ba Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 22:09:24 2022 +0200 Comments and time zone fixes commit 271c16b00e0eb4d58a97ed3b82f0e96993a7d853 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 16:26:44 2022 +0200 Caching and caching loop commit 44376b4d57765258602ec585e59b0825938d3c77 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 10:33:18 2022 +0200 Pulling Tautulli History Moved Tautulli functions to their own file commit 5355dafc68c5c2ed5a7c7e413388981438314500 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 22:00:49 2022 +0200 Start of Tautulli data collection Added time-zone setting in code Created cache structs commit 8bcce997c3b1a0556752ff99b5925cce7e18c4b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 17:25:06 2022 +0200 Comments and caching mode commit 6e951efbcd6acb0b442a691ceb9919e95d3e9e98 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Apr 23 19:03:00 2022 +0200 User details fetch (From Plex & Tautulli) commit cb5b9384c0b716ef33770a0f96f6e4c0601cff50 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Sat Apr 23 12:07:57 2022 +0200 Shields.io stats commit 343e0ac727576652ccd81e565a7a385879b1bfb4 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 18 22:14:49 2022 +0200 Begun stats function Moved Taut test to separate function from API endpoint commit b7e34224d7524358a4b59bd667d75b3b6527361c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:26:54 2022 +0200 Update util.go commit 4a2598f77cce3c5e9d5fc66e9e870bf3cd4bfb51 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:22:34 2022 +0200 Error handling commit 09b80cf16c054d2767cd1cf50ae17f7f72268a53 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 15:01:59 2022 +0200 Updated readme to explain current standing commit 273b08f43ca317b6cd4ede01efb5040e63cc9839 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:46:34 2022 +0200 Removed test-log commands commit f2e85beb9d4aa9157b32933c50495c5f029787e4 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:26:17 2022 +0200 Removed legacy PHP files commit aaafea6da38173224d1b15063d4f32468ec12879 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:24:41 2022 +0200 URL builder & test Tautulli connection commit a02a172a7fc85a5a595fdb4003b00c8aa7d5f475 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 02:37:48 2022 +0200 Moved Plex Auth Get Pin to front end By moving this API call to the front end (JS), the IP address is identical when logging in. This removes the red warning. commit 744fae84a088cc77ba86d3c3687aff8d9caa77d7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 01:33:40 2022 +0200 Plex Auth Plex Auth login, validation and JWT token creation commit 820bbca58a5679ef6a1e98ec586442cd841ac958 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 20:45:00 2022 +0200 Update config API now updates config file commit cb581d69007b32e8e924ac22ba66c923dd9eef23 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 15:49:04 2022 +0200 More API functions - Admin login - Config/Admin file creation - Config API retrieval commit f832df727de5c5fe583f03e2d8906714ceaf8017 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 12 09:30:58 2022 +0200 Functional API endpoints Some basic functionality - Retrieve wrapperr version - Retrieve admin state - Create admin commit 76193b7230e90d578bc561c8f479a87885c0b50f Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 11 16:51:35 2022 +0200 Config loaders commit c197a1b91b6307432e560756da97887bbfb36de5 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 8 17:20:36 2022 +0200 Config files commit 2ef850426a14ecf3dc39ab4b122fb479bb1e8f11 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 7 13:16:01 2022 +0200 Functional jwt validattion and creation commit a52de743daeb3dce18db7e0848eea37d4c35b707 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 22:25:01 2022 +0200 Auth token jwt commit 2f446a484ad6e4330a3a40cc708a543ca47ce148 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 14:19:49 2022 +0200 Middleware commit 1a1bc6ef09b9bce995d9d4b3f4bf7b0d1ead988a Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:14:02 2022 +0200 Added more comments commit 8c36dc74a98aa66565851ab01aff91e641287f06 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:08:26 2022 +0200 Port start argument Also included as ENV in Dockerfile commit 6bfbbdf5c3f955ab680ee4b47863bd7f017ffd5a Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Apr 5 23:31:36 2022 +0200 Whopsie commit 7600f2812e01d266f3488ed32a49d1591740a3e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 20:05:13 2022 +0200 Routing commit 0dbb1c756fcd411e60b73752554d75c8bf04f0b5 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 18:20:12 2022 +0200 Added warnings & Dockerfile commit a787a0acd41ab182ca0607dc3c1796a28ce947bd Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 17:51:48 2022 +0200 Go branch init The assets are served, but no API
2022-07-04 15:47:59 +00:00
GetYearStatsLeaderboardTitle string `json:"get_year_stats_leaderboard_title"`
GetYearStatsMoviesDurationTitle string `json:"get_year_stats_movies_duration_title"`
GetYearStatsShowsDurationTitle string `json:"get_year_stats_shows_duration_title"`
GetYearStatsMusicDurationTitle string `json:"get_year_stats_music_duration_title"`
GetYearStatsDurationSumTitle string `json:"get_year_stats_duration_sum_title"`
WrapperrAnd string `json:"wrapperr_and"`
WrapperrPlay string `json:"wrapperr_play"`
WrapperrPlayPlural string `json:"wrapperr_play_plural"`
WrapperrDay string `json:"wrapperr_day"`
WrapperrDayPlural string `json:"wrapperr_day_plural"`
WrapperrHour string `json:"wrapperr_hour"`
WrapperrHourPlural string `json:"wrapperr_hour_plural"`
WrapperrMinute string `json:"wrapperr_minute"`
WrapperrMinutePlural string `json:"wrapperr_minute_plural"`
WrapperrSecond string `json:"wrapperr_second"`
WrapperrSecondPlural string `json:"wrapperr_second_plural"`
WrapperrSortPlays string `json:"wrapperr_sort_plays"`
WrapperrSortDuration string `json:"wrapperr_sort_duration"`
}
type WrapperrVersion struct {
WrapperrVersion string `json:"wrapperr_version"`
ApplicationName string `json:"application_name"`
PlexAuth bool `json:"plex_auth"`
WrapperrFrontPageTitle string `json:"wrapperr_front_page_title"`
WrapperrFrontPageSubtitle string `json:"wrapperr_front_page_subtitle"`
ClientKey string `json:"client_key"`
WrapperrConfigured bool `json:"wrapperr_configured"`
WinterTheme bool `json:"winter_theme"`
Message string `json:"message"`
Error bool `json:"error"`
}
type BooleanReply struct {
Message string `json:"message"`
Error bool `json:"error"`
Data bool `json:"data"`
}
type StringReply struct {
Message string `json:"message"`
Error bool `json:"error"`
Data string `json:"data"`
}
type ConfigReply struct {
Message string `json:"message"`
Error bool `json:"error"`
Data WrapperrConfig `json:"data"`
Username string `json:"username"`
}
type WrapperrFunctions struct {
WrapperrCustomize WrapperrCustomize `json:"wrapperr_customize"`
WrapperrVersion string `json:"wrapperr_version"`
PlexAuth bool `json:"plex_auth"`
CreateShareLinks bool `json:"create_share_links"`
}
type SetWrapperrConfig struct {
ClearCache bool `json:"clear_cache"`
DataType string `json:"data_type"`
TautulliConfig []TautulliConfig `json:"tautulli_config"`
Squashed commit of the following: commit 23a91e9daad1c482435581c69c756257ac703149 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jul 4 17:47:18 2022 +0200 Removed tmp text commit 1c09e583b2fa5e30a36c809e85fc43b328e3ad7f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jul 3 15:33:36 2022 +0200 Read log in admin interface commit 4ae253185a33bb13a94b1a200bf3aa92a62fb17d Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:27:39 2022 +0200 Added comments commit 89cabc36e86ae541fa9b001928211ba48e9ba48b Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:08:47 2022 +0200 Update index.js commit 12279e7ed47eeb45454ab525aa745eeaac0da180 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jul 2 00:02:36 2022 +0200 Update index.html commit a1c76b3e4d06cd25f7795390155521f2c341465f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 23:56:39 2022 +0200 Errors and frontend Cookies are more stable Errors are more concise commit ee170aeb3acf3f586c93e7b142a08bbb32a17134 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:33:27 2022 +0200 Better error handling commit 6317a1fa15ccfaf91fb2d8737e346621d9884008 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:18:45 2022 +0200 Added returns on errors commit 7126ddf2fbb824de0906fd6d7bfc2ca8acac0fdf Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 22:09:07 2022 +0200 Added ASCII Art commit 1fd45ede34abe6ae9555d9d6f23f87a2e67dba3b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:39:24 2022 +0200 Form CSS tweak commit 9861c662cd5f2b66721b3d2f2030d92d84bdf8bc Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:24:03 2022 +0200 Update route_admin_auth.go commit 119de6b2b1124266aae6cd5fec90fff2d2ddd24f Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:19:36 2022 +0200 Update route_admin_auth.go commit 87a43dfc4945fe5ce45b8d9d06c7dcd6a5c9ee0c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 21:17:21 2022 +0200 Bugs and CSS Time zone validation Caching log is prettier Return bug on certain API endpoints fixed commit 3e81df71516572944b8e46bad129da82235b1b85 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Jul 1 18:36:21 2022 +0200 Create codeql-analysis.yml commit 32d05f3fff0231139df0e590b98097d6c6e3cdfb Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:23:05 2022 +0200 Update index.js commit c3fcdee18406e1a9d96b26c85169e1db365bb36a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:15:38 2022 +0200 Capital W commit a243d310597b9f8148621690b9662f93b8467e83 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 18:08:53 2022 +0200 Update index.js commit 068739fc76b96c4379bf93aa39d11db1c2dfcada Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:58:48 2022 +0200 Update README.md commit d61074bde69f5dac1a1a2dd6b2164564131f53d1 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:56:55 2022 +0200 Docker-compose mistake commit 3036905d92d23cb0664559471fa9e0a81565fa64 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:55:30 2022 +0200 README touchups commit 6f07775121cec5cddf17f25efe349b300d43b8e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jul 1 17:48:10 2022 +0200 Rewrote README commit 58a26b11c77e6d21be0f433cd22c4da46f5d0450 Author: Aune <oystein.sverre@gmail.com> Date: Fri Jul 1 10:00:58 2022 +0200 Changed release workflow commit ffeea7ca689f405b6e629411f5bc9fc8c19e6b34 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 20:09:01 2022 +0200 Updated workflow to 1.18 commit aa321e87729673b4ce047f87b68f7223ea02d159 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 19:58:44 2022 +0200 Update README.md commit 5c4e59474882689f6dadf61f140a4ec18f744a1e Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Jun 30 18:16:30 2022 +0200 CSS fixes commit 97f3fc57a389e5dd637b560e48fee86c4163dcd5 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Jun 29 22:00:32 2022 +0200 Option to disable winter theme And loading screen commit cf804312c7b9b72b416ef2a53947efab79ab604b Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Jun 28 22:05:43 2022 +0200 Update README.md commit 362a15ee1daa2464ad4f27b7e3107a63d736e591 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 28 18:41:19 2022 +0200 Fixed buddy bug commit 58f4d0060230c2349634689438088dcdf48d7715 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jun 27 19:26:37 2022 +0200 Finalized show buddy commit 0f89a1df974af9947d9e297f3c662d4082c0403d Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 26 12:47:37 2022 +0200 Improved logging commit b57cb24928c2e213c38ce566478af11937e6e4e3 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Jun 25 13:42:14 2022 +0200 Finalized shareable links Links can be deleted Links are retrieved to the front page Links can be copied to clipboard commit 000022b882877bc306e13203578a3d1e184afc9a Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 18:47:34 2022 +0200 Get share links now functional commit df697f68b2bcedc7c623d9d9ec291a9625b62160 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:29:52 2022 +0200 Share link formatting bug commit 3b357ca72767fcbb9742a935f29770ab488ac36f Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jun 12 00:26:15 2022 +0200 Share link creation Started implementation Missing get and delete functionality Added delete cache option to Tautulli settings commit 54e079951ff131d9177fd0f4a79238c03043d875 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Jun 10 19:13:01 2022 +0200 Fixed bugs Shows with seasons in different years were split on top lists Amount of media plays was not unique to media-release, just amount of plays overall Fixed display for music minutes Logging can now be disabled Tautulli libraries were not included in API calls commit 26508af56a182b9611affb4401e5db494ae27c8b Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:38:08 2022 +0200 Fixed bug where top-lists under 10 crashed the API commit 0f28e39c8d4fe444c8d30caaaee9ca138d469270 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jun 7 20:17:41 2022 +0200 Fixed bug for year users duration-sum commit 1e3cb11637cfe001936d4b950b28564d2eec2a4b Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 29 19:51:15 2022 +0200 Statistics retrieval finished Revamped config get/set functions Redid some UI explanations Renamed template JSON commit 93390d469bab45560574e678a88b38dcef60f100 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon May 23 22:23:31 2022 +0200 Bug problem commit 3eb49b8da1c77d33923913e817cb41201cab3963 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 23:48:11 2022 +0200 Users commit aa6b3ec5121bb73cbe5828d9f42e1fd14514ddbd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 13:11:35 2022 +0200 More stats Leaderboard and show buddy missing Working on bug that resets config (?!) commit 29742a2b6305a3835c63fc2c7760018b3e2267f0 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun May 22 00:41:19 2022 +0200 Basis for stats retrieval personal movies, shows and music is functional commit a0df0759a76689638d47657abde755cc34dd4a1b Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:24 2022 +0200 Removed Docker folder commit 3e192997c08a5406a3d98e850218a674559f9ff0 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri May 20 17:06:05 2022 +0200 Renaming and Pop-up fix Pop ups should now not be blocked. Hopefully... commit 57b2d03fb57762c6c2aec7433a4f2affd6faa090 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 15:37:26 2022 +0200 CSS changes New rounded corners Transparent background colors Yellow borders Blurred background image Better footer placement More depth to snow particles commit b562e75bee6ff612019fa08d221fbf1ee69edd11 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 29 12:37:18 2022 +0200 API endpoints changes Get wrapperr-version now also retrieves config-state Login via Plex Auth disabled if Wrapperr is unconfigured Cookies changed to strict samesite value Logging changes commit e01bfc41cf46b3d7bc3b6627c93b67c0f70aa718 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Fri Apr 29 10:47:12 2022 +0200 Update README.md More shields commit 2d2893cb9b212016c3455fd4f8dd3a5b229550ba Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 22:09:24 2022 +0200 Comments and time zone fixes commit 271c16b00e0eb4d58a97ed3b82f0e96993a7d853 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 16:26:44 2022 +0200 Caching and caching loop commit 44376b4d57765258602ec585e59b0825938d3c77 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 27 10:33:18 2022 +0200 Pulling Tautulli History Moved Tautulli functions to their own file commit 5355dafc68c5c2ed5a7c7e413388981438314500 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 22:00:49 2022 +0200 Start of Tautulli data collection Added time-zone setting in code Created cache structs commit 8bcce997c3b1a0556752ff99b5925cce7e18c4b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 26 17:25:06 2022 +0200 Comments and caching mode commit 6e951efbcd6acb0b442a691ceb9919e95d3e9e98 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Apr 23 19:03:00 2022 +0200 User details fetch (From Plex & Tautulli) commit cb5b9384c0b716ef33770a0f96f6e4c0601cff50 Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Sat Apr 23 12:07:57 2022 +0200 Shields.io stats commit 343e0ac727576652ccd81e565a7a385879b1bfb4 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 18 22:14:49 2022 +0200 Begun stats function Moved Taut test to separate function from API endpoint commit b7e34224d7524358a4b59bd667d75b3b6527361c Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:26:54 2022 +0200 Update util.go commit 4a2598f77cce3c5e9d5fc66e9e870bf3cd4bfb51 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 15 02:22:34 2022 +0200 Error handling commit 09b80cf16c054d2767cd1cf50ae17f7f72268a53 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 15:01:59 2022 +0200 Updated readme to explain current standing commit 273b08f43ca317b6cd4ede01efb5040e63cc9839 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:46:34 2022 +0200 Removed test-log commands commit f2e85beb9d4aa9157b32933c50495c5f029787e4 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:26:17 2022 +0200 Removed legacy PHP files commit aaafea6da38173224d1b15063d4f32468ec12879 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 14:24:41 2022 +0200 URL builder & test Tautulli connection commit a02a172a7fc85a5a595fdb4003b00c8aa7d5f475 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 02:37:48 2022 +0200 Moved Plex Auth Get Pin to front end By moving this API call to the front end (JS), the IP address is identical when logging in. This removes the red warning. commit 744fae84a088cc77ba86d3c3687aff8d9caa77d7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 14 01:33:40 2022 +0200 Plex Auth Plex Auth login, validation and JWT token creation commit 820bbca58a5679ef6a1e98ec586442cd841ac958 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 20:45:00 2022 +0200 Update config API now updates config file commit cb581d69007b32e8e924ac22ba66c923dd9eef23 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 13 15:49:04 2022 +0200 More API functions - Admin login - Config/Admin file creation - Config API retrieval commit f832df727de5c5fe583f03e2d8906714ceaf8017 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 12 09:30:58 2022 +0200 Functional API endpoints Some basic functionality - Retrieve wrapperr version - Retrieve admin state - Create admin commit 76193b7230e90d578bc561c8f479a87885c0b50f Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Apr 11 16:51:35 2022 +0200 Config loaders commit c197a1b91b6307432e560756da97887bbfb36de5 Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Apr 8 17:20:36 2022 +0200 Config files commit 2ef850426a14ecf3dc39ab4b122fb479bb1e8f11 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Apr 7 13:16:01 2022 +0200 Functional jwt validattion and creation commit a52de743daeb3dce18db7e0848eea37d4c35b707 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 22:25:01 2022 +0200 Auth token jwt commit 2f446a484ad6e4330a3a40cc708a543ca47ce148 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 14:19:49 2022 +0200 Middleware commit 1a1bc6ef09b9bce995d9d4b3f4bf7b0d1ead988a Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:14:02 2022 +0200 Added more comments commit 8c36dc74a98aa66565851ab01aff91e641287f06 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Apr 6 09:08:26 2022 +0200 Port start argument Also included as ENV in Dockerfile commit 6bfbbdf5c3f955ab680ee4b47863bd7f017ffd5a Author: Aune <31650531+aunefyren@users.noreply.github.com> Date: Tue Apr 5 23:31:36 2022 +0200 Whopsie commit 7600f2812e01d266f3488ed32a49d1591740a3e6 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 20:05:13 2022 +0200 Routing commit 0dbb1c756fcd411e60b73752554d75c8bf04f0b5 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 18:20:12 2022 +0200 Added warnings & Dockerfile commit a787a0acd41ab182ca0607dc3c1796a28ce947bd Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Apr 5 17:51:48 2022 +0200 Go branch init The assets are served, but no API
2022-07-04 15:47:59 +00:00
WrapperrCustomize WrapperrCustomize `json:"wrapperr_customize"`
WrapperrData struct {
UseCache bool `json:"use_cache"`
UseLogs bool `json:"use_logs"`
PlexAuth bool `json:"plex_auth"`
WrapperrRoot string `json:"wrapperr_root"`
CreateShareLinks bool `json:"create_share_links"`
Timezone string `json:"timezone"`
ApplicationName string `json:"application_name"`
ApplicationURL string `json:"application_url"`
WrappedStart int `json:"wrapped_start"`
WrappedEnd int `json:"wrapped_end"`
WinterTheme bool `json:"winter_theme"`
} `json:"wrapperr_data"`
}
type GetLoginURL struct {
HomeURL string `json:"home_url"`
}
type GetLoginURLReply struct {
ID int `json:"id"`
Code string `json:"code"`
URL string `json:"url"`
Message string `json:"message"`
Error bool `json:"error"`
}
type PlexGetPinReply struct {
ID int `json:"id"`
Code string `json:"code"`
Product string `json:"product"`
Trusted bool `json:"trusted"`
ClientIdentifier string `json:"clientIdentifier"`
Location struct {
Code string `json:"code"`
EuropeanUnionMember bool `json:"european_union_member"`
ContinentCode string `json:"continent_code"`
Country string `json:"country"`
City string `json:"city"`
TimeZone string `json:"time_zone"`
PostalCode string `json:"postal_code"`
InPrivacyRestrictedCountry bool `json:"in_privacy_restricted_country"`
Subdivisions string `json:"subdivisions"`
Coordinates string `json:"coordinates"`
} `json:"location"`
ExpiresIn int `json:"expiresIn"`
CreatedAt time.Time `json:"createdAt"`
ExpiresAt time.Time `json:"expiresAt"`
AuthToken string `json:"authToken"`
NewRegistration interface{} `json:"newRegistration"`
}
type LoginPlexAuth struct {
ID int `json:"id"`
Code string `json:"code"`
}
type PlexGetUserReply struct {
ID int `json:"id"`
UUID string `json:"uuid"`
Username string `json:"username"`
Title string `json:"title"`
Email string `json:"email"`
FriendlyName string `json:"friendlyName"`
Locale interface{} `json:"locale"`
Confirmed bool `json:"confirmed"`
EmailOnlyAuth bool `json:"emailOnlyAuth"`
HasPassword bool `json:"hasPassword"`
Protected bool `json:"protected"`
Thumb string `json:"thumb"`
AuthToken string `json:"authToken"`
MailingListStatus string `json:"mailingListStatus"`
MailingListActive bool `json:"mailingListActive"`
ScrobbleTypes string `json:"scrobbleTypes"`
Country string `json:"country"`
Pin string `json:"pin"`
Subscription struct {
Active bool `json:"active"`
SubscribedAt time.Time `json:"subscribedAt"`
Status string `json:"status"`
PaymentService string `json:"paymentService"`
Plan string `json:"plan"`
Features []string `json:"features"`
} `json:"subscription"`
SubscriptionDescription string `json:"subscriptionDescription"`
Restricted bool `json:"restricted"`
Anonymous interface{} `json:"anonymous"`
Home bool `json:"home"`
Guest bool `json:"guest"`
HomeSize int `json:"homeSize"`
HomeAdmin bool `json:"homeAdmin"`
MaxHomeSize int `json:"maxHomeSize"`
CertificateVersion int `json:"certificateVersion"`
RememberExpiresAt int `json:"rememberExpiresAt"`
Profile struct {
AutoSelectAudio bool `json:"autoSelectAudio"`
DefaultAudioLanguage string `json:"defaultAudioLanguage"`
DefaultSubtitleLanguage string `json:"defaultSubtitleLanguage"`
AutoSelectSubtitle int `json:"autoSelectSubtitle"`
DefaultSubtitleAccessibility int `json:"defaultSubtitleAccessibility"`
DefaultSubtitleForced int `json:"defaultSubtitleForced"`
PlexPassVisibility string `json:"plexPassVisibility"`
AccountAgeVisibility string `json:"accountAgeVisibility"`
} `json:"profile"`
Entitlements []string `json:"entitlements"`
Roles []string `json:"roles"`
Services []struct {
Identifier string `json:"identifier"`
Endpoint string `json:"endpoint"`
Token string `json:"token"`
Secret interface{} `json:"secret"`
Status string `json:"status"`
} `json:"services"`
AdsConsent interface{} `json:"adsConsent"`
AdsConsentSetAt interface{} `json:"adsConsentSetAt"`
AdsConsentReminderAt interface{} `json:"adsConsentReminderAt"`
ExperimentalFeatures bool `json:"experimentalFeatures"`
TwoFactorEnabled bool `json:"twoFactorEnabled"`
BackupCodesCreated bool `json:"backupCodesCreated"`
}
type TautulliStatusReply struct {
Response struct {
Result string `json:"result"`
Message string `json:"message"`
Data struct {
} `json:"data"`
} `json:"response"`
}
type SearchWrapperrRequest struct {
CachingMode bool `json:"caching"`
CachingLimit int `json:"cache_limit"`
PlexIdentity string `json:"plex_identity"`
}
type TautulliGetUsersReply struct {
Response struct {
Result string `json:"result"`
Message interface{} `json:"message"`
Data []struct {
RowID int `json:"row_id"`
UserID int `json:"user_id"`
Username string `json:"username"`
FriendlyName string `json:"friendly_name"`
Thumb interface{} `json:"thumb"`
Email string `json:"email"`
IsActive int `json:"is_active"`
IsAdmin int `json:"is_admin"`
IsHomeUser interface{} `json:"is_home_user"`
IsAllowSync interface{} `json:"is_allow_sync"`
IsRestricted interface{} `json:"is_restricted"`
DoNotify int `json:"do_notify"`
KeepHistory int `json:"keep_history"`
AllowGuest int `json:"allow_guest"`
ServerToken interface{} `json:"server_token"`
SharedLibraries interface{} `json:"shared_libraries"`
FilterAll interface{} `json:"filter_all"`
FilterMovies interface{} `json:"filter_movies"`
FilterTv interface{} `json:"filter_tv"`
FilterMusic interface{} `json:"filter_music"`
FilterPhotos interface{} `json:"filter_photos"`
} `json:"data"`
} `json:"response"`
}
type WrapperrDay struct {
Date string `json:"date"`
Data []TautulliEntry `json:"data"`
DataComplete bool `json:"data_complete"`
}
type TautulliEntry struct {
Date int `json:"date"`
Duration int `json:"duration"`
RowID int `json:"row_id"`
FriendlyName string `json:"friendly_name"`
FullTitle string `json:"full_title"`
GrandparentRatingKey int `json:"grandparent_rating_key"`
GrandparentTitle string `json:"grandparent_title"`
OriginalTitle string `json:"original_title"`
MediaType string `json:"media_type"`
ParentRatingKey int `json:"parent_rating_key"`
ParentTitle string `json:"parent_title"`
PausedCounter int `json:"paused_counter"`
PercentComplete int `json:"percent_complete"`
RatingKey int `json:"rating_key"`
Title string `json:"title"`
User string `json:"user"`
UserID int `json:"user_id"`
Year int `json:"year"`
Plays int `json:"plays"`
}
type WrapperrYearUserEntry struct {
FriendlyName string `json:"friendly_name"`
GrandparentTitle string `json:"grandparent_title"`
OriginalTitle string `json:"original_title"`
ParentTitle string `json:"parent_title"`
PausedCounter int `json:"paused_counter"`
Title string `json:"title"`
User string `json:"user"`
UserID int `json:"user_id"`
Year int `json:"year"`
Plays int `json:"plays"`
DurationMovies int `json:"duration_movies"`
DurationShows int `json:"duration_shows"`
DurationArtists int `json:"duration_artists"`
Duration int `json:"duration"`
}
type TautulliGetHistoryReply struct {
Response struct {
Result string `json:"result"`
Message interface{} `json:"message"`
Data struct {
RecordsFiltered int `json:"recordsFiltered"`
RecordsTotal int `json:"recordsTotal"`
Data []TautulliHistoryItem `json:"data"`
Draw int `json:"draw"`
FilterDuration string `json:"filter_duration"`
TotalDuration string `json:"total_duration"`
} `json:"data"`
} `json:"response"`
}
type TautulliHistoryItem struct {
ReferenceID int `json:"reference_id"`
RowID int `json:"row_id"`
ID int `json:"id"`
Date int `json:"date"`
Started int `json:"started"`
Stopped int `json:"stopped"`
Duration int `json:"duration"`
PausedCounter int `json:"paused_counter"`
UserID int `json:"user_id"`
User string `json:"user"`
FriendlyName string `json:"friendly_name"`
Platform string `json:"platform"`
Product string `json:"product"`
Player string `json:"player"`
IPAddress string `json:"ip_address"`
Live int `json:"live"`
MachineID string `json:"machine_id"`
Location string `json:"location"`
Secure interface{} `json:"secure"`
Relayed interface{} `json:"relayed"`
MediaType string `json:"media_type"`
RatingKey int `json:"rating_key"`
ParentRatingKey int `json:"parent_rating_key"`
GrandparentRatingKey int `json:"grandparent_rating_key"`
FullTitle string `json:"full_title"`
Title string `json:"title"`
ParentTitle string `json:"parent_title"`
GrandparentTitle string `json:"grandparent_title"`
OriginalTitle string `json:"original_title"`
Year int `json:"year"`
MediaIndex string `json:"media_index"`
ParentMediaIndex string `json:"parent_media_index"`
Thumb string `json:"thumb"`
OriginallyAvailableAt string `json:"originally_available_at"`
GUID string `json:"guid"`
TranscodeDecision string `json:"transcode_decision"`
PercentComplete int `json:"percent_complete"`
WatchedStatus int `json:"watched_status"`
GroupCount int `json:"group_count"`
GroupIds string `json:"group_ids"`
State interface{} `json:"state"`
SessionKey interface{} `json:"session_key"`
}
type WrapperrStatisticsReply struct {
Error bool `json:"error"`
Date string `json:"date"`
Message string `json:"message"`
User struct {
Name string `json:"name"`
ID int `json:"id"`
UserMovies struct {
Data struct {
MoviesDuration []TautulliEntry `json:"movies_duration"`
MoviesPlays []TautulliEntry `json:"movies_plays"`
UserMovieMostPaused struct {
Title string `json:"title"`
Year int `json:"year"`
Plays int `json:"plays"`
Duration int `json:"duration"`
PausedCounter int `json:"paused_counter"`
} `json:"user_movie_most_paused"`
UserMovieFinishingPercent float64 `json:"user_movie_finishing_percent"`
UserMovieOldest struct {
Title string `json:"title"`
Year int `json:"year"`
Plays int `json:"plays"`
Duration int `json:"duration"`
PausedCounter int `json:"paused_counter"`
Error bool `json:"error"`
} `json:"user_movie_oldest"`
MovieDuration int `json:"movie_duration"`
MoviePlays int `json:"movie_plays"`
} `json:"data"`
Message string `json:"message"`
Error bool `json:"error"`
} `json:"user_movies"`
UserShows struct {
Data struct {
ShowsDuration []TautulliEntry `json:"shows_duration"`
ShowsPlays []TautulliEntry `json:"shows_plays"`
EpisodeDurationLongest struct {
Title string `json:"title"`
ParentTitle string `json:"parent_title"`
GrandparentTitle string `json:"grandparent_title"`
Duration int `json:"duration"`
Plays int `json:"plays"`
Error bool `json:"error"`
} `json:"episode_duration_longest"`
ShowDuration int `json:"show_duration"`
ShowPlays int `json:"show_plays"`
ShowBuddy WrapperrShowBuddy `json:"show_buddy"`
} `json:"data"`
Message string `json:"message"`
Error bool `json:"error"`
} `json:"user_shows"`
UserMusic struct {
Data struct {
TracksDuration []TautulliEntry `json:"tracks_duration"`
TracksPlays []TautulliEntry `json:"tracks_plays"`
AlbumsDuration []TautulliEntry `json:"albums_duration"`
AlbumsPlays []TautulliEntry `json:"albums_plays"`
UserAlbumOldest struct {
ParentTitle string `json:"parent_title"`
GrandparentTitle string `json:"grandparent_title"`
Year int `json:"year"`
Plays int `json:"plays"`
Duration int `json:"duration"`
Error bool `json:"error"`
} `json:"user_album_oldest"`
ArtistsDuration []TautulliEntry `json:"artists_duration"`
ArtistsPlays []TautulliEntry `json:"artists_plays"`
TrackDuration int `json:"track_duration"`
TrackPlays int `json:"track_plays"`
} `json:"data"`
Message string `json:"message"`
Error bool `json:"error"`
} `json:"user_music"`
} `json:"user"`
YearStats struct {
YearMovies struct {
Data struct {
MoviesDuration []TautulliEntry `json:"movies_duration"`
MoviesPlays []TautulliEntry `json:"movies_plays"`
MovieDuration int `json:"movie_duration"`
MoviePlays int `json:"movie_plays"`
} `json:"data"`
Message string `json:"message"`
Error bool `json:"error"`
} `json:"year_movies"`
YearShows struct {
Data struct {
ShowsDuration []TautulliEntry `json:"shows_duration"`
ShowsPlays []TautulliEntry `json:"shows_plays"`
ShowDuration int `json:"show_duration"`
ShowPlays int `json:"show_plays"`
} `json:"data"`
Message string `json:"message"`
Error bool `json:"error"`
} `json:"year_shows"`
YearMusic struct {
Data struct {
ArtistsDuration []TautulliEntry `json:"artists_duration"`
ArtistsPlays []TautulliEntry `json:"artists_plays"`
MusicDuration int `json:"music_duration"`
MusicPlays int `json:"music_plays"`
} `json:"data"`
Message string `json:"message"`
Error bool `json:"error"`
} `json:"year_music"`
YearUsers struct {
Data struct {
UsersDuration []WrapperrYearUserEntry `json:"users_duration"`
UsersPlays []WrapperrYearUserEntry `json:"users_plays"`
} `json:"data"`
Message string `json:"message"`
Error bool `json:"error"`
} `json:"year_users"`
} `json:"year_stats"`
}
type WrapperrShareLinkCreateRequest struct {
Data WrapperrStatisticsReply `json:"data"`
Functions WrapperrCustomize `json:"functions"`
}
type WrapperrShareLinkGetRequest struct {
Hash string `json:"hash"`
}
type WrapperrShareLink struct {
Date string `json:"date"`
UserID int `json:"user_id"`
WrapperrVersion string `json:"wrapperr_version"`
Hash string `json:"hash"`
Content WrapperrShareLinkCreateRequest `json:"content"`
Message string `json:"message"`
Error bool `json:"error"`
Expired bool `json:"expired"`
}
type WrapperrShowBuddy struct {
Message string `json:"message"`
Error bool `json:"error"`
BuddyName string `json:"buddy_name"`
BuddyDuration int `json:"buddy_duration"`
BuddyFound bool `json:"buddy_found"`
}
type WrapperrLogLine struct {
Date string `json:"date"`
Time string `json:"time"`
Message string `json:"message"`
}
type WrapperrLogLineReply struct {
Message string `json:"message"`
Error bool `json:"error"`
Data []WrapperrLogLine `json:"data"`
Limit int `json:"limit"`
}