Skip to content

Commit 9ff2ea6

Browse files
Merge branch 'tuakiri-develop'
* tuakiri-develop: Version: 1.7.7 (AccountExpiry, remove MigrationController) fix: remove legacy account migration support new: add account expiry to org/group accounts view
2 parents b199b27 + 510d07c commit 9ff2ea6

11 files changed

Lines changed: 10 additions & 386 deletions

File tree

virtualhome/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
app.grails.version=2.5.6
44
app.name=virtualhome
55
app.servlet.version=3.0
6-
app.version=1.7.6
6+
app.version=1.7.7

virtualhome/grails-app/conf/UrlMappings.groovy

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ class UrlMappings {
7474
"/lostusername/$action" {
7575
controller="lostUsername"
7676
}
77-
"/migration/$action" {
78-
controller="migrate"
79-
}
8077

8178
"/dashboard"(controller:"dashboard", action:"dashboard")
8279

virtualhome/grails-app/controllers/aaf/vhr/AccountController.groovy

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import aaf.base.identity.SessionRecord
55

66
import aaf.base.identity.Role
77
import aaf.vhr.switchch.vho.DeprecatedSubject
8-
import aaf.vhr.MigrateController
98

109
import aaf.vhr.crypto.GoogleAuthenticator
1110

@@ -26,13 +25,6 @@ class AccountController {
2625
}
2726

2827
def login(String username, String password) {
29-
def deprecatedSubject = username != null ? DeprecatedSubject.findWhere(login:username, migrated:false) : null
30-
if(deprecatedSubject) {
31-
session.setAttribute(MigrateController.MIGRATION_USER, username)
32-
redirect (controller:'migrate', action:'introduction')
33-
return
34-
}
35-
3628
def managedSubjectInstance = username != null ? ManagedSubject.findWhere(login: username, [lock:true]) : null
3729
if(!managedSubjectInstance) {
3830
log.error "No such ManagedSubject for ${params.login} when attempting myaccount login"

virtualhome/grails-app/controllers/aaf/vhr/LoginController.groovy

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import org.springframework.beans.factory.InitializingBean
99

1010
import aaf.base.identity.Role
1111
import aaf.vhr.switchch.vho.DeprecatedSubject
12-
import aaf.vhr.MigrateController
1312

1413
import aaf.vhr.crypto.GoogleAuthenticator
1514

@@ -83,13 +82,6 @@ class LoginController implements InitializingBean {
8382
}
8483

8584
def login(String username, String password) {
86-
def deprecatedSubject = username != null ? DeprecatedSubject.findWhere(login:username, migrated:false) : null
87-
if(deprecatedSubject) {
88-
session.setAttribute(MigrateController.MIGRATION_USER, username)
89-
redirect (controller:'migrate', action:'introduction')
90-
return
91-
}
92-
9385
def redirectURL = session.getAttribute(SSO_URL)
9486
if(!redirectURL) {
9587
log.error "No redirectURL set for login, redirecting to oops"

virtualhome/grails-app/controllers/aaf/vhr/MigrateController.groovy

Lines changed: 0 additions & 164 deletions
This file was deleted.

virtualhome/grails-app/views/migrate/complete.gsp

Lines changed: 0 additions & 36 deletions
This file was deleted.

virtualhome/grails-app/views/migrate/expired.gsp

Lines changed: 0 additions & 27 deletions
This file was deleted.

virtualhome/grails-app/views/migrate/introduction.gsp

Lines changed: 0 additions & 31 deletions
This file was deleted.

virtualhome/grails-app/views/migrate/oops.gsp

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)