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
Fixed bug where disabling server-wide shows broke the leaderboard. The leaderboard setting AND server-wide show setting had to be enabled for leaderboards to work.
Fixed bug where show config setting dictated music function.
Added many comments to the code.
Also removed two JSON files that are automatically configured so maybe I stop accidentally publishing my API keys...
All data calculations moved to PHP side
Response arrays limited to needed data (10)
Fixed bug where users artist and album plays just counted unique track plays
JSON response more streamlined with consistent build
New custom intro message, with HTML allowed
Fixed bug where timezone was always Oslo
Removed hardwired timeframe reference
Tweaked time conversion functions, 60 seconds no longer outputs 1 min and 0 seconds.
Changed oldest albums function to sort out unknown years beforehand and not receive whole array
Changed movie function to not print year if value is empty
Better error codes in PHP
HTTP response codes
CSS changed to <a> elements
Changed folder structure of html files to folder with index.html
Linking between main, admin and caching pages
Added footer to caching page
If you gather stats without providing ID for said library you are now warned in the admin config.
Fixed a bug where the "optional" cache age-limit would not work if 0 or empty.
Music can now be added as stats.
More options on admin page
More dynamic building of stats with the new options considered
Fixed bug where test connection button malfunctioned because of no log-settings
All the different PHP APIs can now log successful activity to a log file in the config directory. The logging of Wrapped activity includes the ID of the user. Enabled/disabled in the admin menu.
The config and cache files are now recreated if missing/deleted.
Inputs are now trimmed in the API and compared in lowercase to avoid missmatches.
Added better labels and descriptions on some inputs, as well as placeholders.
Fixed some details in README.md