lincense initial commit
This commit is contained in:
25
LICENSE
25
LICENSE
@@ -2,14 +2,14 @@ PROPRIETARY SOFTWARE LICENSE AGREEMENT
|
||||
|
||||
Copyright (c) 2025 Michael Chus. All Rights Reserved.
|
||||
|
||||
NOTICE: This software and all associated documentation, source code, and
|
||||
compiled binaries ("Software") are the exclusive property of Michael Chus
|
||||
("Company").
|
||||
NOTICE: This software and all associated documentation, source code, and
|
||||
compiled binaries ("Software") are the exclusive property of Michael Chus
|
||||
("Licensor").
|
||||
|
||||
1. GRANT OF LICENSE
|
||||
|
||||
This Software is licensed, not sold. Subject to the terms of this Agreement,
|
||||
Company grants you a limited, non-exclusive, non-transferable license to use
|
||||
Licensor grants you a limited, non-exclusive, non-transferable license to use
|
||||
the Software solely for internal business purposes within your organization.
|
||||
|
||||
2. RESTRICTIONS
|
||||
@@ -27,12 +27,12 @@ compiled binaries ("Software") are the exclusive property of Michael Chus
|
||||
d) Use the Software for any purpose other than as expressly permitted herein;
|
||||
|
||||
e) Use the Software to provide services to third parties (SaaS, hosting, etc.)
|
||||
without prior written consent from Company.
|
||||
without prior written consent from Licensor.
|
||||
|
||||
3. INTELLECTUAL PROPERTY
|
||||
|
||||
The Software, including all copies, modifications, and derivative works, is
|
||||
and shall remain the exclusive property of Company. This Agreement does not
|
||||
and shall remain the exclusive property of Licensor. This Agreement does not
|
||||
grant you any rights to patents, copyrights, trade secrets, trade names,
|
||||
trademarks, or any other rights in respect to the Software.
|
||||
|
||||
@@ -40,11 +40,11 @@ compiled binaries ("Software") are the exclusive property of Michael Chus
|
||||
|
||||
You agree to maintain the confidentiality of the Software and not to disclose
|
||||
any part of the Software, including source code, algorithms, or documentation,
|
||||
to any third party without prior written consent from Company.
|
||||
to any third party without prior written consent from Licensor.
|
||||
|
||||
5. TERM AND TERMINATION
|
||||
|
||||
This license is effective until terminated. Company may terminate this license
|
||||
This license is effective until terminated. Licensor may terminate this license
|
||||
at any time if you fail to comply with any term of this Agreement. Upon
|
||||
termination, you must destroy all copies of the Software in your possession.
|
||||
|
||||
@@ -52,12 +52,12 @@ compiled binaries ("Software") are the exclusive property of Michael Chus
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. COMPANY DOES NOT
|
||||
FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. LICENSOR DOES NOT
|
||||
WARRANT THAT THE SOFTWARE WILL BE ERROR-FREE OR UNINTERRUPTED.
|
||||
|
||||
7. LIMITATION OF LIABILITY
|
||||
|
||||
IN NO EVENT SHALL COMPANY BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
|
||||
IN NO EVENT SHALL LICENSOR BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, LOSS OF
|
||||
PROFITS, DATA, OR BUSINESS INTERRUPTION) ARISING OUT OF OR IN CONNECTION
|
||||
WITH THIS AGREEMENT OR THE USE OF THE SOFTWARE.
|
||||
@@ -65,7 +65,7 @@ compiled binaries ("Software") are the exclusive property of Michael Chus
|
||||
8. GOVERNING LAW
|
||||
|
||||
This Agreement shall be governed by and construed in accordance with the laws
|
||||
of [Your Jurisdiction], without regard to its conflict of laws principles.
|
||||
of the United States of America, without regard to conflict of laws principles.
|
||||
|
||||
9. ENTIRE AGREEMENT
|
||||
|
||||
@@ -78,8 +78,7 @@ compiled binaries ("Software") are the exclusive property of Michael Chus
|
||||
For licensing inquiries, please contact:
|
||||
|
||||
Michael Chus
|
||||
Email: legal@your-company.com
|
||||
Address: [Your Company Address]
|
||||
Email: mike@mchus.pro
|
||||
|
||||
By using this Software, you acknowledge that you have read this Agreement,
|
||||
understand it, and agree to be bound by its terms and conditions.
|
||||
|
||||
BIN
bin/pfs-darwin-amd64
Executable file
BIN
bin/pfs-darwin-amd64
Executable file
Binary file not shown.
BIN
bin/pfs-darwin-arm64
Executable file
BIN
bin/pfs-darwin-arm64
Executable file
Binary file not shown.
BIN
bin/pfs-linux-amd64
Executable file
BIN
bin/pfs-linux-amd64
Executable file
Binary file not shown.
58
config.yaml
Normal file
58
config.yaml
Normal file
@@ -0,0 +1,58 @@
|
||||
# QuoteForge Configuration
|
||||
# Copy this file to config.yaml and update values
|
||||
|
||||
server:
|
||||
host: "0.0.0.0"
|
||||
port: 8084
|
||||
mode: "release" # debug | release
|
||||
read_timeout: "30s"
|
||||
write_timeout: "30s"
|
||||
|
||||
database:
|
||||
host: "172.16.2.252"
|
||||
port: 3306
|
||||
name: "RFQ_LOG"
|
||||
user: "mchus"
|
||||
password: "Q#mcd5vb71"
|
||||
max_open_conns: 25
|
||||
max_idle_conns: 5
|
||||
conn_max_lifetime: "5m"
|
||||
|
||||
auth:
|
||||
jwt_secret: "CHANGE_ME_MIN_32_CHARACTERS_LONG"
|
||||
token_expiry: "24h"
|
||||
refresh_expiry: "168h" # 7 days
|
||||
|
||||
pricing:
|
||||
default_method: "weighted_median" # median | average | weighted_median
|
||||
default_period_days: 90
|
||||
freshness_green_days: 30
|
||||
freshness_yellow_days: 60
|
||||
freshness_red_days: 90
|
||||
min_quotes_for_median: 3
|
||||
popularity_decay_days: 180
|
||||
|
||||
export:
|
||||
temp_dir: "/tmp/quoteforge-exports"
|
||||
max_file_age: "1h"
|
||||
company_name: "Your Company Name"
|
||||
|
||||
alerts:
|
||||
enabled: true
|
||||
check_interval: "1h"
|
||||
high_demand_threshold: 5 # КП за 30 дней
|
||||
trending_threshold_percent: 50 # % роста для алерта
|
||||
|
||||
notifications:
|
||||
email_enabled: false
|
||||
smtp_host: "smtp.example.com"
|
||||
smtp_port: 587
|
||||
smtp_user: ""
|
||||
smtp_password: ""
|
||||
from_address: "quoteforge@example.com"
|
||||
|
||||
logging:
|
||||
level: "info" # debug | info | warn | error
|
||||
format: "json" # json | text
|
||||
output: "stdout" # stdout | file
|
||||
file_path: "/var/log/quoteforge/app.log"
|
||||
BIN
data/settings.db
Normal file
BIN
data/settings.db
Normal file
Binary file not shown.
Reference in New Issue
Block a user