freeCodeCamp/server
Berkeley Martinez 306c441ae7 add revisioning to js/css files to break caching
This moves the location of javascript files, commonFramework,
iFrameScript, sandbox, plugin, and all the less files.
On gulp or gulp build these files are moved and revisioned.
Places where they are references in jade/html are now removed and
replaced with the use of a helper function `rev`. This function will
take the required file and return a string referencing the revisioned
file. This should alleviate the need for hard refreshing and will break
caches when files change, so fixes for firefox caching issue as well.

NOTE: @benmcmahon @quincylarson, This means files will need to be build
on the server in production before doing a server restart/reload
In production: 'npm run build' To build and revision js/css files

`gulp` and `gulp build` will used in development

npm install also needs to be run in production on initial deploy
2015-08-26 23:30:33 -07:00
..
boot Merge pull request #2705 from QuincyLarson/alt-text 2015-08-25 22:30:44 -07:00
middlewares add revisioning to js/css files to break caching 2015-08-26 23:30:33 -07:00
services jobs store fetching 2015-07-25 15:42:03 -07:00
utils remove unused challenge utils 2015-08-24 16:19:06 -07:00
views add revisioning to js/css files to break caching 2015-08-26 23:30:33 -07:00
config.development.js Adding passport config stuff 2015-06-04 10:52:12 -07:00
config.json Set up production variables 2015-06-15 18:24:26 -04:00
config.local.js fix use secrets.db instead of process.env.MONGOHQ in datasource.local.js 2015-06-20 20:43:36 -07:00
config.production.js Set up production variables 2015-06-15 18:24:26 -04:00
datasources.json add acl controls to models 2015-06-10 23:59:42 -07:00
datasources.local.js up timeout 2015-08-18 23:14:27 -07:00
debug-entry.js make production future ready 2015-07-24 22:27:52 -07:00
middleware.json add revisioning to js/css files to break caching 2015-08-26 23:30:33 -07:00
model-config.json fix enables email login 2015-08-18 01:32:37 -07:00
passport-providers.js fix redirect link failures to /account 2015-08-18 14:48:52 -07:00
production-start.js make production future ready 2015-07-24 22:27:52 -07:00
server.js fix profile linking 2015-08-21 16:09:07 -07:00
ssl-config.js Remove toString() on certificate reads as per http://stackoverflow.com/questions/20893025/cant-start-nodejs-https-server-v0-10-23 2015-06-16 15:04:20 -04:00