You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/about.rst
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,17 +24,17 @@ Features
24
24
- Froide uses many of the built-in Django features like the Admin interface to
25
25
manage and update entities in the system, the internationalization
26
26
system, and the user management and authentication.
27
-
- Freedom of Information Laws and Public Entities are connected through a many-to-many relationship. That allows for a Public Body to be accountable under different laws.
28
-
- A Public Body can have a parent to represent hierarchies from the real
27
+
- Freedom of Information Laws and Public Entities are connected through a many-to-many relationship. That allows for a Public Agency to be accountable under different laws.
28
+
- A Public Agency can have a parent to represent hierarchies from the real
29
29
world. They can also be categorized into classifications (e.g. ministry, council) and topical tags (e.g. environment, military) which can be defined separately.
30
-
- Users can create requests without a Public Body so that others can
30
+
- Users can create requests without a Public Agency so that others can
31
31
suggest an appropriate recipient later.
32
32
- Requests can optionally be kept private by users and published at a
33
33
later point (e.g. after a related article has been published).
34
-
- Requests are mailed to Public Bodies through the platform via a special,
34
+
- Requests are mailed to Public Agencies through the platform via a special,
35
35
request-unique email address (using SMTP) and the platform will receive answers on
36
36
that mail address (by accessing an IMAP account).
37
-
- Search functionality for Requests and Public Bodies.
37
+
- Search functionality for Requests and Public Agencies.
Copy file name to clipboardExpand all lines: docs/admin.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,4 +3,4 @@ Froide Admin
3
3
============
4
4
5
5
The Django admin exposes database objects to staff users and superusers.
6
-
Superusers have access to all objects while staff users can be given specific read/write/delete access to kinds of objects (e.g. only public bodies). Users can also given a group that has certain rights associated with it.
6
+
Superusers have access to all objects while staff users can be given specific read/write/delete access to kinds of objects (e.g. only public agencies). Users can also given a group that has certain rights associated with it.
Copy file name to clipboardExpand all lines: docs/api.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,6 @@ inside your Froide instance.
7
7
8
8
The Froide API is available at `/api/v1/` and the interactive Froide API documentation is available at `/api/v1/docs/`.
9
9
10
-
There are additional search endpoints for Public Bodies and FOI Requests at `/api/v1/publicbody/search/` and `/api/v1/request/search/` respectively. Use `q` as the query parameter in a GET request.
10
+
There are additional search endpoints for Public Agencies and FOI Requests at `/api/v1/publicbody/search/` and `/api/v1/request/search/` respectively. Use `q` as the query parameter in a GET request.
11
11
12
12
GET requests do not need to be authenticated. POST, PUT and DELETE requests have to either carry a valid session cookie and a CSRF token or provide user name (you find your user name on your profile) and password via Basic Authentication.
Copy file name to clipboardExpand all lines: docs/importpublicbodies.rst
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
=======================
2
-
Importing Public Bodies
2
+
Importing Public Agencies
3
3
=======================
4
4
5
-
While it is possible to create public bodies individually through the admin
5
+
While it is possible to create public agencies individually through the admin
6
6
interface, it might be more advisable to scrape a list from a website or
7
7
crowdsource them with other people in a Google doc. You can then import these
8
-
public bodies as a CSV file into Froide.
8
+
public agencies as a CSV file into Froide.
9
9
10
-
The format of the CSV file should be like `in this Google Docs Spreadsheet <https://docs.google.com/spreadsheet/ccc?key=0AhDkodM9ozpddGNTaGJoa203aEJaRXVfM0Q0d1RjNUE#gid=0>`_. You could for example copy it and either fill in public bodies collaboratively or programmatically.
10
+
The format of the CSV file should be like `in this Google Docs Spreadsheet <https://docs.google.com/spreadsheet/ccc?key=0AhDkodM9ozpddGNTaGJoa203aEJaRXVfM0Q0d1RjNUE#gid=0>`_. You could for example copy it and either fill in public agencies collaboratively or programmatically.
11
11
12
12
13
13
Prerequisites
@@ -22,39 +22,39 @@ Format
22
22
The format is quite simple.
23
23
24
24
name
25
-
(required) The name of the public body.
25
+
(required) The name of the public agency.
26
26
email
27
-
(optional) If you give no email, users will not be able to make requests to this public body. You can fill in email addresses later through the admin.
27
+
(optional) If you give no email, users will not be able to make requests to this public agency. You can fill in email addresses later through the admin.
28
28
jurisdiction__slug
29
-
(required) Give the slug of the jurisdiction this public body belongs to.
29
+
(required) Give the slug of the jurisdiction this public agency belongs to.
30
30
other_names
31
-
(optional) Possible other, alternative names for the public body separated by commas.
31
+
(optional) Possible other, alternative names for the public agency separated by commas.
32
32
description
33
-
(optional) A text description of the public body.
33
+
(optional) A text description of the public agency.
34
34
tags
35
-
(optional) A comma-separated (possibly quoted) list of tags for this public body.
35
+
(optional) A comma-separated (possibly quoted) list of tags for this public agency.
36
36
Tags may already exist or not.
37
37
url
38
-
(optional) Website for this public body.
38
+
(optional) Website for this public agency.
39
39
parent__name
40
-
(optional) if this public body has a parent, give it's name here. The parent must be specified before in the CSV file.
40
+
(optional) if this public agency has a parent, give it's name here. The parent must be specified before in the CSV file.
41
41
classification
42
42
(optional) Give a classification (e.g. "ministry").
43
43
contact
44
44
(optional) Contact information apart from post address and email. E.g. phone or fax number. May contain line breaks.
45
45
address
46
-
(optional) Postal address of this public body.
46
+
(optional) Postal address of this public agency.
47
47
website_dump
48
-
(optional) Any further text that can be used to described this public body. This is used for search indexing and will not be displayed publicly.
48
+
(optional) Any further text that can be used to described this public agency. This is used for search indexing and will not be displayed publicly.
49
49
request_note
50
-
(optional) Display this text for this public body when making a request to it.
50
+
(optional) Display this text for this public agency when making a request to it.
51
51
52
-
If during import a public body with the same slug is found, it is skipped and not overwritten.
52
+
If during import a public agency with the same slug is found, it is skipped and not overwritten.
53
53
54
54
Importing through Admin
55
55
-----------------------
56
56
57
-
The admin interface that lists public bodies has an import form at the very bottom of the page. Give a HTTP or HTTPS URL of your CSV file and press the import button. The file will be downloaded and imported. Any errors will be shown to you.
57
+
The admin interface that lists public agencies has an import form at the very bottom of the page. Give a HTTP or HTTPS URL of your CSV file and press the import button. The file will be downloaded and imported. Any errors will be shown to you.
Copy file name to clipboardExpand all lines: froide/account/forms.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -53,13 +53,13 @@ class Meta:
53
53
54
54
ADDRESS_REQUIRED_HELP_TEXT=_(
55
55
"Your address will not be displayed "
56
-
"publicly and is only needed because a public body "
56
+
"publicly and is only needed because a public agency "
57
57
"will likely want to send you paper."
58
58
)
59
59
60
60
ADDRESS_HELP_TEXT=_(
61
61
"Your address will not be displayed "
62
-
"publicly and is only needed in case a public body "
62
+
"publicly and is only needed in case a public agency "
63
63
"needs to send you paper."
64
64
)
65
65
@@ -142,7 +142,7 @@ class NewUserBaseForm(AddressBaseForm):
142
142
label=_("Hide my name from public view"),
143
143
help_text=format_html(
144
144
_(
145
-
"If you check this, your name will still appear in requests to public bodies, but we will do our best to not display it publicly. However, we cannot guarantee your anonymity"
145
+
"If you check this, your name will still appear in requests to public agencies, but we will do our best to not display it publicly. However, we cannot guarantee your anonymity"
0 commit comments