Commit Graph

783 Commits

Author SHA1 Message Date
simon d69460bf98
System snapshots, #build
Changed:
- Added: Dedublicated snapshots, read docs/Settings#snapshots first
- Added: Actions for better Python and JS linting
- Changed: Clean up JS
- Changed: Use patched ffmpeg builds for arm64
- API: Added endpoints to interact with snapshots
- Fixed: mobile layout for channel filter dopdown on downloads
2022-10-29 21:10:04 +07:00
lamusmaser f0848283bd
README updated with format update (#353)
* Add update to README to include format adjustments under Getting Started.

* Include updates to the Settings page of the Wiki.
2022-10-29 21:04:49 +07:00
simon b425e7d75c
frontend API button to restore snapshot 2022-10-29 20:12:54 +07:00
simon fb25b76950
fix spelling 2022-10-29 17:45:20 +07:00
simon a18723991a
implement snapshot API views 2022-10-29 17:43:38 +07:00
simon 74aa134971
fix next_exec epoch time builder 2022-10-29 17:43:14 +07:00
simon 24b02150a7
handle delete, restore snapshot return values 2022-10-29 17:27:04 +07:00
simon f717c71c66
implement _parse_single_snapshot, slug compatible naming 2022-10-29 16:54:16 +07:00
simon 814de87768
add snapshot check at startup 2022-10-29 15:57:59 +07:00
simon c392563ef8
use exist_ok for os.makedirs at startup 2022-10-29 15:52:33 +07:00
simon 1fbd603374
frontend implementation for snapshot integration 2022-10-29 15:49:47 +07:00
simon 749f61aba6
fix empty policy building 2022-10-29 15:32:08 +07:00
simon 59f347c135
implement snapshot startup check 2022-10-28 16:47:50 +07:00
simon 904f449d37
combine snapshot_stats for frontend 2022-10-27 18:40:27 +07:00
simon 9b69a8dc91
fix mobile view-controls break 2022-10-27 16:15:32 +07:00
BrianCArnold 6b2fe125d4
Add LDAP attribute mapping env variables. (#344)
* Added ability to specify LDAP attribute mapping.

Specifically made sure that LDAP auth works the same if the
new environment variables aren't set, in order to maintain
behavior for users who are already using LDAP if they don't
set the new envvars.

* Updated env var name to match the name of the parent global.

* Updated README.md to include information on new user attribute mapping environment variables.

* Added additional environment var options, and updated comment explaining why there are multiple.

* I'm not a python programmer, so these were stupid mistakes. Works now.

* Addressing lint error.

* Finished updating formatting according to black linter.

* Shortened comments to fit within line length.

* fix whitespace linting

Co-authored-by: simon <simobilleter@gmail.com>
2022-10-27 13:20:41 +07:00
simon e7f960bf46
implement basics snapshot management 2022-10-26 23:17:55 +07:00
simon 02ed521f21
bump uwsgi 2022-10-26 23:17:03 +07:00
Kevin Gibbons 39902cb1c6
Format/slightly modernize the JS (#345)
* add basic JS tooling

* fix accidental uses of global variables

* auto-format

* add and fix a couple more standard lint rules

* remove useless return false from settimeout callbacks

* document JS contributing

* fix whitespace in package.json

* add JS stuff to codespell skiplist

* codespell take two

* update github action and add comments about duplicated logic
2022-10-26 09:43:58 +07:00
simon 725f17bcd2
fix playlist missing channel metadata 2022-10-25 11:13:14 +07:00
Kevin Gibbons ff82690d3c
add keyboard shortcuts to video player (#342)
* add keyboard shortcuts to video player

* fix modal on the inline player
2022-10-24 20:11:00 +07:00
simon f0874b2d02
add timeout for sponsorblock api requests, handle 503 2022-10-23 12:46:10 +07:00
simon baacd3ee39
better message for running and indexing queue 2022-10-23 12:21:27 +07:00
simon 9cd23c3666
error handeling for playlist_thumbnail extraction 2022-10-23 11:50:26 +07:00
simon 0e17e2a6cf
bump TA_VERSION to v0.2.3 2022-10-23 10:55:57 +07:00
simon 40eff8e30e
fix chrome compatibility issue for description text reveal, #327 2022-10-22 22:32:57 +07:00
simon 0bba36cbc3
add watched_date for _update_by_query mark as watched, #309 2022-10-22 22:00:35 +07:00
simon a5788117de
add dropdown channel agg for download page 2022-10-22 21:23:57 +07:00
simon dea2688b49
handle UnidentifiedImageError in ThumbManager, #325 2022-10-17 19:26:01 +07:00
simon 927e6fa909
create channel parameter for downloads api view 2022-10-17 18:58:21 +07:00
simon bd7cdb3942
append query parameters to pagination 2022-10-17 18:40:20 +07:00
simon 9dfd967a32
implement downloads filter per channel 2022-10-17 13:29:21 +07:00
simon 6eee762d3a
add status for sub refresh 2022-10-14 11:27:27 +07:00
simon a8c5773f81
fix is_live status check before adding to queue 2022-10-05 16:12:58 +02:00
simon fbb52dc93f
implement basic channel query string for downloads page 2022-10-05 15:47:17 +02:00
simon c9e936da21
bump libraries 2022-10-05 15:46:44 +02:00
simon c825e67f69
bump django and restframework 2022-09-30 18:02:44 +02:00
simon db6840639a
update TA_VERSION to v0.2.2 2022-09-19 15:21:55 +07:00
simon f28c47323f
cleanup channel info.json file after import 2022-09-19 15:10:41 +07:00
simon b25818dbc3
extend timeout, add retry to YtWrap 2022-09-17 10:31:51 +07:00
simon f2a8b070f2
add log output for add to queue 2022-09-17 10:30:27 +07:00
simon dfacc3039a
fix reindex task, skip inactive in _get_unrated_vids 2022-09-14 16:43:48 +07:00
simon 2b8ec1f8cf
use grid_items for videos on download page 2022-09-13 16:47:31 +07:00
simon 6d22e62642
downgrade django to fix django_debug env 2022-09-10 11:22:49 +07:00
simon 1c3febc49d
force create thumb folder for manual import 2022-09-06 23:13:29 +07:00
simon a6dd927860
fix channel extraction to catch all alerts, #312 2022-09-06 23:12:49 +07:00
simon 3c92de8e24
improved logging for manual import 2022-09-06 22:42:55 +07:00
simon e51a662da9
fix manual import splitext matching invalid extensions, #311 2022-09-06 22:27:18 +07:00
simon b2bf4ecc02
bump libs 2022-09-06 21:20:29 +07:00
simon 8f2794a141 Merge branch 'master' into testing 2022-09-03 15:17:06 +07:00