##// END OF EJS Templates
svn-support: move into apps module.
marcink -
r1531:982f71c6 default
parent child Browse files
Show More
@@ -23,7 +23,7 b' import logging'
23 from pyramid.view import view_config
23 from pyramid.view import view_config
24
24
25 from rhodecode.apps._base import BaseAppView
25 from rhodecode.apps._base import BaseAppView
26 from rhodecode.svn_support.utils import generate_mod_dav_svn_config
26 from rhodecode.apps.svn_support.utils import generate_mod_dav_svn_config
27 from rhodecode.lib.auth import (
27 from rhodecode.lib.auth import (
28 LoginRequired, HasPermissionAllDecorator, CSRFRequired)
28 LoginRequired, HasPermissionAllDecorator, CSRFRequired)
29
29
1 NO CONTENT: file renamed from rhodecode/svn_support/__init__.py to rhodecode/apps/svn_support/__init__.py
NO CONTENT: file renamed from rhodecode/svn_support/__init__.py to rhodecode/apps/svn_support/__init__.py
1 NO CONTENT: file renamed from rhodecode/svn_support/config_keys.py to rhodecode/apps/svn_support/config_keys.py
NO CONTENT: file renamed from rhodecode/svn_support/config_keys.py to rhodecode/apps/svn_support/config_keys.py
1 NO CONTENT: file renamed from rhodecode/svn_support/events.py to rhodecode/apps/svn_support/events.py
NO CONTENT: file renamed from rhodecode/svn_support/events.py to rhodecode/apps/svn_support/events.py
1 NO CONTENT: file renamed from rhodecode/svn_support/subscribers.py to rhodecode/apps/svn_support/subscribers.py
NO CONTENT: file renamed from rhodecode/svn_support/subscribers.py to rhodecode/apps/svn_support/subscribers.py
1 NO CONTENT: file renamed from rhodecode/svn_support/templates/mod-dav-svn.conf.mako to rhodecode/apps/svn_support/templates/mod-dav-svn.conf.mako
NO CONTENT: file renamed from rhodecode/svn_support/templates/mod-dav-svn.conf.mako to rhodecode/apps/svn_support/templates/mod-dav-svn.conf.mako
@@ -25,7 +25,7 b' import re'
25
25
26 from pyramid import testing
26 from pyramid import testing
27
27
28 from rhodecode.svn_support import utils
28 from rhodecode.apps.svn_support import utils
29
29
30
30
31 class TestModDavSvnConfig(object):
31 class TestModDavSvnConfig(object):
@@ -81,7 +81,7 b' def _render_mod_dav_svn_config('
81 }
81 }
82
82
83 # Render the configuration template to string.
83 # Render the configuration template to string.
84 template = 'rhodecode:svn_support/templates/mod-dav-svn.conf.mako'
84 template = 'rhodecode:apps/svn_support/templates/mod-dav-svn.conf.mako'
85 return render(template, context)
85 return render(template, context)
86
86
87
87
@@ -287,10 +287,10 b' def includeme(config):'
287 config.include('rhodecode.apps.login')
287 config.include('rhodecode.apps.login')
288 config.include('rhodecode.apps.user_profile')
288 config.include('rhodecode.apps.user_profile')
289 config.include('rhodecode.apps.my_account')
289 config.include('rhodecode.apps.my_account')
290 config.include('rhodecode.apps.svn_support')
290
291
291 config.include('rhodecode.tweens')
292 config.include('rhodecode.tweens')
292 config.include('rhodecode.api')
293 config.include('rhodecode.api')
293 config.include('rhodecode.svn_support')
294
294
295 config.add_route(
295 config.add_route(
296 'rhodecode_support', 'https://rhodecode.com/help/', static=True)
296 'rhodecode_support', 'https://rhodecode.com/help/', static=True)
@@ -37,6 +37,7 b' from webob.exc import HTTPBadRequest'
37
37
38 import rhodecode
38 import rhodecode
39 from rhodecode.apps.admin.navigation import navigation_list
39 from rhodecode.apps.admin.navigation import navigation_list
40 from rhodecode.apps.svn_support.config_keys import generate_config
40 from rhodecode.lib import auth
41 from rhodecode.lib import auth
41 from rhodecode.lib import helpers as h
42 from rhodecode.lib import helpers as h
42 from rhodecode.lib.auth import LoginRequired, HasPermissionAllDecorator
43 from rhodecode.lib.auth import LoginRequired, HasPermissionAllDecorator
@@ -62,7 +63,6 b' from rhodecode.model.settings import ('
62 SettingsModel)
63 SettingsModel)
63
64
64 from rhodecode.model.supervisor import SupervisorModel, SUPERVISOR_MASTER
65 from rhodecode.model.supervisor import SupervisorModel, SUPERVISOR_MASTER
65 from rhodecode.svn_support.config_keys import generate_config
66
66
67
67
68 log = logging.getLogger(__name__)
68 log = logging.getLogger(__name__)
General Comments 0
You need to be logged in to leave comments. Login now