labull-framework 3.0.2__tar.gz → 3.0.3__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.
- {labull_framework-3.0.2/labull_framework.egg-info → labull_framework-3.0.3}/PKG-INFO +3 -3
- {labull_framework-3.0.2 → labull_framework-3.0.3}/README-pypi.md +2 -2
- {labull_framework-3.0.2 → labull_framework-3.0.3/labull_framework.egg-info}/PKG-INFO +3 -3
- {labull_framework-3.0.2 → labull_framework-3.0.3}/pyproject.toml +1 -1
- {labull_framework-3.0.2 → labull_framework-3.0.3}/LICENSE +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/MANIFEST.in +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/__init__.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/admin.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/apps.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/auth/__init__.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/auth/backend.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/auth/bootstrap.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/auth/sso.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/auth/views.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/canvas/__init__.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/canvas/data.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/canvas/gitinfo.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/canvas/shape_ast.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/canvas/static/canvas.css +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/canvas/static/canvas.js +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/canvas/static/page.html +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/canvas/views.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/env.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/flow.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/jsonio.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/__init__.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/blockcheck.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/blockpackage.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/blocktypes.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/deepcheck.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/devkit.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/dispatch.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/export.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/health.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/manifest.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/parallel.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/registry.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/requires.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/sdk.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/service.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/subproc.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/types/__init__.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/types/plain.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/types/workflow.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/validate.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/views.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/management/__init__.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/management/commands/__init__.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/management/commands/labull_blocktype.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/management/commands/labull_contract.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/management/commands/labull_requires.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/migrations/0001_initial.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/migrations/0002_remove_magicblock_prev_files_and_more.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/migrations/0003_magicblock_tags.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/migrations/0004_magicblock_detail.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/migrations/0005_labullrole.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/migrations/0006_default_groups_permissions.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/migrations/0007_no_builtin_permissions.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/migrations/__init__.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/models.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/permissions.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/settings.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/urls.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/virtual.py +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework.egg-info/SOURCES.txt +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework.egg-info/dependency_links.txt +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework.egg-info/requires.txt +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework.egg-info/top_level.txt +0 -0
- {labull_framework-3.0.2 → labull_framework-3.0.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: labull-framework
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.3
|
|
4
4
|
Summary: Labull Framework: a pluggable Django app with Authing OIDC login and magic blocks
|
|
5
5
|
Author: Labull Framework
|
|
6
6
|
License-Expression: MIT
|
|
@@ -93,8 +93,8 @@ CORS_ORIGIN=http://localhost:5173
|
|
|
93
93
|
|
|
94
94
|
| 想要什么 | 怎么做 |
|
|
95
95
|
|---|---|
|
|
96
|
-
| **谁是管理员** |
|
|
97
|
-
|
|
|
96
|
+
| **谁是管理员** | 判据就是 Django 原生的 **`User.is_staff`**(框架不为这件事造 permission —— 所以 `permissions` 里一个框架自带的东西都没有)。配 `BOOTSTRAP_ADMIN_WORK_IDS=工号,工号` —— **声明式**:启动时名单里的人 `is_staff=True`、**名单之外的(非超管)一律 `False`**(没配 = 一个管理员都没有)。超管跳过、不碰 `is_superuser` |
|
|
97
|
+
| **权限 / 组** | 授权只有 Django 原生那一套:**`Permission`(`app_label.codename`)是契约,`Group` 只是权限包**。框架**零预置权限**(`MagicBlock` / `MagicBlockVersion` / `User` 都是 `default_permissions = ()`,迁移 `0007` 会把历史那几行删掉)——`permissions` 里只有**项目自己**在模型的 `Meta.permissions` 里声明的。3.0.0 建过的「平台管理员」/「普通用户」两个组现在只是空包(可填可删)。新用户默认进哪个组由**项目自己的 `post_save`** 决定(框架不装) |
|
|
98
98
|
| **看数据模型那一页** | 设 `LABULL_SCHEMA_CANVAS=on`,浏览器打开 `/` |
|
|
99
99
|
| **块的依赖声明不许"用了却没声明"** | 它是**默认**行为(`LABULL_REQUIRES=error`,1.0.1 起):代码里用了没声明的东西 ⇒ 拦住保存。⚠️ 升级前先在项目里跑一遍 `python manage.py labull_requires --write` 把存量块扫得到的声明补进库;`warn`(只提示不拦)与 `off`(整段不跑)都要**显式**写 |
|
|
100
100
|
| **导出一份模型形状** | `python manage.py labull_contract --out .labull/contract.json` |
|
|
@@ -65,8 +65,8 @@ CORS_ORIGIN=http://localhost:5173
|
|
|
65
65
|
|
|
66
66
|
| 想要什么 | 怎么做 |
|
|
67
67
|
|---|---|
|
|
68
|
-
| **谁是管理员** |
|
|
69
|
-
|
|
|
68
|
+
| **谁是管理员** | 判据就是 Django 原生的 **`User.is_staff`**(框架不为这件事造 permission —— 所以 `permissions` 里一个框架自带的东西都没有)。配 `BOOTSTRAP_ADMIN_WORK_IDS=工号,工号` —— **声明式**:启动时名单里的人 `is_staff=True`、**名单之外的(非超管)一律 `False`**(没配 = 一个管理员都没有)。超管跳过、不碰 `is_superuser` |
|
|
69
|
+
| **权限 / 组** | 授权只有 Django 原生那一套:**`Permission`(`app_label.codename`)是契约,`Group` 只是权限包**。框架**零预置权限**(`MagicBlock` / `MagicBlockVersion` / `User` 都是 `default_permissions = ()`,迁移 `0007` 会把历史那几行删掉)——`permissions` 里只有**项目自己**在模型的 `Meta.permissions` 里声明的。3.0.0 建过的「平台管理员」/「普通用户」两个组现在只是空包(可填可删)。新用户默认进哪个组由**项目自己的 `post_save`** 决定(框架不装) |
|
|
70
70
|
| **看数据模型那一页** | 设 `LABULL_SCHEMA_CANVAS=on`,浏览器打开 `/` |
|
|
71
71
|
| **块的依赖声明不许"用了却没声明"** | 它是**默认**行为(`LABULL_REQUIRES=error`,1.0.1 起):代码里用了没声明的东西 ⇒ 拦住保存。⚠️ 升级前先在项目里跑一遍 `python manage.py labull_requires --write` 把存量块扫得到的声明补进库;`warn`(只提示不拦)与 `off`(整段不跑)都要**显式**写 |
|
|
72
72
|
| **导出一份模型形状** | `python manage.py labull_contract --out .labull/contract.json` |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: labull-framework
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.3
|
|
4
4
|
Summary: Labull Framework: a pluggable Django app with Authing OIDC login and magic blocks
|
|
5
5
|
Author: Labull Framework
|
|
6
6
|
License-Expression: MIT
|
|
@@ -93,8 +93,8 @@ CORS_ORIGIN=http://localhost:5173
|
|
|
93
93
|
|
|
94
94
|
| 想要什么 | 怎么做 |
|
|
95
95
|
|---|---|
|
|
96
|
-
| **谁是管理员** |
|
|
97
|
-
|
|
|
96
|
+
| **谁是管理员** | 判据就是 Django 原生的 **`User.is_staff`**(框架不为这件事造 permission —— 所以 `permissions` 里一个框架自带的东西都没有)。配 `BOOTSTRAP_ADMIN_WORK_IDS=工号,工号` —— **声明式**:启动时名单里的人 `is_staff=True`、**名单之外的(非超管)一律 `False`**(没配 = 一个管理员都没有)。超管跳过、不碰 `is_superuser` |
|
|
97
|
+
| **权限 / 组** | 授权只有 Django 原生那一套:**`Permission`(`app_label.codename`)是契约,`Group` 只是权限包**。框架**零预置权限**(`MagicBlock` / `MagicBlockVersion` / `User` 都是 `default_permissions = ()`,迁移 `0007` 会把历史那几行删掉)——`permissions` 里只有**项目自己**在模型的 `Meta.permissions` 里声明的。3.0.0 建过的「平台管理员」/「普通用户」两个组现在只是空包(可填可删)。新用户默认进哪个组由**项目自己的 `post_save`** 决定(框架不装) |
|
|
98
98
|
| **看数据模型那一页** | 设 `LABULL_SCHEMA_CANVAS=on`,浏览器打开 `/` |
|
|
99
99
|
| **块的依赖声明不许"用了却没声明"** | 它是**默认**行为(`LABULL_REQUIRES=error`,1.0.1 起):代码里用了没声明的东西 ⇒ 拦住保存。⚠️ 升级前先在项目里跑一遍 `python manage.py labull_requires --write` 把存量块扫得到的声明补进库;`warn`(只提示不拦)与 `off`(整段不跑)都要**显式**写 |
|
|
100
100
|
| **导出一份模型形状** | `python manage.py labull_contract --out .labull/contract.json` |
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "labull-framework"
|
|
7
|
-
version = "3.0.
|
|
7
|
+
version = "3.0.3"
|
|
8
8
|
description = "Labull Framework: a pluggable Django app with Authing OIDC login and magic blocks"
|
|
9
9
|
readme = "README-pypi.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
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
|
{labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/blockcheck.py
RENAMED
|
File without changes
|
{labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/blockpackage.py
RENAMED
|
File without changes
|
{labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/blocktypes.py
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
|
{labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/types/__init__.py
RENAMED
|
File without changes
|
{labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/types/plain.py
RENAMED
|
File without changes
|
{labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/magic_block/types/workflow.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/management/commands/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/migrations/0001_initial.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework/migrations/0005_labullrole.py
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
|
{labull_framework-3.0.2 → labull_framework-3.0.3}/labull_framework.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|