Skip to content

Commit ee01a69

Browse files
committed
set another place for privacy section in schema
1 parent 36cdf4c commit ee01a69

File tree

5 files changed

+53
-45
lines changed

5 files changed

+53
-45
lines changed

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ pre-build:
88
mkdir -p $(WEBTARGET)
99
mkdir -p $(SRCTARGET)
1010
mkdir -p $(SCRIPTTARGET)
11+
git clone -q https://github.com/freifunk/common.api.freifunk.net.git $(SRCTARGET)/common
12+
cp -r $(SRCTARGET)/common/collector $(SCRIPTTARGET)/
13+
mkdir -p $(WEBTARGET)/calendar
14+
cp -r $(SRCTARGET)/common/ics-collector $(WEBTARGET)/calendar
1115

1216
map: pre-build
1317
git clone -q https://github.com/freifunk/cmap.api.freifunk.net.git $(SRCTARGET)/map

generator/0.4.13.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,20 @@
499499
}
500500
}
501501
},
502+
"privacy" : {
503+
"title" : "Privacy Policy",
504+
"type" : "object",
505+
"required" : false,
506+
"properties" : {
507+
"policyurl" : {
508+
"title" : "Privacy Policy URL",
509+
"description" : "URL to your privacy policy description",
510+
"type" : "string",
511+
"pattern": "^(http|https)://[A-Za-z0-9ÄÖÜäöüß\\-_\\./]+",
512+
"required" : false
513+
}
514+
}
515+
},
502516
"techDetails": {
503517
"type": "object",
504518
"id": "http://wiki.freifunk.net/Freifunk_Firmware/%C3%9Cbersicht_Communities",
@@ -672,20 +686,6 @@
672686
]
673687
}
674688
},
675-
"privacy" : {
676-
"title" : "Privacy Policy",
677-
"type" : "object",
678-
"required" : false,
679-
"properties" : {
680-
"policyurl" : {
681-
"title" : "Privacy Policy URL",
682-
"description" : "URL to privacy policy",
683-
"type" : "string",
684-
"pattern": "^(http|https)://[A-Za-z0-9ÄÖÜäöüß\\-_\\./]+",
685-
"required" : false
686-
}
687-
}
688-
},
689689
"updatemode": {
690690
"title": "Updatemode",
691691
"type": "array",

generator/ffapi.formTemplate.js

+7-3
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ ffapi.formTemplate =
123123
"title": "How to support you?",
124124
"expandable": true,
125125
"items": "support"
126+
}, {
127+
"items" : "privacy",
128+
"title": "Privacy description of your services",
129+
"expandable": true,
130+
"type" : "fieldset"
126131
}, {
127132
"type": "fieldset",
128133
"title": "Technical Details",
@@ -207,9 +212,8 @@ ffapi.formTemplate =
207212
"institutions": "We are a legal person to handle legal issues, e.g. an ISP, Foundation or Verein"
208213
}
209214
}
210-
]
211-
},
212-
"privacy"
215+
]
216+
}
213217
]
214218
}, {
215219
"key": "state.lastchange",

specs/0.4.13.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,20 @@
499499
}
500500
}
501501
},
502+
"privacy" : {
503+
"title" : "Privacy Policy",
504+
"type" : "object",
505+
"required" : false,
506+
"properties" : {
507+
"policyurl" : {
508+
"title" : "Privacy Policy URL",
509+
"description" : "URL to your privacy policy description",
510+
"type" : "string",
511+
"pattern": "^(http|https)://[A-Za-z0-9ÄÖÜäöüß\\-_\\./]+",
512+
"required" : false
513+
}
514+
}
515+
},
502516
"techDetails": {
503517
"type": "object",
504518
"id": "http://wiki.freifunk.net/Freifunk_Firmware/%C3%9Cbersicht_Communities",
@@ -672,20 +686,6 @@
672686
]
673687
}
674688
},
675-
"privacy" : {
676-
"title" : "Privacy Policy",
677-
"type" : "object",
678-
"required" : false,
679-
"properties" : {
680-
"policyurl" : {
681-
"title" : "Privacy Policy URL",
682-
"description" : "URL to privacy policy",
683-
"type" : "string",
684-
"pattern": "^(http|https)://[A-Za-z0-9ÄÖÜäöüß\\-_\\./]+",
685-
"required" : false
686-
}
687-
}
688-
},
689689
"updatemode": {
690690
"title": "Updatemode",
691691
"type": "array",

specs/development.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,20 @@
499499
}
500500
}
501501
},
502+
"privacy" : {
503+
"title" : "Privacy Policy",
504+
"type" : "object",
505+
"required" : false,
506+
"properties" : {
507+
"policyurl" : {
508+
"title" : "Privacy Policy URL",
509+
"description" : "URL to your privacy policy description",
510+
"type" : "string",
511+
"pattern": "^(http|https)://[A-Za-z0-9ÄÖÜäöüß\\-_\\./]+",
512+
"required" : false
513+
}
514+
}
515+
},
502516
"techDetails": {
503517
"type": "object",
504518
"id": "http://wiki.freifunk.net/Freifunk_Firmware/%C3%9Cbersicht_Communities",
@@ -672,20 +686,6 @@
672686
]
673687
}
674688
},
675-
"privacy" : {
676-
"title" : "Privacy Policy",
677-
"type" : "object",
678-
"required" : false,
679-
"properties" : {
680-
"policyurl" : {
681-
"title" : "Privacy Policy URL",
682-
"description" : "URL to privacy policy",
683-
"type" : "string",
684-
"pattern": "^(http|https)://[A-Za-z0-9ÄÖÜäöüß\\-_\\./]+",
685-
"required" : false
686-
}
687-
}
688-
},
689689
"updatemode": {
690690
"title": "Updatemode",
691691
"type": "array",

0 commit comments

Comments
 (0)