Commit Graph

133 Commits

Author SHA1 Message Date
Artur
e0b53085bf fix(membership page): UI and validation bugs 2025-05-01 13:40:58 -03:00
Artur
f5e83e1b3e feat: coinbase commerce integration 2025-04-30 17:10:28 -03:00
Artur
573117d1a1 feat: project page improvements 2025-04-04 15:25:05 -03:00
Artur
d466e0ba16 Campaign page goal improvements 2025-04-03 12:45:24 -03:00
Artur
bc8c7938d4 Merge pull request #148 from MAGICGrants/terms-text
Minor updates to terms/text
2025-03-06 10:46:34 -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
Justin Ehrenhofer
2229646b56 Minor updates to terms/text 2025-03-03 12:54:59 -06:00
Artur
572ec2c51a feat: membership improvements (#146) 2025-03-03 10:42:10 -06:00
Artur
5346b0a48d Merge branch 'master' into pg-account-link 2025-01-13 19:51:12 -03:00
Artur
61a7c09127 feat: ability to get membership atestations from membership history page 2025-01-09 16:46:07 -03: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
e4887b04ae feat: membership flow and UI improvements 2025-01-07 15:42:25 -03:00
Artur
aa46b7b8e6 feat: add option for connecting PG forum account in settings page 2024-12-30 21:19:35 -03:00
Artur
9b5e8ac48a feat: move donation, membership and perk forms to a dedicated page, and minor ui improvements 2024-12-17 15:46:44 -03:00
Artur
4391847af8 feat: add leaderboard 2024-12-13 11:20:36 -03:00
Artur
15e2840a96 feat: reset turnstile on form submit 2024-12-10 13:37:59 -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
Justin Ehrenhofer
be0a3cef87 Mention perks 2024-12-03 18:20:46 -06:00
Artur
e062637d8e fix(donation form): hide perks option when not logged in 2024-12-03 20:29:31 -03:00
Artur
08197e81fe fix(perks): images not showing up in perks page 2024-12-03 20:25:59 -03:00
Artur
e26a76fe0d feat(perks): add "View product details" link to perk modal 2024-12-03 20:16:00 -03:00
Artur
d10f8dc5c0 feat(perks): add image carousel 2024-11-29 12:36:51 -03:00
Artur
845b458800 feat: correctly color loading spinners 2024-11-27 11:35:36 -03:00
Artur
c2888896c3 feat(perks): UI improvements 2024-11-27 11:35:20 -03:00
Artur
392af29043 Merge branch 'master' into perks 2024-11-26 15:46:44 -03:00
Artur
21e10e3527 fix: properly make keycloak user updates 2024-11-26 14:29:09 -03:00
Artur
ea2aad58e5 feat(perks): form validation and ui improvements 2024-11-25 15:11:26 -03:00
Artur
b6b96a5c13 feat(perks): printful integration 2024-11-12 12:27:32 -03:00
Justin Ehrenhofer
e3ffae1f97 Additional fixes 2024-10-25 16:50:41 -05:00
Justin Ehrenhofer
f7792a5a14 Improve donation text 2024-10-25 16:46:00 -05:00
Artur
e8f011deb4 feat: keep points history in strapi and move perks to its own page 2024-10-24 14:39:11 -03:00
Artur
f08e474ebc Merge branch 'master' into perks 2024-10-18 16:25:48 -03:00
Artur
086d019d06 feat: change "fiat" to "card" in membership form 2024-10-18 10:00:01 -03:00
Justin Ehrenhofer
9937b6d9c4 Change "fiat" to "card" 2024-10-17 15:16:25 -05: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
fdaf39aabb feat(perks)" improvements and fixes 2024-09-26 17:15:31 -03:00
Artur
a3a57c514f feat: perk purchase (wip) 2024-09-25 17:04:13 -03:00
Artur
73621b611a feat: add earn points option to donation form and implement points tracking 2024-09-20 20:04:04 -03:00
Artur
efed20106a feat: support many social links 2024-09-16 21:42:32 -03:00
Artur
a1ea4e953e feat: have only one privacy and terms page for the entire site 2024-09-12 16:48:15 -03:00
Artur
3a271f9355 feat: show form 8283 info in donation form and handle tax deductible donations 2024-09-12 16:11:16 -03:00
Artur
d0db567660 feat: add missing titles and responsiveness improvements 2024-08-23 14:11:54 -03:00
Artur
b37124701a feat: add home page 2024-08-22 20:39:29 -03:00
Artur
7433c2e72f feat: add different color schemes for each fund and some fixes 2024-08-19 17:22:55 -03:00
Artur N
21e71f679c feat: multiple funds support 2024-08-15 19:09:24 -03:00
Artur N
5d3e22865e feat: open register modal when clicking membership button while logged out 2024-08-12 21:51:03 -03:00
Artur N
f164fa8858 feat: re-add "donate" and add "get annual membership" buttons to project page 2024-08-12 20:04:21 -03:00
Artur N
b533f48088 feat: db schema changes and webhook fixes 2024-08-12 14:34:18 -03:00
Artur N
7b63490781 feat: memberships list page and fixes 2024-08-08 20:14:06 -03:00