blender/scripts
Campbell Barton 57c023d580 Preference: add option allow internet access
Add a preference to "Work Offline" system preference as well as command
line options `--offline-mode` & `--online-mode`
(which overrides the preference).
This option is displayed in the initial setup screen too.

This is currently respected by:

- Check for updates on startup
- Disables running an update when enabling extensions.

When Blender is launched with `--offline-mode` the option cannot be
enabled in the preferences. This is intended for environments
where internet access is intentionally disallowed.

Background: with Blender supporting access to online-repositories
as well as 3rd party extensions themselves potentially accessing the
internet. This setting provides a way for users to disable online
functionality.

This prevents error messages when online access fails in environments
without internet access as well as the ability for users who prefer
Blender doesn't access the internet to have one place to turn this off.

While it does not enforce limitations on add-ons, 3rd party scripts
are expected to respect this setting using `bpy.app.internet_offline`.

The details for this will be handled along with other policies scripts
are expected to follow.

Ref !121994
2024-05-23 13:50:06 +10:00
..
addons_core Preference: add option allow internet access 2024-05-23 13:50:06 +10:00
freestyle Cleanup: unused imports 2024-04-19 16:09:30 +10:00
modules Cleanup: remove unnecessary check left in last commit 2024-05-22 20:22:47 +10:00
presets Cleanup: Code style 2024-05-22 19:14:37 +02:00
site Cleanup: spelling in comments, update dictionary 2023-09-03 21:35:07 +10:00
startup Preference: add option allow internet access 2024-05-23 13:50:06 +10:00
templates_osl License headers: remove GPL header from OSL template script 2023-08-04 13:24:15 +10:00
templates_py Python: replace '%' with str.format for examples & templates 2024-04-12 15:33:40 +10:00