Show More
@@ -1,388 +1,389 b'' | |||||
1 |
|
1 | |||
2 | /****************************************************************************** |
|
2 | /****************************************************************************** | |
3 | * * |
|
3 | * * | |
4 | * DO NOT CHANGE THIS FILE MANUALLY * |
|
4 | * DO NOT CHANGE THIS FILE MANUALLY * | |
5 | * * |
|
5 | * * | |
6 | * * |
|
6 | * * | |
7 | * This file is automatically generated when the app starts up with * |
|
7 | * This file is automatically generated when the app starts up with * | |
8 | * generate_js_files = true * |
|
8 | * generate_js_files = true * | |
9 | * * |
|
9 | * * | |
10 | * To add a route here pass jsroute=True to the route definition in the app * |
|
10 | * To add a route here pass jsroute=True to the route definition in the app * | |
11 | * * |
|
11 | * * | |
12 | ******************************************************************************/ |
|
12 | ******************************************************************************/ | |
13 | function registerRCRoutes() { |
|
13 | function registerRCRoutes() { | |
14 | // routes registration |
|
14 | // routes registration | |
15 | pyroutes.register('favicon', '/favicon.ico', []); |
|
15 | pyroutes.register('favicon', '/favicon.ico', []); | |
16 | pyroutes.register('robots', '/robots.txt', []); |
|
16 | pyroutes.register('robots', '/robots.txt', []); | |
17 | pyroutes.register('auth_home', '/_admin/auth*traverse', []); |
|
17 | pyroutes.register('auth_home', '/_admin/auth*traverse', []); | |
18 | pyroutes.register('global_integrations_new', '/_admin/integrations/new', []); |
|
18 | pyroutes.register('global_integrations_new', '/_admin/integrations/new', []); | |
19 | pyroutes.register('global_integrations_home', '/_admin/integrations', []); |
|
19 | pyroutes.register('global_integrations_home', '/_admin/integrations', []); | |
20 | pyroutes.register('global_integrations_list', '/_admin/integrations/%(integration)s', ['integration']); |
|
20 | pyroutes.register('global_integrations_list', '/_admin/integrations/%(integration)s', ['integration']); | |
21 | pyroutes.register('global_integrations_create', '/_admin/integrations/%(integration)s/new', ['integration']); |
|
21 | pyroutes.register('global_integrations_create', '/_admin/integrations/%(integration)s/new', ['integration']); | |
22 | pyroutes.register('global_integrations_edit', '/_admin/integrations/%(integration)s/%(integration_id)s', ['integration', 'integration_id']); |
|
22 | pyroutes.register('global_integrations_edit', '/_admin/integrations/%(integration)s/%(integration_id)s', ['integration', 'integration_id']); | |
23 | pyroutes.register('repo_group_integrations_home', '/%(repo_group_name)s/_settings/integrations', ['repo_group_name']); |
|
23 | pyroutes.register('repo_group_integrations_home', '/%(repo_group_name)s/_settings/integrations', ['repo_group_name']); | |
24 | pyroutes.register('repo_group_integrations_new', '/%(repo_group_name)s/_settings/integrations/new', ['repo_group_name']); |
|
24 | pyroutes.register('repo_group_integrations_new', '/%(repo_group_name)s/_settings/integrations/new', ['repo_group_name']); | |
25 | pyroutes.register('repo_group_integrations_list', '/%(repo_group_name)s/_settings/integrations/%(integration)s', ['repo_group_name', 'integration']); |
|
25 | pyroutes.register('repo_group_integrations_list', '/%(repo_group_name)s/_settings/integrations/%(integration)s', ['repo_group_name', 'integration']); | |
26 | pyroutes.register('repo_group_integrations_create', '/%(repo_group_name)s/_settings/integrations/%(integration)s/new', ['repo_group_name', 'integration']); |
|
26 | pyroutes.register('repo_group_integrations_create', '/%(repo_group_name)s/_settings/integrations/%(integration)s/new', ['repo_group_name', 'integration']); | |
27 | pyroutes.register('repo_group_integrations_edit', '/%(repo_group_name)s/_settings/integrations/%(integration)s/%(integration_id)s', ['repo_group_name', 'integration', 'integration_id']); |
|
27 | pyroutes.register('repo_group_integrations_edit', '/%(repo_group_name)s/_settings/integrations/%(integration)s/%(integration_id)s', ['repo_group_name', 'integration', 'integration_id']); | |
28 | pyroutes.register('repo_integrations_home', '/%(repo_name)s/settings/integrations', ['repo_name']); |
|
28 | pyroutes.register('repo_integrations_home', '/%(repo_name)s/settings/integrations', ['repo_name']); | |
29 | pyroutes.register('repo_integrations_new', '/%(repo_name)s/settings/integrations/new', ['repo_name']); |
|
29 | pyroutes.register('repo_integrations_new', '/%(repo_name)s/settings/integrations/new', ['repo_name']); | |
30 | pyroutes.register('repo_integrations_list', '/%(repo_name)s/settings/integrations/%(integration)s', ['repo_name', 'integration']); |
|
30 | pyroutes.register('repo_integrations_list', '/%(repo_name)s/settings/integrations/%(integration)s', ['repo_name', 'integration']); | |
31 | pyroutes.register('repo_integrations_create', '/%(repo_name)s/settings/integrations/%(integration)s/new', ['repo_name', 'integration']); |
|
31 | pyroutes.register('repo_integrations_create', '/%(repo_name)s/settings/integrations/%(integration)s/new', ['repo_name', 'integration']); | |
32 | pyroutes.register('repo_integrations_edit', '/%(repo_name)s/settings/integrations/%(integration)s/%(integration_id)s', ['repo_name', 'integration', 'integration_id']); |
|
32 | pyroutes.register('repo_integrations_edit', '/%(repo_name)s/settings/integrations/%(integration)s/%(integration_id)s', ['repo_name', 'integration', 'integration_id']); | |
33 | pyroutes.register('hovercard_user', '/_hovercard/user/%(user_id)s', ['user_id']); |
|
33 | pyroutes.register('hovercard_user', '/_hovercard/user/%(user_id)s', ['user_id']); | |
34 | pyroutes.register('hovercard_user_group', '/_hovercard/user_group/%(user_group_id)s', ['user_group_id']); |
|
34 | pyroutes.register('hovercard_user_group', '/_hovercard/user_group/%(user_group_id)s', ['user_group_id']); | |
35 | pyroutes.register('hovercard_pull_request', '/_hovercard/pull_request/%(pull_request_id)s', ['pull_request_id']); |
|
35 | pyroutes.register('hovercard_pull_request', '/_hovercard/pull_request/%(pull_request_id)s', ['pull_request_id']); | |
36 | pyroutes.register('hovercard_repo_commit', '/_hovercard/commit/%(repo_name)s/%(commit_id)s', ['repo_name', 'commit_id']); |
|
36 | pyroutes.register('hovercard_repo_commit', '/_hovercard/commit/%(repo_name)s/%(commit_id)s', ['repo_name', 'commit_id']); | |
37 | pyroutes.register('ops_ping', '/_admin/ops/ping', []); |
|
37 | pyroutes.register('ops_ping', '/_admin/ops/ping', []); | |
38 | pyroutes.register('ops_error_test', '/_admin/ops/error', []); |
|
38 | pyroutes.register('ops_error_test', '/_admin/ops/error', []); | |
39 | pyroutes.register('ops_redirect_test', '/_admin/ops/redirect', []); |
|
39 | pyroutes.register('ops_redirect_test', '/_admin/ops/redirect', []); | |
40 | pyroutes.register('ops_ping_legacy', '/_admin/ping', []); |
|
40 | pyroutes.register('ops_ping_legacy', '/_admin/ping', []); | |
41 | pyroutes.register('ops_error_test_legacy', '/_admin/error_test', []); |
|
41 | pyroutes.register('ops_error_test_legacy', '/_admin/error_test', []); | |
42 | pyroutes.register('admin_home', '/_admin', []); |
|
42 | pyroutes.register('admin_home', '/_admin', []); | |
43 | pyroutes.register('admin_audit_logs', '/_admin/audit_logs', []); |
|
43 | pyroutes.register('admin_audit_logs', '/_admin/audit_logs', []); | |
44 | pyroutes.register('admin_audit_log_entry', '/_admin/audit_logs/%(audit_log_id)s', ['audit_log_id']); |
|
44 | pyroutes.register('admin_audit_log_entry', '/_admin/audit_logs/%(audit_log_id)s', ['audit_log_id']); | |
45 | pyroutes.register('pull_requests_global_0', '/_admin/pull_requests/%(pull_request_id)s', ['pull_request_id']); |
|
45 | pyroutes.register('pull_requests_global_0', '/_admin/pull_requests/%(pull_request_id)s', ['pull_request_id']); | |
46 | pyroutes.register('pull_requests_global_1', '/_admin/pull-requests/%(pull_request_id)s', ['pull_request_id']); |
|
46 | pyroutes.register('pull_requests_global_1', '/_admin/pull-requests/%(pull_request_id)s', ['pull_request_id']); | |
47 | pyroutes.register('pull_requests_global', '/_admin/pull-request/%(pull_request_id)s', ['pull_request_id']); |
|
47 | pyroutes.register('pull_requests_global', '/_admin/pull-request/%(pull_request_id)s', ['pull_request_id']); | |
48 | pyroutes.register('admin_settings_open_source', '/_admin/settings/open_source', []); |
|
48 | pyroutes.register('admin_settings_open_source', '/_admin/settings/open_source', []); | |
49 | pyroutes.register('admin_settings_vcs_svn_generate_cfg', '/_admin/settings/vcs/svn_generate_cfg', []); |
|
49 | pyroutes.register('admin_settings_vcs_svn_generate_cfg', '/_admin/settings/vcs/svn_generate_cfg', []); | |
50 | pyroutes.register('admin_settings_system', '/_admin/settings/system', []); |
|
50 | pyroutes.register('admin_settings_system', '/_admin/settings/system', []); | |
51 | pyroutes.register('admin_settings_system_update', '/_admin/settings/system/updates', []); |
|
51 | pyroutes.register('admin_settings_system_update', '/_admin/settings/system/updates', []); | |
52 | pyroutes.register('admin_settings_exception_tracker', '/_admin/settings/exceptions', []); |
|
52 | pyroutes.register('admin_settings_exception_tracker', '/_admin/settings/exceptions', []); | |
53 | pyroutes.register('admin_settings_exception_tracker_delete_all', '/_admin/settings/exceptions/delete', []); |
|
53 | pyroutes.register('admin_settings_exception_tracker_delete_all', '/_admin/settings/exceptions/delete', []); | |
54 | pyroutes.register('admin_settings_exception_tracker_show', '/_admin/settings/exceptions/%(exception_id)s', ['exception_id']); |
|
54 | pyroutes.register('admin_settings_exception_tracker_show', '/_admin/settings/exceptions/%(exception_id)s', ['exception_id']); | |
55 | pyroutes.register('admin_settings_exception_tracker_delete', '/_admin/settings/exceptions/%(exception_id)s/delete', ['exception_id']); |
|
55 | pyroutes.register('admin_settings_exception_tracker_delete', '/_admin/settings/exceptions/%(exception_id)s/delete', ['exception_id']); | |
56 | pyroutes.register('admin_settings_sessions', '/_admin/settings/sessions', []); |
|
56 | pyroutes.register('admin_settings_sessions', '/_admin/settings/sessions', []); | |
57 | pyroutes.register('admin_settings_sessions_cleanup', '/_admin/settings/sessions/cleanup', []); |
|
57 | pyroutes.register('admin_settings_sessions_cleanup', '/_admin/settings/sessions/cleanup', []); | |
58 | pyroutes.register('admin_settings_process_management', '/_admin/settings/process_management', []); |
|
58 | pyroutes.register('admin_settings_process_management', '/_admin/settings/process_management', []); | |
59 | pyroutes.register('admin_settings_process_management_data', '/_admin/settings/process_management/data', []); |
|
59 | pyroutes.register('admin_settings_process_management_data', '/_admin/settings/process_management/data', []); | |
60 | pyroutes.register('admin_settings_process_management_signal', '/_admin/settings/process_management/signal', []); |
|
60 | pyroutes.register('admin_settings_process_management_signal', '/_admin/settings/process_management/signal', []); | |
61 | pyroutes.register('admin_settings_process_management_master_signal', '/_admin/settings/process_management/master_signal', []); |
|
61 | pyroutes.register('admin_settings_process_management_master_signal', '/_admin/settings/process_management/master_signal', []); | |
62 | pyroutes.register('admin_defaults_repositories', '/_admin/defaults/repositories', []); |
|
62 | pyroutes.register('admin_defaults_repositories', '/_admin/defaults/repositories', []); | |
63 | pyroutes.register('admin_defaults_repositories_update', '/_admin/defaults/repositories/update', []); |
|
63 | pyroutes.register('admin_defaults_repositories_update', '/_admin/defaults/repositories/update', []); | |
64 | pyroutes.register('admin_settings', '/_admin/settings', []); |
|
64 | pyroutes.register('admin_settings', '/_admin/settings', []); | |
65 | pyroutes.register('admin_settings_update', '/_admin/settings/update', []); |
|
65 | pyroutes.register('admin_settings_update', '/_admin/settings/update', []); | |
66 | pyroutes.register('admin_settings_global', '/_admin/settings/global', []); |
|
66 | pyroutes.register('admin_settings_global', '/_admin/settings/global', []); | |
67 | pyroutes.register('admin_settings_global_update', '/_admin/settings/global/update', []); |
|
67 | pyroutes.register('admin_settings_global_update', '/_admin/settings/global/update', []); | |
68 | pyroutes.register('admin_settings_vcs', '/_admin/settings/vcs', []); |
|
68 | pyroutes.register('admin_settings_vcs', '/_admin/settings/vcs', []); | |
69 | pyroutes.register('admin_settings_vcs_update', '/_admin/settings/vcs/update', []); |
|
69 | pyroutes.register('admin_settings_vcs_update', '/_admin/settings/vcs/update', []); | |
70 | pyroutes.register('admin_settings_vcs_svn_pattern_delete', '/_admin/settings/vcs/svn_pattern_delete', []); |
|
70 | pyroutes.register('admin_settings_vcs_svn_pattern_delete', '/_admin/settings/vcs/svn_pattern_delete', []); | |
71 | pyroutes.register('admin_settings_mapping', '/_admin/settings/mapping', []); |
|
71 | pyroutes.register('admin_settings_mapping', '/_admin/settings/mapping', []); | |
72 | pyroutes.register('admin_settings_mapping_update', '/_admin/settings/mapping/update', []); |
|
72 | pyroutes.register('admin_settings_mapping_update', '/_admin/settings/mapping/update', []); | |
73 | pyroutes.register('admin_settings_visual', '/_admin/settings/visual', []); |
|
73 | pyroutes.register('admin_settings_visual', '/_admin/settings/visual', []); | |
74 | pyroutes.register('admin_settings_visual_update', '/_admin/settings/visual/update', []); |
|
74 | pyroutes.register('admin_settings_visual_update', '/_admin/settings/visual/update', []); | |
75 | pyroutes.register('admin_settings_issuetracker', '/_admin/settings/issue-tracker', []); |
|
75 | pyroutes.register('admin_settings_issuetracker', '/_admin/settings/issue-tracker', []); | |
76 | pyroutes.register('admin_settings_issuetracker_update', '/_admin/settings/issue-tracker/update', []); |
|
76 | pyroutes.register('admin_settings_issuetracker_update', '/_admin/settings/issue-tracker/update', []); | |
77 | pyroutes.register('admin_settings_issuetracker_test', '/_admin/settings/issue-tracker/test', []); |
|
77 | pyroutes.register('admin_settings_issuetracker_test', '/_admin/settings/issue-tracker/test', []); | |
78 | pyroutes.register('admin_settings_issuetracker_delete', '/_admin/settings/issue-tracker/delete', []); |
|
78 | pyroutes.register('admin_settings_issuetracker_delete', '/_admin/settings/issue-tracker/delete', []); | |
79 | pyroutes.register('admin_settings_email', '/_admin/settings/email', []); |
|
79 | pyroutes.register('admin_settings_email', '/_admin/settings/email', []); | |
80 | pyroutes.register('admin_settings_email_update', '/_admin/settings/email/update', []); |
|
80 | pyroutes.register('admin_settings_email_update', '/_admin/settings/email/update', []); | |
81 | pyroutes.register('admin_settings_hooks', '/_admin/settings/hooks', []); |
|
81 | pyroutes.register('admin_settings_hooks', '/_admin/settings/hooks', []); | |
82 | pyroutes.register('admin_settings_hooks_update', '/_admin/settings/hooks/update', []); |
|
82 | pyroutes.register('admin_settings_hooks_update', '/_admin/settings/hooks/update', []); | |
83 | pyroutes.register('admin_settings_hooks_delete', '/_admin/settings/hooks/delete', []); |
|
83 | pyroutes.register('admin_settings_hooks_delete', '/_admin/settings/hooks/delete', []); | |
84 | pyroutes.register('admin_settings_search', '/_admin/settings/search', []); |
|
84 | pyroutes.register('admin_settings_search', '/_admin/settings/search', []); | |
85 | pyroutes.register('admin_settings_labs', '/_admin/settings/labs', []); |
|
85 | pyroutes.register('admin_settings_labs', '/_admin/settings/labs', []); | |
86 | pyroutes.register('admin_settings_labs_update', '/_admin/settings/labs/update', []); |
|
86 | pyroutes.register('admin_settings_labs_update', '/_admin/settings/labs/update', []); | |
87 | pyroutes.register('admin_permissions_application', '/_admin/permissions/application', []); |
|
87 | pyroutes.register('admin_permissions_application', '/_admin/permissions/application', []); | |
88 | pyroutes.register('admin_permissions_application_update', '/_admin/permissions/application/update', []); |
|
88 | pyroutes.register('admin_permissions_application_update', '/_admin/permissions/application/update', []); | |
89 | pyroutes.register('admin_permissions_global', '/_admin/permissions/global', []); |
|
89 | pyroutes.register('admin_permissions_global', '/_admin/permissions/global', []); | |
90 | pyroutes.register('admin_permissions_global_update', '/_admin/permissions/global/update', []); |
|
90 | pyroutes.register('admin_permissions_global_update', '/_admin/permissions/global/update', []); | |
91 | pyroutes.register('admin_permissions_object', '/_admin/permissions/object', []); |
|
91 | pyroutes.register('admin_permissions_object', '/_admin/permissions/object', []); | |
92 | pyroutes.register('admin_permissions_object_update', '/_admin/permissions/object/update', []); |
|
92 | pyroutes.register('admin_permissions_object_update', '/_admin/permissions/object/update', []); | |
93 | pyroutes.register('admin_permissions_ips', '/_admin/permissions/ips', []); |
|
93 | pyroutes.register('admin_permissions_ips', '/_admin/permissions/ips', []); | |
94 | pyroutes.register('admin_permissions_overview', '/_admin/permissions/overview', []); |
|
94 | pyroutes.register('admin_permissions_overview', '/_admin/permissions/overview', []); | |
95 | pyroutes.register('admin_permissions_auth_token_access', '/_admin/permissions/auth_token_access', []); |
|
95 | pyroutes.register('admin_permissions_auth_token_access', '/_admin/permissions/auth_token_access', []); | |
96 | pyroutes.register('admin_permissions_ssh_keys', '/_admin/permissions/ssh_keys', []); |
|
96 | pyroutes.register('admin_permissions_ssh_keys', '/_admin/permissions/ssh_keys', []); | |
97 | pyroutes.register('admin_permissions_ssh_keys_data', '/_admin/permissions/ssh_keys/data', []); |
|
97 | pyroutes.register('admin_permissions_ssh_keys_data', '/_admin/permissions/ssh_keys/data', []); | |
98 | pyroutes.register('admin_permissions_ssh_keys_update', '/_admin/permissions/ssh_keys/update', []); |
|
98 | pyroutes.register('admin_permissions_ssh_keys_update', '/_admin/permissions/ssh_keys/update', []); | |
99 | pyroutes.register('users', '/_admin/users', []); |
|
99 | pyroutes.register('users', '/_admin/users', []); | |
100 | pyroutes.register('users_data', '/_admin/users_data', []); |
|
100 | pyroutes.register('users_data', '/_admin/users_data', []); | |
101 | pyroutes.register('users_create', '/_admin/users/create', []); |
|
101 | pyroutes.register('users_create', '/_admin/users/create', []); | |
102 | pyroutes.register('users_new', '/_admin/users/new', []); |
|
102 | pyroutes.register('users_new', '/_admin/users/new', []); | |
103 | pyroutes.register('user_edit', '/_admin/users/%(user_id)s/edit', ['user_id']); |
|
103 | pyroutes.register('user_edit', '/_admin/users/%(user_id)s/edit', ['user_id']); | |
104 | pyroutes.register('user_edit_advanced', '/_admin/users/%(user_id)s/edit/advanced', ['user_id']); |
|
104 | pyroutes.register('user_edit_advanced', '/_admin/users/%(user_id)s/edit/advanced', ['user_id']); | |
105 | pyroutes.register('user_edit_global_perms', '/_admin/users/%(user_id)s/edit/global_permissions', ['user_id']); |
|
105 | pyroutes.register('user_edit_global_perms', '/_admin/users/%(user_id)s/edit/global_permissions', ['user_id']); | |
106 | pyroutes.register('user_edit_global_perms_update', '/_admin/users/%(user_id)s/edit/global_permissions/update', ['user_id']); |
|
106 | pyroutes.register('user_edit_global_perms_update', '/_admin/users/%(user_id)s/edit/global_permissions/update', ['user_id']); | |
107 | pyroutes.register('user_update', '/_admin/users/%(user_id)s/update', ['user_id']); |
|
107 | pyroutes.register('user_update', '/_admin/users/%(user_id)s/update', ['user_id']); | |
108 | pyroutes.register('user_delete', '/_admin/users/%(user_id)s/delete', ['user_id']); |
|
108 | pyroutes.register('user_delete', '/_admin/users/%(user_id)s/delete', ['user_id']); | |
109 | pyroutes.register('user_enable_force_password_reset', '/_admin/users/%(user_id)s/password_reset_enable', ['user_id']); |
|
109 | pyroutes.register('user_enable_force_password_reset', '/_admin/users/%(user_id)s/password_reset_enable', ['user_id']); | |
110 | pyroutes.register('user_disable_force_password_reset', '/_admin/users/%(user_id)s/password_reset_disable', ['user_id']); |
|
110 | pyroutes.register('user_disable_force_password_reset', '/_admin/users/%(user_id)s/password_reset_disable', ['user_id']); | |
111 | pyroutes.register('user_create_personal_repo_group', '/_admin/users/%(user_id)s/create_repo_group', ['user_id']); |
|
111 | pyroutes.register('user_create_personal_repo_group', '/_admin/users/%(user_id)s/create_repo_group', ['user_id']); | |
112 | pyroutes.register('edit_user_auth_tokens_delete', '/_admin/users/%(user_id)s/edit/auth_tokens/delete', ['user_id']); |
|
112 | pyroutes.register('edit_user_auth_tokens_delete', '/_admin/users/%(user_id)s/edit/auth_tokens/delete', ['user_id']); | |
113 | pyroutes.register('edit_user_ssh_keys', '/_admin/users/%(user_id)s/edit/ssh_keys', ['user_id']); |
|
113 | pyroutes.register('edit_user_ssh_keys', '/_admin/users/%(user_id)s/edit/ssh_keys', ['user_id']); | |
114 | pyroutes.register('edit_user_ssh_keys_generate_keypair', '/_admin/users/%(user_id)s/edit/ssh_keys/generate', ['user_id']); |
|
114 | pyroutes.register('edit_user_ssh_keys_generate_keypair', '/_admin/users/%(user_id)s/edit/ssh_keys/generate', ['user_id']); | |
115 | pyroutes.register('edit_user_ssh_keys_add', '/_admin/users/%(user_id)s/edit/ssh_keys/new', ['user_id']); |
|
115 | pyroutes.register('edit_user_ssh_keys_add', '/_admin/users/%(user_id)s/edit/ssh_keys/new', ['user_id']); | |
116 | pyroutes.register('edit_user_ssh_keys_delete', '/_admin/users/%(user_id)s/edit/ssh_keys/delete', ['user_id']); |
|
116 | pyroutes.register('edit_user_ssh_keys_delete', '/_admin/users/%(user_id)s/edit/ssh_keys/delete', ['user_id']); | |
117 | pyroutes.register('edit_user_emails', '/_admin/users/%(user_id)s/edit/emails', ['user_id']); |
|
117 | pyroutes.register('edit_user_emails', '/_admin/users/%(user_id)s/edit/emails', ['user_id']); | |
118 | pyroutes.register('edit_user_emails_add', '/_admin/users/%(user_id)s/edit/emails/new', ['user_id']); |
|
118 | pyroutes.register('edit_user_emails_add', '/_admin/users/%(user_id)s/edit/emails/new', ['user_id']); | |
119 | pyroutes.register('edit_user_emails_delete', '/_admin/users/%(user_id)s/edit/emails/delete', ['user_id']); |
|
119 | pyroutes.register('edit_user_emails_delete', '/_admin/users/%(user_id)s/edit/emails/delete', ['user_id']); | |
120 | pyroutes.register('edit_user_ips', '/_admin/users/%(user_id)s/edit/ips', ['user_id']); |
|
120 | pyroutes.register('edit_user_ips', '/_admin/users/%(user_id)s/edit/ips', ['user_id']); | |
121 | pyroutes.register('edit_user_ips_add', '/_admin/users/%(user_id)s/edit/ips/new', ['user_id']); |
|
121 | pyroutes.register('edit_user_ips_add', '/_admin/users/%(user_id)s/edit/ips/new', ['user_id']); | |
122 | pyroutes.register('edit_user_ips_delete', '/_admin/users/%(user_id)s/edit/ips/delete', ['user_id']); |
|
122 | pyroutes.register('edit_user_ips_delete', '/_admin/users/%(user_id)s/edit/ips/delete', ['user_id']); | |
123 | pyroutes.register('edit_user_perms_summary', '/_admin/users/%(user_id)s/edit/permissions_summary', ['user_id']); |
|
123 | pyroutes.register('edit_user_perms_summary', '/_admin/users/%(user_id)s/edit/permissions_summary', ['user_id']); | |
124 | pyroutes.register('edit_user_perms_summary_json', '/_admin/users/%(user_id)s/edit/permissions_summary/json', ['user_id']); |
|
124 | pyroutes.register('edit_user_perms_summary_json', '/_admin/users/%(user_id)s/edit/permissions_summary/json', ['user_id']); | |
125 | pyroutes.register('edit_user_groups_management', '/_admin/users/%(user_id)s/edit/groups_management', ['user_id']); |
|
125 | pyroutes.register('edit_user_groups_management', '/_admin/users/%(user_id)s/edit/groups_management', ['user_id']); | |
126 | pyroutes.register('edit_user_groups_management_updates', '/_admin/users/%(user_id)s/edit/edit_user_groups_management/updates', ['user_id']); |
|
126 | pyroutes.register('edit_user_groups_management_updates', '/_admin/users/%(user_id)s/edit/edit_user_groups_management/updates', ['user_id']); | |
127 | pyroutes.register('edit_user_audit_logs', '/_admin/users/%(user_id)s/edit/audit', ['user_id']); |
|
127 | pyroutes.register('edit_user_audit_logs', '/_admin/users/%(user_id)s/edit/audit', ['user_id']); | |
128 | pyroutes.register('edit_user_audit_logs_download', '/_admin/users/%(user_id)s/edit/audit/download', ['user_id']); |
|
128 | pyroutes.register('edit_user_audit_logs_download', '/_admin/users/%(user_id)s/edit/audit/download', ['user_id']); | |
129 | pyroutes.register('edit_user_caches', '/_admin/users/%(user_id)s/edit/caches', ['user_id']); |
|
129 | pyroutes.register('edit_user_caches', '/_admin/users/%(user_id)s/edit/caches', ['user_id']); | |
130 | pyroutes.register('edit_user_caches_update', '/_admin/users/%(user_id)s/edit/caches/update', ['user_id']); |
|
130 | pyroutes.register('edit_user_caches_update', '/_admin/users/%(user_id)s/edit/caches/update', ['user_id']); | |
131 | pyroutes.register('user_groups', '/_admin/user_groups', []); |
|
131 | pyroutes.register('user_groups', '/_admin/user_groups', []); | |
132 | pyroutes.register('user_groups_data', '/_admin/user_groups_data', []); |
|
132 | pyroutes.register('user_groups_data', '/_admin/user_groups_data', []); | |
133 | pyroutes.register('user_groups_new', '/_admin/user_groups/new', []); |
|
133 | pyroutes.register('user_groups_new', '/_admin/user_groups/new', []); | |
134 | pyroutes.register('user_groups_create', '/_admin/user_groups/create', []); |
|
134 | pyroutes.register('user_groups_create', '/_admin/user_groups/create', []); | |
135 | pyroutes.register('repos', '/_admin/repos', []); |
|
135 | pyroutes.register('repos', '/_admin/repos', []); | |
136 | pyroutes.register('repo_new', '/_admin/repos/new', []); |
|
136 | pyroutes.register('repo_new', '/_admin/repos/new', []); | |
137 | pyroutes.register('repo_create', '/_admin/repos/create', []); |
|
137 | pyroutes.register('repo_create', '/_admin/repos/create', []); | |
138 | pyroutes.register('repo_groups', '/_admin/repo_groups', []); |
|
138 | pyroutes.register('repo_groups', '/_admin/repo_groups', []); | |
139 | pyroutes.register('repo_groups_data', '/_admin/repo_groups_data', []); |
|
139 | pyroutes.register('repo_groups_data', '/_admin/repo_groups_data', []); | |
140 | pyroutes.register('repo_group_new', '/_admin/repo_group/new', []); |
|
140 | pyroutes.register('repo_group_new', '/_admin/repo_group/new', []); | |
141 | pyroutes.register('repo_group_create', '/_admin/repo_group/create', []); |
|
141 | pyroutes.register('repo_group_create', '/_admin/repo_group/create', []); | |
142 | pyroutes.register('channelstream_connect', '/_admin/channelstream/connect', []); |
|
142 | pyroutes.register('channelstream_connect', '/_admin/channelstream/connect', []); | |
143 | pyroutes.register('channelstream_subscribe', '/_admin/channelstream/subscribe', []); |
|
143 | pyroutes.register('channelstream_subscribe', '/_admin/channelstream/subscribe', []); | |
144 | pyroutes.register('channelstream_proxy', '/_channelstream', []); |
|
144 | pyroutes.register('channelstream_proxy', '/_channelstream', []); | |
145 | pyroutes.register('upload_file', '/_file_store/upload', []); |
|
145 | pyroutes.register('upload_file', '/_file_store/upload', []); | |
146 | pyroutes.register('download_file', '/_file_store/download/%(fid)s', ['fid']); |
|
146 | pyroutes.register('download_file', '/_file_store/download/%(fid)s', ['fid']); | |
147 | pyroutes.register('download_file_by_token', '/_file_store/token-download/%(_auth_token)s/%(fid)s', ['_auth_token', 'fid']); |
|
147 | pyroutes.register('download_file_by_token', '/_file_store/token-download/%(_auth_token)s/%(fid)s', ['_auth_token', 'fid']); | |
148 | pyroutes.register('logout', '/_admin/logout', []); |
|
148 | pyroutes.register('logout', '/_admin/logout', []); | |
149 | pyroutes.register('reset_password', '/_admin/password_reset', []); |
|
149 | pyroutes.register('reset_password', '/_admin/password_reset', []); | |
150 | pyroutes.register('reset_password_confirmation', '/_admin/password_reset_confirmation', []); |
|
150 | pyroutes.register('reset_password_confirmation', '/_admin/password_reset_confirmation', []); | |
151 | pyroutes.register('home', '/', []); |
|
151 | pyroutes.register('home', '/', []); | |
152 | pyroutes.register('user_autocomplete_data', '/_users', []); |
|
152 | pyroutes.register('user_autocomplete_data', '/_users', []); | |
153 | pyroutes.register('user_group_autocomplete_data', '/_user_groups', []); |
|
153 | pyroutes.register('user_group_autocomplete_data', '/_user_groups', []); | |
154 | pyroutes.register('repo_list_data', '/_repos', []); |
|
154 | pyroutes.register('repo_list_data', '/_repos', []); | |
155 | pyroutes.register('repo_group_list_data', '/_repo_groups', []); |
|
155 | pyroutes.register('repo_group_list_data', '/_repo_groups', []); | |
156 | pyroutes.register('goto_switcher_data', '/_goto_data', []); |
|
156 | pyroutes.register('goto_switcher_data', '/_goto_data', []); | |
157 | pyroutes.register('markup_preview', '/_markup_preview', []); |
|
157 | pyroutes.register('markup_preview', '/_markup_preview', []); | |
158 | pyroutes.register('file_preview', '/_file_preview', []); |
|
158 | pyroutes.register('file_preview', '/_file_preview', []); | |
159 | pyroutes.register('store_user_session_value', '/_store_session_attr', []); |
|
159 | pyroutes.register('store_user_session_value', '/_store_session_attr', []); | |
160 | pyroutes.register('journal', '/_admin/journal', []); |
|
160 | pyroutes.register('journal', '/_admin/journal', []); | |
161 | pyroutes.register('journal_rss', '/_admin/journal/rss', []); |
|
161 | pyroutes.register('journal_rss', '/_admin/journal/rss', []); | |
162 | pyroutes.register('journal_atom', '/_admin/journal/atom', []); |
|
162 | pyroutes.register('journal_atom', '/_admin/journal/atom', []); | |
163 | pyroutes.register('journal_public', '/_admin/public_journal', []); |
|
163 | pyroutes.register('journal_public', '/_admin/public_journal', []); | |
164 | pyroutes.register('journal_public_atom', '/_admin/public_journal/atom', []); |
|
164 | pyroutes.register('journal_public_atom', '/_admin/public_journal/atom', []); | |
165 | pyroutes.register('journal_public_atom_old', '/_admin/public_journal_atom', []); |
|
165 | pyroutes.register('journal_public_atom_old', '/_admin/public_journal_atom', []); | |
166 | pyroutes.register('journal_public_rss', '/_admin/public_journal/rss', []); |
|
166 | pyroutes.register('journal_public_rss', '/_admin/public_journal/rss', []); | |
167 | pyroutes.register('journal_public_rss_old', '/_admin/public_journal_rss', []); |
|
167 | pyroutes.register('journal_public_rss_old', '/_admin/public_journal_rss', []); | |
168 | pyroutes.register('toggle_following', '/_admin/toggle_following', []); |
|
168 | pyroutes.register('toggle_following', '/_admin/toggle_following', []); | |
169 | pyroutes.register('repo_creating', '/%(repo_name)s/repo_creating', ['repo_name']); |
|
169 | pyroutes.register('repo_creating', '/%(repo_name)s/repo_creating', ['repo_name']); | |
170 | pyroutes.register('repo_creating_check', '/%(repo_name)s/repo_creating_check', ['repo_name']); |
|
170 | pyroutes.register('repo_creating_check', '/%(repo_name)s/repo_creating_check', ['repo_name']); | |
171 | pyroutes.register('repo_summary_explicit', '/%(repo_name)s/summary', ['repo_name']); |
|
171 | pyroutes.register('repo_summary_explicit', '/%(repo_name)s/summary', ['repo_name']); | |
172 | pyroutes.register('repo_summary_commits', '/%(repo_name)s/summary-commits', ['repo_name']); |
|
172 | pyroutes.register('repo_summary_commits', '/%(repo_name)s/summary-commits', ['repo_name']); | |
173 | pyroutes.register('repo_commit', '/%(repo_name)s/changeset/%(commit_id)s', ['repo_name', 'commit_id']); |
|
173 | pyroutes.register('repo_commit', '/%(repo_name)s/changeset/%(commit_id)s', ['repo_name', 'commit_id']); | |
174 | pyroutes.register('repo_commit_children', '/%(repo_name)s/changeset_children/%(commit_id)s', ['repo_name', 'commit_id']); |
|
174 | pyroutes.register('repo_commit_children', '/%(repo_name)s/changeset_children/%(commit_id)s', ['repo_name', 'commit_id']); | |
175 | pyroutes.register('repo_commit_parents', '/%(repo_name)s/changeset_parents/%(commit_id)s', ['repo_name', 'commit_id']); |
|
175 | pyroutes.register('repo_commit_parents', '/%(repo_name)s/changeset_parents/%(commit_id)s', ['repo_name', 'commit_id']); | |
176 | pyroutes.register('repo_commit_raw', '/%(repo_name)s/changeset-diff/%(commit_id)s', ['repo_name', 'commit_id']); |
|
176 | pyroutes.register('repo_commit_raw', '/%(repo_name)s/changeset-diff/%(commit_id)s', ['repo_name', 'commit_id']); | |
177 | pyroutes.register('repo_commit_patch', '/%(repo_name)s/changeset-patch/%(commit_id)s', ['repo_name', 'commit_id']); |
|
177 | pyroutes.register('repo_commit_patch', '/%(repo_name)s/changeset-patch/%(commit_id)s', ['repo_name', 'commit_id']); | |
178 | pyroutes.register('repo_commit_download', '/%(repo_name)s/changeset-download/%(commit_id)s', ['repo_name', 'commit_id']); |
|
178 | pyroutes.register('repo_commit_download', '/%(repo_name)s/changeset-download/%(commit_id)s', ['repo_name', 'commit_id']); | |
179 | pyroutes.register('repo_commit_data', '/%(repo_name)s/changeset-data/%(commit_id)s', ['repo_name', 'commit_id']); |
|
179 | pyroutes.register('repo_commit_data', '/%(repo_name)s/changeset-data/%(commit_id)s', ['repo_name', 'commit_id']); | |
180 | pyroutes.register('repo_commit_comment_create', '/%(repo_name)s/changeset/%(commit_id)s/comment/create', ['repo_name', 'commit_id']); |
|
180 | pyroutes.register('repo_commit_comment_create', '/%(repo_name)s/changeset/%(commit_id)s/comment/create', ['repo_name', 'commit_id']); | |
181 | pyroutes.register('repo_commit_comment_preview', '/%(repo_name)s/changeset/%(commit_id)s/comment/preview', ['repo_name', 'commit_id']); |
|
181 | pyroutes.register('repo_commit_comment_preview', '/%(repo_name)s/changeset/%(commit_id)s/comment/preview', ['repo_name', 'commit_id']); | |
182 | pyroutes.register('repo_commit_comment_attachment_upload', '/%(repo_name)s/changeset/%(commit_id)s/comment/attachment_upload', ['repo_name', 'commit_id']); |
|
182 | pyroutes.register('repo_commit_comment_attachment_upload', '/%(repo_name)s/changeset/%(commit_id)s/comment/attachment_upload', ['repo_name', 'commit_id']); | |
183 | pyroutes.register('repo_commit_comment_delete', '/%(repo_name)s/changeset/%(commit_id)s/comment/%(comment_id)s/delete', ['repo_name', 'commit_id', 'comment_id']); |
|
183 | pyroutes.register('repo_commit_comment_delete', '/%(repo_name)s/changeset/%(commit_id)s/comment/%(comment_id)s/delete', ['repo_name', 'commit_id', 'comment_id']); | |
184 | pyroutes.register('repo_commit_raw_deprecated', '/%(repo_name)s/raw-changeset/%(commit_id)s', ['repo_name', 'commit_id']); |
|
184 | pyroutes.register('repo_commit_raw_deprecated', '/%(repo_name)s/raw-changeset/%(commit_id)s', ['repo_name', 'commit_id']); | |
185 | pyroutes.register('repo_archivefile', '/%(repo_name)s/archive/%(fname)s', ['repo_name', 'fname']); |
|
185 | pyroutes.register('repo_archivefile', '/%(repo_name)s/archive/%(fname)s', ['repo_name', 'fname']); | |
186 | pyroutes.register('repo_files_diff', '/%(repo_name)s/diff/%(f_path)s', ['repo_name', 'f_path']); |
|
186 | pyroutes.register('repo_files_diff', '/%(repo_name)s/diff/%(f_path)s', ['repo_name', 'f_path']); | |
187 | pyroutes.register('repo_files_diff_2way_redirect', '/%(repo_name)s/diff-2way/%(f_path)s', ['repo_name', 'f_path']); |
|
187 | pyroutes.register('repo_files_diff_2way_redirect', '/%(repo_name)s/diff-2way/%(f_path)s', ['repo_name', 'f_path']); | |
188 | pyroutes.register('repo_files', '/%(repo_name)s/files/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
188 | pyroutes.register('repo_files', '/%(repo_name)s/files/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
189 | pyroutes.register('repo_files:default_path', '/%(repo_name)s/files/%(commit_id)s/', ['repo_name', 'commit_id']); |
|
189 | pyroutes.register('repo_files:default_path', '/%(repo_name)s/files/%(commit_id)s/', ['repo_name', 'commit_id']); | |
190 | pyroutes.register('repo_files:default_commit', '/%(repo_name)s/files', ['repo_name']); |
|
190 | pyroutes.register('repo_files:default_commit', '/%(repo_name)s/files', ['repo_name']); | |
191 | pyroutes.register('repo_files:rendered', '/%(repo_name)s/render/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
191 | pyroutes.register('repo_files:rendered', '/%(repo_name)s/render/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
192 | pyroutes.register('repo_files:annotated', '/%(repo_name)s/annotate/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
192 | pyroutes.register('repo_files:annotated', '/%(repo_name)s/annotate/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
193 | pyroutes.register('repo_files:annotated_previous', '/%(repo_name)s/annotate-previous/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
193 | pyroutes.register('repo_files:annotated_previous', '/%(repo_name)s/annotate-previous/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
194 | pyroutes.register('repo_nodetree_full', '/%(repo_name)s/nodetree_full/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
194 | pyroutes.register('repo_nodetree_full', '/%(repo_name)s/nodetree_full/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
195 | pyroutes.register('repo_nodetree_full:default_path', '/%(repo_name)s/nodetree_full/%(commit_id)s/', ['repo_name', 'commit_id']); |
|
195 | pyroutes.register('repo_nodetree_full:default_path', '/%(repo_name)s/nodetree_full/%(commit_id)s/', ['repo_name', 'commit_id']); | |
196 | pyroutes.register('repo_files_nodelist', '/%(repo_name)s/nodelist/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
196 | pyroutes.register('repo_files_nodelist', '/%(repo_name)s/nodelist/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
197 | pyroutes.register('repo_file_raw', '/%(repo_name)s/raw/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
197 | pyroutes.register('repo_file_raw', '/%(repo_name)s/raw/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
198 | pyroutes.register('repo_file_download', '/%(repo_name)s/download/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
198 | pyroutes.register('repo_file_download', '/%(repo_name)s/download/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
199 | pyroutes.register('repo_file_download:legacy', '/%(repo_name)s/rawfile/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
199 | pyroutes.register('repo_file_download:legacy', '/%(repo_name)s/rawfile/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
200 | pyroutes.register('repo_file_history', '/%(repo_name)s/history/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
200 | pyroutes.register('repo_file_history', '/%(repo_name)s/history/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
201 | pyroutes.register('repo_file_authors', '/%(repo_name)s/authors/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
201 | pyroutes.register('repo_file_authors', '/%(repo_name)s/authors/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
202 | pyroutes.register('repo_files_remove_file', '/%(repo_name)s/remove_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
202 | pyroutes.register('repo_files_remove_file', '/%(repo_name)s/remove_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
203 | pyroutes.register('repo_files_delete_file', '/%(repo_name)s/delete_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
203 | pyroutes.register('repo_files_delete_file', '/%(repo_name)s/delete_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
204 | pyroutes.register('repo_files_edit_file', '/%(repo_name)s/edit_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
204 | pyroutes.register('repo_files_edit_file', '/%(repo_name)s/edit_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
205 | pyroutes.register('repo_files_update_file', '/%(repo_name)s/update_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
205 | pyroutes.register('repo_files_update_file', '/%(repo_name)s/update_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
206 | pyroutes.register('repo_files_add_file', '/%(repo_name)s/add_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
206 | pyroutes.register('repo_files_add_file', '/%(repo_name)s/add_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
207 | pyroutes.register('repo_files_upload_file', '/%(repo_name)s/upload_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
207 | pyroutes.register('repo_files_upload_file', '/%(repo_name)s/upload_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
208 | pyroutes.register('repo_files_create_file', '/%(repo_name)s/create_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
208 | pyroutes.register('repo_files_create_file', '/%(repo_name)s/create_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
209 | pyroutes.register('repo_refs_data', '/%(repo_name)s/refs-data', ['repo_name']); |
|
209 | pyroutes.register('repo_refs_data', '/%(repo_name)s/refs-data', ['repo_name']); | |
210 | pyroutes.register('repo_refs_changelog_data', '/%(repo_name)s/refs-data-changelog', ['repo_name']); |
|
210 | pyroutes.register('repo_refs_changelog_data', '/%(repo_name)s/refs-data-changelog', ['repo_name']); | |
211 | pyroutes.register('repo_stats', '/%(repo_name)s/repo_stats/%(commit_id)s', ['repo_name', 'commit_id']); |
|
211 | pyroutes.register('repo_stats', '/%(repo_name)s/repo_stats/%(commit_id)s', ['repo_name', 'commit_id']); | |
212 | pyroutes.register('repo_commits', '/%(repo_name)s/commits', ['repo_name']); |
|
212 | pyroutes.register('repo_commits', '/%(repo_name)s/commits', ['repo_name']); | |
213 | pyroutes.register('repo_commits_file', '/%(repo_name)s/commits/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
213 | pyroutes.register('repo_commits_file', '/%(repo_name)s/commits/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
214 | pyroutes.register('repo_commits_elements', '/%(repo_name)s/commits_elements', ['repo_name']); |
|
214 | pyroutes.register('repo_commits_elements', '/%(repo_name)s/commits_elements', ['repo_name']); | |
215 | pyroutes.register('repo_commits_elements_file', '/%(repo_name)s/commits_elements/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
215 | pyroutes.register('repo_commits_elements_file', '/%(repo_name)s/commits_elements/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
216 | pyroutes.register('repo_changelog', '/%(repo_name)s/changelog', ['repo_name']); |
|
216 | pyroutes.register('repo_changelog', '/%(repo_name)s/changelog', ['repo_name']); | |
217 | pyroutes.register('repo_changelog_file', '/%(repo_name)s/changelog/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); |
|
217 | pyroutes.register('repo_changelog_file', '/%(repo_name)s/changelog/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']); | |
218 | pyroutes.register('repo_compare_select', '/%(repo_name)s/compare', ['repo_name']); |
|
218 | pyroutes.register('repo_compare_select', '/%(repo_name)s/compare', ['repo_name']); | |
219 | pyroutes.register('repo_compare', '/%(repo_name)s/compare/%(source_ref_type)s@%(source_ref)s...%(target_ref_type)s@%(target_ref)s', ['repo_name', 'source_ref_type', 'source_ref', 'target_ref_type', 'target_ref']); |
|
219 | pyroutes.register('repo_compare', '/%(repo_name)s/compare/%(source_ref_type)s@%(source_ref)s...%(target_ref_type)s@%(target_ref)s', ['repo_name', 'source_ref_type', 'source_ref', 'target_ref_type', 'target_ref']); | |
220 | pyroutes.register('tags_home', '/%(repo_name)s/tags', ['repo_name']); |
|
220 | pyroutes.register('tags_home', '/%(repo_name)s/tags', ['repo_name']); | |
221 | pyroutes.register('branches_home', '/%(repo_name)s/branches', ['repo_name']); |
|
221 | pyroutes.register('branches_home', '/%(repo_name)s/branches', ['repo_name']); | |
222 | pyroutes.register('bookmarks_home', '/%(repo_name)s/bookmarks', ['repo_name']); |
|
222 | pyroutes.register('bookmarks_home', '/%(repo_name)s/bookmarks', ['repo_name']); | |
223 | pyroutes.register('repo_fork_new', '/%(repo_name)s/fork', ['repo_name']); |
|
223 | pyroutes.register('repo_fork_new', '/%(repo_name)s/fork', ['repo_name']); | |
224 | pyroutes.register('repo_fork_create', '/%(repo_name)s/fork/create', ['repo_name']); |
|
224 | pyroutes.register('repo_fork_create', '/%(repo_name)s/fork/create', ['repo_name']); | |
225 | pyroutes.register('repo_forks_show_all', '/%(repo_name)s/forks', ['repo_name']); |
|
225 | pyroutes.register('repo_forks_show_all', '/%(repo_name)s/forks', ['repo_name']); | |
226 | pyroutes.register('repo_forks_data', '/%(repo_name)s/forks/data', ['repo_name']); |
|
226 | pyroutes.register('repo_forks_data', '/%(repo_name)s/forks/data', ['repo_name']); | |
227 | pyroutes.register('pullrequest_show', '/%(repo_name)s/pull-request/%(pull_request_id)s', ['repo_name', 'pull_request_id']); |
|
227 | pyroutes.register('pullrequest_show', '/%(repo_name)s/pull-request/%(pull_request_id)s', ['repo_name', 'pull_request_id']); | |
228 | pyroutes.register('pullrequest_show_all', '/%(repo_name)s/pull-request', ['repo_name']); |
|
228 | pyroutes.register('pullrequest_show_all', '/%(repo_name)s/pull-request', ['repo_name']); | |
229 | pyroutes.register('pullrequest_show_all_data', '/%(repo_name)s/pull-request-data', ['repo_name']); |
|
229 | pyroutes.register('pullrequest_show_all_data', '/%(repo_name)s/pull-request-data', ['repo_name']); | |
230 | pyroutes.register('pullrequest_repo_refs', '/%(repo_name)s/pull-request/refs/%(target_repo_name)s', ['repo_name', 'target_repo_name']); |
|
230 | pyroutes.register('pullrequest_repo_refs', '/%(repo_name)s/pull-request/refs/%(target_repo_name)s', ['repo_name', 'target_repo_name']); | |
231 | pyroutes.register('pullrequest_repo_targets', '/%(repo_name)s/pull-request/repo-targets', ['repo_name']); |
|
231 | pyroutes.register('pullrequest_repo_targets', '/%(repo_name)s/pull-request/repo-targets', ['repo_name']); | |
232 | pyroutes.register('pullrequest_new', '/%(repo_name)s/pull-request/new', ['repo_name']); |
|
232 | pyroutes.register('pullrequest_new', '/%(repo_name)s/pull-request/new', ['repo_name']); | |
233 | pyroutes.register('pullrequest_create', '/%(repo_name)s/pull-request/create', ['repo_name']); |
|
233 | pyroutes.register('pullrequest_create', '/%(repo_name)s/pull-request/create', ['repo_name']); | |
234 | pyroutes.register('pullrequest_update', '/%(repo_name)s/pull-request/%(pull_request_id)s/update', ['repo_name', 'pull_request_id']); |
|
234 | pyroutes.register('pullrequest_update', '/%(repo_name)s/pull-request/%(pull_request_id)s/update', ['repo_name', 'pull_request_id']); | |
235 | pyroutes.register('pullrequest_merge', '/%(repo_name)s/pull-request/%(pull_request_id)s/merge', ['repo_name', 'pull_request_id']); |
|
235 | pyroutes.register('pullrequest_merge', '/%(repo_name)s/pull-request/%(pull_request_id)s/merge', ['repo_name', 'pull_request_id']); | |
236 | pyroutes.register('pullrequest_delete', '/%(repo_name)s/pull-request/%(pull_request_id)s/delete', ['repo_name', 'pull_request_id']); |
|
236 | pyroutes.register('pullrequest_delete', '/%(repo_name)s/pull-request/%(pull_request_id)s/delete', ['repo_name', 'pull_request_id']); | |
237 | pyroutes.register('pullrequest_comment_create', '/%(repo_name)s/pull-request/%(pull_request_id)s/comment', ['repo_name', 'pull_request_id']); |
|
237 | pyroutes.register('pullrequest_comment_create', '/%(repo_name)s/pull-request/%(pull_request_id)s/comment', ['repo_name', 'pull_request_id']); | |
238 | pyroutes.register('pullrequest_comment_delete', '/%(repo_name)s/pull-request/%(pull_request_id)s/comment/%(comment_id)s/delete', ['repo_name', 'pull_request_id', 'comment_id']); |
|
238 | pyroutes.register('pullrequest_comment_delete', '/%(repo_name)s/pull-request/%(pull_request_id)s/comment/%(comment_id)s/delete', ['repo_name', 'pull_request_id', 'comment_id']); | |
239 | pyroutes.register('edit_repo', '/%(repo_name)s/settings', ['repo_name']); |
|
239 | pyroutes.register('edit_repo', '/%(repo_name)s/settings', ['repo_name']); | |
240 | pyroutes.register('edit_repo_advanced', '/%(repo_name)s/settings/advanced', ['repo_name']); |
|
240 | pyroutes.register('edit_repo_advanced', '/%(repo_name)s/settings/advanced', ['repo_name']); | |
241 | pyroutes.register('edit_repo_advanced_archive', '/%(repo_name)s/settings/advanced/archive', ['repo_name']); |
|
241 | pyroutes.register('edit_repo_advanced_archive', '/%(repo_name)s/settings/advanced/archive', ['repo_name']); | |
242 | pyroutes.register('edit_repo_advanced_delete', '/%(repo_name)s/settings/advanced/delete', ['repo_name']); |
|
242 | pyroutes.register('edit_repo_advanced_delete', '/%(repo_name)s/settings/advanced/delete', ['repo_name']); | |
243 | pyroutes.register('edit_repo_advanced_locking', '/%(repo_name)s/settings/advanced/locking', ['repo_name']); |
|
243 | pyroutes.register('edit_repo_advanced_locking', '/%(repo_name)s/settings/advanced/locking', ['repo_name']); | |
244 | pyroutes.register('edit_repo_advanced_journal', '/%(repo_name)s/settings/advanced/journal', ['repo_name']); |
|
244 | pyroutes.register('edit_repo_advanced_journal', '/%(repo_name)s/settings/advanced/journal', ['repo_name']); | |
245 | pyroutes.register('edit_repo_advanced_fork', '/%(repo_name)s/settings/advanced/fork', ['repo_name']); |
|
245 | pyroutes.register('edit_repo_advanced_fork', '/%(repo_name)s/settings/advanced/fork', ['repo_name']); | |
246 | pyroutes.register('edit_repo_advanced_hooks', '/%(repo_name)s/settings/advanced/hooks', ['repo_name']); |
|
246 | pyroutes.register('edit_repo_advanced_hooks', '/%(repo_name)s/settings/advanced/hooks', ['repo_name']); | |
247 | pyroutes.register('edit_repo_caches', '/%(repo_name)s/settings/caches', ['repo_name']); |
|
247 | pyroutes.register('edit_repo_caches', '/%(repo_name)s/settings/caches', ['repo_name']); | |
248 | pyroutes.register('edit_repo_perms', '/%(repo_name)s/settings/permissions', ['repo_name']); |
|
248 | pyroutes.register('edit_repo_perms', '/%(repo_name)s/settings/permissions', ['repo_name']); | |
249 | pyroutes.register('edit_repo_perms_set_private', '/%(repo_name)s/settings/permissions/set_private', ['repo_name']); |
|
249 | pyroutes.register('edit_repo_perms_set_private', '/%(repo_name)s/settings/permissions/set_private', ['repo_name']); | |
250 | pyroutes.register('edit_repo_maintenance', '/%(repo_name)s/settings/maintenance', ['repo_name']); |
|
250 | pyroutes.register('edit_repo_maintenance', '/%(repo_name)s/settings/maintenance', ['repo_name']); | |
251 | pyroutes.register('edit_repo_maintenance_execute', '/%(repo_name)s/settings/maintenance/execute', ['repo_name']); |
|
251 | pyroutes.register('edit_repo_maintenance_execute', '/%(repo_name)s/settings/maintenance/execute', ['repo_name']); | |
252 | pyroutes.register('edit_repo_fields', '/%(repo_name)s/settings/fields', ['repo_name']); |
|
252 | pyroutes.register('edit_repo_fields', '/%(repo_name)s/settings/fields', ['repo_name']); | |
253 | pyroutes.register('edit_repo_fields_create', '/%(repo_name)s/settings/fields/create', ['repo_name']); |
|
253 | pyroutes.register('edit_repo_fields_create', '/%(repo_name)s/settings/fields/create', ['repo_name']); | |
254 | pyroutes.register('edit_repo_fields_delete', '/%(repo_name)s/settings/fields/%(field_id)s/delete', ['repo_name', 'field_id']); |
|
254 | pyroutes.register('edit_repo_fields_delete', '/%(repo_name)s/settings/fields/%(field_id)s/delete', ['repo_name', 'field_id']); | |
255 | pyroutes.register('repo_edit_toggle_locking', '/%(repo_name)s/settings/toggle_locking', ['repo_name']); |
|
255 | pyroutes.register('repo_edit_toggle_locking', '/%(repo_name)s/settings/toggle_locking', ['repo_name']); | |
256 | pyroutes.register('edit_repo_remote', '/%(repo_name)s/settings/remote', ['repo_name']); |
|
256 | pyroutes.register('edit_repo_remote', '/%(repo_name)s/settings/remote', ['repo_name']); | |
257 | pyroutes.register('edit_repo_remote_pull', '/%(repo_name)s/settings/remote/pull', ['repo_name']); |
|
257 | pyroutes.register('edit_repo_remote_pull', '/%(repo_name)s/settings/remote/pull', ['repo_name']); | |
258 | pyroutes.register('edit_repo_statistics', '/%(repo_name)s/settings/statistics', ['repo_name']); |
|
258 | pyroutes.register('edit_repo_statistics', '/%(repo_name)s/settings/statistics', ['repo_name']); | |
259 | pyroutes.register('edit_repo_statistics_reset', '/%(repo_name)s/settings/statistics/update', ['repo_name']); |
|
259 | pyroutes.register('edit_repo_statistics_reset', '/%(repo_name)s/settings/statistics/update', ['repo_name']); | |
260 | pyroutes.register('edit_repo_issuetracker', '/%(repo_name)s/settings/issue_trackers', ['repo_name']); |
|
260 | pyroutes.register('edit_repo_issuetracker', '/%(repo_name)s/settings/issue_trackers', ['repo_name']); | |
261 | pyroutes.register('edit_repo_issuetracker_test', '/%(repo_name)s/settings/issue_trackers/test', ['repo_name']); |
|
261 | pyroutes.register('edit_repo_issuetracker_test', '/%(repo_name)s/settings/issue_trackers/test', ['repo_name']); | |
262 | pyroutes.register('edit_repo_issuetracker_delete', '/%(repo_name)s/settings/issue_trackers/delete', ['repo_name']); |
|
262 | pyroutes.register('edit_repo_issuetracker_delete', '/%(repo_name)s/settings/issue_trackers/delete', ['repo_name']); | |
263 | pyroutes.register('edit_repo_issuetracker_update', '/%(repo_name)s/settings/issue_trackers/update', ['repo_name']); |
|
263 | pyroutes.register('edit_repo_issuetracker_update', '/%(repo_name)s/settings/issue_trackers/update', ['repo_name']); | |
264 | pyroutes.register('edit_repo_vcs', '/%(repo_name)s/settings/vcs', ['repo_name']); |
|
264 | pyroutes.register('edit_repo_vcs', '/%(repo_name)s/settings/vcs', ['repo_name']); | |
265 | pyroutes.register('edit_repo_vcs_update', '/%(repo_name)s/settings/vcs/update', ['repo_name']); |
|
265 | pyroutes.register('edit_repo_vcs_update', '/%(repo_name)s/settings/vcs/update', ['repo_name']); | |
266 | pyroutes.register('edit_repo_vcs_svn_pattern_delete', '/%(repo_name)s/settings/vcs/svn_pattern/delete', ['repo_name']); |
|
266 | pyroutes.register('edit_repo_vcs_svn_pattern_delete', '/%(repo_name)s/settings/vcs/svn_pattern/delete', ['repo_name']); | |
267 | pyroutes.register('repo_reviewers', '/%(repo_name)s/settings/review/rules', ['repo_name']); |
|
267 | pyroutes.register('repo_reviewers', '/%(repo_name)s/settings/review/rules', ['repo_name']); | |
268 | pyroutes.register('repo_default_reviewers_data', '/%(repo_name)s/settings/review/default-reviewers', ['repo_name']); |
|
268 | pyroutes.register('repo_default_reviewers_data', '/%(repo_name)s/settings/review/default-reviewers', ['repo_name']); | |
269 | pyroutes.register('edit_repo_strip', '/%(repo_name)s/settings/strip', ['repo_name']); |
|
269 | pyroutes.register('edit_repo_strip', '/%(repo_name)s/settings/strip', ['repo_name']); | |
270 | pyroutes.register('strip_check', '/%(repo_name)s/settings/strip_check', ['repo_name']); |
|
270 | pyroutes.register('strip_check', '/%(repo_name)s/settings/strip_check', ['repo_name']); | |
271 | pyroutes.register('strip_execute', '/%(repo_name)s/settings/strip_execute', ['repo_name']); |
|
271 | pyroutes.register('strip_execute', '/%(repo_name)s/settings/strip_execute', ['repo_name']); | |
272 | pyroutes.register('edit_repo_audit_logs', '/%(repo_name)s/settings/audit_logs', ['repo_name']); |
|
272 | pyroutes.register('edit_repo_audit_logs', '/%(repo_name)s/settings/audit_logs', ['repo_name']); | |
273 | pyroutes.register('rss_feed_home', '/%(repo_name)s/feed-rss', ['repo_name']); |
|
273 | pyroutes.register('rss_feed_home', '/%(repo_name)s/feed-rss', ['repo_name']); | |
274 | pyroutes.register('atom_feed_home', '/%(repo_name)s/feed-atom', ['repo_name']); |
|
274 | pyroutes.register('atom_feed_home', '/%(repo_name)s/feed-atom', ['repo_name']); | |
275 | pyroutes.register('rss_feed_home_old', '/%(repo_name)s/feed/rss', ['repo_name']); |
|
275 | pyroutes.register('rss_feed_home_old', '/%(repo_name)s/feed/rss', ['repo_name']); | |
276 | pyroutes.register('atom_feed_home_old', '/%(repo_name)s/feed/atom', ['repo_name']); |
|
276 | pyroutes.register('atom_feed_home_old', '/%(repo_name)s/feed/atom', ['repo_name']); | |
277 | pyroutes.register('repo_summary', '/%(repo_name)s', ['repo_name']); |
|
277 | pyroutes.register('repo_summary', '/%(repo_name)s', ['repo_name']); | |
278 | pyroutes.register('repo_summary_slash', '/%(repo_name)s/', ['repo_name']); |
|
278 | pyroutes.register('repo_summary_slash', '/%(repo_name)s/', ['repo_name']); | |
279 | pyroutes.register('edit_repo_group', '/%(repo_group_name)s/_edit', ['repo_group_name']); |
|
279 | pyroutes.register('edit_repo_group', '/%(repo_group_name)s/_edit', ['repo_group_name']); | |
280 | pyroutes.register('edit_repo_group_advanced', '/%(repo_group_name)s/_settings/advanced', ['repo_group_name']); |
|
280 | pyroutes.register('edit_repo_group_advanced', '/%(repo_group_name)s/_settings/advanced', ['repo_group_name']); | |
281 | pyroutes.register('edit_repo_group_advanced_delete', '/%(repo_group_name)s/_settings/advanced/delete', ['repo_group_name']); |
|
281 | pyroutes.register('edit_repo_group_advanced_delete', '/%(repo_group_name)s/_settings/advanced/delete', ['repo_group_name']); | |
282 | pyroutes.register('edit_repo_group_perms', '/%(repo_group_name)s/_settings/permissions', ['repo_group_name']); |
|
282 | pyroutes.register('edit_repo_group_perms', '/%(repo_group_name)s/_settings/permissions', ['repo_group_name']); | |
283 | pyroutes.register('edit_repo_group_perms_update', '/%(repo_group_name)s/_settings/permissions/update', ['repo_group_name']); |
|
283 | pyroutes.register('edit_repo_group_perms_update', '/%(repo_group_name)s/_settings/permissions/update', ['repo_group_name']); | |
284 | pyroutes.register('repo_group_home', '/%(repo_group_name)s', ['repo_group_name']); |
|
284 | pyroutes.register('repo_group_home', '/%(repo_group_name)s', ['repo_group_name']); | |
285 | pyroutes.register('repo_group_home_slash', '/%(repo_group_name)s/', ['repo_group_name']); |
|
285 | pyroutes.register('repo_group_home_slash', '/%(repo_group_name)s/', ['repo_group_name']); | |
286 | pyroutes.register('user_group_members_data', '/_admin/user_groups/%(user_group_id)s/members', ['user_group_id']); |
|
286 | pyroutes.register('user_group_members_data', '/_admin/user_groups/%(user_group_id)s/members', ['user_group_id']); | |
287 | pyroutes.register('edit_user_group_perms_summary', '/_admin/user_groups/%(user_group_id)s/edit/permissions_summary', ['user_group_id']); |
|
287 | pyroutes.register('edit_user_group_perms_summary', '/_admin/user_groups/%(user_group_id)s/edit/permissions_summary', ['user_group_id']); | |
288 | pyroutes.register('edit_user_group_perms_summary_json', '/_admin/user_groups/%(user_group_id)s/edit/permissions_summary/json', ['user_group_id']); |
|
288 | pyroutes.register('edit_user_group_perms_summary_json', '/_admin/user_groups/%(user_group_id)s/edit/permissions_summary/json', ['user_group_id']); | |
289 | pyroutes.register('edit_user_group', '/_admin/user_groups/%(user_group_id)s/edit', ['user_group_id']); |
|
289 | pyroutes.register('edit_user_group', '/_admin/user_groups/%(user_group_id)s/edit', ['user_group_id']); | |
290 | pyroutes.register('user_groups_update', '/_admin/user_groups/%(user_group_id)s/update', ['user_group_id']); |
|
290 | pyroutes.register('user_groups_update', '/_admin/user_groups/%(user_group_id)s/update', ['user_group_id']); | |
291 | pyroutes.register('edit_user_group_global_perms', '/_admin/user_groups/%(user_group_id)s/edit/global_permissions', ['user_group_id']); |
|
291 | pyroutes.register('edit_user_group_global_perms', '/_admin/user_groups/%(user_group_id)s/edit/global_permissions', ['user_group_id']); | |
292 | pyroutes.register('edit_user_group_global_perms_update', '/_admin/user_groups/%(user_group_id)s/edit/global_permissions/update', ['user_group_id']); |
|
292 | pyroutes.register('edit_user_group_global_perms_update', '/_admin/user_groups/%(user_group_id)s/edit/global_permissions/update', ['user_group_id']); | |
293 | pyroutes.register('edit_user_group_perms', '/_admin/user_groups/%(user_group_id)s/edit/permissions', ['user_group_id']); |
|
293 | pyroutes.register('edit_user_group_perms', '/_admin/user_groups/%(user_group_id)s/edit/permissions', ['user_group_id']); | |
294 | pyroutes.register('edit_user_group_perms_update', '/_admin/user_groups/%(user_group_id)s/edit/permissions/update', ['user_group_id']); |
|
294 | pyroutes.register('edit_user_group_perms_update', '/_admin/user_groups/%(user_group_id)s/edit/permissions/update', ['user_group_id']); | |
295 | pyroutes.register('edit_user_group_advanced', '/_admin/user_groups/%(user_group_id)s/edit/advanced', ['user_group_id']); |
|
295 | pyroutes.register('edit_user_group_advanced', '/_admin/user_groups/%(user_group_id)s/edit/advanced', ['user_group_id']); | |
296 | pyroutes.register('edit_user_group_advanced_sync', '/_admin/user_groups/%(user_group_id)s/edit/advanced/sync', ['user_group_id']); |
|
296 | pyroutes.register('edit_user_group_advanced_sync', '/_admin/user_groups/%(user_group_id)s/edit/advanced/sync', ['user_group_id']); | |
297 | pyroutes.register('user_groups_delete', '/_admin/user_groups/%(user_group_id)s/delete', ['user_group_id']); |
|
297 | pyroutes.register('user_groups_delete', '/_admin/user_groups/%(user_group_id)s/delete', ['user_group_id']); | |
298 | pyroutes.register('search', '/_admin/search', []); |
|
298 | pyroutes.register('search', '/_admin/search', []); | |
299 | pyroutes.register('search_repo', '/%(repo_name)s/_search', ['repo_name']); |
|
299 | pyroutes.register('search_repo', '/%(repo_name)s/_search', ['repo_name']); | |
300 | pyroutes.register('search_repo_alt', '/%(repo_name)s/search', ['repo_name']); |
|
300 | pyroutes.register('search_repo_alt', '/%(repo_name)s/search', ['repo_name']); | |
301 | pyroutes.register('search_repo_group', '/%(repo_group_name)s/_search', ['repo_group_name']); |
|
301 | pyroutes.register('search_repo_group', '/%(repo_group_name)s/_search', ['repo_group_name']); | |
302 | pyroutes.register('user_profile', '/_profiles/%(username)s', ['username']); |
|
302 | pyroutes.register('user_profile', '/_profiles/%(username)s', ['username']); | |
303 | pyroutes.register('user_group_profile', '/_profile_user_group/%(user_group_name)s', ['user_group_name']); |
|
303 | pyroutes.register('user_group_profile', '/_profile_user_group/%(user_group_name)s', ['user_group_name']); | |
304 | pyroutes.register('my_account_profile', '/_admin/my_account/profile', []); |
|
304 | pyroutes.register('my_account_profile', '/_admin/my_account/profile', []); | |
305 | pyroutes.register('my_account_edit', '/_admin/my_account/edit', []); |
|
305 | pyroutes.register('my_account_edit', '/_admin/my_account/edit', []); | |
306 | pyroutes.register('my_account_update', '/_admin/my_account/update', []); |
|
306 | pyroutes.register('my_account_update', '/_admin/my_account/update', []); | |
307 | pyroutes.register('my_account_password', '/_admin/my_account/password', []); |
|
307 | pyroutes.register('my_account_password', '/_admin/my_account/password', []); | |
308 | pyroutes.register('my_account_password_update', '/_admin/my_account/password/update', []); |
|
308 | pyroutes.register('my_account_password_update', '/_admin/my_account/password/update', []); | |
309 | pyroutes.register('my_account_auth_tokens_delete', '/_admin/my_account/auth_tokens/delete', []); |
|
309 | pyroutes.register('my_account_auth_tokens_delete', '/_admin/my_account/auth_tokens/delete', []); | |
310 | pyroutes.register('my_account_ssh_keys', '/_admin/my_account/ssh_keys', []); |
|
310 | pyroutes.register('my_account_ssh_keys', '/_admin/my_account/ssh_keys', []); | |
311 | pyroutes.register('my_account_ssh_keys_generate', '/_admin/my_account/ssh_keys/generate', []); |
|
311 | pyroutes.register('my_account_ssh_keys_generate', '/_admin/my_account/ssh_keys/generate', []); | |
312 | pyroutes.register('my_account_ssh_keys_add', '/_admin/my_account/ssh_keys/new', []); |
|
312 | pyroutes.register('my_account_ssh_keys_add', '/_admin/my_account/ssh_keys/new', []); | |
313 | pyroutes.register('my_account_ssh_keys_delete', '/_admin/my_account/ssh_keys/delete', []); |
|
313 | pyroutes.register('my_account_ssh_keys_delete', '/_admin/my_account/ssh_keys/delete', []); | |
314 | pyroutes.register('my_account_user_group_membership', '/_admin/my_account/user_group_membership', []); |
|
314 | pyroutes.register('my_account_user_group_membership', '/_admin/my_account/user_group_membership', []); | |
315 | pyroutes.register('my_account_emails', '/_admin/my_account/emails', []); |
|
315 | pyroutes.register('my_account_emails', '/_admin/my_account/emails', []); | |
316 | pyroutes.register('my_account_emails_add', '/_admin/my_account/emails/new', []); |
|
316 | pyroutes.register('my_account_emails_add', '/_admin/my_account/emails/new', []); | |
317 | pyroutes.register('my_account_emails_delete', '/_admin/my_account/emails/delete', []); |
|
317 | pyroutes.register('my_account_emails_delete', '/_admin/my_account/emails/delete', []); | |
318 | pyroutes.register('my_account_repos', '/_admin/my_account/repos', []); |
|
318 | pyroutes.register('my_account_repos', '/_admin/my_account/repos', []); | |
319 | pyroutes.register('my_account_watched', '/_admin/my_account/watched', []); |
|
319 | pyroutes.register('my_account_watched', '/_admin/my_account/watched', []); | |
320 | pyroutes.register('my_account_bookmarks', '/_admin/my_account/bookmarks', []); |
|
320 | pyroutes.register('my_account_bookmarks', '/_admin/my_account/bookmarks', []); | |
321 | pyroutes.register('my_account_bookmarks_update', '/_admin/my_account/bookmarks/update', []); |
|
321 | pyroutes.register('my_account_bookmarks_update', '/_admin/my_account/bookmarks/update', []); | |
322 | pyroutes.register('my_account_goto_bookmark', '/_admin/my_account/bookmark/%(bookmark_id)s', ['bookmark_id']); |
|
322 | pyroutes.register('my_account_goto_bookmark', '/_admin/my_account/bookmark/%(bookmark_id)s', ['bookmark_id']); | |
323 | pyroutes.register('my_account_perms', '/_admin/my_account/perms', []); |
|
323 | pyroutes.register('my_account_perms', '/_admin/my_account/perms', []); | |
324 | pyroutes.register('my_account_notifications', '/_admin/my_account/notifications', []); |
|
324 | pyroutes.register('my_account_notifications', '/_admin/my_account/notifications', []); | |
325 | pyroutes.register('my_account_notifications_toggle_visibility', '/_admin/my_account/toggle_visibility', []); |
|
325 | pyroutes.register('my_account_notifications_toggle_visibility', '/_admin/my_account/toggle_visibility', []); | |
326 | pyroutes.register('my_account_pullrequests', '/_admin/my_account/pull_requests', []); |
|
326 | pyroutes.register('my_account_pullrequests', '/_admin/my_account/pull_requests', []); | |
327 | pyroutes.register('my_account_pullrequests_data', '/_admin/my_account/pull_requests/data', []); |
|
327 | pyroutes.register('my_account_pullrequests_data', '/_admin/my_account/pull_requests/data', []); | |
328 | pyroutes.register('notifications_show_all', '/_admin/notifications', []); |
|
328 | pyroutes.register('notifications_show_all', '/_admin/notifications', []); | |
329 | pyroutes.register('notifications_mark_all_read', '/_admin/notifications/mark_all_read', []); |
|
329 | pyroutes.register('notifications_mark_all_read', '/_admin/notifications/mark_all_read', []); | |
330 | pyroutes.register('notifications_show', '/_admin/notifications/%(notification_id)s', ['notification_id']); |
|
330 | pyroutes.register('notifications_show', '/_admin/notifications/%(notification_id)s', ['notification_id']); | |
331 | pyroutes.register('notifications_update', '/_admin/notifications/%(notification_id)s/update', ['notification_id']); |
|
331 | pyroutes.register('notifications_update', '/_admin/notifications/%(notification_id)s/update', ['notification_id']); | |
332 | pyroutes.register('notifications_delete', '/_admin/notifications/%(notification_id)s/delete', ['notification_id']); |
|
332 | pyroutes.register('notifications_delete', '/_admin/notifications/%(notification_id)s/delete', ['notification_id']); | |
333 | pyroutes.register('my_account_notifications_test_channelstream', '/_admin/my_account/test_channelstream', []); |
|
333 | pyroutes.register('my_account_notifications_test_channelstream', '/_admin/my_account/test_channelstream', []); | |
334 | pyroutes.register('gists_show', '/_admin/gists', []); |
|
334 | pyroutes.register('gists_show', '/_admin/gists', []); | |
335 | pyroutes.register('gists_new', '/_admin/gists/new', []); |
|
335 | pyroutes.register('gists_new', '/_admin/gists/new', []); | |
336 | pyroutes.register('gists_create', '/_admin/gists/create', []); |
|
336 | pyroutes.register('gists_create', '/_admin/gists/create', []); | |
337 | pyroutes.register('gist_show', '/_admin/gists/%(gist_id)s', ['gist_id']); |
|
337 | pyroutes.register('gist_show', '/_admin/gists/%(gist_id)s', ['gist_id']); | |
338 | pyroutes.register('gist_delete', '/_admin/gists/%(gist_id)s/delete', ['gist_id']); |
|
338 | pyroutes.register('gist_delete', '/_admin/gists/%(gist_id)s/delete', ['gist_id']); | |
339 | pyroutes.register('gist_edit', '/_admin/gists/%(gist_id)s/edit', ['gist_id']); |
|
339 | pyroutes.register('gist_edit', '/_admin/gists/%(gist_id)s/edit', ['gist_id']); | |
340 | pyroutes.register('gist_edit_check_revision', '/_admin/gists/%(gist_id)s/edit/check_revision', ['gist_id']); |
|
340 | pyroutes.register('gist_edit_check_revision', '/_admin/gists/%(gist_id)s/edit/check_revision', ['gist_id']); | |
341 | pyroutes.register('gist_update', '/_admin/gists/%(gist_id)s/update', ['gist_id']); |
|
341 | pyroutes.register('gist_update', '/_admin/gists/%(gist_id)s/update', ['gist_id']); | |
342 | pyroutes.register('gist_show_rev', '/_admin/gists/%(gist_id)s/%(revision)s', ['gist_id', 'revision']); |
|
342 | pyroutes.register('gist_show_rev', '/_admin/gists/%(gist_id)s/%(revision)s', ['gist_id', 'revision']); | |
343 | pyroutes.register('gist_show_formatted', '/_admin/gists/%(gist_id)s/%(revision)s/%(format)s', ['gist_id', 'revision', 'format']); |
|
343 | pyroutes.register('gist_show_formatted', '/_admin/gists/%(gist_id)s/%(revision)s/%(format)s', ['gist_id', 'revision', 'format']); | |
344 | pyroutes.register('gist_show_formatted_path', '/_admin/gists/%(gist_id)s/%(revision)s/%(format)s/%(f_path)s', ['gist_id', 'revision', 'format', 'f_path']); |
|
344 | pyroutes.register('gist_show_formatted_path', '/_admin/gists/%(gist_id)s/%(revision)s/%(format)s/%(f_path)s', ['gist_id', 'revision', 'format', 'f_path']); | |
345 | pyroutes.register('debug_style_home', '/_admin/debug_style', []); |
|
345 | pyroutes.register('debug_style_home', '/_admin/debug_style', []); | |
346 | pyroutes.register('debug_style_email', '/_admin/debug_style/email/%(email_id)s', ['email_id']); |
|
346 | pyroutes.register('debug_style_email', '/_admin/debug_style/email/%(email_id)s', ['email_id']); | |
347 | pyroutes.register('debug_style_email_plain_rendered', '/_admin/debug_style/email-rendered/%(email_id)s', ['email_id']); |
|
347 | pyroutes.register('debug_style_email_plain_rendered', '/_admin/debug_style/email-rendered/%(email_id)s', ['email_id']); | |
348 | pyroutes.register('debug_style_template', '/_admin/debug_style/t/%(t_path)s', ['t_path']); |
|
348 | pyroutes.register('debug_style_template', '/_admin/debug_style/t/%(t_path)s', ['t_path']); | |
349 | pyroutes.register('apiv2', '/_admin/api', []); |
|
349 | pyroutes.register('apiv2', '/_admin/api', []); | |
350 | pyroutes.register('admin_settings_license', '/_admin/settings/license', []); |
|
350 | pyroutes.register('admin_settings_license', '/_admin/settings/license', []); | |
351 | pyroutes.register('admin_settings_license_unlock', '/_admin/settings/license_unlock', []); |
|
351 | pyroutes.register('admin_settings_license_unlock', '/_admin/settings/license_unlock', []); | |
352 | pyroutes.register('login', '/_admin/login', []); |
|
352 | pyroutes.register('login', '/_admin/login', []); | |
353 | pyroutes.register('register', '/_admin/register', []); |
|
353 | pyroutes.register('register', '/_admin/register', []); | |
354 | pyroutes.register('repo_reviewers_review_rule_new', '/%(repo_name)s/settings/review/rules/new', ['repo_name']); |
|
354 | pyroutes.register('repo_reviewers_review_rule_new', '/%(repo_name)s/settings/review/rules/new', ['repo_name']); | |
355 | pyroutes.register('repo_reviewers_review_rule_edit', '/%(repo_name)s/settings/review/rules/%(rule_id)s', ['repo_name', 'rule_id']); |
|
355 | pyroutes.register('repo_reviewers_review_rule_edit', '/%(repo_name)s/settings/review/rules/%(rule_id)s', ['repo_name', 'rule_id']); | |
356 | pyroutes.register('repo_reviewers_review_rule_delete', '/%(repo_name)s/settings/review/rules/%(rule_id)s/delete', ['repo_name', 'rule_id']); |
|
356 | pyroutes.register('repo_reviewers_review_rule_delete', '/%(repo_name)s/settings/review/rules/%(rule_id)s/delete', ['repo_name', 'rule_id']); | |
357 | pyroutes.register('plugin_admin_chat', '/_admin/plugin_admin_chat/%(action)s', ['action']); |
|
357 | pyroutes.register('plugin_admin_chat', '/_admin/plugin_admin_chat/%(action)s', ['action']); | |
358 | pyroutes.register('edit_user_auth_tokens', '/_admin/users/%(user_id)s/edit/auth_tokens', ['user_id']); |
|
358 | pyroutes.register('edit_user_auth_tokens', '/_admin/users/%(user_id)s/edit/auth_tokens', ['user_id']); | |
359 | pyroutes.register('edit_user_auth_tokens_add', '/_admin/users/%(user_id)s/edit/auth_tokens/new', ['user_id']); |
|
359 | pyroutes.register('edit_user_auth_tokens_add', '/_admin/users/%(user_id)s/edit/auth_tokens/new', ['user_id']); | |
360 | pyroutes.register('admin_settings_scheduler_show_tasks', '/_admin/settings/scheduler/_tasks', []); |
|
360 | pyroutes.register('admin_settings_scheduler_show_tasks', '/_admin/settings/scheduler/_tasks', []); | |
361 | pyroutes.register('admin_settings_scheduler_show_all', '/_admin/settings/scheduler', []); |
|
361 | pyroutes.register('admin_settings_scheduler_show_all', '/_admin/settings/scheduler', []); | |
362 | pyroutes.register('admin_settings_scheduler_new', '/_admin/settings/scheduler/new', []); |
|
362 | pyroutes.register('admin_settings_scheduler_new', '/_admin/settings/scheduler/new', []); | |
363 | pyroutes.register('admin_settings_scheduler_create', '/_admin/settings/scheduler/create', []); |
|
363 | pyroutes.register('admin_settings_scheduler_create', '/_admin/settings/scheduler/create', []); | |
364 | pyroutes.register('admin_settings_scheduler_edit', '/_admin/settings/scheduler/%(schedule_id)s', ['schedule_id']); |
|
364 | pyroutes.register('admin_settings_scheduler_edit', '/_admin/settings/scheduler/%(schedule_id)s', ['schedule_id']); | |
365 | pyroutes.register('admin_settings_scheduler_update', '/_admin/settings/scheduler/%(schedule_id)s/update', ['schedule_id']); |
|
365 | pyroutes.register('admin_settings_scheduler_update', '/_admin/settings/scheduler/%(schedule_id)s/update', ['schedule_id']); | |
366 | pyroutes.register('admin_settings_scheduler_delete', '/_admin/settings/scheduler/%(schedule_id)s/delete', ['schedule_id']); |
|
366 | pyroutes.register('admin_settings_scheduler_delete', '/_admin/settings/scheduler/%(schedule_id)s/delete', ['schedule_id']); | |
367 | pyroutes.register('admin_settings_scheduler_execute', '/_admin/settings/scheduler/%(schedule_id)s/execute', ['schedule_id']); |
|
367 | pyroutes.register('admin_settings_scheduler_execute', '/_admin/settings/scheduler/%(schedule_id)s/execute', ['schedule_id']); | |
368 | pyroutes.register('admin_settings_automation', '/_admin/settings/automation', []); |
|
368 | pyroutes.register('admin_settings_automation', '/_admin/settings/automation', []); | |
369 | pyroutes.register('admin_settings_automation_update', '/_admin/settings/automation/%(entry_id)s/update', ['entry_id']); |
|
369 | pyroutes.register('admin_settings_automation_update', '/_admin/settings/automation/%(entry_id)s/update', ['entry_id']); | |
370 | pyroutes.register('admin_permissions_branch', '/_admin/permissions/branch', []); |
|
370 | pyroutes.register('admin_permissions_branch', '/_admin/permissions/branch', []); | |
371 | pyroutes.register('admin_permissions_branch_update', '/_admin/permissions/branch/update', []); |
|
371 | pyroutes.register('admin_permissions_branch_update', '/_admin/permissions/branch/update', []); | |
372 | pyroutes.register('my_account_auth_tokens', '/_admin/my_account/auth_tokens', []); |
|
372 | pyroutes.register('my_account_auth_tokens', '/_admin/my_account/auth_tokens', []); | |
373 | pyroutes.register('my_account_auth_tokens_add', '/_admin/my_account/auth_tokens/new', []); |
|
373 | pyroutes.register('my_account_auth_tokens_add', '/_admin/my_account/auth_tokens/new', []); | |
374 | pyroutes.register('my_account_external_identity', '/_admin/my_account/external-identity', []); |
|
374 | pyroutes.register('my_account_external_identity', '/_admin/my_account/external-identity', []); | |
375 | pyroutes.register('my_account_external_identity_delete', '/_admin/my_account/external-identity/delete', []); |
|
375 | pyroutes.register('my_account_external_identity_delete', '/_admin/my_account/external-identity/delete', []); | |
376 | pyroutes.register('repo_artifacts_list', '/%(repo_name)s/artifacts', ['repo_name']); |
|
376 | pyroutes.register('repo_artifacts_list', '/%(repo_name)s/artifacts', ['repo_name']); | |
377 | pyroutes.register('repo_artifacts_data', '/%(repo_name)s/artifacts_data', ['repo_name']); |
|
377 | pyroutes.register('repo_artifacts_data', '/%(repo_name)s/artifacts_data', ['repo_name']); | |
378 | pyroutes.register('repo_artifacts_new', '/%(repo_name)s/artifacts/new', ['repo_name']); |
|
378 | pyroutes.register('repo_artifacts_new', '/%(repo_name)s/artifacts/new', ['repo_name']); | |
379 | pyroutes.register('repo_artifacts_get', '/%(repo_name)s/artifacts/download/%(uid)s', ['repo_name', 'uid']); |
|
379 | pyroutes.register('repo_artifacts_get', '/%(repo_name)s/artifacts/download/%(uid)s', ['repo_name', 'uid']); | |
380 | pyroutes.register('repo_artifacts_store', '/%(repo_name)s/artifacts/store', ['repo_name']); |
|
380 | pyroutes.register('repo_artifacts_store', '/%(repo_name)s/artifacts/store', ['repo_name']); | |
381 | pyroutes.register('repo_artifacts_info', '/%(repo_name)s/artifacts/info/%(uid)s', ['repo_name', 'uid']); |
|
381 | pyroutes.register('repo_artifacts_info', '/%(repo_name)s/artifacts/info/%(uid)s', ['repo_name', 'uid']); | |
382 | pyroutes.register('repo_artifacts_delete', '/%(repo_name)s/artifacts/delete/%(uid)s', ['repo_name', 'uid']); |
|
382 | pyroutes.register('repo_artifacts_delete', '/%(repo_name)s/artifacts/delete/%(uid)s', ['repo_name', 'uid']); | |
|
383 | pyroutes.register('repo_artifacts_update', '/%(repo_name)s/artifacts/update/%(uid)s', ['repo_name', 'uid']); | |||
383 | pyroutes.register('repo_automation', '/%(repo_name)s/settings/automation', ['repo_name']); |
|
384 | pyroutes.register('repo_automation', '/%(repo_name)s/settings/automation', ['repo_name']); | |
384 | pyroutes.register('repo_automation_update', '/%(repo_name)s/settings/automation/%(entry_id)s/update', ['repo_name', 'entry_id']); |
|
385 | pyroutes.register('repo_automation_update', '/%(repo_name)s/settings/automation/%(entry_id)s/update', ['repo_name', 'entry_id']); | |
385 | pyroutes.register('edit_repo_remote_push', '/%(repo_name)s/settings/remote/push', ['repo_name']); |
|
386 | pyroutes.register('edit_repo_remote_push', '/%(repo_name)s/settings/remote/push', ['repo_name']); | |
386 | pyroutes.register('edit_repo_perms_branch', '/%(repo_name)s/settings/branch_permissions', ['repo_name']); |
|
387 | pyroutes.register('edit_repo_perms_branch', '/%(repo_name)s/settings/branch_permissions', ['repo_name']); | |
387 | pyroutes.register('edit_repo_perms_branch_delete', '/%(repo_name)s/settings/branch_permissions/%(rule_id)s/delete', ['repo_name', 'rule_id']); |
|
388 | pyroutes.register('edit_repo_perms_branch_delete', '/%(repo_name)s/settings/branch_permissions/%(rule_id)s/delete', ['repo_name', 'rule_id']); | |
388 | } |
|
389 | } |
@@ -1,471 +1,470 b'' | |||||
1 | ## DATA TABLE RE USABLE ELEMENTS |
|
1 | ## DATA TABLE RE USABLE ELEMENTS | |
2 | ## usage: |
|
2 | ## usage: | |
3 | ## <%namespace name="dt" file="/data_table/_dt_elements.mako"/> |
|
3 | ## <%namespace name="dt" file="/data_table/_dt_elements.mako"/> | |
4 | <%namespace name="base" file="/base/base.mako"/> |
|
4 | <%namespace name="base" file="/base/base.mako"/> | |
5 |
|
5 | |||
6 | <%def name="metatags_help()"> |
|
6 | <%def name="metatags_help()"> | |
7 | <table> |
|
7 | <table> | |
8 | <% |
|
8 | <% | |
9 | example_tags = [ |
|
9 | example_tags = [ | |
10 | ('state','[stable]'), |
|
10 | ('state','[stable]'), | |
11 | ('state','[stale]'), |
|
11 | ('state','[stale]'), | |
12 | ('state','[featured]'), |
|
12 | ('state','[featured]'), | |
13 | ('state','[dev]'), |
|
13 | ('state','[dev]'), | |
14 | ('state','[dead]'), |
|
14 | ('state','[dead]'), | |
15 | ('state','[deprecated]'), |
|
15 | ('state','[deprecated]'), | |
16 |
|
16 | |||
17 | ('label','[personal]'), |
|
17 | ('label','[personal]'), | |
18 | ('generic','[v2.0.0]'), |
|
18 | ('generic','[v2.0.0]'), | |
19 |
|
19 | |||
20 | ('lang','[lang => JavaScript]'), |
|
20 | ('lang','[lang => JavaScript]'), | |
21 | ('license','[license => LicenseName]'), |
|
21 | ('license','[license => LicenseName]'), | |
22 |
|
22 | |||
23 | ('ref','[requires => RepoName]'), |
|
23 | ('ref','[requires => RepoName]'), | |
24 | ('ref','[recommends => GroupName]'), |
|
24 | ('ref','[recommends => GroupName]'), | |
25 | ('ref','[conflicts => SomeName]'), |
|
25 | ('ref','[conflicts => SomeName]'), | |
26 | ('ref','[base => SomeName]'), |
|
26 | ('ref','[base => SomeName]'), | |
27 | ('url','[url => [linkName](https://rhodecode.com)]'), |
|
27 | ('url','[url => [linkName](https://rhodecode.com)]'), | |
28 | ('see','[see => http://rhodecode.com]'), |
|
28 | ('see','[see => http://rhodecode.com]'), | |
29 | ] |
|
29 | ] | |
30 | %> |
|
30 | %> | |
31 | % for tag_type, tag in example_tags: |
|
31 | % for tag_type, tag in example_tags: | |
32 | <tr> |
|
32 | <tr> | |
33 | <td>${tag|n}</td> |
|
33 | <td>${tag|n}</td> | |
34 | <td>${h.style_metatag(tag_type, tag)|n}</td> |
|
34 | <td>${h.style_metatag(tag_type, tag)|n}</td> | |
35 | </tr> |
|
35 | </tr> | |
36 | % endfor |
|
36 | % endfor | |
37 | </table> |
|
37 | </table> | |
38 | </%def> |
|
38 | </%def> | |
39 |
|
39 | |||
40 | <%def name="render_description(description, stylify_metatags)"> |
|
40 | <%def name="render_description(description, stylify_metatags)"> | |
41 | <% |
|
41 | <% | |
42 | tags = [] |
|
42 | tags = [] | |
43 | if stylify_metatags: |
|
43 | if stylify_metatags: | |
44 | tags, description = h.extract_metatags(description) |
|
44 | tags, description = h.extract_metatags(description) | |
45 | %> |
|
45 | %> | |
46 | % for tag_type, tag in tags: |
|
46 | % for tag_type, tag in tags: | |
47 | ${h.style_metatag(tag_type, tag)|n,trim} |
|
47 | ${h.style_metatag(tag_type, tag)|n,trim} | |
48 | % endfor |
|
48 | % endfor | |
49 | <code style="white-space: pre-wrap">${description}</code> |
|
49 | <code style="white-space: pre-wrap">${description}</code> | |
50 | </%def> |
|
50 | </%def> | |
51 |
|
51 | |||
52 | ## REPOSITORY RENDERERS |
|
52 | ## REPOSITORY RENDERERS | |
53 | <%def name="quick_menu(repo_name)"> |
|
53 | <%def name="quick_menu(repo_name)"> | |
54 | <i class="icon-more"></i> |
|
54 | <i class="icon-more"></i> | |
55 | <div class="menu_items_container hidden"> |
|
55 | <div class="menu_items_container hidden"> | |
56 | <ul class="menu_items"> |
|
56 | <ul class="menu_items"> | |
57 | <li> |
|
57 | <li> | |
58 | <a title="${_('Summary')}" href="${h.route_path('repo_summary',repo_name=repo_name)}"> |
|
58 | <a title="${_('Summary')}" href="${h.route_path('repo_summary',repo_name=repo_name)}"> | |
59 | <span>${_('Summary')}</span> |
|
59 | <span>${_('Summary')}</span> | |
60 | </a> |
|
60 | </a> | |
61 | </li> |
|
61 | </li> | |
62 | <li> |
|
62 | <li> | |
63 | <a title="${_('Commits')}" href="${h.route_path('repo_commits',repo_name=repo_name)}"> |
|
63 | <a title="${_('Commits')}" href="${h.route_path('repo_commits',repo_name=repo_name)}"> | |
64 | <span>${_('Commits')}</span> |
|
64 | <span>${_('Commits')}</span> | |
65 | </a> |
|
65 | </a> | |
66 | </li> |
|
66 | </li> | |
67 | <li> |
|
67 | <li> | |
68 | <a title="${_('Files')}" href="${h.route_path('repo_files:default_commit',repo_name=repo_name)}"> |
|
68 | <a title="${_('Files')}" href="${h.route_path('repo_files:default_commit',repo_name=repo_name)}"> | |
69 | <span>${_('Files')}</span> |
|
69 | <span>${_('Files')}</span> | |
70 | </a> |
|
70 | </a> | |
71 | </li> |
|
71 | </li> | |
72 | <li> |
|
72 | <li> | |
73 | <a title="${_('Fork')}" href="${h.route_path('repo_fork_new',repo_name=repo_name)}"> |
|
73 | <a title="${_('Fork')}" href="${h.route_path('repo_fork_new',repo_name=repo_name)}"> | |
74 | <span>${_('Fork')}</span> |
|
74 | <span>${_('Fork')}</span> | |
75 | </a> |
|
75 | </a> | |
76 | </li> |
|
76 | </li> | |
77 | </ul> |
|
77 | </ul> | |
78 | </div> |
|
78 | </div> | |
79 | </%def> |
|
79 | </%def> | |
80 |
|
80 | |||
81 | <%def name="repo_name(name,rtype,rstate,private,archived,fork_of,short_name=False,admin=False)"> |
|
81 | <%def name="repo_name(name,rtype,rstate,private,archived,fork_of,short_name=False,admin=False)"> | |
82 | <% |
|
82 | <% | |
83 | def get_name(name,short_name=short_name): |
|
83 | def get_name(name,short_name=short_name): | |
84 | if short_name: |
|
84 | if short_name: | |
85 | return name.split('/')[-1] |
|
85 | return name.split('/')[-1] | |
86 | else: |
|
86 | else: | |
87 | return name |
|
87 | return name | |
88 | %> |
|
88 | %> | |
89 | <div class="${'repo_state_pending' if rstate == 'repo_state_pending' else ''} truncate"> |
|
89 | <div class="${'repo_state_pending' if rstate == 'repo_state_pending' else ''} truncate"> | |
90 | ##NAME |
|
90 | ##NAME | |
91 | <a href="${h.route_path('edit_repo',repo_name=name) if admin else h.route_path('repo_summary',repo_name=name)}"> |
|
91 | <a href="${h.route_path('edit_repo',repo_name=name) if admin else h.route_path('repo_summary',repo_name=name)}"> | |
92 |
|
92 | |||
93 | ##TYPE OF REPO |
|
93 | ##TYPE OF REPO | |
94 | %if h.is_hg(rtype): |
|
94 | %if h.is_hg(rtype): | |
95 | <span title="${_('Mercurial repository')}"><i class="icon-hg" style="font-size: 14px;"></i></span> |
|
95 | <span title="${_('Mercurial repository')}"><i class="icon-hg" style="font-size: 14px;"></i></span> | |
96 | %elif h.is_git(rtype): |
|
96 | %elif h.is_git(rtype): | |
97 | <span title="${_('Git repository')}"><i class="icon-git" style="font-size: 14px"></i></span> |
|
97 | <span title="${_('Git repository')}"><i class="icon-git" style="font-size: 14px"></i></span> | |
98 | %elif h.is_svn(rtype): |
|
98 | %elif h.is_svn(rtype): | |
99 | <span title="${_('Subversion repository')}"><i class="icon-svn" style="font-size: 14px"></i></span> |
|
99 | <span title="${_('Subversion repository')}"><i class="icon-svn" style="font-size: 14px"></i></span> | |
100 | %endif |
|
100 | %endif | |
101 |
|
101 | |||
102 | ##PRIVATE/PUBLIC |
|
102 | ##PRIVATE/PUBLIC | |
103 | %if private is True and c.visual.show_private_icon: |
|
103 | %if private is True and c.visual.show_private_icon: | |
104 | <i class="icon-lock" title="${_('Private repository')}"></i> |
|
104 | <i class="icon-lock" title="${_('Private repository')}"></i> | |
105 | %elif private is False and c.visual.show_public_icon: |
|
105 | %elif private is False and c.visual.show_public_icon: | |
106 | <i class="icon-unlock-alt" title="${_('Public repository')}"></i> |
|
106 | <i class="icon-unlock-alt" title="${_('Public repository')}"></i> | |
107 | %else: |
|
107 | %else: | |
108 | <span></span> |
|
108 | <span></span> | |
109 | %endif |
|
109 | %endif | |
110 | ${get_name(name)} |
|
110 | ${get_name(name)} | |
111 | </a> |
|
111 | </a> | |
112 | %if fork_of: |
|
112 | %if fork_of: | |
113 | <a href="${h.route_path('repo_summary',repo_name=fork_of.repo_name)}"><i class="icon-code-fork"></i></a> |
|
113 | <a href="${h.route_path('repo_summary',repo_name=fork_of.repo_name)}"><i class="icon-code-fork"></i></a> | |
114 | %endif |
|
114 | %endif | |
115 | %if rstate == 'repo_state_pending': |
|
115 | %if rstate == 'repo_state_pending': | |
116 | <span class="creation_in_progress tooltip" title="${_('This repository is being created in a background task')}"> |
|
116 | <span class="creation_in_progress tooltip" title="${_('This repository is being created in a background task')}"> | |
117 | (${_('creating...')}) |
|
117 | (${_('creating...')}) | |
118 | </span> |
|
118 | </span> | |
119 | %endif |
|
119 | %endif | |
120 |
|
120 | |||
121 | </div> |
|
121 | </div> | |
122 | </%def> |
|
122 | </%def> | |
123 |
|
123 | |||
124 | <%def name="repo_desc(description, stylify_metatags)"> |
|
124 | <%def name="repo_desc(description, stylify_metatags)"> | |
125 | <% |
|
125 | <% | |
126 | tags, description = h.extract_metatags(description) |
|
126 | tags, description = h.extract_metatags(description) | |
127 | %> |
|
127 | %> | |
128 |
|
128 | |||
129 | <div class="truncate-wrap"> |
|
129 | <div class="truncate-wrap"> | |
130 | % if stylify_metatags: |
|
130 | % if stylify_metatags: | |
131 | % for tag_type, tag in tags: |
|
131 | % for tag_type, tag in tags: | |
132 | ${h.style_metatag(tag_type, tag)|n} |
|
132 | ${h.style_metatag(tag_type, tag)|n} | |
133 | % endfor |
|
133 | % endfor | |
134 | % endif |
|
134 | % endif | |
135 | ${description} |
|
135 | ${description} | |
136 | </div> |
|
136 | </div> | |
137 |
|
137 | |||
138 | </%def> |
|
138 | </%def> | |
139 |
|
139 | |||
140 | <%def name="last_change(last_change)"> |
|
140 | <%def name="last_change(last_change)"> | |
141 | ${h.age_component(last_change, time_is_local=True)} |
|
141 | ${h.age_component(last_change, time_is_local=True)} | |
142 | </%def> |
|
142 | </%def> | |
143 |
|
143 | |||
144 | <%def name="revision(repo_name, rev, commit_id, author, last_msg, commit_date)"> |
|
144 | <%def name="revision(repo_name, rev, commit_id, author, last_msg, commit_date)"> | |
145 | <div> |
|
145 | <div> | |
146 | %if rev >= 0: |
|
146 | %if rev >= 0: | |
147 | <code><a class="tooltip-hovercard" data-hovercard-alt=${h.tooltip(last_msg)} data-hovercard-url="${h.route_path('hovercard_repo_commit', repo_name=repo_name, commit_id=commit_id)}" href="${h.route_path('repo_commit',repo_name=repo_name,commit_id=commit_id)}">${'r{}:{}'.format(rev,h.short_id(commit_id))}</a></code> |
|
147 | <code><a class="tooltip-hovercard" data-hovercard-alt=${h.tooltip(last_msg)} data-hovercard-url="${h.route_path('hovercard_repo_commit', repo_name=repo_name, commit_id=commit_id)}" href="${h.route_path('repo_commit',repo_name=repo_name,commit_id=commit_id)}">${'r{}:{}'.format(rev,h.short_id(commit_id))}</a></code> | |
148 | %else: |
|
148 | %else: | |
149 | ${_('No commits yet')} |
|
149 | ${_('No commits yet')} | |
150 | %endif |
|
150 | %endif | |
151 | </div> |
|
151 | </div> | |
152 | </%def> |
|
152 | </%def> | |
153 |
|
153 | |||
154 | <%def name="rss(name)"> |
|
154 | <%def name="rss(name)"> | |
155 | %if c.rhodecode_user.username != h.DEFAULT_USER: |
|
155 | %if c.rhodecode_user.username != h.DEFAULT_USER: | |
156 | <a title="${h.tooltip(_('Subscribe to %s rss feed')% name)}" href="${h.route_path('rss_feed_home', repo_name=name, _query=dict(auth_token=c.rhodecode_user.feed_token))}"><i class="icon-rss-sign"></i></a> |
|
156 | <a title="${h.tooltip(_('Subscribe to %s rss feed')% name)}" href="${h.route_path('rss_feed_home', repo_name=name, _query=dict(auth_token=c.rhodecode_user.feed_token))}"><i class="icon-rss-sign"></i></a> | |
157 | %else: |
|
157 | %else: | |
158 | <a title="${h.tooltip(_('Subscribe to %s rss feed')% name)}" href="${h.route_path('rss_feed_home', repo_name=name)}"><i class="icon-rss-sign"></i></a> |
|
158 | <a title="${h.tooltip(_('Subscribe to %s rss feed')% name)}" href="${h.route_path('rss_feed_home', repo_name=name)}"><i class="icon-rss-sign"></i></a> | |
159 | %endif |
|
159 | %endif | |
160 | </%def> |
|
160 | </%def> | |
161 |
|
161 | |||
162 | <%def name="atom(name)"> |
|
162 | <%def name="atom(name)"> | |
163 | %if c.rhodecode_user.username != h.DEFAULT_USER: |
|
163 | %if c.rhodecode_user.username != h.DEFAULT_USER: | |
164 | <a title="${h.tooltip(_('Subscribe to %s atom feed')% name)}" href="${h.route_path('atom_feed_home', repo_name=name, _query=dict(auth_token=c.rhodecode_user.feed_token))}"><i class="icon-rss-sign"></i></a> |
|
164 | <a title="${h.tooltip(_('Subscribe to %s atom feed')% name)}" href="${h.route_path('atom_feed_home', repo_name=name, _query=dict(auth_token=c.rhodecode_user.feed_token))}"><i class="icon-rss-sign"></i></a> | |
165 | %else: |
|
165 | %else: | |
166 | <a title="${h.tooltip(_('Subscribe to %s atom feed')% name)}" href="${h.route_path('atom_feed_home', repo_name=name)}"><i class="icon-rss-sign"></i></a> |
|
166 | <a title="${h.tooltip(_('Subscribe to %s atom feed')% name)}" href="${h.route_path('atom_feed_home', repo_name=name)}"><i class="icon-rss-sign"></i></a> | |
167 | %endif |
|
167 | %endif | |
168 | </%def> |
|
168 | </%def> | |
169 |
|
169 | |||
170 | <%def name="repo_actions(repo_name, super_user=True)"> |
|
170 | <%def name="repo_actions(repo_name, super_user=True)"> | |
171 | <div> |
|
171 | <div> | |
172 | <div class="grid_edit"> |
|
172 | <div class="grid_edit"> | |
173 | <a href="${h.route_path('edit_repo',repo_name=repo_name)}" title="${_('Edit')}"> |
|
173 | <a href="${h.route_path('edit_repo',repo_name=repo_name)}" title="${_('Edit')}"> | |
174 | Edit |
|
174 | Edit | |
175 | </a> |
|
175 | </a> | |
176 | </div> |
|
176 | </div> | |
177 | <div class="grid_delete"> |
|
177 | <div class="grid_delete"> | |
178 | ${h.secure_form(h.route_path('edit_repo_advanced_delete', repo_name=repo_name), request=request)} |
|
178 | ${h.secure_form(h.route_path('edit_repo_advanced_delete', repo_name=repo_name), request=request)} | |
179 | ${h.submit('remove_%s' % repo_name,_('Delete'),class_="btn btn-link btn-danger", |
|
179 | ${h.submit('remove_%s' % repo_name,_('Delete'),class_="btn btn-link btn-danger", | |
180 | onclick="return confirm('"+_('Confirm to delete this repository: %s') % repo_name+"');")} |
|
180 | onclick="return confirm('"+_('Confirm to delete this repository: %s') % repo_name+"');")} | |
181 | ${h.end_form()} |
|
181 | ${h.end_form()} | |
182 | </div> |
|
182 | </div> | |
183 | </div> |
|
183 | </div> | |
184 | </%def> |
|
184 | </%def> | |
185 |
|
185 | |||
186 | <%def name="repo_state(repo_state)"> |
|
186 | <%def name="repo_state(repo_state)"> | |
187 | <div> |
|
187 | <div> | |
188 | %if repo_state == 'repo_state_pending': |
|
188 | %if repo_state == 'repo_state_pending': | |
189 | <div class="tag tag4">${_('Creating')}</div> |
|
189 | <div class="tag tag4">${_('Creating')}</div> | |
190 | %elif repo_state == 'repo_state_created': |
|
190 | %elif repo_state == 'repo_state_created': | |
191 | <div class="tag tag1">${_('Created')}</div> |
|
191 | <div class="tag tag1">${_('Created')}</div> | |
192 | %else: |
|
192 | %else: | |
193 | <div class="tag alert2" title="${h.tooltip(repo_state)}">invalid</div> |
|
193 | <div class="tag alert2" title="${h.tooltip(repo_state)}">invalid</div> | |
194 | %endif |
|
194 | %endif | |
195 | </div> |
|
195 | </div> | |
196 | </%def> |
|
196 | </%def> | |
197 |
|
197 | |||
198 |
|
198 | |||
199 | ## REPO GROUP RENDERERS |
|
199 | ## REPO GROUP RENDERERS | |
200 | <%def name="quick_repo_group_menu(repo_group_name)"> |
|
200 | <%def name="quick_repo_group_menu(repo_group_name)"> | |
201 | <i class="icon-more"></i> |
|
201 | <i class="icon-more"></i> | |
202 | <div class="menu_items_container hidden"> |
|
202 | <div class="menu_items_container hidden"> | |
203 | <ul class="menu_items"> |
|
203 | <ul class="menu_items"> | |
204 | <li> |
|
204 | <li> | |
205 | <a href="${h.route_path('repo_group_home', repo_group_name=repo_group_name)}">${_('Summary')}</a> |
|
205 | <a href="${h.route_path('repo_group_home', repo_group_name=repo_group_name)}">${_('Summary')}</a> | |
206 | </li> |
|
206 | </li> | |
207 |
|
207 | |||
208 | </ul> |
|
208 | </ul> | |
209 | </div> |
|
209 | </div> | |
210 | </%def> |
|
210 | </%def> | |
211 |
|
211 | |||
212 | <%def name="repo_group_name(repo_group_name, children_groups=None)"> |
|
212 | <%def name="repo_group_name(repo_group_name, children_groups=None)"> | |
213 | <div> |
|
213 | <div> | |
214 | <a href="${h.route_path('repo_group_home', repo_group_name=repo_group_name)}"> |
|
214 | <a href="${h.route_path('repo_group_home', repo_group_name=repo_group_name)}"> | |
215 | <i class="icon-repo-group" title="${_('Repository group')}" style="font-size: 14px"></i> |
|
215 | <i class="icon-repo-group" title="${_('Repository group')}" style="font-size: 14px"></i> | |
216 | %if children_groups: |
|
216 | %if children_groups: | |
217 | ${h.literal(' » '.join(children_groups))} |
|
217 | ${h.literal(' » '.join(children_groups))} | |
218 | %else: |
|
218 | %else: | |
219 | ${repo_group_name} |
|
219 | ${repo_group_name} | |
220 | %endif |
|
220 | %endif | |
221 | </a> |
|
221 | </a> | |
222 | </div> |
|
222 | </div> | |
223 | </%def> |
|
223 | </%def> | |
224 |
|
224 | |||
225 | <%def name="repo_group_desc(description, personal, stylify_metatags)"> |
|
225 | <%def name="repo_group_desc(description, personal, stylify_metatags)"> | |
226 |
|
226 | |||
227 | <% |
|
227 | <% | |
228 | if stylify_metatags: |
|
228 | if stylify_metatags: | |
229 | tags, description = h.extract_metatags(description) |
|
229 | tags, description = h.extract_metatags(description) | |
230 | %> |
|
230 | %> | |
231 |
|
231 | |||
232 | <div class="truncate-wrap"> |
|
232 | <div class="truncate-wrap"> | |
233 | % if personal: |
|
233 | % if personal: | |
234 | <div class="metatag" tag="personal">${_('personal')}</div> |
|
234 | <div class="metatag" tag="personal">${_('personal')}</div> | |
235 | % endif |
|
235 | % endif | |
236 |
|
236 | |||
237 | % if stylify_metatags: |
|
237 | % if stylify_metatags: | |
238 | % for tag_type, tag in tags: |
|
238 | % for tag_type, tag in tags: | |
239 | ${h.style_metatag(tag_type, tag)|n} |
|
239 | ${h.style_metatag(tag_type, tag)|n} | |
240 | % endfor |
|
240 | % endfor | |
241 | % endif |
|
241 | % endif | |
242 | ${description} |
|
242 | ${description} | |
243 | </div> |
|
243 | </div> | |
244 |
|
244 | |||
245 | </%def> |
|
245 | </%def> | |
246 |
|
246 | |||
247 | <%def name="repo_group_actions(repo_group_id, repo_group_name, gr_count)"> |
|
247 | <%def name="repo_group_actions(repo_group_id, repo_group_name, gr_count)"> | |
248 | <div class="grid_edit"> |
|
248 | <div class="grid_edit"> | |
249 | <a href="${h.route_path('edit_repo_group',repo_group_name=repo_group_name)}" title="${_('Edit')}">Edit</a> |
|
249 | <a href="${h.route_path('edit_repo_group',repo_group_name=repo_group_name)}" title="${_('Edit')}">Edit</a> | |
250 | </div> |
|
250 | </div> | |
251 | <div class="grid_delete"> |
|
251 | <div class="grid_delete"> | |
252 | ${h.secure_form(h.route_path('edit_repo_group_advanced_delete', repo_group_name=repo_group_name), request=request)} |
|
252 | ${h.secure_form(h.route_path('edit_repo_group_advanced_delete', repo_group_name=repo_group_name), request=request)} | |
253 | ${h.submit('remove_%s' % repo_group_name,_('Delete'),class_="btn btn-link btn-danger", |
|
253 | ${h.submit('remove_%s' % repo_group_name,_('Delete'),class_="btn btn-link btn-danger", | |
254 | onclick="return confirm('"+_ungettext('Confirm to delete this group: %s with %s repository','Confirm to delete this group: %s with %s repositories',gr_count) % (repo_group_name, gr_count)+"');")} |
|
254 | onclick="return confirm('"+_ungettext('Confirm to delete this group: %s with %s repository','Confirm to delete this group: %s with %s repositories',gr_count) % (repo_group_name, gr_count)+"');")} | |
255 | ${h.end_form()} |
|
255 | ${h.end_form()} | |
256 | </div> |
|
256 | </div> | |
257 | </%def> |
|
257 | </%def> | |
258 |
|
258 | |||
259 |
|
259 | |||
260 | <%def name="user_actions(user_id, username)"> |
|
260 | <%def name="user_actions(user_id, username)"> | |
261 | <div class="grid_edit"> |
|
261 | <div class="grid_edit"> | |
262 | <a href="${h.route_path('user_edit',user_id=user_id)}" title="${_('Edit')}"> |
|
262 | <a href="${h.route_path('user_edit',user_id=user_id)}" title="${_('Edit')}"> | |
263 | ${_('Edit')} |
|
263 | ${_('Edit')} | |
264 | </a> |
|
264 | </a> | |
265 | </div> |
|
265 | </div> | |
266 | <div class="grid_delete"> |
|
266 | <div class="grid_delete"> | |
267 | ${h.secure_form(h.route_path('user_delete', user_id=user_id), request=request)} |
|
267 | ${h.secure_form(h.route_path('user_delete', user_id=user_id), request=request)} | |
268 | ${h.submit('remove_',_('Delete'),id="remove_user_%s" % user_id, class_="btn btn-link btn-danger", |
|
268 | ${h.submit('remove_',_('Delete'),id="remove_user_%s" % user_id, class_="btn btn-link btn-danger", | |
269 | onclick="return confirm('"+_('Confirm to delete this user: %s') % username+"');")} |
|
269 | onclick="return confirm('"+_('Confirm to delete this user: %s') % username+"');")} | |
270 | ${h.end_form()} |
|
270 | ${h.end_form()} | |
271 | </div> |
|
271 | </div> | |
272 | </%def> |
|
272 | </%def> | |
273 |
|
273 | |||
274 | <%def name="user_group_actions(user_group_id, user_group_name)"> |
|
274 | <%def name="user_group_actions(user_group_id, user_group_name)"> | |
275 | <div class="grid_edit"> |
|
275 | <div class="grid_edit"> | |
276 | <a href="${h.route_path('edit_user_group', user_group_id=user_group_id)}" title="${_('Edit')}">Edit</a> |
|
276 | <a href="${h.route_path('edit_user_group', user_group_id=user_group_id)}" title="${_('Edit')}">Edit</a> | |
277 | </div> |
|
277 | </div> | |
278 | <div class="grid_delete"> |
|
278 | <div class="grid_delete"> | |
279 | ${h.secure_form(h.route_path('user_groups_delete', user_group_id=user_group_id), request=request)} |
|
279 | ${h.secure_form(h.route_path('user_groups_delete', user_group_id=user_group_id), request=request)} | |
280 | ${h.submit('remove_',_('Delete'),id="remove_group_%s" % user_group_id, class_="btn btn-link btn-danger", |
|
280 | ${h.submit('remove_',_('Delete'),id="remove_group_%s" % user_group_id, class_="btn btn-link btn-danger", | |
281 | onclick="return confirm('"+_('Confirm to delete this user group: %s') % user_group_name+"');")} |
|
281 | onclick="return confirm('"+_('Confirm to delete this user group: %s') % user_group_name+"');")} | |
282 | ${h.end_form()} |
|
282 | ${h.end_form()} | |
283 | </div> |
|
283 | </div> | |
284 | </%def> |
|
284 | </%def> | |
285 |
|
285 | |||
286 |
|
286 | |||
287 | <%def name="user_name(user_id, username)"> |
|
287 | <%def name="user_name(user_id, username)"> | |
288 | ${h.link_to(h.person(username, 'username_or_name_or_email'), h.route_path('user_edit', user_id=user_id))} |
|
288 | ${h.link_to(h.person(username, 'username_or_name_or_email'), h.route_path('user_edit', user_id=user_id))} | |
289 | </%def> |
|
289 | </%def> | |
290 |
|
290 | |||
291 | <%def name="user_profile(username)"> |
|
291 | <%def name="user_profile(username)"> | |
292 | ${base.gravatar_with_user(username, 16, tooltip=True)} |
|
292 | ${base.gravatar_with_user(username, 16, tooltip=True)} | |
293 | </%def> |
|
293 | </%def> | |
294 |
|
294 | |||
295 | <%def name="user_group_name(user_group_name)"> |
|
295 | <%def name="user_group_name(user_group_name)"> | |
296 | <div> |
|
296 | <div> | |
297 | <i class="icon-user-group" title="${_('User group')}"></i> |
|
297 | <i class="icon-user-group" title="${_('User group')}"></i> | |
298 | ${h.link_to_group(user_group_name)} |
|
298 | ${h.link_to_group(user_group_name)} | |
299 | </div> |
|
299 | </div> | |
300 | </%def> |
|
300 | </%def> | |
301 |
|
301 | |||
302 |
|
302 | |||
303 | ## GISTS |
|
303 | ## GISTS | |
304 |
|
304 | |||
305 | <%def name="gist_gravatar(full_contact)"> |
|
305 | <%def name="gist_gravatar(full_contact)"> | |
306 | <div class="gist_gravatar"> |
|
306 | <div class="gist_gravatar"> | |
307 | ${base.gravatar(full_contact, 30)} |
|
307 | ${base.gravatar(full_contact, 30)} | |
308 | </div> |
|
308 | </div> | |
309 | </%def> |
|
309 | </%def> | |
310 |
|
310 | |||
311 | <%def name="gist_access_id(gist_access_id, full_contact)"> |
|
311 | <%def name="gist_access_id(gist_access_id, full_contact)"> | |
312 | <div> |
|
312 | <div> | |
313 | <b> |
|
313 | <b> | |
314 | <a href="${h.route_path('gist_show', gist_id=gist_access_id)}">gist: ${gist_access_id}</a> |
|
314 | <a href="${h.route_path('gist_show', gist_id=gist_access_id)}">gist: ${gist_access_id}</a> | |
315 | </b> |
|
315 | </b> | |
316 | </div> |
|
316 | </div> | |
317 | </%def> |
|
317 | </%def> | |
318 |
|
318 | |||
319 | <%def name="gist_author(full_contact, created_on, expires)"> |
|
319 | <%def name="gist_author(full_contact, created_on, expires)"> | |
320 | ${base.gravatar_with_user(full_contact, 16, tooltip=True)} |
|
320 | ${base.gravatar_with_user(full_contact, 16, tooltip=True)} | |
321 | </%def> |
|
321 | </%def> | |
322 |
|
322 | |||
323 |
|
323 | |||
324 | <%def name="gist_created(created_on)"> |
|
324 | <%def name="gist_created(created_on)"> | |
325 | <div class="created"> |
|
325 | <div class="created"> | |
326 | ${h.age_component(created_on, time_is_local=True)} |
|
326 | ${h.age_component(created_on, time_is_local=True)} | |
327 | </div> |
|
327 | </div> | |
328 | </%def> |
|
328 | </%def> | |
329 |
|
329 | |||
330 | <%def name="gist_expires(expires)"> |
|
330 | <%def name="gist_expires(expires)"> | |
331 | <div class="created"> |
|
331 | <div class="created"> | |
332 | %if expires == -1: |
|
332 | %if expires == -1: | |
333 | ${_('never')} |
|
333 | ${_('never')} | |
334 | %else: |
|
334 | %else: | |
335 | ${h.age_component(h.time_to_utcdatetime(expires))} |
|
335 | ${h.age_component(h.time_to_utcdatetime(expires))} | |
336 | %endif |
|
336 | %endif | |
337 | </div> |
|
337 | </div> | |
338 | </%def> |
|
338 | </%def> | |
339 |
|
339 | |||
340 | <%def name="gist_type(gist_type)"> |
|
340 | <%def name="gist_type(gist_type)"> | |
341 | %if gist_type == 'public': |
|
341 | %if gist_type == 'public': | |
342 | <span class="tag tag-gist-public disabled">${_('Public Gist')}</span> |
|
342 | <span class="tag tag-gist-public disabled">${_('Public Gist')}</span> | |
343 | %else: |
|
343 | %else: | |
344 | <span class="tag tag-gist-private disabled">${_('Private Gist')}</span> |
|
344 | <span class="tag tag-gist-private disabled">${_('Private Gist')}</span> | |
345 | %endif |
|
345 | %endif | |
346 | </%def> |
|
346 | </%def> | |
347 |
|
347 | |||
348 | <%def name="gist_description(gist_description)"> |
|
348 | <%def name="gist_description(gist_description)"> | |
349 | ${gist_description} |
|
349 | ${gist_description} | |
350 | </%def> |
|
350 | </%def> | |
351 |
|
351 | |||
352 |
|
352 | |||
353 | ## PULL REQUESTS GRID RENDERERS |
|
353 | ## PULL REQUESTS GRID RENDERERS | |
354 |
|
354 | |||
355 | <%def name="pullrequest_target_repo(repo_name)"> |
|
355 | <%def name="pullrequest_target_repo(repo_name)"> | |
356 | <div class="truncate"> |
|
356 | <div class="truncate"> | |
357 | ${h.link_to(repo_name,h.route_path('repo_summary',repo_name=repo_name))} |
|
357 | ${h.link_to(repo_name,h.route_path('repo_summary',repo_name=repo_name))} | |
358 | </div> |
|
358 | </div> | |
359 | </%def> |
|
359 | </%def> | |
360 |
|
360 | |||
361 | <%def name="pullrequest_status(status)"> |
|
361 | <%def name="pullrequest_status(status)"> | |
362 | <i class="icon-circle review-status-${status}"></i> |
|
362 | <i class="icon-circle review-status-${status}"></i> | |
363 | </%def> |
|
363 | </%def> | |
364 |
|
364 | |||
365 | <%def name="pullrequest_title(title, description)"> |
|
365 | <%def name="pullrequest_title(title, description)"> | |
366 | ${title} |
|
366 | ${title} | |
367 | </%def> |
|
367 | </%def> | |
368 |
|
368 | |||
369 | <%def name="pullrequest_comments(comments_nr)"> |
|
369 | <%def name="pullrequest_comments(comments_nr)"> | |
370 | <i class="icon-comment"></i> ${comments_nr} |
|
370 | <i class="icon-comment"></i> ${comments_nr} | |
371 | </%def> |
|
371 | </%def> | |
372 |
|
372 | |||
373 | <%def name="pullrequest_name(pull_request_id, target_repo_name, short=False)"> |
|
373 | <%def name="pullrequest_name(pull_request_id, target_repo_name, short=False)"> | |
374 | <a href="${h.route_path('pullrequest_show',repo_name=target_repo_name,pull_request_id=pull_request_id)}"> |
|
374 | <a href="${h.route_path('pullrequest_show',repo_name=target_repo_name,pull_request_id=pull_request_id)}"> | |
375 | % if short: |
|
375 | % if short: | |
376 | !${pull_request_id} |
|
376 | !${pull_request_id} | |
377 | % else: |
|
377 | % else: | |
378 | ${_('Pull request !{}').format(pull_request_id)} |
|
378 | ${_('Pull request !{}').format(pull_request_id)} | |
379 | % endif |
|
379 | % endif | |
380 | </a> |
|
380 | </a> | |
381 | </%def> |
|
381 | </%def> | |
382 |
|
382 | |||
383 | <%def name="pullrequest_updated_on(updated_on)"> |
|
383 | <%def name="pullrequest_updated_on(updated_on)"> | |
384 | ${h.age_component(h.time_to_utcdatetime(updated_on))} |
|
384 | ${h.age_component(h.time_to_utcdatetime(updated_on))} | |
385 | </%def> |
|
385 | </%def> | |
386 |
|
386 | |||
387 | <%def name="pullrequest_author(full_contact)"> |
|
387 | <%def name="pullrequest_author(full_contact)"> | |
388 | ${base.gravatar_with_user(full_contact, 16, tooltip=True)} |
|
388 | ${base.gravatar_with_user(full_contact, 16, tooltip=True)} | |
389 | </%def> |
|
389 | </%def> | |
390 |
|
390 | |||
391 |
|
391 | |||
392 | ## ARTIFACT RENDERERS |
|
392 | ## ARTIFACT RENDERERS | |
393 | <%def name="repo_artifact_name(repo_name, file_uid, artifact_display_name)"> |
|
393 | <%def name="repo_artifact_name(repo_name, file_uid, artifact_display_name)"> | |
394 | <a href="${h.route_path('repo_artifacts_get', repo_name=repo_name, uid=file_uid)}"> |
|
394 | <a href="${h.route_path('repo_artifacts_get', repo_name=repo_name, uid=file_uid)}"> | |
395 | ${artifact_display_name or '_EMPTY_NAME_'} |
|
395 | ${artifact_display_name or '_EMPTY_NAME_'} | |
396 | </a> |
|
396 | </a> | |
397 | </%def> |
|
397 | </%def> | |
398 |
|
398 | |||
399 | <%def name="repo_artifact_uid(repo_name, file_uid)"> |
|
399 | <%def name="repo_artifact_uid(repo_name, file_uid)"> | |
400 | <code>${h.shorter(file_uid, size=24, prefix=True)}</code> |
|
400 | <code>${h.shorter(file_uid, size=24, prefix=True)}</code> | |
401 | <i class="tooltip icon-clipboard clipboard-action" data-clipboard-text="${h.route_url('repo_artifacts_get', repo_name=repo_name, uid=file_uid)}" title="${_('Copy the full url')}"></i> |
|
|||
402 | </%def> |
|
401 | </%def> | |
403 |
|
402 | |||
404 | <%def name="repo_artifact_sha256(artifact_sha256)"> |
|
403 | <%def name="repo_artifact_sha256(artifact_sha256)"> | |
405 | <div class="code">${h.shorter(artifact_sha256, 12)}<i class="tooltip icon-clipboard clipboard-action" data-clipboard-text="${artifact_sha256}" title="${_('Copy the sha256 ({})').format(artifact_sha256)}"></i></div> |
|
404 | <div class="code">${h.shorter(artifact_sha256, 12)}</div> | |
406 | </%def> |
|
405 | </%def> | |
407 |
|
406 | |||
408 | <%def name="repo_artifact_actions(repo_name, file_store_id, file_uid)"> |
|
407 | <%def name="repo_artifact_actions(repo_name, file_store_id, file_uid)"> | |
409 | ## <div class="grid_edit"> |
|
408 | ## <div class="grid_edit"> | |
410 | ## <a href="#Edit" title="${_('Edit')}">${_('Edit')}</a> |
|
409 | ## <a href="#Edit" title="${_('Edit')}">${_('Edit')}</a> | |
411 | ## </div> |
|
410 | ## </div> | |
412 | <div class="grid_edit"> |
|
411 | <div class="grid_edit"> | |
413 | <a href="${h.route_path('repo_artifacts_info', repo_name=repo_name, uid=file_store_id)}" title="${_('Info')}">${_('Info')}</a> |
|
412 | <a href="${h.route_path('repo_artifacts_info', repo_name=repo_name, uid=file_store_id)}" title="${_('Info')}">${_('Info')}</a> | |
414 | </div> |
|
413 | </div> | |
415 | % if h.HasRepoPermissionAny('repository.admin')(c.repo_name): |
|
414 | % if h.HasRepoPermissionAny('repository.admin')(c.repo_name): | |
416 | <div class="grid_delete"> |
|
415 | <div class="grid_delete"> | |
417 | ${h.secure_form(h.route_path('repo_artifacts_delete', repo_name=repo_name, uid=file_store_id), request=request)} |
|
416 | ${h.secure_form(h.route_path('repo_artifacts_delete', repo_name=repo_name, uid=file_store_id), request=request)} | |
418 | ${h.submit('remove_',_('Delete'),id="remove_artifact_%s" % file_store_id, class_="btn btn-link btn-danger", |
|
417 | ${h.submit('remove_',_('Delete'),id="remove_artifact_%s" % file_store_id, class_="btn btn-link btn-danger", | |
419 | onclick="return confirm('"+_('Confirm to delete this artifact: %s') % file_uid+"');")} |
|
418 | onclick="return confirm('"+_('Confirm to delete this artifact: %s') % file_uid+"');")} | |
420 | ${h.end_form()} |
|
419 | ${h.end_form()} | |
421 | </div> |
|
420 | </div> | |
422 | % endif |
|
421 | % endif | |
423 | </%def> |
|
422 | </%def> | |
424 |
|
423 | |||
425 | <%def name="markup_form(form_id, form_text='', help_text=None)"> |
|
424 | <%def name="markup_form(form_id, form_text='', help_text=None)"> | |
426 |
|
425 | |||
427 | <div class="markup-form"> |
|
426 | <div class="markup-form"> | |
428 | <div class="markup-form-area"> |
|
427 | <div class="markup-form-area"> | |
429 | <div class="markup-form-area-header"> |
|
428 | <div class="markup-form-area-header"> | |
430 | <ul class="nav-links clearfix"> |
|
429 | <ul class="nav-links clearfix"> | |
431 | <li class="active"> |
|
430 | <li class="active"> | |
432 | <a href="#edit-text" tabindex="-1" id="edit-btn_${form_id}">${_('Write')}</a> |
|
431 | <a href="#edit-text" tabindex="-1" id="edit-btn_${form_id}">${_('Write')}</a> | |
433 | </li> |
|
432 | </li> | |
434 | <li class=""> |
|
433 | <li class=""> | |
435 | <a href="#preview-text" tabindex="-1" id="preview-btn_${form_id}">${_('Preview')}</a> |
|
434 | <a href="#preview-text" tabindex="-1" id="preview-btn_${form_id}">${_('Preview')}</a> | |
436 | </li> |
|
435 | </li> | |
437 | </ul> |
|
436 | </ul> | |
438 | </div> |
|
437 | </div> | |
439 |
|
438 | |||
440 | <div class="markup-form-area-write" style="display: block;"> |
|
439 | <div class="markup-form-area-write" style="display: block;"> | |
441 | <div id="edit-container_${form_id}"> |
|
440 | <div id="edit-container_${form_id}"> | |
442 | <textarea id="${form_id}" name="${form_id}" class="comment-block-ta ac-input">${form_text if form_text else ''}</textarea> |
|
441 | <textarea id="${form_id}" name="${form_id}" class="comment-block-ta ac-input">${form_text if form_text else ''}</textarea> | |
443 | </div> |
|
442 | </div> | |
444 | <div id="preview-container_${form_id}" class="clearfix" style="display: none;"> |
|
443 | <div id="preview-container_${form_id}" class="clearfix" style="display: none;"> | |
445 | <div id="preview-box_${form_id}" class="preview-box"></div> |
|
444 | <div id="preview-box_${form_id}" class="preview-box"></div> | |
446 | </div> |
|
445 | </div> | |
447 | </div> |
|
446 | </div> | |
448 |
|
447 | |||
449 | <div class="markup-form-area-footer"> |
|
448 | <div class="markup-form-area-footer"> | |
450 | <div class="toolbar"> |
|
449 | <div class="toolbar"> | |
451 | <div class="toolbar-text"> |
|
450 | <div class="toolbar-text"> | |
452 | ${(_('Parsed using %s syntax') % ( |
|
451 | ${(_('Parsed using %s syntax') % ( | |
453 | ('<a href="%s">%s</a>' % (h.route_url('%s_help' % c.visual.default_renderer), c.visual.default_renderer.upper())), |
|
452 | ('<a href="%s">%s</a>' % (h.route_url('%s_help' % c.visual.default_renderer), c.visual.default_renderer.upper())), | |
454 | ) |
|
453 | ) | |
455 | )|n} |
|
454 | )|n} | |
456 | </div> |
|
455 | </div> | |
457 | </div> |
|
456 | </div> | |
458 | </div> |
|
457 | </div> | |
459 | </div> |
|
458 | </div> | |
460 |
|
459 | |||
461 | <div class="markup-form-footer"> |
|
460 | <div class="markup-form-footer"> | |
462 | % if help_text: |
|
461 | % if help_text: | |
463 | <span class="help-block">${help_text}</span> |
|
462 | <span class="help-block">${help_text}</span> | |
464 | % endif |
|
463 | % endif | |
465 | </div> |
|
464 | </div> | |
466 | </div> |
|
465 | </div> | |
467 | <script type="text/javascript"> |
|
466 | <script type="text/javascript"> | |
468 | new MarkupForm('${form_id}'); |
|
467 | new MarkupForm('${form_id}'); | |
469 | </script> |
|
468 | </script> | |
470 |
|
469 | |||
471 | </%def> |
|
470 | </%def> |
General Comments 0
You need to be logged in to leave comments.
Login now