commit 58e36a27b60a04959e6f9b9e9150937d1581f154
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Wed Aug 30 15:40:16 2023 +0200

    Doc additions by Pavel
---
 lib/doc/UserGuide.lyx             |   39 ++++++++++++++++++++++++++++++++++++-
 lib/doc/de/UserGuide.lyx          |   35 +++++++++++++++++++++++++++++++++
 src/frontends/qt/ui/PrefEditUi.ui |    2 +-
 3 files changed, 74 insertions(+), 2 deletions(-)

diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx
index bd70eeb..1239e73 100644
--- a/lib/doc/UserGuide.lyx
+++ b/lib/doc/UserGuide.lyx
@@ -10225,12 +10225,14 @@ Verbatim
 \end_layout
 
 \begin_layout Verbatim
+
 This is Verbatim.
 \end_layout
 
 \begin_layout Verbatim
 \noindent
 \align block
+
 The following 2 lines are empty:
 \end_layout
 
@@ -10243,6 +10245,7 @@ The following 2 lines are empty:
 \end_layout
 
 \begin_layout Verbatim
+
 Almost everything is allowed in Verbatim:"%&$§#~'`
 \backslash
 }][{|
@@ -10266,6 +10269,7 @@ Verbatim
 \end_layout
 
 \begin_layout Verbatim*
+
 This is Verbatim*.
 \end_layout
 
@@ -37126,7 +37130,7 @@ name
 
 \begin_layout Standard
 
-\change_inserted -712698321 1598527586
+\change_inserted -712698321 1693402434
 The pattern syntax uses specific keywords.
  These are basically Bib\SpecialChar TeX
  fields (such as 
@@ -37170,6 +37174,39 @@ Customization manual
 Cite format description
 \emph default
 .
+\end_layout
+
+\begin_layout Subsubsection
+
+\change_inserted -712698321 1693402437
+Security implications
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1693402479
+Note that any document (or mainly 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1693402454
+.bib
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ file in this case) coming from a third party might contain malicious links or 
otherwise malformed URLs and we suggest you do not use this feature for other 
documents than those you prepared yourself.
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1693402467
+For that reason the searching on disk is disabled by default and you will be 
asked for confirmation of viewing all the links (both can be bypassed,
+ but beware what you are doing).
 \change_unchanged
 
 \end_layout
diff --git a/lib/doc/de/UserGuide.lyx b/lib/doc/de/UserGuide.lyx
index 428f406..ccc1d06 100644
--- a/lib/doc/de/UserGuide.lyx
+++ b/lib/doc/de/UserGuide.lyx
@@ -9302,10 +9302,12 @@ Unformatiert
 \end_layout
 
 \begin_layout Verbatim
+
 Dies ist Unformatiert.
 \end_layout
 
 \begin_layout Verbatim
+
 Die folgenden 2 Zeilen sind leer:
 \end_layout
 
@@ -9318,6 +9320,7 @@ Die folgenden 2 Zeilen sind leer:
 \end_layout
 
 \begin_layout Verbatim
+
 Fast alles ist in Unformatiert erlaubt:"%&$§#~'`
 \backslash
 }][{|
@@ -9343,6 +9346,7 @@ Unformatiert
 \end_layout
 
 \begin_layout Verbatim*
+
 Dies ist Unformatiert*.
 \end_layout
 
@@ -33611,6 +33615,37 @@ Beschreibung des Literaturverweisformats
 ).
 \end_layout
 
+\begin_layout Subsubsection
+Sicherheitsbedenken
+\end_layout
+
+\begin_layout Standard
+Bitte beachten Sie unbedingt,
+ dass Dokumente (vor allem 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+.bib
+\end_layout
+
+\end_inset
+
+-Dateien in diesem Fall),
+ die von dritten Personen kommen,
+ bösartige Links oder anderweitig korrupte URLs enthalten können.
+ Wir empfehlen Ihnen daher,
+ das hier beschriebene Feature nur für Dokumente zu verwenden,
+ die Sie selbst erstellt haben.
+\end_layout
+
+\begin_layout Standard
+Aus diesem Grund ist die Suche nach Dateien auf der Festplatte auch per 
Voreinstellung deaktiviert,
+ und wenn Sie Links zu öffnen versuchen,
+ werden Sie jedes Mal um Bestätigung gefragt (das können Sie abschalten,
+ aber tun Sie dies nicht unbedacht!).
+\end_layout
+
 \begin_layout Section
 Stichwortverzeichnisse
 \begin_inset CommandInset label
diff --git a/src/frontends/qt/ui/PrefEditUi.ui 
b/src/frontends/qt/ui/PrefEditUi.ui
index 79820b7..39b05dc 100644
--- a/src/frontends/qt/ui/PrefEditUi.ui
+++ b/src/frontends/qt/ui/PrefEditUi.ui
@@ -113,7 +113,7 @@
         <item>
          <widget class="QCheckBox" name="citationSearchCB">
           <property name="toolTip">
-           <string>If this is activated, LyX will search your disk for 
matching files when clicking on &quot;Try to Open Citation Content...&quot; in 
the citation context menu</string>
+           <string>If this is activated, LyX will search your disk for 
matching files when clicking on &quot;Try to Open Citation Content...&quot; in 
the citation context menu. Note the security implications described in User 
Guide, 6.6.4.</string>
           </property>
           <property name="statusTip">
            <string/>
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to