Simon
320ead0bd2
clean up startup migrations
2024-05-09 20:52:42 +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
Simon
e512329599
remove migpath call at startup, #687
2024-04-03 16:40:16 +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
Simon
b84bf78974
hotfix: clear faulty version check
2023-12-22 09:57:05 +07:00
Simon
789c35e2b5
refactor RedisQueue to use sorted set
2023-12-17 11:22:26 +07:00
extome
7133d6b441
Better CSS support ( #583 )
...
* Remove banner hardcoding
* Refactor "colors" to "stylesheet"
* Remove logo hardcoding
* Remove stylesheet hardcoding
* Add very basic static CSS scanning and a new style
* Respect environment settings
* Check if selected stylesheet still exists
* New theme and title formatting
* Revert migration change
* Code linting
* More outlines for Matrix style
* Change wording in settings
* Forgot this wording
* Add suggested changes
2023-11-09 09:33:03 +07:00
Simon
2826ca4a43
move ES_SNAPSHOT_DIR to EnvironmentSettings
2023-10-28 15:25:57 +07:00
Simon
21fde5e068
remove old migrations
2023-10-28 15:03:16 +07:00
Simon
ea9ed6c238
fix linter
2023-10-28 10:30:21 +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
Simon
4184736bee
update version
2023-10-07 09:53:32 +07:00
Simon
87e457401d
fix duplicated startup migration
2023-10-01 09:34:23 +07:00
Simon
3b7e4c9266
skip id_sb_id migration
2023-10-01 08:36:09 +07:00
Igor Rzegocki
b2bb7ea28e
Support wider spectrum of ElasticSearch configurations
2023-09-22 09:50:47 +02:00
Simon
38b3815a33
catch disabled old settings
2023-09-21 23:17:25 +07:00
Clark
85b56300b3
Move user configuration from Redis to ES ( #533 )
...
* ES Client must bootstrap itself to be the source of config
If this is not done a cyclic loop is created between the config loader and the ES client.
This lays the ground work for ES being the source of all app config.
* auto_download is not used anymore
* Add UserConfig class that encapsulates user config storage
This class will allow the rest of the code to 'not care' about how user properties are stored.
This requires the addition of a ta_users index in ES.
* Create migration task for user config transfer
* Replace getters and setters for each property
Strongly type the user configuration
Migrate missed sponsorblock ID
* Other DB settings will be another PR
2023-09-21 21:46:55 +07:00
Simon
a13cd2f7ba
catch timeout in es connection check, part 2
2023-07-31 19:59:16 +07:00
Simon
befdc64772
catch timeout in es connection check
2023-07-31 09:08:54 +07:00
Simon
75a63c4828
paginate channel migration index update
2023-07-29 17:05:01 +07:00
Simon
ab8fed14bb
handle edge cases in migration clean up
2023-07-28 17:56:28 +07:00
Simon
61b04ba5cf
channel migration take 2
2023-07-24 10:51:13 +07:00
Simon
2a60360f4a
handle empty channel migration cleanup
2023-06-28 20:07:40 +07:00
simon
c4e2332b83
fix startup race condition cluster health
2023-05-20 19:29:32 +07:00
simon
64984bc1b3
fix chown for mig new folder
2023-05-19 14:49:49 +07:00
simon
d62b0d3f8d
implement simplified path migration
2023-05-18 17:42:15 +07:00
simon
c65fbb0b60
add filesystem rescan message
2023-05-14 07:58:10 +07:00
simon
95f114d817
remove leftover print statement
2023-05-14 07:52:51 +07:00
simon
05eac1a8ca
hotfix: skip filesystem rescan
2023-05-13 23:24:35 +07:00
simon
c327e94726
add filesystem rescan to video migration
2023-05-07 15:40:01 +07:00
simon
5e1167743f
fix migration notification logic
2023-05-07 12:06:55 +07:00
simon
5cc642098d
remove old migration
2023-04-29 18:42:29 +07:00
simon
7c01ad88b2
fix startup MediaStreamExtractor error handling
2023-04-29 18:37:54 +07:00
simon
3a091ac287
implement auto_start indexing
2023-04-16 18:30:39 +07:00
simon
3063236634
add media stream index startup migration
2023-04-15 18:27:03 +07:00
simon
c63249b778
faster check on restart only, sleep before CommandError
2023-03-23 11:58:33 +07:00
simon
272972429b
handle hard task reset at startup
2023-03-23 09:49:06 +07:00
simon
8d13b947e2
fix linter
2023-03-04 22:08:48 +07:00
simon
22ef33c6ca
fix startup migration fail with unavailable shards
2023-03-04 18:10:18 +07:00
Clark
e276700b6d
Fix #436 Include listen directive in replacement ( #437 )
2023-02-20 09:37:05 +07:00
simon
229555d97d
fix raise commanderror when migration failed
2023-02-18 09:14:49 +07:00
simon
08350181f3
create ta_startup manage.py command
2023-02-02 12:43:02 +07:00
simon
d73a131616
extend timeout
2023-02-01 16:06:40 +07:00
simon
1b5a810520
finalize connection check manage.py command
2023-02-01 16:05:29 +07:00
simon
cacf6e43b8
add envcheck and basic connection check startup command
2023-01-28 08:37:58 +07:00