1. 21 Sep, 2020 2 commits
    • peterh-gr's avatar
      Refactored campaign counters · a94610ca
      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's avatar
      Corrected Stripe key for staging · 9aebaac0
      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.
  2. 19 Sep, 2020 2 commits
  3. 18 Sep, 2020 3 commits
  4. 17 Sep, 2020 2 commits
  5. 16 Sep, 2020 2 commits
    • peterh-gr's avatar
      Cleaned up some javascript stuff · 11631615
      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's avatar
      Added redirect URL field to donate page · b5b85c4f
      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
  6. 15 Sep, 2020 1 commit
  7. 11 Sep, 2020 1 commit
  8. 09 Sep, 2020 16 commits
  9. 08 Sep, 2020 1 commit
  10. 07 Sep, 2020 1 commit
  11. 04 Sep, 2020 1 commit
  12. 02 Sep, 2020 1 commit
  13. 31 Aug, 2020 7 commits