summaryrefslogtreecommitdiff
path: root/help3xsl/help.html
AgeCommit message (Collapse)Author
2020-11-26Update redirects to replace the url rather than navigate to a new oneHenrik Karlsson
Current links from outside (like the wiki) will cause excess history entries when clicking the https://help.libreoffice.org/ link, breaking the back button. See the example of the visited pages below. Ideally only the referring page and the final page should be in the history, allowing the user to navigate back. 1. https://help.libreoffice.org/Main_Page 2. https://help.libreoffice.org/ - 302 redirect 3. https://help.libreoffice.org/help.html - window.location.href 4. https://help.libreoffice.org/latest/index.html - window.location.href 5. https://help.libreoffice.org/latest/en-US/text/shared/05/new_help.html?&DbPAR=WRITER&System=UNIX The second 302 redirect is fine as it simply replaces the history. The two window.location.href assigments however should be replaced with window.location.replace. Change-Id: I6fbe7141de87c939aa816fdfc2fe5255e9792e0b Reviewed-on: https://gerrit.libreoffice.org/c/help/+/106429 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-15remove *.google.com and *.googleapis.com from Content-Security-PolicyAndras Timar
These are obsolete, since search is based on xapian-omega not on google search Change-Id: I1858a3118f6b4778266c4a3d2a6559866ce8cb09 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/94257 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-08-16Let's have Content-Type everywhere.Jan Holesovsky
Change-Id: I000658561d76d6a95a4acbc621db5e3f6d081e08 Reviewed-on: https://gerrit.libreoffice.org/59051 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2018-08-16The <version>/index.html can default correctly, no need to do it in the root.Jan Holesovsky
Change-Id: If74aaea6924638f9fef647121da4a35c66fc0213 Reviewed-on: https://gerrit.libreoffice.org/59048 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2018-08-14Let's make the help urls more standard, and use ?Target=...&... form.Jan Holesovsky
Change-Id: Ic2568c769ab11e3622f71b92a46fb124012a3c90 Reviewed-on: https://gerrit.libreoffice.org/58865 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-08-12Avoid several JS errors.Jan Holesovsky
Change-Id: If0b8b4f3e8c3464f4e7f812ba727a929330438f3 Reviewed-on: https://gerrit.libreoffice.org/58864 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-08-12Use window.location.href = ...; instead of window.open(..., '_self');Jan Holesovsky
Otherwise the interim URLs end up in the history. Change-Id: If99aa1a29126f93387d2f5a6460cc0d43b488cd9 Reviewed-on: https://gerrit.libreoffice.org/58867 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-04-11Fix typosAndrea Gelmini
Change-Id: If081f3b5ac8b752234d115709731a104cea950d9 Reviewed-on: https://gerrit.libreoffice.org/52208 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-01-10Add Content-Security-Policies in new Help pagesOlivier Hallot
Change-Id: I115fc16fbf4b8284bfedc735761434bb586f0355 Reviewed-on: https://gerrit.libreoffice.org/47660 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-09-05More localization WIP for helponlineOlivier Hallot
* Added more languages in page UI * Language names in their own language in language dropdown * Attempt of switch to browser language by default Change-Id: Iea133b24e6121bb5da7af21fe5ca4ce9cde8c14d Reviewed-on: https://gerrit.libreoffice.org/41911 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-08-12tdf#97745 Enable page debug for 6.0Olivier Hallot
Fix url detection in help.html Connect xhp file displayed to opengrok Hide momentarily debug control Change-Id: Icab467ee797d3ec94082a7b3b722bfd2485b5b2e Reviewed-on: https://gerrit.libreoffice.org/41100 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-08-06tdf#97745 use lowercase for file namesOlivier Hallot
synch with https://gerrit.libreoffice.org/#/c/40698/3 Change-Id: I7cc72312a729fcd6468198fd3cb9b4686e588832 Reviewed-on: https://gerrit.libreoffice.org/40812 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>