url(r"^checks/$", weblate.checks.views.show_checks, name="checks"), url( r"^checks/(?P<name>[^/]+)/$", weblate.checks.views.show_check, name="show_check" ), url( r"^checks/(?P<name>[^/]+)/" + PROJECT + "$", weblate.checks.views.show_check_project, name="show_check_project", ), url( r"^checks/(?P<name>[^/]+)/" + COMPONENT + "$", weblate.checks.views.show_check_component, name="show_check_component", ), # Changes browsing url(r"^changes/$", ChangesView.as_view(), name="changes"), url(r"^changes/csv/$", ChangesCSVView.as_view(), name="changes-csv"), url(r"^changes/render/(?P<pk>[0-9]+)/$", show_change, name="show_change"), # Notification hooks url( r"^hooks/update/" + COMPONENT + "$", weblate.trans.views.hooks.update_component, name="hook-component", ), url( r"^hooks/update/" + PROJECT + "$", weblate.trans.views.hooks.update_project, name="hook-project", ), url( r"^hooks/(?P<service>github|gitlab|bitbucket|pagure|azure|gitea|gitee)/$",
), url( r'^checks/(?P<name>[^/]+)/' + PROJECT + '$', 'weblate.trans.views.checks.show_check_project', name='show_check_project', ), url( r'^checks/(?P<name>[^/]+)/' + SUBPROJECT + '$', 'weblate.trans.views.checks.show_check_subproject', name='show_check_subproject', ), # Changes browsing url( r'^changes/$', ChangesView.as_view(), name='changes', ), # Notification hooks url( r'^hooks/update/' + SUBPROJECT + '$', 'weblate.trans.views.api.update_subproject', name='hook-subproject', ), url( r'^hooks/update/' + PROJECT + '$', 'weblate.trans.views.api.update_project', name='hook-project', ), url(
), url( r'^checks/(?P<name>[^/]+)/' + PROJECT + '$', 'weblate.trans.views.checks.show_check_project', name='show_check_project', ), url( r'^checks/(?P<name>[^/]+)/' + SUBPROJECT + '$', 'weblate.trans.views.checks.show_check_subproject', name='show_check_subproject', ), # Changes browsing url( r'^changes/$', ChangesView.as_view(), name='changes', ), # Notification hooks url( r'^hooks/update/' + SUBPROJECT + '$', 'weblate.trans.views.api.update_subproject', name='hook-subproject', ), url( r'^hooks/update/' + PROJECT + '$', 'weblate.trans.views.api.update_project', name='hook-project', ), url(
), # Checks browsing path("checks/", weblate.checks.views.show_checks, name="checks"), path("checks/<name:name>/", weblate.checks.views.show_check, name="show_check"), path( "checks/<name:name>/<name:project>/", weblate.checks.views.show_check_project, name="show_check_project", ), path( "checks/<name:name>/<name:project>/<name:component>/", weblate.checks.views.show_check_component, name="show_check_component", ), # Changes browsing path("changes/", ChangesView.as_view(), name="changes"), path("changes/csv/", ChangesCSVView.as_view(), name="changes-csv"), path("changes/render/<int:pk>/", show_change, name="show_change"), # Notification hooks path( "hooks/update/<name:project>/<name:component>/", weblate.trans.views.hooks.update_component, name="hook-component", ), path( "hooks/update/<name:project>/", weblate.trans.views.hooks.update_project, name="hook-project", ), path( "hooks/<slug:service>/",
url(r"^languages/" + LANGUAGE + "/" + PROJECT + "$", weblate.lang.views.show_project, name="project-language"), # Checks browsing url(r"^checks/$", weblate.trans.views.checks.show_checks, name="checks"), url(r"^checks/(?P<name>[^/]+)/$", weblate.trans.views.checks.show_check, name="show_check"), url( r"^checks/(?P<name>[^/]+)/" + PROJECT + "$", weblate.trans.views.checks.show_check_project, name="show_check_project", ), url( r"^checks/(?P<name>[^/]+)/" + SUBPROJECT + "$", weblate.trans.views.checks.show_check_subproject, name="show_check_subproject", ), # Changes browsing url(r"^changes/$", ChangesView.as_view(), name="changes"), url(r"^changes/csv/$", ChangesCSVView.as_view(), name="changes-csv"), # Notification hooks url(r"^hooks/update/" + SUBPROJECT + "$", weblate.trans.views.api.update_subproject, name="hook-subproject"), url(r"^hooks/update/" + PROJECT + "$", weblate.trans.views.api.update_project, name="hook-project"), url(r"^hooks/github/$", weblate.trans.views.api.vcs_service_hook, {"service": "github"}, name="hook-github"), url(r"^hooks/gitlab/$", weblate.trans.views.api.vcs_service_hook, {"service": "gitlab"}, name="hook-gitlab"), url( r"^hooks/bitbucket/$", weblate.trans.views.api.vcs_service_hook, {"service": "bitbucket"}, name="hook-bitbucket" ), # Stats exports url(r"^exports/stats/" + SUBPROJECT + "$", weblate.trans.views.api.export_stats, name="export_stats"), url(r"^exports/stats/" + PROJECT + "$", weblate.trans.views.api.export_stats_project, name="export_stats"), # RSS exports url(r"^exports/rss/$", ChangesFeed(), name="rss"), url(r"^exports/rss/language/" + LANGUAGE + "/$", LanguageChangesFeed(), name="rss-language"),