Skip to content

Commit

Permalink
set another place for privacy section in schema
Browse files Browse the repository at this point in the history
  • Loading branch information
andibraeu committed May 11, 2016
1 parent 36cdf4c commit ee01a69
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 45 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ pre-build:
mkdir -p $(WEBTARGET)
mkdir -p $(SRCTARGET)
mkdir -p $(SCRIPTTARGET)
git clone -q https://github.com/freifunk/common.api.freifunk.net.git $(SRCTARGET)/common
cp -r $(SRCTARGET)/common/collector $(SCRIPTTARGET)/
mkdir -p $(WEBTARGET)/calendar
cp -r $(SRCTARGET)/common/ics-collector $(WEBTARGET)/calendar

map: pre-build
git clone -q https://github.com/freifunk/cmap.api.freifunk.net.git $(SRCTARGET)/map
Expand Down
28 changes: 14 additions & 14 deletions generator/0.4.13.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,20 @@
}
}
},
"privacy" : {
"title" : "Privacy Policy",
"type" : "object",
"required" : false,
"properties" : {
"policyurl" : {
"title" : "Privacy Policy URL",
"description" : "URL to your privacy policy description",
"type" : "string",
"pattern": "^(http|https)://[A-Za-z0-9ÄÖÜäöüß\\-_\\./]+",
"required" : false
}
}
},
"techDetails": {
"type": "object",
"id": "http://wiki.freifunk.net/Freifunk_Firmware/%C3%9Cbersicht_Communities",
Expand Down Expand Up @@ -672,20 +686,6 @@
]
}
},
"privacy" : {
"title" : "Privacy Policy",
"type" : "object",
"required" : false,
"properties" : {
"policyurl" : {
"title" : "Privacy Policy URL",
"description" : "URL to privacy policy",
"type" : "string",
"pattern": "^(http|https)://[A-Za-z0-9ÄÖÜäöüß\\-_\\./]+",
"required" : false
}
}
},
"updatemode": {
"title": "Updatemode",
"type": "array",
Expand Down
10 changes: 7 additions & 3 deletions generator/ffapi.formTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ ffapi.formTemplate =
"title": "How to support you?",
"expandable": true,
"items": "support"
}, {
"items" : "privacy",
"title": "Privacy description of your services",
"expandable": true,
"type" : "fieldset"
}, {
"type": "fieldset",
"title": "Technical Details",
Expand Down Expand Up @@ -207,9 +212,8 @@ ffapi.formTemplate =
"institutions": "We are a legal person to handle legal issues, e.g. an ISP, Foundation or Verein"
}
}
]
},
"privacy"
]
}
]
}, {
"key": "state.lastchange",
Expand Down
28 changes: 14 additions & 14 deletions specs/0.4.13.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,20 @@
}
}
},
"privacy" : {
"title" : "Privacy Policy",
"type" : "object",
"required" : false,
"properties" : {
"policyurl" : {
"title" : "Privacy Policy URL",
"description" : "URL to your privacy policy description",
"type" : "string",
"pattern": "^(http|https)://[A-Za-z0-9ÄÖÜäöüß\\-_\\./]+",
"required" : false
}
}
},
"techDetails": {
"type": "object",
"id": "http://wiki.freifunk.net/Freifunk_Firmware/%C3%9Cbersicht_Communities",
Expand Down Expand Up @@ -672,20 +686,6 @@
]
}
},
"privacy" : {
"title" : "Privacy Policy",
"type" : "object",
"required" : false,
"properties" : {
"policyurl" : {
"title" : "Privacy Policy URL",
"description" : "URL to privacy policy",
"type" : "string",
"pattern": "^(http|https)://[A-Za-z0-9ÄÖÜäöüß\\-_\\./]+",
"required" : false
}
}
},
"updatemode": {
"title": "Updatemode",
"type": "array",
Expand Down
28 changes: 14 additions & 14 deletions specs/development.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,20 @@
}
}
},
"privacy" : {
"title" : "Privacy Policy",
"type" : "object",
"required" : false,
"properties" : {
"policyurl" : {
"title" : "Privacy Policy URL",
"description" : "URL to your privacy policy description",
"type" : "string",
"pattern": "^(http|https)://[A-Za-z0-9ÄÖÜäöüß\\-_\\./]+",
"required" : false
}
}
},
"techDetails": {
"type": "object",
"id": "http://wiki.freifunk.net/Freifunk_Firmware/%C3%9Cbersicht_Communities",
Expand Down Expand Up @@ -672,20 +686,6 @@
]
}
},
"privacy" : {
"title" : "Privacy Policy",
"type" : "object",
"required" : false,
"properties" : {
"policyurl" : {
"title" : "Privacy Policy URL",
"description" : "URL to privacy policy",
"type" : "string",
"pattern": "^(http|https)://[A-Za-z0-9ÄÖÜäöüß\\-_\\./]+",
"required" : false
}
}
},
"updatemode": {
"title": "Updatemode",
"type": "array",
Expand Down

0 comments on commit ee01a69

Please sign in to comment.