Commit Graph

83 Commits

Author SHA1 Message Date
David Joy
23fc0a1ec0 fix: adding semantic release script (#264)
* fix: adding semantic release script

* build: organize imports

And remove some unused ones.
2019-09-24 14:24:53 -04:00
David Joy
4802da816b feat: publish profile module as an npm module (#263)
* feat: publish profile module as an npm module

* fix: add semantic-release for publishing
2019-09-24 13:03:22 -04:00
David Joy
8f37cc1a8d Organize the repo and export profile module properly (#262)
* Moving files to their new homes.

Subsequent commit will wire everything up again.

* Relink files and split stylesheet.

Requires adding resolve-url-loader to fix sass import relativity.

* Remove browserslist warning.

* Remove the need for ProfileMain

* Fix test issues - needed thunk.
2019-09-23 13:50:56 -04:00
David Joy
9b126281f1 fix: updating profile to use latest frontend-base (#259) 2019-09-23 11:56:05 -04:00
Adam Butterworth
cd2bee4686 feat: add open edx header (#254)
* feat: add open edx header

ARCH-1151: Add the open edx header. edX pipelines should be configured to override it with the edx header in the deployment pipeline

* fix: upgrade frontend-base for merge messages update

* Update package.json

* Update package.json

* Update package-lock.json
2019-09-18 14:36:54 -04:00
David Joy
5ac0558a92 Use frontend-base! (#220)
* Adding frontend-builder and frontend-core stubs

* gatsby stub added

* Remove gatsby stuff.

* Reorganization of top level app.

Some naming TBD.

* Review feedback.

* Various config improvements

- Adding APP_ERROR handler for top level errors.
- Splitting footer config out of main app config.
- Simplifying config variables and deriving some from others in the files that need them.

* Use App.error()

* Improving exports/imports from frontend-core

* Moving header and footer out of src.

Getting rid of “common”

* Setting authentication directlty from App.authentication in AppProvider.

* Switching over to using frontend-base.

Updating a bunch of dependencies to their latest versions in the process.

* Bumping versions of frontend-base and frontend-auth

* Getting tests working again.

* Addressing review feedback and bumping to a newer version of frontend-base.

* Removing unneeded eslint disable lines.

* Updating usage of frontend-logging to remove deprecated method names.

* Bumping node-sass version to 4.12.0 - hopefully fixes node 12 build

* css-loader now requires cssnano for minification

* fix: couldn’t set preferred language visibility.
2019-09-16 16:49:16 -04:00
renovate[bot]
2b280f12fc chore(deps): update dependency autoprefixer to v9.6.1 (#224) 2019-09-09 16:13:31 -04:00
renovate[bot]
30ba089416 chore(deps): update dependency @svgr/webpack to v4.3.2 (#222) 2019-09-09 13:16:11 -04:00
renovate[bot]
e19e02c6d5 chore(deps): update dependency new-relic-source-map-webpack-plugin to v1.2.0 (#218) 2019-09-09 13:15:53 -04:00
renovate[bot]
c60b43dbde fix(deps): pin dependencies (#217) 2019-09-09 09:47:38 -04:00
Adam Butterworth
899554d412 fix: upgrade frontend-auth (#215) 2019-07-30 15:54:59 -04:00
Robert Raposa
f8b570b8d3 temporary addition of debugging info for auth state
Looking into an issue where the auth state might not match.  This is
a temporary change that should ultimately be reverted once the issue
is fully involved.

This includes an upgrade to @edx/frontend-logging which does not need
to be reverted.

ARCH-982
2019-07-27 13:07:25 -04:00
Douglas Hall
30ce220eb3 Send event when discover new header link clicked 2019-06-26 13:00:23 -04:00
Douglas Hall
f0fd8865c8 Fix identityAuthenticatedUser call. 2019-06-12 10:39:25 -04:00
David Joy
a4dc1bcdf8 Update frontend-i18n version and use scripts. (#203) 2019-06-07 11:13:58 -04:00
Douglas Hall
891cb29f01 Upgrade frontend-analytics to 1.0.4. 2019-06-06 16:27:24 -04:00
Douglas Hall
cd3e0e3ede Upgrade frontend-analytics to 1.0.3. 2019-06-05 11:19:31 -04:00
Douglas Hall
75431fe398 Upgrade frontend-analytics to 1.0.2. 2019-06-04 11:40:44 -04:00
Adam Butterworth
14dbceb9b1 feat: use postcss to handle rtl (#194)
* feat: use postcss to handle rtl

* fix: move autoprefixer into webpack config file

* fix: update i18n package
2019-06-03 13:19:07 -06:00
Douglas Hall
9572f6d3f0 Upgrade frontend-auth to 5.3.3. 2019-06-03 15:09:43 -04:00
Adam Butterworth
2abeed7a8c fix: add fonts via link tag and preconnect (#193) 2019-06-03 08:37:33 -06:00
Adam Butterworth
ffba541637 fix: upgrade i18n library (#192) 2019-06-03 07:43:21 -06:00
Douglas Hall
d03032fa75 Bump frontend-component-footer and frontend-component-site-header version. 2019-05-31 14:43:08 -04:00
Douglas Hall
73ac32ac9f Move to frontend-i18n library. 2019-05-31 09:21:27 -04:00
Adam Butterworth
f8c878ce08 feat: remove unused CSS with purgecss (#186)
* fix: add purgecss to remove unused css

* fix: prevent removal of some needed css selectors
2019-05-30 12:37:25 -06:00
David Joy
e6841267ec Adding is-es5 check (#180) 2019-05-28 13:45:57 -04:00
Douglas Hall
bc38d4a51d Bundle only the icons that the app uses. 2019-05-28 13:13:22 -04:00
Douglas Hall
85d8e31201 Reduce bundle size by upgrading frontend-component-footer. 2019-05-28 09:33:08 -04:00
Christopher Pappas
2362dd603a fix: updating react-footer-component to complie with is-es5 2019-05-16 13:55:08 -04:00
Douglas Hall
0c689d92a2 Upgrade frontend-component-footer 2019-05-15 16:52:56 -04:00
Douglas Hall
605cadef55 Upgrade frontend-logging 2019-05-15 14:59:20 -04:00
Adam Butterworth
511c8addab feat: update frontend-auth which eliminates unneeded error logging (#171) 2019-05-08 14:24:33 -06: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
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
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
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
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
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
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
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
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