Improve Figma synchronization to persist version author identity and handle API pagination links reliably during incremental sync jobs. Changes included: - Added support end-to-end: - New migration adds column and index. - now allows . - maps user id from Figma version payload ( / ). - snapshot query now selects . - displays Figma User ID column and updates table colspan states. - Hardened Figma pagination flow in : - Follow absolute URLs when returned by API. - Track seen pagination URLs to prevent loops. - Support additional page-size query key and URL-safe encoding. - Updated request builder to work with absolute endpoints and existing query strings. - Consolidated schema intent: - Moved Volume in drive C: has no label Volume Serial Number is 2B45-1F84/ columns into initial Figma table migration. - Removed superseded follow-up migrations that previously added/dropped these fields. - Updated project docs and dependencies: - Replaced starter README with CRM Summit specific project README. - Refreshed (framework and dependency version bumps). - Added database artifact: . Impact: - Incremental sync should now process paginated version/history feeds more reliably. - Snapshot API and dashboard expose author-level metadata for auditing and filtering. - Fresh installs get cleaner Figma schema history from baseline migration.
65 lines
1.3 KiB
Markdown
65 lines
1.3 KiB
Markdown
# CRM Summit
|
|
|
|
CRM Summit is a CodeIgniter 4 app for CRM, service, product, certificate, and support workflows.
|
|
|
|
## Main modules
|
|
|
|
- Auth and user management
|
|
- Dashboard
|
|
- Accounts, sites, offices, zones, and areas
|
|
- Products, product types, services, aliases, catalogs, and temp import flow
|
|
- Activities, emails, contacts, and mail groups
|
|
- Bugs and bug comments
|
|
- Certificates: maintenance, installation, training
|
|
- Guidebook and inventory counters/transactions
|
|
- Integrations and sync jobs for Figma and Gitea
|
|
|
|
## Tech stack
|
|
|
|
- PHP 8.1+
|
|
- CodeIgniter 4
|
|
- MySQL/MariaDB
|
|
- dompdf for PDF output
|
|
- endroid/qr-code for QR generation
|
|
- ramsey/uuid for UUID support
|
|
|
|
## Setup
|
|
|
|
1. Install dependencies:
|
|
|
|
```bash
|
|
composer install
|
|
```
|
|
|
|
2. Copy `env` to `.env` and set app and database values:
|
|
|
|
```bash
|
|
copy env .env
|
|
```
|
|
|
|
3. Set `app.baseURL` for local or production host.
|
|
|
|
4. Point web server to `public/` folder.
|
|
|
|
5. Run migrations if project uses them:
|
|
|
|
```bash
|
|
php spark migrate
|
|
```
|
|
|
|
## Development commands
|
|
|
|
```bash
|
|
php spark list
|
|
php spark cache:clear
|
|
php spark migrate
|
|
php spark migrate:rollback
|
|
vendor\bin\phpunit
|
|
```
|
|
|
|
## Notes
|
|
|
|
- `index.php` lives in `public/` for security.
|
|
- Check `app/Config/Routes.php` for module URLs and entry points.
|
|
- Use `app/Config/` and `.env` for environment-specific settings.
|