Browse Source

Finalized for v3.1.0 release

Toby Chui 7 months ago
parent
commit
42d351bbb4

+ 1 - 1
main.go

@@ -61,7 +61,7 @@ var (
 	name        = "Zoraxy"
 	version     = "3.1.0"
 	nodeUUID    = "generic" //System uuid, in uuidv4 format
-	development = true      //Set this to false to use embedded web fs
+	development = false     //Set this to false to use embedded web fs
 	bootTime    = time.Now().Unix()
 
 	/*

+ 0 - 8
mod/acme/acmedns/providers.json

@@ -1226,10 +1226,6 @@
  "gandi": {
   "Name": "gandi",
   "ConfigableFields": [
-   {
-    "Title": "BaseURL",
-    "Datatype": "string"
-   },
    {
     "Title": "APIKey",
     "Datatype": "string"
@@ -1253,10 +1249,6 @@
  "gandiv5": {
   "Name": "gandiv5",
   "ConfigableFields": [
-   {
-    "Title": "BaseURL",
-    "Datatype": "string"
-   },
    {
     "Title": "APIKey",
     "Datatype": "string"

File diff suppressed because it is too large
+ 195 - 160
mod/geodb/geoipv4.csv


File diff suppressed because it is too large
+ 288 - 119
mod/geodb/geoipv6.csv


+ 0 - 4
tools/provider_config_updater/acmedns/providers.json

@@ -1226,10 +1226,6 @@
  "gandi": {
   "Name": "gandi",
   "ConfigableFields": [
-   {
-    "Title": "BaseURL",
-    "Datatype": "string"
-   },
    {
     "Title": "APIKey",
     "Datatype": "string"

+ 0 - 4
tools/provider_config_updater/acmedns/providers_nt61.json

@@ -1191,10 +1191,6 @@
  "gandi": {
   "Name": "gandi",
   "ConfigableFields": [
-   {
-    "Title": "BaseURL",
-    "Datatype": "string"
-   },
    {
     "Title": "APIKey",
     "Datatype": "string"

+ 5 - 0
tools/provider_config_updater/extract.go

@@ -216,6 +216,11 @@ func main() {
 			case "*url.URL":
 				fallthrough
 			case "string":
+				//Add exception rule for gandi baseURL
+				if (providerName == "gandi" || providerName == "gandiv5") && fields[0] == "BaseURL" {
+					//Not useful stuff. Ignore this field
+					continue
+				}
 				configKeys = append(configKeys, &Field{
 					Title:    fields[0],
 					Datatype: fields[1],

Some files were not shown because too many files changed in this diff