Commit Graph

539 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
cb03a2526b Add e2e test for auth redirect behavior
Co-authored-by: vincanger <70215737+vincanger@users.noreply.github.com>
2025-11-14 14:13:11 +00:00
copilot-swe-agent[bot]
c210e45bff Add redirect logic to login and signup pages for logged-in users
Co-authored-by: vincanger <70215737+vincanger@users.noreply.github.com>
2025-11-14 14:12:16 +00:00
copilot-swe-agent[bot]
70448e8186 Initial plan 2025-11-14 14:07:17 +00:00
Carlos Precioso
f0b4d61797 Update diffs 2025-11-13 16:46:39 +01:00
Carlos Precioso
4ca8a996da Update OpenSaas for Wasp main 2025-11-13 16:41:03 +01:00
Franjo Mindek
93e3e9d916 Improve Stripe payment provider logic (#550)
Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2025-11-12 22:29:03 +01:00
Carlos Precioso
026ac73cd4 Test all PRs
Removed branch restriction for pull requests in e2e tests.
2025-11-10 12:25:26 +01:00
Franjo Mindek
5cae99d7b1 Merge pull request #537 from wasp-lang/franjo/fix-e2e-tests 2025-11-06 14:45:23 +01:00
Franjo Mindek
a55adf7eb9 for now 2025-11-06 13:45:40 +01:00
Mihovil Ilakovac
f0429afb33 Fix dope.sh handling of empty lines in deletions file (#536) 2025-11-05 15:35:22 +01:00
vincanger
02d0c90eb1 Update README.md 2025-10-15 12:08:40 +02:00
vincanger
bc57bb7b02 Update Product Hunt badges in README
Replaced the old Product Hunt badge with two new badges for top post topic and top post, displayed side by side for improved visibility.
2025-10-15 12:07:58 +02:00
vincanger
7d36c8f0b1 Refactor file upload and toast notifications (#472)
* Refactor file upload and toast notifications

Replaces react-hot-toast with a custom toast system using @radix-ui/react-toast, updating all usages and adding new UI components for toast and dialog. Refactors file upload to use a two-step process: first generating an S3 upload URL, then adding the file to the database, and adds file deletion support with confirmation dialog and S3 cleanup. Updates Prisma schema, removes unused fields, and cleans up navigation and admin settings page.

* Enforce file upload limit and update dependencies on opensaas-sh

Added a check to restrict users to 2 file uploads in the demo, with a new helper function and error handling. Updated navigation items, improved landing page content, and removed unused dependencies (react-hot-toast). Added @radix-ui/react-toast, updated testimonials, and made minor content and code improvements.

* update tests

* Improve file deletion error handling and cleanup

Refactors file deletion to delete the database record before attempting S3 deletion, ensuring the file is removed from the app even if S3 deletion fails. Adds error logging for failed S3 deletions to aid in manual cleanup. Also simplifies error handling in the file upload page and removes unused imports in the demo app page.

* Add credit check and S3 file existence validation

Added logic to decrement user credits or throw an error if out of credits in the AI demo app. Updated file upload operations to validate file existence in S3 before adding to the database, and implemented S3 file existence check utility. Minor UI and code improvements included.

* Update s3Utils.ts

* update app_diff

* fix diff

* Update deletions

* Improve toast UI, error handling, and credit messaging

Updated toast action hover style and icon spacing for better UI consistency. Enhanced error handling in file deletion to display specific error messages. Refined credit/subscription error message in GPT response operation for clarity and removed redundant credit decrement logic.

* Refactor file upload validation and error handling

Replaces error state management with toast notifications for file upload errors and success. Refactors file type validation to use a new ALLOWED_FILE_TYPES_CONST and type AllowedFileTypes. Updates validation logic to throw errors instead of returning error objects, and simplifies type handling across file upload modules.

* Refactor file upload to use s3Key and add cleanup job

Replaces the 'key' field with 's3Key' for file storage references throughout the codebase and database schema. Updates all related logic, types, and API contracts to use 's3Key'. Adds a scheduled job to delete old files from S3 and the database. Cleans up file type validation constants and improves consistency in file upload and download operations.

* add orphaned file clean up

* remove s3 cleanup job from template

removed but added suggestion to docs.

* Update SettingsPage.tsx

* prettier format

* Update  UI, remove unused files

Updated README with deployment and demo details. Removed unused App.tsx and package-lock.json files. Modified Main.css, NavBar constants, file uploading logic, file upload operations, and landing page content sections for improved UI and functionality.

* remove pricing page from isMarketingPage
2025-10-15 12:01:08 +02:00
Mihovil Ilakovac
57ae0bf5ba Move dope.sh to top level (#531) 2025-10-10 17:10:35 +02:00
Franjo Mindek
a41fb4734d Merge pull request #506 from wasp-lang/franjo/account-page-improvements 2025-10-09 15:40:19 +02:00
Franjo Mindek
537c295457 revert credits 2025-10-09 15:32:23 +02:00
Franjo Mindek
41f70e9fb4 remove dt dd 2025-10-09 15:28:06 +02:00
Carlos Precioso
2713f9e1f6 Remove Satoshi from template, keep it in opensaas.sh (#526) 2025-10-07 14:58:14 +02:00
Carlos Precioso
a5df55a698 Add *.copy support to dope.sh (#525)
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2025-10-07 14:43:27 +02:00
Carlos Precioso
0ebee5561d Add note about template requirements (#528)
Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2025-10-03 12:29:09 +02:00
Carlos Precioso
1d04d530a2 Remove note about ignoring app (#520) 2025-10-01 11:14:11 +02:00
Carlos Precioso
fa15f85587 Use SVG versions of the banner (#521) 2025-10-01 11:06:30 +02:00
Carlos Precioso
3f8d012c95 Ran lossless optimization on assets for template (#518) 2025-10-01 11:03:30 +02:00
Copilot
39a0226361 Add GitHub Action for automatic template release on tag creation (#511)
Co-authored-by: cprecioso <511681+cprecioso@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Carlos Precioso <github@precioso.design>
Co-authored-by: Carlos Precioso <carlos@wasp-lang.dev>
2025-09-26 13:08:09 +02:00
Franjo Mindek
cd86e5cce3 Merge pull request #515 from wasp-lang/franjo/refactor-llms-txt-handling 2025-09-26 10:46:20 +02:00
Franjo Mindek
0bd7bd3968 remove generate step 2025-09-24 18:53:19 +02:00
Franjo Mindek
545a43c31e generate on build + gitignore 2025-09-24 18:49:53 +02:00
Franjo Mindek
c6337835e0 Merge pull request #512 from wasp-lang/franjo/open-saas-cosistency 2025-09-24 17:05:33 +02:00
Franjo Mindek
7354134559 Merge pull request #513 from wasp-lang/franjo/git-ignore-app 2025-09-24 17:05:18 +02:00
Franjo Mindek
43b784ca60 quiet 2025-09-24 14:37:44 +02:00
Franjo Mindek
ba1f1d6468 test 2025-09-24 14:32:58 +02:00
Franjo Mindek
12921ef92e open saas consistency 2025-09-24 14:10:17 +02:00
Franjo Mindek
53c3be891f format 2025-09-24 13:22:41 +02:00
Franjo Mindek
2a0cd5f682 Merge branch 'main' into franjo/account-page-improvements
# Conflicts:
#	template/app/src/user/AccountPage.tsx
#	template/e2e-tests/tests/utils.ts
2025-09-24 13:21:50 +02:00
Franjo Mindek
492f39d405 Merge pull request #509 from wasp-lang/franjo/run-prettier 2025-09-24 12:52:01 +02:00
Franjo Mindek
354274fb01 fix find credits 2025-09-22 15:04:16 +02:00
Franjo Mindek
10dd2c743d i run patch on main, checked out this branch, run prettier format, and then run diff 2025-09-19 18:21:45 +02:00
Franjo Mindek
0773fb9995 comma 2025-09-19 18:20:42 +02:00
Franjo Mindek
3f91e852a6 fix tailwind colors in blog 2025-09-19 18:19:12 +02:00
Franjo Mindek
b880fc75cf Merge remote-tracking branch 'origin/main' into franjo/run-prettier
# Conflicts:
#	.prettierignore
#	template/e2e-tests/.gitignore
2025-09-19 18:04:26 +02:00
Franjo Mindek
a69b8d0be4 Merge pull request #508 from wasp-lang/franjo/add-prettier 2025-09-19 18:03:21 +02:00
Martin Šošić
18711b7f86 Fix OpenSaas GitHub URL in opensaas-sh app (#510) 2025-09-19 10:37:44 +02:00
Franjo Mindek
daea2be9d5 diff 2025-09-18 17:00:21 +02:00
Franjo Mindek
d69cc909d5 whitespace 2025-09-18 16:52:45 +02:00
Franjo Mindek
6e2d6ca99e package lock too 2025-09-18 16:52:08 +02:00
Franjo Mindek
b4383af429 fix version 2025-09-18 16:51:56 +02:00
Franjo Mindek
eb1772a2d7 wording 2 2025-09-18 11:50:17 +02:00
Franjo Mindek
c0a6776f8b wording 2025-09-18 11:49:38 +02:00
Franjo Mindek
41cd4120bf gitignore changes 2025-09-18 11:48:51 +02:00
Franjo Mindek
3f463fb202 format 2025-09-18 11:42:49 +02:00