6 Commits
Author SHA1 Message Date
Hamza-Ayed 307009d149 add sample_decrypt.php for manual post-migration sanity checks
Decrypts a random sample of migrated rows and prints masked plaintext
so the migration can be eyeballed for correctness beyond the automated
--verify pass — catches cases where decryption "succeeds" but produces
garbage rather than the real value.
2026-07-29 17:09:33 +03:00
Hamza-Ayed 8df0f92fcf fix(migration): apply schema fixes statement-by-statement, tolerating already-applied changes
The bulk `mysql < file.sql` run aborted on the first "duplicate column"
error because some columns from an earlier partial run already existed.
apply_sql_tolerant.sh now runs each ALTER separately and only skips
MySQL errors 1060/1061/1091/1050 (duplicate column/key, missing to drop,
table exists) — any other error still stops the migration immediately.
2026-07-29 17:04:05 +03:00
Hamza-Ayed ffedd458cb Update: 2026-07-29 16:51:14 2026-07-29 16:51:14 +03:00
Hamza-Ayed c0a20e5396 Update: 2026-07-29 16:46:22 2026-07-29 16:46:22 +03:00
Hamza-Ayed af57ca87f2 Update: 2026-07-29 16:36:26 2026-07-29 16:36:27 +03:00
Hamza-AyedandClaude Opus 5 92dc6b3641 chore: استيراد أولي من سيرو (ecfe7568) — بلا أي تعديل
نسخة كاملة من مستودع سيرو عند ecfe7568 لتكون أساس تطبيق «انطلق».
نُسخ المتعقَّب في git فقط (12,509 ملفاً / 302 م.ب) بـ git archive، لا
`cp -r` — فاستُثنيت تلقائياً مخلفات البناء (build · node_modules ·
.dart_tool · .gradle · Pods ≈ 10.7 غ.ب) وكل ما يستثنيه .gitignore.

هذا الكوميت **بلا أي تعديل عمداً** حتى يكون كل ما يليه فرقاً مقروءاً
مقابل سيرو الأصلي. سيرو نفسه لم يُمسّ.

⚠️ لا يبني بعد: `.env` و`lib/env/env.g.dart` غير متعقَّبين في سيرو (وهذا
صحيح — أسرار لكل مستأجر). كل تطبيق فلاتر هنا يحتاج .env خاصاً بانطلق ثم
توليد env.g.dart عبر build_runner. لا تُنسخ أسرار سيرو.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 05:10:29 +03:00