mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-23 07:34:08 +01:00
Add sorbet typing information to all the files
This commit is contained in:
parent
8b8db1ef7c
commit
cabe2f80ed
263 changed files with 264 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
require_dependency "login_system"
|
||||
require_dependency "tracks/source_view"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
class CalendarController < ApplicationController
|
||||
skip_before_action :login_required, :only => [:show]
|
||||
prepend_before_action :login_or_feed_token_required, :only => [:show]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
class ContextsController < ApplicationController
|
||||
|
||||
helper :todos
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
class DataController < ApplicationController
|
||||
|
||||
require 'csv'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: true
|
||||
class FeedlistController < ApplicationController
|
||||
|
||||
helper :feedlist
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: true
|
||||
class IntegrationsController < ApplicationController
|
||||
require 'mail'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
class LoginController < ApplicationController
|
||||
|
||||
layout 'login'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: true
|
||||
require 'openssl'
|
||||
|
||||
class MailgunController < ApplicationController
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
class NotesController < ApplicationController
|
||||
|
||||
before_action :set_source_view
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
class PreferencesController < ApplicationController
|
||||
|
||||
def index
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
class ProjectsController < ApplicationController
|
||||
|
||||
helper :application, :todos, :notes
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: true
|
||||
module RecurringTodos
|
||||
|
||||
class FormHelper
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
class RecurringTodosController < ApplicationController
|
||||
|
||||
helper :todos, :recurring_todos
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: true
|
||||
class SearchController < ApplicationController
|
||||
|
||||
helper :todos, :application, :notes, :projects, :contexts
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
class StatsController < ApplicationController
|
||||
|
||||
SECONDS_PER_DAY = 86400;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: true
|
||||
module Todos
|
||||
class TodoCreateParamsHelper
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
class TodosController < ApplicationController
|
||||
|
||||
skip_before_action :login_required, :only => [:index, :tag, :list_deferred, :show, :list_hidden, :done]
|
||||
|
|
@ -45,7 +46,7 @@ class TodosController < ApplicationController
|
|||
@page_title = t('todos.mobile_todos_page_title')
|
||||
@home = true
|
||||
|
||||
cookies[:mobile_url]= { :value => request.fullpath, :secure => SITE_CONFIG['secure_cookies']}
|
||||
cookies[:mobile_url] = { :value => request.fullpath, :secure => SITE_CONFIG['secure_cookies']}
|
||||
determine_down_count
|
||||
|
||||
render :action => 'index'.freeze
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# typed: false
|
||||
class UsersController < ApplicationController
|
||||
|
||||
before_action :admin_login_required, :only => [ :index, :show, :destroy ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue