Skip to content

Fix session implementation for grantee reports system#431

Closed
BoltTouring wants to merge 538 commits into
feature/grantee-reportsfrom
fix-session-implementation
Closed

Fix session implementation for grantee reports system#431
BoltTouring wants to merge 538 commits into
feature/grantee-reportsfrom
fix-session-implementation

Conversation

@BoltTouring
Copy link
Copy Markdown
Contributor

Fix Session Implementation for Grantee Reports System

Overview

This PR fixes the Vercel deployment issues in PR #430 by implementing the missing session management functionality and fixing TypeScript errors.

Changes Made

  • Added iron-session package (version 8.0.4)
  • Created lib/session.ts with proper session management implementation
  • Added @ts-nocheck to the update-grant-issues.ts script to fix TypeScript errors
  • Implemented the necessary files for the grantee report submission system

Testing

  • Successfully built the application locally
  • Fixed all TypeScript and linting errors that were preventing deployment

This PR should be merged into the feature/grantee-reports branch to fix the deployment issues in PR #430.

dergigi and others added 30 commits January 3, 2024 12:20
Project was listed for over a year and is to be removed as per grant
agreement.
Project was listed for over a year and is to be removed as per grant
agreement.
Project was listed for over a year and is to be removed as per grant
agreement.
Small changes in style and wording.
* feat(dez): update bio

* feat(dez): link to volunteers

* feat(about): add volunteer@opensats.org email
* Add blog post skeleton

* Add cover image

* Update text

* Update title & summary

* Rename files

* Update author field

* EOF
* adjust image props + remove deprecated props + use customStyle prop for opensat project cards

Signed-off-by: Bayer <bayernator@protonmail.com>

* add padding bottom to Explore Projects subtext section

Signed-off-by: Bayer <bayernator@protonmail.com>

* run prettier

Signed-off-by: Bayer <bayernator@protonmail.com>

* Set object-fit based on orientation of image - horizontal requires fill to look good

Signed-off-by: Bayer <bayernator@protonmail.com>

* prettify it all

Signed-off-by: Bayer <bayernator@protonmail.com>

---------

Signed-off-by: Bayer <bayernator@protonmail.com>
* Add timeframe to email msg

* Add contact information

* Fix: applications@opensats.org after /apply
* Use showcase@opensats.org instead of form

* Remove /apply/to-be-listed

* Link to /selection

* Add link to grant selection process

* Remove link to /to-be-listed

* Reword FAQ

* Delete WebsiteApplicationForm.tsx

* Fix imports
Remove "Project Listing" Wording
* Add 1st draft

* Add link to https://ln.rene-pickhardt.de/

* Reword & add links to BitMEX

* Remove renepay

* Link to StackOverflow question

* Fix publication date

* Add cover image
Very minor changes, feel free to merge after review @lucasmogu
* 1st draft of 0xB10C blog post

* fix: grantee feedback

* fix: feedback from grantee

* fix: authors

* feat: add cover image

* feat(post): use nym instead of twitter handle

* fix: date

* fix: authors
chase-west and others added 28 commits February 6, 2025 12:47
One small correction and one suggestion to the section about "how to increase funding chances"
What does it mean to produce work under a free and open-source license?
* Fix anchor linking

Pointed out by Jon Atack.

Change wording on ToC for last linke to match wording on last FAQ on page to scroll/jump properly.

"...what do I do?" --> "... whom should I email?"

* Fix ToC, not headline

---------

Co-authored-by: Gigi <dergigi@pm.me>
* Skeleton

* Add 1st draft

* Add header image

* Update image file name

* Add .mdx file format

* Edit to add space before self-closing tag

* again: edit to fix donate to ops budget button

Removed "Budget"

* Edit authors

* Edit to remove erroneous ">" symbol from quote.

* Simplify final paragraph

"Don't make me think!"

* Remove closing quotation mark (duplicate)

* Blockquote formatting

* Remove duplicate (HRF)

* Remove "at the HRF" (it's implicit)

* Formatting

* Update `bonusUSD` in ops.mdx

---------

Co-authored-by: Gigi <dergigi@pm.me>
* Update occupation

* Refresh bio

* Refresh bio>> added a word
* Set up wording for recurring donations

* Reword

* Add button for recurring donations

* Improve button styling

* Better wording

* Add text; remove links

* Simplify

Don't make me think!

* Improve button appearance on hover

* Copy edits

Co-authored-by: ARVIN <141419722+Arvin21M@users.noreply.github.com>

* Update stripe link to recurring

* Don't hide button border on hover

* Copyedit

Co-authored-by: ARVIN <141419722+Arvin21M@users.noreply.github.com>

---------

Co-authored-by: ARVIN <141419722+Arvin21M@users.noreply.github.com>
* restucture /tags directory; create dynamic routes for /tags/tag/tag2

* filter posts for up to two tags; prettify

* clean up comments, rename variables e.g. x/y to path

* add all combinations of tag1/tag2 routes

* remove dual tag UI functionality
* Skeleton

* Add Draft

* Header image

* Remove double quotation marks

* Add image file name to skeleton

* Edit ToC to match relevant H3

* Payjoin V2 --> Async Payjoin

https://github.com/OpenSats/website/pull/411/files#r1970702828

Co-authored-by: Dan Gould <d@ngould.dev>

* Add "synchronous" for better context.

Per Grantee feedback.

Co-authored-by: Dan Gould <d@ngould.dev>

* Edits for better clarity and relevance.

https://github.com/OpenSats/website/pull/411/files#r1970707409

Co-authored-by: Dan Gould <d@ngould.dev>

* Update wording to better match projects current live implementation.

Per Grantee feedback.

Co-authored-by: Dan Gould <d@ngould.dev>

* Enhance --> preserve

Per Grantee feedback.

Co-authored-by: Dan Gould <d@ngould.dev>

* Update ToC to match H3 for Payjoin pt. 2

* Edit: Josi --> Josie

Per Grantee feedback & confirmation.

Co-authored-by: Jon Atack <jon@atack.com>

* Update Title & Meta Summary

Per Gigi feedback.

* Update author array to reflect reality

* Update publication date

* Auto-update ToC

* Fix punctuation

* Use monthly button for a change

* Author order

* `rust-bitcoin` formatting

* Link formatting

* Add links to bitcoin optech

(some folks might want to dig deeper)

* Shorter section heading

---------

Co-authored-by: Dan Gould <d@ngould.dev>
Co-authored-by: Jon Atack <jon@atack.com>
Co-authored-by: Gigi <dergigi@pm.me>
Edits

Josi -> Josie + Edit OS URL to OS relative link
* Revert "Open applications again (#379)"

This reverts commit 0b59ba3.

* Link to 2024 report

* Switch header link to /donate

* Adjust wording of closing notice

(remove EOY language)
* npm i public-google-sheets-parser

* Create LifetimeStats.tsx

* Add to MDXComponents

* Render in /transparency

* Extract label & value

...and do an ugly design

* `formatNumber`

* Prettier widget design

(basically copied from Jason's PR)

* Add `$` sign & move ~
* Introduce "Reports & Statistics" section

* Add link to impact reports
* Skeleton

* Add 1st Draft

* Add Header Image

* Update image file name in skeleton

* Add parenthesis

* add mailto per Bayer

Co-authored-by: Bayer <55212954+Bayernatoor@users.noreply.github.com>

* Add missing punctuation

* Update grant project licenses

* Move paragraph up

* Convert to bullet point list

* Minor edits

* Update publication date

* Remove advertisement language

* Uppercase -> lower case

* Edit url destination

Co-authored-by: Amiti Uttarwar <amiti@uttarwar.org>

* Small phasing edit

Co-authored-by: Amiti Uttarwar <amiti@uttarwar.org>

* Update publication date

---------

Co-authored-by: Bayer <55212954+Bayernatoor@users.noreply.github.com>
Co-authored-by: Gigi <dergigi@pm.me>
Co-authored-by: Amiti Uttarwar <amiti@uttarwar.org>
Add PGP Public Key + Fingerprint
* Skeleton

* Add 1st Draft

* Update header image file name in skeleton

* Upload header image file

* Adjust date to not be in the future>>to enable build preview

* Update date again>>2nd try at getting build preview using date

* Fix filename (missing .mdx)

* Edit: was >> has been

Co-authored-by: Jon Atack <jon@atack.com>

* Update date & author field

---------

Co-authored-by: Gigi <dergigi@pm.me>
Co-authored-by: Jon Atack <jon@atack.com>
* Add two new items to website faq/grantee

Q: What should I do if I feel overwhelmed while working on my projects?

If you're feeling overwhelmed, reach out to us at support@opensats.org and let us know. Alternatively, our grantee [Waye](https://www.waye.dev/about) offers structured support to help developers manage stress and avoid burnout through programs with group discussions, coaching, and reflection tools. You can reach them at [waye.dev@gmail.com](mailto:waye.dev@gmail.com)

Q: Can you help set up a dedicated non-profit foundation for my project?

A: OpenSats does not provide this service, but our grantee, the [Foundation Formation Kit](https://docs.foundationformationkit.org/), offers guidance and documentation on setting up a non-profit for open-source projects.

* Copy edits

* Update ToC

---------

Co-authored-by: Gigi <dergigi@pm.me>
* add blog image to home page

* prettier

* make image larger, overlay text in white

* adjust date alignment, add sr-only element back in

* adjust date alignment

* adjust date alignment

* add link to blog image
Revert "Close applications (#416)"

This reverts commit c68e4c0.
* add question for number of years dev experience on application forms

* revert inadvertent change to line 392 in GrantApplicationForm (disabled={true || loading})

* edit api/github.ts to add number of years experience, update text box position on application form

* prettify

* wording edit

* Apply suggestions from code review

* Attempt to fix prettier issue

---------

Co-authored-by: Gigi <109058+dergigi@users.noreply.github.com>
* Add Skeleton

* Add 1st Draft

* Add Header Image

* Update image file name

* Slight editing for better "flow"

* Update chachi repo URL

Co-authored-by: Bayer <55212954+Bayernatoor@users.noreply.github.com>

* Formatting

---------

Co-authored-by: Bayer <55212954+Bayernatoor@users.noreply.github.com>
Co-authored-by: Gigi <109058+dergigi@users.noreply.github.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
os-website ❌ Failed (Inspect) Mar 28, 2025 2:48am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants