15 Commits

Author SHA1 Message Date
vincanger
75dba62dc2 Update blog-deployment.yml 2024-12-05 12:41:05 +01:00
vincanger
c4e93f4be7 add deployment action 2024-12-05 12:28:39 +01:00
Martin Sosic
5594d12113 Updated CI to use Wasp 0.15. 2024-10-10 18:28:43 +02:00
Mihovil Ilakovac
8a368532b4
Updates for Wasp 0.15.0 (#255)
* Bumps Prisma to v5

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>

* Update Prisma to 5.19.1

* Update for React Router v6

* Update types dep

* Update Prisma version

* Update package-lock.json

* update docs

* Update main.wasp.diff

* Add type: module

* Updated app_diff with type:module change from package.json.

* Updated version of Wasp in CI to 0.15.0-rc2.

* Removed type:module from e2e-tests/package.json.

---------

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
Co-authored-by: vincanger <70215737+vincanger@users.noreply.github.com>
Co-authored-by: Filip Sodić <filip.sodic@fer.hr>
Co-authored-by: Martin Sosic <sosic.martin@gmail.com>
2024-10-10 18:13:48 +02:00
vincanger
cb3d75c0b6
add lemon squeezy as payment provider (#246)
* add lemon squeezy checkout and webhook

* add lemonSqueezy customer portal url

* Update AccountPage.tsx

* add lemon squeezy total revenue function

* update app diff

* update app diff

* add LS docs

* Update PricingPage.tsx

* add unified payment processor

* unify customer portal url

* Update paymentProcessor.ts

* update paymentProcessor logic

* update app diff to use both payments processors

* Update contentSections.ts.diff

* finishing touches

* Update e2e-tests.yml

* remove lemonsqueezy from app diff

* Update webhook.ts
2024-09-09 11:32:42 +02:00
Filip Sodić
f7e91c69a5
Update test version to 0.14.0 (#238) 2024-07-17 17:43:06 +02:00
vincanger
94a6b8f645
Upgrade v0.14 (#232)
* Create schema.prisma

* update admin pages

* update app_diff

* Update e2e-tests.yml

* update docs & rename hook

* Update schema.prisma

* update app_diff

* add discord auth and app_diff

* update docs

* Update template/app/src/auth/userSignupFields.ts

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* move landing page

* update .env.vault

* Update e2e-tests.yml

---------

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2024-07-16 12:01:03 +02:00
Martin Šošić
f100fbd552
Added check for demo app patching to CI. (#206)
* Added check for demo app patching to CI.

* fix
2024-07-02 10:24:54 +02:00
vincanger
6e9e6eb040
add stripe prefix across all instances (#183) 2024-06-21 11:45:56 +02:00
vincanger
602aad0f75 add cookie consent banner and tests (#163)
* add cookie consent banner and tests

* update docs and app_diff

* Create .env.client.diff

* Update main.wasp.diff

* add migrattion_lock diff again

* small typo fixes
2024-06-06 16:27:37 +02:00
Martin Šošić
d762d40f30
Create pull_request_template.md 2024-06-05 14:40:02 +02:00
Martin Šošić
04553cd60c
All in dirs (#154)
* Split the project into template and opensaas-sh (demo app (diff) + docs).

* fix
2024-06-04 13:24:32 +02:00
vincanger
ca7d6c7fba
Create FUNDING.yml 2024-05-22 13:32:23 +02:00
vincanger
60a79e4b93
Remove hasPaid from user entity and rely only on subscriptionStatus for user privileges (#96)
* fix userStripeId race condition

* small fixes

* fix operations

* Update app/src/server/queries.ts

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update app/src/server/queries.ts

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* fix typos and remove console logs

* Update PricingPage.tsx

* add pricing page tests

* add copying .env.client.example

---------

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2024-04-22 15:37:20 +02:00
vincanger
2d94e28dd2
Playwright tests & CI (#69)
* get tests started

* Create opensaas-ci.yml

* move github workflows

* modify ci scripts

* install linebyline

* Update package.json

* install wait-port

* Update package.json

* add conditional webserver when in CI env

* test tagging action

* Update retag-commit.yml

* remove unused workflow

* add .env file and test stripe webhook

* Update e2e-tests.yml

* Update e2e-tests.yml

* Update e2e-tests.yml

* Update e2e-tests.yml

* test demo app

* Update e2e-tests.yml

* update github action versions

* disable wasp telemetry

* Cleanup running (#72)

* improve tests

* Update ci-start-app.js

* remove npm scripts

* Update e2e-tests.yml

* Update ci-start-app-with-scripts.js

* Update ci-start-app-with-scripts.js

* rename test folder

* Update e2e-tests.yml

* Update e2e-tests.yml

* export prisma client from server

* Update e2e-tests.yml

* Update e2e-tests.yml

* Update e2e-tests.yml

* Update e2e-tests.yml

* Update package-lock.json

* install linebyline

* add npm scripts

* Update package.json

* Update paidUserTests.spec.ts

* update flaky test

* update tsconfig

* Update e2e-tests.yml

* Update e2e-tests.yml

* pin node version to github action

* Update e2e-tests.yml

* fix retag and clean up

* add notes on tag action

* Update retag-commit.yml

* pr changes part 1

* pr changes part 2

* Setup tests with local Prisma (#86)

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>

* pr changes part 3

* add db naming script

* Update package.json

* Update package.json

* Update package.json

* spawn prisma process

* Update package.json

* move db setup

* Update package.json

* Update package.json

* Update package.json

* Update setupDatabaseName.sh

* Update package.json

* use same process for local and CI testing

* Update package.json

* wait for app for prisma setup

* Update package.json

* changes made with martin

* stripe clie

* Update e2e-tests.yml

* Update e2e-tests.yml

* update start stripe cli

* try again

* start testing stripe payments

* stripe payment works

* fix base url issue & cleanup

* Update playwright.config.ts

* Update package.json

* Update package-lock.json

* Update main.wasp

* Update utils.ts

* Update e2e-tests.yml

* Update utils.ts

* Update utils.ts

* Update e2e-tests.yml

* Update actions.ts

* Update actions.ts

* Update actions.ts

* Update actions.ts

* Update stripeUtils.ts

* Update e2e-tests.yml

* catch stripe checkout error

* remove console.logs

* fix comments, add err catches

* fix cache and cache keys

* Update .github/workflows/e2e-tests.yml

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update .github/workflows/e2e-tests.yml

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update .github/workflows/e2e-tests.yml

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update .github/workflows/e2e-tests.yml

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update e2e-tests/playwright.config.ts

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Improve CI caching and other stuff

* fix cache key, npm scripts, error handling

* Update e2e-tests.yml

* Update README.md

* add template versioning info

---------

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
Co-authored-by: Fran Zekan <zekan.fran369@gmail.com>
Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2024-04-22 10:43:25 +02:00