Commit Graph

47 Commits

Author SHA1 Message Date
Artur
4a14125b03 chore: configure sentry source map upload 2025-05-01 20:13:24 -03:00
Artur
ec8ae49185 feat: add sentry 2025-05-01 18:33:59 -03:00
Artur
f8a514b7ee Audit fix 2025-04-24 17:05:56 -03:00
Artur
7d5cab338e Fixes & update Next to version 15 2025-04-04 13:31:56 -03:00
Artur
138327bc58 Audit fix 2025-04-03 15:38:25 -03:00
Artur
b5a68d3058 General improvements (#150)
* fix: bandaid fix for weird form validation (lib issue)

* feat(register page): add agree to terms and policy text

* feat: better styling for markdown pages

* feat(account settings page): add description and link to the connections section
2025-03-03 17:27:43 -06:00
Artur
572ec2c51a feat: membership improvements (#146) 2025-03-03 10:42:10 -06:00
Artur
e68b3ffbb3 feat: ability to get donation atestations from donation history page, page to verify signature and public key endpoint 2025-01-08 19:08:01 -03:00
Artur
c3703ce732 fix(deps): bump typescript to 5.7.2 2024-12-17 17:07:20 -03:00
Artur
7e3a3b6179 deps: audit fix 2024-12-17 16:24:40 -03:00
Artur
2522a196dd feat: add cloudflare captcha to auth related forms 2024-12-09 17:36:41 -03:00
Artur
799faeccfe feat: ability to save mailing address and company name 2024-12-06 17:07:31 -03:00
Artur
34f2d0281e deps: audit fix 2024-12-02 22:38:47 -03:00
Artur
d10f8dc5c0 feat(perks): add image carousel 2024-11-29 12:36:51 -03:00
Artur
ea2aad58e5 feat(perks): form validation and ui improvements 2024-11-25 15:11:26 -03:00
Artur
7ff2ccab47 feat(perks): process purchases in a queue 2024-11-12 17:03:31 -03:00
Artur
b6b96a5c13 feat(perks): printful integration 2024-11-12 12:27:32 -03:00
Artur
f08e474ebc Merge branch 'master' into perks 2024-10-18 16:25:48 -03:00
Artur
82955be4cb Campaign Site V2 (#81)
* Apply OpenSats UI enhancements

* Add register modal and some UI fixes

* Add login modal

* Add reset password button

* Use @t3-oss/env-nextjs for env variables

* Email verification without keycloak UI

* Password reset without keycloak UI

* Add "My donations" page with one-time stripe donations list

* Display crypto donations in "My donations" page

* Donation form fixes and improvements

* Display recurring annual fiat donations

* Include keycloak realm export file and remove hardcoded client values

* fix: correctly handle btcpay webhooks and fix donationList query

* feat: add membership modal and implement membership payment using btcpay

* feat: add procedure for membership purchases with stripe and use db as single source of truth for donations

* feat: use webhooks to update stripe donation/membership status

* feat: memberships list page and fixes

* feat: db schema changes and webhook fixes

* feat: re-add "donate" and add "get annual membership" buttons to project page

* feat: open register modal when clicking membership button while logged out

* feat: replace "Get Membership" button with "My Memberships" button when user already has a membership for that project

* feat: multiple funds support

* deps: bump axios

* feat: add different color schemes for each fund and some fixes

* feat: add home page

* feat: add missing titles and responsiveness improvements

* chore: add prod workflow file and compose file

* chore(deploy workflow): set environment name

* chore(Dockerfile): add necessary lines for prisma

* chore: make it skip env validation on build

* fix: prevent donation amounts from being fetched from db during build

* chore(nginx.conf): remove copy-paste junk

* chore(docker compose): correctly set APP_URL env

* feat: replace Sendgrid with SES

* deps: audit fix

* chore(deploy.yml): remove unecessary env

* fix: correctly manage client and server env

* fix(trpc.submitApplication): get recipient emails from server side env

* fix(Dockerfile): define NEXT_PUBLIC_ env on build

* chore(trpc): make it log any errors

* chore(trpc): improve displaying of errors

* chore(trpc): improve displaying of errors

* fix: buggy link buttons

* feat: use single btcpay store

* feat: show form 8283 info in donation form and handle tax deductible donations

* feat: have only one privacy and terms page for the entire site

* feat: support many social links

* feat: add funding required endpoint (wip)

* feat: get rates using btcpay api and small refactor

* deps: audit fix

* fix: correctly handle payment methods on InvoiceSettled event

* fix: make index on Donation.btcPayInvoiceId

* feat(funding-required): improve asset parameter response

* feat(funding-required): add project_status param

* feat(funding-required): add fund param

* feat(funding-required): implement caching

* fix(funding-required): minor fixes

* feat(funding-required): add remaining_amount_<currency> fields and fixes

* chore: include all services in docker-compose.dev.yml and update .env.example

* feat: move terms and privacy links to footer

* fix: address font not always loading bug

* feat: use fund logos as header image

* feat: donation confirmation email

* fix: use correct stripe client for each fund on webhooks

* feat: add account settings page with change password form

* feat: add email change form to settings page

* fix: address wrong btcpay invoice url redirect

* chore: email change request debug

* fix(api): better handle user attributes

* feat: ui improvements

* feat: add btcpay invoice item description

* chore(nginx): api rate limit

* feat: remove typing component from fund landing pages

* feat: implement refresh token rotation using keycloak

* refactor: have gross and net amounts for donations

* feat: invalidate user sessions on password/email change

* fix: make "Create an account" button work on donate/membership modals

* refactor: project props

* fix(utils.md): correctly load md project attributes

* chore(prisma): make composite unique constraint for fundSlug and projectSlug on ProjectAddresses

* chore: mark example project as not funded

* fix(utils.md): serialization error

* chore(funding-required): btcpay invoice payment methods debug

* fix(funding-required): get bitcoin address from correct payment method

* fix(funding-required): correctly handle project_status ANY filter

* fix(btcpay webhook handler): correctly handle payment methods on InvoicePaymentSettled

* chore(docker-compose.yml): expose nginx port 80

* fix(funding-required): correctly concat project url

* feat: ui improvements for smaller screens

* fix(btcpay webhook handler): correctly get payment method amount on InvoiceSettled

* fix(btcpay webhook handler): respond with 200 immediately if there is no metadata

* chore(funding-required): debugging

* chore(funding-required): debugging

* chore(funding-required): debugging

* fix(Dockerfile): define BUILD_MODE as arg instead of env to make it blank at runtime

* fix: correctly pass current and goal values to project card progress

* fix(funding-required): set high monitoring time for static address invoice

* fix: correctly handle refresh token expiration on the ui

* feat: ui improvements

* chore: update README

* chore: update README

* Initial site text

* fix: colors

* chore: mention funds accordingly in texts

* chore: update realm-export.json

* chore: rename docker compose files

* Update emails

* Form updates

* Remove unused pages and page improvements

* feat: allow editing navbar links for each fund

* Cleanup and Firo projects

* chore(deploy.yml): change deploy branch to master

* fix(auth): use fetch instead of axios when fetching refresh token due to edge runtime compatibility

* fix: keep empty project folders

* Fix code scanning alert no. 20: DOM text reinterpreted as HTML

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* chore: sanitize md file paths

* Text and link updates

---------

Co-authored-by: Artur N <arturnunespe@gmail.com>
Co-authored-by: Justin Ehrenhofer <12520755+SamsungGalaxyPlayer@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-10-17 10:29:40 -05:00
Artur
d027fdb475 deps: audit fix 2024-09-18 11:05:04 -03:00
Artur
efed20106a feat: support many social links 2024-09-16 21:42:32 -03:00
Artur
d1d0c76cac feat: use single btcpay store 2024-09-11 19:04:01 -03:00
Artur
a285012cd9 deps: audit fix 2024-08-29 12:39:22 -03:00
Artur
4b88569a7b feat: replace Sendgrid with SES 2024-08-29 12:33:09 -03:00
Artur N
8929ab7b17 deps: bump axios 2024-08-15 19:11:22 -03:00
Artur N
65c8b59a0c Display crypto donations in "My donations" page 2024-06-24 21:19:45 -03:00
Artur N
ce20b4c495 Add "My donations" page with one-time stripe donations list 2024-06-19 12:04:56 -03:00
Artur N
d4d4eb716b Email verification without keycloak UI 2024-06-12 15:59:03 -03:00
Artur N
94f4bae0d3 Use @t3-oss/env-nextjs for env variables 2024-06-12 12:19:04 -03:00
Artur N
a2fed6ea32 Add reset password button 2024-06-12 12:03:53 -03:00
Artur N
f6d7654921 Add login modal 2024-06-11 16:02:25 -03:00
Artur N
c3d8b0ed36 Add register modal and some UI fixes 2024-06-11 11:24:40 -03:00
Artur N
ada9405b9c Apply OpenSats UI enhancements 2024-06-06 16:10:21 -03:00
Artur N
3531aa60c0 Clear vunerability warnings (#77)
* Clear vunerability warnings

* Replace escapeHTML (used by mistake) with xss for sanitization
2024-06-04 08:58:15 -05:00
Artur N
acd01b7cd0 Vulnerability fixes (#60)
* Sanitize project slug param

* Bump @sendgrid/mail and sharp
2024-01-22 10:29:19 -06:00
Deverick
81b7c0104b Add Sharp 2022-11-15 21:33:34 -06:00
Deverick
945d6adddc Bump Stripe API version 2022-11-11 16:47:30 -06:00
Deverick
b5fa2a233a Remove unused header 2022-11-06 12:33:57 -06:00
Rucknium
3ef4fa9065 Cosmetic changes (remove links to other pages) 2022-10-17 21:11:18 +00:00
Rucknium
415bb5ae9b Iterate through BTCPay invoices for XMR/BTC amounts 2022-10-16 13:09:45 +00:00
Rucknium
c6ea246774 Stripe working. API reqs on server side. 2022-10-15 13:54:40 +00:00
Paul Miller
fad4b2c8c6 apply form and also prettier 2022-04-04 22:36:19 -04:00
Paul Miller
20577256d5 modals open with selected project 2022-04-03 12:43:12 -04:00
Paul Miller
e479fbf05c all sorts of stuff, especially markdown 2022-03-26 17:17:07 -05:00
Paul Miller
49359391fc three steps! 2022-03-19 16:57:52 -05:00
Paul Miller
4b566e1c59 invoices work 2022-03-18 19:40:50 -05:00
Paul Miller
147547241a Initial commit from Create Next App 2022-03-18 13:41:55 -05:00