Mrugesh Mohapatra
225cc570f6
chore(api): update local pm2 to in memory
2019-10-21 18:51:36 +05:30
Mrugesh Mohapatra
aa62fdbfe9
feat(api): add custom redirect back
2019-10-21 18:03:26 +05:30
Ahmad Abdolsaheb
3823ed19bc
fix: update user state from server ( #37374 )
...
* fix: return updates from server
* fix: make store consistant and adjust form validation
2019-10-21 17:07:28 +05:30
mrugesh
ebc49be88f
fix(api): revert regex based email query ( #37393 )
2019-10-19 01:09:29 +05:30
Stuart Taylor
892e6862ed
fix: reduce the number of db calls for getSessionUser ( #37385 )
...
* Fix: Reduce the number of db calls for getSessionUser
* Fix unit tests
2019-10-18 05:47:37 +05:30
Mrugesh Mohapatra
91244b1365
chore: update server deps
2019-10-17 18:20:33 +05:30
Ahmad Abdolsaheb
2425f705c2
fix: reword honesty policy and replace profile with portfolio… ( #37282 )
2019-10-15 00:07:53 +07:00
mrugesh
20ca046a2a
fix(auth): redirect to learn after sign in ( #37114 )
2019-10-08 18:15:36 +03:00
Mrugesh Mohapatra
e19e54a152
fix(api): remove the email verified middleware
2019-10-07 15:19:21 -07:00
Mrugesh Mohapatra
2116997f85
fix(api): remove the privacy middleware
2019-10-07 15:19:21 -07:00
Aravind V. Nair
d0cda5820c
chore: .gitignore and image enhancements ( #37075 )
...
Co-Authored-By: mrugesh <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: ImgBot <ImgBotHelp@gmail.com>
2019-10-07 03:58:07 -07:00
Oliver Eyton-Williams
9c2f1ffd82
refactor: combine slug utils into one module
2019-09-26 22:15:27 +05:30
Oliver Eyton-Williams
32ee2f032c
fix: install cross-env for server npm script ( #36855 )
2019-09-26 21:16:45 +05:30
mrugesh
31947c5009
fix(server): update email template copy ( #36780 )
2019-09-11 18:58:41 +05:30
Bouncey
53ca86e953
Fix: Ensure emails are processed in lower-case
2019-09-10 11:02:22 +05:30
Bouncey
e08bc32170
Fix: migrate from DeprecationWarning over Buffer security concerns
2019-09-10 11:02:22 +05:30
Bouncey
7271e82503
Fix: Restore email change functionality
2019-09-10 11:02:22 +05:30
Ahmad Abdolsaheb
9ff7bf5801
feat: simplify landing page
2019-09-04 18:23:21 +05:30
Valeriy
469c3f05c2
feat: use static query to get idToNameMap ( #36722 )
2019-08-30 22:37:28 +05:30
Oliver Eyton-Williams
2785875941
fix: make public certs always viewable ( #36723 )
2019-08-30 16:18:49 +05:30
Mrugesh Mohapatra
f2fe60bfbd
fix: sort the constant strings
2019-08-29 23:33:01 +05:30
moT01
afc431e900
fix: restrict usernames that are keywords
...
fix: the rest of the typo (unsunscribe to unsubscribe)
fix: restrict copyright and copyright-policy and add appropriate redirects
fix/forgot-to-save-this-file-before-last-commit
fix: remove-duplicate+fix-typo
fix: update-snapshot
2019-08-29 23:33:01 +05:30
Tom
70b7080833
fix: make challenge links on profile page work ( #36701 )
...
* fix: make challenge links on profile page work
* fix: filter out certs from displaying
* fix: add suggested changes
2019-08-29 23:25:06 +05:30
mrugesh
5f97782eb0
fix: add identicon natively ( #36633 )
2019-08-19 19:17:53 +05:30
Mrugesh Mohapatra
ac50216949
fix: NODE_ENV conflicts on pipelines
2019-08-19 01:37:32 +05:30
Mrugesh Mohapatra
56d78a1119
fix(server,client): CORS is a real nightmare
2019-08-17 17:01:10 +05:30
Randell Dawson
a1ee532be3
fix: added cross-env before script ( #36592 )
2019-08-15 13:16:15 +05:30
Mrugesh Mohapatra
9061dab9b4
fix: update googleapis to latest
2019-08-14 19:23:26 +05:30
Mrugesh Mohapatra
6f3bd10c1f
chore: remove and update extraneous scripts
2019-08-14 19:23:25 +05:30
Mrugesh Mohapatra
27d998271d
fix: rename app entrypoints
2019-08-14 19:23:24 +05:30
xyozio
657a5e2c16
cleanup: typos and remove commented out code ( #36573 )
2019-08-09 23:57:26 +05:30
Mrugesh Mohapatra
8841c866b3
fix(api): @bable/node is not the part of cli
2019-07-30 14:58:44 +03:00
Mrugesh Mohapatra
298e263f74
chore(client): resolve linting errors in client
2019-07-22 17:10:54 +05:30
Mrugesh Mohapatra
ed4bbfdbcd
chore(server): update all dependencies to latest
2019-06-21 19:56:20 +05:30
Mrugesh Mohapatra
c5fd478d9a
fix(deploy): misc. re-arrange scripts and organize
2019-06-21 00:53:05 +05:30
Parth Parth
67028025d1
fix(client): Vague Error messages ( #36047 )
...
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2019-06-19 20:01:03 +05:30
Mrugesh Mohapatra
0ffca02ec1
fix: remove medium links and rss feeds
2019-06-16 00:23:41 +05:30
Mrugesh Mohapatra
91adc43bcd
fix(tools): rearrange scripts and graceful exit
2019-06-16 00:23:41 +05:30
ValeraS
e7ae9a5b45
fix: bootstrap packages
2019-06-12 02:49:30 +05:30
kozlovvski
d6a6504f74
chore(tools): updated jest in packages
...
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2019-06-11 19:06:57 +05:30
dependabot[bot]
7a88eadf7d
Bump handlebars from 4.0.12 to 4.1.2
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.0.12 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.1.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-06-08 03:00:09 +05:30
dependabot[bot]
60afa97f5d
Bump js-yaml from 3.12.0 to 3.13.1 in /api-server
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases )
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-06-08 02:18:11 +05:30
Ahmad Abdolsaheb
8b4fb5a452
fix: imgur to s3 for various files without conflict ( #36057 )
2019-05-20 23:58:20 +05:30
Ahmad Abdolsaheb
b4d3e6d6bb
fix: correct cert date for legacy data visualization ( #35728 )
...
Closes #34890
Closes #17424
2019-04-02 23:34:14 +05:30
Valeriy
5c95cac000
chore(tools): add user in container and fix debug of api-server
2019-03-15 15:50:30 +05:30
Bouncey
7d18cd8de6
fix: Delete zombie auth properties from session
2019-03-05 15:57:46 +05:30
Bouncey
898242f562
fix: Sesssions should not have an effect on the request routing
2019-03-05 15:57:46 +05:30
Bouncey
72a0d63aa0
fix: Centralise user deserialization
2019-03-05 15:57:46 +05:30
Bouncey
0c23844793
chore: Remove old auth cruft
2019-03-05 15:57:46 +05:30
Bouncey
9151723951
fix: Rework reset progress saga to wait for the updated user
2019-02-27 09:25:05 +03:00
Bouncey
d3418dfecf
fix: Do not try to parse an empty response
2019-02-27 09:25:05 +03:00
Mrugesh Mohapatra
58edfce838
chore: fixup linting the api tests
2019-02-25 19:14:52 +00:00
Valeriy S
1faa8dc0c1
fix: set a max-len rule for eslint
2019-02-26 00:18:46 +05:30
Bouncey
1c6df3649b
chore: Add readme for boot_tests directory
2019-02-26 00:17:02 +05:30
Bouncey
f743f4edf5
fix: Convert ints to strings for validation
2019-02-26 00:17:02 +05:30
Bouncey
014c26cd4e
fix: Add tests for redirectToLearn
2019-02-26 00:17:02 +05:30
Bouncey
953e1b2e11
feat: Add tests for challenge>buildUserUpdate
2019-02-26 00:17:02 +05:30
Bouncey
75190d3a43
feat: Add challenge validation middleware
2019-02-26 00:17:02 +05:30
Stuart Taylor
675d6a76e4
Fix: Current challenge timeout ( #35352 )
...
<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->
- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md ).
- [x] My pull request has a descriptive title (not a vague title like `Update index.md`)
- [x] My pull request targets the `master` branch of freeCodeCamp.
Closes #35345
This PR resolves an issue where the `/challenges/current-challenge` request times out due to an unresolved promise.
2019-02-22 17:19:12 +05:30
Bouncey
cf1def239d
feat: Use new (tested) accessToken utils to set and remove cookies
2019-02-21 21:03:06 +05:30
Bouncey
3e8bac4590
feat: Use new (tested) accessToken utils to authoize requests
2019-02-21 21:03:06 +05:30
Bouncey
2f944b3aed
feat: Add new accessToken utils
2019-02-21 21:03:06 +05:30
Bouncey
36c4737998
chore: Add tests for jwt authorization
2019-02-21 21:03:06 +05:30
Bouncey
f5ca6ce5e9
chore: Move sinon dep to the root
2019-02-21 21:03:06 +05:30
Aravind V. Nair
35b0bd8fdd
chore: normalize freeCodeCamp in english ( #35258 )
...
Co-authored-by: The Coding Aviator <34807532+thecodingaviator@users.noreply.github.com>
Co-authored-by: mrugesh mohapatra <1884376+raisedadead@users.noreply.github.com>
2019-02-19 15:19:49 +05:30
Mrugesh Mohapatra
9124dfb126
fix(models): remove unused schema config
2019-02-19 09:39:55 +00:00
Valeriy
fc8c71ad16
feat: use eslint with prettier to format code
2019-02-19 14:30:27 +05:30
Valeriy
be36915605
feat: use prettier with eslint
2019-02-19 14:30:27 +05:30
Bouncey
b13e5fb41a
feat: Use prettier-eslint to format code
2019-02-19 14:30:27 +05:30
Bouncey
1ba67c4e2b
chore: Clean up linting from child package.json's
2019-02-19 14:30:27 +05:30
Bouncey
c0104faa38
fix(ci): Fix lint errors thrown in CI
2019-02-19 14:30:27 +05:30
Bouncey
3f25ed051d
chore: Remove unused files
2019-02-19 14:30:27 +05:30
Bouncey
0ccd0a6f77
chore: Fix api linting
2019-02-19 14:30:27 +05:30
Bouncey
f441b1fe1c
chore: Delete unrequired files
2019-02-19 14:30:27 +05:30
Bouncey
07266b7e43
chore: commit lint fixes for the api
2019-02-19 14:30:27 +05:30
Bouncey
010fa63e76
chore: Remove unused files
2019-02-19 14:30:27 +05:30
Bouncey
6e9fbd7219
chore: Use babel-eslint for linting the api
2019-02-19 14:30:27 +05:30
Valeriy
34503c86d8
fix(server): error on claim certification
2019-02-18 13:48:26 +00:00
Bouncey
354d3feaee
fix: Allow un-authed loopback api calls
2019-02-16 12:27:23 +05:30
Stuart Taylor
05a49e36ee
chore: apply fixes from npm audit ( #35210 )
...
- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md ).
- [x] My pull request has a descriptive title (not a vague title like `Update index.md`)
- [x] My pull request targets the `master` branch of freeCodeCamp.
2019-02-14 20:39:55 +05:30
Mrugesh Mohapatra
02e6e711cf
fix(donate): refactor handlers for charges
2019-02-14 14:14:10 +00:00
Bouncey
361ce5cd8e
fix: Broken regex for short news links
2019-02-14 16:54:39 +05:30
Bouncey
0e0bebed4a
fix: Use absolute path for auth0 callback
2019-02-14 16:54:39 +05:30
mrugesh mohapatra
5160cb86b9
Merge pull request #34881 from raisedadead/chore/update-deps
...
chore: update some deps in api-server
2019-02-04 15:02:42 +00:00
Bouncey
29113fc9f2
fix: tests
2019-02-04 20:13:51 +05:30
Bouncey
d79f9f4899
feat(docker): Prep master for docker deploys
2019-02-04 20:13:51 +05:30
Mrugesh Mohapatra
f9c4d2426c
fix: remove unwanted stuff
2019-01-16 13:48:38 +00:00
Mrugesh Mohapatra
fdc2219f81
feat: remove news from platform
2019-01-16 13:48:38 +00:00
Mrugesh Mohapatra
ce23f9fb7e
fix: update custom loopback-component-passport
2019-01-15 19:52:19 +05:30
Todd Chaffee
f0c8211e95
feat: use mock authentication for local dev
2019-01-15 19:52:19 +05:30
Mrugesh Mohapatra
db02d1c479
chore: update lockfile
2018-12-04 17:42:12 +05:30
Bouncey
1fba44f722
fix: Simplify async update testing
2018-12-04 17:42:12 +05:30
Bouncey
730245e204
fix: Fix up my broken test reformatting
2018-12-04 17:42:12 +05:30
Bouncey
a1f64f4b77
chore: Tidy up promise handling and testing
2018-12-04 17:42:12 +05:30
Bouncey
e378d566d9
fix: Use reportError in development
2018-12-04 17:42:12 +05:30
Bouncey
15a9992603
feat: Add error handling for inMemoryCache
2018-12-04 17:42:12 +05:30
Bouncey
6475eadf82
feat: Use InMemoryCache to reducve load on db
2018-12-04 17:42:12 +05:30
Bouncey
80c3c3ec55
feat: InMemoryCache implementation
2018-12-04 17:42:12 +05:30
Bouncey
438bd94895
chore: Refactor server tests to use jest
2018-12-04 17:42:12 +05:30
Bouncey
8fab33ba99
feat: Create and use dynamic active donation counts
2018-12-04 17:42:12 +05:30