Commit graph

45 commits

Author SHA1 Message Date
Aune
4222216f59
Caching is not user sets 2021-10-11 14:49:50 +02:00
Aune
1166fd0122
More descriptive README
More warnings, indepth instructions and updated methods used in the scripts
2021-10-11 14:45:30 +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
Aune
3d148e8e35
Update README.md
URL formatting
2021-09-21 15:23:49 +02:00
Aune
6bd53916c4
Update README.md
Grammar
2021-09-21 15:19:20 +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
f52d3534ed CSS fix
Extended stats-list class to avoid scrollbar
2021-09-21 12:56:13 +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
2942cd15a7 Changed category-titles and fixed typo in readme
The titles needed a proper context to make sense. If other categories were disabled they made little sense.
2021-08-11 18:07:05 +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
43c90760e4 Re-adding config files
Hurray
2021-05-16 22:00:40 +02:00
aunefyren
d6d2e2d7c0 Merge branch 'main' of https://github.com/aunefyren/Plex-Wrapped into main 2021-05-16 14:33:37 +02:00
Aune
719c2aa31a Minor Readme error 2021-05-16 14:30:05 +02:00
aunefyren
4abf8b01c8 Managed to push my own settings :)
God damn
2021-05-16 14:29:55 +02:00
aunefyren
7c47e810e9 Fixing commit error 2021-05-16 14:13:46 +02:00
aunefyren
4bdc4a1acb Merge branch 'main' of https://github.com/aunefyren/Plex-Wrapped into main 2021-05-16 14:08:36 +02:00
aunefyren
b61864591a Managed to push my own settings :)
God damn
2021-05-16 14:08:33 +02:00
Aune
9e7d479988 Minor Readme error 2021-05-16 13:58:03 +02:00
aunefyren
9438d9c79a Minor CSS changes, better README
Elements are more centered, the README is better written with images and credit.
2021-05-16 13:56:42 +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
84acc9b8e1 Footer bug on admin page
- Fixed bug on admin page where footer was intrusive
2021-03-13 23:55:08 +01: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
Aune
786b080c25 Added code of conduct
Everyone is wecome
2021-03-10 00:50:23 +01:00
aunefyren
566767ca11 More details in readme and CSS improvements
README now explains what do to with the project and the stats-page now stacks better.
2021-03-10 00:41:48 +01:00
aunefyren
82a6adb303 CSS fix and more PHP instructions
Added tips to give PHP directory access and removed duplicate CSS line and CSS width.
2021-03-09 16:53:43 +01:00
aunefyren
396ce0504c Remove error when searching
If an error is present, it will be removed when searching again.
2021-03-09 16:22:41 +01:00
aunefyren
38ccf5d633 Show buddy bug
Fixed bug where show_buddy wouldn't show when server-wide stats were disabled
2021-03-09 16:15:32 +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
bef4e4f126 Fixed merge error
Fixed merge error during last update. Read.me is correct and Jquery is back.
2020-12-22 17:41:46 +01:00
aunefyren
2510f49477 Merge branch 'main' of https://github.com/aunefyren/Plex-Wrapped-2020 into main 2020-12-22 17:34:08 +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
cfc9140a55 Updated some mistakes
PHP script was referred to as JS
2020-12-19 17:13:19 +01:00
aunefyren
ce523ec9b4 Update readme
Grammar
2020-12-19 17:12:07 +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
aunefyren
860a0f09f7 Initial commit 2020-12-19 17:04:43 +01:00