Commit graph

23 commits

Author SHA1 Message Date
aunefyren
c9f6d5764a Streamlined JSON response & privacy
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
2021-10-24 18:08:22 +02:00
aunefyren
f060ea1ab0 Strings compare in a lowered state & comments
More comments and string comp in wrap function
In progress
2021-10-19 15:42:36 +02:00
aunefyren
e7e783f89e Custom intro-text, timebug fixed, timezone value updates
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
2021-10-12 14:38:54 +02:00
Aune
c12ac89bc0
Music duplication wrap bug fixed
Fixed bug where music was added multiple times during wrap
2021-10-12 10:07:23 +02:00
aunefyren
b098bc88ad New folder structure, HTTP response, <a> css & more
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
2021-10-11 14:25:19 +02:00
aunefyren
00f1bd48e3 Caching back as loop-page, more stats 2021-10-07 18:44:27 +02:00
aunefyren
05ffbc274a More music stats, removed cache age and library ids, updating of incomplete caches 2021-10-05 15:34:30 +02:00
aunefyren
a70d12ca2d Better logging, working API pull 2021-10-05 14:34:00 +02:00
aunefyren
c702e44502 Working prototype with cache 2021-10-05 10:38:06 +02:00
aunefyren
a595f139f9 New approach & timezone 2021-10-04 22:21:43 +02:00
aunefyren
3381249172 Warning when library ID's are not set & Fixed cache age bug
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.
2021-10-04 14:57:28 +02:00
aunefyren
77aae5925c Username support & Sensitive info warning in README
You must now configure a username for more security.
Warning about access to /config added.
2021-10-04 14:26:50 +02:00
aunefyren
5284af5029 Added music, more options, fixed logs
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
2021-10-02 01:21:18 +02:00
aunefyren
023158a619 Optional API logging
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.
2021-09-21 15:01:14 +02:00
aunefyren
2f2e1ca0aa Auto file-creation, trimming and lowercase-compare on inputs, better instructions and labels
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
2021-09-21 12:40:54 +02:00
aunefyren
8b33d9d098 Caching of server-wide stats improved, fixed merging error
Had a lot of issues with the last merger and might have lost some changes. This build is functional.
2021-08-11 17:34:25 +02:00
aunefyren
5a92d1abf3 Cache reuse of server-wide stats, fixed footer, trimming string
- The server-wide statistics now checks for results from other users if cache is enabled
- The input string when searching now removes spaces at the beginning and the end
- The footer no longer overlaps other elements
2021-04-20 11:55:11 +02:00
aunefyren
c24c3156f5 Dynamic time strings, CSS tweaks, show buddy bug
- Changed API response
- Fixed bug where no shows created error message when retrieving show buddy
-  Tweaked username retrieved from Tautulli
- Moved stat modules to function
- All timecodes are converted to strings dynamically
2021-03-13 23:40:46 +01:00
aunefyren
9765c44280 Test connection button, footer and CSS tweaks
- New button in admin-settings to test Tautulli connection
- API now responds if Tautulli can't be reached
- Added footer (not visible on stat-screen)
- Passwords now clears on incorrect login
2021-03-12 23:45:44 +01:00
aunefyren
bdef6c017b Caching, admin page, username search, flexible results
- New design for platform
- Page change based on results
- Illustrations added
- Search by email and username
- Better security (sensitive files moved to folder with .htaccess)
- Admin page for setup (with password)
- Customizable functions
- Caching of results
- Pre-caching script for caching multiple users
2021-03-08 19:45:06 +01:00
aunefyren
0c156ad7ad More stats, CSS fixes, GET-url support
CSS fixed up a bit, but still a bit messy.

API now gives more stats, like oldest movie, and the website calculates spent time watching content.

API file supports GET values in URL, but prioritizes POST if both are recieved.
2020-12-23 14:17:10 +01:00
aunefyren
c19e77bd91 Added more custom options, fixed API approach
The config.json file now allow you to choose timeframe for wrap, enable/disable methods, and customize Tautulli connection options.

API now collects top users, movies and shows using get_history, not last 365 days.

Removed logging function.

Added loading icon.
2020-12-22 17:27:30 +01:00
aunefyren
830c29ab06 First version
The first version of my script, modified to remove sensetive information.
2020-12-19 17:10:59 +01:00