Commit Graph

190 Commits

Author SHA1 Message Date
wmayer
17bf44ec9a Start: apply clang format 2023-09-03 14:21:53 +02:00
luzpaz
9ed299a57a Fix typos 2023-08-31 22:29:17 -05:00
qewer33
2f352b3383 Add StartPage CSS warning comment 2023-08-28 18:15:15 +03:00
qewer33
1c13ce1b11 Add file thumbnail icons hide and size options to StartPage 2023-08-28 18:07:33 +03:00
qewer33
1c446b1161 Make StartPage tips use BackgroundTextColor 2023-08-28 16:52:34 +03:00
qewer33
65a826dbfc Change default StartPage BackgroundTextColor value 2023-08-28 16:50:19 +03:00
qewer
0a093e1ed1 StartPage: Visual overhaul and CSS fixes (#10391)
* StartPage visual overhaul and CSS fixes
* Add qewer33 to CONTRIBUTORS
2023-08-27 13:27:53 -05:00
qewer
62251818c7 StartPage: Fix new file templates issues (#10291)
* 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
2023-08-21 13:58:29 -05:00
luzpaz
ed9ff68935 Fix typos 2023-08-21 20:20:47 +02:00
qewer33
da0defbb8a Tweak StartPage new file template descriptions and make arch template work with the BIM workbench 2023-08-13 21:42:19 +03:00
qewer33
74d02a69f2 Fix StartPage javascript error when switching tabs 2023-08-11 20:02:33 +03:00
qewer33
0e606ec1d1 Add new file section and file templates to StartPage 2023-08-11 19:50:26 +03:00
bdieterm
e992fe291b fix encoding on StartPage file information 2023-07-22 17:37:46 +02:00
Petter Reinholdtsen
8fe64be7d1 Removed trailing whitespace discovered by github linter.
While working on https://github.com/FreeCAD/FreeCAD/pull/9880,
I discovered a lot of linter issues.  These fixes all of them.
2023-07-10 16:06:52 +02:00
Petter Reinholdtsen
c5f885dfb9 Change Start page to no longer dial home by default.
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.
2023-07-07 14:37:54 +02:00
Syres916
37e6e7dbc5 Reduce the number of lines of code 2023-07-07 10:45:22 +01:00
Syres916
696208116b Reduce number of lines of code 2023-07-07 10:44:02 +01:00
Syres916
07e14ce468 Correct filename variable 2023-07-04 14:36:47 +01:00
Syres916
bc97b93905 Remove Duplicate line 2023-07-04 14:19:47 +01:00
Syres916
93ed55ee40 [Start] LoadMRU Update Conditionals 2023-07-04 14:17:44 +01:00
Syres916
f41b062467 [Start] LoadCustom update conditionals 2023-07-04 14:16:18 +01:00
Syres916
793393cad3 [Start] Fix Minor Regression on LoadCustom
Handle image files using FreeCADGui but all other formats using FreeCAD
2023-07-03 15:47:48 +01:00
Chris Hennes
cdde1506f8 Start: Remove frameborder attribute from iframe
This attribute is obsolete. CSS should be usesd instead.
2023-06-19 17:10:51 -05:00
Pesc0
9618ce8a9f Added freecad blog tab to start page 2023-06-15 13:58:27 +02:00
Yorik van Havre
bdab44c923 Start: Fixed loading from custom folder 2023-05-10 14:26:43 +02:00
luzpaz
129d5882a7 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
luzpaz
57b365f18f Fix misc. typos and whitespace 2023-02-22 23:46:18 +01:00
Yorik van Havre
c8848a7c95 Merge pull request #8496 from yorikvanhavre/Start-default
Start: Allow to change the default import module for a filetype
2023-02-22 10:27:34 +01:00
luzpaz
08b3bf4462 Fix various trailing whitespace issues 2023-02-16 09:30:22 -05:00
Yorik van Havre
79ea979eb1 Start: Allow to change the default import module for a filetype
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.
2023-02-15 14:53:15 +01:00
Yorik van Havre
2a4e87b64d Fixes startpage css - fixes #8330 2023-02-05 15:09:23 +01:00
Yorik van Havre
6a6442b0a3 Start: Added option to hide start page scrollbars 2023-02-04 22:50:23 +01:00
Adrián Insaurralde Avalos
8b85903dff Adjust Startpage version info to new format
due to the changes from 9869a2c3d7
2022-12-25 14:52:45 +01:00
Chris Hennes
9a0e50fbad Start: Add icon for FCMacro files
Closes #7709
2022-12-21 22:51:02 -06:00
Yorik van Havre
c0846e36b4 Start: Set minimum height for notes panel 2022-11-29 12:03:55 +01:00
Chris Hennes
c355810538 Start: Remove Py2 code 2022-11-09 14:08:54 +01:00
flachyjoe
48b4eed55c [Start] Fix New document name translation
Fix FreeCAD-translations/issues/198
2022-10-16 02:55:01 +02:00
VM4Dim
cd6ea30d31 [StartPage] Fix Wiki Link to Reverse_Engineering WB Page 2022-09-05 15:34:06 +03:00
0penBrain
6ab0ba073d [Bugfix] Prevent start page loading to fail if WB doesn't define an icon 2022-05-02 14:30:24 +02:00
wmayer
cf7fd5d2ac lgtm: removes unused imports in Python scripts 2022-03-20 23:00:55 +01:00
Yorik van Havre
fb926cb626 Start: Added possibility to provide custom CSS for the start page 2022-03-04 14:06:13 +01:00
wmayer
4abd91c8e0 StartPage: fix regression of #5515 2022-02-14 08:37:53 +01:00
luz paz
4e3723b9a0 StartWB: Remove superfluous paranthesis [skip ci] 2022-02-10 17:17:32 +01:00
luz paz
d26bd6ffb8 StartWB: Remove python2 support
* removed six module  
* removed encode() function
2022-02-10 17:17:32 +01:00
luz paz
eef27b845f Start: header uniformity + whitespace management + misc. pep8 fixes 2022-01-08 18:28:27 +01:00
Chris Hennes
768a0f086f Addon Manager: Rework backend to use package.xml
This shifts to use the model-view-controller pattern for the list of addons,
and moves to using a full model class rather than an indexed array for the
data storage and management. This enables much more information to be stored
as part of the new AddonManagerRepo data type. It now wraps the Macro class
for macros, supports Preference Packs, and provides access to the Metadata
object.
2021-12-18 20:29:42 -06:00
wmayer
bce8c25421 Start: if a corrupted file is part of the Recent File List then ignore it 2021-10-11 10:13:49 +02:00
Yorik van Havre
b8f4a152d3 Start: Fixed faling test 2021-08-30 15:36:13 +02:00
川島和津実
a95e9549a6 Start: Correct hash for thumbnail filename (py3)
Image file names need to be quoted before hashing to generate thumbnail file names. This is related to pull requests #4931 and #4972, so please refer to discussions therein. Only Python3 is supported, not Python2.
2021-08-18 22:27:39 +08:00
川島和津実
3b6c442187 Start: Correct hash for thumbnail filename
Image file names need to be quoted before hashing to generate thumbnail file names.
This is related to pull requests #4931 and #4972, so please refer to discussions therein.
2021-08-18 22:15:18 +08:00