dmart 1.4.40.post32__py3-none-any.whl → 1.4.41.post34__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.
- dmart/alembic/__pycache__/__init__.cpython-314.pyc +0 -0
- dmart/alembic/__pycache__/env.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/0f3d2b1a7c21_add_authz_materialized_views.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/10d2041b94d4_last_checksum_history.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/1cf4e1ee3cb8_ext_permission_with_filter_fields_values.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/26bfe19b49d4_rm_failedloginattempts.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/3c8bca2219cc_add_otp_table.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/6675fd9dfe42_remove_unique_from_sessions_table.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/71bc1df82e6a_adding_user_last_login_at.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/74288ccbd3b5_initial.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/7520a89a8467_rm_activesession_table.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/848b623755a4_make_created_nd_updated_at_required.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/8640dcbebf85_add_notes_to_users.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/91c94250232a_adding_fk_on_owner_shortname.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/98ecd6f56f9a_ext_meta_with_owner_group_shortname.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/9aae9138c4ef_indexing_created_at_updated_at.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/b53f916b3f6d_json_to_jsonb.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/eb5f1ec65156_adding_user_locked_to_device.cpython-314.pyc +0 -0
- dmart/alembic/versions/__pycache__/f7a4949eed19_adding_query_policies_to_meta.cpython-314.pyc +0 -0
- dmart/api/managed/utils.py +2 -2
- dmart/api/user/router.py +1 -1
- dmart/config.env.sample +5 -22
- dmart/cxb/assets/@codemirror-prKQ1WbH.js +10 -0
- dmart/cxb/assets/@edraj-D-9hi9vU.js +1 -0
- dmart/cxb/assets/@jsonquerylang-CFfSvstT.js +12 -0
- dmart/cxb/assets/@lezer-Bz8YN7GE.js +1 -0
- dmart/cxb/assets/{@replit--ERk53eB.js → @replit-27NbNvJz.js} +1 -1
- dmart/cxb/assets/{@roxi-CGMFK4i8.js → @roxi-Bw7qXphd.js} +1 -1
- dmart/cxb/assets/{@zerodevx-BlBZjKxu.js → @zerodevx-z992vLW9.js} +1 -1
- dmart/cxb/assets/{BreadCrumbLite-ClLCZ5eT.js → BreadCrumbLite-28-Sst8b.js} +1 -1
- dmart/cxb/assets/{EntryRenderer-9GXyhIWz.js → EntryRenderer-gOGY0M8V.js} +1 -1
- dmart/cxb/assets/{ListView-DZFUWyVb.js → ListView-Ctq2bVYW.js} +2 -2
- dmart/cxb/assets/{Prism--hMplq-p.js → Prism-DbpuKlij.js} +1 -1
- dmart/cxb/assets/Table2Cols-IRZ18UvF.js +1 -0
- dmart/cxb/assets/{_...404_-fuLH_rX9.js → _...404_-lSd1jtj4.js} +1 -1
- dmart/cxb/assets/_...fallback_-De94gS6U.js +1 -0
- dmart/cxb/assets/{_module-BwgDn_st.js → _module-CPGJEbyo.js} +1 -1
- dmart/cxb/assets/{_module-BTyKyzwE.js → _module-CRNnKJ_Y.js} +3 -3
- dmart/cxb/assets/{_module-DBPRg0LH.js → _module-ziANIEpM.js} +1 -1
- dmart/cxb/assets/{codemirror-wrapped-line-indent-DPhKvljI.js → codemirror-wrapped-line-indent-CCR8a-tt.js} +1 -1
- dmart/cxb/assets/{compare-C3AjiGFR.js → compare-C3mJz3fJ.js} +1 -1
- dmart/cxb/assets/{dmart_services-AL6-IdDE.js → dmart_services-BTWOtb9Z.js} +1 -1
- dmart/cxb/assets/export-C-4WE2nV.js +1 -0
- dmart/cxb/assets/flowbite-svelte-Caf58qKG.js +1 -0
- dmart/cxb/assets/{flowbite-svelte-icons-D8uFOOjS.js → flowbite-svelte-icons-DXemwXNH.js} +1 -1
- dmart/cxb/assets/{global-igKv-1g9.js → global-CF7LWRdS.js} +1 -1
- dmart/cxb/assets/import-BMOPDoXp.js +1 -0
- dmart/cxb/assets/{index-DtiCmB4o.js → index-BAsZYsRz.js} +1 -1
- dmart/cxb/assets/{index-CC-A1ipE.js → index-BBCAZYiv.js} +1 -1
- dmart/cxb/assets/{index-BWN92sjI.js → index-BJ8k452_.js} +4 -4
- dmart/cxb/assets/{index-xuuZoPt8.js → index-BUIZc0eo.js} +1 -1
- dmart/cxb/assets/{index-BejgdGl7.js → index-Ba1QyM6b.js} +1 -1
- dmart/cxb/assets/{index-Du1Yp_ew.js → index-BhRFcH0w.js} +1 -1
- dmart/cxb/assets/{index-UMAHQJV7.js → index-C2qX9HoV.js} +1 -1
- dmart/cxb/assets/{index-DTfhnhwd.js → index-CDaVHY1H.js} +1 -1
- dmart/cxb/assets/{index-BdeNM69f.js → index-C_qmKy7R.js} +1 -1
- dmart/cxb/assets/index-CbbMUQaM.css +2 -0
- dmart/cxb/assets/{index-CJk5Ul2Q.js → index-CsFEfUT6.js} +1 -1
- dmart/cxb/assets/{index-CIUfy6RC.js → index-DVbd0rhr.js} +1 -1
- dmart/cxb/assets/index-DtR8jRRM.js +1 -0
- dmart/cxb/assets/{index-DQmwVe-X.js → index-Eaqb7YHm.js} +1 -1
- dmart/cxb/assets/{info-Dd-l-jS9.js → info-B3CPbnSo.js} +1 -1
- dmart/cxb/assets/{jsonrepair-B30Dx381.js → jsonrepair-DJT3kRBj.js} +6 -6
- dmart/cxb/assets/{pagination-svelte-D5CyoiE_.js → pagination-svelte-D8AVMXcz.js} +1 -1
- dmart/cxb/assets/{profile-BUf-tKMe.js → profile-uY5zsYbu.js} +1 -1
- dmart/cxb/assets/{query-BSLdkT80.js → query-Ck7rjPsV.js} +1 -1
- dmart/cxb/assets/spaces-5QYuv6aM.js +1 -0
- dmart/cxb/assets/svelte-B9Ye91X-.js +4 -0
- dmart/cxb/assets/{svelte-awesome-DhnMA6Q_.js → svelte-awesome-DpV9QpGy.js} +1 -1
- dmart/cxb/assets/{svelte-datatables-net-CY7LBj6I.js → svelte-datatables-net-PrmrsOQE.js} +1 -1
- dmart/cxb/assets/{svelte-floating-ui-BlS3sOAQ.js → svelte-floating-ui-BWukrOq5.js} +1 -1
- dmart/cxb/assets/{svelte-i18n-CT2KkQaN.js → svelte-i18n-CZ4cFDVx.js} +1 -1
- dmart/cxb/assets/{svelte-jsoneditor-BzfX6Usi.css → svelte-jsoneditor-6jH6h6zi.css} +1 -1
- dmart/cxb/assets/{svelte-jsoneditor-CUGSvWId.js → svelte-jsoneditor-BdDDhQGI.js} +1 -1
- dmart/cxb/assets/{svelte-select-CjHAt_85.js → svelte-select-BDtNxMKN.js} +2 -2
- dmart/cxb/assets/toast-nP_bUL2P.js +1 -0
- dmart/cxb/assets/{typewriter-editor-DkTVIJdm.js → typewriter-editor-Do-KAaNp.js} +1 -1
- dmart/cxb/assets/{user-DeK_NB5v.js → user-BQpJ6b6h.js} +1 -1
- dmart/cxb/config.json +1 -2
- dmart/cxb/index.html +6 -6
- dmart/data_adapters/sql/adapter.py +19 -2
- dmart/dmart.py +106 -46
- dmart/fast.py +6 -0
- dmart/info.json +1 -1
- dmart/main.py +5 -0
- dmart/my.py +11 -0
- dmart/publish.sh +2 -2
- dmart/sample/spaces/applications/.dm/meta.space.json +24 -29
- dmart/sample/spaces/applications/api/.dm/meta.folder.json +18 -1
- dmart/sample/spaces/applications/api/.dm/query_all_applications/meta.content.json +17 -1
- dmart/sample/spaces/applications/api/.dm/test_by_saad/attachments.media/meta.warframe.json +16 -1
- dmart/sample/spaces/applications/api/.dm/test_by_saad/meta.content.json +16 -1
- dmart/sample/spaces/applications/api/.dm/user_profile/meta.content.json +17 -1
- dmart/sample/spaces/applications/api/applications/.dm/create_log/meta.content.json +15 -1
- dmart/sample/spaces/applications/api/applications/.dm/create_public_logs/meta.content.json +15 -1
- dmart/sample/spaces/applications/api/applications/.dm/meta.folder.json +15 -1
- dmart/sample/spaces/applications/api/applications/.dm/query_all_translated_data/meta.content.json +15 -1
- dmart/sample/spaces/applications/api/applications/.dm/query_logs/meta.content.json +15 -1
- dmart/sample/spaces/applications/api/applications/.dm/query_translated_enums/meta.content.json +15 -1
- dmart/sample/spaces/applications/api/applications/.dm/query_translated_others/meta.content.json +15 -1
- dmart/sample/spaces/applications/api/applications/.dm/query_translated_resolution/meta.content.json +15 -1
- dmart/sample/spaces/applications/api/applications/create_log.json +46 -1
- dmart/sample/spaces/applications/api/applications/create_public_logs.json +22 -1
- dmart/sample/spaces/applications/api/applications/query_all_translated_data.json +14 -1
- dmart/sample/spaces/applications/api/applications/query_logs.json +11 -1
- dmart/sample/spaces/applications/api/applications/query_translated_enums.json +14 -1
- dmart/sample/spaces/applications/api/applications/query_translated_others.json +14 -1
- dmart/sample/spaces/applications/api/applications/query_translated_resolution.json +13 -1
- dmart/sample/spaces/applications/api/applications.json +16 -1
- dmart/sample/spaces/applications/api/management/.dm/create_subaccount/meta.content.json +15 -1
- dmart/sample/spaces/applications/api/management/.dm/meta.folder.json +15 -1
- dmart/sample/spaces/applications/api/management/.dm/update_password/meta.content.json +15 -1
- dmart/sample/spaces/applications/api/management/create_subaccount.json +29 -29
- dmart/sample/spaces/applications/api/management/update_password.json +19 -1
- dmart/sample/spaces/applications/api/management.json +16 -1
- dmart/sample/spaces/applications/api/query_all_applications.json +5 -6
- dmart/sample/spaces/applications/api/test_by_saad.json +4 -1
- dmart/sample/spaces/applications/api/user/.dm/meta.folder.json +9 -1
- dmart/sample/spaces/applications/api/user/.dm/test_by_saad/meta.content.json +16 -1
- dmart/sample/spaces/applications/api/user/.dm/user_profile/meta.content.json +17 -1
- dmart/sample/spaces/applications/api/user/test_by_saad.json +4 -1
- dmart/sample/spaces/applications/api/user/user_profile.json +4 -1
- dmart/sample/spaces/applications/api/user_profile.json +4 -1
- dmart/sample/spaces/applications/api.json +33 -1
- dmart/sample/spaces/applications/collections/.dm/meta.folder.json +11 -10
- dmart/sample/spaces/applications/collections.json +20 -1
- dmart/sample/spaces/applications/configurations/.dm/meta.folder.json +17 -1
- dmart/sample/spaces/applications/configurations.json +8 -8
- dmart/sample/spaces/applications/logs/.dm/meta.folder.json +12 -1
- dmart/sample/spaces/applications/queries/.dm/meta.folder.json +15 -1
- dmart/sample/spaces/applications/queries/.dm/order/meta.content.json +17 -1
- dmart/sample/spaces/applications/queries/order.json +15 -1
- dmart/sample/spaces/applications/queries.json +16 -1
- dmart/sample/spaces/applications/schema/.dm/api/meta.schema.json +17 -1
- dmart/sample/spaces/applications/schema/.dm/configuration/meta.schema.json +14 -1
- dmart/sample/spaces/applications/schema/.dm/error/meta.schema.json +14 -1
- dmart/sample/spaces/applications/schema/.dm/log/meta.schema.json +15 -1
- dmart/sample/spaces/applications/schema/.dm/meta.folder.json +15 -1
- dmart/sample/spaces/applications/schema/.dm/query/meta.schema.json +15 -14
- dmart/sample/spaces/applications/schema/.dm/translation/meta.schema.json +14 -1
- dmart/sample/spaces/applications/schema/api.json +24 -18
- dmart/sample/spaces/applications/schema/configuration.json +26 -1
- dmart/sample/spaces/applications/schema/error.json +22 -22
- dmart/sample/spaces/applications/schema/log.json +57 -1
- dmart/sample/spaces/applications/schema/query.json +56 -58
- dmart/sample/spaces/applications/schema/translation.json +4 -4
- dmart/sample/spaces/applications/schema.json +16 -1
- dmart/sample/spaces/applications/translations/.dm/meta.folder.json +15 -1
- dmart/sample/spaces/applications/translations.json +22 -1
- dmart/sample/spaces/archive/.dm/meta.space.json +19 -26
- dmart/sample/spaces/custom_plugins/dummy/__pycache__/plugin.cpython-314.pyc +0 -0
- dmart/sample/spaces/custom_plugins/own_changed_notification/__pycache__/plugin.cpython-314.pyc +0 -0
- dmart/sample/spaces/dummy/.dm/myfolder/history.jsonl +3 -0
- dmart/sample/spaces/dummy/.dm/posts/history.jsonl +3 -0
- dmart/sample/spaces/dummy/.dm/workflows/history.jsonl +3 -0
- dmart/sample/spaces/dummy/myfolder/.dm/an_example/history.jsonl +4 -0
- dmart/sample/spaces/dummy/myfolder/.dm/buyer_123/history.jsonl +2 -0
- dmart/sample/spaces/dummy/posts/.dm/97326c47/history.jsonl +3 -0
- dmart/sample/spaces/dummymyfolder/.dm/an_example/history.jsonl +2 -0
- dmart/sample/spaces/dummymyfolder/.dm/buyer_123/history.jsonl +2 -0
- dmart/sample/spaces/dummymyfolder/buyer_123/.dm/receipt/history.jsonl +2 -0
- dmart/sample/spaces/dummyschema/.dm/test_schema/history.jsonl +2 -0
- dmart/sample/spaces/dummyschema/.dm/ticket_workflows/history.jsonl +2 -0
- dmart/sample/spaces/dummyworkflows/.dm/myworkflow/history.jsonl +2 -0
- dmart/sample/spaces/management/.dm/meta.space.json +24 -27
- dmart/sample/spaces/management/.dm/notifications/attachments.view.json/admin.json +31 -32
- dmart/sample/spaces/management/.dm/notifications/attachments.view.json/meta.admin.json +15 -1
- dmart/sample/spaces/management/.dm/notifications/attachments.view.json/meta.system.json +15 -1
- dmart/sample/spaces/management/.dm/notifications/attachments.view.json/system.json +27 -28
- dmart/sample/spaces/management/collections/.dm/meta.folder.json +15 -1
- dmart/sample/spaces/management/collections.json +26 -1
- dmart/sample/spaces/management/groups/.dm/meta.folder.json +15 -1
- dmart/sample/spaces/management/groups.json +14 -1
- dmart/sample/spaces/management/health_check/.dm/meta.folder.json +15 -1
- dmart/sample/spaces/management/health_check.json +13 -1
- dmart/sample/spaces/management/notifications/.dm/meta.folder.json +15 -1
- dmart/sample/spaces/management/notifications/admin/.dm/meta.folder.json +6 -6
- dmart/sample/spaces/management/notifications/system/.dm/meta.folder.json +6 -6
- dmart/sample/spaces/management/notifications.json +46 -1
- dmart/sample/spaces/management/permissions/.dm/access_applications/meta.permission.json +4 -5
- dmart/sample/spaces/management/permissions/.dm/access_applications_world/meta.permission.json +23 -24
- dmart/sample/spaces/management/permissions/.dm/access_messages/meta.permission.json +14 -8
- dmart/sample/spaces/management/permissions/.dm/access_personal/meta.permission.json +12 -7
- dmart/sample/spaces/management/permissions/.dm/access_protected/meta.permission.json +12 -8
- dmart/sample/spaces/management/permissions/.dm/access_public/meta.permission.json +12 -8
- dmart/sample/spaces/management/permissions/.dm/browse_all_folders/meta.permission.json +5 -6
- dmart/sample/spaces/management/permissions/.dm/create_log/meta.permission.json +9 -8
- dmart/sample/spaces/management/permissions/.dm/interviewer/meta.permission.json +34 -1
- dmart/sample/spaces/management/permissions/.dm/manage_applications/meta.permission.json +35 -1
- dmart/sample/spaces/management/permissions/.dm/manage_debug/meta.permission.json +9 -7
- dmart/sample/spaces/management/permissions/.dm/manage_spaces/meta.permission.json +5 -6
- dmart/sample/spaces/management/permissions/.dm/meta.folder.json +15 -1
- dmart/sample/spaces/management/permissions/.dm/rules_management_default/meta.permission.json +10 -7
- dmart/sample/spaces/management/permissions/.dm/super_manager/meta.permission.json +4 -7
- dmart/sample/spaces/management/permissions/.dm/view_activity_log/meta.permission.json +10 -7
- dmart/sample/spaces/management/permissions/.dm/view_collections/meta.permission.json +6 -6
- dmart/sample/spaces/management/permissions/.dm/view_logs/meta.permission.json +9 -8
- dmart/sample/spaces/management/permissions/.dm/view_roles/meta.permission.json +10 -11
- dmart/sample/spaces/management/permissions/.dm/view_users/meta.permission.json +10 -7
- dmart/sample/spaces/management/permissions/.dm/view_world/meta.permission.json +10 -12
- dmart/sample/spaces/management/permissions/.dm/world/meta.permission.json +15 -10
- dmart/sample/spaces/management/permissions.json +10 -1
- dmart/sample/spaces/management/roles/.dm/dummy/meta.role.json +6 -6
- dmart/sample/spaces/management/roles/.dm/logged_in/meta.role.json +7 -7
- dmart/sample/spaces/management/roles/.dm/manager/meta.role.json +7 -7
- dmart/sample/spaces/management/roles/.dm/meta.folder.json +15 -1
- dmart/sample/spaces/management/roles/.dm/moderator/meta.role.json +7 -7
- dmart/sample/spaces/management/roles/.dm/super_admin/meta.role.json +7 -7
- dmart/sample/spaces/management/roles/.dm/test_role/meta.role.json +7 -7
- dmart/sample/spaces/management/roles/.dm/world/meta.role.json +7 -7
- dmart/sample/spaces/management/roles.json +11 -1
- dmart/sample/spaces/management/schema/.dm/admin_notification_request/attachments.media/meta.ui_schema.json +15 -9
- dmart/sample/spaces/management/schema/.dm/admin_notification_request/attachments.media/ui_schema.json +4 -4
- dmart/sample/spaces/management/schema/.dm/admin_notification_request/meta.schema.json +17 -1
- dmart/sample/spaces/management/schema/.dm/api/meta.schema.json +15 -1
- dmart/sample/spaces/management/schema/.dm/folder_rendering/meta.schema.json +17 -1
- dmart/sample/spaces/management/schema/.dm/health_check/meta.schema.json +8 -8
- dmart/sample/spaces/management/schema/.dm/meta.folder.json +15 -1
- dmart/sample/spaces/management/schema/.dm/meta_schema/meta.schema.json +14 -1
- dmart/sample/spaces/management/schema/.dm/metafile/meta.schema.json +14 -13
- dmart/sample/spaces/management/schema/.dm/notification/meta.schema.json +17 -1
- dmart/sample/spaces/management/schema/.dm/system_notification_request/attachments.media/meta.ui_schema.json +15 -9
- dmart/sample/spaces/management/schema/.dm/system_notification_request/attachments.media/ui_schema.json +1 -1
- dmart/sample/spaces/management/schema/.dm/system_notification_request/meta.schema.json +17 -1
- dmart/sample/spaces/management/schema/.dm/view/meta.schema.json +17 -1
- dmart/sample/spaces/management/schema/.dm/workflow/meta.schema.json +17 -1
- dmart/sample/spaces/management/schema/admin_notification_request.json +85 -88
- dmart/sample/spaces/management/schema/api.json +35 -1
- dmart/sample/spaces/management/schema/folder_rendering.json +166 -174
- dmart/sample/spaces/management/schema/health_check.json +1 -4
- dmart/sample/spaces/management/schema/meta_schema.json +48 -48
- dmart/sample/spaces/management/schema/metafile.json +73 -76
- dmart/sample/spaces/management/schema/notification.json +15 -10
- dmart/sample/spaces/management/schema/system_notification_request.json +49 -38
- dmart/sample/spaces/management/schema/view.json +11 -11
- dmart/sample/spaces/management/schema/workflow.json +51 -53
- dmart/sample/spaces/management/schema.json +16 -1
- dmart/sample/spaces/management/users/.dm/alibaba/meta.user.json +14 -15
- dmart/sample/spaces/management/users/.dm/anonymous/meta.user.json +17 -17
- dmart/sample/spaces/management/users/.dm/distributor/history.jsonl +6 -0
- dmart/sample/spaces/management/users/.dm/dmart/meta.user.json +30 -18
- dmart/sample/spaces/management/users/.dm/meta.folder.json +7 -7
- dmart/sample/spaces/management/workflows/.dm/channel/meta.content.json +16 -1
- dmart/sample/spaces/management/workflows/.dm/meta.folder.json +17 -1
- dmart/sample/spaces/management/workflows/channel.json +40 -40
- dmart/sample/spaces/management/workflows.json +13 -1
- dmart/sample/spaces/managementusers/.dm/distributor/history.jsonl +3 -0
- dmart/sample/spaces/managementusers/.dm/dmart/history.jsonl +11 -0
- dmart/sample/spaces/maqola/.dm/meta.space.json +19 -23
- dmart/sample/spaces/personal/.dm/meta.space.json +24 -18
- dmart/sample/spaces/personal/people/.dm/meta.folder.json +9 -1
- dmart/sample/spaces/personal/people/distributor/.dm/meta.folder.json +9 -0
- dmart/sample/spaces/personal/people/distributor/inbox/.dm/meta.folder.json +9 -0
- dmart/sample/spaces/personal/people/distributor/notifications/.dm/meta.folder.json +9 -0
- dmart/sample/spaces/personal/people/distributor/private/.dm/meta.folder.json +9 -0
- dmart/sample/spaces/personal/people/distributor/protected/.dm/meta.folder.json +9 -0
- dmart/sample/spaces/personal/people/distributor/public/.dm/meta.folder.json +9 -0
- dmart/sample/spaces/personal/people/dmart/.dm/meta.folder.json +9 -1
- dmart/sample/spaces/personal/people/dmart/messages/.dm/0b5f7e7f/meta.content.json +14 -1
- dmart/sample/spaces/personal/people/dmart/messages/.dm/meta.folder.json +9 -1
- dmart/sample/spaces/personal/people/dmart/messages/.dm/mytest/meta.content.json +14 -1
- dmart/sample/spaces/personal/people/dmart/messages/0b5f7e7f.json +3 -1
- dmart/sample/spaces/personal/people/dmart/messages/mytest.json +4 -1
- dmart/sample/spaces/personal/people/dmart/notifications/.dm/meta.folder.json +9 -1
- dmart/sample/spaces/personal/people/dmart/private/.dm/inner/meta.content.json +14 -1
- dmart/sample/spaces/personal/people/dmart/private/.dm/meta.folder.json +9 -1
- dmart/sample/spaces/personal/people/dmart/private/inner.json +3 -1
- dmart/sample/spaces/personal/people/dmart/protected/.dm/avatar/meta.content.json +14 -1
- dmart/sample/spaces/personal/people/dmart/protected/.dm/meta.folder.json +9 -1
- dmart/sample/spaces/personal/people/dmart/public/.dm/meta.folder.json +9 -1
- dmart/sample/test/.gitignore +0 -1
- dmart/utils/settings.py +0 -31
- {dmart-1.4.40.post32.dist-info → dmart-1.4.41.post34.dist-info}/METADATA +1 -1
- {dmart-1.4.40.post32.dist-info → dmart-1.4.41.post34.dist-info}/RECORD +277 -236
- dmart/cxb/assets/@codemirror-Rn7_6DkE.js +0 -10
- dmart/cxb/assets/@edraj-CS4NwVbD.js +0 -1
- dmart/cxb/assets/@jsonquerylang-laKNoFFq.js +0 -12
- dmart/cxb/assets/@lezer-za4Q-8Ew.js +0 -1
- dmart/cxb/assets/Table2Cols-BsbwicQm.js +0 -1
- dmart/cxb/assets/_...fallback_-Ba_NLmAE.js +0 -1
- dmart/cxb/assets/export-OF_rTiXu.js +0 -1
- dmart/cxb/assets/flowbite-svelte-BLvjb-sa.js +0 -1
- dmart/cxb/assets/import-BiJTp7Zs.js +0 -1
- dmart/cxb/assets/index-DOCBh6PM.js +0 -1
- dmart/cxb/assets/index-NBrXBlLA.css +0 -2
- dmart/cxb/assets/spaces-0oyGvpii.js +0 -1
- dmart/cxb/assets/svelte-B2XmcTi_.js +0 -4
- dmart/cxb/assets/toast-B9WDyfyI.js +0 -1
- dmart/sample/spaces/management/.dm/events.jsonl +0 -32
- {dmart-1.4.40.post32.dist-info → dmart-1.4.41.post34.dist-info}/WHEEL +0 -0
- {dmart-1.4.40.post32.dist-info → dmart-1.4.41.post34.dist-info}/entry_points.txt +0 -0
- {dmart-1.4.40.post32.dist-info → dmart-1.4.41.post34.dist-info}/top_level.txt +0 -0
|
@@ -1 +1,9 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"created_at": "2023-08-01T14:43:49.725550",
|
|
3
|
+
"updated_at": "2023-08-01T14:43:49.725552",
|
|
4
|
+
"uuid": "fdff2be7-72cd-47c1-976d-fe57e6c7ff5b",
|
|
5
|
+
"owner_shortname": "dmart",
|
|
6
|
+
"is_active": true,
|
|
7
|
+
"shortname": "notifications",
|
|
8
|
+
"tags": []
|
|
9
|
+
}
|
|
@@ -1 +1,14 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"created_at": "2023-08-02T23:44:53.023767",
|
|
3
|
+
"updated_at": "2023-08-02T23:44:53.023781",
|
|
4
|
+
"uuid": "e40aba18-a3a8-420d-bd78-428c15152f3b",
|
|
5
|
+
"owner_shortname": "dmart",
|
|
6
|
+
"is_active": true,
|
|
7
|
+
"shortname": "inner",
|
|
8
|
+
"payload": {
|
|
9
|
+
"body": "inner.json",
|
|
10
|
+
"checksum": "66616dc95294e8c647dd6da9134d6b53b5b55ee2",
|
|
11
|
+
"content_type": "json"
|
|
12
|
+
},
|
|
13
|
+
"tags": []
|
|
14
|
+
}
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"created_at": "2023-08-01T14:31:21.844764",
|
|
3
|
+
"updated_at": "2023-08-01T14:31:21.844766",
|
|
4
|
+
"uuid": "8d7e3012-020b-43a9-8536-94dde6099d22",
|
|
5
|
+
"owner_shortname": "dmart",
|
|
6
|
+
"is_active": true,
|
|
7
|
+
"shortname": "private",
|
|
8
|
+
"tags": []
|
|
9
|
+
}
|
|
@@ -1 +1,14 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"created_at": "2023-05-01T13:17:22.903704",
|
|
3
|
+
"updated_at": "2023-05-01T13:17:22.903706",
|
|
4
|
+
"uuid": "88455560-93c1-4a01-96e0-49644dfed6df",
|
|
5
|
+
"owner_shortname": "dmart",
|
|
6
|
+
"is_active": true,
|
|
7
|
+
"shortname": "avatar",
|
|
8
|
+
"payload": {
|
|
9
|
+
"body": "avatar.png",
|
|
10
|
+
"checksum": "956fb525d4acf5db7a12b307459a21fc34fb2a4e",
|
|
11
|
+
"content_type": "image"
|
|
12
|
+
},
|
|
13
|
+
"tags": []
|
|
14
|
+
}
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"created_at": "2023-08-01T14:43:49.727125",
|
|
3
|
+
"updated_at": "2023-08-01T14:43:49.727128",
|
|
4
|
+
"uuid": "ded3237e-645d-4aa7-afd6-e33969efcb66",
|
|
5
|
+
"owner_shortname": "dmart",
|
|
6
|
+
"is_active": true,
|
|
7
|
+
"shortname": "protected",
|
|
8
|
+
"tags": []
|
|
9
|
+
}
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"created_at": "2023-08-01T14:43:49.727125",
|
|
3
|
+
"updated_at": "2023-08-01T14:43:49.727128",
|
|
4
|
+
"uuid": "d30c81e4-aa56-4a45-9a79-558cde6701d5",
|
|
5
|
+
"owner_shortname": "dmart",
|
|
6
|
+
"is_active": true,
|
|
7
|
+
"shortname": "public",
|
|
8
|
+
"tags": []
|
|
9
|
+
}
|
dmart/sample/test/.gitignore
CHANGED
dmart/utils/settings.py
CHANGED
|
@@ -5,7 +5,6 @@ import os
|
|
|
5
5
|
import random
|
|
6
6
|
import re
|
|
7
7
|
import string
|
|
8
|
-
import secrets
|
|
9
8
|
from venv import logger
|
|
10
9
|
|
|
11
10
|
from pydantic import Field
|
|
@@ -25,36 +24,6 @@ def get_env_file():
|
|
|
25
24
|
dmart_home = Path.home() / ".dmart"
|
|
26
25
|
home_config = dmart_home / "config.env"
|
|
27
26
|
|
|
28
|
-
if not home_config.exists():
|
|
29
|
-
if not (os.path.exists(".git") or os.path.exists("setup.py")):
|
|
30
|
-
try:
|
|
31
|
-
dmart_home.mkdir(parents=True, exist_ok=True)
|
|
32
|
-
(dmart_home / "logs").mkdir(parents=True, exist_ok=True)
|
|
33
|
-
(dmart_home / "spaces").mkdir(parents=True, exist_ok=True)
|
|
34
|
-
(dmart_home / "spaces" / "custom_plugins").mkdir(parents=True, exist_ok=True)
|
|
35
|
-
|
|
36
|
-
jwt_secret = secrets.token_urlsafe(32)
|
|
37
|
-
|
|
38
|
-
config_content = f"""# dmart configuration
|
|
39
|
-
JWT_SECRET="{jwt_secret}"
|
|
40
|
-
JWT_ALGORITHM="HS256"
|
|
41
|
-
LOG_FILE="{dmart_home / 'logs' / 'dmart.ljson.log'}"
|
|
42
|
-
WS_LOG_FILE="{dmart_home / 'logs' / 'websocket.ljson.log'}"
|
|
43
|
-
|
|
44
|
-
# Database configuration
|
|
45
|
-
ACTIVE_DATA_DB="file"
|
|
46
|
-
SPACES_FOLDER="{dmart_home / 'spaces'}"
|
|
47
|
-
DATABASE_DRIVER="sqlite+pysqlite"
|
|
48
|
-
DATABASE_NAME="{dmart_home / 'dmart.db'}"
|
|
49
|
-
|
|
50
|
-
# Server configuration
|
|
51
|
-
LISTENING_HOST="0.0.0.0"
|
|
52
|
-
LISTENING_PORT=8282
|
|
53
|
-
"""
|
|
54
|
-
home_config.write_text(config_content)
|
|
55
|
-
except Exception:
|
|
56
|
-
pass
|
|
57
|
-
|
|
58
27
|
if home_config.exists():
|
|
59
28
|
return str(home_config)
|
|
60
29
|
|