Commit Graph

192 Commits

Author SHA1 Message Date
Adam Butterworth
511c8addab feat: update frontend-auth which eliminates unneeded error logging (#171) 2019-05-08 14:24:33 -06:00
albemarle
89e77ee8c9 fix(i18n): manually update messages file (#170) 2019-05-06 17:10:45 -04:00
albemarle
a86b131242 build: validate i18n (#169) 2019-05-06 10:47:47 -04:00
Adam Butterworth
0f72a5d5b0 fix: upgrade frontend auth (#168)
* fix: delay closing a form on success so a user can read the message

* fix: update test

* fix: upgrade frontend-auth to stop logging login redirects as errors
2019-05-02 15:23:39 -04:00
Adam Butterworth
63880ae05a fix: delay closing a form on success so a user can read the message (#167)
* fix: delay closing a form on success so a user can read the message

* fix: update test
2019-05-02 14:07:53 -04:00
Robert Raposa
64c12679b7 update frontend-auth for real
I thought this was pulled in in the last commit, but I made a mistake.

ARCH-687
2019-04-26 16:26:06 -04:00
Robert Raposa
359330645f update frontend-logging and frontend-auth
- The logging service is now configured and used via an interface,
rather then from the concrete implementation.
- The logging service is passed to frontend-auth.

ARCH-687
2019-04-26 16:04:02 -04:00
Robert Raposa
5064e5f050 add sourcemaps for dependencies
ARCH-587
2019-04-24 17:02:33 -04:00
Douglas Hall
638d7345a5 ARCH-642 Add Order History header menu link. 2019-04-24 14:26:57 -04:00
David Joy
3f411f3795 Miscellaneous updates to the boilerplate code. (#161)
Based on changes/things I noticed when putting together the frontend-app-account repository.
2019-04-23 15:52:32 -04:00
Adam Butterworth
9eeb61cef8 fix: loading of certificate images (#159)
Remove extra loader from webpack for svgs. Was svgr, url, and file. url and file together was creating problems.
2019-04-23 10:02:25 -07:00
Robert Raposa
4c663fe513 upload source maps to newrelic
ARCH-587
2019-04-23 10:43:37 -04:00
Adam Butterworth
3b01e4b8f7 fix: remove use of URL which is unsupported in IE 11 (#158) 2019-04-17 11:53:15 -04:00
David Joy
1156d8e3a4 URL != Url (#157)
Pass the correct properties, sir.
2019-04-16 12:22:11 -04:00
David Joy
d009d5ce6c Organize application according to semantic modules. (#153) 2019-04-16 11:46:20 -04:00
Adam Butterworth
14023dbf32 refactor: upgrade edx-bootstrap to published version 2.0.0 (#156) 2019-04-12 17:32:08 -04:00
Adam Butterworth
ca66f20233 fix: make intl.formatMessage more resilient (#155)
* fix: shim injectIntl hoc to prevent errors with undefined
* refactor: add i18n-loader exports to i18n/index
* fix: add NewRelic logging
2019-04-12 17:28:51 -04:00
Adam Butterworth
8ff7c822f3 fix: get profile photo changes from calls back into redux store (#154)
* fix: get profile photo changes from calls back into redux store
* test: update profile actions test
2019-04-12 14:39:47 -04:00
Adam Butterworth
ae3737ef7c feat: upgrade frontend-logging to show errors and logs in dev console (#150)
* feat: upgrade frontend-logging to show errors and logs in development console

* fix: version bump for frontend-logging
2019-04-12 14:39:13 -04:00
Douglas Hall
ff9ddb54ed Upgrade frontend-auth and conform to new signature of ensurePublicOrAuthenticationAndCookies. 2019-04-11 11:38:48 -04:00
Robert Raposa
343e4cb062 use new frontend-analytics library
ARCH-517
2019-04-11 10:00:08 -04:00
Adam Butterworth
77ec435059 fix: locale loading user setting (#152)
* fix: fix locale loading from cookie

* fix: move parsing of two letter code to function
2019-04-10 16:44:13 -04:00
Adam Butterworth
7daf859622 fix: get two letter language code from cookie (#151) 2019-04-10 16:25:21 -04:00
Adam Butterworth
5e323338f4 feat: lookup language preference in cookie (#148)
* feat: lookup language preference in cookie

* fix: skip unsupported languages in user settings lookups
2019-04-10 16:09:51 -04:00
David Joy
348cd7a637 Redirect to error page on fetch user account failure (#147) 2019-04-10 14:18:42 -04:00
David Joy
1fcd236aa6 Compare the right usernames. (#146)
We can’t use isAuthenticatedUserProfileSelector before we’ve actually loaded the profile - the username will be null.  Instead, we want to compare the username of the profile we’re supposed to load with the username in the authentication part of the store.
2019-04-10 13:16:10 -04:00
David Joy
a51f08b065 Reuse userAccount data for profile if possible. (#142)
* Removing rename of “levelOfEducation” to “education”

It caused the user account and profile data to diverge, and we want to use the same data for both at the moment.

* Reuse userAccount data for profile if possible.

Don’t make a separate request to fetch the user profile if we’ve already gotten it for the current user.
2019-04-10 12:06:50 -04:00
Adam Butterworth
f150842f6d fix: handle focus control better for opening and closing forms. (#144) 2019-04-10 12:04:16 -04:00
Adam Butterworth
9db03f705b fix: fix some new line wrapping issues on visibility selector (#145) 2019-04-10 11:53:08 -04:00
Adam Butterworth
b15ba32fe8 fix: design updates (#141)
* fix: add more spacing between sections

* fix: make empty content an inline-block button

* fix: make labels and headings have same line-height

* fix: make visibility selector and submit buttons on same line in large column

* fix: update the old blue to the new navy in the hero image

* fix: make underlines stay on hover for btn-links and not on others
2019-04-10 11:39:47 -04:00
Robert Raposa
fedff33c62 drop fork of html-webpack-new-relic-plugin
The update to NewRelic snippet was merged upstream, so we can now use
the upstream version again.
2019-04-09 16:08:44 -04:00
David Joy
9b6a5837d0 Render certificates after the visibility editing form. (#139) 2019-04-09 15:53:36 -04:00
Adam Butterworth
7f6ed5382f refactor: upgrade and use Paragon (#136)
* fix: upgrade paragon and use new components

* test: update snapshot to reflect minor dom changes

* fix: use transition replace from paragon

* refactor: remove unneeded class definition on EditButton

* fix: add missing margin next to pencil icon in edit button
2019-04-09 13:23:57 -04:00
Robert Raposa
7a7c7c5e3f prepare analytics for move to separate repo (take 2)
- Make analytics and segment files configurable from outside.
- Add checks for previously called identify on page/track.
- Add some additional parameters to tracking events.
- Note: fixes some loading/import issues from 'take 1'

ARCH-517
2019-04-09 12:47:12 -04:00
Robert Raposa
e1a55ea8e2 Revert "prepare analytics for move to separate repo"
This reverts commit 846cea82dd.
2019-04-09 10:40:21 -04:00
Robert Raposa
846cea82dd prepare analytics for move to separate repo
- Make analytics and segment files configurable from outside.
- Add checks for previously called identify on page/track.
- Add some additional parameters to tracking events.

ARCH-517
2019-04-09 08:29:06 -04:00
Douglas Hall
b3d43f3f91 Move LoggingService to npm package 2019-04-08 16:04:48 -04:00
albemarle
08d4983c0e fix(i18n): detect_changed_source_translations doesn't need any dependencies 2019-04-05 16:36:01 -04:00
edX Transifex Bot
c8ef101a2a fix(i18n): update translations 2019-04-05 16:13:12 -04:00
Adam Butterworth
599cbfc649 refactor: use raw html form elements (#123)
* refactor: use raw html for form elements

* test: update snapshot to reflect minor changes in html output

* refactor: replace all reactstrap with paragon or html

* test: update snapshot

* fix: add a noop to the button in async button if needed

This is a flaw in the Button component in Paragon. It calls props.onClick even if it doesn't exist.

* refactor: use classnames for toggling class names

* fix: remove unneeded ids. fix some form markup

* fix: update snapshot to reflect removed labels
2019-04-05 13:07:44 -04:00
David Joy
6ab28a8306 Allow languages and countries to be localized. (#125)
And also sort them by their localized values.
2019-04-05 10:42:36 -04:00
Douglas Hall
4277c742c9 Properly log request method and URL. 2019-04-04 15:52:32 -04:00
Douglas Hall
2483472f1c Attempt to log the entire error object on request errors. 2019-04-04 14:15:33 -04:00
albemarle
9c60190203 fix(i18n): add what we have in Arabic to test RTL (#130) 2019-04-04 11:56:39 -04:00
Adam Butterworth
e340fb2a84 fix: make the username bold (#129) 2019-04-04 10:41:31 -04:00
Douglas Hall
f9481dca11 Add request URL to request error logging. 2019-04-04 09:35:11 -04:00
albemarle
7e5199585d fix(i18n): translation jobs should check for a change (#127) 2019-04-03 16:24:48 -04:00
Douglas Hall
3405e0749a Add additional data to error logging. 2019-04-03 13:39:40 -04:00
Douglas Hall
3e44786332 Turn off RTL support for dev environment. 2019-04-03 13:03:36 -04:00
Douglas Hall
4f8e96e710 Add RTL capabilities. 2019-04-03 09:32:26 -04:00