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.
Files changed (55) hide show
  1. invenio_app_rdm/__init__.py +1 -1
  2. invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/doi.html +7 -5
  3. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/CopyButton.js +38 -19
  4. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/ExportDropdown.js +7 -2
  5. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/theme.js +4 -0
  6. invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/theme.js +9 -0
  7. invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/globals/site.overrides +6 -1
  8. invenio_app_rdm/theme/webpack.py +0 -1
  9. invenio_app_rdm/upgrade_scripts/migrate_12_0_to_13_0.py +94 -65
  10. {invenio_app_rdm-13.0.0rc4.dist-info → invenio_app_rdm-13.0.0rc6.dist-info}/METADATA +17 -2
  11. {invenio_app_rdm-13.0.0rc4.dist-info → invenio_app_rdm-13.0.0rc6.dist-info}/RECORD +15 -55
  12. {invenio_app_rdm-13.0.0rc4.dist-info → invenio_app_rdm-13.0.0rc6.dist-info}/top_level.txt +0 -1
  13. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/i18next-scanner.config.js +0 -64
  14. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/package-lock.json +0 -2129
  15. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/scripts/compileCatalog.js +0 -118
  16. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/scripts/fixTrailingNewlines.js +0 -23
  17. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/scripts/initCatalog.js +0 -20
  18. invenio_app_rdm/theme/assets/semantic-ui/translations/invenio_app_rdm/scripts/postExtractMessages.js +0 -36
  19. tests/__init__.py +0 -8
  20. tests/api/__init__.py +0 -8
  21. tests/api/conftest.py +0 -24
  22. tests/api/test_protect_files_rest.py +0 -73
  23. tests/api/test_record_api.py +0 -175
  24. tests/api/test_stats_api.py +0 -26
  25. tests/conftest.py +0 -390
  26. tests/fixtures/__init__.py +0 -8
  27. tests/fixtures/app_data/oai_sets.yaml +0 -3
  28. tests/fixtures/app_data/pages/about.html +0 -1
  29. tests/fixtures/app_data/pages.yaml +0 -4
  30. tests/fixtures/conftest.py +0 -27
  31. tests/fixtures/test_cli.py +0 -25
  32. tests/fixtures/test_fixtures.py +0 -46
  33. tests/mock_module/__init__.py +0 -7
  34. tests/mock_module/templates/mock_mail.html +0 -27
  35. tests/mock_module/views.py +0 -32
  36. tests/redirector/__init__.py +0 -8
  37. tests/redirector/conftest.py +0 -54
  38. tests/redirector/test_redirector.py +0 -28
  39. tests/test_tasks.py +0 -209
  40. tests/test_utils.py +0 -67
  41. tests/test_version.py +0 -16
  42. tests/test_views.py +0 -43
  43. tests/ui/__init__.py +0 -8
  44. tests/ui/conftest.py +0 -115
  45. tests/ui/test_deposits.py +0 -115
  46. tests/ui/test_export_formats.py +0 -37
  47. tests/ui/test_file_download.py +0 -73
  48. tests/ui/test_filters.py +0 -10
  49. tests/ui/test_robotstxt.py +0 -35
  50. tests/ui/test_signposting_ui.py +0 -95
  51. tests/ui/test_sitemaps.py +0 -85
  52. tests/ui/test_stats_ui.py +0 -92
  53. {invenio_app_rdm-13.0.0rc4.dist-info → invenio_app_rdm-13.0.0rc6.dist-info}/WHEEL +0 -0
  54. {invenio_app_rdm-13.0.0rc4.dist-info → invenio_app_rdm-13.0.0rc6.dist-info}/entry_points.txt +0 -0
  55. {invenio_app_rdm-13.0.0rc4.dist-info → invenio_app_rdm-13.0.0rc6.dist-info}/licenses/LICENSE +0 -0
@@ -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
- };