invenio-app-rdm 13.0.0rc4__py2.py3-none-any.whl → 13.0.0rc6__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- invenio_app_rdm/__init__.py +1 -1
- invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/doi.html +7 -5
- invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/CopyButton.js +38 -19
- invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/ExportDropdown.js +7 -2
- invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/theme.js +4 -0
- invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/theme.js +9 -0
- invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/globals/site.overrides +6 -1
- invenio_app_rdm/theme/webpack.py +0 -1
- invenio_app_rdm/upgrade_scripts/migrate_12_0_to_13_0.py +94 -65
- {invenio_app_rdm-13.0.0rc4.dist-info → invenio_app_rdm-13.0.0rc6.dist-info}/METADATA +17 -2
- {invenio_app_rdm-13.0.0rc4.dist-info → invenio_app_rdm-13.0.0rc6.dist-info}/RECORD +15 -55
- {invenio_app_rdm-13.0.0rc4.dist-info → invenio_app_rdm-13.0.0rc6.dist-info}/top_level.txt +0 -1
- invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/i18next-scanner.config.js +0 -64
- invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/package-lock.json +0 -2129
- invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/scripts/compileCatalog.js +0 -118
- invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/scripts/fixTrailingNewlines.js +0 -23
- invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/scripts/initCatalog.js +0 -20
- invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/scripts/postExtractMessages.js +0 -36
- tests/__init__.py +0 -8
- tests/api/__init__.py +0 -8
- tests/api/conftest.py +0 -24
- tests/api/test_protect_files_rest.py +0 -73
- tests/api/test_record_api.py +0 -175
- tests/api/test_stats_api.py +0 -26
- tests/conftest.py +0 -390
- tests/fixtures/__init__.py +0 -8
- tests/fixtures/app_data/oai_sets.yaml +0 -3
- tests/fixtures/app_data/pages/about.html +0 -1
- tests/fixtures/app_data/pages.yaml +0 -4
- tests/fixtures/conftest.py +0 -27
- tests/fixtures/test_cli.py +0 -25
- tests/fixtures/test_fixtures.py +0 -46
- tests/mock_module/__init__.py +0 -7
- tests/mock_module/templates/mock_mail.html +0 -27
- tests/mock_module/views.py +0 -32
- tests/redirector/__init__.py +0 -8
- tests/redirector/conftest.py +0 -54
- tests/redirector/test_redirector.py +0 -28
- tests/test_tasks.py +0 -209
- tests/test_utils.py +0 -67
- tests/test_version.py +0 -16
- tests/test_views.py +0 -43
- tests/ui/__init__.py +0 -8
- tests/ui/conftest.py +0 -115
- tests/ui/test_deposits.py +0 -115
- tests/ui/test_export_formats.py +0 -37
- tests/ui/test_file_download.py +0 -73
- tests/ui/test_filters.py +0 -10
- tests/ui/test_robotstxt.py +0 -35
- tests/ui/test_signposting_ui.py +0 -95
- tests/ui/test_sitemaps.py +0 -85
- tests/ui/test_stats_ui.py +0 -92
- {invenio_app_rdm-13.0.0rc4.dist-info → invenio_app_rdm-13.0.0rc6.dist-info}/WHEEL +0 -0
- {invenio_app_rdm-13.0.0rc4.dist-info → invenio_app_rdm-13.0.0rc6.dist-info}/entry_points.txt +0 -0
- {invenio_app_rdm-13.0.0rc4.dist-info → invenio_app_rdm-13.0.0rc6.dist-info}/licenses/LICENSE +0 -0
invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/i18next-scanner.config.js
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
// This file is part of invenio-app-rdm.
|
|
2
|
-
// Copyright (C) 2021 Graz University of Technology.
|
|
3
|
-
//
|
|
4
|
-
// Invenio-app-rdm is free software; you can redistribute it and/or modify it
|
|
5
|
-
// under the terms of the MIT License; see LICENSE file for more details.
|
|
6
|
-
|
|
7
|
-
// list of func used to
|
|
8
|
-
// mark the strings for translation
|
|
9
|
-
const { languages } = require("./package.json").config;
|
|
10
|
-
|
|
11
|
-
const funcList = ["i18next.t"];
|
|
12
|
-
const extensions = [".js", ".jsx"];
|
|
13
|
-
|
|
14
|
-
module.exports = {
|
|
15
|
-
options: {
|
|
16
|
-
debug: true,
|
|
17
|
-
removeUnusedKeys: true,
|
|
18
|
-
browserLanguageDetection: true,
|
|
19
|
-
func: {
|
|
20
|
-
list: funcList,
|
|
21
|
-
extensions: extensions,
|
|
22
|
-
},
|
|
23
|
-
//using Trans component
|
|
24
|
-
trans: {
|
|
25
|
-
component: "Trans",
|
|
26
|
-
extensions: extensions,
|
|
27
|
-
fallbackKey: function (ns, value) {
|
|
28
|
-
return value;
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
lngs: languages,
|
|
32
|
-
ns: [
|
|
33
|
-
// file name (.json)
|
|
34
|
-
"translations",
|
|
35
|
-
],
|
|
36
|
-
defaultLng: "en",
|
|
37
|
-
defaultNs: "translations",
|
|
38
|
-
// @param {string} lng The language currently used.
|
|
39
|
-
// @param {string} ns The namespace currently used.
|
|
40
|
-
// @param {string} key The translation key.
|
|
41
|
-
// @return {string} Returns a default value for the translation key.
|
|
42
|
-
defaultValue: function (lng, ns, key) {
|
|
43
|
-
if (lng === "en") {
|
|
44
|
-
// Return key as the default value for English language
|
|
45
|
-
return key;
|
|
46
|
-
}
|
|
47
|
-
return "";
|
|
48
|
-
},
|
|
49
|
-
resource: {
|
|
50
|
-
// The path where resources get loaded from. Relative to current working directory.
|
|
51
|
-
loadPath: "messages/{{lng}}/{{ns}}.json",
|
|
52
|
-
|
|
53
|
-
// The path to store resources.
|
|
54
|
-
savePath: "messages/{{lng}}/{{ns}}.json",
|
|
55
|
-
jsonIndent: 2,
|
|
56
|
-
lineEnding: "\n",
|
|
57
|
-
},
|
|
58
|
-
nsSeparator: false, // namespace separator
|
|
59
|
-
|
|
60
|
-
//Set to false to disable key separator
|
|
61
|
-
// if you prefer having keys as the fallback for translation (e.g. gettext).
|
|
62
|
-
keySeparator: false,
|
|
63
|
-
},
|
|
64
|
-
};
|