|
|
@@ -15,6 +15,7 @@ class RepositoriesController < ApplicationController |
|
|
before_action :get_statistics, only: %i[top_counts]
|
|
|
before_action :get_statistics, only: %i[top_counts]
|
|
|
before_action :require_referer, only: [:raw]
|
|
|
before_action :require_referer, only: [:raw]
|
|
|
before_action :request_limit, only: [:raw]
|
|
|
before_action :request_limit, only: [:raw]
|
|
|
|
|
|
before_action :request_raw_limit, only: [:raw]
|
|
|
|
|
|
|
|
|
def files
|
|
|
def files
|
|
|
result = @project.educoder? ? nil : Gitea::Repository::Files::GetService.call(@owner, @project.identifier, @ref, params[:search], @owner.gitea_token)
|
|
|
result = @project.educoder? ? nil : Gitea::Repository::Files::GetService.call(@owner, @project.identifier, @ref, params[:search], @owner.gitea_token)
|
|
|
|