Commit Graph

137 Commits

Author SHA1 Message Date
Syres916
81b5612640 Added missing </a> as per review 2021-02-15 20:12:39 +01:00
Syres916
8f893430b9 [Start] Enable hyperlink for installed Addons
as per discussion https://forum.freecadweb.org/viewtopic.php?f=8&t=55623
2021-02-15 20:12:39 +01:00
Chris Hennes
4f3cc41d65 Modify Start HTML to be valid HTML
Using the W3C validator, a number of minor issues were found with the Start page
HTML. Those items were:
* Missing language setting on the body of the document
* Deprecated attributes set for the style and script tags
* Image tags require alt text
* List tags can only contain list items
* All file:/// URLs must not contain backslashes, even on Windows
2021-01-31 22:13:47 -06:00
Chris Hennes
76e25a3a96 Minor tweaks to Start recommended by LGTM
Using the results of the vulnerability scan at lgtm.com, some minor
changes were made. First, all Python exception handling now explicitly
catches Exception, rather than BaseException (which would include SystemExit
and KeyboardInterrupt). Second, unused imports were removed. Third, a
couple of unnecessary or unused assignments were addressed. Finally, the
JavaScript was modified to explicitly declare the local ddiv variable when
needed.
2021-01-26 20:38:51 -06:00
Chris Hennes
c7f1a49ba4 Add SHADOW replacement 2021-01-08 21:48:31 -06:00
Yorik van Havre
6c7366f76e Start: Fixed freedesktop thumbnail retrieval 2021-01-07 15:36:06 +01:00
Yorik van Havre
e8ab12bcf9 Start: Added tooltip to preferences button 2021-01-05 16:54:23 +01:00
Łukasz Stelmach
d1aa56e6b1 Start: encode basename to avoid crashes on non-ascii file names 2020-12-01 14:56:38 +01:00
luz paz
4568effc2b StartWB: Make all file headers uniform and trim whitespace [skip-ci]
[skip ci]
2020-11-19 13:42:23 +01:00
Yorik van Havre
0b89de1911 Start: Allow to display more than one custom folder on the start page 2020-10-20 12:03:27 +02:00
wmayer
b3d292865f Coverity: [skip ci] Bad use of null-like value 2020-07-21 12:23:10 +02:00
Yorik van Havre
2503cf0bda Start: Fixed loading of non-FCStd files from Start page 2020-05-29 12:04:58 +02:00
triplus
873769d021 Use relative path to stylesheet fix #4130 2020-03-19 14:25:03 +01:00
donovaly
24ec114cb8 remove program-specific SVG namespaces
while fixing a SVG export issue for techDraw I noticed that some SVG files have program-dependent (and thus not clean) code in it. These are traces of the programs Sodipodi and Inkscape, like e.g. this line:
inkscape:export-filename="/home/yorik/PartDesign_Groove.png

This is unnecessary and FC should not use program-dependent code in the SVG but use instead plain SVG strictly following the SVG specification.

This PR transforms the few affected SVGs to a plain version.
2020-02-07 07:34:49 -05:00
Zheng, Lei
10e7b3e80e Do not throw error when open an already opened document 2020-02-05 11:12:00 +01:00
Yorik van Havre
58ab713eb5 Start: Added settings button and allow to turn tips off 2020-01-22 12:46:45 +01:00
Markus Lampert
d5820329c5 Added <last> as an option to the workbench selection. 2019-11-01 17:42:14 -03:00
Yorik van Havre
29334052ba Start: Small cosmetic fixes 2019-09-07 16:45:14 -03:00
Yorik van Havre
0fc0476bd8 StartPage: thumbnails for image formats, + use freedesktop thumbnails if available 2019-07-03 10:52:43 -03:00
Yorik van Havre
32ff1c2bf6 Start: Fixed bad default icon in start page 2019-05-02 18:01:08 -03:00
cclauss
361c44c6dc Unicode fixes for Python3 2019-03-17 20:58:00 +01:00
easyw
25b5685a33 fixing kicad StepUp wiki page link 2019-02-26 14:40:02 -03:00
triplus
90d24159aa Start module Py2 encoding
https://forum.freecadweb.org/viewtopic.php?p=287690#p287600
2019-02-19 10:31:00 -03:00
rokuster
0ff402514d file uri instead of relative path for images
Windows conda build needs a file uri to the image. This fix needs also changes in StartPage.py
2019-02-06 10:13:11 -02:00
rokuster
a10b865af2 Fix Images Display Issues
- Replace relative Add-On Image Path with full file uri in StartPage.js file
- Fix a missing absolute file path
- Fix a duplicated data folder entry in the Resourcepath
2019-02-06 10:13:11 -02:00
luz.paz
104642305f Crowdin: StartPage/TranslationTexts.py grammatical fix 2019-01-30 11:08:03 -02:00
Yorik van Havre
86d8372056 Misc translation fixes from https://forum.freecadweb.org/viewtopic.php?p=281670 2019-01-23 18:20:43 -02:00
Kurt Kremitzki
0b75a92231 Fix Start WB behavior for missing examples dir in Debian package 2019-01-20 00:36:35 +01:00
Yorik van Havre
6299e11c70 Start: Handle addons with non-standard WB name 2019-01-15 20:01:23 -02:00
Yorik van Havre
61f2633d02 Start: Fixed image file paths 2019-01-14 20:20:12 -02:00
wmayer
e2c7c42e7b also set default view orientation when creating document from Start workbench 2019-01-14 14:43:41 +01:00
Yorik van Havre
03b84e3a7b Start: Show 'New' button even if recent files list is empty 2019-01-07 19:44:49 -02:00
wmayer
65adba7ce2 fix typo in StartPage module 2019-01-04 10:56:34 +01:00
Yorik van Havre
13981b83ae Start: Don't switch workbenches if we're not in Start anymore 2018-12-31 16:45:16 -02:00
Yorik van Havre
95664514a0 Start: Fixed single quotes display 2018-12-30 12:47:19 -02:00
Yorik van Havre
776b7a1e45 Start: Better handling of unicode on py2 2018-12-29 14:41:25 -02:00
Yorik van Havre
112e0e3436 Start: Fixed translation on py2 2018-12-28 11:38:21 -02:00
triplus
b4fa7e855c Notepad reliability
Notepad save/load functionality should work without the need to enable "Authorize FreeCAD to access the internet".

https://forum.freecadweb.org/viewtopic.php?f=10&t=30340&start=110#p269908
2018-11-22 10:24:44 -03:00
Yorik van Havre
0ee70328a0 Start: minor py3 fix 2018-11-09 17:59:36 -02:00
Yorik van Havre
d59951e814 Start: Use default file icon if mime-based one is unavailable for some reason 2018-11-08 17:56:21 -02:00
luz.paz
ce91b1f766 Misc. typo fix
Found via `codespell`
2018-10-11 16:21:28 -04:00
lorenz
1faca7ee67 StartPage - handle should always return unicode 2018-10-05 11:33:30 +02:00
lorenz
e965b1a8d7 py3: fix unicode problem 2018-10-05 11:33:17 +02:00
Yorik van Havre
c78854ba2e Start: Write test page in non-binary format 2018-10-04 11:11:48 -03:00
Yorik van Havre
f96390883e Start: Fixed freeze when trying to read corrupt fcstd file 2018-10-03 16:33:11 -03:00
Yorik van Havre
4731c17b1e Start: Added pref option to use gradient icon for new files 2018-09-29 12:52:04 -03:00
wmayer
28c57af9a3 fix install locations for Raytracing and Start module 2018-09-11 10:17:53 +02:00
Pablo Gil
c31dae7c9a Start:
1) replaced link element before li item in order to make the whole box clickable
2) placed "New file" item as first one so that it is always at the same place no matter what session or recent files you have
3) created a thumbnail for "New file" item
2018-09-05 16:07:25 +02:00
Pablo Gil
42a63668ef Start: fixed tabs border radius and reduced font weight for file info 2018-09-05 16:07:09 +02:00
luz.paz
53e122a75a Misc. typo fixes
Found via `codespell`
2018-08-26 17:30:44 +02:00