-
Notifications
You must be signed in to change notification settings - Fork 23
SRV records support with endpoint notifications #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
HarlequinSin
wants to merge
81
commits into
pelican-dev:main
Choose a base branch
from
HarlequinSin:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 18 commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
e603353
add srv_target column to cloudflare_domains migration
HarlequinSin 5948e9c
add SRV record and target strings
HarlequinSin cc76657
add srv_target field to CloudflareDomain model and resource
HarlequinSin e17c617
add srv_record toggle to SubdomainRelationManager and SubdomainResource
HarlequinSin 2e72466
Adding logic for srv records
HarlequinSin f20e58e
add error messages for missing SRV target and enhance tooltip logic i…
HarlequinSin 58de843
add zone request status messages and improve logging for missing SRV …
HarlequinSin 2ff7a99
add CloudflareService class for managing DNS records with upsert and …
HarlequinSin 1572187
cleanup
HarlequinSin eb1a0eb
Remade script to utilize upsert with better error handling
HarlequinSin 6951bc7
Update to CloudflareDomain model to fetch Cloudflare Zone ID with not…
HarlequinSin f18101a
Changed upsert to require a recordId to be known (prevents changing r…
HarlequinSin 58f73e1
Cleanup
HarlequinSin 89f45b8
Fixing notifications
HarlequinSin d369cc3
- Fixed issue with create record as SRV
HarlequinSin 7d1b33a
Remove unused Hidden component
HarlequinSin 910b812
- Added default for subdomain selection
HarlequinSin b42370d
- Fixed erroneous success logic
HarlequinSin ea4e602
Removed unused classes
HarlequinSin 66d4384
lang support
HarlequinSin f7b98d3
corrected notification log
HarlequinSin 9804937
Fixed http success logic
HarlequinSin d004dda
fixed style issues and syntax error
HarlequinSin a4d9827
fixing blank_line_before_statement
HarlequinSin c4654fd
append version to 1.1.0
HarlequinSin 348099d
Add notification for missing SRV target in Cloudflare integration
HarlequinSin d64612d
minor wording updates
HarlequinSin 5bfd8df
Dynamically disable SRV record toggle if domain is missing srv_target
HarlequinSin e781f6a
lang cleanup, removed redundent strings
HarlequinSin 8a7e932
Make SRV record toggle reactive
HarlequinSin 23c4e39
Fix capitalization in Cloudflare notification titles
HarlequinSin f31a101
clean up
HarlequinSin 6b31686
migration to move srv_target from cloudflare domains to nodes
HarlequinSin d2c0e18
Changing srv_target from domains to node
HarlequinSin c476a60
lang updates for new notifications
HarlequinSin 5125263
Changing SRV record service from hard-coded for minecraft to based on…
HarlequinSin de62b89
cleaning up record_type/srv_record code
HarlequinSin 8b7df3e
Fixed undefined class
HarlequinSin 194243c
cx and pint formatting
HarlequinSin 079563f
pint style fixes
HarlequinSin 12db61c
moving to different branch
HarlequinSin f2ba928
shortened/simplified all npe checks
HarlequinSin ccaa94e
more simplified npe checks
HarlequinSin f4757fd
npe and pint style issues
HarlequinSin 060dd6e
Added field updated check for srv_target
HarlequinSin fa0e3a6
creating set srv_target button
HarlequinSin 565adf6
changing subdomain model logic to:
HarlequinSin 912984c
fixing notification issues
HarlequinSin 98b5f64
Merge branch 'main' into main
HarlequinSin c771faa
moved to button
HarlequinSin b51f784
Merge branch 'main' of https://github.com/HarlequinSin/pelican-plugins
HarlequinSin 8b6c3b0
unused imports
HarlequinSin 2b30342
phpstan issues
HarlequinSin 109a2c6
fixing phpstan issues
HarlequinSin f16ed67
pint/phpstan issues
HarlequinSin 0d8b080
fixing more pint/phpstan issues
HarlequinSin 5e4f739
phpstan issues
HarlequinSin c54cbeb
phpstan issues, again
HarlequinSin 0fe6e8f
change domains to require cloudflare_id to be set
HarlequinSin 03a351d
- Added check for existing record before updating/deleting
HarlequinSin 5c2b23f
php stan fixes
HarlequinSin dc91cca
Updated subdomains information
HarlequinSin 3b2dd88
fixed invalid column issue
HarlequinSin c09e050
Remove null cloudflare_id entries from subdomains table
HarlequinSin 660b0b6
fixing various null issues
HarlequinSin 52b1589
phpstan issues
HarlequinSin 75c17da
more npes
HarlequinSin 0173530
more null checks
HarlequinSin a746d35
phpstan ignore errors
HarlequinSin 53e6dab
phpstan ignores
HarlequinSin 87d4de8
more phpstan ignores...
HarlequinSin 732e925
npe fixes
HarlequinSin a288d46
phpstan ignores... again
HarlequinSin 54cc9ee
improve server relation handling during creation
HarlequinSin 0c75e5a
no_unused_imports
HarlequinSin a82334a
simplify server relation handling during creation
HarlequinSin de10ede
nullcheck for domainName & zoneId
HarlequinSin 0ba3dc6
phpstan ignores
HarlequinSin 113db00
Change requests for:
HarlequinSin 465e8b0
pint and missing use reference
HarlequinSin 543393f
Added some additional egg tag types for SRV records
HarlequinSin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
subdomains/database/migrations/004_add_srv_target_to_cloudflare_domains.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| <?php | ||
|
|
||
| use Illuminate\Database\Migrations\Migration; | ||
| use Illuminate\Database\Schema\Blueprint; | ||
| use Illuminate\Support\Facades\Schema; | ||
|
|
||
| return new class extends Migration | ||
| { | ||
| public function up(): void | ||
| { | ||
| Schema::table('cloudflare_domains', function (Blueprint $table) { | ||
| $table->string('srv_target')->nullable()->after('cloudflare_id'); | ||
| }); | ||
| } | ||
|
|
||
| public function down(): void | ||
| { | ||
| Schema::table('cloudflare_domains', function (Blueprint $table) { | ||
| $table->dropColumn('srv_target'); | ||
| }); | ||
| } | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.