Compare commits
2 Commits
master
...
change-big
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
015ed83ac2 | ||
|
|
1045a8c328 |
@@ -6,6 +6,6 @@ module MailHelper
|
|||||||
"1. Tell us the name of the video: \n\n" \
|
"1. Tell us the name of the video: \n\n" \
|
||||||
"2. Attach each EDL to this email. Please make sure to indicate whether the EDL is a Video Only, Graphics Only, or Audio Only EDL."
|
"2. Attach each EDL to this email. Please make sure to indicate whether the EDL is a Video Only, Graphics Only, or Audio Only EDL."
|
||||||
|
|
||||||
mail_to "info@bigmedia.ai", content, subject: subject, body: body
|
mail_to "info@mesuite.ai", content, subject: subject, body: body
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
class AdminMailer < ApplicationMailer
|
class AdminMailer < ApplicationMailer
|
||||||
default to: %w(bray@bigmedia.ai lee@bigmedia.ai)
|
default to: %w[bray@mesuite.ai]
|
||||||
|
|
||||||
def new_video(video)
|
def new_video(video)
|
||||||
@video = video
|
@video = video
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
class ApplicationMailer < ActionMailer::Base
|
class ApplicationMailer < ActionMailer::Base
|
||||||
default from: ENV.fetch("MAILER_FROM_ADDRESS") { "support@bigmedia.ai" }
|
default from: ENV.fetch("MAILER_FROM_ADDRESS") { "support@mesuite.ai" }
|
||||||
layout "mailer"
|
layout "mailer"
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ class AppHost
|
|||||||
use_ssl: false,
|
use_ssl: false,
|
||||||
},
|
},
|
||||||
production: {
|
production: {
|
||||||
host: "bigmedia.ai",
|
host: "mesuite.ai",
|
||||||
use_ssl: true,
|
use_ssl: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="<%= I18n.locale %>">
|
<html lang="<%= I18n.locale %>">
|
||||||
<head>
|
<head>
|
||||||
<title>BiGMedia.ai App</title>
|
<title>MESuite.ai App</title>
|
||||||
<%= csrf_meta_tags %>
|
<%= csrf_meta_tags %>
|
||||||
<%= csp_meta_tag %>
|
<%= csp_meta_tag %>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="<%= I18n.locale %>">
|
<html lang="<%= I18n.locale %>">
|
||||||
<head>
|
<head>
|
||||||
<title>BiGMedia.ai App</title>
|
<title>MESuite.ai App</title>
|
||||||
<%= csrf_meta_tags %>
|
<%= csrf_meta_tags %>
|
||||||
<%= csp_meta_tag %>
|
<%= csp_meta_tag %>
|
||||||
|
|
||||||
|
|||||||
@@ -10,5 +10,5 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
If you have questions about how to use the software, please visit <%= link_to "BiGMedia.ai", "https://www.bigmedia.ai/contact" %>.
|
If you have questions about how to use the software, please visit <%= link_to "MESuite.ai", "https://www.mesuite.ai/contact" %>.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -7,4 +7,4 @@ Please click below to set your password.
|
|||||||
<%= edit_password_reset_url(id: @user.password_reset_token, host: AppHost.new.domain_with_port) %>
|
<%= edit_password_reset_url(id: @user.password_reset_token, host: AppHost.new.domain_with_port) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
If you have questions about how to use the software, please visit https://www.bigmedia.ai/contact.
|
If you have questions about how to use the software, please visit https://www.mesuite.ai/contact.
|
||||||
|
|||||||
@@ -9,20 +9,6 @@ SET xmloption = content;
|
|||||||
SET client_min_messages = warning;
|
SET client_min_messages = warning;
|
||||||
SET row_security = off;
|
SET row_security = off;
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
|
|
||||||
--
|
|
||||||
|
|
||||||
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
|
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -
|
|
||||||
--
|
|
||||||
|
|
||||||
COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: fuzzystrmatch; Type: EXTENSION; Schema: -; Owner: -
|
-- Name: fuzzystrmatch; Type: EXTENSION; Schema: -; Owner: -
|
||||||
--
|
--
|
||||||
@@ -1479,6 +1465,7 @@ CREATE TABLE public.settings (
|
|||||||
--
|
--
|
||||||
|
|
||||||
CREATE SEQUENCE public.settings_id_seq
|
CREATE SEQUENCE public.settings_id_seq
|
||||||
|
AS integer
|
||||||
START WITH 1
|
START WITH 1
|
||||||
INCREMENT BY 1
|
INCREMENT BY 1
|
||||||
NO MINVALUE
|
NO MINVALUE
|
||||||
@@ -1514,6 +1501,7 @@ CREATE TABLE public.taggings (
|
|||||||
--
|
--
|
||||||
|
|
||||||
CREATE SEQUENCE public.taggings_id_seq
|
CREATE SEQUENCE public.taggings_id_seq
|
||||||
|
AS integer
|
||||||
START WITH 1
|
START WITH 1
|
||||||
INCREMENT BY 1
|
INCREMENT BY 1
|
||||||
NO MINVALUE
|
NO MINVALUE
|
||||||
@@ -1544,6 +1532,7 @@ CREATE TABLE public.tags (
|
|||||||
--
|
--
|
||||||
|
|
||||||
CREATE SEQUENCE public.tags_id_seq
|
CREATE SEQUENCE public.tags_id_seq
|
||||||
|
AS integer
|
||||||
START WITH 1
|
START WITH 1
|
||||||
INCREMENT BY 1
|
INCREMENT BY 1
|
||||||
NO MINVALUE
|
NO MINVALUE
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ feature "User managing videos" do
|
|||||||
expect(page).to have_selector "#video_edl_file", visible: :all
|
expect(page).to have_selector "#video_edl_file", visible: :all
|
||||||
expect(page).to have_selector "#video_graphics_only_edl_file", visible: :all
|
expect(page).to have_selector "#video_graphics_only_edl_file", visible: :all
|
||||||
expect(page).to have_selector "#video_audio_only_edl_file", visible: :all
|
expect(page).to have_selector "#video_audio_only_edl_file", visible: :all
|
||||||
expect(page).to have_link "click here", href: /mailto:info@bigmedia\.ai/
|
expect(page).to have_link "click here", href: /mailto:info@mesuite\.ai/
|
||||||
|
|
||||||
fill_in_video_fields name: "New name", number: "99"
|
fill_in_video_fields name: "New name", number: "99"
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ RSpec.describe MailHelper, type: :helper do
|
|||||||
link = CGI.unescape helper.mail_to_for_multiple_edls("test content", project)
|
link = CGI.unescape helper.mail_to_for_multiple_edls("test content", project)
|
||||||
|
|
||||||
expect(link).to match "test content"
|
expect(link).to match "test content"
|
||||||
expect(link).to match "info@bigmedia.ai"
|
expect(link).to match "info@mesuite.ai"
|
||||||
expect(link).to match /Multiple Adobe Premiere EDLs needed for Test Account's Test Project project/
|
expect(link).to match /Multiple Adobe Premiere EDLs needed for Test Account's Test Project project/
|
||||||
expect(link).to match "INSTRUCTIONS"
|
expect(link).to match "INSTRUCTIONS"
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ RSpec.describe AdminMailer do
|
|||||||
|
|
||||||
it "renders the headers" do
|
it "renders the headers" do
|
||||||
expect(mail.subject).to eq("[New Video] Test Account has uploaded a new video")
|
expect(mail.subject).to eq("[New Video] Test Account has uploaded a new video")
|
||||||
expect(mail.to).to eq(["bray@bigmedia.ai", "lee@bigmedia.ai"])
|
expect(mail.to).to eq(["bray@mesuite.ai"])
|
||||||
expect(mail.from).to eq(["support@bigmedia.ai"])
|
expect(mail.from).to eq(["support@mesuite.ai"])
|
||||||
end
|
end
|
||||||
|
|
||||||
it "renders the body" do
|
it "renders the body" do
|
||||||
@@ -24,8 +24,8 @@ RSpec.describe AdminMailer do
|
|||||||
|
|
||||||
it "renders the headers" do
|
it "renders the headers" do
|
||||||
expect(mail.subject).to eq("[Updated Video EDL File] Test Account has updated the EDL file for video_file.mp4")
|
expect(mail.subject).to eq("[Updated Video EDL File] Test Account has updated the EDL file for video_file.mp4")
|
||||||
expect(mail.to).to eq(["bray@bigmedia.ai", "lee@bigmedia.ai"])
|
expect(mail.to).to eq(["bray@mesuite.ai"])
|
||||||
expect(mail.from).to eq(["support@bigmedia.ai"])
|
expect(mail.from).to eq(["support@mesuite.ai"])
|
||||||
end
|
end
|
||||||
|
|
||||||
it "renders the body" do
|
it "renders the body" do
|
||||||
@@ -41,8 +41,8 @@ RSpec.describe AdminMailer do
|
|||||||
|
|
||||||
it "renders the headers" do
|
it "renders the headers" do
|
||||||
expect(mail.subject).to eq("[Updated Video Graphics Only EDL File] Test Account has updated the Graphics Only EDL file for video_file.mp4")
|
expect(mail.subject).to eq("[Updated Video Graphics Only EDL File] Test Account has updated the Graphics Only EDL file for video_file.mp4")
|
||||||
expect(mail.to).to eq(["bray@bigmedia.ai", "lee@bigmedia.ai"])
|
expect(mail.to).to eq(["bray@mesuite.ai"])
|
||||||
expect(mail.from).to eq(["support@bigmedia.ai"])
|
expect(mail.from).to eq(["support@mesuite.ai"])
|
||||||
end
|
end
|
||||||
|
|
||||||
it "renders the body" do
|
it "renders the body" do
|
||||||
@@ -58,8 +58,8 @@ RSpec.describe AdminMailer do
|
|||||||
|
|
||||||
it "renders the headers" do
|
it "renders the headers" do
|
||||||
expect(mail.subject).to eq("[Updated Video Audio Only EDL File] Test Account has updated the Audio Only EDL file for video_file.mp4")
|
expect(mail.subject).to eq("[Updated Video Audio Only EDL File] Test Account has updated the Audio Only EDL file for video_file.mp4")
|
||||||
expect(mail.to).to eq(["bray@bigmedia.ai", "lee@bigmedia.ai"])
|
expect(mail.to).to eq(["bray@mesuite.ai"])
|
||||||
expect(mail.from).to eq(["support@bigmedia.ai"])
|
expect(mail.from).to eq(["support@mesuite.ai"])
|
||||||
end
|
end
|
||||||
|
|
||||||
it "renders the body" do
|
it "renders the body" do
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ describe UserMailer do
|
|||||||
it "renders the headers" do
|
it "renders the headers" do
|
||||||
expect(mail.subject).to eq("Password reset")
|
expect(mail.subject).to eq("Password reset")
|
||||||
expect(mail.to).to eq([user.email])
|
expect(mail.to).to eq([user.email])
|
||||||
expect(mail.from).to eq(["support@bigmedia.ai"])
|
expect(mail.from).to eq(["support@mesuite.ai"])
|
||||||
end
|
end
|
||||||
|
|
||||||
it "renders the body" do
|
it "renders the body" do
|
||||||
@@ -24,7 +24,7 @@ describe UserMailer do
|
|||||||
it "renders the headers" do
|
it "renders the headers" do
|
||||||
expect(mail.subject).to eq("You've been added to a project in the ME Suite")
|
expect(mail.subject).to eq("You've been added to a project in the ME Suite")
|
||||||
expect(mail.to).to eq([user.email])
|
expect(mail.to).to eq([user.email])
|
||||||
expect(mail.from).to eq(["support@bigmedia.ai"])
|
expect(mail.from).to eq(["support@mesuite.ai"])
|
||||||
end
|
end
|
||||||
|
|
||||||
it "renders the body" do
|
it "renders the body" do
|
||||||
@@ -50,7 +50,7 @@ describe UserMailer do
|
|||||||
it "renders the headers" do
|
it "renders the headers" do
|
||||||
expect(mail.subject).to eq("Welcome to BiG")
|
expect(mail.subject).to eq("Welcome to BiG")
|
||||||
expect(mail.to).to eq([user.email])
|
expect(mail.to).to eq([user.email])
|
||||||
expect(mail.from).to eq(["support@bigmedia.ai"])
|
expect(mail.from).to eq(["support@mesuite.ai"])
|
||||||
end
|
end
|
||||||
|
|
||||||
it "renders the body" do
|
it "renders the body" do
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ describe AppHost do
|
|||||||
|
|
||||||
app_domain = AppHost.new(env, "production")
|
app_domain = AppHost.new(env, "production")
|
||||||
|
|
||||||
expect(app_domain.domain).to eq("bigmedia.ai")
|
expect(app_domain.domain).to eq("mesuite.ai")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user