From 6c766fe5aeaeef701f7a2eb0931bf3d88471ed18 Mon Sep 17 00:00:00 2001
From: Daniel <d.hornung@indiscale.com>
Date: Thu, 11 May 2023 12:03:23 +0200
Subject: [PATCH] WIP: Rename caosdb -> linkahead (webui submodule)

---
 .gitlab-ci.yml                              |   6 +-
 CHANGELOG.md                                | 130 ++++++--------------
 README.md                                   |  18 +--
 src/doc/administration/static-snapshots.md  |  14 +--
 src/doc/conf.py                             |  12 +-
 src/doc/extension/display_of_properties.rst |   2 +-
 src/doc/extension/query_templates.rst       |  14 +--
 src/doc/extension/references.rst            |   4 +-
 src/doc/extension/xslt-debugging.md         |   4 +-
 src/doc/tutorials/edit_mode.rst             |   6 +-
 test/core/js/modules/edit_mode.js.js        |   2 +-
 tools/copy_into_docker.sh                   |   7 +-
 12 files changed, 81 insertions(+), 138 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b9a09010..34ccd363 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,5 @@
 #
-# This file is a part of the CaosDB Project.
+# This file is a part of the LinkAhead Project.
 #
 # Copyright (C) 2018 Research Group Biomedical Physics,
 # Max-Planck-Institute for Dynamics and Self-Organization Göttingen
@@ -22,7 +22,9 @@
 # along with this program. If not, see <https://www.gnu.org/licenses/>.
 
 variables:
-  DEPLOY_REF: dev
+  # TODO Rename back to dev
+  DEPLOY_REF: f-linkahead-rename
+  # TODO Rename to linkahead
   CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/src/caosdb-webui/testenv
 
 image: $CI_REGISTRY_IMAGE:latest
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 41c93fc7..ec645229 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -23,13 +23,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
   a button to the user management is added to the navbar for users with role
   administration if `BUILD_MODULE_EXT_ENTITY_ACL=ENABLED`.
 
-### Changed (for changes in existing functionality)
+### Changed
+
+* Changed name from CaosDB to LinkAhead.
 
 ### Deprecated
 
 * `query_form` module. Enable/disable via build property
   `BUILD_MODULE_LEGACY_QUERY_FORM={ENABLED,DISABLED}`. To be removed when
-  caosdb-webui-core-components are included into this webui permanently.
+  linkahead-webui-core-components are included into this webui permanently.
 
 ### Removed
 
@@ -68,7 +70,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 * [#189](https://gitlab.com/caosdb/caosdb-webui/-/issues/189) The order in which
   the properties of (Records of) a RecordType are displayed can be configured.
 
-### Changed (for changes in existing functionality)
+### Changed
 
 * Version bump of caosdb_map module (0.5.0):
   * Added configurable entityLayers
@@ -83,7 +85,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ## [0.9.0] - 2022-11-02
 (Florian Spreckelsen)
 
-### Changed (for changes in existing functionality)
+### Changed
 
 * ext_references: names will be shown instead of file names if they exist
 
@@ -111,18 +113,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
   PROPERTY LIKE '*john*' AND A PROPERTY LIKE '*gibson*'`, not in `FIND ENTITY
   WHICH HAS A PROPERTY LIKE '*john gibson*'` as before).
 
-### Deprecated
-
-### Removed
-
 ### Fixed
 
 * Styling of the selects in the edit_mode.
 
-### Security
-
-### Documentation
-
 ## [0.7.0] - 2022-05-31
 (Florian Spreckelsen)
 
@@ -171,8 +165,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
   backwards-compatible for the map config. Clients need to update their
   version string in their config file, tho.
 
-### Deprecated
-
 ### Removed
 
 * globla `setNameID` function (replaced by `_setDescriptionNameID` which should
@@ -186,10 +178,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
   Fixed an issue whereby missing property descriptions in the edit mode would
   lead to wrongly detected entity updates in the server
 
-### Security
-
-### Documentation
-
 ## [0.4.2] - 2021-12-06
 
 ### Added (for new features, dependecies etc.)
@@ -209,59 +197,46 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
   `DISABLED` by default.
 * Added button to version history panel that allows restoring old versions
 
-### Changed (for changes in existing functionality)
+### Changed
 
 * Default footer elements contain invalid links for imprint, contact, and data-policy now
 
-### Deprecated (for soon-to-be removed features)
-
-### Removed (for now removed features)
+### Removed
 
 * Build property `BUILD_CUSTOM_IMPRINT`. Please use BUILD_FOOTER_IMPRINT_HREF
   and link a document instead. You can always put a html page to
   `src/ext/html/` and link to that.
 
-### Fixed (for any bug fixes)
+### Fixed
 - #156
 - #251
 
-### Security (in case of vulnerabilities)
-
-### Documentation (for notable additions or changes of the documentation)
-
-
 ## [0.4.1] - 2021-11-04
 
-### Added (for new features, dependecies etc.)
+### Added
 
 * `form_panel` module for conveniently creating a panel for web forms.
 * `restore_old_version` function to base functionality (caosdb.js)
 * buttons to the version history modal that allow restoring older versions
 
-### Changed (for changes in existing functionality)
+### Changed
 
 * Default footer elements contain invalid links for imprint, contact, and data-policy now
 
-### Deprecated (for soon-to-be removed features)
-
-### Removed (for now removed features)
+### Removed
 
 * Build property `BUILD_CUSTOM_IMPRINT`. Please use BUILD_FOOTER_IMPRINT_HREF
   and link a document instead. You can always put a html page to
   `src/ext/html/` and link to that.
 
-### Fixed (for any bug fixes)
+### Fixed
 
 * Auto-completion and edit_mode can handle entity names with empty spaces better now
 * [#251](https://gitlab.indiscale.com/caosdb/src/caosdb-webui/-/issues/251) - Data loss when editing Entities with URL-like properties
 
-### Security (in case of vulnerabilities)
-
-### Documentation (for notable additions or changes of the documentation)
-
 ## [0.4.0] - 2021-10-28
 
-### Added (for new features, dependecies etc.)
+### Added
 
 * Module `ext_qrcode` which generates a QR Code for an entity (pointing to the
   the head or the exact version).
@@ -269,23 +244,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
   bookmarks will result in the URI being too lang and bookmarks will have to be
   cleared manually.
 
-### Changed (for changes in existing functionality)
-
-### Deprecated (for soon-to-be removed features)
-
-### Removed (for now removed features)
+### Removed
 
 * `getEntityId`, a former duplicate of `getEntityID` which must be used instead.
 
-### Fixed (for any bug fixes)
-
-### Security (in case of vulnerabilities)
-
-### Documentation (for notable additions or changes of the documentation)
+### Documentation
 
 ## [v0.4.0-rc1] - 2021-06-16
 
-### Added (for new features, dependecies etc.)
+### Added
 
 - `ext_applicable` module for building fancy features which append
   functionality to entities (EXPERIMENTAL).
@@ -298,7 +265,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - Added a tutorial for the edit mode to the documentation
 - Documentation on how to customize reference resolving
 
-### Changed (for changes in existing functionality)
+### Changed
 
 - Updated from bootstrap 3 to bootstrap 5. This is a major change which will
   possibly break existing custom implementations (e.g. a custom welcome page)
@@ -309,12 +276,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - Moved the resolving of references to Person Records to separate
   example which can be disabled
 
-### Deprecated (for soon-to-be removed features)
+### Deprecated
 
 - css-class `.caosdb-property-text-value`. Please use
   `.caosdb-f-property-text-value` or `.caosdb-v-property-text-value` instead.
 
-### Removed (for now removed features)
+### Removed
 
 * `#subnav` element from navbar which was previously used for spacing
 * `caosdb.form.ready` event
@@ -330,13 +297,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
   changing the map view.
 - #200 - Re-enabled the file-upload button
 
-### Security (in case of vulnerabilities)
-
 ## [v0.3.1] - 2021-06-15
 
 This is the last Bootstrap-3 compatible release.
 
-### Added (for new features, dependecies etc.)
+### Added
 
 * Displaying and interacting with the entity state.
 * Change password functionality for users of the internal user source. Disable
@@ -346,15 +311,15 @@ This is the last Bootstrap-3 compatible release.
 * two new field types for the form_elements module, `file` and `select`. See
   the module documentation for more information.
 
-### Changed (for changes in existing functionality)
+### Changed
 - The heading attributes datatype, path, checksum and size are now placed
   in a `details` html element.
 
-### Deprecated (for soon-to-be removed features)
+### Deprecated
 
 * Any bootstrap-3 dependencies. Please prepare upgrading to bootstrap-5 with the next release.
 
-### Removed (for now removed features)
+### Removed
 
 * `ext_revisions` module. This module was only a work-around which had been
   used for versioning functionality before the native versioning was
@@ -368,11 +333,9 @@ This is the last Bootstrap-3 compatible release.
 * Several minor cosmetic flaws
 * Fixed edit mode for Safari 11.
 
-### Security (in case of vulnerabilities)
-
 ## [v0.3.0] - 2021-02-10
 
-### Added (for new features, dependecies etc.)
+### Added
 
 - The versioning model has a new styling and can show and tsv-export the full
   version history now.
@@ -394,16 +357,12 @@ This is the last Bootstrap-3 compatible release.
 * Automated documentation builds: `make doc`
 - documentation on queries
 
-### Changed (for changes in existing functionality)
+### Changed
 
 * ext_map version bumped to 0.4
 - enabled and enhanced autocompletion
 * Login form is hidden behind another button.
 
-### Deprecated (for soon-to-be removed features)
-
-### Removed (for now removed features)
-
 ### Fixed
 
 - #144 (Select with ANY VERSION OF).
@@ -415,27 +374,15 @@ This is the last Bootstrap-3 compatible release.
 - #158 show preview if the entity is too large for the viewport if
   bottom line is in view.
 
-### Security (in case of vulnerabilities)
-
 ## [v0.2.1] - 2020-09-07
 
-### Added (for new features, dependecies etc.)
+### Added
 
 * `ext_jupyterdrag` (v0.1) module for dragging entities into jupyter notebooks.
 
-### Changed (for changes in existing functionality)
-
-### Deprecated (for soon-to-be removed features)
-
-### Removed (for now removed features)
-
-### Fixed
-
-### Security (in case of vulnerabilities)
-
 ## [v0.2] - 2020-09-02
 
-### Added (for new features, dependecies etc.)
+### Added
 
 * Build variable `EXT_REFERENCES_CUSTOM_REFERENCE_RESOLVER`. The value of this
   variable must be module which has at least a `resolve(id)` function, which
@@ -458,30 +405,26 @@ This is the last Bootstrap-3 compatible release.
     * `preview` also works for versioned references
     * `edit_mode` prevents the user from editing old versions of an entity.
 
-### Changed (for changes in existing functionality)
+### Changed
 - The `navbar.add_button` signatur changed to `add_button(button, options)`.
   See the doc string of that method for more information.
 - added a layout argument to the create_plot function of ext_bottom_line
 
-### Deprecated (for soon-to-be removed features)
+### Deprecated
 
 * css class `caosdb-property-text-value` is deprecated because different
   functionality interpreted it differently and most of the uses of this class
   have already been removed and replaced by specialized classes.
 
-### Removed (for now removed features)
-
 ### Fixed
 
 * #101 - loading of A LOT of references in `ext_references` slows down the
   webui or even freezes the brower.
 * Fixed a bug where the Tour would lose its state upon page reload.
 
-### Security (in case of vulnerabilities)
-
 ## [v0.2-rc.1] - 2020-04-10
 
-### Added (for new features, dependecies etc.)
+### Added
 
 * ext_bottom_line module (v0.1 - Experimental)
     * A module which adds a preview section where any kind of summarizing
@@ -525,7 +468,7 @@ This is the last Bootstrap-3 compatible release.
     Works only for non-LIST properties
 * Edit Mode - switch the LISTishness of entity properties back and forth.
 
-### Changed (for changes in existing functionality)
+### Changed
 
 * The old `caosdb-property-row` CSS class has been replaced by
   `caosdb-v-property-row` for styling and `caosdb-f-property` for functional
@@ -552,25 +495,22 @@ This is the last Bootstrap-3 compatible release.
   `annotation` module now (which uses the `markdown` module as back-end, tho).
 * updated QUnit test framework to 2.9.2
 
-
-### Deprecated (for soon-to-be removed features)
+### Deprecated
 
 * Image Preview in the FileSystem. The functionality is to be replaced by real
   thumbnails, which cover also non-image data-formats. The thumbnails resource
   is part of the new file system API of the CaosDB Server which is currently
   under development.
 
-### Removed (for now removed features)
+### Removed
 
 * Removed non-informative tests for weblinkahead.css
 * Hard-coded image and video preview in the entity panel. The preview of images
   and videos is controlled by the `ext_bottom_line` module now.
 
-### Fixed (for any bug fixes)
+### Fixed
 
 * #95 - Edit Mode removes property values of reference properties when server
   response for possible reference targets is empty.
 * Bug in `getPropertyFromElement` (see above) which returned the unit as the
   property value if the actual value was an empty string.
-
-### Security (in case of vulnerabilities)
diff --git a/README.md b/README.md
index d6c53f49..265f1e01 100644
--- a/README.md
+++ b/README.md
@@ -14,36 +14,36 @@ setup this code.
 
 ## Further Reading
 
-Please refer to the [official documentation](https://docs.indiscale.com/caosdb-webui/) for more information.
+Please refer to the [official documentation](https://docs.linkahead.org/linkhead-webui/) for more information.
 
 ## Contributing
 
-Thank you very much to all contributers—[past, present](https://gitlab.com/caosdb/caosdb/-/blob/dev/HUMANS.md), and prospective ones.
+Thank you very much to all contributers—[past, present](https://gitlab.com/linkahead/linkahead-meta/-/blob/dev/HUMANS.md), and prospective ones.
 
 ### Code of Conduct
 
-By participating, you are expected to uphold our [Code of Conduct](https://gitlab.com/caosdb/caosdb/-/blob/dev/CODE_OF_CONDUCT.md).
+By participating, you are expected to uphold our [Code of Conduct](https://gitlab.com/linkahead/linkahead-meta/-/blob/dev/CODE_OF_CONDUCT.md).
 
 ### How to Contribute
 
 * You found a bug, have a question, or want to request a feature? Please
-[create an issue](https://gitlab.com/caosdb/caosdb-webui/-/issues).
+[create an issue](https://gitlab.com/linkahead/linkahead-webui/-/issues).
 * You want to contribute code? Please fork the repository and create a merge
 request in GitLab and choose this repository as target. Make sure to select
 "Allow commits from members who can merge the target branch" under Contribution
 when creating the merge request. This allows our team to work with you on your request.
-- If you have a suggestion for the [documentation](https://docs.indiscale.com/caosdb-webui/),
+- If you have a suggestion for the [documentation](https://docs.linkahead.org/linkhead-webui/),
 the preferred way is also a merge request as describe above (the documentation resides in `src/doc`).
 However, you can also create an issue for it.
-- You can also contact us at **info (AT) caosdb.org**  and join the
-  CaosDB community on
-  [#caosdb:matrix.org](https://matrix.to/#/!unwwlTfOznjEnMMXxf:matrix.org).
+- You can also contact us at **info (AT) linkahead.org**  and join the
+  LinkAhead community on
+  [#linkahead:matrix.org](https://matrix.to/#/!unwwlTfOznjEnMMXxf:matrix.org).
 
 ## License
 
 * Copyright (C) 2018 Research Group Biomedical Physics, Max Planck Institute
   for Dynamics and Self-Organization Göttingen.
-* Copyright (C) 2020-2021 Indiscale GmbH <info@indiscale.com>
+* Copyright (C) 2020-2023 Indiscale GmbH <info@indiscale.com>
 
 All files in this repository are licensed under a [GNU Affero General Public
 License](LICENCE.md) (version 3 or later).
diff --git a/src/doc/administration/static-snapshots.md b/src/doc/administration/static-snapshots.md
index ac353751..ec37e2c3 100644
--- a/src/doc/administration/static-snapshots.md
+++ b/src/doc/administration/static-snapshots.md
@@ -6,34 +6,34 @@ It can be helpful to generate static snapshots of WebUI contents, e.g. for revie
 
 ## Create the static webui folder in the docker container
 
-We need a static version of the caosdb-webui. In principle it can be simply copied from e.g. a running docker container or from the public-directory. As it contains self-referencing (cyclic) symlinks a little bit of care has to be taken.
+We need a static version of the LinkAhead webui. In principle it can be simply copied from e.g. a running docker container or from the public-directory. As it contains self-referencing (cyclic) symlinks a little bit of care has to be taken.
 
 ### Using Docker
 
-Login to the caosdb/linkahead docker container as root:
+Login to the linkahead docker container as root:
 ```bash
 docker exec -u 0 -ti linkahead /bin/bash
 ```
 
-We need to be root (`-u 0`) in order to be able to create a copy of caosdb-webui within the container.
+We need to be root (`-u 0`) in order to be able to create a copy of linkahead-webui within the container.
 
 Create the copy using `cp` and the option for following symlinks `-L`:
 
 ```bash
-cp -L git/caosdb-server/caosdb-webui/public/ webui-copy
+cp -L git/linkahead-server/linkahead-webui/public/ webui-copy
 ```
 
 It will warn you that two symlinks (which are cyclic) cannot be created. That's fine, we will create these two symlinks later.
 
 ```
-cp: cannot copy cyclic symbolic link 'git/caosdb-server/caosdb-webui/public/1602145811'  <- The number here is a "unique" build number
-cp: cannot copy cyclic symbolic link 'git/caosdb-server/caosdb-webui/public/webinterface'
+cp: cannot copy cyclic symbolic link 'git/linkahead-server/linkahead-webui/public/1602145811'  <- The number here is a "unique" build number
+cp: cannot copy cyclic symbolic link 'git/linkahead-server/linkahead-webui/public/webinterface'
 ```
 
 **Please copy the build number somewhere, or make sure your terminal history does not get wiped.**
 
 Copy webui-copy from the docker container to the location where you want to store the snapshots:
-`docker cp linkahead:/opt/caosdb/webui-copy/ .`
+`docker cp linkahead:/opt/linkahead/webui-copy/ .`
 
 Create the two missing symlinks in webui-copy/public:
 ```
diff --git a/src/doc/conf.py b/src/doc/conf.py
index 85a65a38..468d20b7 100644
--- a/src/doc/conf.py
+++ b/src/doc/conf.py
@@ -21,7 +21,7 @@
 
 import sphinx_rtd_theme
 
-project = 'caosdb-webui'
+project = 'linkahead-webui'
 copyright = '2022, IndiScale GmbH'
 author = 'Daniel Hornung'
 
@@ -113,7 +113,7 @@ html_theme = "sphinx_rtd_theme"
 # -- Options for HTMLHelp output ---------------------------------------------
 
 # Output file base name for HTML help builder.
-htmlhelp_basename = 'caosdb-webuidoc'
+htmlhelp_basename = 'linkahead-webuidoc'
 
 
 # -- Options for LaTeX output ------------------------------------------------
@@ -140,7 +140,7 @@ latex_elements = {
 # (source start file, target name, title,
 #  author, documentclass [howto, manual, or own class]).
 latex_documents = [
-    (master_doc, 'caosdb-webui.tex', 'caosdb-webui Documentation',
+    (master_doc, 'linkahead-webui.tex', 'LinkAhead WebUI Documentation',
      'IndiScale GmbH', 'manual'),
 ]
 
@@ -150,7 +150,7 @@ latex_documents = [
 # One entry per manual page. List of tuples
 # (source start file, name, description, authors, manual section).
 man_pages = [
-    (master_doc, 'caosdb-webui', 'caosdb-webui Documentation',
+    (master_doc, 'linkahead-webui', 'LinkAhead WebUI Documentation',
      [author], 1)
 ]
 
@@ -161,8 +161,8 @@ man_pages = [
 # (source start file, target name, title, author,
 #  dir menu entry, description, category)
 texinfo_documents = [
-    (master_doc, 'caosdb-webui', 'caosdb-webui Documentation',
-     author, 'caosdb-webui', 'One line description of project.',
+    (master_doc, 'linkahead-webui', 'LinkAhead WebUI Documentation',
+     author, 'linkahead-webui', 'One line description of project.',
      'Miscellaneous'),
 ]
 
diff --git a/src/doc/extension/display_of_properties.rst b/src/doc/extension/display_of_properties.rst
index e19b7030..3e65cc3f 100644
--- a/src/doc/extension/display_of_properties.rst
+++ b/src/doc/extension/display_of_properties.rst
@@ -136,5 +136,5 @@ Future
 ******
 
 In the future, this feature will be extended to allow to `toggle
-<https://gitlab.com/caosdb/caosdb-webui/-/issues/190>`__ properties of
+<https://gitlab.com/linkahead/linkahead-webui/-/issues/190>`__ properties of
 predifined RecordTypes.
diff --git a/src/doc/extension/query_templates.rst b/src/doc/extension/query_templates.rst
index 8c331386..7bb5a316 100644
--- a/src/doc/extension/query_templates.rst
+++ b/src/doc/extension/query_templates.rst
@@ -205,19 +205,19 @@ The following example for the file global_query_shortcuts.json would create two
 Data Model for User Query Templates
 -----------------------------------
 
-The current default data model for CaosDB does not include the RecordTypes which are needed for the user query templates. See https://gitlab.indiscale.com/caosdb/src/caosdb-webui/-/issues/104 for details.
+The current default data model for CaosDB does not include the RecordTypes which are needed for the user query templates. See https://gitlab.indiscale.com/caosdb/src/linkahead-webui/-/issues/104 for details.
 
 The solution is to create the RecordTypes, e.g. using the Python interface, as follows:
 
 .. code-block:: python
 
-    datamodel = caosdb.Container()
+    datamodel = linkahead.Container()
     datamodel.extend([
-        caosdb.Property("Query", datatype=caosdb.TEXT),
-        caosdb.Property("templateDescription", datatype=caosdb.TEXT),
-        caosdb.RecordType(
+        linkahead.Property("Query", datatype=linkahead.TEXT),
+        linkahead.Property("templateDescription", datatype=linkahead.TEXT),
+        linkahead.RecordType(
             "UserTemplate"
-            ).add_property("Query", importance=caosdb.OBLIGATORY
-            ).add_property("templateDescription", importance=caosdb.OBLIGATORY),
+            ).add_property("Query", importance=linkahead.OBLIGATORY
+            ).add_property("templateDescription", importance=linkahead.OBLIGATORY),
     ])
     datamodel.insert()
diff --git a/src/doc/extension/references.rst b/src/doc/extension/references.rst
index c41d907d..9f810678 100644
--- a/src/doc/extension/references.rst
+++ b/src/doc/extension/references.rst
@@ -10,7 +10,7 @@ this module.
 You may then define your own JavaScript module to define how
 references to specific Records should be resolved. The module has to
 be located at a directory which is known to CaosDB WebUI; we recommend
-``caosdb-webui/src/ext/js``. Set the value of the
+``linkahead-webui/src/ext/js``. Set the value of the
 ``BUILD_EXT_REFERENCES_CUSTOM_RESOLVER`` build variable to the name of
 this module. The module has to have a ``resolve`` function which takes
 an entity id as its only parameter and returns a ``reference_info``
@@ -32,6 +32,6 @@ the basic structure of the module should look like
    }
 
 An example is located in
-``caosdb-webui/src/core/js/reference_resolver/caosdb_default_person.js``. It
+``linkahead-webui/src/core/js/reference_resolver/linkahead_default_person.js``. It
 resolves any reference to a ``Person`` Record to the value of its ``firstname``
 and ``lastname`` properties separated by a space and is active by default.
diff --git a/src/doc/extension/xslt-debugging.md b/src/doc/extension/xslt-debugging.md
index eb0cab60..b5b1471d 100644
--- a/src/doc/extension/xslt-debugging.md
+++ b/src/doc/extension/xslt-debugging.md
@@ -28,6 +28,6 @@ xsltproc <stylesheet> <xmlfile>
 
 So a possible workflow for debugging an xslt script could be:
 * Save the test response from the server as `test.xml`.
-* Run `make` in repository `caosdb-webui`
-* Go to folder `public` in `caosdb-webui`
+* Run `make` in repository `linkahead-webui`
+* Go to folder `public` in `linkahead-webui`
 * Run: `xsltproc weblinkahead.xsl test.xml`
diff --git a/src/doc/tutorials/edit_mode.rst b/src/doc/tutorials/edit_mode.rst
index ff126a96..cff49486 100644
--- a/src/doc/tutorials/edit_mode.rst
+++ b/src/doc/tutorials/edit_mode.rst
@@ -6,7 +6,7 @@ Entities in CaosDB can be changed, created, and deleted using the
 be fairly familiar with the concepts of Records, RecordTypes and
 Properties in CaosDB. If you have doubts, please have a look at the
 `data model documentation
-<https://docs.indiscale.com/caosdb-server/Data-Model.html>`_.
+<https://docs.linkahead.org/linkhead-server/Data-Model.html>`_.
 
 .. contents::
    :local:
@@ -31,7 +31,7 @@ Edit Mode``. Unsurprisingly, clicking here terminates the edit mode.
    privileges. You can only create/edit/delete entities if your user
    is allowed to do that. User and group permissions can be configured
    in detail as explained in the `server documentation
-   <https://docs.indiscale.com/caosdb-server/permissions.html>`_.
+   <https://docs.linkahead.org/linkhead-server/permissions.html>`_.
 
 When you have entered the edit mode, you'll see the edit mode toolbox
 appearing on the right hand side of your screen:
@@ -182,7 +182,7 @@ When creating a new Property, a Property card shows up:
       Inheritance plays a role here!  For example, if you select “Experiment”, all “Magnetism
       Experiment” Records are also accepted (if they inherit from “Experiment”).
 
-   See `here <https://docs.indiscale.com/caosdb-server/specification/Datatype.html>`_ for more
+   See `here <https://docs.linkahead.org/linkhead-server/specification/Datatype.html>`_ for more
    information on the datatypes.
 
 3. If you want the new Property to be a list, check the checkbox. List
diff --git a/test/core/js/modules/edit_mode.js.js b/test/core/js/modules/edit_mode.js.js
index 0998cb5b..1ded66dd 100644
--- a/test/core/js/modules/edit_mode.js.js
+++ b/test/core/js/modules/edit_mode.js.js
@@ -576,7 +576,7 @@ QUnit.test("test case 1 - insert property", async function (assert) {
 
     // tests for closed issue https://gitlab.com/caosdb/caosdb-webui/issues/47
     assert.equal(main_panel.find(".caosdb-entity-panel .caosdb-entity-actions-panel").length, 1, "general actions panel there");
-    assert.equal(main_panel.find(".caosdb-entity-panel .caosdb-f-edit-mode-entity-actions-panel").length, 1, "edit_mode actions panel there (BUG caosdb-webui#47)");
+    assert.equal(main_panel.find(".caosdb-entity-panel .caosdb-f-edit-mode-entity-actions-panel").length, 1, "edit_mode actions panel there (BUG linkahead-webui#47)");
 
     main_panel.remove();
     test_tool_box.remove();
diff --git a/tools/copy_into_docker.sh b/tools/copy_into_docker.sh
index f2ae9fef..5c18ab1d 100755
--- a/tools/copy_into_docker.sh
+++ b/tools/copy_into_docker.sh
@@ -3,7 +3,8 @@
 # ** header v3.0
 # This file is a part of the LinkAhead Project.
 #
-# Copyright (C) 2019 IndiScale GmbH
+# Copyright (C) 2019-2023 Indiscale GmbH <info@indiscale.com>
+# Copyright (C) 2023 Daniel Hornung <d.hornung@indiscale.com>
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU Affero General Public License as
@@ -20,14 +21,14 @@
 #
 # ** end header
 
-# Copy files which are currently edited or debugged to the caosdb server docker container
+# Copy files which are currently edited or debugged to the LinkAhead server docker container
 
 set -e
 
 # Copy just the publicly accessible files
 core_dir="$(dirname $0)/../src/core"
 container="linkahead"
-docker_webui_root="/opt/caosdb/git/caosdb-server/caosdb-webui"
+docker_webui_root="/opt/linkahead/git/linkahead-server/linkahead-webui"
 docker_dir="${docker_webui_root}/src/core/"
 
 docker cp "${core_dir}/." "$container:$docker_dir"
-- 
GitLab