johannesjo / super-productivity

Super Productivity is an advanced todo list app with integrated Timeboxing and time tracking capabilities. It also comes with integrations for Jira, Gitlab, GitHub and Open Project.
http://super-productivity.com
MIT License
12.05k stars 935 forks source link

docker-compose.yml for self hosted sync #2309

Open qdrop17 opened 2 years ago

qdrop17 commented 2 years ago

Problem Statement

I invested like 3 hours tonight to get this super promising tool up and running with two devices: A desktop and an Android smartphone. I want to use WebDAV to sync my tasks. I managed to spin up a WebDAV container und expose it via reverse proxy (for SSL-termination) and everything was working flawlessly. But I didn't get it running on Android.

I even tried to expose the HTTP port directly; same thing: Working on desktop, not working on Android.

There are famous lists for self hosted solutions, for instance Awesome-Selfhosted. Offering a preconfigured backend would certainly qualify super productivity for this list.

:grey_question: Possible Solution

You could either offer a preconfigured docker-compose.yml file that enables the simple hosting of one's own backend or document on how to get Android working with a custom webDAV server.

:arrow_heading_up: Describe alternatives you've considered

I checked https://williamjbowman.com/blog/2021/05/13/enabling-cors-for-nginx-webdav-and-caldav-reverse-proxy/, but this was too complicated to integrate into my reverse-proxy architecture and does not explain, why I got "network errors" when accessing the webDAV server directly.

:heavy_plus_sign: Additional context

Needless to say, the tool looks super awesome indeed and I would really like to use it across various of my devices! Thanks for your effort!

github-actions[bot] commented 2 years ago

Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!

github-actions[bot] commented 2 years ago

Hello there qdrop17! πŸ‘‹

Thank you and congratulations πŸŽ‰ for opening your very first issue in this project! πŸ’–

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. πŸ‘€

For more open ended discussions and/or specific questions, please visit the discussions page. πŸ’–

johannesjo commented 2 years ago

It works on deskop, but it doesn't on Android? Most likely you need to allow cross origin requests to make it work for mobile.

github-actions[bot] commented 1 year ago

This issue has not received any updates in 90 days. Please comment, if this still relevant!

tiritibambix commented 3 months ago

I want this feature so bad πŸ₯²

jiongxuan commented 1 month ago

@johannesjo @qdrop17 @tiritibambix I’ve resolved the issue by another way. Please refer to this PR for details:

Considering that many are interested, here’s a brief overview of the changes:

I have taken steps to address the longstanding issues related to offline support and CORS in the Android application. These updates are designed to enhance the user experience by enabling offline functionality, resolving security-related CORS issues, and ensuring a smooth transition for existing users. I welcome any questions or feedback from the community to help refine and improve the solution further.