@saltcorn/server 1.1.4-beta.1 → 1.1.4-beta.11
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.
- package/CHANGELOG.md +37 -0
- package/auth/admin.js +24 -1
- package/auth/resetpw.js +1 -1
- package/auth/roleadmin.js +1 -4
- package/auth/routes.js +57 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/_saltcorn_common_code.Relation.html +31 -9
- package/docs/classes/_saltcorn_common_code.RelationsFinder.html +5 -5
- package/docs/classes/_saltcorn_data.models.Crash-1.html +18 -18
- package/docs/classes/_saltcorn_data.models.EventLog-1.html +19 -19
- package/docs/classes/_saltcorn_data.models.Field.html +71 -71
- package/docs/classes/_saltcorn_data.models.FieldRepeat-1.html +17 -17
- package/docs/classes/_saltcorn_data.models.File-1.html +48 -48
- package/docs/classes/_saltcorn_data.models.Form-1.html +38 -38
- package/docs/classes/_saltcorn_data.models.Library.html +13 -13
- package/docs/classes/_saltcorn_data.models.Page.html +24 -24
- package/docs/classes/_saltcorn_data.models.PageGroup-1.html +25 -25
- package/docs/classes/_saltcorn_data.models.Plugin.html +25 -25
- package/docs/classes/_saltcorn_data.models.Role.html +9 -9
- package/docs/classes/_saltcorn_data.models.Table-1.html +111 -96
- package/docs/classes/_saltcorn_data.models.TableConstraint-1.html +14 -14
- package/docs/classes/_saltcorn_data.models.Trigger.html +36 -36
- package/docs/classes/_saltcorn_data.models.User-1.html +50 -50
- package/docs/classes/_saltcorn_data.models.View-1.html +52 -52
- package/docs/classes/_saltcorn_data.models.Workflow-1.html +17 -17
- package/docs/classes/_saltcorn_data.models.WorkflowRun.html +35 -35
- package/docs/classes/_saltcorn_data.models.WorkflowStep.html +25 -25
- package/docs/classes/_saltcorn_data.models.WorkflowTrace.html +18 -18
- package/docs/classes/_saltcorn_mobile_builder.MobileBuilder.html +36 -36
- package/docs/enums/_saltcorn_common_code.RelationType.html +7 -7
- package/docs/enums/_saltcorn_common_code.ViewDisplayType.html +4 -4
- package/docs/functions/_saltcorn_admin_models.backup.create_backup.html +1 -1
- package/docs/functions/_saltcorn_admin_models.backup.create_csv_from_rows.html +1 -1
- package/docs/functions/_saltcorn_admin_models.backup.restore.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.add_to_menu.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.can_install_pack.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.fetch_available_packs.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.fetch_pack_by_name.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.install_pack.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.library_pack.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.model_instance_pack.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.model_pack.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.page_group_pack.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.page_pack.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.plugin_pack.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.role_pack.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.table_pack.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.trigger_pack.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.uninstall_pack.html +1 -1
- package/docs/functions/_saltcorn_admin_models.pack.view_pack.html +1 -1
- package/docs/functions/_saltcorn_admin_models.tenant.copy_tenant_template.html +1 -1
- package/docs/functions/_saltcorn_admin_models.tenant.create_tenant.html +1 -1
- package/docs/functions/_saltcorn_admin_models.tenant.deleteTenant.html +1 -1
- package/docs/functions/_saltcorn_admin_models.tenant.domain_sanitize.html +1 -1
- package/docs/functions/_saltcorn_admin_models.tenant.eachTenant.html +1 -1
- package/docs/functions/_saltcorn_admin_models.tenant.getAllTenantRows.html +1 -1
- package/docs/functions/_saltcorn_admin_models.tenant.getAllTenants.html +1 -1
- package/docs/functions/_saltcorn_admin_models.tenant.insertTenant.html +1 -1
- package/docs/functions/_saltcorn_admin_models.tenant.switchToTenant.html +1 -1
- package/docs/functions/_saltcorn_common_code.buildTableCaches.html +1 -1
- package/docs/functions/_saltcorn_common_code.parseLegacyRelation.html +1 -1
- package/docs/functions/_saltcorn_common_code.parseRelationPath.html +1 -1
- package/docs/functions/_saltcorn_data.models.config.check_email_mask.html +1 -1
- package/docs/functions/_saltcorn_data.models.config.deleteConfig.html +1 -1
- package/docs/functions/_saltcorn_data.models.config.getAllConfig.html +1 -1
- package/docs/functions/_saltcorn_data.models.config.getConfig.html +1 -1
- package/docs/functions/_saltcorn_data.models.config.get_base_url.html +1 -1
- package/docs/functions/_saltcorn_data.models.config.get_latest_npm_version.html +1 -1
- package/docs/functions/_saltcorn_data.models.config.remove_from_menu.html +1 -1
- package/docs/functions/_saltcorn_data.models.config.save_menu_items.html +1 -1
- package/docs/functions/_saltcorn_data.models.config.setConfig.html +1 -1
- package/docs/functions/_saltcorn_data.models.discovery.discover_tables.html +1 -1
- package/docs/functions/_saltcorn_data.models.discovery.discoverable_tables.html +1 -1
- package/docs/functions/_saltcorn_data.models.discovery.findType.html +3 -3
- package/docs/functions/_saltcorn_data.models.discovery.get_existing_views.html +1 -1
- package/docs/functions/_saltcorn_data.models.discovery.implement_discovery.html +1 -1
- package/docs/functions/_saltcorn_data.models.email.getMailTransport.html +3 -3
- package/docs/functions/_saltcorn_data.models.email.send_verification_email.html +1 -1
- package/docs/functions/_saltcorn_data.models.email.viewToEmailHtml.html +1 -1
- package/docs/functions/_saltcorn_data.models.expression.apply_calculated_fields.html +1 -1
- package/docs/functions/_saltcorn_data.models.expression.apply_calculated_fields_stored.html +1 -1
- package/docs/functions/_saltcorn_data.models.expression.eval_expression.html +1 -1
- package/docs/functions/_saltcorn_data.models.expression.expressionValidator.html +1 -1
- package/docs/functions/_saltcorn_data.models.expression.get_async_expression_function.html +1 -1
- package/docs/functions/_saltcorn_data.models.expression.get_expression_function.html +1 -1
- package/docs/functions/_saltcorn_data.models.expression.jsexprToWhere.html +1 -1
- package/docs/functions/_saltcorn_data.models.expression.recalculate_for_stored.html +1 -1
- package/docs/functions/_saltcorn_data.models.expression.transform_for_async.html +1 -1
- package/docs/functions/_saltcorn_data.models.layout.eachView.html +1 -1
- package/docs/functions/_saltcorn_data.models.layout.getStringsForI18n.html +1 -1
- package/docs/functions/_saltcorn_data.models.layout.getViews.html +1 -1
- package/docs/functions/_saltcorn_data.models.layout.translateLayout.html +1 -1
- package/docs/functions/_saltcorn_data.models.layout.traverse.html +1 -1
- package/docs/functions/_saltcorn_data.models.layout.traverseSync.html +1 -1
- package/docs/functions/_saltcorn_data.models.random.all_views.html +1 -1
- package/docs/functions/_saltcorn_data.models.random.fill_table_row.html +1 -1
- package/docs/functions/_saltcorn_data.models.random.initial_view.html +1 -1
- package/docs/functions/_saltcorn_data.models.random.random_table.html +1 -1
- package/docs/functions/_saltcorn_db_common.buildInsertBulkSql.html +1 -1
- package/docs/functions/_saltcorn_db_common.buildInsertSql.html +1 -1
- package/docs/functions/_saltcorn_db_common.doCount.html +1 -1
- package/docs/functions/_saltcorn_db_common.doDeleteWhere.html +1 -1
- package/docs/functions/_saltcorn_db_common.doListScTables.html +1 -1
- package/docs/functions/_saltcorn_db_common.doListTables.html +1 -1
- package/docs/functions/_saltcorn_db_common.doListUserDefinedTables.html +1 -1
- package/docs/functions/_saltcorn_db_common.do_add_index.html +1 -1
- package/docs/functions/_saltcorn_db_common.do_drop_index.html +1 -1
- package/docs/functions/_saltcorn_db_common.ftsFieldsSqlExpr.html +1 -1
- package/docs/functions/_saltcorn_db_common.mkSelectOptions.html +1 -1
- package/docs/functions/_saltcorn_db_common.mkVal.html +1 -1
- package/docs/functions/_saltcorn_db_common.mkWhere.html +1 -1
- package/docs/functions/_saltcorn_db_common.multi_tenant.enable_multi_tenant.html +1 -1
- package/docs/functions/_saltcorn_db_common.multi_tenant.getRequestContext.html +1 -1
- package/docs/functions/_saltcorn_db_common.multi_tenant.getTenantSchema.html +1 -1
- package/docs/functions/_saltcorn_db_common.multi_tenant.init.html +1 -1
- package/docs/functions/_saltcorn_db_common.multi_tenant.is_it_multi_tenant.html +1 -1
- package/docs/functions/_saltcorn_db_common.multi_tenant.runWithTenant.html +1 -1
- package/docs/functions/_saltcorn_db_common.orderByIsObject.html +1 -1
- package/docs/functions/_saltcorn_db_common.orderByIsOperator.html +1 -1
- package/docs/functions/_saltcorn_db_common.prefixFieldsInWhere.html +1 -1
- package/docs/functions/_saltcorn_db_common.reprAsJson.html +1 -1
- package/docs/functions/_saltcorn_db_common.sqlBinOp.html +1 -1
- package/docs/functions/_saltcorn_db_common.sqlFun.html +1 -1
- package/docs/functions/_saltcorn_db_common.sqlsanitize.html +1 -1
- package/docs/functions/_saltcorn_db_common.sqlsanitizeAllowDots.html +1 -1
- package/docs/functions/_saltcorn_db_common.subSelectWhere.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.androidFeatures.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.androidPermissions.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.buildTablesFile.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.copyPrepopulatedDb.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.copyServerFiles.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.copyShareExtFiles.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.copySiteLogo.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.copyTranslationFiles.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.createSqliteDb.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.decodeProvisioningProfile.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.extractDomain.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.generateAndroidVersionCode.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.modifyAndroidManifest.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.modifyConfigXml.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.modifyGradleConfig.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.modifyInfoPlist.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.modifyXcodeProjectFile.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.prepAppIcon.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.prepareAppIcon.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.prepareBuildDir.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.prepareExportOptionsPlist.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.prepareSplashIcon.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.prepareSplashPage.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.writeCapacitorConfig.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.writeCfgFile.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.writeDataExtractionRules.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.writeNetworkSecurityConfig.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.writePodfile.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.common_build_utils.writePrivacyInfo.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.package_bundle_utils.bundleMobileAppCode.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.package_bundle_utils.bundlePackagesAndPlugins.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.package_bundle_utils.copyMobileAppDirs.html +1 -1
- package/docs/functions/_saltcorn_mobile_builder.package_bundle_utils.copyPublicDirs.html +1 -1
- package/docs/functions/_saltcorn_sqlite.add_index.html +2 -1
- package/docs/functions/_saltcorn_sqlite.add_unique_constraint.html +2 -1
- package/docs/functions/_saltcorn_sqlite.begin.html +2 -1
- package/docs/functions/_saltcorn_sqlite.changeConnection.html +2 -1
- package/docs/functions/_saltcorn_sqlite.close.html +2 -1
- package/docs/functions/_saltcorn_sqlite.commit.html +2 -1
- package/docs/functions/_saltcorn_sqlite.count.html +2 -1
- package/docs/functions/_saltcorn_sqlite.deleteWhere.html +2 -1
- package/docs/functions/_saltcorn_sqlite.dropTable.html +2 -1
- package/docs/functions/_saltcorn_sqlite.dropTables.html +2 -1
- package/docs/functions/_saltcorn_sqlite.drop_index.html +2 -1
- package/docs/functions/_saltcorn_sqlite.drop_reset_schema.html +2 -1
- package/docs/functions/_saltcorn_sqlite.drop_unique_constraint.html +2 -1
- package/docs/functions/_saltcorn_sqlite.getVersion.html +2 -1
- package/docs/functions/_saltcorn_sqlite.get_db_filepath.html +2 -1
- package/docs/functions/_saltcorn_sqlite.get_sql_logging.html +2 -1
- package/docs/functions/_saltcorn_sqlite.init.html +2 -1
- package/docs/functions/_saltcorn_sqlite.insert.html +2 -1
- package/docs/functions/_saltcorn_sqlite.listScTables.html +2 -1
- package/docs/functions/_saltcorn_sqlite.listTables.html +2 -1
- package/docs/functions/_saltcorn_sqlite.listUserDefinedTables.html +2 -1
- package/docs/functions/_saltcorn_sqlite.query.html +2 -1
- package/docs/functions/_saltcorn_sqlite.rollback.html +2 -1
- package/docs/functions/_saltcorn_sqlite.select.html +2 -1
- package/docs/functions/_saltcorn_sqlite.selectMaybeOne.html +2 -1
- package/docs/functions/_saltcorn_sqlite.selectOne.html +2 -1
- package/docs/functions/_saltcorn_sqlite.set_sql_logging.html +2 -1
- package/docs/functions/_saltcorn_sqlite.slugify.html +2 -1
- package/docs/functions/_saltcorn_sqlite.sql_log.html +2 -1
- package/docs/functions/_saltcorn_sqlite.tryCatchInTransaction.html +97 -0
- package/docs/functions/_saltcorn_sqlite.update.html +2 -1
- package/docs/functions/_saltcorn_sqlite.updateWhere.html +2 -1
- package/docs/functions/_saltcorn_sqlite.withTransaction.html +2 -1
- package/docs/functions/_saltcorn_sqlite_mobile.add_index.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.add_unique_constraint.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.count.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.deleteWhere.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.drop_index.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.drop_reset_schema.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.drop_unique_constraint.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.init.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.insert.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.insertRows.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.listScTables.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.listTables.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.listUserDefinedTables.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.query.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.select.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.selectMaybeOne.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.selectOne.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.setConnectionObject.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.tableExists.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.time.html +1 -1
- package/docs/functions/_saltcorn_sqlite_mobile.update.html +1 -1
- package/docs/functions/_saltcorn_types.ModelAbstracts.abstract_field.instanceOfField.html +1 -1
- package/docs/functions/_saltcorn_types.ModelAbstracts.abstract_page.instanceOfPage.html +1 -1
- package/docs/functions/_saltcorn_types.ModelAbstracts.abstract_view.instanceOfView.html +1 -1
- package/docs/functions/_saltcorn_types.Types.base_types.instanceOWithHtmlFile.html +1 -1
- package/docs/functions/_saltcorn_types.Types.common_types.instanceOfErrorMsg.html +1 -1
- package/docs/functions/_saltcorn_types.Types.common_types.instanceOfSuccessMsg.html +1 -1
- package/docs/functions/_saltcorn_types.Types.common_types.instanceOfType.html +1 -1
- package/docs/functions/_saltcorn_types.generators.generateBool.html +1 -1
- package/docs/functions/_saltcorn_types.generators.generateString.html +1 -1
- package/docs/functions/_saltcorn_types.generators.num_between.html +1 -1
- package/docs/functions/_saltcorn_types.generators.oneOf.html +1 -1
- package/docs/interfaces/_saltcorn_mobile_builder.common_build_utils.ScCapacitorConfig.html +10 -10
- package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_field.AbstractField.html +14 -14
- package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_field.AbstractFieldRepeat.html +3 -3
- package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_form.AbstractForm.html +26 -26
- package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_page.AbstractPage.html +7 -7
- package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_role.AbstractRole.html +3 -3
- package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_table.AbstractTable.html +7 -7
- package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_trigger.AbstractTrigger.html +16 -16
- package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_view.AbstractView.html +10 -10
- package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_workflow.AbstractWorkflow.html +13 -13
- package/docs/modules/_saltcorn_admin_models.backup.html +1 -1
- package/docs/modules/_saltcorn_admin_models.html +1 -1
- package/docs/modules/_saltcorn_admin_models.pack.html +1 -1
- package/docs/modules/_saltcorn_admin_models.tenant.html +1 -1
- package/docs/modules/_saltcorn_common_code.html +1 -1
- package/docs/modules/_saltcorn_data.html +56 -18
- package/docs/modules/_saltcorn_data.models.Crash.html +2 -2
- package/docs/modules/_saltcorn_data.models.EventLog.html +2 -2
- package/docs/modules/_saltcorn_data.models.FieldRepeat.html +2 -2
- package/docs/modules/_saltcorn_data.models.File.html +2 -2
- package/docs/modules/_saltcorn_data.models.Form.html +2 -2
- package/docs/modules/_saltcorn_data.models.PageGroup.html +2 -2
- package/docs/modules/_saltcorn_data.models.Table.html +2 -2
- package/docs/modules/_saltcorn_data.models.TableConstraint.html +2 -2
- package/docs/modules/_saltcorn_data.models.User.html +2 -2
- package/docs/modules/_saltcorn_data.models.View.html +2 -2
- package/docs/modules/_saltcorn_data.models.Workflow.html +2 -2
- package/docs/modules/_saltcorn_data.models.config.html +1 -1
- package/docs/modules/_saltcorn_data.models.discovery.html +1 -1
- package/docs/modules/_saltcorn_data.models.email.html +1 -1
- package/docs/modules/_saltcorn_data.models.expression.html +1 -1
- package/docs/modules/_saltcorn_data.models.html +1 -1
- package/docs/modules/_saltcorn_data.models.layout.html +1 -1
- package/docs/modules/_saltcorn_data.models.random.html +1 -1
- package/docs/modules/_saltcorn_data.models.scheduler.html +1 -1
- package/docs/modules/_saltcorn_data.plugin_helper.html +1 -1
- package/docs/modules/_saltcorn_data.utils.html +1 -1
- package/docs/modules/_saltcorn_db_common.html +2 -2
- package/docs/modules/_saltcorn_db_common.multi_tenant.html +1 -1
- package/docs/modules/_saltcorn_markup.html +13 -13
- package/docs/modules/_saltcorn_mobile_builder.common_build_utils.html +1 -1
- package/docs/modules/_saltcorn_mobile_builder.html +1 -1
- package/docs/modules/_saltcorn_mobile_builder.package_bundle_utils.html +1 -1
- package/docs/modules/_saltcorn_sqlite.html +3 -1
- package/docs/modules/_saltcorn_sqlite_mobile.html +1 -1
- package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_field.html +1 -1
- package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_form.html +1 -1
- package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_library.html +1 -1
- package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_page.html +1 -1
- package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_plugin.html +1 -1
- package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_role.html +1 -1
- package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_table.html +1 -1
- package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_trigger.html +1 -1
- package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_view.html +1 -1
- package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_workflow.html +1 -1
- package/docs/modules/_saltcorn_types.ModelAbstracts.html +1 -1
- package/docs/modules/_saltcorn_types.Types.base_types.html +1 -1
- package/docs/modules/_saltcorn_types.Types.common_types.html +1 -1
- package/docs/modules/_saltcorn_types.Types.html +1 -1
- package/docs/modules/_saltcorn_types.generators.html +1 -1
- package/docs/modules/_saltcorn_types.html +1 -1
- package/docs/types/_saltcorn_data.models.Crash.CrashCfg.html +1 -1
- package/docs/types/_saltcorn_data.models.EventLog.EventLogCfg.html +1 -1
- package/docs/types/_saltcorn_data.models.FieldRepeat.FieldRepeatCfg.html +1 -1
- package/docs/types/_saltcorn_data.models.File.FileCfg.html +1 -1
- package/docs/types/_saltcorn_data.models.Form.AdditionalButton.html +1 -1
- package/docs/types/_saltcorn_data.models.Form.FormCfg.html +1 -1
- package/docs/types/_saltcorn_data.models.PageGroup.ScreenInfoParams.html +1 -1
- package/docs/types/_saltcorn_data.models.Table.ChildRelations.html +1 -1
- package/docs/types/_saltcorn_data.models.Table.ParentRelations.html +1 -1
- package/docs/types/_saltcorn_data.models.Table.RelationData.html +1 -1
- package/docs/types/_saltcorn_data.models.TableConstraint.TableConstraintCfg.html +1 -1
- package/docs/types/_saltcorn_data.models.User.UserCfg.html +1 -1
- package/docs/types/_saltcorn_data.models.View.FindViewsPred.html +1 -1
- package/docs/types/_saltcorn_data.models.Workflow.WorkflowCfg.html +1 -1
- package/docs/types/_saltcorn_db_common.AggregationOptions.html +1 -1
- package/docs/types/_saltcorn_db_common.CoordOpts.html +1 -1
- package/docs/types/_saltcorn_db_common.DatabaseClient.html +1 -1
- package/docs/types/_saltcorn_db_common.JoinField.html +1 -1
- package/docs/types/_saltcorn_db_common.JoinFields.html +1 -1
- package/docs/types/_saltcorn_db_common.JoinOptions.html +1 -1
- package/docs/types/_saltcorn_db_common.JsonPath.html +1 -1
- package/docs/types/_saltcorn_db_common.JsonPathElem.html +1 -1
- package/docs/types/_saltcorn_db_common.Operator.html +1 -1
- package/docs/types/_saltcorn_db_common.PrimaryKeyValue.html +1 -1
- package/docs/types/_saltcorn_db_common.Row.html +1 -1
- package/docs/types/_saltcorn_db_common.SelectOptions.html +1 -1
- package/docs/types/_saltcorn_db_common.SqlAndValues.html +1 -1
- package/docs/types/_saltcorn_db_common.SubselectOptions.html +1 -1
- package/docs/types/_saltcorn_db_common.Value.html +1 -1
- package/docs/types/_saltcorn_db_common.Where.html +1 -1
- package/docs/types/_saltcorn_mobile_builder.IosCfg.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_field.FieldCfg.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_field.InputType.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_form.AdditionalButton.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_library.LibraryCfg.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_library.LibraryPack.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_page.PageCfg.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_page.PagePack.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_plugin.PluginCfg.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_plugin.PluginPack.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_role.RoleCfg.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_role.RolePack.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_table.TableCfg.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_table.TablePack.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_trigger.TriggerCfg.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_trigger.TriggerPack.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_view.ViewCfg.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_view.ViewPack.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_workflow.ConfigWorkflowStep.html +1 -1
- package/docs/types/_saltcorn_types.ModelAbstracts.abstract_workflow.RunResult.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.Action.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.AuthenticationMethod.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.CapacitorPlugin.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.CodePagePack.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.Column.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.ConnectedObjects.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.CopilotSkill.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.FieldLike.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.FieldView.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.Header.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.JoinFieldOption.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.Layout.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.MobileConfig.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.ModelPattern.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.Pack.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.Plugin.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.PluginFunction.html +5 -5
- package/docs/types/_saltcorn_types.Types.base_types.PluginLayout.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.PluginRoute.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.PluginSourceType.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.PluginType.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.PluginWrap.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.PluginWrapArg.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.RelationOption.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.Req.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.Res.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.RouteAction.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.RunExtra.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.TableProvider.html +5 -5
- package/docs/types/_saltcorn_types.Types.base_types.TableQuery.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.Tablely.html +1 -1
- package/docs/types/_saltcorn_types.Types.base_types.ViewTemplate.html +1 -1
- package/docs/types/_saltcorn_types.Types.common_types.ErrorMessage.html +1 -1
- package/docs/types/_saltcorn_types.Types.common_types.GenObj.html +1 -1
- package/docs/types/_saltcorn_types.Types.common_types.ReqRes.html +1 -1
- package/docs/types/_saltcorn_types.Types.common_types.ResultMessage.html +1 -1
- package/docs/types/_saltcorn_types.Types.common_types.SuccessMessage.html +1 -1
- package/docs/types/_saltcorn_types.Types.common_types.Type.html +17 -4
- package/docs/variables/_saltcorn_data.db.html +1 -1
- package/docs/variables/_saltcorn_data.migrations.html +1 -1
- package/docs/variables/_saltcorn_data.models.config.available_languages.html +1 -1
- package/docs/variables/_saltcorn_data.models.config.configTypes.html +1 -1
- package/docs/variables/_saltcorn_data.models.scheduler.runScheduler.html +1 -1
- package/docs/variables/_saltcorn_data.plugin_helper.run_action_column.html +1 -1
- package/docs/variables/_saltcorn_data.utils.NotAuthorized.html +1 -1
- package/docs/variables/_saltcorn_data.utils.sleep.html +1 -1
- package/docs/variables/_saltcorn_db_common.multi_tenant.tenantNamespace.html +1 -1
- package/load_plugins.js +1 -1
- package/locales/da.json +874 -860
- package/locales/de.json +20 -2
- package/locales/en.json +12 -1
- package/locales/es.json +20 -2
- package/locales/fr.json +21 -3
- package/locales/pl.json +19 -9
- package/locales/pt.json +20 -2
- package/markup/admin.js +28 -0
- package/markup/expression_blurb.js +4 -2
- package/package.json +10 -9
- package/public/saltcorn-common.js +54 -18
- package/public/saltcorn.css +11 -1
- package/public/saltcorn.js +10 -3
- package/public/tabulator.min.js +2 -2
- package/public/tabulator_bootstrap4.min.css +1 -1
- package/public/tabulator_bootstrap5.min.css +2 -1
- package/routes/actions.js +28 -5
- package/routes/admin.js +106 -14
- package/routes/api.js +27 -15
- package/routes/common_lists.js +18 -7
- package/routes/fields.js +1 -6
- package/routes/infoarch.js +216 -21
- package/routes/list.js +47 -11
- package/routes/menu.js +1 -1
- package/routes/plugins.js +1 -1
- package/routes/registry.js +17 -0
- package/routes/tables.js +15 -2
- package/routes/tag_entries.js +6 -1
- package/routes/view.js +10 -3
- package/serve.js +5 -1
- package/tests/menu.test.js +122 -0
- package/wrapper.js +8 -5
package/locales/de.json
CHANGED
|
@@ -1235,7 +1235,7 @@
|
|
|
1235
1235
|
"Secondary outline button": "Sekundärer Umrissknopf",
|
|
1236
1236
|
"Standard": "Standard",
|
|
1237
1237
|
"X-Small": "X-Klein",
|
|
1238
|
-
"Block": "
|
|
1238
|
+
"Block": "Blockieren",
|
|
1239
1239
|
"Large block": "Großer Block",
|
|
1240
1240
|
"Formula for JavaScript object that will be added to state parameters": "Formel für ein JavaScript-Objekt, das zu den Statusparametern hinzugefügt wird.",
|
|
1241
1241
|
"Alignment": "Ausrichtung",
|
|
@@ -1584,5 +1584,23 @@
|
|
|
1584
1584
|
"Manage tags...": "Tags verwalten...",
|
|
1585
1585
|
"Started": "Gestartet",
|
|
1586
1586
|
"Updated": "Aktualisiert",
|
|
1587
|
-
"Status": "Status"
|
|
1587
|
+
"Status": "Status",
|
|
1588
|
+
"Working directory": "Arbeitsverzeichnis",
|
|
1589
|
+
"Row click event": "Zeilenklick-Ereignis",
|
|
1590
|
+
"What happens when a row is clicked": "Was passiert, wenn eine Zeile angeklickt wird?",
|
|
1591
|
+
"Row click action": "Zeilenklickaktion",
|
|
1592
|
+
"Run this action when row is clicked": "Führe diese Aktion aus, wenn die Zeile angeklickt wird.",
|
|
1593
|
+
"Reset password view": "Passwort-Zurücksetzen-Ansicht",
|
|
1594
|
+
"A view that will be emailed to users when they have forgotten their password": "Eine Ansicht, die an Benutzer gesendet wird, wenn sie ihr Passwort vergessen haben.",
|
|
1595
|
+
"Allow login methods": "Login-Methoden erlauben",
|
|
1596
|
+
"Inherit configuration values": "Konfigurationswerte erben",
|
|
1597
|
+
"Comma-separated list of configuration settings tenants inherit from root. Ex: <code>site_name, smtp_host, allow_signup</code>": "Kommagetrennte Liste von Konfigurationseinstellungen, die Mieter vom Root erben. Bsp.: <code>site_name, smtp_host, allow_signup</code>",
|
|
1598
|
+
"Disable CSRF routes": "CSRF-Routen deaktivieren",
|
|
1599
|
+
"Comma-separated list of relative URL routes where CSRF token checking is disabled. Example: <code>/files/upload, /auth/signup</code>": "Durch Kommas getrennte Liste relativer URL-Routen, bei denen die CSRF-Token-Überprüfung deaktiviert ist. Beispiel: <code>/files/upload, /auth/signup</code>",
|
|
1600
|
+
"Only day": "Nur Tag",
|
|
1601
|
+
"Language CSV": "Sprache CSV",
|
|
1602
|
+
"Upload language CSV": "Sprach-CSV hochladen",
|
|
1603
|
+
"Create an account!": "Erstellen Sie ein Konto!",
|
|
1604
|
+
"Login with %s": "Mit %s anmelden",
|
|
1605
|
+
"Already have an account? Login!": "Bereits ein Konto? Einloggen!"
|
|
1588
1606
|
}
|
package/locales/en.json
CHANGED
|
@@ -1593,5 +1593,16 @@
|
|
|
1593
1593
|
"Comma-separated list of configuration settings tenants inherit from root. Ex: <code>site_name, smtp_host, allow_signup</code>": "Comma-separated list of configuration settings tenants inherit from root. Ex: <code>site_name, smtp_host, allow_signup</code>",
|
|
1594
1594
|
"Disable CSRF routes": "Disable CSRF routes",
|
|
1595
1595
|
"Comma-separated list of relative URL routes where CSRF token checking is disabled. Example: <code>/files/upload, /auth/signup</code>": "Comma-separated list of relative URL routes where CSRF token checking is disabled. Example: <code>/files/upload, /auth/signup</code>",
|
|
1596
|
-
"Only day": "Only day"
|
|
1596
|
+
"Only day": "Only day",
|
|
1597
|
+
"Language CSV": "Language CSV",
|
|
1598
|
+
"Upload language CSV": "Upload language CSV",
|
|
1599
|
+
"Create an account!": "Create an account!",
|
|
1600
|
+
"Login with %s": "Login with %s",
|
|
1601
|
+
"Already have an account? Login!": "Already have an account? Login!",
|
|
1602
|
+
"Translated %s strings. Click 'Translate with LLM' again to continue": "Translated %s strings. Click 'Translate with LLM' again to continue",
|
|
1603
|
+
"Translate with LLM": "Translate with LLM",
|
|
1604
|
+
"You may need to adjust view relations associated with this table after renaming it": "You may need to adjust view relations associated with this table after renaming it",
|
|
1605
|
+
"Error running workflow": "Error running workflow",
|
|
1606
|
+
"Choose File": "Choose File",
|
|
1607
|
+
"No file chosen": "No file chosen"
|
|
1597
1608
|
}
|
package/locales/es.json
CHANGED
|
@@ -1332,7 +1332,7 @@
|
|
|
1332
1332
|
"width": "ancho",
|
|
1333
1333
|
"height": "altura",
|
|
1334
1334
|
"innerWidth": "innerWidth",
|
|
1335
|
-
"innerHeight": "
|
|
1335
|
+
"innerHeight": "interiorAlto",
|
|
1336
1336
|
"Screen info added": "Información de pantalla agregada",
|
|
1337
1337
|
"Screen info removed": "Información de pantalla eliminada",
|
|
1338
1338
|
"Edit screen info": "Editar información de pantalla",
|
|
@@ -1584,5 +1584,23 @@
|
|
|
1584
1584
|
"Manage tags...": "Administrar etiquetas...",
|
|
1585
1585
|
"Started": "Iniciado",
|
|
1586
1586
|
"Updated": "Actualizado",
|
|
1587
|
-
"Status": "Estado"
|
|
1587
|
+
"Status": "Estado",
|
|
1588
|
+
"Working directory": "Directorio de trabajo",
|
|
1589
|
+
"Row click event": "Evento de clic en fila",
|
|
1590
|
+
"What happens when a row is clicked": "¿Qué sucede cuando se hace clic en una fila?",
|
|
1591
|
+
"Row click action": "Acción de clic en fila",
|
|
1592
|
+
"Run this action when row is clicked": "Ejecutar esta acción cuando se haga clic en la fila.",
|
|
1593
|
+
"Reset password view": "Vista de restablecimiento de contraseña",
|
|
1594
|
+
"A view that will be emailed to users when they have forgotten their password": "Una vista que se enviará por correo electrónico a los usuarios cuando hayan olvidado su contraseña.",
|
|
1595
|
+
"Allow login methods": "Permitir métodos de inicio de sesión",
|
|
1596
|
+
"Inherit configuration values": "Heredar valores de configuración",
|
|
1597
|
+
"Comma-separated list of configuration settings tenants inherit from root. Ex: <code>site_name, smtp_host, allow_signup</code>": "Lista separada por comas de configuraciones que los inquilinos heredan de la raíz. Ej: <code>site_name, smtp_host, allow_signup</code>",
|
|
1598
|
+
"Disable CSRF routes": "Desactivar rutas CSRF",
|
|
1599
|
+
"Comma-separated list of relative URL routes where CSRF token checking is disabled. Example: <code>/files/upload, /auth/signup</code>": "Lista separada por comas de rutas de URL relativas donde la verificación del token CSRF está deshabilitada. Ejemplo: <code>/files/upload, /auth/signup</code>",
|
|
1600
|
+
"Only day": "Solo día",
|
|
1601
|
+
"Language CSV": "CSV de idioma",
|
|
1602
|
+
"Upload language CSV": "Subir CSV de idiomas",
|
|
1603
|
+
"Create an account!": "¡Crear una cuenta!",
|
|
1604
|
+
"Login with %s": "Iniciar sesión con %s",
|
|
1605
|
+
"Already have an account? Login!": "¿Ya tienes una cuenta? ¡Inicia sesión!"
|
|
1588
1606
|
}
|
package/locales/fr.json
CHANGED
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"Version %s restored": "Version %s restorée",
|
|
151
151
|
"Site name": "Nom du site",
|
|
152
152
|
"Site logo": "Logo du site",
|
|
153
|
-
"Type": "
|
|
153
|
+
"Type": "Taper",
|
|
154
154
|
"Text label": "Étiquette de texte",
|
|
155
155
|
"Minimum role": "Rôle minimum",
|
|
156
156
|
"URL": "URL",
|
|
@@ -970,7 +970,7 @@
|
|
|
970
970
|
"Entry point": "Point d'entrée",
|
|
971
971
|
"Platform": "Plateforme",
|
|
972
972
|
"docker": "Docker",
|
|
973
|
-
"android": "
|
|
973
|
+
"android": "Android",
|
|
974
974
|
"iOS": "iOS",
|
|
975
975
|
"App file": "Fichier d'application",
|
|
976
976
|
"Server URL": "URL du serveur",
|
|
@@ -1579,5 +1579,23 @@
|
|
|
1579
1579
|
"Manage tags...": "Gérer les étiquettes...",
|
|
1580
1580
|
"Started": "Commencé",
|
|
1581
1581
|
"Updated": "Mis à jour",
|
|
1582
|
-
"Status": "Statut"
|
|
1582
|
+
"Status": "Statut",
|
|
1583
|
+
"Working directory": "Répertoire de travail",
|
|
1584
|
+
"Row click event": "Événement de clic sur la ligne",
|
|
1585
|
+
"What happens when a row is clicked": "Que se passe-t-il lorsqu'une ligne est cliquée ?",
|
|
1586
|
+
"Row click action": "Action de clic sur une ligne",
|
|
1587
|
+
"Run this action when row is clicked": "Exécuter cette action lorsque la ligne est cliquée.",
|
|
1588
|
+
"Reset password view": "Vue de réinitialisation du mot de passe",
|
|
1589
|
+
"A view that will be emailed to users when they have forgotten their password": "Une vue qui sera envoyée par e-mail aux utilisateurs lorsqu'ils ont oublié leur mot de passe.",
|
|
1590
|
+
"Allow login methods": "Autoriser les méthodes de connexion",
|
|
1591
|
+
"Inherit configuration values": "Hériter des valeurs de configuration",
|
|
1592
|
+
"Comma-separated list of configuration settings tenants inherit from root. Ex: <code>site_name, smtp_host, allow_signup</code>": "Liste séparée par des virgules des paramètres de configuration que les locataires héritent de la racine. Ex : <code>site_name, smtp_host, allow_signup</code>",
|
|
1593
|
+
"Disable CSRF routes": "Désactiver les routes CSRF",
|
|
1594
|
+
"Comma-separated list of relative URL routes where CSRF token checking is disabled. Example: <code>/files/upload, /auth/signup</code>": "Liste de routes URL relatives séparées par des virgules où la vérification du jeton CSRF est désactivée. Exemple : <code>/files/upload, /auth/signup</code>",
|
|
1595
|
+
"Only day": "Seulement le jour",
|
|
1596
|
+
"Language CSV": "Langage CSV",
|
|
1597
|
+
"Upload language CSV": "Télécharger le fichier CSV de langue",
|
|
1598
|
+
"Create an account!": "Créer un compte !",
|
|
1599
|
+
"Login with %s": "Connectez-vous avec %s",
|
|
1600
|
+
"Already have an account? Login!": "Vous avez déjà un compte ? Connectez-vous !"
|
|
1583
1601
|
}
|
package/locales/pl.json
CHANGED
|
@@ -969,7 +969,7 @@
|
|
|
969
969
|
"Diagram": "Diagram",
|
|
970
970
|
"Entry point": "Punkt początkowy",
|
|
971
971
|
"Platform": "Platforma",
|
|
972
|
-
"docker": "
|
|
972
|
+
"docker": "Docker",
|
|
973
973
|
"android": "Android",
|
|
974
974
|
"iOS": "iOS",
|
|
975
975
|
"App file": "Plik aplikacji",
|
|
@@ -1583,12 +1583,22 @@
|
|
|
1583
1583
|
"Started": "Rozpoczęto",
|
|
1584
1584
|
"Updated": "Zaktualizowano",
|
|
1585
1585
|
"Status": "Status",
|
|
1586
|
-
"Working directory": "Katalog roboczy",
|
|
1587
|
-
"Row click event": "Zdarzenie kliknięcia w wiersz",
|
|
1588
|
-
"What happens when a row is clicked": "Co się dzieje po kliknięciu wiersz",
|
|
1589
|
-
"Row click action": "Akcja po kliknięciu wiersza",
|
|
1590
|
-
"Run this action when row is clicked": "Wykonaj tę akcję po kliknięciu wiersza",
|
|
1591
|
-
"Reset password view": "Widok resetowania hasła",
|
|
1592
|
-
"A view that will be emailed to users when they have forgotten their password": "Widok, który zostanie wysłany e-mailem do użytkowników, gdy zapomną hasła",
|
|
1593
|
-
"Allow login methods": "Zezwalaj na metody logowania"
|
|
1586
|
+
"Working directory": "Katalog roboczy",
|
|
1587
|
+
"Row click event": "Zdarzenie kliknięcia w wiersz",
|
|
1588
|
+
"What happens when a row is clicked": "Co się dzieje po kliknięciu wiersz",
|
|
1589
|
+
"Row click action": "Akcja po kliknięciu wiersza",
|
|
1590
|
+
"Run this action when row is clicked": "Wykonaj tę akcję po kliknięciu wiersza",
|
|
1591
|
+
"Reset password view": "Widok resetowania hasła",
|
|
1592
|
+
"A view that will be emailed to users when they have forgotten their password": "Widok, który zostanie wysłany e-mailem do użytkowników, gdy zapomną hasła",
|
|
1593
|
+
"Allow login methods": "Zezwalaj na metody logowania",
|
|
1594
|
+
"Inherit configuration values": "Dziedziczenie wartości konfiguracji",
|
|
1595
|
+
"Comma-separated list of configuration settings tenants inherit from root. Ex: <code>site_name, smtp_host, allow_signup</code>": "Lista ustawień konfiguracyjnych oddzielonych przecinkami, które dzierżawcy dziedziczą z głównego. Przykład: <code>site_name, smtp_host, allow_signup</code>",
|
|
1596
|
+
"Disable CSRF routes": "Wyłącz trasy CSRF",
|
|
1597
|
+
"Comma-separated list of relative URL routes where CSRF token checking is disabled. Example: <code>/files/upload, /auth/signup</code>": "Lista rozdzielona przecinkami względnych tras URL, gdzie sprawdzanie tokena CSRF jest wyłączone. Przykład: <code>/files/upload, /auth/signup</code>",
|
|
1598
|
+
"Only day": "Tylko dzień",
|
|
1599
|
+
"Language CSV": "Język CSV",
|
|
1600
|
+
"Upload language CSV": "Prześlij plik CSV z językiem",
|
|
1601
|
+
"Create an account!": "Utwórz konto!",
|
|
1602
|
+
"Login with %s": "Zaloguj się za pomocą %s",
|
|
1603
|
+
"Already have an account? Login!": "Masz już konto? Zaloguj się!"
|
|
1594
1604
|
}
|
package/locales/pt.json
CHANGED
|
@@ -969,7 +969,7 @@
|
|
|
969
969
|
"Entry point": "Ponto de entrada",
|
|
970
970
|
"Platform": "Plataforma",
|
|
971
971
|
"docker": "docker",
|
|
972
|
-
"android": "
|
|
972
|
+
"android": "Android",
|
|
973
973
|
"iOS": "iOS",
|
|
974
974
|
"App file": "Arquivo de aplicativo",
|
|
975
975
|
"Server URL": "URL do servidor",
|
|
@@ -1579,5 +1579,23 @@
|
|
|
1579
1579
|
"Manage tags...": "Gerenciar etiquetas...",
|
|
1580
1580
|
"Started": "Iniciado",
|
|
1581
1581
|
"Updated": "Atualizado",
|
|
1582
|
-
"Status": "
|
|
1582
|
+
"Status": "Estado",
|
|
1583
|
+
"Working directory": "Diretório de trabalho",
|
|
1584
|
+
"Row click event": "Evento de clique na linha",
|
|
1585
|
+
"What happens when a row is clicked": "O que acontece quando uma linha é clicada?",
|
|
1586
|
+
"Row click action": "Ação de clique na linha",
|
|
1587
|
+
"Run this action when row is clicked": "Execute esta ação quando a linha for clicada.",
|
|
1588
|
+
"Reset password view": "Visualização de redefinição de senha",
|
|
1589
|
+
"A view that will be emailed to users when they have forgotten their password": "Uma visualização que será enviada por email aos usuários quando eles esquecerem sua senha.",
|
|
1590
|
+
"Allow login methods": "Permitir métodos de login",
|
|
1591
|
+
"Inherit configuration values": "Herdar valores de configuração",
|
|
1592
|
+
"Comma-separated list of configuration settings tenants inherit from root. Ex: <code>site_name, smtp_host, allow_signup</code>": "Lista separada por vírgulas de configurações que os inquilinos herdam da raiz. Ex: <code>site_name, smtp_host, allow_signup</code>",
|
|
1593
|
+
"Disable CSRF routes": "Desativar rotas CSRF",
|
|
1594
|
+
"Comma-separated list of relative URL routes where CSRF token checking is disabled. Example: <code>/files/upload, /auth/signup</code>": "Lista separada por vírgulas de rotas de URL relativas onde a verificação do token CSRF está desativada. Exemplo: <code>/files/upload, /auth/signup</code>",
|
|
1595
|
+
"Only day": "Apenas dia",
|
|
1596
|
+
"Language CSV": "CSV de Idiomas",
|
|
1597
|
+
"Upload language CSV": "Carregar CSV de idioma",
|
|
1598
|
+
"Create an account!": "Crie uma conta!",
|
|
1599
|
+
"Login with %s": "Entrar com %s",
|
|
1600
|
+
"Already have an account? Login!": "Já tem uma conta? Faça login!"
|
|
1583
1601
|
}
|
package/markup/admin.js
CHANGED
|
@@ -59,6 +59,33 @@ const restore_backup = (csrf, inner, action = `/admin/restore`) =>
|
|
|
59
59
|
})
|
|
60
60
|
);
|
|
61
61
|
|
|
62
|
+
const upload_language_pack = (req) =>
|
|
63
|
+
form(
|
|
64
|
+
{
|
|
65
|
+
method: "post",
|
|
66
|
+
action: "/site-structure/localizer/upload-language-pack",
|
|
67
|
+
encType: "multipart/form-data",
|
|
68
|
+
},
|
|
69
|
+
input({ type: "hidden", name: "_csrf", value: req.csrfToken() }),
|
|
70
|
+
label(
|
|
71
|
+
{
|
|
72
|
+
class: "btn btn-outline-secondary",
|
|
73
|
+
for: "upload_langpack",
|
|
74
|
+
style: { cursor: "pointer" },
|
|
75
|
+
},
|
|
76
|
+
i({ class: "fas fa-upload me-1" }),
|
|
77
|
+
req.__("Upload language CSV")
|
|
78
|
+
),
|
|
79
|
+
input({
|
|
80
|
+
id: "upload_langpack",
|
|
81
|
+
class: "d-none",
|
|
82
|
+
name: "file",
|
|
83
|
+
type: "file",
|
|
84
|
+
accept: "text/csv",
|
|
85
|
+
onchange: "this.form.submit();",
|
|
86
|
+
})
|
|
87
|
+
);
|
|
88
|
+
|
|
62
89
|
/**
|
|
63
90
|
* Add Edit Bar
|
|
64
91
|
* @param {object} opts
|
|
@@ -648,4 +675,5 @@ module.exports = {
|
|
|
648
675
|
check_if_restart_required,
|
|
649
676
|
flash_restart,
|
|
650
677
|
send_tags_page,
|
|
678
|
+
upload_language_pack,
|
|
651
679
|
};
|
|
@@ -20,7 +20,7 @@ const toJsType = (type) =>
|
|
|
20
20
|
Date: "Date class",
|
|
21
21
|
String: "string",
|
|
22
22
|
Color: "string",
|
|
23
|
-
}[type] || type
|
|
23
|
+
})[type] || type;
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* @param {string} type
|
|
@@ -31,7 +31,9 @@ const toJsType = (type) =>
|
|
|
31
31
|
*/
|
|
32
32
|
const expressionBlurb = (type, stored, table, req) => {
|
|
33
33
|
const allFields = table.fields;
|
|
34
|
-
const fields =
|
|
34
|
+
const fields = stored
|
|
35
|
+
? allFields.filter((f) => !f.stored || f.expression === "__aggregation")
|
|
36
|
+
: allFields.filter((f) => !f.calculated);
|
|
35
37
|
const funs = getState().functions;
|
|
36
38
|
const funNames = Object.entries(funs)
|
|
37
39
|
.filter(([k, v]) => !(!stored && v.isAsync))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saltcorn/server",
|
|
3
|
-
"version": "1.1.4-beta.
|
|
3
|
+
"version": "1.1.4-beta.11",
|
|
4
4
|
"description": "Server app for Saltcorn, open-source no-code platform",
|
|
5
5
|
"homepage": "https://saltcorn.com",
|
|
6
6
|
"main": "index.js",
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@aws-sdk/client-s3": "^3.735.0",
|
|
10
10
|
"@dr.pogodin/csurf": "^1.14.1",
|
|
11
|
-
"@saltcorn/base-plugin": "1.1.4-beta.
|
|
12
|
-
"@saltcorn/builder": "1.1.4-beta.
|
|
13
|
-
"@saltcorn/data": "1.1.4-beta.
|
|
14
|
-
"@saltcorn/admin-models": "1.1.4-beta.
|
|
15
|
-
"@saltcorn/filemanager": "1.1.4-beta.
|
|
16
|
-
"@saltcorn/markup": "1.1.4-beta.
|
|
17
|
-
"@saltcorn/plugins-loader": "1.1.4-beta.
|
|
18
|
-
"@saltcorn/sbadmin2": "1.1.4-beta.
|
|
11
|
+
"@saltcorn/base-plugin": "1.1.4-beta.11",
|
|
12
|
+
"@saltcorn/builder": "1.1.4-beta.11",
|
|
13
|
+
"@saltcorn/data": "1.1.4-beta.11",
|
|
14
|
+
"@saltcorn/admin-models": "1.1.4-beta.11",
|
|
15
|
+
"@saltcorn/filemanager": "1.1.4-beta.11",
|
|
16
|
+
"@saltcorn/markup": "1.1.4-beta.11",
|
|
17
|
+
"@saltcorn/plugins-loader": "1.1.4-beta.11",
|
|
18
|
+
"@saltcorn/sbadmin2": "1.1.4-beta.11",
|
|
19
19
|
"@socket.io/cluster-adapter": "^0.2.1",
|
|
20
20
|
"@socket.io/sticky": "^1.0.1",
|
|
21
21
|
"adm-zip": "0.5.16",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"cookie-session": "^2.1.0",
|
|
28
28
|
"cors": "2.8.5",
|
|
29
29
|
"csv-stringify": "^6.5.2",
|
|
30
|
+
"csvtojson": "^2.0.10",
|
|
30
31
|
"dockerode": "~4.0.4",
|
|
31
32
|
"express": "^5.0.1",
|
|
32
33
|
"express-fileupload": "^1.5.1",
|
|
@@ -252,7 +252,7 @@ function apply_showif() {
|
|
|
252
252
|
decodeURIComponent(e.attr("data-fetch-options"))
|
|
253
253
|
);
|
|
254
254
|
if (window._sc_loglevel > 4) console.log("dynwhere", dynwhere);
|
|
255
|
-
const kvToQs = ([k, v], is_or) => {
|
|
255
|
+
const kvToQs = ([k, v], is_or, no_blanks) => {
|
|
256
256
|
return k === "or" && Array.isArray(v)
|
|
257
257
|
? v
|
|
258
258
|
.map((v1) =>
|
|
@@ -261,9 +261,28 @@ function apply_showif() {
|
|
|
261
261
|
.join("&")
|
|
262
262
|
)
|
|
263
263
|
.join("&")
|
|
264
|
-
:
|
|
265
|
-
|
|
266
|
-
|
|
264
|
+
: k === "not"
|
|
265
|
+
? Object.entries(v)
|
|
266
|
+
.map((kv) => {
|
|
267
|
+
const q = kvToQs(kv, false, true);
|
|
268
|
+
return q ? `_not_${q}` : "";
|
|
269
|
+
})
|
|
270
|
+
.join("&")
|
|
271
|
+
: v[0] === "$" && rec[v.substring(1)] === "" && no_blanks
|
|
272
|
+
? ""
|
|
273
|
+
: typeof v === "object" && v !== null
|
|
274
|
+
? Object.entries(v)
|
|
275
|
+
.map(([k1, v1]) => {
|
|
276
|
+
const q = v1[0] === "$" ? rec[v1.substring(1)] : v1;
|
|
277
|
+
return k1 === "equal" || !q
|
|
278
|
+
? ""
|
|
279
|
+
: `_${k1}${v.equal ? "e" : ""}_${k}=${q}`;
|
|
280
|
+
})
|
|
281
|
+
.filter(Boolean)
|
|
282
|
+
.join("&")
|
|
283
|
+
: `${k}=${v[0] === "$" ? rec[v.substring(1)] : v}${
|
|
284
|
+
is_or ? "&_or_field=" + k : ""
|
|
285
|
+
}`;
|
|
267
286
|
};
|
|
268
287
|
const qss = Object.entries(dynwhere.whereParsed).map((kv) => kvToQs(kv));
|
|
269
288
|
if (dynwhere.existingValue) {
|
|
@@ -717,6 +736,14 @@ function escapeHtml(text) {
|
|
|
717
736
|
});
|
|
718
737
|
}
|
|
719
738
|
|
|
739
|
+
function unescapeHtml(str) {
|
|
740
|
+
if (!str || !str.replace) return str;
|
|
741
|
+
return str
|
|
742
|
+
.replaceAll("<", "<")
|
|
743
|
+
.replaceAll(">", ">")
|
|
744
|
+
.replaceAll("&", "&");
|
|
745
|
+
}
|
|
746
|
+
|
|
720
747
|
function reload_on_init() {
|
|
721
748
|
localStorage.setItem("reload_on_init", true);
|
|
722
749
|
}
|
|
@@ -999,7 +1026,8 @@ function initialize_page() {
|
|
|
999
1026
|
);
|
|
1000
1027
|
}
|
|
1001
1028
|
});
|
|
1002
|
-
$("[data-inline-edit-dest-url]").click(function () {
|
|
1029
|
+
$("[data-inline-edit-dest-url]").click(function (event) {
|
|
1030
|
+
event.stopPropagation();
|
|
1003
1031
|
var url = $(this).attr("data-inline-edit-dest-url");
|
|
1004
1032
|
var current =
|
|
1005
1033
|
$(this).attr("data-inline-edit-current") ||
|
|
@@ -1023,7 +1051,7 @@ function initialize_page() {
|
|
|
1023
1051
|
})
|
|
1024
1052
|
);
|
|
1025
1053
|
$(this).replaceWith(
|
|
1026
|
-
`<form method="post" action="/field/save-click-edit" onsubmit="inline_ajax_submit_with_fielddata(event, '${opts}')"
|
|
1054
|
+
`<form method="post" action="/field/save-click-edit" onclick="event.stopPropagation()" onsubmit="inline_ajax_submit_with_fielddata(event, '${opts}')"
|
|
1027
1055
|
<input type="hidden" name="_csrf" value="${_sc_globalCsrf}">
|
|
1028
1056
|
<input type="hidden" name="_fielddata" value="${fielddata}">
|
|
1029
1057
|
<div class="input-group">
|
|
@@ -1105,7 +1133,8 @@ function initialize_page() {
|
|
|
1105
1133
|
} else if (is_key) {
|
|
1106
1134
|
const [tblName, target] = type.replace("Key:", "").split(".");
|
|
1107
1135
|
doAjaxOptionsFetch(tblName, target);
|
|
1108
|
-
} else
|
|
1136
|
+
} else {
|
|
1137
|
+
const parent = $(this).parent();
|
|
1109
1138
|
$(this).replaceWith(
|
|
1110
1139
|
`<form method="post" action="${url}" ${
|
|
1111
1140
|
ajax
|
|
@@ -1135,17 +1164,18 @@ function initialize_page() {
|
|
|
1135
1164
|
: "any"
|
|
1136
1165
|
}"`
|
|
1137
1166
|
: ""
|
|
1138
|
-
} name="${key}" ${
|
|
1139
|
-
type === "Bool"
|
|
1140
|
-
? current
|
|
1141
|
-
? "checked"
|
|
1142
|
-
: ""
|
|
1143
|
-
: `value="${escapeHtml(current)}"`
|
|
1144
|
-
}>
|
|
1167
|
+
} name="${key}" ${type === "Bool" ? (current ? "checked" : "") : ``}>
|
|
1145
1168
|
<button type="submit" class="btn btn-sm btn-primary">OK</button>
|
|
1146
|
-
<button onclick="cancel_inline_edit(event, '${opts}')" type="button" class="btn btn-sm btn-danger"><i class="fas fa-times"></i></button>
|
|
1169
|
+
<button onclick="cancel_inline_edit(event, '${opts.replaceAll("'", "\\'")}')" type="button" class="btn btn-sm btn-danger"><i class="fas fa-times"></i></button>
|
|
1147
1170
|
</form>`
|
|
1148
1171
|
);
|
|
1172
|
+
if (type !== "Bool") {
|
|
1173
|
+
const newVal = $(this).attr("data-inline-edit-unescape")
|
|
1174
|
+
? unescapeHtml(current)
|
|
1175
|
+
: current;
|
|
1176
|
+
parent.find(`[name="${key}"]`).val(newVal);
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1149
1179
|
});
|
|
1150
1180
|
if (!isNode) {
|
|
1151
1181
|
doMobileTransforms();
|
|
@@ -1294,7 +1324,13 @@ function initialize_page() {
|
|
|
1294
1324
|
});
|
|
1295
1325
|
}
|
|
1296
1326
|
});
|
|
1297
|
-
|
|
1327
|
+
|
|
1328
|
+
$('input[type="file"].file-has-existing').on("change", (e) => {
|
|
1329
|
+
const $elem = $(e.target);
|
|
1330
|
+
$elem.removeClass("file-has-existing");
|
|
1331
|
+
$elem.parent().find("span.file-upload-exising").remove();
|
|
1332
|
+
});
|
|
1333
|
+
} //initialize_page
|
|
1298
1334
|
|
|
1299
1335
|
$(initialize_page);
|
|
1300
1336
|
|
|
@@ -1769,7 +1805,7 @@ async function common_done(res, viewnameOrElem0, isWeb = true) {
|
|
|
1769
1805
|
}
|
|
1770
1806
|
}
|
|
1771
1807
|
|
|
1772
|
-
function editAllowedAuthByRole(id, event) {
|
|
1808
|
+
function editAllowedAuthByRole(id, event) {
|
|
1773
1809
|
ajax_post_json(
|
|
1774
1810
|
`/roleadmin/setrole_allowed_auth_methods/${id}`,
|
|
1775
1811
|
{
|
|
@@ -2238,7 +2274,7 @@ function handle_identical_fields(event) {
|
|
|
2238
2274
|
});
|
|
2239
2275
|
} else if (tagName === "INPUT") {
|
|
2240
2276
|
form.querySelectorAll(`input[name="${name}"]`).forEach((input) => {
|
|
2241
|
-
input.value = newValue;
|
|
2277
|
+
if (input.type !== "file") input.value = newValue;
|
|
2242
2278
|
});
|
|
2243
2279
|
}
|
|
2244
2280
|
}
|
package/public/saltcorn.css
CHANGED
|
@@ -818,5 +818,15 @@ tr:hover span.add-tag {
|
|
|
818
818
|
}
|
|
819
819
|
|
|
820
820
|
#saltcorn-file-manager .filelist tr.selected td {
|
|
821
|
-
background-color: var(
|
|
821
|
+
background-color: var(
|
|
822
|
+
--bs-secondary-bg-subtle,
|
|
823
|
+
var(--tblr-secondary-bg-subtle, gray)
|
|
824
|
+
);
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
input[type="file"].file-has-existing {
|
|
828
|
+
font-size: 0;
|
|
829
|
+
}
|
|
830
|
+
::file-selector-button {
|
|
831
|
+
font-size: initial;
|
|
822
832
|
}
|
package/public/saltcorn.js
CHANGED
|
@@ -215,6 +215,7 @@ function pjax_to(href, e) {
|
|
|
215
215
|
$dest.html(res);
|
|
216
216
|
if (localizer.length) localizer.attr("data-sc-local-state", href);
|
|
217
217
|
initialize_page();
|
|
218
|
+
document.dispatchEvent(new Event("pjax-loaded"));
|
|
218
219
|
},
|
|
219
220
|
error: function (res) {
|
|
220
221
|
if (!checkNetworkError(res))
|
|
@@ -722,9 +723,15 @@ function checkNetworkError(e) {
|
|
|
722
723
|
}
|
|
723
724
|
|
|
724
725
|
function ajax_post_btn(e, reload_on_done, reload_delay) {
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
726
|
+
let form_data = "";
|
|
727
|
+
let url;
|
|
728
|
+
if (typeof e === "string") url = e;
|
|
729
|
+
else if (e) {
|
|
730
|
+
var form = $(e).closest("form");
|
|
731
|
+
url = form.attr("action");
|
|
732
|
+
form_data = form.serialize();
|
|
733
|
+
}
|
|
734
|
+
|
|
728
735
|
$.ajax(url, {
|
|
729
736
|
type: "POST",
|
|
730
737
|
headers: {
|