-
-
Notifications
You must be signed in to change notification settings - Fork 24
Persist smileys/local and interwiki image folders outside of container #41
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
Persist smileys/local and interwiki image folders outside of container #41
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for opening this pull request! Be sure to follow the pull request template!
|
I am a bot, here are the test results for this PR: |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
Is there anything I need to do in order to get this approved? It would be very useful to get this fixed in the repo. |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
I'm just commenting to indicate I still have interest in this. Is there anything that I can do to help get this approved? |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
This doesn't work for me without: Did you test this ? |
641c6e5 to
eca628a
Compare
|
I am a bot, here are the test results for this PR: |
|
Thank you. I did indeed check it, but in retrospect my test process was flawed. I started with the non-modified repo, went through the test steps to create the smileys/interwiki's and verified they DIDN'T work. I then rebuilt the repo with the changes, and verified that the previous non-functioning pages now worked. However, since my steps had added the /config/dokuwiki/lib/images folder, it masked the fact I needed to check for that in the 50-config file as well. I have added the following to 50-config: [[ ! -d /config/dokuwiki/lib/images/ ]] and merged/rebased with the latest. I then started completely from scratch, with no existing folders, rebuilt the container with the changes, ran it, and verified everything works as expected. I then updated my PR branch with the changes. Thanks again for pointing this out. |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
I am a bot, here are the test results for this PR: |
|
@MachX428 this looks fine to me, but it needs to be rebased at this point. Can you rebase and then ping me back? |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Fixes custom smiley and interwiki icon support
eca628a to
6382b25
Compare
|
I am a bot, here are the test results for this PR: |
|
@nemchik - I rebased as per requested, and validated all works as expected. |
Also fully nest the mkdir check to the parent folder of lib/images/smileys/local
nemchik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I made two commits to adjust things a bit (the new mkdir logic you added is combined with the one above it, and nested one more level, and the conditionals are switched to using full if syntax).
Once our CI builds the image if you wouldn't mind testing (I'll specifically mention the tag) i'll approve and merge this.
|
I am a bot, here are the test results for this PR: |
1 similar comment
|
I am a bot, here are the test results for this PR: |
|
|
|
@nemchik - I tested that tag and all works well. That being said, I'm thinking one more slight change might make this just a little more robust and have less possibility for confusion. When I originally did the change, I just created the base |
|
I went ahead and made the change I described, and retested. All looks well on my end if you want to add that in. |
|
I am a bot, here are the test results for this PR: |
Fixes custom smiley and interwiki icon support
Description:
Following the official DokuWiki documentation for working with custom smileys (https://www.dokuwiki.org/smileys) and interwiki icons (https://www.dokuwiki.org/interwiki) does not result in the custom icons being displayed. This is because the folders the user is supposed to put the icons into are not properly persisted outside of the docker container. This PR modifies the
50-configfile to make these locations persistent.Benefits of this PR and context:
This fixes an outstanding bug and closes #40.
How Has This Been Tested?
The change has been tested by:
config/dokuwiki/lib/images/smileys/localconfig/dokuwiki/lib/images/smileys/localfolderconfig/dokuwiki/conf/smileys.local.conffileconfig/dokuwiki/lib/images/interwikiconfig/dokuwiki/conf/interwiki.local.conffileSource / References:
See issue #40.