Commit graph

45 commits

Author SHA1 Message Date
JasterV
a6022cc725 feat: implement automatic deploy to coolify instance 2026-04-25 02:20:35 +02:00
JasterV
6789fd3c08 chore: build and deploy app image 2026-04-25 01:58:49 +02:00
JasterV
de6ff0f2dc chore: add a deploy step 2026-04-25 01:39:50 +02:00
JasterV
28d80f45af chore: remove any fly.io related configuration 2026-04-25 01:10:52 +02:00
JasterV
13ec27f562 chore: fix Dockerfile to run migrations too 2026-04-25 00:17:15 +02:00
JasterV
bc59d87578 fix SSL issues 2026-04-24 23:48:59 +02:00
JasterV
532d7495eb chore: update deps 2026-03-31 16:24:14 +02:00
JasterV
930066f2ce fix: admin calendar days 2026-03-31 16:24:14 +02:00
JasterV
967c75a687 fix: use another flyctl docker image 2026-03-08 20:11:36 +01:00
JasterV
91a754a75b fix: update environment 2026-03-08 19:20:27 +01:00
JasterV
cdf5dab858 feat: migrate to codeberg 2026-03-08 18:27:13 +01:00
JasterV
7caddd5d35 feat: update texts to be the real ones 2026-02-13 13:16:41 +01:00
JasterV
1359f75a7e feat: add accurate price and payment information 2026-02-11 17:39:34 +01:00
JasterV
b442f1243a fix: update PHX_HOST 2026-02-10 19:31:21 +01:00
JasterV
3bcb28fae8 fix: walk-in time input doesn't update the selected times 2026-02-09 21:37:17 +01:00
JasterV
90a35607a9 fix: sort time slots by start day when displaying them 2026-02-09 20:22:04 +01:00
JasterV
72a1cbc662 feat: implement space selection for walk-in page 2026-02-09 20:11:20 +01:00
JasterV
d746a16db2 chore: update seeds for production & contents 2026-02-09 19:39:58 +01:00
JasterV
10285e7bd0 feat: implement header tab-based navigation 2026-02-09 16:43:16 +01:00
JasterV
e52c95872c Update text content 2026-02-07 23:15:01 +01:00
JasterV
c9c5255642 fix: walk-in page to use new arcipelago slug 2026-02-07 22:32:15 +01:00
JasterV
687f0e3b19 refactor: remove useless links from footer 2026-02-07 22:27:40 +01:00
Víctor Martínez
5e08095fa8 feat: Add new images and rename space slugs (#13)
* feat: add new images

* update seeds

* use new images & slugs

* update tests with new slugs
2026-02-07 21:58:20 +01:00
Víctor Martínez
69f992f8f6
feat: new booking system + admin dashboard (#12)
feat: implement a new booking system and admin dashboard
2026-02-07 19:08:39 +01:00
Víctor Martínez
bbc2f08215
feat: build an admin dashboard (#11)
* refactor: update button colors

* feat: add dashboard panel for admins only & update header styles
2026-02-01 19:30:58 +01:00
JasterV
961b24b202 feat: separate between review & review-cleanup workflows 2026-01-19 00:26:18 +01:00
Víctor Martínez
9c45660e11
feat: update design with spazio solazzo vibe (#10)
* refactor: update the whole color palette with the spazio solazzo vibe and simplify design code to use Daisy UI
2026-01-17 22:17:25 +01:00
Víctor Martínez
2cbce8ec39
refactor: make phone number optional (#9)
This pull request makes phone numbers optional for both user registrations and bookings, and updates validation, database schema, and UI to reflect this change. The main focus is to ensure that users are no longer required to provide a phone number, and that the application gracefully handles cases where a phone number is absent.

**Database & Resource Model Updates**

* Made the `phone_number` attribute in the `users` table and the `customer_phone` attribute in the `bookings` table nullable, including migration and resource snapshot updates. [[1]](diffhunk://#diff-baa6aed3674c4d6cbbebeafb076662df02dc4c25231dbd9dc9c8f0534ed1a1bfR1-R29) [[2]](diffhunk://#diff-a401f66b2ae5bfb798eb1bc2221bfeeac943e258950c90d59570b0bae05d3664R1-R244) [[3]](diffhunk://#diff-0c1180d6f6abc19b5987c8703bdee9ef67905535202f950e8327c32bd5b89d8aR1-R82)
* Updated Ash resource definitions in `user.ex` and `booking.ex` to allow `phone_number` and `customer_phone` to be `nil`. [[1]](diffhunk://#diff-9194b9d80dce091f6dcb56f784217272ae160e35454c4b4ccc8850ad5ee06e38L152-R152) [[2]](diffhunk://#diff-4b1ddd6d86899f2144c69d142883b8719c755e32c03dbda5da2188208a5ad503L55-R55) [[3]](diffhunk://#diff-4b1ddd6d86899f2144c69d142883b8719c755e32c03dbda5da2188208a5ad503L170-R170)

**Validation & Parsing Logic**

* Renamed and refactored user registration field validation to `ParseRegistrationFields`, allowing phone numbers to be omitted and trimming input values. Empty phone numbers are now treated as absent rather than as errors. [[1]](diffhunk://#diff-8ffdd76e260e3cda6f0816c8e585ae76b993a90d2519c38185a5fe22b4b49e47L1-R1) [[2]](diffhunk://#diff-8ffdd76e260e3cda6f0816c8e585ae76b993a90d2519c38185a5fe22b4b49e47R14-R60)
* Updated the authentication callback logic to trim input values and omit the phone number parameter if it is blank.

**User Interface Improvements**

* Updated registration and booking forms to indicate that phone numbers are optional, removed the required attribute, and improved placeholder text. [[1]](diffhunk://#diff-f356eb84970d8c9ee6ff1992c297b0cae07bade37ff967c1e6e0de6f8b67081cL101-R115) [[2]](diffhunk://#diff-43c0e1f7a869ee5c43a911bc10dc80cbb265a8672340ef0fa7c1d3009c047f02L92-R92)
* Updated email templates and confirmation screens to display "N/A" or "-" when phone numbers are missing. [[1]](diffhunk://#diff-48468ef2d1bb2c33b5ffb40457b77532815c7faf1830932661f665bff58b2177R6-R11) [[2]](diffhunk://#diff-3f33187b4021450b481ce53fe13166addea582c627f2cfbc99c75c7ce5c34857L10-R10) [[3]](diffhunk://#diff-43c0e1f7a869ee5c43a911bc10dc80cbb265a8672340ef0fa7c1d3009c047f02L92-R92)

**Profile Management**

* Improved profile update flow to ensure the form reflects the latest user data after saving changes.
* Made the "Full Name" field explicitly required in the profile form UI.
2026-01-15 15:57:54 +01:00
Víctor Martínez
8dafc3e3fd
fix: review cleanup workflow (#8) 2026-01-14 17:27:14 +01:00
JasterV
4564973426 fix: production workflow 2026-01-14 17:24:07 +01:00
JasterV
30de4d23a4 fix: production workflow 2026-01-14 17:13:30 +01:00
Víctor Martínez
e3b3959ef9
feat: optimize CI by using cache (#7) 2026-01-14 17:08:34 +01:00
JasterV
c3ddf11bd8 fix: production deployment 2026-01-14 15:20:26 +01:00
Víctor Martínez
4cfa89ef21
feat: Reconfigure CI for review environments (#6)
This pull request refactors and improves the GitHub Actions CI/CD workflow setup and enhances the application header component. The changes consolidate and clarify deployment workflows for production and review environments, improve environment variable handling, and update the application UI for greater flexibility.

**CI/CD Workflow Refactoring and Improvements:**

* Consolidated the CI workflow in `.github/workflows/ci.yml` to support both manual and reusable workflow triggers, making it easier to compose in other workflows.
* Removed the old deployment workflows (`fly-deploy.yml` and `fly-review.yml`) in favor of new, clearer workflows for production (`production.yml`) and review apps (`review.yml`). These new workflows use reusable CI steps, improved secret management, and explicit environment configuration [[1]](diffhunk://#diff-e98bb23501189d64a1cee3fab4260cfa5fb4e0bf50a7352fc8c4bfe1939f92c2L1-L18) [[2]](diffhunk://#diff-360ed408b1160aff40b11529c2471f642a393cfd9375757bf6d4da2c7ab78db7L1-L34) [[3]](diffhunk://#diff-d5171f9b8c42863b1e934fda1fefedf968913c65aa5d715555a696fb3cbd4c7eR1-R45) [[4]](diffhunk://#diff-ebc21ccd816b27c07389e15ad88c9e74b71bde5e8e315e4e30902097d38386e5R1-R66).
* Added a new `fly.review.toml` configuration file to standardize review app deployments on Fly.io, specifying build, deploy, environment, and VM settings.
* Updated `fly.toml` to explicitly specify the Dockerfile for builds, improving deployment reliability.

**Environment and Configuration Handling:**

* Changed the application to require the `PHX_HOST` environment variable at runtime, raising an error if it is missing. This ensures correct host configuration for all deployments.

**UI Component Enhancement:**

* Refactored the `app_header` component to accept customizable `title` and `icon` attributes, and updated its usage in the main layout to display "Spazio Solazzo" with a sun icon. This makes the header more flexible and visually consistent [[1]](diffhunk://#diff-4b44e6943316f34ab5bf0f9ea1956fd2a65dc8a7cbb9c5a381578c13c6e559f6L42-R42) [[2]](diffhunk://#diff-4b44e6943316f34ab5bf0f9ea1956fd2a65dc8a7cbb9c5a381578c13c6e559f6R119-R138).
2026-01-14 14:50:25 +01:00
JasterV
0856495440 chore: update deploy workflow 2026-01-14 02:02:02 +01:00
JasterV
aba93ded91 chore: update machines MB 2026-01-13 18:44:15 +01:00
JasterV
736104b080 chore: update debug logs 2026-01-13 18:42:35 +01:00
JasterV
2ec74495a4 chore: update runtime.exs 2026-01-13 18:41:20 +01:00
JasterV
a424f11cb4 chore: update fly.toml 2026-01-13 18:34:49 +01:00
JasterV
e4f4577a3b chore: update fly.toml to run always at least 1 machine 2026-01-13 18:20:59 +01:00
JasterV
797d96a6a3 chore: add command to run IEx on the server 2026-01-13 14:23:02 +01:00
JasterV
a00e949fa9 feat: add a fly-review.yml action & update release file 2026-01-13 14:11:42 +01:00
JasterV
2041c75066 feat: setup for fly.io deployment 2026-01-13 13:57:52 +01:00
Víctor Martínez
82fa41e019
Update README.md 2026-01-10 19:10:10 +01:00
JasterV
8795de9ff7 Setup first public version of the project 2026-01-10 19:03:02 +01:00