-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurations in Sources #338
Conversation
Thanks, I was going to implement the feature flags but you've beaten me to it so excellent work :) This PR is still marked as draft, are you still working on it? |
Ah I see it still has debug prints etc. in the code so I assume this is indeed draft. Let me know when you're ready for a proper code check. Thanks! |
Also note your migration in this PR now needs to follow on from |
Sorry for the late reply, yes, this PR is still a draft as I was still working on figuring out the final deployment - I will re-pull and merge |
No problem, I appreciate the effort. I was asking because I had to merge what I had already pulled in into a release as |
No problems at all, just trying to communicate a timeline. ;-) |
Ready for review, added the data to the overview aswell. Cheers 🥂 |
Nice, thanks! If you could put the extra fields into a Also you need to modify your migration, both If you can modify this migration to be 16 and depend on the |
Sure, can fix that, will push a update later today for this. Also, yes, models.py is already pretty big, maybe we should split them into a models/ folder with files for each model, since searching is already pretty difficult in there. |
I think probably for now just break out the fields and leave the models all in |
As you wish.
Hope that works 👍 Is there any kanban board or any list on which features you'd still like to see for a certain release, so we (contributors) can focus on those? (not trying to scope creep, we can open a separate issue for that aswell). Cheerrs |
Nice, thanks. I'll merge and have a test! Thanks for your work on this, most appreciated. |
There is a (legacy) project board here https://github.com/meeb/tubesync/projects?type=classic but I've not updated it for a while. If you can see that I'll make a "could be suitable for helpful contributors to work on" column and stuff some issues in there if you're interested? Providing you're OK with me reviewing things I've no issue at all with people making good contributions to the project. I'll find time at some point to review the "new" GitHub projects as well as I've never seen them before until I just clicked on the projects tab :) |
Should not affect anything as long as all the space is sufficient for all the sponsor types (should be fine at the moment). |
Sure, if anything, I'd request you review the things we do. ;-) |
Is there a sensible way to migrate to a OneToMany field now while keeping existing users preferences? Edit: the usual way to represent variable flags in models is with a bitfield I suppose, but that's not natively supported in Django either. Database tables, whiile overkill, is probably the most "Django-y" way to add this to the project. |
Can you also take a peak at #345 ? Probably need to do on release testing against Postgres, SQLite and MySQL given they're all supported backends and have slightly annoying variances in features. |
Exactly, hence why I did it as a comma-separated list. |
Hmm, would it help if we add tests for something like that in the future, to avoid things like this breaking? I will test those changes with mysql/mariaDB and postgres in the future, I'll probabbly add some test container CI thing if that is fine by you. |
Yeah even just running |
This PR will do the following:
add_metadata
)pp: EmbedThumbnail
)❗ This is still a draft! There are still places that need to be touched up, like the overview
❕ This also includes a custom implementation of a multi-checkbox for django, who thought that this problem still persists after all these years I started working with django...
New "Update"/"Add" source:
Old metadata/embed-less OGG (apparently metadata is already included by default...):
New fancy embed in OGG:
Why all this?
Funkwhale really like to check for embeded info and media (covers), so, since most music uploads on youtube are already pretty much a slideshow of the album covers, might aswell use them directly.