-
Notifications
You must be signed in to change notification settings - Fork 73
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
Fixes #7016: Adapt Rudder to Scala 2.11 and Lift 2.6 #896
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,7 +83,6 @@ class AsyncDeployment extends CometActor with CometListener with Loggable { | |
private[this] val eventList = RudderConfig.eventListDisplayer | ||
private[this] val uuidGen = RudderConfig.stringUuidGenerator | ||
|
||
|
||
//current states of the deployment | ||
private[this] var deploymentStatus = DeploymentStatus(NoStatus, IdleDeployer) | ||
|
||
|
@@ -101,7 +100,6 @@ class AsyncDeployment extends CometActor with CometListener with Loggable { | |
new RenderOut(layout) | ||
} | ||
|
||
|
||
val deployementErrorMessage = """(.*)!errormessage!(.*)""".r | ||
|
||
private[this] def statusIcon : NodeSeq = { | ||
|
@@ -122,7 +120,6 @@ class AsyncDeployment extends CometActor with CometListener with Loggable { | |
|
||
} | ||
|
||
|
||
private[this] def lastStatus = { | ||
|
||
deploymentStatus.current match { | ||
|
@@ -170,14 +167,16 @@ class AsyncDeployment extends CometActor with CometListener with Loggable { | |
|
||
private[this] def layout = { | ||
|
||
<li class="dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> | ||
<span>Status</span> <span class="badge" id="generation-status"> {statusIcon}</span><span class="caret" style="margin-left:5px"></span></a> | ||
<ul class="dropdown-menu" role="menu"> | ||
{lastStatus} | ||
<li>{currentStatus}</li> | ||
</ul> | ||
</li> | ||
<lift:authz role="deployment_read"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That seems to be a real bug correction, no ? Deserve its own ticket, I think There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In fact its has changed because I removed the lift:authz in common-layout to fix the comet actor correctly and ada it back here, so I don't think it needs it specific bug (lift:authz elem are not accepted in ul html5... |
||
<li class="dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> | ||
<span>Status</span> <span class="badge" id="generation-status"> {statusIcon}</span><span class="caret" style="margin-left:5px"></span></a> | ||
<ul class="dropdown-menu" role="menu"> | ||
{lastStatus} | ||
<li>{currentStatus}</li> | ||
</ul> | ||
</li> | ||
</lift:authz> | ||
} | ||
|
||
private[this] def errorPopup = { | ||
|
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.
we need to do something for that, we can't rely on snapshot