chore: update Author to Maciej Pienczyn, InPi sp. z o.o. across all files
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f443b2c057
commit
5030b71beb
2
app.py
2
app.py
@ -12,7 +12,7 @@ Features:
|
||||
- PostgreSQL database integration
|
||||
- Analytics dashboard for chat insights
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2025-11-23
|
||||
"""
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ Obsługiwane typy audytów:
|
||||
|
||||
Używa Gemini API (via gemini_service.py) do generowania analiz.
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-02-07
|
||||
"""
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ Multi-layer matching:
|
||||
4. AI Insights tags (industry_tags, services_list from company_ai_insights)
|
||||
5. PKD codes matching
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-03-28
|
||||
"""
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ Competitor Monitoring Service for NordaBiz
|
||||
Discovers and monitors competitors via Google Places API.
|
||||
Tracks changes in ratings, reviews, and profile activity.
|
||||
|
||||
Author: NordaBiz Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-02-06
|
||||
"""
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ Usage:
|
||||
user_context={"user_id": 5, "company_id": 12}
|
||||
)
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-03-28
|
||||
"""
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@ Models:
|
||||
- AIUsageLog, AIUsageDaily, AIRateLimit: AI API usage monitoring
|
||||
- Announcement: Ogłoszenia i aktualności dla członków
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2025-11-23
|
||||
Updated: 2026-01-11 (AI Usage Tracking)
|
||||
"""
|
||||
|
||||
@ -4,7 +4,7 @@ Norda Biznes - Email Service
|
||||
|
||||
Sends emails via SMTP (OVH Zimbra).
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2025-12-25
|
||||
"""
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ Features:
|
||||
- Provides curated seed examples for cold start
|
||||
- Caches learning context for performance
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-01-11
|
||||
"""
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ Features:
|
||||
- UUID-based filenames for security
|
||||
- Date-organized storage structure
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-01-10
|
||||
"""
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ Google Business Profile completeness audit service with:
|
||||
|
||||
Inspired by Localo.com audit features.
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-01-08
|
||||
"""
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ Features:
|
||||
- Cost tracking
|
||||
- Safety settings configuration
|
||||
|
||||
Author: NordaBiz Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Updated: 2026-01-29 (Gemini 3 SDK migration)
|
||||
"""
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ Uses the Places API (New) with field masks for efficient billing.
|
||||
|
||||
API Reference: https://developers.google.com/maps/documentation/places/web-service/op-overview
|
||||
|
||||
Author: NordaBiz Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-02-06
|
||||
"""
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ IT infrastructure audit service with:
|
||||
- Maturity level classification
|
||||
- Cross-company collaboration matching
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-01-09
|
||||
"""
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ Downloads PDF documents from EKRS and extracts complete company data:
|
||||
- Financial reports: filing dates
|
||||
- Representation rules
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-01-13
|
||||
"""
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ Features:
|
||||
- Format memory for injection into AI prompts
|
||||
- CRUD operations for user memory facts
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
"""
|
||||
|
||||
import json
|
||||
|
||||
@ -10,7 +10,7 @@ Builds and maintains a knowledge base for Norda GPT from:
|
||||
PRIVACY: User questions (role='user') are NEVER added to the knowledge base.
|
||||
Only AI responses (role='assistant') containing public company facts are included.
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-01-28
|
||||
"""
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ Features:
|
||||
- Full conversation history tracking
|
||||
- Cost tracking per message
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2025-11-23
|
||||
"""
|
||||
|
||||
|
||||
82
scripts/add_grill_event.py
Normal file
82
scripts/add_grill_event.py
Normal file
@ -0,0 +1,82 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Add Grill Integracyjny event to NordaBiz calendar."""
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), '.env'))
|
||||
|
||||
from datetime import date, time
|
||||
from database import SessionLocal, NordaEvent
|
||||
|
||||
DESCRIPTION = """<p>Szanowni Państwo,<br>
|
||||
z przyjemnością zapraszamy do udziału w <strong>Grillu Integracyjnym Izby Norda</strong>.</p>
|
||||
|
||||
<p>Podczas wydarzenia zapewniamy przestrzeń do swobodnych rozmów, integracji oraz budowania relacji biznesowych w mniej formalnej atmosferze.</p>
|
||||
|
||||
<h3>Na uczestników czekać będzie:</h3>
|
||||
<ul>
|
||||
<li><strong>Strefa gastronomiczna</strong> – grill oraz food truck</li>
|
||||
<li><strong>Obsługa cateringowa</strong> – Restauracja Nadolanka</li>
|
||||
<li><strong>Strzelnica</strong> – opcjonalnie, dodatkowo płatne (250 zł/os.)</li>
|
||||
</ul>
|
||||
|
||||
<h3>Koszt udziału:</h3>
|
||||
<ul>
|
||||
<li><strong>Członkowie Izby</strong> – 140 zł/os. (Izba pokrywa 50% kosztów!)</li>
|
||||
<li><strong>Goście spoza Izby</strong> – 240 zł/os.</li>
|
||||
</ul>
|
||||
|
||||
<p>Serdecznie zapraszamy do udziału wraz z osobami towarzyszącymi oraz gośćmi.</p>
|
||||
|
||||
<h3>Wpłaty:</h3>
|
||||
<p>Przelew na konto Izby: <strong>KBS 69 8350 0004 0000 0111 2000 0010</strong> (tytuł: <em>grill</em>)<br>
|
||||
lub gotówka w biurze Norda (godz. 8:00–14:00).</p>
|
||||
|
||||
<p>Kontakt: Magdalena Klóska, tel: 729-716-400</p>"""
|
||||
|
||||
|
||||
def main():
|
||||
db = SessionLocal()
|
||||
try:
|
||||
# Check if event already exists
|
||||
existing = db.query(NordaEvent).filter(
|
||||
NordaEvent.title.ilike('%grill%integracyjny%'),
|
||||
NordaEvent.event_date == date(2026, 5, 16)
|
||||
).first()
|
||||
|
||||
if existing:
|
||||
print(f"Event already exists: ID={existing.id}, title='{existing.title}'")
|
||||
return
|
||||
|
||||
event = NordaEvent(
|
||||
title='Grill Integracyjny Izby Norda',
|
||||
description=DESCRIPTION,
|
||||
event_date=date(2026, 5, 16),
|
||||
time_start=time(14, 0),
|
||||
event_type='networking',
|
||||
access_level='public',
|
||||
location='Kurkowe Bractwo Strzeleckie, ul. Strzelecka 9, Wejherowo',
|
||||
location_url='https://maps.app.goo.gl/QFbNxBpDfnYvxZYx7',
|
||||
is_featured=True,
|
||||
created_by=1, # admin
|
||||
source='manual',
|
||||
organizer_name='Norda Biznes',
|
||||
organizer_email='biuro@norda-biznes.info',
|
||||
)
|
||||
|
||||
db.add(event)
|
||||
db.commit()
|
||||
print(f"Event created: ID={event.id}, title='{event.title}', date={event.event_date}")
|
||||
except Exception as e:
|
||||
db.rollback()
|
||||
print(f"Error: {e}")
|
||||
sys.exit(1)
|
||||
finally:
|
||||
db.close()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
@ -14,7 +14,7 @@ Usage:
|
||||
Cron entry (weekly, Sunday 3 AM):
|
||||
0 3 * * 0 cd /var/www/nordabiznes && /var/www/nordabiznes/venv/bin/python3 scripts/competitor_monitor_cron.py >> /var/log/nordabiznes/competitor_monitor.log 2>&1
|
||||
|
||||
Author: NordaBiz Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-02-06
|
||||
"""
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ Usage:
|
||||
python generate_audit_report.py --all
|
||||
python generate_audit_report.py --company-id 26 --type social
|
||||
|
||||
Author: NordaBiz Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-02-06
|
||||
"""
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ Usage:
|
||||
client = GooglePageSpeedClient()
|
||||
result = client.analyze_url('https://example.com')
|
||||
|
||||
Author: Claude Code
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Date: 2026-01-08
|
||||
"""
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@ Usage:
|
||||
checker = TechnicalSEOChecker()
|
||||
tech_result = checker.check_url('https://example.com')
|
||||
|
||||
Author: Claude Code
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Date: 2026-01-08
|
||||
"""
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@ Exit codes:
|
||||
4 - Database connection error
|
||||
5 - API quota exceeded
|
||||
|
||||
Author: Claude Code
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Date: 2026-01-08
|
||||
"""
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ Output:
|
||||
- HTML: Styled, standalone reports suitable for viewing in browsers
|
||||
- JSON: Machine-readable exports for integration with other tools
|
||||
|
||||
Author: Claude Code
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Date: 2026-01-08
|
||||
"""
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ Simulates conversations with different Gemini models for comparison.
|
||||
Usage:
|
||||
python scripts/simulate_model_comparison.py
|
||||
|
||||
Author: NordaBiz Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-01-29
|
||||
"""
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ Usage:
|
||||
python social_media_audit.py --batch 1-10
|
||||
python social_media_audit.py --all
|
||||
|
||||
Author: Claude Code
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Date: 2025-12-29
|
||||
"""
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@ Requirements:
|
||||
- PostgreSQL DEV database running on localhost:5433
|
||||
- IT audit tables created (run migration first)
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-01-09
|
||||
"""
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@ Exit codes:
|
||||
4 - Błąd bazy danych
|
||||
5 - Błąd API Gemini
|
||||
|
||||
Author: Claude Code
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Date: 2026-02-01
|
||||
"""
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ Security utilities for NordaBiz platform:
|
||||
- GeoIP blocking (block high-risk countries: RU, CN, KP, IR, BY, SY, VE, CU)
|
||||
- 2FA (TOTP) helpers
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-01-14
|
||||
"""
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ Detected data types:
|
||||
- Passwords (contextual detection)
|
||||
- Phone numbers (optional)
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-01-28
|
||||
"""
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ Features:
|
||||
- Date-organized storage structure
|
||||
- Protected storage outside webroot
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-02-03
|
||||
"""
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ Classifies query complexity and decides which data categories to load
|
||||
and which AI model to use. Provides fast keyword-based routing with
|
||||
AI-powered fallback when keyword matching is uncertain.
|
||||
|
||||
Author: NordaBiz Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-03-28
|
||||
"""
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ Test cases:
|
||||
5. Collective purchasing matching (similar size)
|
||||
6. Knowledge sharing matching (similar tech stack)
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-01-09
|
||||
"""
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ Run tests:
|
||||
cd tests
|
||||
python -m pytest test_seo_audit.py -v
|
||||
|
||||
Author: Claude Code
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Date: 2026-01-08
|
||||
"""
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ Run tests:
|
||||
cd tests
|
||||
python -m pytest test_social_media_audit.py -v
|
||||
|
||||
Author: Claude Code
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Date: 2026-01-08
|
||||
"""
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ with guest token authentication. No paid API key required.
|
||||
Note: This uses Twitter's internal API with guest tokens.
|
||||
Rate limits apply (~50 requests per 15 minutes per IP).
|
||||
|
||||
Author: NordaBiz Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-03-12
|
||||
"""
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ Verify ALL Companies Data - 100% Accuracy Check
|
||||
Porównuje dane w bazie z https://norda-biznes.info dla KAŻDEJ firmy.
|
||||
Identyfikuje rozbieżności i generuje raport korekt.
|
||||
|
||||
Author: Norda Biznes Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2025-11-24
|
||||
"""
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ Uses the YouTube Data API v3 with the same Google API key as Places API.
|
||||
|
||||
API Reference: https://developers.google.com/youtube/v3/docs/channels
|
||||
|
||||
Author: NordaBiz Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-02-08
|
||||
"""
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ Cross-verification:
|
||||
- 2 sources → pending with higher confidence
|
||||
- 3+ sources → auto_approved (verified automatically)
|
||||
|
||||
Author: NordaBiz Development Team
|
||||
Author: Maciej Pienczyn, InPi sp. z o.o.
|
||||
Created: 2026-01-11
|
||||
"""
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user