Commit Graph

1381 Commits

Author SHA1 Message Date
tcely
3411bac78a
Set Media.download_date for imported files 2025-03-01 02:54:56 -05:00
meeb
20e879767c
Merge pull request #796 from tcely/patch-6
Some checks failed
Run Django tests for TubeSync / test (3.10) (push) Has been cancelled
Run Django tests for TubeSync / test (3.11) (push) Has been cancelled
Run Django tests for TubeSync / test (3.12) (push) Has been cancelled
Run Django tests for TubeSync / test (3.8) (push) Has been cancelled
Run Django tests for TubeSync / test (3.9) (push) Has been cancelled
Run Django tests for TubeSync / containerise (push) Has been cancelled
Restrict `PYTHONPYCACHEPREFIX` to `pipenv`
2025-03-01 09:50:48 +11:00
tcely
fd0743986b
Restrict PYTHONPYCACHEPREFIX to pipenv
It turns out `apt` and friends don't play nicely with that variable.
2025-02-28 17:41:59 -05:00
meeb
dc39f38b96
Merge pull request #795 from tcely/patch-5
Be more user-friendly when sorting tasks
2025-03-01 09:01:30 +11:00
tcely
0703032fcf
Be more user-friendly when sorting tasks
The time first, then the priority, if the tasks are at the same time.
2025-02-28 16:51:53 -05:00
meeb
e39fc86952
Merge pull request #794 from tcely/patch-10
Do not lose track of downloaded files
2025-03-01 08:32:05 +11:00
meeb
398c1a5630
Merge pull request #793 from tcely/patch-9
Better display of large numbers
2025-03-01 08:31:22 +11:00
meeb
55855f5f89
Merge pull request #790 from tcely/patch-5
Add `pagination` for scheduled tasks
2025-03-01 08:30:50 +11:00
meeb
6cfd860b10
Merge pull request #792 from tcely/patch-6
Clean up `__pycache__` directories
2025-03-01 08:28:08 +11:00
tcely
b38237803a
Do not lose track of downloaded files 2025-02-28 16:24:01 -05:00
tcely
a993240b96
Better display of large numbers 2025-02-28 15:50:31 -05:00
tcely
ff6a858783
Humanize the numbers for each category
This is important for scheduled higher than 1,000 mostly.
2025-02-28 15:41:33 -05:00
tcely
b31e26b964
Allow filtering tasks by source 2025-02-28 15:15:35 -05:00
tcely
fdbea30f74
Improve readability 2025-02-28 14:25:45 -05:00
tcely
b2c1748d62
Switch to total_scheduled in views.py 2025-02-28 14:16:11 -05:00
tcely
4f32e63047
Switch to total_scheduled in tasks.html 2025-02-28 14:14:57 -05:00
tcely
174d9d46e8
Use scheduled_total instead of scheduled for this page 2025-02-28 14:11:15 -05:00
tcely
c81f0854e0
Add scheduled_total to the context 2025-02-28 14:10:07 -05:00
tcely
0786933c5f
Tweak the comment 2025-02-28 14:04:29 -05:00
tcely
fcc37100c3
python -B is well-behaved
Use the `tmpfs` mount on `/cache` instead of `/tmp` to make this faster.
2025-02-28 13:44:19 -05:00
tcely
63f3df1d5c
Clean up __pycache__ directories 2025-02-28 12:45:36 -05:00
tcely
b61061d3c1
Keep the rows distinct 2025-02-28 02:10:20 -05:00
tcely
2d4e23a8d7
Pagination for scheduled tasks
Keep showing running and errors on every page.
2025-02-28 01:58:06 -05:00
tcely
b78075557a
Add pagination for scheduled tasks 2025-02-28 01:32:32 -05:00
meeb
7e86e23b86
Merge pull request #787 from tcely/patch-6
Some checks are pending
Run Django tests for TubeSync / test (3.10) (push) Waiting to run
Run Django tests for TubeSync / test (3.11) (push) Waiting to run
Run Django tests for TubeSync / test (3.12) (push) Waiting to run
Run Django tests for TubeSync / test (3.8) (push) Waiting to run
Run Django tests for TubeSync / test (3.9) (push) Waiting to run
Run Django tests for TubeSync / containerise (push) Waiting to run
Use `yt-dlp` `daterange` option
2025-02-28 06:09:31 +11:00
meeb
545b039fe9
Merge pull request #786 from tcely/django-5-csrf
CSRF Fixes for Django 5.1
2025-02-28 06:08:32 +11:00
meeb
e33d30a3d7
Merge pull request #784 from tcely/patch-5
Prevent unintended unhealthy restarts
2025-02-28 06:06:12 +11:00
tcely
ddc9588cbf
Set daterange for yt-dlp when indexing 2025-02-27 10:50:00 -05:00
tcely
fd4f917b05
Pass days to indexer function 2025-02-27 10:14:33 -05:00
tcely
e04562d8be
Add the port to the Host header
Without this, port 80 may be assumed, which would be incorrect.
2025-02-27 08:59:21 -05:00
tcely
beeaafe246
Use the values from nginx for CSRF Origin checks 2025-02-27 08:51:09 -05:00
tcely
e2dd61af66
Pass through forwarded Host & Port 2025-02-27 08:43:14 -05:00
tcely
b0ea486302
Prevent unintended unhealthy restarts
When I intentionally set a test container to be down,
I really don't want it to be restarted because it was "unhealthy" for too long
2025-02-26 07:39:23 -05:00
meeb
5e250f4d72
Merge pull request #776 from tcely/patch-6
Some checks failed
Run Django tests for TubeSync / test (3.10) (push) Has been cancelled
Run Django tests for TubeSync / test (3.11) (push) Has been cancelled
Run Django tests for TubeSync / test (3.12) (push) Has been cancelled
Run Django tests for TubeSync / test (3.8) (push) Has been cancelled
Run Django tests for TubeSync / test (3.9) (push) Has been cancelled
Run Django tests for TubeSync / containerise (push) Has been cancelled
Store `Media.downloaded_filesize` for imported files
2025-02-26 21:43:42 +11:00
meeb
3f6da71f67
Merge pull request #775 from tcely/patch-5
Remove unnecessary `chmod` executions
2025-02-26 21:42:57 +11:00
tcely
533c1631b7
Store Media.downloaded_filesize for imported files
Fixes #69
2025-02-25 04:13:02 -05:00
tcely
fff42cec09
fixup: remove the extra blank line 2025-02-25 03:36:11 -05:00
tcely
921e053fc3
Remove unnecessary chmod executions
Setting the mode to the same value twice is only wasted effort.
2025-02-25 03:34:02 -05:00
meeb
ff91cbf6ba
Merge pull request #771 from tcely/patch-5
Some checks failed
Run Django tests for TubeSync / test (3.10) (push) Has been cancelled
Run Django tests for TubeSync / test (3.11) (push) Has been cancelled
Run Django tests for TubeSync / test (3.12) (push) Has been cancelled
Run Django tests for TubeSync / test (3.8) (push) Has been cancelled
Run Django tests for TubeSync / test (3.9) (push) Has been cancelled
Run Django tests for TubeSync / containerise (push) Has been cancelled
Check for the cached dictionary first
2025-02-25 15:21:54 +11:00
tcely
fd423fba88
Check for the cached dictionary first 2025-02-24 14:57:53 -05:00
meeb
7d530c4148
Merge pull request #581 from tcely/sqlite-connections
Some checks are pending
Run Django tests for TubeSync / test (3.10) (push) Waiting to run
Run Django tests for TubeSync / test (3.11) (push) Waiting to run
Run Django tests for TubeSync / test (3.12) (push) Waiting to run
Run Django tests for TubeSync / test (3.8) (push) Waiting to run
Run Django tests for TubeSync / test (3.9) (push) Waiting to run
Run Django tests for TubeSync / containerise (push) Waiting to run
SQLite connection options
2025-02-25 02:54:57 +11:00
tcely
c9f4a5dc17
Use the standard sqlite3 engine from Django 5.1 2025-02-24 10:42:30 -05:00
tcely
91523edc21
Delete tubesync/tubesync/sqlite3/base.py 2025-02-24 10:40:54 -05:00
meeb
8738e65bce
Merge pull request #769 from tcely/patch-3
Access `posix_epoch` correctly
2025-02-25 02:15:21 +11:00
tcely
1ad90ad628
Access posix_epoch correctly
Fixes #768
2025-02-24 10:11:06 -05:00
meeb
e45fce54bc
Merge pull request #767 from tcely/patch-3
Prevent unintended changes to the cached dictionary
2025-02-24 22:42:53 +11:00
tcely
7ebd23c070
Prevent unintended changes to the cached dictionary 2025-02-24 06:27:23 -05:00
meeb
71b2b15239
Merge pull request #766 from tcely/patch-5
Remove Redis
2025-02-24 22:24:07 +11:00
meeb
a57b92b5b1
Merge pull request #765 from tcely/patch-3
Upgrade to 1.2.8 for Django 5 support
2025-02-24 21:43:14 +11:00
tcely
822db9d039
Delete tubesync/tubesync/celery.py 2025-02-24 04:58:56 -05:00