diff --git a/assets/pages/DashboardPage.tsx b/assets/pages/DomainFinderPage.tsx similarity index 99% rename from assets/pages/DashboardPage.tsx rename to assets/pages/DomainFinderPage.tsx index 293c552..ed37b83 100644 --- a/assets/pages/DashboardPage.tsx +++ b/assets/pages/DomainFinderPage.tsx @@ -4,8 +4,6 @@ import {Grid, Paper} from "@mui/material"; export default function DashboardPage() { - - return ( <> @@ -19,6 +17,7 @@ export default function DashboardPage() { height: 240, }} > + diff --git a/assets/pages/EntityFinderPage.tsx b/assets/pages/EntityFinderPage.tsx new file mode 100644 index 0000000..97cd799 --- /dev/null +++ b/assets/pages/EntityFinderPage.tsx @@ -0,0 +1,27 @@ +import React from 'react'; +import Container from "@mui/material/Container"; +import {Grid, Paper} from "@mui/material"; + + +export default function DomainFinderPage() { + return ( + <> + + + + + + + + + + + ); +}; diff --git a/assets/pages/NameserverFinderPage.tsx b/assets/pages/NameserverFinderPage.tsx new file mode 100644 index 0000000..fe0bac7 --- /dev/null +++ b/assets/pages/NameserverFinderPage.tsx @@ -0,0 +1,27 @@ +import React from 'react'; +import Container from "@mui/material/Container"; +import {Grid, Paper} from "@mui/material"; + + +export default function NameserverPage() { + return ( + <> + + + + + + + + + + + ); +}; diff --git a/assets/pages/NameserverPage.tsx b/assets/pages/NameserverPage.tsx new file mode 100644 index 0000000..97cd799 --- /dev/null +++ b/assets/pages/NameserverPage.tsx @@ -0,0 +1,27 @@ +import React from 'react'; +import Container from "@mui/material/Container"; +import {Grid, Paper} from "@mui/material"; + + +export default function DomainFinderPage() { + return ( + <> + + + + + + + + + + + ); +}; diff --git a/assets/pages/ReverseDirectoryPage.tsx b/assets/pages/ReverseDirectoryPage.tsx new file mode 100644 index 0000000..97cd799 --- /dev/null +++ b/assets/pages/ReverseDirectoryPage.tsx @@ -0,0 +1,27 @@ +import React from 'react'; +import Container from "@mui/material/Container"; +import {Grid, Paper} from "@mui/material"; + + +export default function DomainFinderPage() { + return ( + <> + + + + + + + + + + + ); +}; diff --git a/assets/pages/TldPage.tsx b/assets/pages/TldPage.tsx new file mode 100644 index 0000000..97cd799 --- /dev/null +++ b/assets/pages/TldPage.tsx @@ -0,0 +1,27 @@ +import React from 'react'; +import Container from "@mui/material/Container"; +import {Grid, Paper} from "@mui/material"; + + +export default function DomainFinderPage() { + return ( + <> + + + + + + + + + + + ); +}; diff --git a/assets/pages/WatchlistsPage.tsx b/assets/pages/WatchlistsPage.tsx new file mode 100644 index 0000000..97cd799 --- /dev/null +++ b/assets/pages/WatchlistsPage.tsx @@ -0,0 +1,27 @@ +import React from 'react'; +import Container from "@mui/material/Container"; +import {Grid, Paper} from "@mui/material"; + + +export default function DomainFinderPage() { + return ( + <> + + + + + + + + + + + ); +}; diff --git a/src/Entity/Domain.php b/src/Entity/Domain.php index e03501e..262bd85 100644 --- a/src/Entity/Domain.php +++ b/src/Entity/Domain.php @@ -18,6 +18,7 @@ use Symfony\Component\Serializer\Attribute\SerializedName; #[ORM\Entity(repositoryClass: DomainRepository::class)] #[ApiResource( operations: [ + /* new GetCollection( normalizationContext: [ 'groups' => [ @@ -25,6 +26,7 @@ use Symfony\Component\Serializer\Attribute\SerializedName; ] ] ), + */ new Get( uriTemplate: '/domains/{ldhName}', # Do not delete this line, otherwise Symfony interprets the TLD of the domain name as a return type controller: DomainRefreshController::class, diff --git a/templates/emails/domain_updated.html.twig b/templates/emails/domain_updated.html.twig index 006c28c..167de07 100644 --- a/templates/emails/domain_updated.html.twig +++ b/templates/emails/domain_updated.html.twig @@ -1,14 +1,66 @@ -

- Hello,
-
- We are pleased to inform you that a new action has been detected on a domain name in your watchlist.
- Domain name : {{ event.domain.ldhName }}
- Action : {{ event.action.value }}
- Effective Date : {{ event.date | date("c") }}
-
-
- Thank you for your understanding,
- Sincerely
-
- Domain Watchdog -

\ No newline at end of file + + + + + Domain Watchdog Alert + + +
+
+

Domain Watchdog Alert

+
+
+

Hello,

+

We are pleased to inform you that a new action has been detected on a domain name in your watchlist.

+

Domain name: {{ event.domain.ldhName }}

+

Action: {{ event.action.value }}

+

Effective Date: {{ event.date | date("c") }}

+
+

Thank you for your understanding,

+

Sincerely,

+

Domain Watchdog

+
+ +
+ + \ No newline at end of file diff --git a/templates/emails/errors/domain_update.html.twig b/templates/emails/errors/domain_update.html.twig index 860663a..b17001f 100644 --- a/templates/emails/errors/domain_update.html.twig +++ b/templates/emails/errors/domain_update.html.twig @@ -1,17 +1,77 @@ -

- Hello,
-
- We would like to inform you that an error occurred while updating the information for the following domain name. -
- Domain name : {{ domain.ldhName }}
-
- Here are some possible explanations:
- * It is likely that the domain will be available for registration again.
- * A temporary outage affects the provision of domain name information.
-
-
- Thank you for your understanding,
- Sincerely
-
- Domain Watchdog -

\ No newline at end of file + + + + + Domain Watchdog Error + + +
+
+

Domain Watchdog Error

+
+
+

Hello,

+

We would like to inform you that an error occurred while updating the information for the following domain + name:

+

Domain name: {{ domain.ldhName }}

+

Here are some possible explanations:

+
    +
  • It is likely that the domain will be available for registration again.
  • +
  • A temporary outage affects the provision of domain name information.
  • +
+

Thank you for your understanding,

+

Sincerely,

+

Domain Watchdog

+
+ +
+ +