Skip to content

Commit 5a2e943

Browse files
author
CalorieApp Maintainer
committed
feat: comprehensive project backup - UX improvements, new features, legal hardening
COMPREHENSIVE BACKUP COMMIT - November 18, 2025 This commit secures all completed work and establishes legal/privacy protections for the CalorieApp project as we prepare for public release. ═══════════════════════════════════════════════════════════════════════════════ 🎨 UX/UI IMPROVEMENTS (24 screens updated) ═══════════════════════════════════════════════════════════════════════════════ ✅ Text Overflow Fixes - Applied `text_size: self.width, None` to all MDLabels across 24 KV files - Fixed wrapping on intro, wallet, onboarding, and transaction screens - Responsive text sizing for all screen sizes ✅ Layout Consistency - Standardized spacing and sizing across all screens - Improved back button placement and sizing - Enhanced visual hierarchy in complex screens (DEX, NFT, Settings) ✅ New Screens Added - BarcodeScanScreen + camera_scan_screen.kv (food scanning) - CameraScanScreen (QR code wallet integration) - Web3BrowserScreen + webview_screen.kv (future dApp support) ✅ Enhanced Screens - WalletScreen: Improved balance display and transaction history - MnemonicVerifyScreen: Better word selection UX - Settings: Added new feature toggles and pro account options ═══════════════════════════════════════════════════════════════════════════════ 🔧 NEW FEATURES & UTILITIES (26 new files) ═══════════════════════════════════════════════════════════════════════════════ 🔐 Security Enhancements - clipboard_utils.py: Auto-clear clipboard after 30s (security) - caloriedb_encryption.py: Database encryption layer - Enhanced password fields with proper masking 📊 CalorieDB System (Decentralized Food Database) - caloriedb.py, caloriedb_manager.py, caloriedb_config.py - calorie_linking.py: Link food data to XRPL - xrpl_caloriedb_sync.py: Sync mechanism - decentralized/: BigchainDB, IPFS integration (future) 🍕 FoodRepo Integration - foodrepo_client.py, foodrepo_integration.py - Open food database connectivity 💎 Pro Account System - pro_account.py, pro_issuer.py - Premium features framework 🔗 Wallet Connect (Future) - wallet_connect/connector.py - wallet_connect/xaman_connector.py - Cross-wallet integration groundwork ⚡ Performance Optimizations - performance/: data_cache, debouncer, resource_guard - Enhanced resource management 🎯 UX Enhancements - accessibility.py: Screen reader support framework - responsive.py: Adaptive layouts - enhanced_dialogs.py: Better user feedback - ui_feedback.py: Visual feedback system ═══════════════════════════════════════════════════════════════════════════════ 📚 DOCUMENTATION & LEGAL HARDENING ═══════════════════════════════════════════════════════════════════════════════ ✅ Legal Protection - TRADEMARK.md: Official CalorieToken® usage guidelines (EUIPO registered) - LICENSE: Enhanced with trademark notices - .gitignore: Updated to protect competitive implementation details ✅ Project Documentation - CHANGELOG.md: Full version history ([1.0.0], [1.1.0], [1.1.1]) - OFFICIAL_PROJECT_DOCS.md: Public-safe documentation index - STATUS_UPDATE_2025-11-18.md: Public progress snapshot - ITERATIONS_6_7_8_9_COMPLETE.md: Development milestone tracker ✅ UX Tour System - UX_TOUR_GUIDE.md: Interactive app tour documentation (updated) - UX_TOUR_V2_UPDATES.md: Latest tour improvements - UX_TOUR_QUICK_REF.md: Quick reference for developers - scripts/ux_tour.py: Tour automation script (updated) ✅ Social Media Automation - tools/generate_social_posts.ps1: Platform-specific post generator - tools/copy_social_post.ps1: Clipboard helper - tools/README_SOCIAL_TOOLS.md: Complete workflow guide - docs/posts/: All platform posts + visual concepts - Platform-specific text files (Twitter, Telegram, Discord, LinkedIn, etc.) - VISUAL_CONCEPTS_2025-11-18.md: Design specs + AI prompts - POSTING_GUIDE_WITH_VISUALS.md: Integrated workflow ✅ GitHub Enhancements - .github/FUNDING.yml: XRPL donation support ═══════════════════════════════════════════════════════════════════════════════ 🔄 CONFIGURATION UPDATES ═══════════════════════════════════════════════════════════════════════════════ - pyproject.toml: Updated metadata and CalorieToken branding - setup.py: Enhanced with official URLs and descriptions - requirements.txt: Dependencies for new features - README.md: Privacy-protected links, official docs index - docs/README.md: Public-safe documentation index ═══════════════════════════════════════════════════════════════════════════════ 🗂️ DATA FILES ═══════════════════════════════════════════════════════════════════════════════ - config/test_accounts.json: Test account configurations - data/calorie_links.json: Food-to-token linking data ═══════════════════════════════════════════════════════════════════════════════ 📊 FILES CHANGED SUMMARY ═══════════════════════════════════════════════════════════════════════════════ Modified (M): 51 files (screens, KV files, configs) Added (A): 66 files (utilities, docs, tools, screens) Total: 117 files changed Modified Breakdown: - 24 KV files (UI layouts) - 15 Python screen files - 5 config files - 4 documentation files - 3 core app files Added Breakdown: - 26 utility Python files - 20 documentation files - 7 social media post files - 5 PowerShell automation tools - 4 new screen files (Barcode, Camera, Web3, WebView) - 4 KV layout files ═══════════════════════════════════════════════════════════════════════════════ 🔒 PRIVACY & SECURITY NOTES ═══════════════════════════════════════════════════════════════════════════════ EXCLUDED from this commit (via .gitignore): - Test outputs and debugging artifacts - Internal status/analysis documents - Competitive implementation architecture docs - Unfinished feature roadmaps - Development helper scripts REASON: Protect competitive advantage and avoid revealing incomplete features that could be copied before launch. ═══════════════════════════════════════════════════════════════════════════════ 🎯 COMMIT PURPOSE ═══════════════════════════════════════════════════════════════════════════════ 1. **Legal Protection**: Secure trademark and license status 2. **Complete Backup**: Preserve all working code and features 3. **Public Readiness**: Establish public-safe documentation 4. **Community Engagement**: Enable social media announcements ═══════════════════════════════════════════════════════════════════════════════ 🚀 NEXT STEPS ═══════════════════════════════════════════════════════════════════════════════ - Generate social media visuals using VISUAL_CONCEPTS_2025-11-18.md - Post announcements across platforms using tools/copy_social_post.ps1 - Continue UX testing and refinement - Prepare for beta release ═══════════════════════════════════════════════════════════════════════════════ [date: 2025-11-18] [version: 1.1.1] [branch: chore/repo-hardening]
1 parent 01c07d5 commit 5a2e943

110 files changed

Lines changed: 13361 additions & 2553 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/FUNDING.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Funding & Sponsorship Information for CalorieAppTestnet
2+
#
3+
# Support CalorieToken development via XRPL or traditional channels
4+
#
5+
# See: https://docs.github.com/articles/displaying-a-sponsor-button-in-your-repository
6+
7+
# GitHub Sponsors
8+
github: # Add GitHub username if CalorieToken sets up GitHub Sponsors
9+
10+
# Open Collective
11+
open_collective: # Add Open Collective username if applicable
12+
13+
# Community Bridge
14+
community_bridge: # project-name
15+
16+
# Patreon
17+
patreon: # Add Patreon username if applicable
18+
19+
# Tidelift
20+
tidelift: # Add if package is on Tidelift
21+
22+
# Ko-fi
23+
ko_fi: # Add Ko-fi username if applicable
24+
25+
# Liberapay
26+
liberapay: # Add Liberapay username if applicable
27+
28+
# IssueHunt
29+
issuehunt: # Add IssueHunt username if applicable
30+
31+
# Custom donation links
32+
custom:
33+
- "https://calorietoken.net/index.php/donate/"
34+
- "XRPL Address: rNqGa93B8ewQP9mUwpwqA19SApbf62U7PY (CAL Token Issuer)"
35+
- "Send XRP or Calorie tokens to support development"
36+
- "Telegram: https://t.me/joinchat/8jIusxwzMVI0NGVk"

.gitignore

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,67 @@ crash*.txt
176176
docs/ui_tour/*/
177177
!docs/ui_tour/latest/
178178

179+
# Analysis reports (INTERNAL - contain competitive implementation details)
180+
analysis/
181+
scripts/complete_ux_tour.py
182+
scripts/best_practice_validator.py
183+
docs/BEST_PRACTICE_INTEGRATION.md
184+
docs/CALORIETOKEN_INTEGRATION_SUMMARY.md
185+
docs/UX_TOUR_*.md
186+
# Public-safe UX tour docs (allowlist)
187+
!docs/UX_TOUR_GUIDE.md
188+
!docs/UX_TOUR_QUICK_REF.md
189+
!docs/UX_TOUR_V2_UPDATES.md
190+
docs/development-progress/
191+
temp_*.py
192+
temp_*.txt
193+
194+
# Reference documentation (INTERNAL - competitive analysis)
195+
docs/reference/**
196+
197+
# Internal analysis & automation docs (keep public docs minimal)
198+
docs/ux_tours/**
199+
docs/interactive_test/**
200+
docs/automated_improvements/**
201+
docs/flow_analysis/**
202+
docs/test_iterations/**
203+
docs/ux_optimization/**
204+
docs/visual_audit/**
205+
docs/COMPREHENSIVE_*.md
206+
docs/SESSION_PROGRESS_*.md
207+
docs/AUTOMATION_*.md
208+
docs/ITERATION_*.md
209+
docs/LAYOUT_FIXES_*.md
210+
docs/*ANALYSIS*.md
211+
docs/ACTUAL_STATUS_*.md
212+
docs/COMMUNITY_TEASER_*.md
213+
docs/ENHANCED_*.md
214+
215+
# Internal architecture docs (competitive implementation details)
216+
docs/CALORIEDB_*.md
217+
docs/CALORIE_LEDGER_LINKING.md
218+
docs/DECENTRALIZED_DATA_ARCHITECTURE.md
219+
docs/BACKEND_SIGNING_SPEC.md
220+
docs/FOODREPO_*.md
221+
docs/WALLET_CONNECT_ROADMAP.md
222+
docs/XRPL_SAFE_MODE_GUIDE.md
223+
docs/RESOURCE_USAGE_POLICY.md
224+
docs/RESPONSIVE_SYSTEM_GUIDE.md
225+
docs/UI_STYLE_GUIDE.md
226+
docs/UX_OPTIMIZER_SUMMARY.md
227+
228+
# Internal git/commit helpers
229+
GIT_COMMIT_GUIDE.md
230+
COMMIT_QUICK_REFERENCE.md
231+
COMPREHENSIVE_TODO_LIST.md
232+
RELEASE_STRATEGY_SUMMARY.md
233+
SOCIAL_MEDIA_ANNOUNCEMENT_KIT.md
234+
235+
# Test outputs and artifacts
236+
test_*.py
237+
test_*.txt
238+
*_output.txt
239+
179240
# Test artifacts
180241
.pytest_cache/
181242
htmlcov/
@@ -186,4 +247,12 @@ coverage.xml
186247
__pycache__/
187248
*.pyc
188249
*.pyo
189-
*.pyd
250+
*.pyd
251+
252+
# Internal tooling (whitelist only runnable helpers)
253+
scripts/**
254+
!scripts/run.py
255+
!scripts/run.bat
256+
!scripts/run.sh
257+
!build_apk.bat
258+
!build_apk.sh

CHANGELOG.md

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
## [1.1.1] - 2025-11-18
2+
3+
### Repository Hardening & Public-Safe Docs
4+
5+
#### Added
6+
- OFFICIAL_PROJECT_DOCS.md: Canonical, public-safe documentation index
7+
- STATUS_UPDATE_2025-11-18.md: Public snapshot of progress
8+
9+
#### Changed
10+
- README.md: Removed links to private reference files; added official docs index
11+
- docs/README.md: Switched to external references; added official docs index
12+
- .gitignore: Allowlisted public UX tour guides while keeping internal files private
13+
14+
#### Privacy
15+
- Reaffirmed separation between public documentation and private implementation/testing artifacts
16+
17+
---
18+
# Changelog
19+
20+
All notable changes to CalorieApp will be documented in this file.
21+
22+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
23+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
24+
25+
## [1.1.0] - 2025-11-18
26+
27+
### 🎉 Official CalorieToken Branding Integration
28+
29+
**Major Update:** This release officially integrates CalorieToken® branding, legal compliance, and trademark protections as we move toward public launch.
30+
31+
### Added
32+
33+
#### Legal & Compliance
34+
-**Custom Dual License** - Clarified licensing terms for personal vs. commercial use
35+
-**Trademark Guidelines** - Official CalorieToken® trademark usage policies (EUIPO registered)
36+
-**Legal Entity Information** - Chamber of Commerce KVK: 84216352 (Netherlands)
37+
-**Official Project Links** - Comprehensive links to CalorieToken resources
38+
39+
#### CalorieToken Integration
40+
-**Official XRPL Token Details**
41+
- Mainnet Issuer: `rNqGa93B8ewQP9mUwpwqA19SApbf62U7PY`
42+
- Currency: Calorie ($CAL)
43+
- Network: XRP Ledger Mainnet + Testnet support
44+
-**Project Reference Documentation** - Complete token specifications
45+
-**Community Links** - Twitter, Telegram, Discord, and more
46+
-**Trading Platform Integration** - Links to Sologenic, XPMarket, LiveCoinWatch
47+
48+
#### Developer Resources
49+
-**GitHub Funding Configuration** - Support development via XRPL
50+
-**Enhanced Metadata** - Updated `pyproject.toml` and `setup.py`
51+
-**Official Website Badge** - Direct link to calorietoken.net
52+
53+
### Changed
54+
55+
#### Documentation
56+
- 🔄 **README.md** - Added CalorieToken integration section and corrected license badge
57+
- 🔄 **LICENSE** - Enhanced with trademark notices and official contact information
58+
- 🔄 **Project Metadata** - Aligned all package information with CalorieToken branding
59+
60+
#### Branding
61+
- 🎨 **Badge Updates** - Fixed license badge from MIT to Custom Dual
62+
- 🎨 **Footer Information** - Added CalorieToken trademark notice
63+
- 🎨 **Contact Details** - Official info@calorietoken.net throughout
64+
65+
### Security
66+
- 🔒 **Issuer Verification** - Documented official XRPL issuer address to prevent fake tokens
67+
- 🔒 **Legal Protection** - Trademark registration information for brand protection
68+
69+
---
70+
71+
## [1.0.0] - 2025-11-01
72+
73+
### 🚀 Initial Public Release (Testnet)
74+
75+
**First official release** of CalorieApp featuring multi-wallet XRPL support and food tracking capabilities.
76+
77+
### Features
78+
79+
#### Wallet Functionality
80+
- Multi-wallet support on XRPL Testnet
81+
- 12-word BIP39 mnemonic recovery phrases
82+
- Secure encrypted wallet storage
83+
- Real-time balance tracking
84+
85+
#### Transactions
86+
- XRP send/receive capabilities
87+
- Custom token support framework
88+
- Transaction history tracking
89+
- Multi-server failover (testnet)
90+
91+
#### Additional Features
92+
- NFT minting interface
93+
- DEX trading screens
94+
- Food tracking integration
95+
- Modern KivyMD 2.0 UI
96+
97+
#### Technical
98+
- Python 3.12 support
99+
- KivyMD 2.0 framework
100+
- Conditional navigation system
101+
- Responsive design (phone-first)
102+
103+
---
104+
105+
## Release Notes
106+
107+
### Versioning Strategy
108+
109+
We follow [Semantic Versioning](https://semver.org/):
110+
- **MAJOR** version: Incompatible API changes
111+
- **MINOR** version: Backwards-compatible functionality additions
112+
- **PATCH** version: Backwards-compatible bug fixes
113+
114+
### Development Status
115+
116+
**Current Phase:** Beta Development (Testnet)
117+
118+
🚧 **Note:** This application is under active development. Features and functionality are subject to change. Always verify XRPL issuer addresses to avoid fake tokens.
119+
120+
### Trademark Notice
121+
122+
CalorieToken® and "$CAL" are registered trademarks of CalorieToken (KVK: 84216352). See [TRADEMARK.md](docs/TRADEMARK.md) for usage guidelines.
123+
124+
### License
125+
126+
This project uses a **Custom Dual License**:
127+
- ✅ Personal/Educational use: Permitted
128+
- ⚠️ Commercial/Public use: Requires written permission
129+
130+
Contact: info@calorietoken.net
131+
132+
---
133+
134+
**For complete version history, see individual release notes in the repository.**
135+
136+
**Official Resources:**
137+
- 🌐 Website: https://calorietoken.net
138+
- 📄 Whitepaper: https://calorietoken.net/index.php/whitepaper/
139+
- 🐦 Twitter: [@CalorieToken](https://twitter.com/CalorieToken)
140+
- 💬 Telegram: [Community](https://t.me/joinchat/8jIusxwzMVI0NGVk)

LICENSE

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
1-
CUSTOM (dual) License (!)
1+
CalorieAppTestnet - CUSTOM DUAL LICENSE
22

3-
Copyright (c) 2023 CalorieToken / Chamber of Commerce KVK: 84216352
3+
Copyright (c) 2023-2025 CalorieToken
4+
Chamber of Commerce (KVK): 84216352
5+
Website: https://calorietoken.net
6+
Email: info@calorietoken.net
7+
8+
CalorieToken® is a registered trademark (EUIPO) of CalorieToken.
9+
Unauthorized use of the CalorieToken name, logo, or branding is prohibited.
10+
11+
================================================================================
12+
LICENSE TERMS
13+
================================================================================
414

515
> If in doubt about / questions regarding CalorieToken licenses: please contact CalorieToken : info@calorietoken.net
616

@@ -29,3 +39,40 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2939
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3040
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3141
SOFTWARE.
42+
43+
================================================================================
44+
TRADEMARK NOTICE
45+
================================================================================
46+
47+
"CalorieToken," the CalorieToken logo, "$CAL," and related branding are
48+
trademarks owned by CalorieToken (KVK: 84216352), registered with the
49+
European Union Intellectual Property Office (EUIPO).
50+
51+
Permitted Use:
52+
- Technical documentation and integration guides
53+
- Stating compatibility with CalorieToken services
54+
- Educational and research purposes
55+
56+
Prohibited Without Permission:
57+
- Using "CalorieToken" in product/service names
58+
- Reproducing logos for commercial purposes
59+
- Implying official endorsement or partnership
60+
61+
For trademark usage permissions, contact: info@calorietoken.net
62+
63+
================================================================================
64+
OFFICIAL PROJECT LINKS
65+
================================================================================
66+
67+
Website: https://calorietoken.net
68+
GitHub: https://github.com/CalorieToken/CalorieAppTestnet
69+
Whitepaper: https://calorietoken.net/index.php/whitepaper/
70+
Twitter/X: https://twitter.com/CalorieToken
71+
Telegram: https://t.me/joinchat/8jIusxwzMVI0NGVk
72+
Discord: https://discord.gg/hcjJgdyDGd
73+
74+
XRPL Token Details:
75+
Currency: Calorie
76+
Issuer: rNqGa93B8ewQP9mUwpwqA19SApbf62U7PY
77+
Network: XRP Ledger Mainnet
78+

0 commit comments

Comments
 (0)