q2rad 0.1.214__tar.gz → 0.1.215__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 q2rad might be problematic. Click here for more details.
- {q2rad-0.1.214 → q2rad-0.1.215}/PKG-INFO +1 -1
- {q2rad-0.1.214 → q2rad-0.1.215}/pyproject.toml +1 -1
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2extensions.py +2 -1
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2rad.py +3 -3
- q2rad-0.1.215/q2rad/version.py +1 -0
- q2rad-0.1.214/q2rad/version.py +0 -1
- {q2rad-0.1.214 → q2rad-0.1.215}/LICENSE +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/README.md +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/__init__.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/__main__.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2actions.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2appmanager.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2appselector.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2constants.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2forms.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2lines.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2make.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2market.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2modules.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2packages.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2queries.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2raddb.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2reports.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2stylesettings.py +0 -0
- {q2rad-0.1.214 → q2rad-0.1.215}/q2rad/q2utils.py +0 -0
|
@@ -49,7 +49,8 @@ class Q2Extensions(Q2Form):
|
|
|
49
49
|
self.set_model(model)
|
|
50
50
|
self.add_action("/crud")
|
|
51
51
|
self.add_action("Export|as JSON file", self.export_json, eof_disabled=True)
|
|
52
|
-
|
|
52
|
+
if os.path.isdir(self.q2_app.q2market_path):
|
|
53
|
+
self.add_action("Export|to q2Market", self.export_q2market, eof_disabled=True)
|
|
53
54
|
self.add_action("Import|from JSON file", self.import_json, eof_disabled=True)
|
|
54
55
|
self.add_action("Import|from q2Market", self.import_q2market, eof_disabled=True)
|
|
55
56
|
|
|
@@ -919,7 +919,7 @@ class Q2RadApp(Q2App):
|
|
|
919
919
|
if prefix:
|
|
920
920
|
cu = q2cursor(f"select * from extensions where prefix='{prefix}'")
|
|
921
921
|
else:
|
|
922
|
-
cu = q2cursor(f"select * from extensions order by seq")
|
|
922
|
+
cu = q2cursor(f"select * from extensions where checkupdates<>'' order by seq")
|
|
923
923
|
for row in cu.records():
|
|
924
924
|
_prefix = row["prefix"]
|
|
925
925
|
ext_url = f"{os.path.dirname(self.app_url)}/{_prefix}"
|
|
@@ -1276,8 +1276,8 @@ class Q2RadApp(Q2App):
|
|
|
1276
1276
|
# import
|
|
1277
1277
|
if re.findall(r"^\s*import\W*.*", x):
|
|
1278
1278
|
module = x.split("import")[1].strip()
|
|
1279
|
-
|
|
1280
|
-
|
|
1279
|
+
if self.db_logic.get("modules", f"name='{module}'", "name"):
|
|
1280
|
+
x = x.split("import")[0] + f"run_module('{module}', import_only=True)"
|
|
1281
1281
|
|
|
1282
1282
|
new_script_lines.append(x)
|
|
1283
1283
|
script = "\n".join(new_script_lines)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.215"
|
q2rad-0.1.214/q2rad/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.214"
|
|
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
|