- 15 Oct, 2020 2 commits
-
-
Hiro authored
-
peterh-gr authored
Hiro is having problems getting the build machine to work with node and/or yard, so this sets things up so we can build the JS on dev machines and check that in and then have the lektor build just use the JS from the repository instead of trying to build it on the build machine.
-
- 13 Oct, 2020 3 commits
-
-
peterh-gr authored
.htaccess-membership was only necessary on the tpo site which this site was cloned from. I rebased the lego branch, so this needed to be updated.
-
peterh-gr authored
This new lego has the packages installed locally.
-
peterh-gr authored
We'd like to not download packages from the internet on the build machine, so we are including all the packages here.
-
- 09 Oct, 2020 5 commits
-
-
peterh-gr authored
Moved the intro part of the cryptocurrency page into the body field so that it's editable. Issue #48280
-
peterh-gr authored
Three new HTML fields for editing the counter lables. They want to be able to include links so they aren't just strings. Issue #48277
-
peterh-gr authored
We are going to be using donate-api.torproject.org for the backend part of the donate site.
-
peterh-gr authored
I'm not sure they are going to use the debian package version of nodejs on their build machine, but I think so, so I want to set us up to use the same version for development.
-
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 6 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
-