|
|
|
|
|
/******************************************************************************
|
|
|
* *
|
|
|
* DO NOT CHANGE THIS FILE MANUALLY *
|
|
|
* *
|
|
|
* *
|
|
|
* This file is automatically generated when the app starts up with *
|
|
|
* generate_js_files = true *
|
|
|
* *
|
|
|
* To add a route here pass jsroute=True to the route definition in the app *
|
|
|
* *
|
|
|
******************************************************************************/
|
|
|
function registerRCRoutes() {
|
|
|
// routes registration
|
|
|
pyroutes.register('home', '/', []);
|
|
|
pyroutes.register('user_autocomplete_data', '/_users', []);
|
|
|
pyroutes.register('user_group_autocomplete_data', '/_user_groups', []);
|
|
|
pyroutes.register('new_repo', '/_admin/create_repository', []);
|
|
|
pyroutes.register('edit_user', '/_admin/users/%(user_id)s/edit', ['user_id']);
|
|
|
pyroutes.register('edit_user_group_members', '/_admin/user_groups/%(user_group_id)s/edit/members', ['user_group_id']);
|
|
|
pyroutes.register('gists', '/_admin/gists', []);
|
|
|
pyroutes.register('new_gist', '/_admin/gists/new', []);
|
|
|
pyroutes.register('toggle_following', '/_admin/toggle_following', []);
|
|
|
pyroutes.register('repo_stats', '/%(repo_name)s/repo_stats/%(commit_id)s', ['repo_name', 'commit_id']);
|
|
|
pyroutes.register('repo_refs_data', '/%(repo_name)s/refs-data', ['repo_name']);
|
|
|
pyroutes.register('repo_refs_changelog_data', '/%(repo_name)s/refs-data-changelog', ['repo_name']);
|
|
|
pyroutes.register('repo_default_reviewers_data', '/%(repo_name)s/default-reviewers', ['repo_name']);
|
|
|
pyroutes.register('changeset_home', '/%(repo_name)s/changeset/%(revision)s', ['repo_name', 'revision']);
|
|
|
pyroutes.register('edit_repo', '/%(repo_name)s/settings', ['repo_name']);
|
|
|
pyroutes.register('edit_repo_perms', '/%(repo_name)s/settings/permissions', ['repo_name']);
|
|
|
pyroutes.register('changeset_comment', '/%(repo_name)s/changeset/%(revision)s/comment', ['repo_name', 'revision']);
|
|
|
pyroutes.register('changeset_comment_preview', '/%(repo_name)s/changeset/comment/preview', ['repo_name']);
|
|
|
pyroutes.register('changeset_comment_delete', '/%(repo_name)s/changeset/comment/%(comment_id)s/delete', ['repo_name', 'comment_id']);
|
|
|
pyroutes.register('changeset_info', '/%(repo_name)s/changeset_info/%(revision)s', ['repo_name', 'revision']);
|
|
|
pyroutes.register('compare_url', '/%(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']);
|
|
|
pyroutes.register('pullrequest_home', '/%(repo_name)s/pull-request/new', ['repo_name']);
|
|
|
pyroutes.register('pullrequest', '/%(repo_name)s/pull-request/new', ['repo_name']);
|
|
|
pyroutes.register('pullrequest_repo_refs', '/%(repo_name)s/pull-request/refs/%(target_repo_name)s', ['repo_name', 'target_repo_name']);
|
|
|
pyroutes.register('pullrequest_repo_destinations', '/%(repo_name)s/pull-request/repo-destinations', ['repo_name']);
|
|
|
pyroutes.register('pullrequest_show', '/%(repo_name)s/pull-request/%(pull_request_id)s', ['repo_name', 'pull_request_id']);
|
|
|
pyroutes.register('pullrequest_update', '/%(repo_name)s/pull-request/%(pull_request_id)s', ['repo_name', 'pull_request_id']);
|
|
|
pyroutes.register('pullrequest_show_all', '/%(repo_name)s/pull-request', ['repo_name']);
|
|
|
pyroutes.register('pullrequest_comment', '/%(repo_name)s/pull-request-comment/%(pull_request_id)s', ['repo_name', 'pull_request_id']);
|
|
|
pyroutes.register('pullrequest_comment_delete', '/%(repo_name)s/pull-request-comment/%(comment_id)s/delete', ['repo_name', 'comment_id']);
|
|
|
pyroutes.register('changelog_home', '/%(repo_name)s/changelog', ['repo_name']);
|
|
|
pyroutes.register('changelog_file_home', '/%(repo_name)s/changelog/%(revision)s/%(f_path)s', ['repo_name', 'revision', 'f_path']);
|
|
|
pyroutes.register('changelog_elements', '/%(repo_name)s/changelog_details', ['repo_name']);
|
|
|
pyroutes.register('files_home', '/%(repo_name)s/files/%(revision)s/%(f_path)s', ['repo_name', 'revision', 'f_path']);
|
|
|
pyroutes.register('files_history_home', '/%(repo_name)s/history/%(revision)s/%(f_path)s', ['repo_name', 'revision', 'f_path']);
|
|
|
pyroutes.register('files_authors_home', '/%(repo_name)s/authors/%(revision)s/%(f_path)s', ['repo_name', 'revision', 'f_path']);
|
|
|
pyroutes.register('files_annotate_home', '/%(repo_name)s/annotate/%(revision)s/%(f_path)s', ['repo_name', 'revision', 'f_path']);
|
|
|
pyroutes.register('files_annotate_previous', '/%(repo_name)s/annotate-previous/%(revision)s/%(f_path)s', ['repo_name', 'revision', 'f_path']);
|
|
|
pyroutes.register('files_archive_home', '/%(repo_name)s/archive/%(fname)s', ['repo_name', 'fname']);
|
|
|
pyroutes.register('files_nodelist_home', '/%(repo_name)s/nodelist/%(revision)s/%(f_path)s', ['repo_name', 'revision', 'f_path']);
|
|
|
pyroutes.register('files_nodetree_full', '/%(repo_name)s/nodetree_full/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
|
|
|
pyroutes.register('summary_home_slash', '/%(repo_name)s/', ['repo_name']);
|
|
|
pyroutes.register('summary_home', '/%(repo_name)s', ['repo_name']);
|
|
|
pyroutes.register('favicon', '/favicon.ico', []);
|
|
|
pyroutes.register('robots', '/robots.txt', []);
|
|
|
pyroutes.register('auth_home', '/_admin/auth*traverse', []);
|
|
|
pyroutes.register('global_integrations_new', '/_admin/integrations/new', []);
|
|
|
pyroutes.register('global_integrations_home', '/_admin/integrations', []);
|
|
|
pyroutes.register('global_integrations_list', '/_admin/integrations/%(integration)s', ['integration']);
|
|
|
pyroutes.register('global_integrations_create', '/_admin/integrations/%(integration)s/new', ['integration']);
|
|
|
pyroutes.register('global_integrations_edit', '/_admin/integrations/%(integration)s/%(integration_id)s', ['integration', 'integration_id']);
|
|
|
pyroutes.register('repo_group_integrations_home', '%(repo_group_name)s/settings/integrations', ['repo_group_name']);
|
|
|
pyroutes.register('repo_group_integrations_list', '%(repo_group_name)s/settings/integrations/%(integration)s', ['repo_group_name', 'integration']);
|
|
|
pyroutes.register('repo_group_integrations_new', '%(repo_group_name)s/settings/integrations/new', ['repo_group_name']);
|
|
|
pyroutes.register('repo_group_integrations_create', '%(repo_group_name)s/settings/integrations/%(integration)s/new', ['repo_group_name', 'integration']);
|
|
|
pyroutes.register('repo_group_integrations_edit', '%(repo_group_name)s/settings/integrations/%(integration)s/%(integration_id)s', ['repo_group_name', 'integration', 'integration_id']);
|
|
|
pyroutes.register('repo_integrations_home', '%(repo_name)s/settings/integrations', ['repo_name']);
|
|
|
pyroutes.register('repo_integrations_list', '%(repo_name)s/settings/integrations/%(integration)s', ['repo_name', 'integration']);
|
|
|
pyroutes.register('repo_integrations_new', '%(repo_name)s/settings/integrations/new', ['repo_name']);
|
|
|
pyroutes.register('repo_integrations_create', '%(repo_name)s/settings/integrations/%(integration)s/new', ['repo_name', 'integration']);
|
|
|
pyroutes.register('repo_integrations_edit', '%(repo_name)s/settings/integrations/%(integration)s/%(integration_id)s', ['repo_name', 'integration', 'integration_id']);
|
|
|
pyroutes.register('admin_settings_open_source', '_admin/settings/open_source', []);
|
|
|
pyroutes.register('admin_settings_vcs_svn_generate_cfg', '_admin/settings/vcs/svn_generate_cfg', []);
|
|
|
pyroutes.register('admin_settings_system', '_admin/settings/system', []);
|
|
|
pyroutes.register('admin_settings_system_update', '_admin/settings/system/updates', []);
|
|
|
pyroutes.register('admin_settings_sessions', '_admin/settings/sessions', []);
|
|
|
pyroutes.register('admin_settings_sessions_cleanup', '_admin/settings/sessions/cleanup', []);
|
|
|
pyroutes.register('users', '_admin/users', []);
|
|
|
pyroutes.register('users_data', '_admin/users_data', []);
|
|
|
pyroutes.register('edit_user_auth_tokens', '_admin/users/%(user_id)s/edit/auth_tokens', ['user_id']);
|
|
|
pyroutes.register('edit_user_auth_tokens_add', '_admin/users/%(user_id)s/edit/auth_tokens/new', ['user_id']);
|
|
|
pyroutes.register('edit_user_auth_tokens_delete', '_admin/users/%(user_id)s/edit/auth_tokens/delete', ['user_id']);
|
|
|
pyroutes.register('edit_user_groups_management', '_admin/users/%(user_id)s/edit/groups_management', ['user_id']);
|
|
|
pyroutes.register('edit_user_groups_management_updates', '_admin/users/%(user_id)s/edit/edit_user_groups_management/updates', ['user_id']);
|
|
|
pyroutes.register('edit_user_audit_logs', '_admin/users/%(user_id)s/edit/audit', ['user_id']);
|
|
|
pyroutes.register('channelstream_connect', '/_admin/channelstream/connect', []);
|
|
|
pyroutes.register('channelstream_subscribe', '/_admin/channelstream/subscribe', []);
|
|
|
pyroutes.register('channelstream_proxy', '/_channelstream', []);
|
|
|
pyroutes.register('login', '/_admin/login', []);
|
|
|
pyroutes.register('logout', '/_admin/logout', []);
|
|
|
pyroutes.register('register', '/_admin/register', []);
|
|
|
pyroutes.register('reset_password', '/_admin/password_reset', []);
|
|
|
pyroutes.register('reset_password_confirmation', '/_admin/password_reset_confirmation', []);
|
|
|
pyroutes.register('repo_maintenance', '/%(repo_name)s/maintenance', ['repo_name']);
|
|
|
pyroutes.register('repo_maintenance_execute', '/%(repo_name)s/maintenance/execute', ['repo_name']);
|
|
|
pyroutes.register('strip', '/%(repo_name)s/strip', ['repo_name']);
|
|
|
pyroutes.register('strip_check', '/%(repo_name)s/strip_check', ['repo_name']);
|
|
|
pyroutes.register('strip_execute', '/%(repo_name)s/strip_execute', ['repo_name']);
|
|
|
pyroutes.register('user_profile', '/_profiles/%(username)s', ['username']);
|
|
|
pyroutes.register('my_account_profile', '/_admin/my_account/profile', []);
|
|
|
pyroutes.register('my_account_password', '/_admin/my_account/password', []);
|
|
|
pyroutes.register('my_account_password_update', '/_admin/my_account/password', []);
|
|
|
pyroutes.register('my_account_auth_tokens', '/_admin/my_account/auth_tokens', []);
|
|
|
pyroutes.register('my_account_auth_tokens_add', '/_admin/my_account/auth_tokens/new', []);
|
|
|
pyroutes.register('my_account_auth_tokens_delete', '/_admin/my_account/auth_tokens/delete', []);
|
|
|
pyroutes.register('apiv2', '/_admin/api', []);
|
|
|
}
|
|
|
|