-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move to latest *express* 4 stable #417
Conversation
**NOTES**: * `app.router` is eol'd and is no longer needed. * `aReq.route.params` moved to `aReq.params` * Don't need `app_route` emulation any more
Conflicts: controllers/scriptStorage.js Resolved: Favor HEAD
@@ -33,8 +33,8 @@ if (isPro) { | |||
}); | |||
} | |||
|
|||
function getInstallName(aReq) { | |||
return aReq.route.params.username + '/' + aReq.route.params.scriptname; | |||
function getInstallName (aReq) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm merge issue here... I didn't do this.
Approved by sizzle in private... this will be merged sometime tomorrow after a little bit of testing on current deployment of the current head on pro. |
|
* Unfortunately I don't see an option to keep comments. :\ * Disable minification in `sendMeta` and `sendScript` * Missing in README.md ... added and whoops Applies to OpenUserJS#417
Btw the express-minify failure would have been hidden until production without #428 ;) :) |
Move to latest *express* 4 stable Auto-merge... fully retested on dev.
Just to give some assurances for those who are apprehensive about the upgrade... during the unable to deploy time of 8ish days I was constantly on dev testing a lot of things out with express 4... which is another reason why #429 superseded all current PRs including my own... have faith that things will work out for the better especially in this projects only current prolific tester please. :) |
* Add in a layer of protection in case the server errs again ... this script as a Unit Test was fundamentally inclusive in identifying a hidden issue at OpenUserJS/OpenUserJS.org#417 :) * Version bump
* Bump requested node to current pro node stable * Rename route to be less cryptic and tiered based for npm functions with alteration of affected controller with handler * Update view to reflect new urls * Squash some deprecation warnings in here since we changed to *express* 4 at OpenUserJS#417
NOTES:
app.router
is eol'd and is no longer needed in 4.xaReq.route.params
moved toaReq.params
app_route
emulation any more@OpenUserJs/admin , @OpenUserJs/backend , @OpenUserJs/frontend , @OpenUserJs/owners :
This needs massive testing in dev please and of course @sizzlemctwizzle approval. Thanks. :)