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
Feature request: an option to disable polyfill.min.js.php #5
Comments
Thank you for your suggestion and your continued support to OIDplus! I am thinking about a "offline mode" base-configuration setting which could disable more than just the polyfill. After all, if a plugin needs Internet access, then I think an error message telling the user that OIDplus is in Offline-Mode is more friendly than weird Exceptions because an internal connection timeout happened. These are all occurrences of url_get_contents (for GET requests) and CURLOPT_URL (for POST requests):
So these should be all Internet access possibilities. What do you think? |
@danielmarschall Yeah, I think this would be much better. After all, some people may prefer running an offline instance due to personal preferences or workplace requirements. Having an option to disable all communications (as in case with System Registration) would be great. Thanks! |
The latest version svn-1182 (gets released in approx 1 hour) introduces the following base configuration setting:
It will disable the methods Please notify me in case something doesn't work as expected, since this change affects a lot of things. Thanks! |
git-svn-id: https://svn.viathinksoft.com/svn/oidplus/trunk@1182 02e4d621-2042-4998-a0bc-9ccd24201011
@danielmarschall Thank you very much!! Well, at the first glance everything's OK, and the pages load almost instantly on offline system. The only thing missing is local version on Software update page (it says |
On offline systems, or systems with limited connectivity, a request to
polyfill.min.js.php
leads to a very long response - because the file tries to contactpolyfill.io
domain and waits until timeout (bc firewall restricts the connectivity).I would like to have an option either to disable this completely (=returning blank js), or stick to the version shipped with distro.
Currently I'm circumventing this by adding
exit();
at the beginning of the file, this makes updates inconvenient as you have to resolve conflicts manually (I'm using git pull).The text was updated successfully, but these errors were encountered: