-
Notifications
You must be signed in to change notification settings - Fork 48
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
Update #17
base: master
Are you sure you want to change the base?
Update #17
Conversation
+ IPv6 + Custom IP lookup URL for IPv6/IPv4 + Update UI after IP changes
+ Zone support
+ Use internal ip + Hide SRV - Removed crash bug with old configs
Classes/CloudFlareAPI.cs
Outdated
/// </summary> | ||
public void updateRecords(JsonResponse fetchedRecords) | ||
public List<Result> updateRecords(Get_dns_records_response fetchedRecords) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Class names should not contain underscores, please rename to GetDnsRecordsResponse
Classes/CloudFlareAPI.cs
Outdated
{ | ||
//Skip over MX and CNAME records | ||
//TODO: Dont skip them :) | ||
if (fetchedRecords.response.recs.objs[i].type != "A") | ||
bool NeedIp = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be merged into a switch, with default case.
case "A": // fall through.
case: "AAAA":
NeedIp = true;
default:
NeedIp = false;
Classes/CloudFlareAPI.cs
Outdated
/// <summary> | ||
/// Get the listed records from Cloudflare using their API | ||
/// </summary> | ||
/// <returns>JSON stream of records, null on error</returns> | ||
public JsonResponse getCloudFlareRecords() | ||
public Get_dns_records_response getCloudFlareRecords(string SelectedZone) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid underscores in method names, recommend GetDnsRecordsResponse
@@ -0,0 +1,280 @@ | |||
using System; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename to BasicResponse.cs
@@ -0,0 +1,30 @@ | |||
namespace CloudFlareDDNS.Classes.JsonObjects.Cloudflare |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename to GetDnsRecordsResponse.cs
README.md
Outdated
|
||
## Support Me | ||
[![Donate Via Paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CALMNQUWLZNYL) | ||
<br /><br /> | ||
## Requirements | ||
####OS Support | ||
* Client: Windows XP / Vista / 7 / 8 / 8.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment above regarding .NET support.
README.md
Outdated
.NET Framework 4.0 or above is required (already installed on Windows 8 / 8.1 / 2012 / 2012R2). | ||
https://www.microsoft.com/en-gb/download/details.aspx?id=17851 | ||
.NET Framework 4.7 or above is required (already installed on Windows 8 / 8.1 / 2012 / 2012R2). | ||
https://www.microsoft.com/en-us/download/details.aspx?id=55170 | ||
<br /><br /> | ||
## Building | ||
Solution is known to build with Visual Studio 2013 (Community, Pro and Ultimate tested, Express should work), no additional dependencies are needed.<br /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment above regarding VS2013 support.
@@ -0,0 +1,3 @@ | |||
<?xml version="1.0" encoding="utf-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed?
packages.config
Outdated
@@ -0,0 +1,4 @@ | |||
<?xml version="1.0" encoding="utf-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment above regarding native alternatives.
@@ -0,0 +1,20 @@ | |||
The MIT License (MIT) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is required - I don't want it in the repository.
Please bring it in as a git submodule, or some other NuGet magic?
Just slow it down a bit
# Right click on entry -Force Update #Main Table - Last Change - Changing IP text
try too fix a crash in the settings
Fix authorization errors and two other small bugs
New Functions:
Updates