Commit Graph

149 Commits

Author SHA1 Message Date
7d4eecf603
consolidate in common app 2024-07-22 22:37:49 +02:00
899bdc950b
reset migrations, split user app 2024-07-22 21:34:03 +02:00
adcd4f9245
split stats app 2024-07-22 17:40:49 +02:00
52ac5285b9
split appsettings app 2024-07-21 12:07:06 +02:00
d621008d31
split task app, migrate scheduler instances 2024-07-20 12:16:46 +02:00
f60411c7a4
split download app 2024-07-18 23:17:45 +02:00
7af9ba364b
split playlist app 2024-07-18 22:53:25 +02:00
528bc5f2ef
split to channel app 2024-07-18 22:37:11 +02:00
4c5f56e191
split video app 2024-07-18 12:34:48 +02:00
c687c0fd96
make application run outside of docker 2024-07-17 19:09:31 +02:00
kralverde
335e6f4b6f
add is_superuser, is_staff, and groups to /api/login (#764)
* add is_superuser, is_staff, and groups to /api/login

* fix linting
2024-07-17 20:57:45 +07:00
e3d5a0885b
fix spelling 2024-06-06 19:27:49 +02:00
40beb35f34
fix typo, better date parsing error 2024-05-21 20:54:04 +02:00
d7818871a4
clean up 2024-05-21 20:18:27 +02:00
30c20b41d9
test and better handle invalid domains 2024-05-21 20:14:40 +02:00
21b79e7c8f Merge branch 'testing' into feat-delete-ignore 2024-05-09 15:27:19 +02:00
Simon
9366b8eab9
Feature beat model (#713)
* add django-celery-beat

* implement schedule migration

* fix version_check migration

* remove old schedule init

* better schedule migration

* fix task_config migration

* show task config on settings page

* fix notify url builder

* refactor celery initiation

* fix get task

* fix scheduler mig

* fix linter

* better task_config store on periodic task

* save new schedules

* fix task_config extraction from custom model

* implement auto schedule

* implement schedule delete

* refactor notifications to ES config storage

* downgrade redis

* better notification migration to ES

* add notification url handling

* fix worker start

* fix docs spelling

* don't resend form data on notification refresh

* fix type hints

* move TASK_CONFIG to separate module

* fix partial task config imports

* fix yt_obs typing

* delete schedule

* remove outdated instructions

* create initial schedules

* fix reindex days config key

* fix doc string

* unregister BeatModels
2024-05-09 20:22:36 +07:00
852abf254d
implement delete and ignore for video, #286 2024-04-03 19:39:20 +02:00
Greg
090d88c336
Feature 590 custom playlist (#620)
* add remove custom playlist

* custom playlist page, move video controls

* align to existing code patterns

* cleanup

* resolve merge conflict

* cleanup

* cleanup

* polish

* polish

* some fixes for lint

* resolve merge conflict

* bugfix on delete video/playlist/channel - preserve custom playlist but
delete corresponding videos in custom playlist

* cleanup

* ./deploy.sh validate isort fix - validate runs clean now

* sync to latest master branch

* sync to master

* updates per admin guidance. sync to master

* attempt to resolve merge conflict

* attempt to resolve merge conflict - reintroduce changes to file.

* validate playlist_type

* validate playlist custom action

* move custom id creation to view

* stricter custom playlist matching

* revert unreachable playlist delete check

* undo unneeded playlist matching

---------

Co-authored-by: Simon <simobilleter@gmail.com>
2024-03-10 22:57:59 +07:00
a369be0f4a
split active videos tile, add duration 2023-11-19 21:20:42 +07:00
d5676e5173
[API] remove primary endpoint, in favor of dedicated stats 2023-11-19 20:30:50 +07:00
02ac590caa
[API] add download stats 2023-11-19 14:42:16 +07:00
a466c02304
[API] add playlist stats 2023-11-19 14:00:27 +07:00
e74c26fe36
[API] add channel aggs 2023-11-19 13:48:24 +07:00
91bb0ed9c0
[API] add video aggregation 2023-11-19 13:01:27 +07:00
8b1324139d
pass time_zone to daily aggs 2023-11-09 10:34:08 +07:00
04124e3dad
add daily size download 2023-11-09 10:22:43 +07:00
0b920e87ae
[API] add user config endpoints 2023-11-01 19:07:22 +07:00
4b63c2f536
simplify return message 2023-11-01 14:33:30 +07:00
285e2042ae
[API] add backup endpoints 2023-11-01 14:05:11 +07:00
Merlin
aa475c58aa
Refac settings dashboard (#577)
* Add padding to duration str text

* Add singular and plural to video in dailyStat

* Add code spacing for readability

* Refac Main overview in dashboard to be spaced evenly and use tables

* Refac simplify number padding

* Refac skip adding spacing rows on mobile

* Refac reorder watch progress to be in order of interest

* Fix that ther can be 0 Videos added a day

* Refac capitalize content keys
2023-11-01 08:40:41 +07:00
8247314d01
refactor admin permisson classes 2023-10-31 15:50:33 +07:00
Clark
4d111aff82
Move the startup application settings to a new class (#571)
* Move the startup application settings to a new class

* Replace settings methods with static fields

* Move Redis and ES configuration to the settings class

* Fix environment python imports

* Update envcheck to use the new settings
2023-10-28 10:27:03 +07:00
572b23169c
finetune limited permission user 2023-10-15 14:56:54 +07:00
Steve Ovens
e1fce06f97
View only user (#539)
* Remove repo docs in favor of hosted docs (#537)

* updated base, channel, video htmls to hide elements based on if user is staff or in the group 'admin'

* added the load auth_extras

* updated auth_extras

* updated views.py to block api calls from deleting files from unprivileged users; The Templates needed to be updated to support the various group checks related to removing buttons an unprivileged user should not see

* bumped the channel templates to remove conflict

* fix linting issues

* more linting

---------

Co-authored-by: Merlin <4706504+MerlinScheurer@users.noreply.github.com>
2023-10-15 13:58:06 +07:00
57d8b060d2
fix spelling 2023-10-03 21:03:31 +07:00
77fef5de57
fix standard duration str agg 2023-09-25 14:53:12 +07:00
a7fc7902f0
refactor single video page to use SearchProcess 2023-09-04 21:43:09 +07:00
879f5ab52f
refactor match_progress to use SearchProcess 2023-09-04 21:05:29 +07:00
c6458c6ec1
add score to full text search 2023-09-04 20:44:31 +07:00
47c433e7c1
refactor search form to use new SearchProcess 2023-09-04 20:22:00 +07:00
dc41e5062d
refactor duration class into separate helper functions 2023-09-04 18:49:10 +07:00
Merlin
317942b7e1
Refac biggest channels to be 3 seperate tables with ordering and right align (#536)
* Add right align to numbers on biggest channels in dashboard

* Refac biggest channels to be 3 seperate tables with ordering

* Fix aggs linting
2023-09-04 17:51:06 +07:00
4016e81f9a
add download history stats 2023-09-02 11:22:03 +07:00
5ee37eb0cb
add biggest chanel aggs 2023-09-01 09:28:56 +07:00
5acc1ea718
add all duration aggs 2023-08-31 21:31:47 +07:00
505f5b73c5
add primary aggs 2023-08-31 14:34:08 +07:00
d491b0b347
[API] better primary stats 2023-08-31 12:51:00 +07:00
4ded8988c3
add channel aggregation 2023-08-30 18:42:03 +07:00
988c2b8af7
add download video histogram stats 2023-08-30 17:42:10 +07:00