Example Error :
File "/home/john/freecad-daily-build/Mod/Start/StartPage/StartPage.py", line 422, in handle
ALTCSS = f.read()
^^^^^^^^
File "/usr/lib/python3.11/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 421: ordinal not in range(128)
* Make StartPage new file template buttons use if instead of match
* Make StartPage Part design new file template not create a sketch
* Remove StartPage Part new file template and rename Part Design template based on community feedback
* StartPage LoadNew.py fix indentation
When starting FreeCAD for the first time, it load the HTML content of
src/Mod/Start/StartPage/StartPage.html and show it as a friendly startup page.
Unfortunately, one of the tabs in the startup page is an iframe loading the content of
https://blog.freecadorg/. The effect is that every time one start FreeCAD, it dial
home over the Internet with a HTTP request to the mentioned URL. This is a privacy
problem. At the moment the blog page in turn will connect to https//i0.wp.com/ and
https//s0.wp.com/, in effect also reporting the startup to Wordpress. Please do not
dial out without the expressed approval and on request of the user of the program.
This patch change the startup page to instead of putting the blog posts in a tab, it
will link to the blog and the connection is only established when the user click on
'BLOG' in the start page. It include a link tooltop to make it easier to understand
that this will bring the user to a new page.
By setting a DefaultImportXXX preferences parameter under Mod/Start,
one can specify a default import module to use when clicking a .XXX
file on the Start page. This is specially useful for filetypes that
have several importers, and the Start page would not let users
choose which importer to use.
Later on if this proves useful we can set up an UI to let the user
set their preferences better.