wrapperr/admin.js

2198 lines
130 KiB
JavaScript
Raw Normal View History

function topFunction() {
document.body.scrollTop = 0; // For Safari
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
}
function login_menu() {
topFunction();
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
var html = '<h2>Admin Login</h2>';
html += '<form id="password_login_form" onsubmit="log_in();return false">'
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group newline">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="username" title="The username chosen during first-time setup.">Username:</label>';
html += '<input type="text" class="form-control" id="username" value="" placeholder="" minlength=4 autocomplete="on" required />';
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group newline">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="password" title="The password chosen during first-time setup.">Password:</label>';
html += '<input type="password" class="form-control" id="password" value="" autocomplete="off" required />';
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group newline">';
html += '<div id="password_login_form_error"></div>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<button type="submit" class="form-control btn" id="log_in_button"><img src="../assets/done.svg" class="btn_logo"><p2>Log in</p2></button>';
html += '</div>';
html += '</form>';
document.getElementById("setup").innerHTML = html;
}
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
function log_in() {
// Disable button
document.getElementById("log_in_button").disabled = true;
document.getElementById("log_in_button").style.opacity = '0.5';
// Get variables
password = document.getElementById('password').value;
username = document.getElementById('username').value;
admin_login_form = {"password" : password, "username" : username};
var admin_login_data = JSON.stringify(admin_login_form);
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
try {
var result= JSON.parse(this.responseText);
} catch(error) {
console.log('Failed to parse API response. Response: ' + this.responseText)
document.getElementById("log_in_button").disabled = false;
document.getElementById("log_in_button").style.opacity = '1';
document.getElementById('password').value = '';
}
if(result.error) {
document.getElementById("password_login_form_error").innerHTML = result.message;
document.getElementById("log_in_button").disabled = false;
document.getElementById("log_in_button").style.opacity = '1';
document.getElementById('password').value = '';
} else {
set_cookie("wrapperr-admin", result.cookie, 7);
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
location.reload();
}
}
};
xhttp.withCredentials = true;
xhttp.open("post", "../api/get_login_admin_cookie.php");
xhttp.send(admin_login_data);
return;
}
function set_password_form() {
topFunction();
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
var html = '<h2>Create admin</h2>';
html += '<form id="password_form" onsubmit="set_password();return false;">'
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group newline">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="username" title="The username needed to log in as administrator and change the config-file remotely.">Set an admin username:</label>';
html += '<input type="text" class="form-control" id="username" value="' + username + '" placeholder="" minlength=4 autocomplete="on" required />';
html += '</div>';
html += '<div class="form-group">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="password" title="The password needed to change the config-file remotely.">Set an admin password:</label>';
html += '<input type="password" class="form-control" id="password" value="' + password + '" placeholder="" autocomplete="off" required />';
html += '</div>';
html += '<div class="form-group">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="password_2" title="The password needed to change the config-file remotely.">Repeat the password:</label>';
html += '<input type="password" class="form-control" id="password_2" value="' + password + '" placeholder="" autocomplete="off" required />';
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group newline">';
html += '<div id="password_form_error"></div>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<button type="submit" class="form-control btn" id="create_admin_button"><img src="../assets/done.svg" class="btn_logo"><p2>Create account</p2></button>';
html += '</div>';
html += '</form>';
document.getElementById("setup").innerHTML = html;
}
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
function set_password() {
// Disable button
document.getElementById("create_admin_button").disabled = true;
document.getElementById("create_admin_button").style.opacity = '0.5';
// Check password match
if(document.getElementById('password').value != document.getElementById('password_2').value) {
alert("The passwords must match.");
document.getElementById('password').value = "";
document.getElementById('password_2').value = "";
document.getElementById('password').focus();
document.getElementById("create_admin_button").disabled = false;
document.getElementById("create_admin_button").style.opacity = '1';
return false;
} else {
password = document.getElementById('password').value;
username = document.getElementById('username').value;
}
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
admin_create_form = {"password" : password, "username" : username};
var admin_create_data = JSON.stringify(admin_create_form);
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
try {
var result= JSON.parse(this.responseText);
} catch(error) {
console.log('Failed to parse API response. Response: ' + this.responseText)
document.getElementById("create_admin_button").disabled = false;
document.getElementById("create_admin_button").style.opacity = '1';
}
if(result.error) {
document.getElementById("password_form_error").innerHTML = result.message;
document.getElementById("create_admin_button").disabled = false;
document.getElementById("create_admin_button").style.opacity = '1';
} else {
location.reload();
}
}
};
xhttp.withCredentials = true;
xhttp.open("post", "../api/create_admin.php");
xhttp.send(admin_create_data);
return;
}
function update_password_form() {
topFunction();
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
var html = '<div class="form-group newline">';
html += '<button class="form-control btn" name="admin_menu_return_button" id="admin_menu_return_button" onclick="get_config(get_cookie(\'wrapperr-admin\'));"><img src="../assets/trash.svg" class="btn_logo"></img><p2 id="admin_menu_return_button_text">Return</p2></button>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<hr>';
html += '</div>';
html += '<form id="update_password_form" onsubmit="return false;">'
html += '<div class="form-group newline">';
html += '<label for="username" title="The username needed to log in as administrator and change the config-file remotely.">Update admin username:</label>';
html += '<input type="text" class="form-control" id="username" value="' + username + '" placeholder="" minlength=4 autocomplete="on" required />';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="password" title="The password needed to change the config-file remotely.">Update admin password:</label>';
html += '<input type="password" class="form-control" id="password" value="" placeholder="" autocomplete="off" required />';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="password_2" title="The password needed to change the config-file remotely.">Repeat the password:</label>';
html += '<input type="password" class="form-control" id="password_2" value="" placeholder="" autocomplete="off" required />';
html += '</div>';
html += '<div class="form-group newline">';
html += '<div id="password_form_error"></div>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<button type="submit" class="form-control btn" onclick="update_password();" id="update_admin_button"><img src="../assets/done.svg" class="btn_logo"><p2>Update account</p2></button>';
html += '</div>';
html += '</form>';
document.getElementById("setup").innerHTML = html;
}
function update_password() {
// Disable button
document.getElementById("update_admin_button").disabled = true;
document.getElementById("update_admin_button").style.opacity = '0.5';
// Check password match
if(document.getElementById('password').value != document.getElementById('password_2').value) {
alert("The passwords must match.");
document.getElementById('password').value = "";
document.getElementById('password_2').value = "";
document.getElementById('password').focus();
document.getElementById("update_admin_button").disabled = false;
document.getElementById("update_admin_button").style.opacity = '1';
return false;
} else {
password = document.getElementById('password').value;
username = document.getElementById('username').value;
}
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
admin_create_form = {"cookie" : get_cookie("wrapperr-admin"), "password" : password, "username" : username};
var admin_create_data = JSON.stringify(admin_create_form);
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
try {
var result= JSON.parse(this.responseText);
} catch(error) {
document.getElementById("password_form_error").innerHTML = 'Failed to parse API response.';
console.log('Failed to parse API response. Response: ' + this.responseText)
document.getElementById("update_admin_button").disabled = false;
document.getElementById("update_admin_button").style.opacity = '1';
}
if(result.error) {
document.getElementById("password_form_error").innerHTML = result.message;
document.getElementById("update_admin_button").disabled = false;
document.getElementById("update_admin_button").style.opacity = '1';
} else {
set_cookie("wrapperr-admin", "", 1);
location.reload();
}
}
};
xhttp.withCredentials = true;
xhttp.open("post", "../api/set_admin.php");
xhttp.send(admin_create_data);
return;
}
function get_admin_state() {
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
try {
var result= JSON.parse(this.responseText);
} catch(error) {
console.log('Failed to parse API response. Response: ' + this.responseText)
}
if(result.error) {
console.log(result.message);
} else if(!result.configured) {
first_time = true;
set_password_form();
} else {
login_menu();
}
}
};
xhttp.withCredentials = true;
xhttp.open("post", "../api/get_admin_state.php");
xhttp.send();
return;
}
function sign_out() {
set_cookie("wrapperr-admin", "", 1);
location.reload();
}
function admin_menu() {
var html = '<div class="form-group">';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<button class="form-control btn" onclick="update_password_form()"><img src="../assets/config.svg" class="btn_logo"><p2>Admin settings</p2></button>';
html += '</div>';
html += '<div class="form-group">';
html += '<button class="form-control btn" name="plex_signout_button" id="plex_signout_button" onclick="sign_out()"><img src="../assets/close.svg" class="btn_logo"></img><p2 id="plex_signout_button_text">Sign Out</p2></button>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<hr>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<button class="form-control btn" onclick="set_tautulli_settings()" id="set_tautulli_settings"><img src="../assets/config.svg" class="btn_logo"><p2>Tautulli settings</p2></button>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<button class="form-control btn" onclick="set_wrapperr_settings()" id="set_wrapperr_settings"><img src="../assets/config.svg" class="btn_logo"><p2>Wrapperr settings</p2></button>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<button class="form-control btn" onclick="set_wrapperr_customization()" id="set_wrapperr_customization"><img src="../assets/config.svg" class="btn_logo"><p2>Wrapperr customization</p2></button>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<button class="form-control btn" onclick="caching_menu()" id="caching_menu"><img src="../assets/download.svg" class="btn_logo"><p2>Caching</p2></button>';
html += '</div>';
document.getElementById("setup").innerHTML = html;
if(timezone === '') {
document.getElementById("set_wrapperr_settings").style.border = '0.15em dashed var(--red)';
document.getElementById("caching_menu").disabled = true;
document.getElementById("caching_menu").style.opacity = '0.5';
}
if(wrapped_start === '' || wrapped_end === '') {
document.getElementById("set_wrapperr_customization").style.border = '0.15em dashed var(--red)';
document.getElementById("caching_menu").disabled = true;
document.getElementById("caching_menu").style.opacity = '0.5';
}
if(tautulli_ip === '' || tautulli_apikey === '' || tautulli_length === '') {
document.getElementById("set_tautulli_settings").style.border = '0.15em dashed var(--red)';
document.getElementById("caching_menu").disabled = true;
document.getElementById("caching_menu").style.opacity = '0.5';
}
}
function set_tautulli_settings() {
topFunction();
var html = '<div class="form-group newline">';
html += '<button class="form-control btn" name="admin_menu_return_button" id="admin_menu_return_button" onclick="get_config(get_cookie(\'wrapperr-admin\'));"><img src="../assets/trash.svg" class="btn_logo"></img><p2 id="admin_menu_return_button_text">Return</p2></button>';
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group newline">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<hr>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '</div>';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<form id="set_tautulli_form" onsubmit="return false;">'
html += '<div class="form-group">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="tautulli_apikey" title="The API key is needed for Plex-Wrapped to interact with Tautulli. Commonly found at Tautulli->Settings->Web Interface->API Key.">Tautulli API key:</label>';
html += '<input type="text" class="form-control" id="tautulli_apikey" value="' + tautulli_apikey + '" autocomplete="off" required placeholder="" /><br>';
html += '</div>';
html += '<div class="form-group">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="tautulli_ip" title="The IP address or domain that connects to Tautulli. No subfolders, as this is another setting, but subdomains can be defined.">IP or domain for Tautulli connection:</label>';
html += '<input type="text" class="form-control" id="tautulli_ip" value="' + tautulli_ip + '" required placeholder="" /><br>';
html += '</div>';
html += '<div class="form-group">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="tautulli_port" title="The port Tautulli uses for connections. Typically empty if a domain is used.">Port for Tautulli: (Optional)</label>';
html += '<input type="text" class="form-control" id="tautulli_port" value="' + tautulli_port + '" placeholder="" /><br>';
html += '</div>';
html += '<div class="form-group">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="tautulli_length" title="The max amount of entries Tautulli responds with during API calls. Typically doesn\'t need to be changed, but if you have more than 5000 entries in a day, they won\'t be loaded.">Tautlli item length:</label>';
html += '<input type="number" min="0" class="form-control" id="tautulli_length" value="' + tautulli_length + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '<div class="form-group">';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<label for="tautulli_root" title="Subfolder for Tautulli, no slashes needed at the beginning or end. It is the folder accessed after the main IP/domain. For example: \'tautulli.com/subfolder\' would mean you enter \'subfolder\' here.">Tautulli URL Base: (Optional)</label>';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<input type="text" class="form-control" id="tautulli_root" value="' + tautulli_root + '" autocomplete="off" placeholder=""/><br>';
html += '</div>';
2021-10-04 20:21:43 +00:00
html += '<div class="form-group">';
html += '<label for="tautulli_libraries" title="Comma seprated list of ID\'s to use for statistics. If none are given, it will search all.">Library ID\'s to use: (Optional)</label>';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<input type="text" class="form-control" id="tautulli_libraries" value="' + tautulli_libraries + '" autocomplete="off" placeholder=""/><br>';
2021-10-04 20:21:43 +00:00
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group newline">';
html += '<label for="https" title="Enable if your connection uses HTTPS.">Use HTTPS:</label>';
html += '<input type="checkbox" class="form-control" id="https" ';
if(https) {
html += 'checked="' + https + '" ';
}
html += '/><br>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<button style="background-color: lightgrey;" type="button" class="form-control btn" id="test_connection" onclick="test_tautulli_connection()"><img src="../assets/synchronize.svg" class="btn_logo"><p2 id="test_tautulli_text">Test Tautulli connection</p2></button>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<button type="submit" class="form-control btn" onclick="set_tautulli_settings_call();" id="set_tautulli_form_button"><img src="../assets/done.svg" class="btn_logo"></img><p2 id="set_tautulli_form_button_text">Save</p2></button>';
html += '</div>';
html += '</form>';
document.getElementById("setup").innerHTML = html;
}
function set_tautulli_settings_call() {
document.getElementById("set_tautulli_form_button").disabled = true;
document.getElementById("set_tautulli_form_button").style.opacity = '0.5';
tautulli_apikey = document.getElementById('tautulli_apikey').value;
tautulli_ip = document.getElementById('tautulli_ip').value;
tautulli_port = document.getElementById('tautulli_port').value;
tautulli_length = document.getElementById('tautulli_length').value;
tautulli_root = document.getElementById('tautulli_root').value;
tautulli_libraries = document.getElementById('tautulli_libraries').value;
https = document.getElementById('https').checked;
if(tautulli_apikey === '') {
document.getElementById("set_tautulli_form_button").disabled = false;
document.getElementById("set_tautulli_form_button").style.opacity = '1';
alert('API key is required for Tautulli to function.');
document.getElementById('tautulli_apikey').focus();
return;
}
if(tautulli_ip === '') {
document.getElementById("set_tautulli_form_button").disabled = false;
document.getElementById("set_tautulli_form_button").style.opacity = '1';
alert('Tautulli IP is required for Tautulli to function.');
document.getElementById('tautulli_ip').focus();
return;
}
if(tautulli_length === '') {
document.getElementById("set_tautulli_form_button").disabled = false;
document.getElementById("set_tautulli_form_button").style.opacity = '1';
alert('Tautulli item length is required for Tautulli to function.');
document.getElementById('tautulli_length').focus();
return;
}
tautulli_settings_form = {
"cookie" : cookie,
"clear_cache" : false,
"data_type" : "tautulli_settings",
"data" : {
"tautulli_apikey" : tautulli_apikey,
"tautulli_ip" : tautulli_ip,
"tautulli_port" : tautulli_port,
"tautulli_length" : tautulli_length,
"tautulli_root" : tautulli_root,
"tautulli_libraries" : tautulli_libraries,
"https" : https
}
};
var tautulli_settings_data = JSON.stringify(tautulli_settings_form);
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
try {
var result= JSON.parse(this.responseText);
} catch(error) {
alert('Failed to parse API response.');
console.log('Failed to parse API response. Response: ' + this.responseText)
document.getElementById("set_tautulli_form_button").disabled = false;
document.getElementById("set_tautulli_form_button").style.opacity = '1';
}
if(result.error) {
alert(result.message);
document.getElementById("set_tautulli_form_button").disabled = false;
document.getElementById("set_tautulli_form_button").style.opacity = '1';
} else {
get_config(get_cookie('wrapperr-admin'));
}
}
};
xhttp.withCredentials = true;
xhttp.open("post", "../api/set_config.php");
xhttp.send(tautulli_settings_data);
return;
}
function set_wrapperr_settings() {
topFunction();
var html = '<div class="form-group newline">';
html += '<button class="form-control btn" name="admin_menu_return_button" id="admin_menu_return_button" onclick="get_config(get_cookie(\'wrapperr-admin\'));"><img src="../assets/trash.svg" class="btn_logo"></img><p2 id="admin_menu_return_button_text">Return</p2></button>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<hr>';
html += '</div>';
html += '<form id="wrapperr_settings_form" onsubmit="return false;">'
html += '<div class="form-group">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="timezone" title="The timezone the data is located in, like \'Europe/Oslo\'. Type it exactly as it is specified in the PHP documentation.">Timezone: <a href="https://www.php.net/manual/en/timezones.php" target="_blank">(List)</a></label>';
html += '<input type="text" class="form-control" id="timezone" value="' + timezone + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '<div class="form-group">';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<label for="application_name_str" title="Title of application shown on the pages. Replaces Wrapperr.">Application Name: (Optional)</label>';
html += '<input type="text" class="form-control" id="application_name_str" value="' + application_name_str + '" autocomplete="off" placeholder=""/><br>';
html += '</div>';
html += '<div class="form-group">';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<label for="application_url_str" title="The domain/URL for Wrapperr. For example \'https://wrapperr-is-cool.example\'.">Wrapperr URL: (Optional)</label>';
html += '<input type="text" class="form-control" id="application_url_str" value="' + application_url_str + '" autocomplete="off" placeholder=""/><br>';
html += '</div>';
html += '<div class="form-group">';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<label for="wrapperr_root" title="Subfolder for Wrapperr, no slashes needed at the beginning or end. It is the folder accessed after the main IP/domain. For example: \'mycooldomain.com/wrapperr\' would mean you enter \'wrapperr\' here.">Wrapperr URL Base: (Optional)</label>';
html += '<input type="text" class="form-control" id="wrapperr_root" value="' + wrapperr_root + '" autocomplete="off" placeholder=""/><br>';
html += '</div>';
html += '<div class="form-group newline">';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="create_share_links" title="Grants users the ability to create a URL for sharing. Valid for 7 days.">Allow shareable URL creation:<br>';
html += '<input type="checkbox" class="form-control" id="create_share_links" ';
if(create_share_links) {
html += 'checked="' + create_share_links + '" ';
}
html += '/><br>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="use_logs" title="Logs every API request into a log-file in the config folder. ID for Wrapped request included.">Log API calls:<br>';
html += '<input type="checkbox" class="form-control" id="use_logs" ';
if(use_logs) {
html += 'checked="' + use_logs + '" ';
}
html += '/><br>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<div class="warning">!<br>If your wrapped period is long and no results are pre-cached, the wait time can be extensive, which leads to PHP/parsing errors. Using this cache feature and caching once is recommended, after setup.</div>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<label for="use_cache" title="Caches your results in cache.json for later use.">Cache results for later use:<br>';
html += '<input type="checkbox" class="form-control" id="use_cache" ';
if(use_cache) {
html += 'checked="' + use_cache + '" ';
}
html += '/><br>';
html += '</div>';
html += '<div class="form-group newline" title="Clear the cache now to include the newest settings.">';
html += '<label for="clear_cache">Clear cache now:<br>';
html += '<input type="checkbox" class="form-control" id="clear_cache" checked /></label>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<button type="submit" class="form-control btn" onclick="set_wrapperr_settings_call();" id="set_wrapperr_settings_form_button"><img src="../assets/done.svg" class="btn_logo"></img><p2 id="set_wrapperr_settings_form_button_text">Save</p2></button>';
html += '</div>';
html += '</form>';
document.getElementById("setup").innerHTML = html;
}
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
function set_wrapperr_settings_call() {
document.getElementById("set_wrapperr_settings_form_button").disabled = true;
document.getElementById("set_wrapperr_settings_form_button").style.opacity = '0.5';
use_cache = document.getElementById('use_cache').checked;
use_logs = document.getElementById('use_logs').checked;
wrapperr_root = document.getElementById('wrapperr_root').value;
application_name_str = document.getElementById('application_name_str').value;
application_url_str = document.getElementById('application_url_str').value;
create_share_links = document.getElementById('create_share_links').checked;
timezone = document.getElementById('timezone').value;
clear_cache = document.getElementById('clear_cache').checked;
if(timezone === '') {
document.getElementById("set_wrapperr_settings_form_button").disabled = false;
document.getElementById("set_wrapperr_settings_form_button").style.opacity = '1';
alert('Timezone is required for Wrapperr to function.');
document.getElementById('timezone').focus();
return;
}
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
wrapperr_settings_form = {
"cookie" : cookie,
"clear_cache" : clear_cache,
"data_type" : "wrapperr_settings",
"data" : {
"use_cache" : use_cache,
"use_logs" : use_logs,
"wrapperr_root" : wrapperr_root,
"create_share_links" : create_share_links,
"timezone" : timezone,
"application_name" : application_name_str,
"application_url" : application_url_str
}
};
var wrapperr_settings_data = JSON.stringify(wrapperr_settings_form);
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
try {
var result= JSON.parse(this.responseText);
} catch(error) {
alert('Failed to parse API response.');
console.log('Failed to parse API response. Response: ' + this.responseText);
document.getElementById("set_wrapperr_settings_form_button").disabled = false;
document.getElementById("set_wrapperr_settings_form_button").style.opacity = '1';
}
if(result.error) {
alert(result.message);
document.getElementById("set_wrapperr_settings_form_button").disabled = false;
document.getElementById("set_wrapperr_settings_form_button").style.opacity = '1';
} else {
get_config(get_cookie('wrapperr-admin'));
}
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
}
};
xhttp.withCredentials = true;
xhttp.open("post", "../api/set_config.php");
xhttp.send(wrapperr_settings_data);
return;
}
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
function set_wrapperr_customization() {
topFunction();
var html = '<div class="form-group newline">';
html += '<button class="form-control btn" name="admin_menu_return_button" id="admin_menu_return_button" onclick="get_config(get_cookie(\'wrapperr-admin\'));"><img src="../assets/trash.svg" class="btn_logo"></img><p2 id="admin_menu_return_button_text">Return</p2></button>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<hr>';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<form id="wrapperr_customization_form" onsubmit="return false;">'
var temp_date = wrapped_start.toLocaleDateString("en-GB", { // you can skip the first argument
year: "numeric",
month: "2-digit",
day: "2-digit",
hour: "2-digit",
minute: "2-digit",
second: "2-digit",
timezone: "Europe/London",
});
var temp_date = temp_date.split(',');
var temp_date_first = temp_date[0].split('/');
var temp_date_second = temp_date[1].split(':');
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group newline">';
html += '<div class="warning">!<br>Load time for long wrapped periods are long, and leads to PHP/parsing errors. Consider enabling caching in Wrapperr settings and performing pre-caching once.</div>';
html += '</div>';
html += '<div class="form-group">';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<label for="wrapped_start" title="The start of the period you want wrapped.">Start of wrapped period:<br>';
html += '<input type="datetime-local" class="form-control" id="wrapped_start" value="' + temp_date_first[2].trim() + '-' + temp_date_first[1].trim() + '-' + temp_date_first[0].trim() + 'T' + temp_date_second[0].trim() + ':' + temp_date_second[1].trim() + '" required /><br>';
html += '</div>';
var temp_date = wrapped_end.toLocaleDateString("en-GB", { // you can skip the first argument
year: "numeric",
month: "2-digit",
day: "2-digit",
hour: "2-digit",
minute: "2-digit",
second: "2-digit",
timezone: "Europe/London",
});
var temp_date = temp_date.split(',');
var temp_date_first = temp_date[0].split('/');
var temp_date_second = temp_date[1].split(':');
html += '<div class="form-group">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="wrapped_end" title="The end of your wrapped period. All data until this point is viable.">End of wrapped period:<br>';
html += '<input type="datetime-local" class="form-control" id="wrapped_end" value="' + temp_date_first[2].trim() + '-' + temp_date_first[1].trim() + '-' + temp_date_first[0].trim() + 'T' + temp_date_second[0].trim() + ':' + temp_date_second[1].trim() + '" required /></label>';
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group newline">';
html += '<hr>';
html += '</div>';
html += '<div class="form-group newline">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="stats_intro" title="Introduction text that is shown when the statistics are done loading. Could be used to inform about chosen timeframe. HTML allowed.">Introduction for statistics page:<br>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<textarea cols="40" rows="5" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 5em;" id="stats_intro" name="stats_intro" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<hr>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<label for="get_user_movie_stats" title="Includes movie statistics in your wrapped period.">Get users movie statistics:<br>';
html += '<input type="checkbox" class="form-control" id="get_user_movie_stats" ';
if(get_user_movie_stats) {
html += 'checked="' + get_user_movie_stats + '" ';
}
html += '/><br>';
html += '</div>';
html += '<div class="form_hidden" id="get_user_movie_stats_custom">';
html += '<div class="form_block" id="plural">';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_title" title="Title on top of this section.">Movies title:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_title" name="get_user_movie_stats_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_subtitle" title="Subtitle underneath title on top of this section.">Movies subtitle:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_subtitle" name="get_user_movie_stats_subtitle" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_subsubtitle" title="Sub-subtitle underneath subtitle on top of this section.">Movies sub-subtitle:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_subsubtitle" name="get_user_movie_stats_subsubtitle" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block" id="singular">';
html += '<div class="form-group" id="singular">';
html += '<label for="get_user_movie_stats_subtitle_one" title="Subtitle underneath title on top of this section.">Movies subtitle for one movie:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_subtitle_one" name="get_user_movie_stats_subtitle_one" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_subsubtitle_one" title="Sub-subtitle underneath subtitle on top of this section.">Movies sub-subtitle for one movie:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_subsubtitle_one" name="get_user_movie_stats_subsubtitle_one" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block" id="none">';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_subtitle_none" title="Subtitle underneath title on top of this section.">Movies subtitle for no movies:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_subtitle_none" name="get_user_movie_stats_subtitle_none" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_subsubtitle_none" title="Sub-subtitle underneath subtitle on top of this section.">Movies sub-subtitle for no movies:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_subsubtitle_none" name="get_user_movie_stats_subsubtitle_none" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_top_movie" title="Custom title of the list of top movies (singular).">Title of top movie list:<br>';
html += '<input type="text" class="form-control" id="get_user_movie_stats_top_movie" value="' + get_user_movie_stats_top_movie + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_top_movie_plural" title="Custom title of the list of top movies (plural).">Title of top movies list:<br>';
html += '<input type="text" class="form-control" id="get_user_movie_stats_top_movie_plural" value="' + get_user_movie_stats_top_movie_plural + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_movie_completion_title" title="Title stating the completion of the seen movie.">Movie completion title:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_movie_completion_title" name="get_user_movie_stats_movie_completion_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_movie_completion_title_plural" title="Title stating the average completion of the seen movies.">Movies average completion title:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_movie_completion_title_plural" name="get_user_movie_stats_movie_completion_title_plural" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_movie_completion_subtitle" title="Subtitle underneath the movie-completion title.">Movies/movie completion subtitle:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_movie_completion_subtitle" name="get_user_movie_stats_movie_completion_subtitle" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block" id="plural">';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_pause_title" title="Title of the paused movie section.">Movie paused title:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_pause_title" name="get_user_movie_stats_pause_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_pause_subtitle" title="Subtitle of the paused movie section.">Movie paused subtitle:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_pause_subtitle" name="get_user_movie_stats_pause_subtitle" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block" id="singular">';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_pause_title_one" title="Title of the paused movie section when one movie was watched, but still paused.">One movie paused title:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_pause_title_one" name="get_user_movie_stats_pause_title_one" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_pause_subtitle_one" title="Subtitle of the paused movie section when one movie was watched, but still paused paused.">One movie paused subtitle:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_pause_subtitle_one" name="get_user_movie_stats_pause_subtitle_one" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block" id="none">';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_pause_title_none" title="Title of the paused movie section when no movies were ever paused.">No movie paused title:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_pause_title_none" name="get_user_movie_stats_pause_title_none" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_pause_subtitle_none" title="Subtitle of the paused movie section when no movies were ever paused.">No movie paused subtitle:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_pause_subtitle_none" name="get_user_movie_stats_pause_subtitle_none" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_oldest_title" title="Title of the oldest movie section.">Movie oldest title:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_oldest_title" name="get_user_movie_stats_oldest_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_oldest_subtitle" title="Subtitle of the oldest movie section. Applied if the other spesfic ones are not applicable.">Movie oldest subtitle:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_oldest_subtitle" name="get_user_movie_stats_oldest_subtitle" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_oldest_subtitle_pre_1950" title="Subtitle of the oldest movie section. Applied if movie is older than 1950.">Movie oldest subtitle (<1950):<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_oldest_subtitle_pre_1950" name="get_user_movie_stats_oldest_subtitle_pre_1950" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_oldest_subtitle_pre_1975" title="Subtitle of the oldest movie section. Applied if movie is older than 1975.">Movie oldest subtitle (<1975):<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_oldest_subtitle_pre_1975" name="get_user_movie_stats_oldest_subtitle_pre_1975" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_oldest_subtitle_pre_2000" title="Subtitle of the oldest movie section. Applied if movie is older than 2000.">Movie oldest subtitle (<2000):<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_oldest_subtitle_pre_2000" name="get_user_movie_stats_oldest_subtitle_pre_2000" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="get_user_movie_stats_spent_title" title="Title of the time spent on movies section.">Movie spent title:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_movie_stats_spent_title" name="get_user_movie_stats_spent_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<button class="form-control btn" name="get_user_movie_stats_custom_button" id="get_user_movie_stats_custom_button" onclick="toggle_hidden_form(\'get_user_movie_stats_custom\')"><img src="../assets/tweak.svg" class="btn_logo"></img><p2 id="get_user_movie_stats_custom_button_text">Custom text</p2></button>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<hr>';
html += '</div>';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<div class="form-group">';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<label for="get_user_show_stats" title="Includes show statistics in your wrapped period.">Get users show statistics:<br>';
html += '<input type="checkbox" class="form-control" id="get_user_show_stats" ';
if(get_user_show_stats) {
html += 'checked="' + get_user_show_stats + '" ';
}
html += '/><br>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_buddy" title="Includes the users top show-buddy in your wrapped period. Requires show stats.">Get users show-buddy:<br>';
html += '<input type="checkbox" class="form-control" id="get_user_show_stats_buddy" ';
if(get_user_show_stats_buddy) {
html += 'checked="' + get_user_show_stats_buddy + '" ';
}
html += '/><br>';
html += '</div>';
html += '<div class="form-group newline">';
html += '</div>';
html += '<div class="form_hidden" id="get_user_show_stats_custom">';
html += '<div class="form_block" id="plural">';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_title" title="Title on top of this section.">Shows title:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_show_stats_title" name="get_user_show_stats_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_subtitle" title="Subtitle underneath title on top of this section.">Shows subtitle:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_show_stats_subtitle" name="get_user_show_stats_subtitle" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_subsubtitle" title="Sub-subtitle underneath subtitle on top of this section.">Shows sub-subtitle:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_show_stats_subsubtitle" name="get_user_show_stats_subsubtitle" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block" id="singular">';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_subtitle_one" title="Subtitle underneath title on top of this section.">Shows subtitle for one show:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_show_stats_subtitle_one" name="get_user_show_stats_subtitle_one" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_subsubtitle_one" title="Sub-subtitle underneath subtitle on top of this section.">Shows sub-subtitle for one show:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_show_stats_subsubtitle_one" name="get_user_show_stats_subsubtitle_one" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block" id="none">';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_subtitle_none" title="Subtitle underneath title on top of this section.">Shows subtitle for no shows:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_show_stats_subtitle_none" name="get_user_show_stats_subtitle_none" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_subsubtitle_none" title="Sub-subtitle underneath subtitle on top of this section.">Shows sub-subtitle for no shows:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_show_stats_subsubtitle_none" name="get_user_show_stats_subsubtitle_none" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_top_show" title="Custom title of the list of top show (singular).">Title of top show list:<br>';
html += '<input type="text" class="form-control" id="get_user_show_stats_top_show" value="' + get_user_show_stats_top_show + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_top_show_plural" title="Custom title of the list of top shows (plural).">Title of top shows list:<br>';
html += '<input type="text" class="form-control" id="get_user_show_stats_top_show_plural" value="' + get_user_show_stats_top_show_plural + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_most_played_title" title="Title on top of this section showing the top played episode.">Shows title for top episode:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_show_stats_most_played_title" name="get_user_show_stats_most_played_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_most_played_subtitle" title="Subtitle underneath the title of this section.">Shows subtitle for top episode:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_show_stats_most_played_subtitle" name="get_user_show_stats_most_played_subtitle" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_buddy_title" title="Title on top of this section showing the top show and the buddy who watches it as well.">Shows title buddy section:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_show_stats_buddy_title" name="get_user_show_stats_buddy_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_buddy_subtitle" title="Subtitle underneath the title of this section.">Shows subtitle buddy section:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_show_stats_buddy_subtitle" name="get_user_show_stats_buddy_subtitle" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block" id="none">';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_buddy_title_none" title="Title on top of this section showing the top show and the buddy who watches it as well, only, no buddy could be found.">Shows title buddy section (none):<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_show_stats_buddy_title_none" name="get_user_show_stats_buddy_title_none" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_buddy_subtitle_none" title="Subtitle underneath the title of this section.">Shows subtitle buddy section (none):<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_show_stats_buddy_subtitle_none" name="get_user_show_stats_buddy_subtitle_none" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="get_user_show_stats_spent_title" title="Title of the time spent on shows section.">Show spent title:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_show_stats_spent_title" name="get_user_show_stats_spent_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<button class="form-control btn" name="get_user_show_stats_custom_button" id="get_user_show_stats_custom_button" onclick="toggle_hidden_form(\'get_user_show_stats_custom\')"><img src="../assets/tweak.svg" class="btn_logo"></img><p2 id="get_user_show_stats_custom_button_text">Custom text</p2></button>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<hr>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<label for="get_user_music_stats" title="Includes music statistics in your wrapped period.">Get users music statistics:<br>';
html += '<input type="checkbox" class="form-control" id="get_user_music_stats" ';
if(get_user_music_stats) {
html += 'checked="' + get_user_music_stats + '" ';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
}
html += '/><br>';
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form_hidden" id="get_user_music_stats_custom">';
html += '<div class="form_block">';
html += '<div class="form-group" id="plural">';
html += '<label for="get_user_music_stats_title" title="Title on top of this section.">Music title:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_music_stats_title" name="get_user_music_stats_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_music_stats_subtitle" title="Subtitle underneath title on top of this section.">Music subtitle:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_music_stats_subtitle" name="get_user_music_stats_subtitle" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_music_stats_subsubtitle" title="Sub-subtitle underneath subtitle on top of this section.">Music sub-subtitle:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_music_stats_subsubtitle" name="get_user_music_stats_subsubtitle" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block" id="singular">';
html += '<div class="form-group">';
html += '<label for="get_user_music_stats_subtitle_one" title="Subtitle underneath title on top of this section.">Music subtitle for one track:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_music_stats_subtitle_one" name="get_user_music_stats_subtitle_one" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_music_stats_subsubtitle_one" title="Sub-subtitle underneath subtitle on top of this section.">Music sub-subtitle for one track:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_music_stats_subsubtitle_one" name="get_user_music_stats_subsubtitle_one" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block" id="none">';
html += '<div class="form-group">';
html += '<label for="get_user_music_stats_subtitle_none" title="Subtitle underneath title on top of this section.">Music subtitle for no tracks:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_music_stats_subtitle_none" name="get_user_music_stats_subtitle_none" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_music_stats_subsubtitle_none" title="Sub-subtitle underneath subtitle on top of this section.">Music sub-subtitle for no tracks:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_music_stats_subsubtitle_none" name="get_user_music_stats_subsubtitle_none" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block" id="singular">';
html += '<div class="form-group">';
html += '<label for="get_user_music_stats_top_track" title="Custom title of the list of top track (singular).">Title of top track list:<br>';
html += '<input type="text" class="form-control" id="get_user_music_stats_top_track" value="' + get_user_music_stats_top_track + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '</div>';
html += '<div class="form_block" id="plural">';
html += '<div class="form-group">';
html += '<label for="get_user_music_stats_top_track_plural" title="Custom title of the list of top tracks (plural).">Title of top tracks list:<br>';
html += '<input type="text" class="form-control" id="get_user_music_stats_top_track_plural" value="' + get_user_music_stats_top_track_plural + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_music_stats_top_album_plural" title="Custom title of the list of top albums (plural).">Title of top albums list:<br>';
html += '<input type="text" class="form-control" id="get_user_music_stats_top_album_plural" value="' + get_user_music_stats_top_album_plural + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_music_stats_top_artist_plural" title="Custom title of the list of top artists (plural).">Title of top artists list:<br>';
html += '<input type="text" class="form-control" id="get_user_music_stats_top_artist_plural" value="' + get_user_music_stats_top_artist_plural + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="get_user_music_stats_oldest_album_title" title="Title on top of this section.">Music title for oldest album:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_music_stats_oldest_album_title" name="get_user_music_stats_oldest_album_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group">';
html += '<label for="get_user_music_stats_oldest_album_subtitle" title="Subtitle underneath title of this section.">Music subtitle for oldest album:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_music_stats_oldest_album_subtitle" name="get_user_music_stats_oldest_album_subtitle" value="" autocomplete="off"></textarea></label>';
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="get_user_music_stats_spent_title" title="Title on top of this section showing time spent listening to music.">Music spent title:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_music_stats_spent_title" name="get_user_music_stats_spent_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_user_music_stats_spent_subtitle" title="Subtitle underneath title of this section.">Music spent subtitle:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_user_music_stats_spent_subtitle" name="get_user_music_stats_spent_subtitle" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group newline">';
html += '<button class="form-control btn" name="get_user_music_stats_custom_button" id="get_user_music_stats_custom_button" onclick="toggle_hidden_form(\'get_user_music_stats_custom\')"><img src="../assets/tweak.svg" class="btn_logo"></img><p2 id="get_user_music_stats_custom_button_text">Custom text</p2></button>';
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group newline">';
html += '<hr>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '</div>';
html += '<div class="form-group">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="get_year_stats_movies" title="Includes server-wide movie statistics in your wrapped period.">Get server-wide movie statistics:<br>';
html += '<input type="checkbox" class="form-control" id="get_year_stats_movies" ';
if(get_year_stats_movies) {
html += 'checked="' + get_year_stats_movies + '" ';
}
html += '/><br>';
html += '</div>';
html += '<div class="form-group">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="get_year_stats_shows" title="Includes server-wide show statistics in your wrapped period.">Get server-wide show statistics:<br>';
html += '<input type="checkbox" class="form-control" id="get_year_stats_shows" ';
if(get_year_stats_shows) {
html += 'checked="' + get_year_stats_shows + '" ';
}
html += '/><br>';
html += '</div>';
html += '<div class="form-group">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="get_year_stats_music" title="Includes server-wide music statistics in your wrapped period.">Get server-wide music statistics:<br>';
html += '<input type="checkbox" class="form-control" id="get_year_stats_music" ';
if(get_year_stats_music) {
html += 'checked="' + get_year_stats_music + '" ';
}
html += '/><br>';
html += '</div>';
html += '<div class="form-group">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="get_year_stats_leaderboard" title="Creates a user leaderboard based on the server-wide statistics in your wrapped period.">Get server-wide leaderboard rankings:<br>';
html += '<input type="checkbox" class="form-control" id="get_year_stats_leaderboard" ';
if(get_year_stats_leaderboard) {
html += 'checked="' + get_year_stats_leaderboard + '" ';
}
html += '/><br>';
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group newline">';
html += '</div>';
html += '<div class="form_hidden" id="get_year_stats_custom">';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="get_year_stats_title" title="Title on top of this section.">Server-wide title:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_year_stats_title" name="get_year_stats_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_year_stats_subtitle" title="Subtitle underneath title on top of this section.">Server-wide subtitle:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_year_stats_subtitle" name="get_year_stats_subtitle" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_year_stats_subsubtitle" title="Sub-subtitle underneath subtitle on top of this section.">Server-wide sub-subtitle:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_year_stats_subsubtitle" name="get_year_stats_subsubtitle" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '<div class="form_block" id="">';
html += '<div class="form-group">';
html += '<label for="get_year_stats_movies_title" title="Custom title of the list of top movies.">Title of top movies list:<br>';
html += '<input type="text" class="form-control" id="get_year_stats_movies_title" value="' + get_year_stats_movies_title + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_year_stats_shows_title" title="Custom title of the list of top shows.">Title of top shows list:<br>';
html += '<input type="text" class="form-control" id="get_year_stats_shows_title" value="' + get_year_stats_shows_title + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_year_stats_music_title" title="Custom title of the list of top artists.">Title of top artists list:<br>';
html += '<input type="text" class="form-control" id="get_year_stats_music_title" value="' + get_year_stats_music_title + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_year_stats_leaderboard_title" title="Custom title of the list of top users.">Title of top users list:<br>';
html += '<input type="text" class="form-control" id="get_year_stats_leaderboard_title" value="' + get_year_stats_leaderboard_title + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="get_year_stats_movies_duration_title" title="Title on top of this section showing duration spent on movies.">Server-wide movie duration:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_year_stats_movies_duration_title" name="get_year_stats_movies_duration_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_year_stats_shows_duration_title" title="Title on top of this section showing duration spent on shows.">Server-wide show duration:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_year_stats_shows_duration_title" name="get_year_stats_shows_duration_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_year_stats_music_duration_title" title="Title on top of this section showing duration spent on music.">Server-wide music duration:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_year_stats_music_duration_title" name="get_year_stats_music_duration_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="get_year_stats_duration_sum_title" title="Title on top of this section showing duration spent on all categories.">Server-wide content duration:<br>';
html += '<textarea cols="40" rows="2" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 2em;" id="get_year_stats_duration_sum_title" name="get_year_stats_duration_sum_title" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '</div>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<button class="form-control btn" name="get_year_stats_custom_button" id="get_year_stats_custom_button" onclick="toggle_hidden_form(\'get_year_stats_custom\')"><img src="../assets/tweak.svg" class="btn_logo"></img><p2 id="get_year_stats_custom_button_text">Custom text</p2></button>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<hr>';
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group newline">';
html += '<label for="stats_outro" title="Text that is shown at the bottom, when the statistics are done. HTML allowed.">Outro for statistics page:<br>';
html += '<textarea cols="40" rows="5" class="form-control" style="overflow-x: hidden;resize:vertical;min-height: 5em;" id="stats_outro" name="stats_outro" value="" autocomplete="off"></textarea></label>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<hr>';
html += '</div>';
html += '<div class="form_hidden" id="wrapperr_language">';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="wrapperr_and" title="Word alternative for when \'and\' appears.">Alternative for \'and\':<br>';
html += '<input type="text" class="form-control" id="wrapperr_and" value="' + wrapperr_and + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="wrapperr_play" title="Word alternative for when \'play\' appears.">Alternative for \'play\':<br>';
html += '<input type="text" class="form-control" id="wrapperr_play" value="' + wrapperr_play + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="wrapperr_play_plural" title="Word alternative for when \'plays\' appears.">Alternative for \'plays\':<br>';
html += '<input type="text" class="form-control" id="wrapperr_play_plural" value="' + wrapperr_play_plural + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="wrapperr_day" title="Word alternative for when \'day\' appears.">Alternative for \'day\':<br>';
html += '<input type="text" class="form-control" id="wrapperr_day" value="' + wrapperr_day + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="wrapperr_day_plural" title="Word alternative for when \'days\' appears.">Alternative for \'days\':<br>';
html += '<input type="text" class="form-control" id="wrapperr_day_plural" value="' + wrapperr_day_plural + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="wrapperr_hour" title="Word alternative for when \'hour\' appears.">Alternative for \'hour\':<br>';
html += '<input type="text" class="form-control" id="wrapperr_hour" value="' + wrapperr_hour + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="wrapperr_hour_plural" title="Word alternative for when \'hours\' appears.">Alternative for \'hours\':<br>';
html += '<input type="text" class="form-control" id="wrapperr_hour_plural" value="' + wrapperr_hour_plural + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="wrapperr_minute" title="Word alternative for when \'minute\' appears.">Alternative for \'minute\':<br>';
html += '<input type="text" class="form-control" id="wrapperr_minute" value="' + wrapperr_minute + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="wrapperr_minute_plural" title="Word alternative for when \'minutes\' appears.">Alternative for \'minutes\':<br>';
html += '<input type="text" class="form-control" id="wrapperr_minute_plural" value="' + wrapperr_minute_plural + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="wrapperr_second" title="Word alternative for when \'second\' appears.">Alternative for \'second\':<br>';
html += '<input type="text" class="form-control" id="wrapperr_second" value="' + wrapperr_second + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="wrapperr_second_plural" title="Word alternative for when \'seconds\' appears.">Alternative for \'seconds\':<br>';
html += '<input type="text" class="form-control" id="wrapperr_second_plural" value="' + wrapperr_second_plural + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '</div>';
html += '<div class="form_block">';
html += '<div class="form-group">';
html += '<label for="wrapperr_sort_plays" title="Text alternative for \'Sort by plays\' button.">\'Sort by plays\' alternative:<br>';
html += '<input type="text" class="form-control" id="wrapperr_sort_plays" value="' + wrapperr_sort_plays + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '<div class="form-group">';
html += '<label for="wrapperr_sort_duration" title="Text alternative for \'Sort by duration\' button.">\'Sort by duration\' alternative:<br>';
html += '<input type="text" class="form-control" id="wrapperr_sort_duration" value="' + wrapperr_sort_duration + '" autocomplete="off" placeholder="" required /><br>';
html += '</div>';
html += '</div>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<button class="form-control btn" name="wrapperr_language_button" id="get_user_show_stats_custom_button" onclick="toggle_hidden_form(\'wrapperr_language\')"><img src="../assets/tweak.svg" class="btn_logo"></img><p2 id="wrapperr_language_button_text">Custom language</p2></button>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<hr>';
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group newline" title="Clear the cache now to include the newest settings.">';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
html += '<label for="clear_cache">Clear cache now:<br>';
html += '<input type="checkbox" class="form-control" id="clear_cache" checked /></label>';
html += '</div>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
html += '<div class="form-group newline">';
html += '<button type="submit" class="form-control btn" onclick="set_wrapperr_customization_call();" id="set_wrapperr_customization_form_button"><img src="../assets/done.svg" class="btn_logo"></img><p2 id="set_wrapperr_customization_form_button_text">Save</p2></button>';
html += '</div>';
html += '</form>';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
// Place content from config
document.getElementById("setup").innerHTML = html;
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
document.getElementById("stats_intro").value = stats_intro;
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
document.getElementById("stats_outro").value = stats_outro;
document.getElementById("get_user_movie_stats_title").value = get_user_movie_stats_title;
document.getElementById("get_user_movie_stats_subtitle").value = get_user_movie_stats_subtitle;
document.getElementById("get_user_movie_stats_subsubtitle").value = get_user_movie_stats_subsubtitle;
document.getElementById("get_user_movie_stats_subtitle_one").value = get_user_movie_stats_subtitle_one;
document.getElementById("get_user_movie_stats_subsubtitle_one").value = get_user_movie_stats_subsubtitle_one;
document.getElementById("get_user_movie_stats_subtitle_none").value = get_user_movie_stats_subtitle_none;
document.getElementById("get_user_movie_stats_subsubtitle_none").value = get_user_movie_stats_subsubtitle_none;
document.getElementById("get_user_movie_stats_movie_completion_title").value = get_user_movie_stats_movie_completion_title;
document.getElementById("get_user_movie_stats_movie_completion_title_plural").value = get_user_movie_stats_movie_completion_title_plural;
document.getElementById("get_user_movie_stats_movie_completion_subtitle").value = get_user_movie_stats_movie_completion_subtitle;
document.getElementById("get_user_movie_stats_pause_title").value = get_user_movie_stats_pause_title;
document.getElementById("get_user_movie_stats_pause_subtitle").value = get_user_movie_stats_pause_subtitle;
document.getElementById("get_user_movie_stats_pause_title_one").value = get_user_movie_stats_pause_title_one;
document.getElementById("get_user_movie_stats_pause_subtitle_one").value = get_user_movie_stats_pause_subtitle_one;
document.getElementById("get_user_movie_stats_pause_title_none").value = get_user_movie_stats_pause_title_none;
document.getElementById("get_user_movie_stats_pause_subtitle_none").value = get_user_movie_stats_pause_subtitle_none;
document.getElementById("get_user_movie_stats_oldest_title").value = get_user_movie_stats_oldest_title;
document.getElementById("get_user_movie_stats_oldest_subtitle").value = get_user_movie_stats_oldest_subtitle;
document.getElementById("get_user_movie_stats_oldest_subtitle_pre_1950").value = get_user_movie_stats_oldest_subtitle_pre_1950;
document.getElementById("get_user_movie_stats_oldest_subtitle_pre_1975").value = get_user_movie_stats_oldest_subtitle_pre_1975;
document.getElementById("get_user_movie_stats_oldest_subtitle_pre_2000").value = get_user_movie_stats_oldest_subtitle_pre_2000;
document.getElementById("get_user_movie_stats_spent_title").value = get_user_movie_stats_spent_title;
document.getElementById("get_user_show_stats_title").value = get_user_show_stats_title;
document.getElementById("get_user_show_stats_subtitle").value = get_user_show_stats_subtitle;
document.getElementById("get_user_show_stats_subsubtitle").value = get_user_show_stats_subsubtitle;
document.getElementById("get_user_show_stats_subtitle_one").value = get_user_show_stats_subtitle_one;
document.getElementById("get_user_show_stats_subsubtitle_one").value = get_user_show_stats_subsubtitle_one;
document.getElementById("get_user_show_stats_subtitle_none").value = get_user_show_stats_subtitle_none;
document.getElementById("get_user_show_stats_subsubtitle_none").value = get_user_show_stats_subsubtitle_none;
document.getElementById("get_user_show_stats_most_played_title").value = get_user_show_stats_most_played_title;
document.getElementById("get_user_show_stats_most_played_subtitle").value = get_user_show_stats_most_played_subtitle;
document.getElementById("get_user_show_stats_buddy_title").value = get_user_show_stats_buddy_title;
document.getElementById("get_user_show_stats_buddy_subtitle").value = get_user_show_stats_buddy_subtitle;
document.getElementById("get_user_show_stats_buddy_title_none").value = get_user_show_stats_buddy_title_none;
document.getElementById("get_user_show_stats_buddy_subtitle_none").value = get_user_show_stats_buddy_subtitle_none;
document.getElementById("get_user_show_stats_spent_title").value = get_user_show_stats_spent_title;
document.getElementById("get_user_music_stats_title").value = get_user_music_stats_title;
document.getElementById("get_user_music_stats_subtitle").value = get_user_music_stats_subtitle;
document.getElementById("get_user_music_stats_subsubtitle").value = get_user_music_stats_subsubtitle;
document.getElementById("get_user_music_stats_subtitle_one").value = get_user_music_stats_subtitle_one;
document.getElementById("get_user_music_stats_subsubtitle_one").value = get_user_music_stats_subsubtitle_one;
document.getElementById("get_user_music_stats_subtitle_none").value = get_user_music_stats_subtitle_none;
document.getElementById("get_user_music_stats_subsubtitle_none").value = get_user_music_stats_subsubtitle_none;
document.getElementById("get_user_music_stats_spent_title").value = get_user_music_stats_spent_title;
document.getElementById("get_user_music_stats_spent_subtitle").value = get_user_music_stats_spent_subtitle;
document.getElementById("get_user_music_stats_oldest_album_title").value = get_user_music_stats_oldest_album_title;
document.getElementById("get_user_music_stats_oldest_album_subtitle").value = get_user_music_stats_oldest_album_subtitle;
document.getElementById("get_year_stats_title").value = get_year_stats_title;
document.getElementById("get_year_stats_subtitle").value = get_year_stats_subtitle;
document.getElementById("get_year_stats_subsubtitle").value = get_year_stats_subsubtitle;
document.getElementById("get_year_stats_movies_duration_title").value = get_year_stats_movies_duration_title;
document.getElementById("get_year_stats_shows_duration_title").value = get_year_stats_shows_duration_title;
document.getElementById("get_year_stats_music_duration_title").value = get_year_stats_music_duration_title;
document.getElementById("get_year_stats_duration_sum_title").value = get_year_stats_duration_sum_title;
}
function toggle_hidden_form(div_id) {
var div = document.getElementById(div_id);
if(div.className === "form_shown") {
div.classList.remove('form_shown');
div.classList.add('form_hidden');
} else {
div.classList.remove('form_hidden');
div.classList.add('form_shown');
}
}
function set_wrapperr_customization_call() {
document.getElementById("set_wrapperr_customization_form_button").disabled = true;
document.getElementById("set_wrapperr_customization_form_button").style.opacity = '0.5';
wrapped_start = new Date(document.getElementById('wrapped_start').value);
wrapped_end = new Date(document.getElementById('wrapped_end').value);
stats_intro = document.getElementById('stats_intro').value;
stats_outro = document.getElementById('stats_outro').value;
get_user_movie_stats = document.getElementById('get_user_movie_stats').checked;
get_user_movie_stats_title = document.getElementById('get_user_movie_stats_title').value;
get_user_movie_stats_subtitle = document.getElementById('get_user_movie_stats_subtitle').value;
get_user_movie_stats_subsubtitle = document.getElementById('get_user_movie_stats_subsubtitle').value;
get_user_movie_stats_subtitle_one = document.getElementById('get_user_movie_stats_subtitle_one').value;
get_user_movie_stats_subsubtitle_one = document.getElementById('get_user_movie_stats_subsubtitle_one').value;
get_user_movie_stats_subtitle_none = document.getElementById('get_user_movie_stats_subtitle_none').value;
get_user_movie_stats_subsubtitle_none = document.getElementById('get_user_movie_stats_subsubtitle_none').value;
get_user_movie_stats_top_movie = document.getElementById('get_user_movie_stats_top_movie').value;
get_user_movie_stats_top_movie_plural = document.getElementById('get_user_movie_stats_top_movie_plural').value;
get_user_movie_stats_movie_completion_title = document.getElementById('get_user_movie_stats_movie_completion_title').value;
get_user_movie_stats_movie_completion_title_plural = document.getElementById('get_user_movie_stats_movie_completion_title_plural').value;
get_user_movie_stats_movie_completion_subtitle = document.getElementById('get_user_movie_stats_movie_completion_subtitle').value;
get_user_movie_stats_pause_title = document.getElementById('get_user_movie_stats_pause_title').value;
get_user_movie_stats_pause_subtitle = document.getElementById('get_user_movie_stats_pause_subtitle').value;
get_user_movie_stats_pause_title_one = document.getElementById('get_user_movie_stats_pause_title_one').value;
get_user_movie_stats_pause_subtitle_one = document.getElementById('get_user_movie_stats_pause_subtitle_one').value;
get_user_movie_stats_pause_title_none = document.getElementById('get_user_movie_stats_pause_title_none').value;
get_user_movie_stats_pause_subtitle_none = document.getElementById('get_user_movie_stats_pause_subtitle_none').value;
get_user_movie_stats_oldest_title = document.getElementById('get_user_movie_stats_oldest_title').value;
get_user_movie_stats_oldest_subtitle = document.getElementById('get_user_movie_stats_oldest_subtitle').value;
get_user_movie_stats_oldest_subtitle_pre_1950 = document.getElementById('get_user_movie_stats_oldest_subtitle_pre_1950').value;
get_user_movie_stats_oldest_subtitle_pre_1975 = document.getElementById('get_user_movie_stats_oldest_subtitle_pre_1975').value;
get_user_movie_stats_oldest_subtitle_pre_2000 = document.getElementById('get_user_movie_stats_oldest_subtitle_pre_2000').value;
get_user_movie_stats_spent_title = document.getElementById('get_user_movie_stats_spent_title').value;
get_user_show_stats = document.getElementById('get_user_show_stats').checked;
get_user_show_stats_buddy = document.getElementById('get_user_show_stats_buddy').checked;
get_user_show_stats_title = document.getElementById('get_user_show_stats_title').value;
get_user_show_stats_subtitle = document.getElementById('get_user_show_stats_subtitle').value;
get_user_show_stats_subsubtitle = document.getElementById('get_user_show_stats_subsubtitle').value;
get_user_show_stats_subtitle_one = document.getElementById('get_user_show_stats_subtitle_one').value;
get_user_show_stats_subsubtitle_one = document.getElementById('get_user_show_stats_subsubtitle_one').value;
get_user_show_stats_subtitle_none = document.getElementById('get_user_show_stats_subtitle_none').value;
get_user_show_stats_subsubtitle_none = document.getElementById('get_user_show_stats_subsubtitle_none').value;
get_user_show_stats_top_show = document.getElementById('get_user_show_stats_top_show').value;
get_user_show_stats_top_show_plural = document.getElementById('get_user_show_stats_top_show_plural').value;
get_user_show_stats_most_played_title = document.getElementById('get_user_show_stats_most_played_title').value;
get_user_show_stats_most_played_subtitle = document.getElementById('get_user_show_stats_most_played_subtitle').value;
get_user_show_stats_buddy_title = document.getElementById('get_user_show_stats_buddy_title').value;
get_user_show_stats_buddy_subtitle = document.getElementById('get_user_show_stats_buddy_subtitle').value;
get_user_show_stats_buddy_title_none = document.getElementById('get_user_show_stats_buddy_title_none').value;
get_user_show_stats_buddy_subtitle_none = document.getElementById('get_user_show_stats_buddy_subtitle_none').value;
get_user_show_stats_spent_title = document.getElementById('get_user_show_stats_spent_title').value;
get_user_music_stats = document.getElementById('get_user_music_stats').checked;
get_user_music_stats_title = document.getElementById('get_user_music_stats_title').value;
get_user_music_stats_subtitle = document.getElementById('get_user_music_stats_subtitle').value;
get_user_music_stats_subsubtitle = document.getElementById('get_user_music_stats_subsubtitle').value;
get_user_music_stats_subtitle_one = document.getElementById('get_user_music_stats_subtitle_one').value;
get_user_music_stats_subsubtitle_one = document.getElementById('get_user_music_stats_subsubtitle_one').value;
get_user_music_stats_subtitle_none = document.getElementById('get_user_music_stats_subtitle_none').value;
get_user_music_stats_subsubtitle_none = document.getElementById('get_user_music_stats_subsubtitle_none').value;
get_user_music_stats_top_track = document.getElementById('get_user_music_stats_top_track').value;
get_user_music_stats_top_track_plural = document.getElementById('get_user_music_stats_top_track_plural').value;
get_user_music_stats_top_album_plural = document.getElementById('get_user_music_stats_top_album_plural').value;
get_user_music_stats_top_artist_plural = document.getElementById('get_user_music_stats_top_artist_plural').value;
get_user_music_stats_spent_title = document.getElementById('get_user_music_stats_spent_title').value;
get_user_music_stats_spent_subtitle = document.getElementById('get_user_music_stats_spent_subtitle').value;
get_user_music_stats_oldest_album_title = document.getElementById('get_user_music_stats_oldest_album_title').value;
get_user_music_stats_oldest_album_subtitle = document.getElementById('get_user_music_stats_oldest_album_subtitle').value;
get_year_stats_title = document.getElementById('get_year_stats_title').value;
get_year_stats_subtitle = document.getElementById('get_year_stats_subtitle').value;
get_year_stats_subsubtitle = document.getElementById('get_year_stats_subsubtitle').value;
get_year_stats_movies = document.getElementById('get_year_stats_movies').checked;
get_year_stats_movies_title = document.getElementById('get_year_stats_movies_title').value;
get_year_stats_movies_duration_title = document.getElementById('get_year_stats_movies_duration_title').value;
get_year_stats_shows = document.getElementById('get_year_stats_shows').checked;
get_year_stats_shows_title = document.getElementById('get_year_stats_shows_title').value;
get_year_stats_shows_duration_title = document.getElementById('get_year_stats_shows_duration_title').value;
get_year_stats_music = document.getElementById('get_year_stats_music').checked;
get_year_stats_music_title = document.getElementById('get_year_stats_music_title').value;
get_year_stats_music_duration_title = document.getElementById('get_year_stats_music_duration_title').value;
get_year_stats_leaderboard = document.getElementById('get_year_stats_leaderboard').checked;
get_year_stats_leaderboard_title = document.getElementById('get_year_stats_leaderboard_title').value;
get_year_stats_duration_sum_title = document.getElementById('get_year_stats_duration_sum_title').value;
clear_cache = document.getElementById('clear_cache').checked;
wrapperr_and = document.getElementById("wrapperr_and").value;
wrapperr_play = document.getElementById("wrapperr_play").value;
wrapperr_play_plural = document.getElementById("wrapperr_play_plural").value;
wrapperr_day = document.getElementById("wrapperr_day").value;
wrapperr_day_plural = document.getElementById("wrapperr_day_plural").value;
wrapperr_hour = document.getElementById("wrapperr_hour").value;
wrapperr_hour_plural = document.getElementById("wrapperr_hour_plural").value;
wrapperr_minute = document.getElementById("wrapperr_minute").value;
wrapperr_minute_plural = document.getElementById("wrapperr_minute_plural").value;
wrapperr_second = document.getElementById("wrapperr_second").value;
wrapperr_second_plural = document.getElementById("wrapperr_second_plural").value;
wrapperr_sort_plays = document.getElementById("wrapperr_sort_plays").value;
wrapperr_sort_duration = document.getElementById("wrapperr_sort_duration").value;
if(wrapped_end < wrapped_start) {
document.getElementById("set_wrapperr_customization_form_button").disabled = false;
document.getElementById("set_wrapperr_customization_form_button").style.opacity = '1';
alert('The wrapped end period must be later than the wrapped start period.');
document.getElementById('wrapped_end').focus();
return;
}
if(wrapped_end === '') {
document.getElementById("set_wrapperr_customization_form_button").disabled = false;
document.getElementById("set_wrapperr_customization_form_button").style.opacity = '1';
alert('Ending of wrapped period is required for Wrapperr to function.');
document.getElementById('wrapped_end').focus();
return;
}
if(wrapped_start === '') {
document.getElementById("set_wrapperr_customization_form_button").disabled = false;
document.getElementById("set_wrapperr_customization_form_button").style.opacity = '1';
alert('Start of wrapped period is required for Wrapperr to function.');
document.getElementById('wrapped_start').focus();
return;
}
wrapperr_customization_form = {
"cookie" : cookie,
"clear_cache" : clear_cache,
"data_type" : "wrapperr_customization",
"data" : {
"wrapped_start" : Math.round(wrapped_start.getTime() / 1000),
"wrapped_end" : Math.round(wrapped_end.getTime() / 1000),
"stats_intro" : stats_intro,
"stats_outro" : stats_outro,
"get_user_movie_stats" : get_user_movie_stats,
"get_user_movie_stats_title" : get_user_movie_stats_title,
"get_user_movie_stats_subtitle" : get_user_movie_stats_subtitle,
"get_user_movie_stats_subsubtitle" : get_user_movie_stats_subsubtitle,
"get_user_movie_stats_subtitle_one" : get_user_movie_stats_subtitle_one,
"get_user_movie_stats_subsubtitle_one" : get_user_movie_stats_subsubtitle_one,
"get_user_movie_stats_subtitle_none" : get_user_movie_stats_subtitle_none,
"get_user_movie_stats_subsubtitle_none" : get_user_movie_stats_subsubtitle_none,
"get_user_movie_stats_top_movie" : get_user_movie_stats_top_movie,
"get_user_movie_stats_top_movie_plural" : get_user_movie_stats_top_movie_plural,
"get_user_movie_stats_movie_completion_title" : get_user_movie_stats_movie_completion_title,
"get_user_movie_stats_movie_completion_title_plural" : get_user_movie_stats_movie_completion_title_plural,
"get_user_movie_stats_movie_completion_subtitle" : get_user_movie_stats_movie_completion_subtitle,
"get_user_movie_stats_pause_title" : get_user_movie_stats_pause_title,
"get_user_movie_stats_pause_subtitle" : get_user_movie_stats_pause_subtitle,
"get_user_movie_stats_pause_title_one" : get_user_movie_stats_pause_title_one,
"get_user_movie_stats_pause_subtitle_one" : get_user_movie_stats_pause_subtitle_one,
"get_user_movie_stats_pause_title_none" : get_user_movie_stats_pause_title_none,
"get_user_movie_stats_pause_subtitle_none" : get_user_movie_stats_pause_subtitle_none,
"get_user_movie_stats_oldest_title" : get_user_movie_stats_oldest_title,
"get_user_movie_stats_oldest_subtitle" : get_user_movie_stats_oldest_subtitle,
"get_user_movie_stats_oldest_subtitle_pre_1950" : get_user_movie_stats_oldest_subtitle_pre_1950,
"get_user_movie_stats_oldest_subtitle_pre_1975" : get_user_movie_stats_oldest_subtitle_pre_1975,
"get_user_movie_stats_oldest_subtitle_pre_2000" : get_user_movie_stats_oldest_subtitle_pre_2000,
"get_user_movie_stats_spent_title" : get_user_movie_stats_spent_title,
"get_user_show_stats" : get_user_show_stats,
"get_user_show_stats_buddy" : get_user_show_stats_buddy,
"get_user_show_stats_title" : get_user_show_stats_title,
"get_user_show_stats_subtitle" : get_user_show_stats_subtitle,
"get_user_show_stats_subsubtitle" : get_user_show_stats_subsubtitle,
"get_user_show_stats_subtitle_one" : get_user_show_stats_subtitle_one,
"get_user_show_stats_subsubtitle_one" : get_user_show_stats_subsubtitle_one,
"get_user_show_stats_subtitle_none" : get_user_show_stats_subtitle_none,
"get_user_show_stats_subsubtitle_none" : get_user_show_stats_subsubtitle_none,
"get_user_show_stats_top_show" : get_user_show_stats_top_show,
"get_user_show_stats_top_show_plural" : get_user_show_stats_top_show_plural,
"get_user_show_stats_spent_title" : get_user_show_stats_spent_title,
"get_user_show_stats_most_played_title" : get_user_show_stats_most_played_title,
"get_user_show_stats_most_played_subtitle" : get_user_show_stats_most_played_subtitle,
"get_user_show_stats_buddy_title" : get_user_show_stats_buddy_title,
"get_user_show_stats_buddy_subtitle" : get_user_show_stats_buddy_subtitle,
"get_user_show_stats_buddy_title_none" : get_user_show_stats_buddy_title_none,
"get_user_show_stats_buddy_subtitle_none" : get_user_show_stats_buddy_subtitle_none,
"get_user_music_stats" : get_user_music_stats,
"get_user_music_stats_title" : get_user_music_stats_title,
"get_user_music_stats_subtitle" : get_user_music_stats_subtitle,
"get_user_music_stats_subsubtitle" : get_user_music_stats_subsubtitle,
"get_user_music_stats_subtitle_one" : get_user_music_stats_subtitle_one,
"get_user_music_stats_subsubtitle_one" : get_user_music_stats_subsubtitle_one,
"get_user_music_stats_subtitle_none" : get_user_music_stats_subtitle_none,
"get_user_music_stats_subsubtitle_none" : get_user_music_stats_subsubtitle_none,
"get_user_music_stats_top_track" : get_user_music_stats_top_track,
"get_user_music_stats_top_track_plural" : get_user_music_stats_top_track_plural,
"get_user_music_stats_top_album_plural" : get_user_music_stats_top_album_plural,
"get_user_music_stats_top_artist_plural" : get_user_music_stats_top_artist_plural,
"get_user_music_stats_spent_title" : get_user_music_stats_spent_title,
"get_user_music_stats_spent_subtitle" : get_user_music_stats_spent_subtitle,
"get_user_music_stats_oldest_album_title" : get_user_music_stats_oldest_album_title,
"get_user_music_stats_oldest_album_subtitle" : get_user_music_stats_oldest_album_subtitle,
"get_year_stats_title" : get_year_stats_title,
"get_year_stats_subtitle" : get_year_stats_subtitle,
"get_year_stats_subsubtitle" : get_year_stats_subsubtitle,
"get_year_stats_movies" : get_year_stats_movies,
"get_year_stats_movies_title" : get_year_stats_movies_title,
"get_year_stats_movies_duration_title" : get_year_stats_movies_duration_title,
"get_year_stats_shows" : get_year_stats_shows,
"get_year_stats_shows_title" : get_year_stats_shows_title,
"get_year_stats_shows_duration_title" : get_year_stats_shows_duration_title,
"get_year_stats_music" : get_year_stats_music,
"get_year_stats_music_title" : get_year_stats_music_title,
"get_year_stats_music_duration_title" : get_year_stats_music_duration_title,
"get_year_stats_leaderboard" : get_year_stats_leaderboard,
"get_year_stats_leaderboard_title" : get_year_stats_leaderboard_title,
"get_year_stats_duration_sum_title" : get_year_stats_duration_sum_title,
"wrapperr_and" : wrapperr_and,
"wrapperr_play" : wrapperr_play,
"wrapperr_play_plural" : wrapperr_play_plural,
"wrapperr_day" : wrapperr_day,
"wrapperr_day_plural" : wrapperr_day_plural,
"wrapperr_hour" : wrapperr_hour,
"wrapperr_hour_plural" : wrapperr_hour_plural,
"wrapperr_minute" : wrapperr_minute,
"wrapperr_minute_plural" : wrapperr_minute_plural,
"wrapperr_second" : wrapperr_second,
"wrapperr_second_plural" : wrapperr_second_plural,
"wrapperr_sort_plays" : wrapperr_sort_plays,
"wrapperr_sort_duration" : wrapperr_sort_duration
}
};
var wrapperr_customization_data = JSON.stringify(wrapperr_customization_form);
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
try {
var result= JSON.parse(this.responseText);
} catch(error) {
alert('Failed to parse API response.');
console.log('Failed to parse API response. Response: ' + this.responseText);
document.getElementById("set_wrapperr_customization_form_button").disabled = false;
document.getElementById("set_wrapperr_customization_form_button").style.opacity = '1';
}
if(result.error) {
alert(result.message);
document.getElementById("set_wrapperr_customization_form_button").disabled = false;
document.getElementById("set_wrapperr_customization_form_button").style.opacity = '1';
} else {
get_config(get_cookie('wrapperr-admin'));
}
}
};
xhttp.withCredentials = true;
xhttp.open("post", "../api/set_config.php");
xhttp.send(wrapperr_customization_data);
return;
}
function caching_menu() {
var html = '<div class="form-group newline">';
html += '<button class="form-control btn" name="admin_menu_return_button" id="admin_menu_return_button" onclick="get_config(get_cookie(\'wrapperr-admin\'));"><img src="../assets/trash.svg" class="btn_logo"></img><p2 id="admin_menu_return_button_text">Return</p2></button>';
html += '</div>';
html += '<div class="form-group newline">';
html += '<hr>';
html += '</div>';
html += `
<form id='stats_form' class='form' onsubmit='return false' action="" method="post">
<div class='form-group newline'>
<h3>
This site calls Wrapperr on a loop, caching Tautulli data for later.
</h3>
<div class="form_hidden" id="caching_desc">
<p style="font-size:1em;">
When you configured a wrapped period, it included the amount of days you want to analyze. Each unique day in that period is a new API request to Tautulli.
<br>
<br>
Wrapperr uses PHP, which has script run-time limits. This page allows you to reduce the number of days cached when Wrapperr is working, preventing the PHP script from running for more than the allowed runtime.
<br>
<br>
</p>
</div>
<div class="form-group newline">
<button class="form-control btn" name="get_user_show_stats_custom_button" id="get_user_show_stats_custom_button" onclick="toggle_hidden_form(\'caching_desc\')"><img src="../assets/about.svg" class="btn_logo"></img><p2 id="get_user_show_stats_custom_button_text">Info</p2></button>
</div>
</div>
<div class='form-group newline'>
<label for="days" title="">Days to cache each loop:</label>
<input type="number" class='form-control' name="days" id="days" minlenght='1' value='50' autocomplete="off" required />
</div>
<div class="form-group newline">
<button class="form-control btn" name="cache_button" id="cache_button" onclick="cache_initiate();"><img src="../assets/download.svg" class="btn_logo"></img><p2 id="cache_button_text">Cache</p2></button>
</div>
<div id="cache"></div>
</form>
`;
document.getElementById("setup").innerHTML = html;
}
function cache_initiate() {
var days = document.getElementById('days').value;
var html = `
<form id='stats_form' class='form' onsubmit='return false' action="" method="post">
<div class='form-group newline'>
<img id="loading_icon" src="../assets/loading.gif" style="border-radius: 25px; background-color: white; padding: 1em; width: 4em; height: 4em; display: inline;">
</div>
<h3>Caching log:</h3>
<div id="cache_results" style="max-height: 15em; overflow-y: scroll;">
</div>
</form>
`;
var today = new Date();
var time = today.getHours() + ":" + today.getMinutes() + ":" + today.getSeconds() + ' - ';
document.getElementById('cache').innerHTML = html;
document.getElementById('cache_results').innerHTML += '<p style="color:white; font-size:0.75em;">' + time + 'Creating new cache request. Maximum ' + days + ' days.' + '</p>';
get_stats(days);
}
function cache_log(days, result, complete) {
var today = new Date();
var time = today.getHours() + ":" + today.getMinutes() + ":" + today.getSeconds() + ' - ';
if(result) {
document.getElementById('cache_results').innerHTML += '<p style="color:darkseagreen; font-size:0.75em;">' + time + 'Completed caching with a maxmimum of ' + days + ' days.' + '</p>';
} else {
document.getElementById('cache_results').innerHTML += '<p style="color:indianred; font-size:1em;"> ' + time + 'Error caching ' + days + ' days. Stopping.' + '</p>';
document.getElementById('loading_icon').style.display = "none";
document.getElementById("cache_button").disabled = false;
document.getElementById("cache_button").style.opacity = '1';
}
if(complete) {
document.getElementById('cache_results').innerHTML += '<p style="color:darkseagreen; font-size:1em;">' + time + 'Finished caching request.' + '</p>';
document.getElementById('loading_icon').style.display = "none";
document.getElementById("cache_button").disabled = false;
document.getElementById("cache_button").style.opacity = '1';
} else {
document.getElementById('cache_results').innerHTML += '<p style="color:white; font-size:0.75em;">' + time + 'Requesting new cache from Wrapperr. Maximum ' + days + ' days.' + '</p>';
}
var cache_results = document.getElementById("cache_results");
cache_results.scrollTop = cache_results.scrollHeight;
}
function get_stats(days) {
document.getElementById("cache_button").disabled = true;
document.getElementById("cache_button").style.opacity = '0.5';
stats_form = {
"cookie" : get_cookie('wrapperr-admin'),
"caching" : true,
"cache_limit" : days
};
var stats_data = JSON.stringify(stats_form);
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
try {
var result= JSON.parse(this.responseText);
} catch(error) {
if(this.responseText.includes('Maximum execution time of')) {
cache_log(days, false, true);
document.getElementById("cache_button").disabled = false;
document.getElementById("cache_button").style.opacity = '1';
alert('PHP runtime was exceeded and stopped execution. Lower days cached to prevent this.');
console.log('Failed to parse API response. Error: ' + this.responseText);
} else {
cache_log(days, false, true);
alert('Failed to parse API response.');
console.log('Failed to parse API response. Error: ' + this.responseText);
document.getElementById("cache_button").disabled = false;
document.getElementById("cache_button").style.opacity = '1';
}
return;
}
if(result.error) {
alert(result.message);
cache_log(days, false, true);
} else {
if(!result.caching_complete) {
cache_log(days, true, result.caching_complete);
get_stats(days);
} else {
cache_log(days, true, result.caching_complete);
}
}
}
};
xhttp.withCredentials = true;
xhttp.open("post", root + "api/get_stats.php", );
xhttp.send(stats_data);
return;
}
function test_tautulli_connection() {
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
document.getElementById("test_connection").disabled = true;
document.getElementById("test_connection").style.opacity = '0.5';
var button = document.getElementById('test_connection');
button.style.backgroundColor = 'lightgrey';
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
https_temp = document.getElementById('https').checked;
ip_temp = document.getElementById('tautulli_ip').value;
root_temp = document.getElementById('tautulli_root').value;
port_temp = document.getElementById('tautulli_port').value;
api_temp = document.getElementById('tautulli_apikey').value;
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
if(https_temp) {
var prefix = 'https://';
} else {
var prefix = 'http://';
}
if(root_temp == "") {
var suffix = '';
} else {
var suffix = '/' + root_temp + '/';
}
if(port_temp == "") {
url = prefix + ip_temp + suffix + '/api/v2';
} else {
url = prefix + ip_temp + ':' + port_temp + suffix + '/api/v2';
}
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
config_form = {"url" : url, "https" : https_temp, "apikey" : api_temp};
var config_data = JSON.stringify(config_form);
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
try {
var result= JSON.parse(this.responseText);
} catch(error) {
console.log('Failed to parse API response. Response: ' + this.responseText)
alert('Failed to parse API response.');
button.style.backgroundColor = 'var(--red)';
document.getElementById("test_connection").disabled = false;
document.getElementById("test_connection").style.opacity = '1';
}
if(!result.error) {
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
button.style.backgroundColor = 'var(--green)';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
document.getElementById("test_connection").disabled = false;
document.getElementById("test_connection").style.opacity = '1';
} else {
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
button.style.backgroundColor = 'var(--red)';
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
document.getElementById("test_connection").disabled = false;
document.getElementById("test_connection").style.opacity = '1';
alert(result.message);
}
}
};
xhttp.withCredentials = true;
xhttp.open("post", root + 'api/get_connection.php');
xhttp.send(config_data);
}
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
function get_wrapper_version() {
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
try {
var result= JSON.parse(this.responseText);
} catch(error) {
console.log('Failed to parse Wrapperr version. Response: ' + this.responseText)
}
if(!result.error) {
document.getElementById('github_link').innerHTML = 'GitHub (' + result.wrapperr_version + ')';
if(result.application_name && result.application_name !== '') {
document.getElementById('application_name').innerHTML = result.application_name + ' Setup';
document.title = result.application_name;
}
}
}
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
};
xhttp.withCredentials = true;
xhttp.open("post", "../api/get_wrapperr_version.php");
xhttp.send();
return;
2021-10-17 11:47:58 +00:00
}
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
// Get admin configuration state
function get_admin_state() {
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
try {
var result= JSON.parse(this.responseText);
} catch(error) {
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
console.log('Failed to parse API response. Response: ' + this.responseText)
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
}
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
if(result.error) {
console.log(result.message);
} else if(!result.wrapperr_admin_configured) {
first_time = true;
set_password_form();
} else {
cookie = get_cookie('wrapperr-admin');
if(cookie) {
validate_cookie_admin(cookie);
} else {
login_menu();
}
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
}
}
};
xhttp.withCredentials = true;
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
xhttp.open("post", "../api/get_admin_state.php");
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
xhttp.send();
return;
Squashed commit of the following: commit 03b7ce95646b8b4452bbf56849127d52a0f98474 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 11 14:32:22 2022 +0100 Custom server-wide section commit 1dce85dd0a7a7d8ad0a31eb8a11ad7fca2de4988 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Jan 4 15:29:57 2022 +0100 Link improvements - Links are deleted if made on different version - Links also carry Wrapperr settings for that link creation - Created links are shown on homepage - Links can be deleted on home page - CSS tweaks commit 3c6a7eb05e7d1a4afda2239a8a98706827bf1f96 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 22:16:56 2022 +0100 Music is now fully custom commit edfca775004e43518d6258347a3e4c69c9e089a3 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:16:53 2022 +0100 SHow buddy bug fix commit e5a739631da9c34d8a7c2262bd96430f23d2ea12 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Jan 3 12:05:35 2022 +0100 Show section is now fully custom commit 693eaec76951241a9ef0d76d8284169c87c25fdd Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:56:50 2022 +0100 Fixed movie completion image bug commit ef2b49969fbbb593e207fabdea42fd2f3f849f42 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 19:45:10 2022 +0100 pop up issues on iOs commit 1515db8c1b56ec95f2455df62a82ecdb45a56fac Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:51:22 2022 +0100 URL commit b8add61a1652ae5d4de8527acf422ae2215adef8 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Jan 2 18:39:06 2022 +0100 CSS overhaul for admin-page commit 40e44fc5b1272d23e4fc6da3a59f9c06a339bcc7 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 30 18:55:47 2021 +0100 100% custom movie section, sort buttons commit 7accc2d006088127e80beebace3c8ac8f0c14960 Author: aunefyren <oystein.sverre@gmail.com> Date: Thu Dec 23 15:59:04 2021 +0100 Added sorting by plays And custom text for movie completion commit 3f24b11fd116669e51fa0256e086f352d35c48b0 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:53:56 2021 +0100 Application title CSS size commit a8f19370d2ac5723fe397e1fe106e8cec49cd174 Author: aunefyren <oystein.sverre@gmail.com> Date: Wed Dec 22 14:30:32 2021 +0100 More custom text - Lists - Server-wide options commit 847dd60483065516398e1d52fa209b54f240de01 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 14:33:27 2021 +0100 Custom language options Change certain words for alternatives, such as plays, days and so on. commit fe501ba9e3ffa6098d3c1869ef8a1580f10897be Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 13:01:15 2021 +0100 Scrambling for answers commit f99c2f2dff36a45cbe7ccf79d7a6f5ac39f21011 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:42:57 2021 +0100 Cookie settings commit 5efddfc9d77a69db62d8b979976c42d079c8b4a2 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 12:21:05 2021 +0100 More headers commit e1c106534cfbd2d0d62492e6c25a1efdb5a70325 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:52:11 2021 +0100 Trying to fix CURL origin commit f7a59ed8d21ad731913ba5f5259997361c8ffdbb Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:40:56 2021 +0100 Color bug and headers commit be604797524de5cb06c66eb593fecd563cbd6592 Author: aunefyren <oystein.sverre@gmail.com> Date: Tue Dec 21 11:12:02 2021 +0100 Admin stuff - Added new admin menu - Admin login session - Separate config categories - Added application URL and name - Config file builds using file, then adds default for variables not found. Less config deletions. - Admin is separate config to prevent stealing unconfigured platforms. - Moved caching to admin menu. - Caching in API requires admin login. - Added robots.txt for web crawlers. - New color palette - Renamed more stuff to Wrapperr commit 5b62dbb2ef4f05d33e49f0ce7e12c147e2343f06 Merge: 84caa7b 67dcf77 Author: aunefyren <oystein.sverre@gmail.com> Date: Mon Dec 13 12:51:09 2021 +0100 Merge branch 'main' into develop commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2022-01-11 13:33:30 +00:00
}
// Validate admin login
function validate_cookie_admin(cookie) {
var json_cookie = JSON.stringify({"cookie": cookie});
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
try {
var result= JSON.parse(this.responseText);
} catch(error) {
console.log('Failed to parse API response. Response: ' + this.responseText)
}
if(result.error) {
set_cookie("wrapperr-admin", "", 1);
login_menu();
} else {
get_config(get_cookie('wrapperr-admin'));
}
}
};
xhttp.withCredentials = true;
xhttp.open("post", "../api/validate_login_admin_cookie.php");
xhttp.send(json_cookie);
return;
}
// Get config for admin to configure
function get_config(cookie) {
config_form = {
"cookie" : cookie
};
var config_data = JSON.stringify(config_form);
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
var result = JSON.parse(this.responseText);
if(result.error) {
alert(result.message);
location.reload();
} else {
tautulli_apikey = result.data.tautulli_apikey;
tautulli_ip = result.data.tautulli_ip;
tautulli_port = result.data.tautulli_port;
tautulli_length = result.data.tautulli_length;
tautulli_root = result.data.tautulli_root;
tautulli_libraries = result.data.tautulli_libraries;
https = result.data.https;
timezone = result.data.timezone;
stats_intro = result.data.stats_intro;
stats_outro = result.data.stats_outro;
create_share_links = result.data.create_share_links;
use_cache = result.data.use_cache;
use_logs = result.data.use_logs;
clientID = result.data.clientID;
wrapperr_root = result.data.wrapperr_root;
application_name_str = result.data.application_name;
application_url_str = result.data.application_url;
wrapped_start = new Date(0);
wrapped_start.setUTCSeconds(result.data.wrapped_start);
wrapped_end = new Date(0);
wrapped_end.setUTCSeconds(result.data.wrapped_end);
get_user_movie_stats = result.data.get_user_movie_stats;
get_user_movie_stats_title = result.data.get_user_movie_stats_title;
get_user_movie_stats_subtitle = result.data.get_user_movie_stats_subtitle;
get_user_movie_stats_subsubtitle = result.data.get_user_movie_stats_subsubtitle;
get_user_movie_stats_subtitle_one = result.data.get_user_movie_stats_subtitle_one;
get_user_movie_stats_subsubtitle_one = result.data.get_user_movie_stats_subsubtitle_one;
get_user_movie_stats_subtitle_none = result.data.get_user_movie_stats_subtitle_none;
get_user_movie_stats_subsubtitle_none = result.data.get_user_movie_stats_subsubtitle_none;
get_user_movie_stats_top_movie = result.data.get_user_movie_stats_top_movie;
get_user_movie_stats_top_movie_plural = result.data.get_user_movie_stats_top_movie_plural;
get_user_movie_stats_movie_completion_title = result.data.get_user_movie_stats_movie_completion_title;
get_user_movie_stats_movie_completion_title_plural = result.data.get_user_movie_stats_movie_completion_title_plural;
get_user_movie_stats_movie_completion_subtitle = result.data.get_user_movie_stats_movie_completion_subtitle;
get_user_movie_stats_pause_title = result.data.get_user_movie_stats_pause_title;
get_user_movie_stats_pause_subtitle = result.data.get_user_movie_stats_pause_subtitle;
get_user_movie_stats_pause_title_one = result.data.get_user_movie_stats_pause_title_one;
get_user_movie_stats_pause_subtitle_one = result.data.get_user_movie_stats_pause_subtitle_one;
get_user_movie_stats_pause_title_none = result.data.get_user_movie_stats_pause_title_none;
get_user_movie_stats_pause_subtitle_none = result.data.get_user_movie_stats_pause_subtitle_none;
get_user_movie_stats_oldest_title = result.data.get_user_movie_stats_oldest_title;
get_user_movie_stats_oldest_subtitle = result.data.get_user_movie_stats_oldest_subtitle;
get_user_movie_stats_oldest_subtitle_pre_1950 = result.data.get_user_movie_stats_oldest_subtitle_pre_1950;
get_user_movie_stats_oldest_subtitle_pre_1975 = result.data.get_user_movie_stats_oldest_subtitle_pre_1975;
get_user_movie_stats_oldest_subtitle_pre_2000 = result.data.get_user_movie_stats_oldest_subtitle_pre_2000;
get_user_movie_stats_spent_title = result.data.get_user_movie_stats_spent_title;
get_user_show_stats = result.data.get_user_show_stats;
get_user_show_stats_buddy = result.data.get_user_show_stats_buddy;
get_user_show_stats_title = result.data.get_user_show_stats_title;
get_user_show_stats_subtitle = result.data.get_user_show_stats_subtitle;
get_user_show_stats_subsubtitle = result.data.get_user_show_stats_subsubtitle;
get_user_show_stats_subtitle_one = result.data.get_user_show_stats_subtitle_one;
get_user_show_stats_subsubtitle_one = result.data.get_user_show_stats_subsubtitle_one;
get_user_show_stats_subtitle_none = result.data.get_user_show_stats_subtitle_none;
get_user_show_stats_subsubtitle_none = result.data.get_user_show_stats_subsubtitle_none;
get_user_show_stats_top_show = result.data.get_user_show_stats_top_show;
get_user_show_stats_top_show_plural = result.data.get_user_show_stats_top_show_plural;
get_user_show_stats_spent_title = result.data.get_user_show_stats_spent_title;
get_user_show_stats_most_played_title = result.data.get_user_show_stats_most_played_title;
get_user_show_stats_most_played_subtitle = result.data.get_user_show_stats_most_played_subtitle;
get_user_show_stats_buddy_title = result.data.get_user_show_stats_buddy_title;
get_user_show_stats_buddy_subtitle = result.data.get_user_show_stats_buddy_subtitle;
get_user_show_stats_buddy_title_none = result.data.get_user_show_stats_buddy_title_none;
get_user_show_stats_buddy_subtitle_none = result.data.get_user_show_stats_buddy_subtitle_none;
get_user_music_stats = result.data.get_user_music_stats;
get_user_music_stats_title = result.data.get_user_music_stats_title;
get_user_music_stats_subtitle = result.data.get_user_music_stats_subtitle;
get_user_music_stats_subsubtitle = result.data.get_user_music_stats_subsubtitle;
get_user_music_stats_subtitle_one = result.data.get_user_music_stats_subtitle_one;
get_user_music_stats_subsubtitle_one = result.data.get_user_music_stats_subsubtitle_one;
get_user_music_stats_subtitle_none = result.data.get_user_music_stats_subtitle_none;
get_user_music_stats_subsubtitle_none = result.data.get_user_music_stats_subsubtitle_none;
get_user_music_stats_top_track = result.data.get_user_music_stats_top_track;
get_user_music_stats_top_track_plural = result.data.get_user_music_stats_top_track_plural;
get_user_music_stats_top_album_plural = result.data.get_user_music_stats_top_album_plural;
get_user_music_stats_top_artist_plural = result.data.get_user_music_stats_top_artist_plural;
get_user_music_stats_spent_title = result.data.get_user_music_stats_spent_title;
get_user_music_stats_spent_subtitle = result.data.get_user_music_stats_spent_subtitle;
get_user_music_stats_oldest_album_title = result.data.get_user_music_stats_oldest_album_title;
get_user_music_stats_oldest_album_subtitle = result.data.get_user_music_stats_oldest_album_subtitle;
get_year_stats_title = result.data.get_year_stats_title;
get_year_stats_subtitle = result.data.get_year_stats_subtitle;
get_year_stats_subsubtitle = result.data.get_year_stats_subsubtitle;
get_year_stats_movies = result.data.get_year_stats_movies;
get_year_stats_movies_title = result.data.get_year_stats_movies_title;
get_year_stats_movies_duration_title = result.data.get_year_stats_movies_duration_title;
get_year_stats_shows = result.data.get_year_stats_shows;
get_year_stats_shows_title = result.data.get_year_stats_shows_title;
get_year_stats_shows_duration_title = result.data.get_year_stats_shows_duration_title;
get_year_stats_music = result.data.get_year_stats_music;
get_year_stats_music_title = result.data.get_year_stats_music_title;
get_year_stats_music_duration_title = result.data.get_year_stats_music_duration_title;
get_year_stats_leaderboard = result.data.get_year_stats_leaderboard;
get_year_stats_leaderboard_title = result.data.get_year_stats_leaderboard_title;
get_year_stats_duration_sum_title = result.data.get_year_stats_duration_sum_title;
wrapperr_and = result.data.wrapperr_and;
wrapperr_play = result.data.wrapperr_play;
wrapperr_play_plural = result.data.wrapperr_play_plural;
wrapperr_day = result.data.wrapperr_day;
wrapperr_day_plural = result.data.wrapperr_day_plural;
wrapperr_hour = result.data.wrapperr_hour;
wrapperr_hour_plural = result.data.wrapperr_hour_plural;
wrapperr_minute = result.data.wrapperr_minute;
wrapperr_minute_plural = result.data.wrapperr_minute_plural;
wrapperr_second = result.data.wrapperr_second;
wrapperr_second_plural = result.data.wrapperr_second_plural;
wrapperr_sort_plays = result.data.wrapperr_sort_plays;
wrapperr_sort_duration = result.data.wrapperr_sort_duration;
username = result.admin;
admin_menu();
}
}
};
xhttp.withCredentials = true;
xhttp.open("post", "../api/get_config.php");
xhttp.send(config_data);
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
}