Compare commits

...

2 Commits

Author SHA1 Message Date
Bilal
015ed83ac2 fix MR comment 2020-08-05 10:27:06 +02:00
Bilal
1045a8c328 change bigmedia.ai to mesuite.ai 2020-08-04 08:16:16 +02:00
14 changed files with 25 additions and 36 deletions

View File

@@ -6,6 +6,6 @@ module MailHelper
"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."
mail_to "info@bigmedia.ai", content, subject: subject, body: body
mail_to "info@mesuite.ai", content, subject: subject, body: body
end
end

View File

@@ -1,5 +1,5 @@
class AdminMailer < ApplicationMailer
default to: %w(bray@bigmedia.ai lee@bigmedia.ai)
default to: %w[bray@mesuite.ai]
def new_video(video)
@video = video

View File

@@ -1,4 +1,4 @@
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"
end

View File

@@ -40,7 +40,7 @@ class AppHost
use_ssl: false,
},
production: {
host: "bigmedia.ai",
host: "mesuite.ai",
use_ssl: true,
}
}

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="<%= I18n.locale %>">
<head>
<title>BiGMedia.ai App</title>
<title>MESuite.ai App</title>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="<%= I18n.locale %>">
<head>
<title>BiGMedia.ai App</title>
<title>MESuite.ai App</title>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>

View File

@@ -10,5 +10,5 @@
</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>

View File

@@ -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) %>
<% 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.

View File

@@ -9,20 +9,6 @@ SET xmloption = content;
SET client_min_messages = warning;
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: -
--
@@ -1479,6 +1465,7 @@ CREATE TABLE public.settings (
--
CREATE SEQUENCE public.settings_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
@@ -1514,6 +1501,7 @@ CREATE TABLE public.taggings (
--
CREATE SEQUENCE public.taggings_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
@@ -1544,6 +1532,7 @@ CREATE TABLE public.tags (
--
CREATE SEQUENCE public.tags_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE

View File

@@ -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_graphics_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"

View File

@@ -8,7 +8,7 @@ RSpec.describe MailHelper, type: :helper do
link = CGI.unescape helper.mail_to_for_multiple_edls("test content", project)
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 "INSTRUCTIONS"
end

View File

@@ -8,8 +8,8 @@ RSpec.describe AdminMailer do
it "renders the headers" do
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.from).to eq(["support@bigmedia.ai"])
expect(mail.to).to eq(["bray@mesuite.ai"])
expect(mail.from).to eq(["support@mesuite.ai"])
end
it "renders the body" do
@@ -24,8 +24,8 @@ RSpec.describe AdminMailer 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.to).to eq(["bray@bigmedia.ai", "lee@bigmedia.ai"])
expect(mail.from).to eq(["support@bigmedia.ai"])
expect(mail.to).to eq(["bray@mesuite.ai"])
expect(mail.from).to eq(["support@mesuite.ai"])
end
it "renders the body" do
@@ -41,8 +41,8 @@ RSpec.describe AdminMailer 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.to).to eq(["bray@bigmedia.ai", "lee@bigmedia.ai"])
expect(mail.from).to eq(["support@bigmedia.ai"])
expect(mail.to).to eq(["bray@mesuite.ai"])
expect(mail.from).to eq(["support@mesuite.ai"])
end
it "renders the body" do
@@ -58,8 +58,8 @@ RSpec.describe AdminMailer 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.to).to eq(["bray@bigmedia.ai", "lee@bigmedia.ai"])
expect(mail.from).to eq(["support@bigmedia.ai"])
expect(mail.to).to eq(["bray@mesuite.ai"])
expect(mail.from).to eq(["support@mesuite.ai"])
end
it "renders the body" do

View File

@@ -8,7 +8,7 @@ describe UserMailer do
it "renders the headers" do
expect(mail.subject).to eq("Password reset")
expect(mail.to).to eq([user.email])
expect(mail.from).to eq(["support@bigmedia.ai"])
expect(mail.from).to eq(["support@mesuite.ai"])
end
it "renders the body" do
@@ -24,7 +24,7 @@ describe UserMailer do
it "renders the headers" do
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.from).to eq(["support@bigmedia.ai"])
expect(mail.from).to eq(["support@mesuite.ai"])
end
it "renders the body" do
@@ -50,7 +50,7 @@ describe UserMailer do
it "renders the headers" do
expect(mail.subject).to eq("Welcome to BiG")
expect(mail.to).to eq([user.email])
expect(mail.from).to eq(["support@bigmedia.ai"])
expect(mail.from).to eq(["support@mesuite.ai"])
end
it "renders the body" do

View File

@@ -32,7 +32,7 @@ describe AppHost do
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