Commit Graph

173 Commits

Author SHA1 Message Date
renovate[bot]
ec0f816b0e fix(deps): update dependency @edx/frontend-platform to v1.1.4 (#131) 2019-12-02 15:05:42 -05:00
renovate[bot]
c863e53855 chore(deps): pin dependencies (#119) 2019-12-02 10:17:02 -05:00
edX Transifex Bot
f4811efe66 fix(i18n): update translations 2019-12-01 16:08:23 -05:00
Adam Butterworth
ea37cf01dd feat: upgrade to frontend-platform (#126)
* feat: upgrade to frontend-platform

* Upgrading frontend-platform and re-generating package-lock.json

* Enabling duplicate_provider check again

* overrideHandlers.loadConfig -> handlers.config
2019-11-25 12:35:02 -05:00
David Joy
15d8836a8c fix: all account settings page elements now re-localize when the locale changes (#125)
- Ceased using i18nReducer and setLocale from frontend-i18n.
- Caused a number of dropdown menus to re-localize properly.
- Published LOCALE_CHANGED event when changing locale so that AppProvider updates the AppContext accordingly.
2019-11-20 16:54:21 -05:00
David Joy
05ea18f70d Small refactor to make updating the site language sequential (#124)
We were calling the setlang and preferences endpoints in parallel - it’s not clear whether this might create a race condition.  Instead, we now call preferences first, followed by i18n/setlang.  This matches the behavior of the django-based account settings page.
2019-11-13 14:16:20 -05:00
David Joy
cca4af7cc1 fix: adding underlines into JumpNav again (#123) 2019-10-31 12:52:13 -04:00
edX Transifex Bot
b1a5f98541 fix(i18n): update translations 2019-10-27 17:03:19 -04:00
David Joy
8020ff58b8 Adding frontend-base (#120)
* Use the new header and footer.

Note: Because we’re not fully using frontend-base yet, the header is broken.  It’ll start working once frontend-base’s App singleton is properly initialized.

* Initializing the app via App.initialize

- Removes App component
- Cleans up environment configuration - SUPPORT_URL is the only custom env variable.
- Cleans up usage of SUPPORT_URL and LOGOUT_URL to take advantage of App.config.

* Convert delete-account service to use App.

* Using App for services and cleaning up associated code.

Also pulling out the frontend-auth shim, since it was also dead and was sorta API-service like.

* Cleaning up “common” and some dead code.

- Most of it goes into account-settings for now.
- Shuffling the “utils” files around to classify them better.
- Removing unused assets

* Moving files into data subdirectory in account-settings

Including all the utils stuff.

* Moving top level reducers/sagas into a data dir

* Fix import bug with sagaUtils

* Removing connected-react-router

* Ceasing to use authentication and configuration from redux

Also removing some unnecessary test config.

* Updating redux init to default to prod.

Also fixing a bug where it wasn’t going into prod mode at all.

* Moving the duplicateTpaProvider logic out of redux

This lets us stop setting initial state on redux.

Also removing url-polyfill.

* A little cleanup.

* Remove default exports to keep the pattern the same.
2019-10-25 12:45:37 -04:00
Robert Raposa
569099e88a Merge pull request #121 from edx/robrap/cleanup-readme
clean up readme
2019-10-24 11:50:05 -04:00
Robert Raposa
90260ec263 clean up readme 2019-10-23 12:25:23 -04:00
David Joy
5ca2b801c7 Fixing newlines. 2019-10-21 12:31:17 -04:00
David Joy
149cce731d Convert to using frontend-build. (#118)
Goodbye dependencies!  Goodbye config!
2019-10-21 12:30:24 -04:00
Adam Butterworth
274af6c2e5 fix: remove youtube logo from footer (#117) 2019-10-16 14:29:24 -04:00
David Joy
9cdf40f1bb doc: update readme (#116) 2019-10-11 18:07:56 -04:00
David Joy
22e855702c node 12 and cleanup (#115)
- cleaning up .travis.yml
- bumping node-sass
2019-10-11 15:28:41 -04:00
David Joy
c566b157d9 Add favicon, run npm audit fix, and remove CSRF_TOKEN_NAME (#114)
* Adding a favicon

* Running npm audit fix

* Removing CSRF_COOKIE_NAME
2019-10-11 15:03:29 -04:00
albemarle
d124a91688 chore: use AGPLv3 instead of GPLv3 (#113) 2019-08-21 14:56:14 -04:00
edX Transifex Bot
5c578af96c fix(i18n): update translations 2019-08-13 14:18:12 -04:00
Robert Raposa
3076227249 Merge pull request #111 from edx/abutterworth/upgrade-auth
fix: upgrade frontend-auth
2019-07-30 17:07:35 -04:00
Adam Butterworth
5cb1947a69 fix: upgrade frontend-auth 2019-07-30 14:54:00 -04:00
edX Transifex Bot
39cd052a81 fix(i18n): update translations 2019-07-21 17:02:20 -04:00
Douglas Hall
bfbcdf7ea0 Send event when discover new header link clicked (#107)
Send event when discover new header link clicked
2019-06-26 13:11:56 -04:00
Douglas Hall
68928291bc Send event when discover new header link clicked 2019-06-25 17:42:02 -04:00
edX Transifex Bot
917f7cb486 fix(i18n): update translations 2019-06-16 17:07:52 -04:00
Douglas Hall
d2ff8e1eec Merge pull request #105 from edx/douglashall/ARCH-903_905
Update header links.
2019-06-12 14:22:38 -04:00
Douglas Hall
29269fcdbb Update header links. 2019-06-12 11:29:57 -04:00
Douglas Hall
ea8b435c35 Merge pull request #104 from edx/douglashall/ARCH-873_2
Fix identityAuthenticatedUser call.
2019-06-12 10:39:52 -04:00
Douglas Hall
23e6ca6bc4 Fix identityAuthenticatedUser call. 2019-06-12 10:29:00 -04:00
albemarle
23f54949e8 fix(i18n): make detect_changed_source_translations work for both push and pull jobs (#103) 2019-06-11 12:21:35 -04:00
edX Transifex Bot
f43bc5597c fix(i18n): update translations 2019-06-09 17:02:59 -04:00
David Joy
481e38c308 Bump frontend-i18n version and use its scripts. (#100) 2019-06-07 11:13:11 -04:00
Douglas Hall
0a7d449c09 Merge pull request #101 from edx/douglashall/upgrade_analytics_1_0_4
Upgrade frontend-analytics to 1.0.4.
2019-06-06 16:27:48 -04:00
Douglas Hall
2acc15eaa6 Upgrade frontend-analytics to 1.0.4. 2019-06-06 16:19:55 -04:00
Douglas Hall
92fd7c4baa Merge pull request #99 from edx/douglashall/improve_error_boundary
Render ErrorPage component via app-level error boundary.
2019-06-06 14:10:40 -04:00
Douglas Hall
0d61d09ddd Render ErrorPage component via app-level error boundary. 2019-06-06 14:00:31 -04:00
David Joy
223ea212bc Adding tests for delete account. (#98)
- comprehensive reducer tests
- UI snapshot tests for most (all?) states
2019-06-06 09:40:35 -04:00
Douglas Hall
58519e5d7f Merge pull request #97 from edx/douglashall/ARCH-904_3
Handle Google Translate DOM manipulation error scenario.
2019-06-05 15:43:23 -04:00
Douglas Hall
4132963bfb Handle Google Translate DOM manipulation error scenario. 2019-06-05 15:34:01 -04:00
David Joy
bbe2a6ab49 Get correct path to tpaProviders. (#96) 2019-06-05 13:35:54 -04:00
David Joy
defd969a80 Fix third party auth naming issues (#95)
Two problems:

- The auth providers were being added to the wrong part of the store.
- The ThirdPartyAuth component expected them to have the name “providers”, not “authProviders” - great reason to keep names consistent!
2019-06-05 13:15:44 -04:00
David Joy
d33cb658e2 Modularizing third party auth. (#93) 2019-06-05 12:25:16 -04:00
Douglas Hall
2ac911945c Merge pull request #94 from edx/douglashall/upgrade_analytics_1_0_3
Upgrade frontend-analytics to 1.0.3.
2019-06-05 11:19:07 -04:00
Douglas Hall
a7530f84aa Upgrade frontend-analytics to 1.0.3. 2019-06-05 11:13:59 -04:00
David Joy
15708b1154 Modularizing ResetPassword. (#92) 2019-06-05 11:06:56 -04:00
David Joy
c3749e9c7f Cleaning up delete account actions and action types. (#91) 2019-06-04 20:12:25 -04:00
David Joy
30914e6d6f Misc whitespace, deletions, and simplifications. (#90) 2019-06-04 17:31:19 -04:00
David Joy
78b5991c89 Modularizing DeleteAccount (#87) 2019-06-04 16:03:42 -04:00
Adam Butterworth
0ea87767af fix: async states for tpa disconnect is per provider not shared (#89) 2019-06-04 13:02:30 -06:00
Adam Butterworth
3e50222528 feat: add scrollspy to jump nav (#88) 2019-06-04 13:02:06 -06:00