Skip to content

Commit

Permalink
Fix oe-modules refs.
Browse files Browse the repository at this point in the history
  • Loading branch information
zerai committed Feb 26, 2025
1 parent 4ab2ae9 commit 462fa21
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ private function createOauthClientForMarketplaceEngine(): void
$clientDescription = 'Marketplace website';
$scopes = ['email'];
$grantTypes = ['authorization_code', 'refresh_token'];
$redirectUris = ['https://marketplace.oe-modules.com/connect/oemodules/check'];
$redirectUris = ['https://modules.openemrmarketplace.com/connect/oemodules/check'];

$oAuthClient = $this
->buildOauthClient(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ private function createOauthClientForMarketplaceEngine(): void
$clientDescription = 'Stage Marketplace website';
$scopes = ['email'];
$grantTypes = ['authorization_code', 'refresh_token'];
$redirectUris = ['https://stage.marketplace.oe-modules.com/connect/oemodules/check'];
$redirectUris = ['https://stage.modules.openemrmarketplace.com/connect/oemodules/check'];

$oAuthClient = $this
->buildOauthClient(
Expand Down
2 changes: 1 addition & 1 deletion _iam/src/Infrastructure/Templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="description" content="OpenEmr modules marketplace">
<meta name="keywords" content="OpenEmr module, openemr module, openemr, oe-modules, openEmr marketplace">
<meta name="keywords" content="openEmr marketplace, openEmr module, openemr modules, openemr">
<meta name="author" content="MedicalMundi.com">

<title>{% block title %}Welcome!{% endblock %}</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% extends 'base.html.twig' %}

{% block title %}
oe-modules marketplace
openemr marketplace
{% endblock %}

{# @see https://twig.symfony.com/doc/3.x/tags/use.html #}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

<nav class="navbar navbar-expand-lg bg-body-tertiary rounded" aria-label="Eleventh navbar example">
<div class="container-fluid">
<a class="navbar-brand" href="{{ path('app_index') }}">Auth oe-modules.com</a>
<a class="navbar-brand" href="{{ path('app_index') }}">Auth openemrmarketplace.com</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarMainTop" aria-controls="navbarMainTop" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
Expand Down
2 changes: 1 addition & 1 deletion _iam/src/Infrastructure/Templates/layout-base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% extends '@iam/base.html.twig' %}

{% block title %}
auth.oe-modules.com
auth.openemrmarketplace.com
{% endblock %}

{% block stylesheets %}
Expand Down
4 changes: 2 additions & 2 deletions _notifier/src/Infrastructure/Framework/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
parameters:
notifier.setting.recipient.admin: '[email protected]'
notifier.setting.recipient.system.email: 'sys@auth.oe-modules.com'
notifier.setting.recipient.system.name: 'auth.oe-modules.com'
notifier.setting.recipient.system.email: 'system@auth.openemrmarketplace.com'
notifier.setting.recipient.system.name: 'auth.openemr.com'

services:
# default configuration for services in *this* file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
#[CoversClass(AdapterForSendingEmail::class)]
class NotifyRegistrationVerificationMessageToUserTest extends TestCase
{
private const SYSTEM_EMAIL_ADDRESS = 'sys@auth.oe-modules.com';
private const SYSTEM_EMAIL_ADDRESS = 'system@auth.openemrmarketplace.com';

private const SYSTEM_EMAIL_NAME = 'auth.oe-modules.com';
private const SYSTEM_EMAIL_NAME = 'auth.openemrmarketplace.com';

private const EXPECTED_EMAIL_SUBJECT = self::SYSTEM_EMAIL_NAME . ': verify your email address';

Expand Down
2 changes: 1 addition & 1 deletion config/packages/routing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ framework:
when@prod:
framework:
router:
default_uri: https://auth.oe-modules.com
default_uri: https://auth.openemrmarketplace.com
strict_requirements: null

2 changes: 1 addition & 1 deletion config/packages/sentry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ when@prod:
environment: '%kernel.environment%'
sample_rate: 0.5
traces_sample_rate: 0.5
server_name: "auth.oe-modules.com"
server_name: "auth.openemrmarketplace.com"
send_attempts: 4
release: '%release.version%'

Expand Down
4 changes: 2 additions & 2 deletions src/Controller/RegistrationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ public function resendVerifyEmail(Request $request): Response
private function sendConfirmationEmail(MailerInterface $mailer, string $signedUrl, string $userEmail): void
{
$email = (new Email())
->from('[email protected].com')
->from('[email protected].com')
->to($userEmail)
->priority(Email::PRIORITY_HIGH)
->subject('Auth oe-modules.com: please confirm your registration')
->subject('Auth openemrmarketplace.com: please confirm your registration')
->text('Confirm your email at: ' . $signedUrl)
->html('<p> Confirm your email at: ' . $signedUrl . '</p>');

Expand Down
2 changes: 1 addition & 1 deletion src/Controller/ResetPasswordController.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private function processSendingPasswordResetEmail(string $emailFormData, MailerI
}

$email = (new TemplatedEmail())
->from(new Address('sys@auth.oe-modules.com', 'Auth oe-modules.com'))
->from(new Address('system@auth.openemrmarketplace.com', 'Auth openemrmarketplace.com'))
->to($emailFormData)
->subject('Your password reset request')
->htmlTemplate('reset_password/email.html.twig')
Expand Down
4 changes: 2 additions & 2 deletions templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="oe-modules.com service">
<meta name="keywords" content="oe-modules.com, marketplace.oe-modules.com">
<meta name="description" content="openemrmarketplace.com service">
<meta name="keywords" content="openemrmarketplace.com, openemr marketplace">
<meta name="author" content="MedicalMundi.com">
<meta name="robots" content="noindex">

Expand Down
6 changes: 3 additions & 3 deletions templates/index/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
<header class="mb-auto">
<div>
<h3 class="float-md-start mb-0">oe-modules.com</h3>
<h3 class="float-md-start mb-0">openemrmarketplace.com</h3>
<nav class="nav nav-masthead justify-content-center float-md-end">
{# <a class="nav-link fw-bold py-1 px-0 active" aria-current="page" href="#">Home</a>#}
{# <a class="nav-link fw-bold py-1 px-0" href="#">Features</a>#}
<a class="nav-link fw-bold py-1 px-0" href="https://marketplace.oe-modules.com/en/contact" target="_blank">Contact</a>
<a class="nav-link fw-bold py-1 px-0" href="https://modules.openemrmarketplace/en/contact" target="_blank">Contact</a>
{% if is_granted('ROLE_USER') %}
<a class="nav-link fw-bold py-1 px-0" href="{{ path('app_logout') }}">Log Out</a>
{% endif %}
Expand Down Expand Up @@ -49,4 +49,4 @@
<p>Made by <a href="https://github.com/zerai/" class="text-white">@Z</a>.</p>
</footer>
</div>
{% endblock %}
{% endblock %}
2 changes: 1 addition & 1 deletion templates/layout-base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% extends 'base.html.twig' %}

{% block title %}
Auth - oe-modules.com
Auth - openemrmarketplace.com
{% endblock %}

{% block stylesheets %}
Expand Down

0 comments on commit 462fa21

Please sign in to comment.