Commit Graph

303 Commits (e0f97d460bbcbe23dd95d048cfdd89bfee33eaa7)

Author SHA1 Message Date
David Montero Crespo 66b4fa6030 feat: add new components and simulations for logic gates, protocols, and sensors
- Added LogicGateParts.ts for simulating various logic gates (AND, NAND, OR, NOR, XOR, NOT).
- Introduced ProtocolParts.ts for simulating I2C and SPI components including SSD1306 OLED, DS1307 RTC, MPU6050 IMU, DHT22 sensor, HX711 load cell, IR receiver, IR remote, and MicroSD card.
- Implemented BasicParts.ts with a membrane keypad and rotary dialer simulations.
- Enhanced SensorParts.ts with a single NeoPixel and PIR motion sensor.
- Updated index.ts to include new parts for logic gates and protocols.
- Modified vite-env.d.ts to declare new custom elements for the added components.
2026-03-08 16:14:03 -03:00
David Montero Crespo c0164b704b feat: format default values for consistency and remove unused sensor components 2026-03-08 02:21:54 -03:00
David Montero Crespo 2aa7607428 feat: add sensor parts and utilities for simulation
- Introduced new SensorParts.ts to handle various sensors including tilt switch, temperature sensor, gas sensor, flame sensor, heart beat sensor, and sound sensors.
- Implemented stepper motor simulation with full-step decoding.
- Added utility functions for ADC voltage injection in partUtils.ts, supporting both AVR and RP2040.
- Updated BasicParts.ts to avoid re-registering the 7-segment display.
- Enhanced ComplexParts.ts by removing unused ADC helper functions.
- Updated index.ts to include the new SensorParts module.
- Updated Vite environment definitions to include new custom elements for sensors and stepper motors.
2026-03-08 02:20:21 -03:00
David Montero Crespo 318305bac4 feat: Add 74HC595 Shift Register component and simulation logic 2026-03-07 23:24:23 -03:00
David Montero Crespo 41dfd20583 feat: Add Arduino Nano support to simulator and update related components 2026-03-07 23:14:33 -03:00
David Montero Crespo c7f9d6d029 feat: Revise README to enhance project support section and add sponsorship links 2026-03-07 21:44:39 -03:00
David Montero Crespo b72846c969 feat: Update .gitignore to include data directory and remove example sketch.ino 2026-03-07 19:31:16 -03:00
David Montero Crespo f2b275c03d feat: Enhance board positioning by integrating boardPosition state in export/import functions and updating component dragging logic 2026-03-07 19:29:23 -03:00
David Montero Crespo 5f2c176648 Merge branch 'master' of https://github.com/davidmonterocrespo24/wokwi_clon 2026-03-07 18:27:03 -03:00
David Montero Crespo eb3ba0c60b feat: Adjust component positioning by applying ARDUINO_POSITION offset during export and import of Wokwi zip files 2026-03-07 18:26:47 -03:00
davidmonterocrespo24 9da181a454 Merge branch 'master' of https://github.com/davidmonterocrespo24/velxio 2026-03-07 21:57:54 +01:00
root a4d2eebfd3 fix 2026-03-07 21:56:31 +01:00
David Montero Crespo 47e6d2b804 feat: Prevent body scroll on the editor page to enhance user experience 2026-03-07 17:54:51 -03:00
root 60e737c2d4 fix: add trailing slash to compile endpoint to avoid HTTP redirect 2026-03-07 18:18:19 +01:00
David Montero Crespo 5b59ebdc30 Merge branch 'master' of https://github.com/davidmonterocrespo24/wokwi_clon 2026-03-07 14:13:43 -03:00
David Montero Crespo 5f2abc8cd9 feat: Auto-generate control points for wires without them to ensure proper segment dragging 2026-03-07 14:13:35 -03:00
root 34daa301ed fix: use relative /api URL to prevent mixed content errors on HTTPS 2026-03-07 17:55:11 +01:00
David Montero Crespo fef33cc9be feat: Implement interactive wire rendering with segment-based dragging and selection using new `WireRenderer` component and `wireSegments` utilities. 2026-03-07 13:34:42 -03:00
David Montero Crespo 2277389ea5 feat: Implement interactive wire rendering with segment-based dragging and snapping capabilities. 2026-03-07 13:34:25 -03:00
David Montero Crespo 13d87a6961 fix: add overscroll-behavior to body for improved scrolling experience 2026-03-07 02:25:59 -03:00
David Montero Crespo 10a1547060 feat: set fixed dimensions for canvas world to enhance layout stability 2026-03-07 02:17:22 -03:00
David Montero Crespo e81235e086 refactor: remove redundant html and body height and overflow styles 2026-03-07 02:13:10 -03:00
David Montero Crespo 6316d14c55 feat: set html and body to full height and hide overflow; remove min size from simulator canvas 2026-03-07 02:09:14 -03:00
David Montero Crespo 2744b398e3 feat: add zoom and pan functionality with wheel listener in SimulatorCanvas 2026-03-07 02:08:20 -03:00
David Montero Crespo 3ace72d0f8 feat: implement pan and zoom functionality in simulator canvas 2026-03-07 02:00:56 -03:00
David Montero Crespo 88c5f3b19f feat: add Wokwi zip import/export functionality and update dependencies 2026-03-07 00:14:35 -03:00
David Montero Crespo 44293ba000 feat: enhance SEO by adding hidden fallback content for crawlers 2026-03-07 00:03:31 -03:00
David Montero Crespo 41d8e25843 feat: enhance admin setup with email validation and update workflows for fresh lib cloning 2026-03-07 00:00:22 -03:00
David Montero Crespo 290b149855 feat: add admin management features and user role handling
- Implemented `require_admin` dependency to enforce admin access control.
- Added `is_admin` column to the users table for role management.
- Created admin routes and schemas for user and project management.
- Developed AdminPage with user and project management tabs.
- Integrated user editing and deletion functionalities in the admin panel.
- Added setup screen for creating the first admin user.
- Updated frontend to include admin functionalities and user role display.
- Generated Open Graph image for better social media integration.
2026-03-06 23:46:36 -03:00
David Montero Crespo 6d3614e40f Add commercial licensing and AGPLv3 license files; update submodule references to dirty state; create strategic plan document for Velxio project 2026-03-06 22:32:05 -03:00
David Montero Crespo 746e735487 docs: update README with velxio.dev live URL, Docker run command, and full self-hosting guide
- Add live demo badge and link to velxio.dev at the top
- Add Docker single-container run command with volume mount
- Add env vars reference table
- Simplify and modernize overall structure
- Update package.json name and homepage to velxio.dev

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 22:12:50 -03:00
David Montero Crespo ea61bd5475 feat: user nav dropdown in landing page + redirect to editor after OAuth login
- Google OAuth callback now redirects to /editor instead of landing page
- Landing page nav shows avatar, username and dropdown when logged in
  (My Projects, Open Editor, Sign out)
- Skeleton placeholder during checkSession so login button never flickers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 21:50:35 -03:00
David Montero Crespo 7e87afa3ec fix: Google OAuth redirects to production URL after login
- FRONTEND_URL and COOKIE_SECURE are now read from settings (env vars)
- Add COOKIE_SECURE config field (false by default, true in prod)
- backend/.env sets FRONTEND_URL=https://www.velxio.dev and COOKIE_SECURE=true

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 21:03:51 -03:00
David Montero Crespo c58f98920a fix: add env_file configuration for velxio service in docker-compose 2026-03-06 20:56:05 -03:00
David Montero Crespo 6eefaf72db fix: update Google OAuth redirect URI to use configuration setting 2026-03-06 20:53:54 -03:00
David Montero Crespo 7260c8d092 feat: /project/:id URL, per-project file volumes, and public/private access control
Backend:
- project_files.py: read/write sketch files to /app/data/projects/{id}/
- GET /api/projects/{id}: load project by ID (public = anyone, private = owner only)
- create/update write files to disk volume; delete removes them
- ProjectResponse includes files[] list loaded from disk

Frontend:
- /project/:id canonical route -> ProjectByIdPage
- ProjectPage (legacy /:username/:slug) redirects to /project/:id after load
- SaveProjectModal sends files[] and navigates to /project/{id} after save
- DATA_DIR env var in both compose files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 20:38:06 -03:00
David Montero Crespo 03f2d7f22e fix: persist SQLite database via host bind mount
Mount ./data:/app/data in both compose files and set DATABASE_URL to
the absolute path /app/data/velxio.db so the database survives container
restarts and updates. Create /app/data in Dockerfile.standalone.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 20:32:36 -03:00
David Montero Crespo 0c3cb21702 fix: replace Vite favicon with Velxio chip icon across all sizes
Redesign favicon.svg with solid filled shapes (visible at 16px tab size).
Regenerate all PNG/ICO sizes (16, 32, 48, 180, 192, 512) from new design.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 17:36:03 -03:00
David Montero Crespo e4216ee2bf Merge branch 'master' of https://github.com/davidmonterocrespo24/wokwi_clon 2026-03-06 17:31:43 -03:00
David Montero Crespo 23186baf04 feat: redesign landing page with PCB schematic aesthetic and update Docker Hub description
- Remove gradient text, floating chips and heart icon from landing page
- Add circuit schematic SVG hero (Arduino + R1 + LED + oscilloscope window)
- Add peter-evans/dockerhub-description step to CI workflow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 17:30:51 -03:00
David Montero Crespo 6ed490b34e
Update nginx.conf 2026-03-06 17:28:52 -03:00
David Montero Crespo eb2d511512
Update nginx.conf 2026-03-06 17:27:43 -03:00
David Montero a0e223004a Merge branch 'master' of https://github.com/davidmonterocrespo24/velxio 2026-03-06 21:25:08 +01:00
David Montero c7e9c57b82 feat: add production deployment configuration with SSL support
- Add docker-compose.prod.yml for standalone production deployment
- Add nginx-host-velxio.conf for host nginx reverse proxy with SSL
- Update deploy/nginx.conf with security headers, gzip, and health endpoint
- Add deploy/nginx.prod.conf for production nginx configuration

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-06 21:20:44 +01:00
David Montero Crespo c7409afa2d feat: update LandingPage component with enhanced visuals and improved content 2026-03-06 17:19:27 -03:00
David Montero Crespo 369735010b Add check_actions script and strategic plan for VELXIO; update submodule commits to dirty state 2026-03-06 17:18:33 -03:00
David Montero Crespo 3301c5967e feat: enhance SEO and public files for Velxio
- Added comprehensive SEO meta tags to `frontend/index.html` including Open Graph and Twitter Card data.
- Updated `frontend/public` with new favicon assets and a PWA manifest.
- Created a favicon generation script to automate favicon creation from SVG.
- Implemented `robots.txt` to allow all crawlers and point to the sitemap.
- Added `sitemap.xml` with public routes and priorities for better indexing.
2026-03-06 16:14:26 -03:00
David Montero Crespo aafb97b2ac home page 2026-03-06 15:32:24 -03:00
David Montero Crespo 176f2f7b07 fix: update CLAUDE.md to remove reference to former project name OpenWokwi 2026-03-06 14:58:17 -03:00
David Montero Crespo 1e344884f1 fix: update CLAUDE.md to reflect project name change to Velxio and enhance documentation 2026-03-06 14:58:03 -03:00