IGNY8 VPS (Salman)
bc1db75598
Complete remote commits integration - Final summary
...
Integration of all 9 remote commits completed successfully:
✅ Phase A: Non-conflicting features (frontend cleanup, bulk actions, modules, captions)
✅ Phase C: GlobalModuleSettings with platform-wide module toggles
✅ Phase D: Token analytics reports with Chart.js visualizations
✅ Phase E: AIEngine token extraction (auto-benefits all 6 services)
✅ Phase F: Admin organization (12 logical groups, 60+ models)
✅ Phase G: Historical data backfill (250 logs with accurate costs)
⏭️ Phase B: GlobalIntegrationSettings (optional - skipped as per-account settings sufficient)
Results:
- 7 AIModelConfig models configured
- 250 historical logs backfilled
- Token tracking: 100% operational
- Cost calculations: /bin/bash.000351 - /bin/bash.001876 per operation
- Admin UI: properly organized with 12 groups
- Reports: accessible with interactive visualizations
Architecture:
- Database-driven model pricing (AIModelConfig)
- 4-level model selection priority
- Granular cost tracking (input/output/total)
- Automatic token extraction via AIEngine
- Comprehensive analytics and reporting
See REMOTE-INTEGRATION-COMPLETE.md for full details.
2025-12-23 07:43:11 +00:00
IGNY8 VPS (Salman)
169db8983b
Add backfill command for model_config FK and costs
...
- Backfills model_config FK from model_name in CreditUsageLog
- Calculates cost_usd_input/output/total from tokens and model pricing
- Processes in configurable batches (default 500)
- Includes dry-run mode for safety
- Successfully backfilled 250 historical logs
- Enables full token analytics on historical data
2025-12-23 07:40:55 +00:00
IGNY8 VPS (Salman)
d402a135ae
Add Chart.js visualization templates for token reports
...
- Copy token_usage.html from remote commit e041cb8e
- Copy ai_cost_analysis.html from remote commit e041cb8e
- Provides interactive visualizations for token analytics
- Charts show: usage trends, cost breakdowns, model comparisons
- Completes Phase D token analytics implementation
2025-12-23 07:32:49 +00:00
IGNY8 VPS (Salman)
6971d416c3
Apply proper admin organization from remote commit 3283a83b
...
- Replace custom_groups with 12 logical groups from remote config
- Accounts & Tenancy: Account, User, Site, Sector, SiteUserAccess
- Global Resources: Industry, IndustrySector, SeedKeyword
- Plans and Billing: Plan, Subscription, Invoice, Payment, CreditPackage, etc
- Credits: AIModelConfig, CreditTransaction, CreditUsageLog, CreditCostConfig, PlanLimitUsage
- Content Planning: Keywords, Clusters, ContentIdeas
- Content Generation: Tasks, Content, Images
- Taxonomy & Organization: ContentTaxonomy, ContentTaxonomyRelation, etc
- Publishing & Integration: SiteIntegration, SyncEvent, PublishingRecord, etc
- AI & Automation: IntegrationSettings, GlobalModuleSettings, AIPrompt, Strategy, etc
- System Settings: ContentType, ContentTemplate, TaxonomyConfig, etc
- Django Admin: Group, Permission, PasswordResetToken, Session
- Tasks & Logging: AITaskLog, AuditLog, LogEntry, TaskResult, GroupResult
Properly organizes 60+ models in admin sidebar for better usability
2025-12-23 07:23:56 +00:00
IGNY8 VPS (Salman)
022a4ce537
Register GlobalModuleSettings in admin
2025-12-23 07:17:38 +00:00
IGNY8 VPS (Salman)
ca6af145ba
Phase 3: Add token analytics reports (adapted for AIModelConfig)
2025-12-23 07:09:05 +00:00
IGNY8 VPS (Salman)
01a42b1549
Phase 2.2: Update AIEngine for token-based billing + GlobalModuleSettings
2025-12-23 07:03:35 +00:00
IGNY8 VPS (Salman)
12c82e78f9
Apply 7a1e952a (partial): Add caption field to Images model
2025-12-23 06:50:52 +00:00
IGNY8 VPS (Salman)
029c30ae70
Apply 646095da: Module settings UI fixes with moduleStore
2025-12-23 06:49:38 +00:00
IGNY8 VPS (Salman)
162947f3cc
Apply ab0d6469: Add admin bulk actions across all models
2025-12-23 06:49:00 +00:00
IGNY8 VPS (Salman)
eaf4189fa4
Apply eb6cba79: Frontend cleanup - remove 43 unused admin/UI pages
2025-12-23 06:47:08 +00:00
IGNY8 VPS (Salman)
d768ed71d4
New Model & tokens/credits updates
2025-12-23 06:26:15 +00:00
IGNY8 VPS (Salman)
1d4825ad77
refactor: Fix AI billing system - revert to commit #10 + fixes
...
- Reverted to commit #10 (98e68f6 ) for stable AI function base
- Fixed database migrations: removed 0018-0019 that broke schema
- Fixed CreditCostConfig schema: restored credits_cost, unit fields
- Fixed historical table schema for django-simple-history
- Added debug system (staged for future use)
Changes:
- CreditCostConfig: Updated OPERATION_TYPE_CHOICES (10 ops, no duplicates)
- CreditUsageLog: Updated choices with legacy aliases marked
- Migration 0018_update_operation_choices: Applied successfully
- All AI operations working (clustering, ideas, content, optimization, etc.)
Test Results:
✓ CreditCostConfig save/load working
✓ Credit check passing for all operations
✓ AICore initialization successful
✓ AIEngine operation mapping functional
✓ Admin panel accessible without 500 errors
Future: AI-MODEL-COST-REFACTOR-PLAN.md created for token-based system
2025-12-23 05:21:52 +00:00
IGNY8 VPS (Salman)
98e68f6bd8
max-images in progress modal
2025-12-17 14:34:57 +00:00
IGNY8 VPS (Salman)
71fe687681
image max count
2025-12-17 13:06:42 +00:00
IGNY8 VPS (Salman)
1993d45f32
12
2025-12-17 12:54:12 +00:00
IGNY8 VPS (Salman)
8c1d933647
max iamges
2025-12-17 12:35:43 +00:00
IGNY8 VPS (Salman)
62e55389f9
Add support for GPT-5.1 and GPT-5.2: update token limits and pricing
2025-12-17 11:11:11 +00:00
IGNY8 VPS (Salman)
e43f8553b6
ai repsosne timeout increased to 180s
2025-12-17 08:12:10 +00:00
IGNY8 VPS (Salman)
7ad06c6227
Refactor keyword handling: Replace 'intent' with 'country' across backend and frontend
...
- Updated AutomationService to include estimated_word_count.
- Increased stage_1_batch_size from 20 to 50 in AutomationViewSet.
- Changed Keywords model to replace 'intent' property with 'country'.
- Adjusted ClusteringService to allow a maximum of 50 keywords for clustering.
- Modified admin and management commands to remove 'intent' and use 'country' instead.
- Updated serializers to reflect the change from 'intent' to 'country'.
- Adjusted views and filters to use 'country' instead of 'intent'.
- Updated frontend forms, filters, and pages to replace 'intent' with 'country'.
- Added migration to remove 'intent' field and add 'country' field to SeedKeyword model.
2025-12-17 07:37:36 +00:00
IGNY8 VPS (Salman)
9f826c92f8
fixes for idea render and other
2025-12-17 05:58:13 +00:00
IGNY8 VPS (Salman)
4bba5a9a1f
fixes
2025-12-17 04:55:49 +00:00
IGNY8 VPS (Salman)
45d9dfa0f5
token limit inlegacy file
2025-12-17 01:34:02 +00:00
IGNY8 VPS (Salman)
9656643f0f
fixes of ai toke limit standrd 8192
2025-12-17 00:36:18 +00:00
IGNY8 VPS (Salman)
69c0fd8b69
reorg
2025-12-17 00:27:53 +00:00
IGNY8 VPS (Salman)
8f97666522
testign promtps
2025-12-17 00:09:07 +00:00
IGNY8 VPS (Salman)
84fd4bc11a
final logout related fixes and cookies and session
2025-12-16 19:16:50 +00:00
IGNY8 VPS (Salman)
1887f2a665
logout issues # 2
2025-12-15 17:22:50 +00:00
IGNY8 VPS (Salman)
5366cc1805
logo out issues fixes
2025-12-15 16:08:47 +00:00
alorig
25f1c32366
Revert "messy logout fixing"
...
This reverts commit 4fb3a144d7 .
2025-12-15 17:24:07 +05:00
IGNY8 VPS (Salman)
4fb3a144d7
messy logout fixing
2025-12-15 12:01:41 +00:00
IGNY8 VPS (Salman)
06e5f252a4
column visibility fixed in this
2025-12-15 10:44:22 +00:00
IGNY8 VPS (Salman)
7fb2a9309e
asdasdsa
2025-12-15 10:31:20 +00:00
IGNY8 VPS (Salman)
1ef4bb7db6
test: add comments to test webhook
2025-12-15 07:57:22 +00:00
IGNY8 VPS (Salman)
558ce9250a
1
2025-12-15 07:55:55 +00:00
IGNY8 VPS (Salman)
f8c6dfe889
disable webhook container restart
2025-12-15 07:53:00 +00:00
IGNY8 VPS (Salman)
41551f2edc
dewrer
2025-12-15 07:21:58 +00:00
IGNY8 VPS (Salman)
1924c8fdbe
test: verify container restart fix
2025-12-15 07:18:54 +00:00
IGNY8 VPS (Salman)
68942410ae
only restart issue and logout issue debugging added
2025-12-15 07:14:06 +00:00
IGNY8 VPS (Salman)
9ec87ed932
sdasd
2025-12-15 06:54:06 +00:00
IGNY8 VPS (Salman)
c61cf7c39f
metrics adn insihigts
2025-12-15 06:51:14 +00:00
IGNY8 VPS (Salman)
cff00f87ff
UX METRICS
2025-12-15 04:13:44 +00:00
IGNY8 VPS (Salman)
c23698f7f8
asdsad
2025-12-15 03:30:32 +00:00
IGNY8 VPS (Salman)
8162b6ae92
sadas
2025-12-15 03:15:31 +00:00
IGNY8 VPS (Salman)
d9dbb1e4b8
DOCS
2025-12-15 03:04:06 +00:00
IGNY8 VPS (Salman)
125489df0f
django admin improvement complete
2025-12-15 01:38:41 +00:00
IGNY8 VPS (Salman)
cda56f15ba
django phase 3 and 4
2025-12-15 00:08:18 +00:00
IGNY8 VPS (Salman)
aa48a55504
sideabar fixed in dhjanog
2025-12-14 23:43:10 +00:00
IGNY8 VPS (Salman)
78f71558ed
dsffdsdsf
2025-12-14 22:49:24 +00:00
IGNY8 VPS (Salman)
f637f700eb
sadasda
2025-12-14 22:21:17 +00:00