- 09 Oct, 2020 1 commit
-
-
peterh-gr authored
They want to be able to change the t-shirts. A lot of the t-shirt stuff is sort of hard-coded, but we can change the lables pretty easily as long as it's undrstood that the names don't get changed on the back end.
-
- 02 Oct, 2020 1 commit
-
-
Stephanie Kirtiadi authored
Before redirecting to thank you page, we have a loading modal after successful paypal payment on the initial donate.torproject.org non-react landing page. We want to also include that. Issue #48515
-
- 30 Sep, 2020 1 commit
-
-
Stephanie Kirtiadi authored
Ported from the donate site. Now redirects to /donate-thank-you page (specified in the donate server) until /cryptocurrency-thank-you page is built. Issue #48280
-
- 29 Sep, 2020 5 commits
-
-
Stephanie Kirtiadi authored
Apparently passing a text with escaped character will be automatically escaped again by react. https://shripadk.github.io/react/docs/jsx-gotchas.html Issue #48617
-
Stephanie Kirtiadi authored
Check the stripe errors only if the payment method is credit card on submit. Issue #47847
-
peterh-gr authored
Trying to keep the Javascript separate from the HTML.
-
Stephanie Kirtiadi authored
Credit card errors now appear at the same time as the other errors, which is during form submission. Issue #47847
-
Stephanie Kirtiadi authored
For html and js clarity as per code review. Issue #48613
-
- 25 Sep, 2020 1 commit
-
-
Stephanie Kirtiadi authored
As per code review. Issue #48277
-
- 24 Sep, 2020 1 commit
-
-
Stephanie Kirtiadi authored
This styling is for the overlay on the donate page while waiting for the payment processor. Issue #48515
-
- 23 Sep, 2020 1 commit
-
-
Stephanie Kirtiadi authored
Issue #48277
-
- 22 Sep, 2020 1 commit
-
-
peterh-gr authored
The production one has the leading zeros stay grey. Issue #48277
-
- 21 Sep, 2020 2 commits
-
-
peterh-gr authored
I wanted to reduce the amount of props passing between the components and combine the character component into one, simpler component. We want the counter to keep updating indefinitely on the page. It should check for new totals every 5 seconds. Issue #48277
-
peterh-gr authored
The staging.donate.torproject.org uses the test key in the "torproject.org" account, not the test key in the "Tor Project Donations" account (which is the account they use for real donations) for some reason.
-
- 19 Sep, 2020 2 commits
-
-
Stephanie Kirtiadi authored
Added donate-empty.html and donate-page model for miscellaneous static donate page. This particular commit is for the donate thank you page. Issue #48276
-
Stephanie Kirtiadi authored
Added vertical distance between error box and Donate button on the donate page. Issue #47847
-
- 18 Sep, 2020 3 commits
-
-
Stephanie Kirtiadi authored
As per conversation with Richard and Peter to be applied on the donate page. Issue #48575
-
Stephanie Kirtiadi authored
Images for options follow the tshirt pack images for now because there is only 1 option for T-Shirt pack. Addition of options need code change in the future. Issue #48273
-
Stephanie Kirtiadi authored
Added by mistake, no longer needed when counter on donate page is made with React. Issue #48277
-
- 17 Sep, 2020 2 commits
-
-
Stephanie Kirtiadi authored
As per code review feedback to remove confusion. Issue #48275
-
Stephanie Kirtiadi authored
Part of the porting of donation site to the main Tor site. This counter will need to request to the donate server and if the field is checked, the counter will show up on the donate page. Issue #48277
-
- 16 Sep, 2020 2 commits
-
-
peterh-gr authored
Added 'Accept: application/json' to the fetch headers which causes Slim to return errors as JSON so we can output the errors nicely. Added --no-hmr to the parcel watch because it's not working and I don't want to spend time to figure it out right now. Moved all the Javascript in donate-form out of the div that gets used for the React component because that gets entirely replaced by the React component which has been working, but I think it's weird and for debugging its nicer if you can see the original Javascript in the DOM in the browser.
-
peterh-gr authored
We want to be able to redirect to a different thank you page for some donate pages. It will default to /donate-thank-you, but otherwise you can put in any full URL. Issue #48274
-
- 15 Sep, 2020 1 commit
-
-
Stephanie Kirtiadi authored
Part of porting donate site to main Tor site. This allows adding centered header image on donate pages. Issue #48275
-
- 11 Sep, 2020 1 commit
-
-
Stephanie Kirtiadi authored
Issue #48273
-
- 09 Sep, 2020 15 commits
-
-
peterh-gr authored
It needed to be modified to permit cookies in the cross-site requests with fetch and also needed to use the donateProccessorBaseUrl for calling the endpoints on the donate site. Also removed some of the pre-react js files that we don't need any more. Issue #47134
-
peterh-gr authored
-
The default of button onClick would be submit otherwise. Issue #47847
-
Now Lektor users can change the values on the buttons from the GUI Issue #48272
-
-
Issue #45540
-
Moved the styling in lego. Issue #45540
-
Issue #45530
-
The lektor donate pages should request to the donate site urls to process payment and get captcha image. In Progress. Issue #45530
-
In preparation to bring donate site to the main Tor lektor site. Doesn't include styling and payment processing. Issue #45541
-
We want to be able to create some different donate forms with different settings on different pages. This is the bare bones of that with just one field called frequency that decides whether it's a monthly form, a single form, or both. It still needs to be hooked up to the React component in order to work. Issue #45066
-
peterh-gr authored
We want to use test keys for Paypal and Stripe when in dev or staging environments, so I set things up to work based on the LEKTOR_ENV environment variable. I wanted to make the environment variable optional for dev environments, but I'm using the lektor-envvars plugin and it throws an error if the environment variable doesn't exist. Issue #45066
-