Skip to content

Create a helper to read in a optional local_url to bypass the need to… #795

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

Merged
merged 5 commits into from
Aug 25, 2024

Conversation

winnieXY
Copy link
Contributor

Hey,

I think i solved the issue with the cronmanager (at least for me).

This patch will create a config option "local_url" which can be used to provide an alternative url to access the cronmanager (e.g. "http://localhost/".

If this option is not set the base_url will be returned instead.

… access the application using the external url.
@HB9HIL HB9HIL self-assigned this Aug 23, 2024
@winnieXY winnieXY changed the title Create a helper to read in a optional local_url to bypass the need to… [DRAFT]: Create a helper to read in a optional local_url to bypass the need to… Aug 23, 2024
@winnieXY winnieXY marked this pull request as draft August 23, 2024 07:04
@winnieXY
Copy link
Contributor Author

Okay, tested it on my local instance. Seems to work for me. Please also test and kindly review :-)

@winnieXY winnieXY marked this pull request as ready for review August 23, 2024 08:15
@winnieXY winnieXY changed the title [DRAFT]: Create a helper to read in a optional local_url to bypass the need to… Create a helper to read in a optional local_url to bypass the need to… Aug 23, 2024
@HB9HIL HB9HIL linked an issue Aug 23, 2024 that may be closed by this pull request
Copy link
Contributor

@HB9HIL HB9HIL left a comment

Choose a reason for hiding this comment

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

Needs to be bullet proof for users, which did not add $config['local_url']. See the comments

image

@HB9HIL HB9HIL added the enhancement New feature or request label Aug 23, 2024
winnieXY and others added 2 commits August 23, 2024 15:00
Co-authored-by: HB9HIL <80885850+HB9HIL@users.noreply.github.com>
@winnieXY winnieXY requested a review from HB9HIL August 23, 2024 13:06
Copy link
Contributor

@HB9HIL HB9HIL left a comment

Choose a reason for hiding this comment

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

Seems good to me. Tested with the cronmanager behind a proxy.

Grace Period of max. 24 hours before merge so @int2001, @phl0 or @AndreasK79 have a chance to see this change aswell

@HB9HIL
Copy link
Contributor

HB9HIL commented Aug 25, 2024

@winnieXY

Please modify the Wiki article here: https://github.com/wavelog/wavelog/wiki/Recommended-Cron-Jobs-and-Cronmanager
Add the local_url config here so the users know about. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CronManager doesn't execute some jobs
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy