File tree Expand file tree Collapse file tree 11 files changed +0
-250
lines changed
resources/ru/mystamps/i18n
webapp/WEB-INF/pages/site
java/ru/mystamps/web/tests Expand file tree Collapse file tree 11 files changed +0
-250
lines changed Original file line number Diff line number Diff line change 52
52
<location >/error/404</location >
53
53
</error-page >
54
54
55
- <filter >
56
- <filter-name >MaintenanceFilter</filter-name >
57
- <filter-class >
58
- ru.mystamps.web.filter.MaintenanceFilter
59
- </filter-class >
60
- <init-param >
61
- <param-name >enableMaintainanceMode</param-name >
62
- <param-value >no</param-value >
63
- </init-param >
64
- <init-param >
65
- <param-name >allowedIP</param-name >
66
- <param-value >127.0.0.1</param-value >
67
- </init-param >
68
- </filter >
69
-
70
- <filter-mapping >
71
- <filter-name >MaintenanceFilter</filter-name >
72
- <url-pattern >/*</url-pattern >
73
- </filter-mapping >
74
-
75
55
<filter >
76
56
<filter-name >CharsetFilter</filter-name >
77
57
<filter-class >
Original file line number Diff line number Diff line change 69
69
<location >/error/404</location >
70
70
</error-page >
71
71
72
- <filter >
73
- <filter-name >MaintenanceFilter</filter-name >
74
- <filter-class >
75
- ru.mystamps.web.filter.MaintenanceFilter
76
- </filter-class >
77
- <init-param >
78
- <param-name >enableMaintainanceMode</param-name >
79
- <param-value >no</param-value >
80
- </init-param >
81
- <init-param >
82
- <param-name >allowedIP</param-name >
83
- <param-value >127.0.0.1</param-value >
84
- </init-param >
85
- </filter >
86
-
87
- <filter-mapping >
88
- <filter-name >MaintenanceFilter</filter-name >
89
- <url-pattern >/*</url-pattern >
90
- </filter-mapping >
91
-
92
72
<filter >
93
73
<filter-name >CharsetFilter</filter-name >
94
74
<filter-class >
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ public final class SiteMap {
33
33
34
34
// defined at ru.mystamps.web.config.MvcConfig
35
35
public static final String INDEX_PAGE_URL = "/" ;
36
- public static final String MAINTENANCE_PAGE_URL = "/site/maintenance" ;
37
36
public static final String SUCCESSFUL_REGISTRATION_PAGE_URL = "/successful/registration" ;
38
37
public static final String SUCCESSFUL_ACTIVATION_PAGE_URL = "/successful/activation" ;
39
38
Original file line number Diff line number Diff line change 33
33
import org .springframework .web .servlet .ViewResolver ;
34
34
35
35
import static ru .mystamps .web .SiteMap .INDEX_PAGE_URL ;
36
- import static ru .mystamps .web .SiteMap .MAINTENANCE_PAGE_URL ;
37
36
import static ru .mystamps .web .SiteMap .RESTORE_PASSWORD_PAGE_URL ;
38
37
import static ru .mystamps .web .SiteMap .SUCCESSFUL_ACTIVATION_PAGE_URL ;
39
38
import static ru .mystamps .web .SiteMap .SUCCESSFUL_REGISTRATION_PAGE_URL ;
@@ -55,7 +54,6 @@ public void configureDefaultServletHandling(final DefaultServletHandlerConfigure
55
54
@ Override
56
55
public void addViewControllers (final ViewControllerRegistry registry ) {
57
56
registry .addViewController (INDEX_PAGE_URL ).setViewName ("site/index" );
58
- registry .addViewController (MAINTENANCE_PAGE_URL );
59
57
registry .addViewController (RESTORE_PASSWORD_PAGE_URL );
60
58
registry .addViewController (SUCCESSFUL_ACTIVATION_PAGE_URL );
61
59
registry .addViewController (SUCCESSFUL_REGISTRATION_PAGE_URL );
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -48,10 +48,6 @@ t_activation_successful = Account successfully activated! Now you can pass <a hr
48
48
t_404_title = 404: page not found
49
49
t_404_description = Requested{0}page{0}not found
50
50
51
- # site/maintenance.jsp
52
- t_maintenance_title = maintenance
53
- t_maintenance_on_site = Site at maintenance.{0}Please return later.
54
-
55
51
# account/auth.jsp
56
52
t_auth_title = authentication
57
53
t_authentication_on_site = Authentication on site
Original file line number Diff line number Diff line change @@ -48,10 +48,6 @@ t_activation_successful = Аккаунт успешно активирован!
48
48
t_404_title = 404: страница не найдена
49
49
t_404_description = Запрашиваемая{0}вами страница{0}не найдена
50
50
51
- # site/maintenance.jsp
52
- t_maintenance_title = технические работы
53
- t_maintenance_on_site = Сайт закрыт на техническое обслуживание.{0}Пожалуйста, зайдите позже.
54
-
55
51
# account/auth.jsp
56
52
t_auth_title = идентификация
57
53
t_authentication_on_site = Идентификация на сайте
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 13
13
</classes >
14
14
</test >
15
15
16
- <test name =" When site on maintenance" >
17
- <classes >
18
- <class name =" ru.mystamps.web.tests.cases.WhenSiteOnMaintenance" />
19
- </classes >
20
- </test >
21
-
22
16
<test name =" When user activate account" >
23
17
<classes >
24
18
<class name =" ru.mystamps.web.tests.cases.WhenUserActivateAccount" />
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments