first commit

This commit is contained in:
2025-03-12 17:06:23 +01:00
commit 2241f7131f
13185 changed files with 1692479 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
/**
* SOTESHOP/stMailPlugin
*
* Ten plik należy do aplikacji stMailPlugin opartej na licencji (Professional License SOTE).
* Nie zmieniaj tego pliku, jeśli chcesz korzystać z automatycznych aktualizacji oprogramowania.
* Jeśli chcesz wprowadzać swoje modyfikacje do programu, zapoznaj się z dokumentacją, jak zmieniać
* oprogramowanie bez zmiany kodu bazowego http://www.sote.pl/modifications
*
* @package stMailPlugin
* @subpackage configs
* @copyright SOTE (www.sote.pl)
* @license http://www.sote.pl/license/sote (Professional License SOTE)
* @version $Id: config.php 12185 2011-04-13 11:31:16Z marcin $
* @author Michal Prochowski <michal.prochowski@sote.pl>
*/
/**
* Włączanie modułów
*/
stPluginHelper::addEnableModule('stMailAccountBackend', 'backend');
stPluginHelper::addEnableModule('stMailSmtpProfileBackend', 'backend');
/**
* Dodanie routingu
*/
stPluginHelper::addRouting('stMailPlugin','/mail_account/:action/*','stMailAccountBackend', null,'backend');
stPluginHelper::addRouting('stMailPluginDefault','/mail_account/list','stMailAccountBackend', 'list', 'backend');

View File

@@ -0,0 +1,99 @@
---
propel:
_attributes:
defaultIdMethod: native
package: plugins.stMailPlugin.lib.model
st_mail_smtp_profile:
_attributes:
phpName: MailSmtpProfile
created_at:
type: timestamp
updated_at:
type: timestamp
id:
type: INTEGER
primaryKey: true
required: true
autoIncrement: true
name:
type: VARCHAR
size: 255
required: true
host:
type: VARCHAR
size: 255
required: true
port:
type: INTEGER
required: true
default: 25
enc_type:
type: VARCHAR
size: 7
st_mail_account:
_attributes:
phpName: MailAccount
created_at:
type: timestamp
updated_at:
type: timestamp
id:
type: INTEGER
primaryKey: true
required: true
autoIncrement: true
mail_smtp_profile_id:
type: INTEGER
required: true
foreignTable: st_mail_smtp_profile
foreignReference: id
onDelete: restrict
version:
type: INTEGER
default: 1
username:
type: VARCHAR
size: 255
required: true
password:
type: VARCHAR
size: 1024
email:
type: VARCHAR
size: 255
required: true
is_default:
type: BOOLEAN
default: false
is_newsletter:
type: BOOLEAN
default: false
name:
type: VARCHAR
size: 255
crypt:
type: INTEGER
default: 0
st_mail_description:
_attributes:
phpName: MailDescription
created_at:
type: timestamp
updated_at:
type: timestamp
id:
type: INTEGER
primaryKey: true
required: true
autoIncrement: true
system_name:
type: VARCHAR
size: 255
opt_name:
type: VARCHAR
size: 255
opt_description:
type: LONGVARCHAR
is_active:
type: BOOLEAN
default: 0

View File

@@ -0,0 +1,29 @@
propel:
st_mail_description:
_attributes:
phpName: MailDescription
isI18N: true
i18nTable: st_mail_description_i18n
opt_description: {change_column: description}
opt_name: {change_column: name}
st_mail_description_i18n:
_attributes:
phpName: MailDescriptionI18n
id:
type: integer
required: true
primaryKey: true
foreignTable: st_mail_description
foreignReference: id
onDelete: cascade
culture:
isCulture: true
primaryKey: true
type: VARCHAR
size: 7
description:
type: LONGVARCHAR
name:
type: VARCHAR
size: 255