844afb6e2f
Add webpack code splitting module
...
Add cold-module replacement
Add webpack module hashing
2016-07-28 23:39:17 -07:00
4e12c45057
Add webpack cold reloading
...
On changes to the react bundle
webpack will store the current redux state
in localStorage, waits (to allow the server to restart)
then refreshes the page. On page load, it checks if it
has state stored and loads it into the app.
2016-07-28 23:39:17 -07:00
fa37dc865d
Reduce initial user query load
...
Refactor passport to own file
2016-04-06 21:11:07 -07:00
c17af58aee
Renamed Github to GitHub
2016-04-04 22:50:07 +02:00
745f059eeb
hotfix prevent server from starting twice
2015-10-14 23:49:32 -07:00
44fd85dff8
Add ability to filter beta challenges from production
...
This PR adds the ability to test out challenges in beta
without fear that they will leak to production servers.
In development all challenges will display.
In production all challenges marked 'isBeta' will be filtered out
except in the case the environmental variable `BETA` is set ture,
in which case all challenges will display.
2015-10-06 22:37:08 -07:00
0f3acc629c
fix profile linking
2015-08-21 16:09:07 -07:00
de7eb3d440
fix email password reset
2015-08-16 09:54:59 -07:00
4b0a9bef0a
fix social auth scheme
...
closes #1734
2015-08-12 20:10:12 -07:00
fc29c1fd9b
linking accounts now works.
...
bug, need to change how loopback generates provider string.
2015-08-12 20:10:11 -07:00
a4e220e2bc
Move auth functions to central location
2015-08-12 20:10:11 -07:00
2256f3ef6e
fix add github link to passport
2015-08-10 23:38:10 -07:00
83397b7e1b
add picture on github signin/up
2015-08-07 18:10:32 -07:00
222d841e4f
on oauth signin only set profile/username if using github
2015-08-06 00:19:03 -07:00
2dc9934da2
add user.isGithubCool check
...
if user signs up with github, they become GithubCool.
2015-08-04 13:41:10 -07:00
c8488c8419
reremove extra middlewares from server file
2015-08-04 06:28:10 -07:00
fc0ccf3aea
Fixed typos in magical maths waypoints and restored server.js to a previous working state
2015-08-04 13:28:41 +01:00
f01a66c5c7
use (LMP)loopback middleware phases
...
bump loopback-component-passport which uses LMP
move custom middlewares to middlewares directory
2015-08-04 01:34:26 -07:00
c5af46b33f
remove beta flash
2015-08-03 08:31:02 -07:00
55731aa52d
fix beta warning title
...
closes #1452
2015-08-02 07:07:03 -07:00
32ce40b815
add beta site warning
2015-08-01 16:11:05 -07:00
13f2f349dc
remove bonfire/comments models
...
remove comments from user router
2015-07-31 20:22:08 -07:00
dbe50a5dfa
add beta.freecodecamp.com to csp script source
2015-07-25 15:44:40 -07:00
c0eda90eb1
make production future ready
...
This commit does the following:
Production start should use the following command `npm run
start-producion` this first runs bower install and builds the front end
app(react). Then it will use the `pm2Start` script. This script will set
up the pm2 daemons to run loopback in cluster mode. This script also use
`production-start` script instead of the regular `server` script.
The reasons are two fold: to ensure `server` is run in es7 mode, and to
wait for handshake from DB or kill itself if no DB can be found within a
certain amount of time.
2015-07-24 22:27:52 -07:00
f4f2d68551
add state namespace
2015-07-23 16:03:47 -07:00
6eca181f6f
add vimeo to connect sources
2015-07-23 15:49:02 -07:00
a0278c114d
add express state extentions to app
2015-07-23 15:49:00 -07:00
a5e7009a57
initial react app(WIP)
2015-07-23 15:49:00 -07:00
580e2e3ebd
add redirect for https
2015-07-01 14:35:15 -07:00
3bac247627
remove stack trace from production
2015-06-26 01:30:51 -07:00
7df91e6310
add total time to start to logs during waitFordb
2015-06-21 19:11:42 -07:00
5e8ed616d5
add wait for db in development before listening for connections
2015-06-21 18:37:29 -07:00
4804d868c4
wrap server.listen in if module
...
prevents server from starting durring testing/scripting
2015-06-21 18:10:17 -07:00
f84ac9ad12
remove forceDomain
2015-06-18 19:56:21 -07:00
2bf8810d79
add pmx errorhandler in beta spot
2015-06-18 16:19:59 -07:00
0173804e21
updates helmet policies, makes new startup script
2015-06-18 17:08:21 -04:00
9c14e5846d
add www.freecodecamp.org to trusted list
2015-06-18 13:12:35 -07:00
bfddc0330f
add state attribute to linked oauth
...
note: a new variable will need to be added to .env 'LINKEDIN_STATE'
which is a random string
2015-06-17 20:59:35 -07:00
bb6f153858
make server always show stack traces upon error
2015-06-17 20:26:59 -07:00
fbb7d0b065
Remove ssl on node servers
2015-06-17 15:40:44 -04:00
810bf9a3f7
force https for blob url in _frame.js. Updates helmet to allow more inspectlet domains.
2015-06-16 15:59:22 -04:00
1607fe0ba5
Updates server listen in production
2015-06-16 15:51:04 -04:00
7915e8a77e
99 problems, and production only errors are 98 of them
2015-06-16 15:41:59 -04:00
9e8796a0c4
More tweaking
2015-06-16 15:38:22 -04:00
a662187d93
More ssl setup
2015-06-16 15:24:55 -04:00
645c0aac0e
Server test
2015-06-16 14:51:40 -04:00
b25dd9416b
More https configuration
2015-06-16 14:43:49 -04:00
7e420217eb
More https configuration
2015-06-16 14:43:12 -04:00
0a8356e50f
Configure production to run in https
2015-06-16 14:30:16 -04:00
b0b236821e
More inspectlet configuring
2015-06-16 12:30:49 -04:00