1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-12-01 05:43:04 +00:00

style(rubocop): Style/FrozenStringLiteralComment

هذا الالتزام موجود في:
Adam Cooke
2024-02-09 17:20:18 +00:00
الأصل ba5bfbd6a0
التزام 6ab36c09c9
217 ملفات معدلة مع 220 إضافات و3 حذوفات

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class AddressEndpointsController < ApplicationController
include WithinOrganization

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
require "authie/session"
class ApplicationController < ActionController::Base

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
module WithinOrganization
extend ActiveSupport::Concern

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class CredentialsController < ApplicationController
include WithinOrganization

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class DomainsController < ApplicationController
include WithinOrganization

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class HelpController < ApplicationController
include WithinOrganization

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class HTTPEndpointsController < ApplicationController
include WithinOrganization

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class IPAddressesController < ApplicationController
before_action :admin_required

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class IPPoolRulesController < ApplicationController
include WithinOrganization

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class IPPoolsController < ApplicationController
before_action :admin_required

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class MessagesController < ApplicationController
include WithinOrganization

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class OrganizationIPPoolsController < ApplicationController
include WithinOrganization

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class OrganizationsController < ApplicationController
before_action :admin_required, only: [:new, :create, :delete, :destroy]

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class RoutesController < ApplicationController
include WithinOrganization

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class ServersController < ApplicationController
include WithinOrganization

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class SessionsController < ApplicationController
layout "sub"

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class SMTPEndpointsController < ApplicationController
include WithinOrganization

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class TrackDomainsController < ApplicationController
include WithinOrganization

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class UserController < ApplicationController
skip_before_action :login_required, only: [:new, :create, :join]

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class UsersController < ApplicationController
before_action :admin_required

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class WebhooksController < ApplicationController
include WithinOrganization

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
module ApplicationHelper
def format_delivery_details(server, text)

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class ActionDeletionJob < Postal::Job
def perform

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class ActionDeletionsJob < Postal::Job
def perform

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class CheckAllDNSJob < Postal::Job
def perform

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
require "authie/session"
class CleanupAuthieSessionsJob < Postal::Job

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class ExpireHeldMessagesJob < Postal::Job
def perform

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class ProcessMessageRetentionJob < Postal::Job
def perform

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class PruneSuppressionListsJob < Postal::Job
def perform

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class PruneWebhookRequestsJob < Postal::Job
def perform

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class RequeueWebhooksJob < Postal::Job
def perform

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class SendNotificationsJob < Postal::Job
def perform

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class SendWebhookJob < Postal::Job
def perform

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class SleepJob < Postal::Job
def perform

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class TidyRawMessagesJob < Postal::Job
def perform

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class UnqueueMessageJob < Postal::Job
def perform

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class WebhookDeliveryJob < Postal::Job
def perform

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class AppMailer < ApplicationMailer
def verify_email_address(user)

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class ApplicationMailer < ActionMailer::Base
default from: "#{Postal.smtp_from_name} <#{Postal.smtp_from_address}>"

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: additional_route_endpoints

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: address_endpoints

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class ApplicationRecord < ActiveRecord::Base
self.abstract_class = true

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
module HasAuthentication
extend ActiveSupport::Concern

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
require "resolv"
module HasDNSChecks

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
module HasMessage
def self.included(base)

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
module HasSoftDestroy
def self.included(base)

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
module HasUUID
def self.included(base)

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: credentials

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: domains

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: http_endpoints

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class IncomingMessagePrototype
attr_accessor :to

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: ip_addresses

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: ip_pools

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: ip_pool_rules

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: organizations

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: organization_ip_pools

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: organization_users

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
require "resolv"
class OutgoingMessagePrototype

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: queued_messages

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: routes

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: servers

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: smtp_endpoints

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: statistics

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: track_domains

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: users

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: user_invites

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: webhooks

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: webhook_events

عرض الملف

@@ -1,3 +1,4 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: webhook_requests