Commit Graph

1850 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
e5abfa15ad Revert "fix: stop user code after 100ms of execution" (#37965)
This reverts commit 01b37f664f.
2019-12-21 11:09:32 +05:30
mrugesh
885c8edeb7 fix(donate): update copy of the support text (#37964) 2019-12-20 22:48:57 +05:30
Tom
a8a7eeb10d fix: make github url optional for backend projects (#37936) 2019-12-20 19:30:33 +05:30
Oliver Eyton-Williams
01b37f664f fix: stop user code after 100ms of execution (#37841)
Co-authored-by: mrugesh <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2019-12-20 19:28:17 +05:30
Ahmad Abdolsaheb
2e3a5d4b1f fix: adjust default theme for StripeCardForm 2019-12-20 19:10:42 +05:30
Mrugesh Mohapatra
e4590fed5c fix(donate): implement donate page 2019-12-20 19:10:42 +05:30
Oliver Eyton-Williams
6ef9345f92 fix: add close modal to keyboard navigation 2019-12-18 21:04:55 +05:30
Ahmad Abdolsaheb
1289d35435 fix: show default theme for donation related pages (#37956)
* fix: show default theme for donation related pages

* feat: add default theme to stripForm
2019-12-18 17:40:48 +03:00
Mrugesh Mohapatra
8db0f89634 fix(donate): remove isDontating check from year-end 2019-12-18 12:59:18 +03:00
Mrugesh Mohapatra
663f726c4e fix(donate): allow unauthenticated donations for year-end 2019-12-18 04:21:57 +05:30
Ahmad Abdolsaheb
fc25c281e4 fix: adjust cert logo and grid 2019-12-18 03:08:58 +05:30
moT01
81de7dfaf7 fix: make nav logo link to /learn 2019-12-18 03:07:46 +05:30
Ahmad Abdolsaheb
1cead2f086 feat(donate): add year end gift page 2019-12-18 02:48:03 +05:30
Parth Parth
9ad5a95197 fix: re-order and update sign in CTA styles on completion modal (#37884) 2019-12-16 17:10:55 +05:30
Tom
2dfd850de8 Fix: bad link on donate page (#37935)
* fix: donate page link

* fix: remove unneeded curly brackets
2019-12-14 22:19:38 +05:30
mrugesh
38160d6dd7 fix(donate): update message on the success (#37917) 2019-12-13 16:05:59 +05:30
Mrugesh Mohapatra
fdb17223ec revert : Added displayUsername and username update functionality
removes implemenation from #35699
This reverts commit e154f38118.
2019-12-13 01:07:05 +05:30
Mrugesh Mohapatra
647e25aa7c fix(donate): update mesage on the modal 2019-12-12 20:18:32 +05:30
Ahmad Abdolsaheb
d7b7f0bfde fix: replace donate page 2019-12-12 20:18:32 +05:30
Ahmad Abdolsaheb
00f18dc21c chore: address review comments
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-12-12 20:18:32 +05:30
Ahmad Abdolsaheb
053dbfbba4 feat: add donation form to certificate 2019-12-12 20:18:32 +05:30
Ahmad Abdolsaheb
01d1315835 feat: add minimal form to modal 2019-12-12 20:18:32 +05:30
Derryk Boyd
85d3587e59 fix:remove additional certification from certs (#37910) 2019-12-12 11:16:10 +01:00
Oliver Eyton-Williams
d6c53eb914 fix(client): report cross origin errors (#37793)
* fix(client): report cross origin errors

This reports errors generated in cross origin scripts to the dev console
and lets the user know via the fcc console.

* refactor: clean up script error checks

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2019-12-11 17:59:19 +05:30
Catalina
e154f38118 Added displayUsername and username update functionality (#35699)
* Added displayUsername and username update functionality

* fix: move username assignment to safe place

moved the username assignment down a statement so that it doesn't cause exception 

* fix: handle missing username or displayUsername

* refactor: remove redundant code
2019-12-11 12:43:06 +01:00
Mrugesh Mohapatra
c40680b81e fix(client): remove donate settings page 2019-12-10 17:55:57 +01:00
Oliver Eyton-Williams
6a91f7c5b2 fix(client): add missing bootstrap container (#37905) 2019-12-10 17:38:16 +05:30
Ahmad Abdolsaheb
3f075f91d8 feat: activate progress based donation modal (#37882) 2019-12-09 22:00:24 +05:30
mrugesh
f1ddec3f9b fix(donate): hide legacy tiers (#37853) 2019-12-09 11:38:20 +05:30
Oliver Eyton-Williams
d40be9cbf2 fix: use util.inspect for more reliable logging (#37880)
The tests are probably overkill, but this way we will know if
util.inspect changes dramatically.
2019-12-06 08:37:10 -08:00
Ahmad Abdolsaheb
daf3a53e55 fix: optimize donation for mobile (#37803) 2019-12-06 10:30:53 +03:00
Ahmad Abdolsaheb
d7c4fd7fea fix: remove donation prevention (#37867) 2019-12-06 08:43:23 +03:00
Ahmad Abdolsaheb
a24ae88b2e fix: fix modal close contrast (#37848)
* fix: more fix
2019-12-03 00:08:43 +09:00
Ahmad Abdolsaheb
a9bbcda211 feat(donate):add donation modal and certification message (#37822)
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-12-02 15:48:53 +03:00
Oliver Eyton-Williams
c660b389a8 fix(donate): handle missing stripe keys (#37847)
* fix: gracefully handle missing stripe keys

* fix: remove state updates from render (donate)
2019-11-30 01:41:31 +05:30
mrugesh
81bb677def fix(donate): show message for legacy donors (#37844) 2019-11-30 01:39:45 +05:30
Derryk Boyd
3304b95213 fix: group help buttons (#37671) 2019-11-28 15:12:01 +03:00
Oliver Eyton-Williams
cd5131b07c fix: proxy console logs during test evaluation (#37809) 2019-11-27 23:08:03 +05:30
mrugesh
9886cf7ca2 fix(client,server): usernames should not be a http error code (#37804)
* fix(client,server): usernames should not be a http error code
* feat: reject invalid chars first

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-11-27 10:49:17 +05:30
mrugesh
1b61bceee7 feat(client): completion modal progress bar (#37836)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2019-11-26 22:14:44 +05:30
Ahmad Abdolsaheb
1d73575a59 Revert "feat(client): completion modal progress bar (#37775)" (#37835)
This reverts commit a8928739dd.
2019-11-26 18:30:08 +03:00
Tom
a8928739dd feat(client): completion modal progress bar (#37775)
* feat: add progress bar to completion modal

* feat: add stuff

* feat: finalize-layout-and-make-responsive

* feat: add feature to all challenge templates

* git test

* fix: remove challenge title + enlarge top message

* fix: move graphql query to completion modal

* fix: remove some previous additions

* fix: optimize functions

* fix: removed isRequired flag

* feat: add animation

* feat: add interval to state + clear on unmount

* fix: change around interval function

* feat: make bar fill non-linearly

* Update client/src/templates/Challenges/components/CompletionModal.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/components/CompletionModal.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/components/CompletionModal.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/redux/index.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/redux/index.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/redux/index.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/redux/index.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/components/CompletionModalBody.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/components/CompletionModalBody.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/components/CompletionModalBody.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix: remove bracket

* fix: tweak animation + change to pure component

* fix: remove comment

* Update client/src/templates/Challenges/components/CompletionModalBody.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/components/CompletionModalBody.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix: remove animateProgress

* feat: add tests for progress bar

* feat: add working tests

Co-authored-by: ojeytonwilliams <ojeytonwilliams@gmail.com>

* fix: add formatting

* fix: use content selectors where possible

* fix: make progress bar show 0 for unauthed users
2019-11-26 18:15:59 +03:00
Mathew Joseph
174af7fa66 feat(client): pagination on timeline (#37569)
* Implemented pagination on timeline

* Made requested change and removed outline from button

* fix: PropTypes and off-by-one error

* Keep buttons centered in all cases and give fixed height timeline table rows to prevent jerk while changing pages

* First and last page navigation and margin issue fix.

* Explicitly importing specific lodash functions

* Refactored timeline pagination into a separate file.

* Refactored timeline to have total Pages as prop and made text corrections.

* Added proptypes for total pages

* made changes to setState call for lastPage

* Made a11y changes
2019-11-23 12:06:13 -08:00
mrugesh
06a26861f6 fix(donate): unify layouts and navigation for consitency (#37795)
This commit updates the layouts and the styles to be consistent with the rest of the application. This also ensures now that the gatsby navigation is used for smoother transtions.
2019-11-21 15:00:22 +05:30
Mrugesh Mohapatra
b663c39901 fix(donate): fix computed hours donated for monthly donation
Closes #37786
2019-11-20 12:15:00 +05:30
Mrugesh Mohapatra
65e5b26fa1 fix(donate): update default donation amounts
Closes #37787
2019-11-20 12:15:00 +05:30
Mo Zargham
437ba8b103 fix(curriculum): Read-search-ask link now point to correct url as noted in the issue (#37753)
* fix: broken Read-search-ask link now point to correct url

* fix: changed link to original forum link with more views

* fix: changed http links to correct version

* fix: link in help modal
2019-11-19 19:54:48 -05:00
mrugesh
62aa54efba fix(donate): apply suggestions from code review
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-11-20 00:02:07 +05:30
Mrugesh Mohapatra
0bd66eaf82 chore: temporarily remove PayPal components
This commit should be reverted while implementing PayPal integration
2019-11-19 23:09:56 +05:30
Mrugesh Mohapatra
f30f8072b0 chore(donate): unify donation config
This commit can be further optimised to DRY out values
2019-11-19 23:09:56 +05:30