Skip to content
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

Install missing skin via composer on system initialization #254

Merged
merged 9 commits into from
Dec 9, 2024

Conversation

bjalbor
Copy link
Contributor

@bjalbor bjalbor commented Jun 7, 2024

Only classic skin ist included in core. So if you define ROUNDCUBEMAIL_SKIN to anything other, you will get an 404 (also see #243) unless you install missing skin. This contribution will install the missing skin on system startup.

@bjalbor bjalbor changed the title Install missing skin via composer Install missing skin via composer on system initialization Jun 7, 2024
@bjalbor
Copy link
Contributor Author

bjalbor commented Aug 8, 2024

Ping

@pabzm
Copy link
Member

pabzm commented Nov 7, 2024

@thomascube Do you see any technical reason not to merge this? (I'm ready to pick up the work, just want to know your opinion.)

@pabzm pabzm requested review from thomascube and pabzm November 7, 2024 16:07
@thomascube
Copy link
Member

@pabzm No objections. Maybe even configure a non-default skin in the docker-compose.* tests to verify the process works?

@pabzm
Copy link
Member

pabzm commented Nov 8, 2024

@bjalbor Could you try to extend tests/docker-compose.test-* so that they install a non-default skin, so this feature is tested?

Copy link

@pabzm
🛎️ This PR has had no activity in two weeks.

@bjalbor
Copy link
Contributor Author

bjalbor commented Nov 23, 2024 via email

@pabzm
Copy link
Member

pabzm commented Nov 25, 2024

@bjalbor No pressure, we've got time! Thank you for the notice, and thank you for working on this!

@bjalbor
Copy link
Contributor Author

bjalbor commented Nov 29, 2024

I hope everything is fine now. Sorry, if something is still missing. To be honest this is my very first contribution to a project in github 😊

@pabzm
Copy link
Member

pabzm commented Dec 3, 2024

@bjalbor Don't worry, it's an honour to be your first project! I'll have a look into the failing tests and will try to help you within the next days.

Copy link
Member

@pabzm pabzm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found the problem, which comes from code you copied, so it's not your fault at all.

Hooray for testing!

Thank you again for your contribution, and congratulations to your courage to post your first pull request!

apache/docker-entrypoint.sh Outdated Show resolved Hide resolved
@bjalbor
Copy link
Contributor Author

bjalbor commented Dec 6, 2024

I'm not sure, if I did it right, but I managed to bring my pull request to match the actual state.

What I did: Synced and pulled my fork project, rebased/merged my local repo, tidied up and pushed back.

Was that the right way or did I miss anything?

Sorry for the inconvenience...

@pabzm
Copy link
Member

pabzm commented Dec 9, 2024

@bjalbor You did it well, thank you! Since you merged the "master"-branch (instead of rebasing it), github now thinks that this PR wants to merge 31 commits – most of those are actually part of the "master"-branch already, though. I'll use a "squash-commit", to reduce the amount of commits to one.

@pabzm
Copy link
Member

pabzm commented Dec 9, 2024

@bjalbor I allowed myself to resolve a conflict between your branch and the "master" branch, which came from merging another pull request.

Curiously now Github nows that most of the commits don't need to be merged anymore... 🤷

@pabzm pabzm merged commit 8519970 into roundcube:master Dec 9, 2024
3 checks passed
@pabzm
Copy link
Member

pabzm commented Dec 9, 2024

@bjalbor Your first contribution is merged, congratulations! Well done! 🎉

If you have more ideas or see bugs, let us know!

@bjalbor
Copy link
Contributor Author

bjalbor commented Dec 12, 2024

@pabzm Yippee, it finally worked. Thank you for your help in learning about this stuff. I certainly will come back if I find s.th. more to improve.

@bjalbor bjalbor deleted the fix-skin branch December 12, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants