tg-prepare 2.1.0b2__tar.gz → 2.1.0b4__tar.gz
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.
Potentially problematic release.
This version of tg-prepare might be problematic. Click here for more details.
- {tg_prepare-2.1.0b2/tg_prepare.egg-info → tg_prepare-2.1.0b4}/PKG-INFO +1 -1
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/setup.py +1 -1
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4/tg_prepare.egg-info}/PKG-INFO +1 -1
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_backend/project.py +7 -7
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/LICENSE +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/MANIFEST.in +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/README.md +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/pyproject.toml +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/setup.cfg +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tg_prepare.egg-info/SOURCES.txt +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tg_prepare.egg-info/dependency_links.txt +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tg_prepare.egg-info/entry_points.txt +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tg_prepare.egg-info/projects/.secret_key +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tg_prepare.egg-info/requires.txt +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tg_prepare.egg-info/top_level.txt +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_backend/__init__.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_backend/auth.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_backend/cli.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_backend/config.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_backend/directories.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_backend/interfaces.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_backend/nextcloud.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_backend/session_manager.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_backend/tgclient.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_backend/util.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/__init__.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/app.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/routes/__init__.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/routes/collection.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/routes/data.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/routes/project.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/routes/publication.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/routes/tabs.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/routes/views.py +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/css/bootstrap-icons.min.css +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/css/bootstrap.min.css +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/css/bootstrap.min.css.map +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/css/main.css +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/css/navbar.css +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/css/simpleXML.css +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/img/favicon.ico +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/img/textgrid-logo.svg +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/js/bootstrap.bundle.min.js +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/js/collectionManager.js +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/js/fileManager.js +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/js/jquery.min.js +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/js/main.js +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/js/modalManager.js +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/js/navbarManager.js +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/js/projectManager.js +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/js/require.js +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/js/sidebarManager.js +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/js/simpleXML.js +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/static/js/tabManager.js +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/details/empty_container.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/details/manage_collection.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/file_tree.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/includes/set_session_id_form.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/includes/upload_form.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/layout.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/macros.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/modal/delete_project.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/modal/empty_container.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/modal/file_explorer_content.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/modal/file_explorer_main.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/modal/file_explorer_nextcloud.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/modal/github_modal.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/modal/nextcloud_login.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/modal/tei_explorer.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/modal/xpath_parser.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/nxc_login.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/nxc_tab.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/project_main.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/project_navbar.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/projects_main.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/publication.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/tab_final_upload.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/tabs/check_result.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/tabs/edit_project.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/tabs/empty_container.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/tabs/import_data.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/tabs/manage_collections.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/tabs/select_directories.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/tabs/upload.html +0 -0
- {tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/tabs/validate_metadata.html +0 -0
|
@@ -7,7 +7,7 @@ from setuptools import setup, find_packages
|
|
|
7
7
|
|
|
8
8
|
setup(
|
|
9
9
|
name="tg_prepare",
|
|
10
|
-
version="2.1.0.
|
|
10
|
+
version="2.1.0.b4",
|
|
11
11
|
description="Simple UI to handle TextGrid imports visually.",
|
|
12
12
|
author="Ralf Klammer, Moritz Wilhelm",
|
|
13
13
|
author_email="ralf.klammer@tu-dresden.de, moritz.wilhelm@tu-dresden.de",
|
|
@@ -37,7 +37,6 @@ class Project(object):
|
|
|
37
37
|
self._project_config = None
|
|
38
38
|
self._collections = None
|
|
39
39
|
self._nextcloud = None
|
|
40
|
-
self.tgm_project = TGMProject(self.metadatapath)
|
|
41
40
|
|
|
42
41
|
@property
|
|
43
42
|
def name(self):
|
|
@@ -340,16 +339,17 @@ class TGProject(object):
|
|
|
340
339
|
return False
|
|
341
340
|
|
|
342
341
|
# step 1: create required metadata
|
|
343
|
-
self.
|
|
342
|
+
for c_name in self.collections:
|
|
343
|
+
collection = self.collections[c_name]
|
|
344
|
+
collection["modeler"].render_collection()
|
|
344
345
|
|
|
345
346
|
# step 2: push project to textgrid server
|
|
346
347
|
for collection_name in self.collections:
|
|
347
348
|
collection = self.collections[collection_name]
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
# )
|
|
349
|
+
self.tg_client.put_aggregation(
|
|
350
|
+
self.tg_project_id,
|
|
351
|
+
collection["modeler"].get_collection_path(),
|
|
352
|
+
)
|
|
353
353
|
|
|
354
354
|
|
|
355
355
|
class CollectionParser(object):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/includes/set_session_id_form.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tg_prepare-2.1.0b2 → tg_prepare-2.1.0b4}/tgp_ui/templates/modal/file_explorer_nextcloud.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|