plone.api 2.3.0__tar.gz → 2.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. plone_api-2.3.0/CHANGES.rst → plone_api-2.4.0/CHANGES.md +173 -431
  2. plone_api-2.4.0/CONTRIBUTING.md +1 -0
  3. {plone_api-2.3.0 → plone_api-2.4.0}/MANIFEST.in +3 -3
  4. {plone_api-2.3.0 → plone_api-2.4.0}/PKG-INFO +194 -455
  5. {plone_api-2.3.0 → plone_api-2.4.0}/README.md +1 -1
  6. {plone_api-2.3.0 → plone_api-2.4.0}/docs/content.md +98 -4
  7. {plone_api-2.3.0 → plone_api-2.4.0}/pyproject.toml +5 -3
  8. {plone_api-2.3.0 → plone_api-2.4.0}/setup.py +7 -7
  9. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/content.py +94 -0
  10. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/env.py +3 -3
  11. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/relation.py +4 -3
  12. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/doctests/content.md +98 -4
  13. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/test_content.py +146 -0
  14. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/test_doctests.py +5 -5
  15. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/test_portal.py +2 -2
  16. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone.api.egg-info/PKG-INFO +194 -455
  17. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone.api.egg-info/SOURCES.txt +2 -2
  18. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone.api.egg-info/requires.txt +2 -0
  19. {plone_api-2.3.0 → plone_api-2.4.0}/tox.ini +2 -0
  20. plone_api-2.3.0/CONTRIBUTING.rst +0 -1
  21. {plone_api-2.3.0 → plone_api-2.4.0}/LICENSE +0 -0
  22. {plone_api-2.3.0 → plone_api-2.4.0}/docs/about.md +0 -0
  23. {plone_api-2.3.0 → plone_api-2.4.0}/docs/contribute.md +0 -0
  24. {plone_api-2.3.0 → plone_api-2.4.0}/docs/env.md +0 -0
  25. {plone_api-2.3.0 → plone_api-2.4.0}/docs/group.md +0 -0
  26. {plone_api-2.3.0 → plone_api-2.4.0}/docs/index.md +0 -0
  27. {plone_api-2.3.0 → plone_api-2.4.0}/docs/portal.md +0 -0
  28. {plone_api-2.3.0 → plone_api-2.4.0}/docs/relation.md +0 -0
  29. {plone_api-2.3.0 → plone_api-2.4.0}/docs/user.md +0 -0
  30. {plone_api-2.3.0 → plone_api-2.4.0}/setup.cfg +0 -0
  31. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/__init__.py +0 -0
  32. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/__init__.py +0 -0
  33. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/configure.zcml +0 -0
  34. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/exc.py +0 -0
  35. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/group.py +0 -0
  36. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/portal.py +0 -0
  37. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/profiles/testfixture/metadata.xml +0 -0
  38. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/profiles/testfixture/types/Dexterity_Folder.xml +0 -0
  39. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/profiles/testfixture/types/Dexterity_Item.xml +0 -0
  40. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/profiles/testfixture/types.xml +0 -0
  41. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/testing.zcml +0 -0
  42. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/Dexterity_Folder.xml +0 -0
  43. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/Dexterity_Item.xml +0 -0
  44. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/__init__.py +0 -0
  45. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/base.py +0 -0
  46. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/doctests/about.md +0 -0
  47. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/doctests/contribute.md +0 -0
  48. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/doctests/env.md +0 -0
  49. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/doctests/group.md +0 -0
  50. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/doctests/portal.md +0 -0
  51. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/doctests/relation.md +0 -0
  52. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/doctests/user.md +0 -0
  53. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/test_env.py +0 -0
  54. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/test_group.py +0 -0
  55. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/test_relation.py +0 -0
  56. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/test_user.py +0 -0
  57. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/tests/test_validation.py +0 -0
  58. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/user.py +0 -0
  59. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone/api/validation.py +0 -0
  60. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone.api.egg-info/dependency_links.txt +0 -0
  61. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone.api.egg-info/namespace_packages.txt +0 -0
  62. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone.api.egg-info/not-zip-safe +0 -0
  63. {plone_api-2.3.0 → plone_api-2.4.0}/src/plone.api.egg-info/top_level.txt +0 -0
@@ -1,46 +1,63 @@
1
- Changelog
2
- =========
1
+ # Changelog
3
2
 
4
- .. You should *NOT* be adding new change log entries to this file.
3
+ <!--
4
+ You should *NOT* be adding new change log entries to this file.
5
5
  You should create a file in the news directory instead.
6
6
  For helpful instructions, please see:
7
7
  https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst
8
+ -->
8
9
 
9
- .. towncrier release notes start
10
+ <!-- towncrier release notes start -->
10
11
 
11
- 2.3.0 (2025-02-21)
12
- ------------------
12
+ ## 2.4.0 (2025-03-14)
13
13
 
14
- New features:
15
14
 
15
+ ### New features:
16
+
17
+ - Add the `api.content.iter_ancestors` function for iterating over an object acquisition chain. @rohnsha0, @ale-rt #531
18
+
19
+
20
+ ### Bug fixes:
21
+
22
+ - Replace `pkg_resources` with `importlib.metadata` @gforcada #4126
23
+
24
+
25
+ ### Internal:
26
+
27
+ - Fix CI. @davisagli #571
16
28
 
17
- - Added the content API helper function ``api.content.get_path``, which gets either the relative or absolute path of an object. @ujsquared (#532)
29
+
30
+ ### Documentation:
31
+
32
+ - Fix pull request preview builds on Read the Docs by replacing deprecated `pkg_resources` with `importlib.metadata`. @stevepiercy #565
33
+ - Improve code style in the documentation snippets #568
34
+ - Add `src` files in the check to determine whether to build a pull request preview on Read the Docs. @stevepiercy #574
35
+ - Fix link in README to Contributing to `plone.api`. @stevepiercy #575
36
+
37
+ ## 2.3.0 (2025-02-21)
38
+
39
+ New features:
40
+
41
+ - Added the content API helper function `api.content.get_path`, which gets either the relative or absolute path of an object. @ujsquared (#532)
18
42
  - Added two new portal API functions:
19
- - ``api.portal.get_vocabulary``: Get a vocabulary by name
20
- - ``api.portal.get_vocabulary_names``: Get a list of all available vocabulary names
43
+ - `api.portal.get_vocabulary`: Get a vocabulary by name
44
+ - `api.portal.get_vocabulary_names`: Get a list of all available vocabulary names
21
45
  @ujsquared (#533)
22
46
 
23
-
24
47
  Internal:
25
48
 
26
-
27
49
  - Making it easier for new contributors to get started with a simple Makefile and a tidy 'contributing' chapter. @ksuess (#558)
28
50
 
29
-
30
- 2.2.5 (2025-01-24)
31
- ------------------
51
+ ## 2.2.5 (2025-01-24)
32
52
 
33
53
  Bug fixes:
34
54
 
35
-
36
55
  - Fix api.content.get(path=path) when a item in the path is not accessible to the user.
37
56
  [pbauer] (#549)
38
57
  - Fix DeprecationWarnings. [maurits] (#4090)
39
58
 
40
-
41
59
  Documentation:
42
60
 
43
-
44
61
  - Preview docs on Read the Docs instead of Netlify. @stevepiercy (#545)
45
62
  - Remove Netlify stuff, follow up to #545. @stevepiercy
46
63
  - Sort and remove duplicate entries in `pyproject.toml`
@@ -49,269 +66,190 @@ Documentation:
49
66
  - Enable copy button for code blocks.
50
67
  - Add linkcheck to documentation of documentation. (#546)
51
68
 
52
-
53
- 2.2.4 (2024-12-16)
54
- ------------------
69
+ ## 2.2.4 (2024-12-16)
55
70
 
56
71
  Documentation:
57
72
 
58
-
59
73
  - Remove references to unused Coveralls. @stevepiercy (#543)
60
74
 
61
-
62
- 2.2.3 (2024-10-23)
63
- ------------------
75
+ ## 2.2.3 (2024-10-23)
64
76
 
65
77
  Documentation:
66
78
 
67
-
68
79
  - Fixed spelling of prerequisites. @stevepiercy (#541)
69
80
 
70
-
71
- 2.2.2 (2024-07-30)
72
- ------------------
81
+ ## 2.2.2 (2024-07-30)
73
82
 
74
83
  Documentation:
75
84
 
76
-
77
85
  - Overhaul contributing documentation for Plone 6. @stevepiercy (#539)
78
86
  - Use correct syntax for `no-index` in documentation. @stevepiercy (#540)
79
87
 
80
-
81
- 2.2.1 (2024-06-26)
82
- ------------------
88
+ ## 2.2.1 (2024-06-26)
83
89
 
84
90
  Bug fixes:
85
91
 
86
-
87
92
  - Removed `portal_properties` from documentation and tests.
88
93
  [maurits] (#125)
89
94
 
90
-
91
- 2.2.0 (2024-05-06)
92
- ------------------
95
+ ## 2.2.0 (2024-05-06)
93
96
 
94
97
  New features:
95
98
 
96
-
97
99
  - Report if a permission does not exist
98
100
  when calling `api.user.has_permission`.
99
101
  [gforcada] (#515)
100
102
 
101
-
102
103
  Bug fixes:
103
104
 
104
-
105
105
  - In relation.create: Fix edge case where existing RelationList value is None. @davisagli (#535)
106
106
 
107
-
108
107
  Internal:
109
108
 
110
-
111
109
  - Update configuration files.
112
110
  [plone devs] (cfffba8c)
113
111
 
114
-
115
- 2.1.0 (2024-02-22)
116
- ------------------
112
+ ## 2.1.0 (2024-02-22)
117
113
 
118
114
  New features:
119
115
 
120
-
121
116
  - Implemented unrestricted find of content types. @gogobd (#312)
122
117
 
123
-
124
118
  Internal:
125
119
 
126
-
127
120
  - Enhanced Makefile paths to address whitespace compatibility issues. @Vivek-04022001 (#530)
128
121
 
129
-
130
- 2.0.9 (2024-02-12)
131
- ------------------
122
+ ## 2.0.9 (2024-02-12)
132
123
 
133
124
  Internal:
134
125
 
135
-
136
126
  - Improved efficiency of view retrieval by deferring availability checks to error handling. @samriddhi99 (#479)
137
127
 
138
-
139
- 2.0.8 (2023-12-14)
140
- ------------------
128
+ ## 2.0.8 (2023-12-14)
141
129
 
142
130
  Bug fixes:
143
131
 
144
-
145
132
  - Fix `api.portal.translate` usage with country-specific language codes [@ericof] (#524)
146
133
 
147
-
148
- 2.0.7 (2023-11-30)
149
- ------------------
134
+ ## 2.0.7 (2023-11-30)
150
135
 
151
136
  Documentation:
152
137
 
138
+ - Use the preferred `git switch -c` command. See <https://www.infoq.com/news/2019/08/git-2-23-switch-restore/>. @stevepiercy (#520)
153
139
 
154
- - Use the preferred `git switch -c` command. See https://www.infoq.com/news/2019/08/git-2-23-switch-restore/. @stevepiercy (#520)
155
-
156
-
157
- 2.0.6 (2023-11-03)
158
- ------------------
140
+ ## 2.0.6 (2023-11-03)
159
141
 
160
142
  Bug fixes:
161
143
 
162
-
163
144
  - More informative error message in plone.api.content.create() [ajung] (#516)
164
145
 
165
-
166
- 2.0.5 (2023-10-25)
167
- ------------------
146
+ ## 2.0.5 (2023-10-25)
168
147
 
169
148
  Bug fixes:
170
149
 
171
-
172
150
  - Replace deprecated assert methods.
173
151
  [gforcada] (#1)
174
152
 
175
-
176
153
  Internal:
177
154
 
178
-
179
155
  - Update GHA
180
156
  [gforcada] (#1)
181
157
  - Fixup tests because PloneSite gets IContentish again. @Akshat2Jain @jaroel (#518)
182
158
 
183
-
184
- 2.0.4 (2023-07-14)
185
- ------------------
159
+ ## 2.0.4 (2023-07-14)
186
160
 
187
161
  Bug fixes:
188
162
 
189
-
190
163
  - Do not run GitHub Actions tests twice.
191
164
  Only run GitHub Actions tests when committing directly against master or main or
192
165
  opening a pull request against master or main. This avoids to run the same test
193
166
  suite for the same environment twice.
194
167
  [thet] (#0)
168
+
195
169
  - Mockup TinyMCE settings: Remove unused AtD related views.
196
170
 
197
171
  Fix a test which was checking for "checkDocument" among other available views.
198
172
  "checkDocument" was a TinyMCE endpoint for unmaintained "After the Deadline"
199
173
  plugin, which is now removed. (#504)
200
174
 
201
-
202
175
  Documentation:
203
176
 
204
-
205
177
  - Enhance API docs of `portal.translate` to show that the domain is optional in some cases. @thet (#510)
206
178
 
207
-
208
- 2.0.3 (2023-05-22)
209
- ------------------
179
+ ## 2.0.3 (2023-05-22)
210
180
 
211
181
  Bug fixes:
212
182
 
213
-
214
183
  - Create relation only if there is no existing one with same source, target, relationname.
215
184
  But mark source as modified. @ksuess (#507)
216
185
 
217
-
218
- 2.0.2 (2023-04-14)
219
- ------------------
186
+ ## 2.0.2 (2023-04-14)
220
187
 
221
188
  Bug fixes:
222
189
 
223
-
224
190
  - Fix deletion of relations by relation name. @ksuess (#501)
225
191
 
226
-
227
192
  Documentation:
228
193
 
229
-
230
194
  - Update link for Training. @stevepiercy (#503)
231
195
 
232
-
233
- 2.0.1 (2023-01-26)
234
- ------------------
196
+ ## 2.0.1 (2023-01-26)
235
197
 
236
198
  Documentation:
237
199
 
238
-
239
200
  - Switch to 6.docs.plone.org (was 6.dev-docs.plone.org)
240
201
  [ksuess] (#497)
241
202
  - Fix links to appropriate versions of docs, in preparation for redirecting docs.plone.org to 6.docs.plone.org. Fix a few typos. Use renamed tox configuration option. [stevepiercy] (#498)
242
203
  - Pin Sphinx<5,>=3 due to sphinx-book-theme 0.3.3 requirement. [stevepiercy] (#499)
243
204
  - Update links to docs to use correct versions. [stevepiercy] (#500)
244
205
 
245
-
246
- 2.0.0 (2022-11-26)
247
- ------------------
206
+ ## 2.0.0 (2022-11-26)
248
207
 
249
208
  Bug fixes:
250
209
 
210
+ - Require Python 3.8 or higher. [maurits] (#600)
251
211
 
252
- - Require Python 3.8 or higher. [maurits] (#600)
253
-
254
-
255
- 2.0.0b4 (2022-11-11)
256
- --------------------
212
+ ## 2.0.0b4 (2022-11-11)
257
213
 
258
214
  Bug fixes:
259
215
 
260
-
261
216
  - Trigger a new deploy of core Plone documentation when plone.api documentation is updated.
262
217
  [esteele] (#496)
263
218
 
264
-
265
- 2.0.0b3 (2022-10-03)
266
- --------------------
219
+ ## 2.0.0b3 (2022-10-03)
267
220
 
268
221
  Bug fixes:
269
222
 
270
-
271
223
  - Use longer password in tests. [davisagli] (#495)
272
224
 
273
-
274
- 2.0.0b2 (2022-09-07)
275
- --------------------
225
+ ## 2.0.0b2 (2022-09-07)
276
226
 
277
227
  Bug fixes:
278
228
 
279
-
280
229
  - Ensure that the security related context managers
281
230
  restore the context even if an error occurs. (#374)
282
231
 
283
-
284
- 2.0.0b1 (2022-06-23)
285
- --------------------
232
+ ## 2.0.0b1 (2022-06-23)
286
233
 
287
234
  Bug fixes:
288
235
 
289
-
290
- - ``mutually_exclusive_parameters`` error message should include only related arguments.
236
+ - `mutually_exclusive_parameters` error message should include only related arguments.
291
237
  [martin.peeters] (#489)
292
238
 
293
-
294
- 2.0.0a4 (2022-06-07)
295
- --------------------
239
+ ## 2.0.0a4 (2022-06-07)
296
240
 
297
241
  New features:
298
242
 
299
-
300
243
  - Documentation: Add meta data [ksuess, stevepiercy] (#485)
301
244
 
302
-
303
245
  Bug fixes:
304
246
 
305
-
306
247
  - plone.api.content.get should always return a content [ericof] (#487)
307
248
 
308
-
309
- 2.0.0a3 (2022-05-26)
310
- --------------------
249
+ ## 2.0.0a3 (2022-05-26)
311
250
 
312
251
  New features:
313
252
 
314
-
315
253
  - Do not require the request parameter to be specified. If not specify fallback to the global request [ale-rt] (#412)
316
254
  - Integration in new Plone 6 documentation. [ksuess] (#469)
317
255
  - Preview of documentation per pull request. Netlify bot adds link in PR comments. [ksuess] (#469)
@@ -320,58 +258,43 @@ New features:
320
258
  Update documentation [ksuess]
321
259
  Add some doctests to module plone.api.relation. [ksuess] (#474)
322
260
 
323
-
324
261
  Bug fixes:
325
262
 
326
-
327
263
  - Clean up docs from review of #469 [stevepiercy] (#476)
328
264
  - No unicode literals in documentation. [ksuess] (#483)
329
265
 
330
-
331
- 2.0.0a2 (2021-10-13)
332
- --------------------
266
+ ## 2.0.0a2 (2021-10-13)
333
267
 
334
268
  Bug fixes:
335
269
 
336
-
337
270
  - Fixed IndexError when calling set_registry_record with wrong value.
338
271
  [maurits] (#435)
339
- - Prevent startup error in relation code when ``plone.app.iterate`` is missing.
272
+ - Prevent startup error in relation code when `plone.app.iterate` is missing.
340
273
  [maurits] (#462)
341
274
 
342
-
343
- 2.0.0a1 (2021-09-01)
344
- --------------------
275
+ ## 2.0.0a1 (2021-09-01)
345
276
 
346
277
  Breaking changes:
347
278
 
348
-
349
279
  - Drop support for Archetypes and Python 2.
350
280
  [pbauer] (#460)
351
281
 
352
-
353
282
  New features:
354
283
 
355
-
356
- - There is now a ``plone.api.relation`` module that make it easier to work with relations.
284
+ - There is now a `plone.api.relation` module that make it easier to work with relations.
357
285
  [pbauer] (#449)
358
286
 
359
-
360
- 1.11.0 (2021-06-30)
361
- -------------------
287
+ ## 1.11.0 (2021-06-30)
362
288
 
363
289
  New features:
364
290
 
365
-
366
291
  - Drop support for Plone 4.3, 5.0, 5.1, add support for 6.0.
367
292
  The code might still work, but it is no longer tested.
368
293
  You can use releases in the 1.10 series on the older versions.
369
294
  [maurits] (#431)
370
295
 
371
-
372
296
  Bug fixes:
373
297
 
374
-
375
298
  - Add tests to verify that the intids utility is correct after moving content.
376
299
  [ale-rt, maurits] (#430)
377
300
  - Improve tox.ini so that plone.api could be tested locally.
@@ -382,180 +305,137 @@ Bug fixes:
382
305
  Fixes: #451
383
306
  [thet] (#452)
384
307
 
385
-
386
- 1.10.4 (2020-09-28)
387
- -------------------
308
+ ## 1.10.4 (2020-09-28)
388
309
 
389
310
  Bug fixes:
390
311
 
391
-
392
312
  - Fixed test failures on Python 3 with Products.MailHost 4.10.
393
313
  [maurits] (#3178)
394
314
 
395
-
396
- 1.10.3 (2020-09-07)
397
- -------------------
315
+ ## 1.10.3 (2020-09-07)
398
316
 
399
317
  Bug fixes:
400
318
 
401
-
402
- - Fixed deprecation warning for ``CMFPlone.interfaces.ILanguageSchema``.
319
+ - Fixed deprecation warning for `CMFPlone.interfaces.ILanguageSchema`.
403
320
  [maurits] (#3130)
404
321
 
405
-
406
- 1.10.2 (2020-04-20)
407
- -------------------
322
+ ## 1.10.2 (2020-04-20)
408
323
 
409
324
  Bug fixes:
410
325
 
411
-
412
326
  - Minor packaging updates. (#1)
413
327
 
414
-
415
- 1.10.1 (2020-03-04)
416
- -------------------
328
+ ## 1.10.1 (2020-03-04)
417
329
 
418
330
  Bug fixes:
419
331
 
420
-
421
332
  - Remove deprecation warnings [ale-rt] (#432)
422
333
  - In tests, use stronger password.
423
334
  [maurits] (#436)
424
335
  - Removed duplicate and failing inline doctest for content.find.
425
336
  [maurits] (#437)
426
337
 
427
-
428
- 1.10.0 (2019-05-01)
429
- -------------------
338
+ ## 1.10.0 (2019-05-01)
430
339
 
431
340
  New features:
432
341
 
433
-
434
342
  - Gracefully handle missing registry records on an interface.
435
- [gforcada] (#428)
436
-
343
+ : [gforcada] (#428)
437
344
 
438
- 1.9.2 (2019-03-04)
439
- ------------------
345
+ ## 1.9.2 (2019-03-04)
440
346
 
441
347
  Bug fixes:
442
348
 
443
-
444
- - Fix querying ``object_provides`` for multiple interfaces using 'and'
349
+ - Fix querying `object_provides` for multiple interfaces using 'and'
445
350
  operator. [fRiSi] (#426)
446
351
 
447
-
448
- 1.9.1 (2018-11-20)
449
- ------------------
352
+ ## 1.9.1 (2018-11-20)
450
353
 
451
354
  Bug fixes:
452
355
 
453
356
  - Show only local roles when inherit=False.
454
357
  [tschorr]
455
358
 
456
-
457
- 1.9.0 (2018-09-27)
458
- ------------------
359
+ ## 1.9.0 (2018-09-27)
459
360
 
460
361
  New features:
461
362
 
462
363
  - Python 2/3 support.
463
364
  [pbauer]
464
365
 
465
-
466
- 1.8.5 (2018-09-14)
467
- ------------------
366
+ ## 1.8.5 (2018-09-14)
468
367
 
469
368
  Bug fixes:
470
369
 
471
370
  - Removed allow-hosts from base.cfg, so we can use the new pypi warehouse.
472
- Refs https://github.com/plone/plone.api/issues/403
371
+ Refs <https://github.com/plone/plone.api/issues/403>
473
372
  [jaroel]
474
-
475
373
  - fix typos in doc strings
476
374
  [tkimnguyen]
477
-
478
375
  - Fix failing AT Collection creation when using api.content.create.
479
376
  [gbastien]
480
377
 
481
-
482
- 1.8.4 (2018-04-24)
483
- ------------------
378
+ ## 1.8.4 (2018-04-24)
484
379
 
485
380
  Bug fixes:
486
381
 
487
- - Call ``processForm`` with ``{None: None}`` dict as values.
488
- This prevents ``processForm`` using ``REQUEST.form`` and overwriting
489
- values already set by ``invokeFactory``.
490
- Fixes `issue 99 <https://github.com/plone/plone.api/issues/99>`_.
382
+ - Call `processForm` with `{None: None}` dict as values.
383
+ This prevents `processForm` using `REQUEST.form` and overwriting
384
+ values already set by `invokeFactory`.
385
+ Fixes [issue 99](https://github.com/plone/plone.api/issues/99).
491
386
  [david-batranu]
492
-
493
387
  - Simplification/minor speedup:
494
388
  Permissions checks now directly use AccessControl.
495
389
  Technical its now exact the same as before.
496
390
  Before a tool lookup was needed, calling a utility function, calling AccessControl.
497
391
  [jensens]
498
392
 
499
-
500
-
501
- 1.8.3 (2018-02-23)
502
- ------------------
393
+ ## 1.8.3 (2018-02-23)
503
394
 
504
395
  Bug fixes:
505
396
 
506
- - Improved code quality according to isort and flake8. [maurits]
507
-
508
- - Fixed regular expression in test for Plone version. [maurits]
509
-
397
+ - Improved code quality according to isort and flake8. [maurits]
398
+ - Fixed regular expression in test for Plone version. [maurits]
510
399
 
511
- 1.8.2 (2018-01-17)
512
- ------------------
400
+ ## 1.8.2 (2018-01-17)
513
401
 
514
402
  Bug fixes:
515
403
 
516
404
  - Fix test in Zope4,
517
- where ``Products.PlonePAS.tools.memberdata.MemberData`` is an adapter now.
405
+ where `Products.PlonePAS.tools.memberdata.MemberData` is an adapter now.
518
406
  It can't be proofed to be equal when fetched twice.
519
407
  [jensens]
520
-
521
408
  - Change api.group.get_groups to work with CMF master.
522
409
  [jaroel]
523
-
524
410
  - Added six to deal with Python 2 / 3 compatibility.
525
411
  [rudaporto]
526
412
 
527
- 1.8.1 (2017-10-17)
528
- ------------------
413
+ ## 1.8.1 (2017-10-17)
529
414
 
530
415
  Bug fixes:
531
416
 
532
417
  - Don't rename an object when the id already is the target id.
533
- Fixes `issue 361 <https://github.com/plone/plone.api/issues/361>`_.
418
+ Fixes [issue 361](https://github.com/plone/plone.api/issues/361).
534
419
  [jaroel]
535
-
536
420
  - Change content.delete to allow both obj=None and objects=[] or objects=None.
537
- Fixes `issue 383 <https://github.com/plone/plone.api/issues/383>`_.
421
+ Fixes [issue 383](https://github.com/plone/plone.api/issues/383).
538
422
  [jaroel]
539
-
540
- - Let ``zope.i18n`` do the language negotiation for our ``translate`` function.
541
- Our ``get_current_translation`` does not always give the correct one, especially with combined languages:
542
- ``nl-be`` (Belgian/Flemish) should fall back to ``nl`` (Dutch).
423
+ - Let `zope.i18n` do the language negotiation for our `translate` function.
424
+ Our `get_current_translation` does not always give the correct one, especially with combined languages:
425
+ `nl-be` (Belgian/Flemish) should fall back to `nl` (Dutch).
543
426
  The correct negotiated language can also differ per translation domain, which we do not account for.
544
- ``zope.i18n`` does that better.
545
- Fixes `issue 379 <https://github.com/plone/plone.api/issues/379>`_.
427
+ `zope.i18n` does that better.
428
+ Fixes [issue 379](https://github.com/plone/plone.api/issues/379).
546
429
  [maurits]
547
-
548
- - Fix use of Globals.DB which was removed in Zope4 (Fix https://github.com/plone/plone.api/issues/385)
430
+ - Fix use of Globals.DB which was removed in Zope4 (Fix <https://github.com/plone/plone.api/issues/385>)
549
431
  [pbauer]
550
432
 
551
- 1.8 (2017-08-05)
552
- ----------------
433
+ ## 1.8 (2017-08-05)
553
434
 
554
435
  New features:
555
436
 
556
437
  - Add method to check if ZODB is in read-only mode.
557
438
  [loechel]
558
-
559
439
  - added tox.ini and code convention definitions in setup.py and .editorconfig so that they could be enforced
560
440
  [loechel]
561
441
 
@@ -564,9 +444,7 @@ Bug fixes:
564
444
  - Fixes Tests and code convention son this repository.
565
445
  [loechel]
566
446
 
567
-
568
- 1.7 (2017-05-23)
569
- ----------------
447
+ ## 1.7 (2017-05-23)
570
448
 
571
449
  New features:
572
450
 
@@ -575,39 +453,31 @@ New features:
575
453
 
576
454
  Bug fixes:
577
455
 
578
- - Simplify the ``plone.api.content.delete`` method.
456
+ - Simplify the `plone.api.content.delete` method.
579
457
  [thet]
580
-
581
458
  - content.copy with safe_id=False should raise it's own exception. Fixes #340
582
459
  [jaroel]
583
460
 
584
-
585
- 1.6.1 (2017-03-31)
586
- ------------------
461
+ ## 1.6.1 (2017-03-31)
587
462
 
588
463
  Bug fixes:
589
464
 
590
465
  - Simplify delete and transition functions.
591
466
  [adamcheasley]
592
-
593
467
  - Do not reassign dynamic roles as local roles when using user.grant_roles().
594
468
  Fixes same issue as #351 for groups.
595
469
  [pbauer]
596
-
597
470
  - Include local roles granted from being in a group when using "inherit=False"
598
471
  in user.get_roles. Fixes #346
599
472
  [pbauer]
600
-
601
473
  - Ignore local roles granted on parents when using "inherit=False" in either
602
474
  user.get_roles or group.get_roles. Fixes #354
603
475
  [pbauer]
604
-
605
- - Fix title wrongly set by ``api.content.create`` when called from GS setup
606
- handler https://github.com/plone/plone.api/issues/99
476
+ - Fix title wrongly set by `api.content.create` when called from GS setup
477
+ handler <https://github.com/plone/plone.api/issues/99>
607
478
  [gotcha, pgrunewald]
608
479
 
609
- 1.6 (2017-02-15)
610
- ----------------
480
+ ## 1.6 (2017-02-15)
611
481
 
612
482
  New features:
613
483
 
@@ -618,31 +488,23 @@ Bug fixes:
618
488
 
619
489
  - Support user.get_roles for anonymous users. Refs #339
620
490
  [jaroel]
621
-
622
491
  - Fix imports from Globals that was removed in Zope4
623
492
  [pbauer]
624
-
625
493
  - Fix 'bad' quotes.
626
494
  [adamcheasley]
627
-
628
495
  - Typo in the documentation.
629
496
  [ale-rt]
630
-
631
497
  - Fix error in tests that try to add built-in roles, which no longer fails
632
498
  silently in Zope4.
633
499
  [MatthewWilkes]
634
-
635
500
  - Do not reassign global roles as local roles when using group.grant_roles()
636
501
  [pbauer]
637
-
638
502
  - reST syntax in documentation, follow style-guide, adjust setup.py
639
503
  [svx]
640
-
641
504
  - Do not reassign dynamic roles as local roles when using group.grant_roles().
642
505
  [pbauer]
643
506
 
644
- 1.5.1 (2016-12-06)
645
- ------------------
507
+ ## 1.5.1 (2016-12-06)
646
508
 
647
509
  New:
648
510
 
@@ -651,103 +513,80 @@ New:
651
513
 
652
514
  Fixes:
653
515
 
654
- - Fix translation related tests to use the ``plonelocales`` domain instead ``passwordresettool``.
516
+ - Fix translation related tests to use the `plonelocales` domain instead `passwordresettool`.
655
517
  Products.PasswordResetTool was removed in Plone 5.1.
656
518
  [thet]
657
-
658
519
  - Allow plone.api.group.get_groups for Anonymous user. Refs #290
659
520
  [jaroel]
660
-
661
521
  - Allow adopting to a Special User. Fixes #320 - checking permissions for Anonymous User.
662
522
  [jaroel]
663
-
664
523
  - Fix an AttributeError in `api.user.revoke_roles`
665
524
  [ale-rt]
666
-
667
525
  - Remove print statements and use @security decorators to make
668
526
  code-analysis happy.
669
527
  [ale-rt]
670
-
671
528
  - Typo in the documentation.
672
529
  [ale-rt]
673
-
674
530
  - Fix travis and coveralls.
675
531
  [gforcada]
676
-
677
532
  - Various wording tweaks
678
533
  [tkimnguyen]
679
-
680
534
  - In api.content.move if source **and** target are specified and target is already
681
535
  source parent, skip the operation.
682
-
683
536
  - Fix test
684
537
  [gforcada]
685
-
686
538
  - Fix PRINTINGMAILHOST_ENABLED evaluation to respect Products.PrintingMailHost
687
539
  internal logic
688
540
  [ale-rt]
689
541
 
690
- 1.5 (2016-02-20)
691
- ----------------
542
+ ## 1.5 (2016-02-20)
692
543
 
693
544
  New:
694
545
 
695
546
  - Add `portal.translate`
696
547
  [ebrehault]
697
-
698
548
  - Add `portal.get_default_language` and `portal.get_current_language`
699
549
  [ebrehault]
700
550
 
701
551
  Fixes:
702
552
 
703
- - Fix ``test_zope_version`` test to be able to deal with development versions of Zope.
553
+ - Fix `test_zope_version` test to be able to deal with development versions of Zope.
704
554
  [thet]
705
-
706
555
  - Remove the Plone APIs conventions. They are moved to
707
- https://5.docs.plone.org/develop/styleguide
708
- and https://5.docs.plone.org/develop/coredev/docs/git.html
556
+ <https://5.docs.plone.org/develop/styleguide>
557
+ and <https://5.docs.plone.org/develop/coredev/docs/git.html>
709
558
  [thet]
710
-
711
559
  - Cleanup code to match Plone's style guide.
712
560
  [gforcada]
713
-
714
561
  - Fix corner case on content.transition code: if a transition only has
715
- exit transitions and no transition goes back to it ``find_path`` will fail.
562
+ exit transitions and no transition goes back to it `find_path` will fail.
716
563
  [gforcada]
717
-
718
564
  - Handle automatic transitions on api.content.transition.
719
565
  [gforcada]
720
566
 
721
- 1.4.11 (2016-01-08)
722
- -------------------
567
+ ## 1.4.11 (2016-01-08)
723
568
 
724
569
  New:
725
570
 
726
571
  - Allow to set/get registry settings from an interface.
727
- https://github.com/plone/plone.api/issues/269
572
+ <https://github.com/plone/plone.api/issues/269>
728
573
  [gforcada]
729
574
 
730
-
731
- 1.4.10 (2015-11-19)
732
- -------------------
575
+ ## 1.4.10 (2015-11-19)
733
576
 
734
577
  Fixes:
735
578
 
736
579
  - Rerelease, as 1.4.9 misses the doctests directory.
737
580
  [maurits]
738
581
 
739
-
740
- 1.4.9 (2015-11-19)
741
- ------------------
582
+ ## 1.4.9 (2015-11-19)
742
583
 
743
584
  Fixes:
744
585
 
745
586
  - #283 portal.send_email does not respect transaction aborts
746
587
  [jensens]
747
588
 
748
-
749
- 1.4.8 (2015-10-27)
750
- ------------------
589
+ ## 1.4.8 (2015-10-27)
751
590
 
752
591
  New:
753
592
 
@@ -759,246 +598,179 @@ Fixes:
759
598
  - Fixed Plone 5 version comparison in tests.
760
599
  [maurits]
761
600
 
762
-
763
- 1.4.7 (2015-09-27)
764
- ------------------
601
+ ## 1.4.7 (2015-09-27)
765
602
 
766
603
  - Get email_charset value from the configuration registry, falling back
767
604
  to portal property if not found.
768
605
  [esteele]
769
606
 
607
+ ## 1.4.6 (2015-09-14)
770
608
 
771
- 1.4.6 (2015-09-14)
772
- ------------------
773
-
774
- - Fixed `api.content.find` with combination of depth and path. Path
609
+ - Fixed `api.content.find` with combination of depth and path. Path
775
610
  is no longer ignored then.
776
611
  [maurits]
777
-
778
612
  - Remove unittest2 dependency.
779
613
  [gforcada]
780
614
 
781
-
782
- 1.4.5 (2015-09-09)
783
- ------------------
615
+ ## 1.4.5 (2015-09-09)
784
616
 
785
617
  - Fixed long description of package to be valid restructured text,
786
618
  displaying nicely on PyPI.
787
619
  [maurits]
788
620
 
789
-
790
- 1.4.4 (2015-09-08)
791
- ------------------
621
+ ## 1.4.4 (2015-09-08)
792
622
 
793
623
  - Symlink doctests so that they'll be included in the built egg and don't
794
624
  break coredev builds.
795
625
  [esteele]
796
626
 
797
-
798
- 1.4.3 (2015-09-08)
799
- ------------------
627
+ ## 1.4.3 (2015-09-08)
800
628
 
801
629
  - Try to get use_email_as_login from registry first.
802
630
  [pbauer]
803
631
 
804
-
805
- 1.4.2 (2015-09-07)
806
- ------------------
632
+ ## 1.4.2 (2015-09-07)
807
633
 
808
634
  - Use the version defined in Products.CMFPlone in env.plone_version, just like Plone's control panel.
809
635
  Also fixes Jenkins testrunner where we don't have the Plone egg.
810
636
  [jaroel]
811
637
 
812
-
813
- 1.4.1 (2015-09-07)
814
- ------------------
638
+ ## 1.4.1 (2015-09-07)
815
639
 
816
640
  - Removed dependency on Products.CMFPlone to avoid circular dependencies. Products.CMFPlone will be there.
817
641
  [jaroel]
818
642
 
819
-
820
- 1.4 (2015-09-04)
821
- ----------------
643
+ ## 1.4 (2015-09-04)
822
644
 
823
645
  - plone.api.content.delete: add option check_linkintegrity. If True raise
824
646
  exception if deleting would result in broken links.
825
647
  [pbauer]
826
-
827
648
  - plone.api.content.find: object_provides arguments accepts tuples.
828
649
  Fixes #266.
829
650
  [ale-rt]
830
-
831
651
  - Fixed plone.api.content.create in Plone 5. Refs 160.
832
652
  [jaroel]
833
653
  - plone.api.content.transition: Now accepts kwargs that can be supplied to the workflow transition.
834
654
  [neilferreira]
835
655
 
836
- 1.3.3 (2015-07-14)
837
- ------------------
656
+ ## 1.3.3 (2015-07-14)
838
657
 
839
658
  - plone.api.content.get_state now allows for an optional default value.
840
659
  This is used when no workflow is defined for the object. Refs #246
841
660
  [jaroel]
842
-
843
661
  - plone.api.portal.get_registry_record now suggests look-alike records when no records is found. Refs #249.
844
662
  [jaroel]
845
-
846
663
  - Fixed tests for Plone 5. Refs #241.
847
664
  [jaroel]
848
-
849
665
  - Support Products.PrintingMailHost. Refs #228.
850
666
  [jaroel]
851
-
852
667
  - api.plone.org docs point to docs.plone.org/external/plone.api/docs/. Refs #202
853
668
  [jaroel]
854
-
855
669
  - plone.api.content.get_view no longer swallows exceptions.
856
670
  [jaroel]
857
-
858
671
  - Add plone.api.content.find. Refs #210
859
672
  [jaroel]
860
-
861
673
  - Make send_email compatible with Plone >= 5.0b2.
862
674
  [pbauer]
863
-
864
675
  - Use the source's parent as a target when no target is specified.
865
676
  [jaroel]
866
-
867
677
  - Make Products.Archetypes dependency optional. Fixes #197
868
678
  [jaroel]
869
-
870
679
  - Added local TOCS to main docs pages. Fixes #90.
871
680
  [jaroel]
872
-
873
681
  - Allow deleting multiple objects. Fixes #198
874
682
  [jaroel]
875
-
876
683
  - Fixed `make docs`.
877
684
  [jaroel]
878
-
879
685
  - Support Zope users in user.adopt_user. Fixes #171 and #157.
880
686
  [jaroel]
881
-
882
687
  - explicit dependencies in setup.py, explicit zcml loading in tests.
883
688
  [jensens]
884
-
885
689
  - import getToolByName from origin location
886
690
  [jensens]
887
-
888
691
  - overhaul of documentation: semantic linebreaks, few links fixed, minor
889
692
  rewording.
890
693
  [jensens]
891
-
892
- - fix ``revoke_roles`` method: now if is't called with obj parameter,
694
+ - fix `revoke_roles` method: now if is't called with obj parameter,
893
695
  it doesn't set inherited roles locally.
894
696
  [cekk]
895
697
 
896
- 1.3.2 (2014-11-17)
897
- ------------------
698
+ ## 1.3.2 (2014-11-17)
898
699
 
899
- - fixes #190 - broken ``MANIFEST.in``.
700
+ - fixes #190 - broken `MANIFEST.in`.
900
701
  [jensens]
901
702
 
703
+ ## 1.3.1 (2014-11-17)
902
704
 
903
- 1.3.1 (2014-11-17)
904
- ------------------
905
-
906
- - Resolves issues with ``README.rst`` symlink that prevented 1.3.0 from
705
+ - Resolves issues with `README.rst` symlink that prevented 1.3.0 from
907
706
  being installed. And please never ever in future use symlinks in eggs, ok?
908
707
  [jensens]
909
708
 
910
-
911
- 1.3.0 (2014-11-17)
912
- ------------------
709
+ ## 1.3.0 (2014-11-17)
913
710
 
914
711
  - Fixes #184 NameChooser on rename used the wrong way and fails on
915
712
  safe_id=True.
916
713
  [benniboy]
917
-
918
714
  - Clarified documentation for content.copy, refs #185.
919
715
  [benniboy]
920
-
921
716
  - Fixes if a content is copied in the same folder or in a target folder, where
922
717
  same source id exists, the existing source(same folder) or third object
923
718
  (same id as source) gets renamed instead of the target.
924
719
  [benniboy]
925
-
926
720
  - Use getUserById to find the user when given a User object in adopt_user.
927
721
  [tschanzt]
928
-
929
- - Made ``api.portal.get_localized_time`` also work with datetime.date.
722
+ - Made `api.portal.get_localized_time` also work with datetime.date.
930
723
  [nightmarebadger]
931
-
932
- - Raise better/expected errors in ``api.user.grant_roles`` and
933
- ``api.user.revoke_roles``.
724
+ - Raise better/expected errors in `api.user.grant_roles` and
725
+ `api.user.revoke_roles`.
934
726
  [adamcheasley]
935
-
936
- - Add ``api.user.has_permission`` ref #172.
727
+ - Add `api.user.has_permission` ref #172.
937
728
  [adamcheasley]
938
729
 
939
-
940
- 1.2.1 (2014-06-24)
941
- ------------------
730
+ ## 1.2.1 (2014-06-24)
942
731
 
943
732
  - Resolve issues with CHANGES.rst symlink that prevented 1.2.0 from
944
733
  being installed in some circumstances.
945
734
  [mattss]
946
735
 
736
+ ## 1.2.0 (2014-06-24)
947
737
 
948
- 1.2.0 (2014-06-24)
949
- ------------------
950
-
951
- - Enhance ``api.content.transition`` with the ability to transition from the
738
+ - Enhance `api.content.transition` with the ability to transition from the
952
739
  current state to a given state without knowing the transition 'path'
953
740
  refs. #162
954
741
  [adamcheasley]
955
-
956
- - Add ``api.env.plone_version()`` and ``api.env.zope_version()``, refs #126.
742
+ - Add `api.env.plone_version()` and `api.env.zope_version()`, refs #126.
957
743
  [hvelarde]
958
-
959
- - Stop UnicodeDecodeErrors being swallowed in ``api.content.create``.
744
+ - Stop UnicodeDecodeErrors being swallowed in `api.content.create`.
960
745
  [mattss]
961
-
962
- - Catch AttributeError in ``api.content.get`` (raised if only part of the
746
+ - Catch AttributeError in `api.content.get` (raised if only part of the
963
747
  traversal path exists).
964
748
  [mattss]
965
749
 
966
-
967
- 1.1.0 (2013-10-12)
968
- ------------------
750
+ ## 1.1.0 (2013-10-12)
969
751
 
970
752
  - List supported Plone versions in setup.py.
971
753
  [zupo]
972
-
973
754
  - Plone 4.0 and 4.1 are now tested under Python 2.6 on CI.
974
755
  [hvelarde]
975
-
976
756
  - Use Plone 4.3 on development by default (was 4.2).
977
757
  [hvelarde]
978
758
 
979
-
980
- 1.1.0-rc.1 (2013-10-10)
981
- -----------------------
759
+ ## 1.1.0-rc.1 (2013-10-10)
982
760
 
983
761
  - Fix README.rst so it renders correctly on PyPI.
984
762
  [zupo]
985
-
986
763
  - Use api.plone.org/foo redirects.
987
764
  [zupo]
988
-
989
765
  - Add MANIFEST.in file.
990
766
  [hvelarde]
991
767
 
992
-
993
- 1.0.0-rc.3 (2013-10-09)
994
- -----------------------
768
+ ## 1.0.0-rc.3 (2013-10-09)
995
769
 
996
770
  - Packaging issues.
997
771
  [zupo]
998
772
 
999
-
1000
- 1.0.0-rc.2 (2013-10-09)
1001
- -----------------------
773
+ ## 1.0.0-rc.2 (2013-10-09)
1002
774
 
1003
775
  - Proof-read the docs, improved grammar and wording.
1004
776
  [cewing]
@@ -1012,17 +784,18 @@ Fixes:
1012
784
  - Amend user.get method to accept a userid parameter, refs #112.
1013
785
  [cewing, xiru, winstonf88]
1014
786
 
1015
- .. note::
1016
- This change fixes a bug in the earlier implementation that could cause
1017
- errors in some situations. This situation will only arise if the userid and
1018
- username for a user are not the same. If membrane is being used for content-
1019
- based user objects, or if email-as-login is enabled *and* a user has changed
1020
- their email address this will be the case. In the previous implementation
1021
- the username parameter was implicitly being treated as userid. The new
1022
- implementation does not do so. If consumer code is relying on this bug and
1023
- passing userid, and if that code uses the username parameter as a keyword
1024
- parameter, then lookup will fail. In all other cases, there should be no
1025
- difference.
787
+ :::{note}
788
+ This change fixes a bug in the earlier implementation that could cause
789
+ errors in some situations. This situation will only arise if the userid and
790
+ username for a user are not the same. If membrane is being used for content-
791
+ based user objects, or if email-as-login is enabled *and* a user has changed
792
+ their email address this will be the case. In the previous implementation
793
+ the username parameter was implicitly being treated as userid. The new
794
+ implementation does not do so. If consumer code is relying on this bug and
795
+ passing userid, and if that code uses the username parameter as a keyword
796
+ parameter, then lookup will fail. In all other cases, there should be no
797
+ difference.
798
+ :::
1026
799
 
1027
800
  - Add api.env.debug_mode() and api.env.test_mode(), refs #125.
1028
801
  [sdelcourt]
@@ -1068,103 +841,72 @@ Fixes:
1068
841
  - Fixed moving folderish objects.
1069
842
  [pingviini]
1070
843
 
1071
-
1072
- 1.0.0-rc.1 (2013-01-27)
1073
- -----------------------
844
+ ## 1.0.0-rc.1 (2013-01-27)
1074
845
 
1075
846
  - Increase test coverage.
1076
847
  [cillianderoiste, JessN, reinhardt, zupo]
1077
-
1078
- - Implementation of ``api.env.adopt_roles()`` context manager for
848
+ - Implementation of `api.env.adopt_roles()` context manager for
1079
849
  temporarily switching roles inside a block.
1080
850
  [RichyB]
1081
-
1082
- - Created ``api.env`` module for interacting with global environment.
851
+ - Created `api.env` module for interacting with global environment.
1083
852
  [RichyB]
1084
-
1085
853
  - Decorators for defining constraints on api methods. Depend on `decorator`
1086
854
  package.
1087
855
  [JessN]
1088
-
1089
856
  - Resolved #61: Improve api.portal.get().
1090
857
  [cillianderoiste]
1091
-
1092
858
  - Use plone.api methods in plone.api codebase.
1093
859
  [zupo]
1094
-
1095
- - Switch to `flake8` instead of `pep8`+`pyflakes`.
860
+ - Switch to `flake8` instead of `` pep8`+`pyflakes ``.
1096
861
  [zupo]
1097
-
1098
862
  - Get the portal path with absolute_url_path.
1099
863
  [cillianderoiste]
1100
-
1101
864
  - Travis build speed-ups.
1102
865
  [zupo]
1103
-
1104
866
  - Support for Python 2.6.
1105
867
  [RichyB, zupo]
1106
-
1107
868
  - Support for Plone 4.0.
1108
869
  [adamcheasley]
1109
-
1110
870
  - Support for Plone 4.3.
1111
871
  [cillianderoiste, zupo]
1112
-
1113
872
  - Spelling fixes.
1114
873
  [adamtheturtle]
1115
-
1116
874
  - Make get_view and get_tool tests not have hardcoded list of *all* expected
1117
875
  values.
1118
876
  [RichyB, cillianderoiste]
1119
-
1120
877
  - Code Style Guide.
1121
878
  [iElectric, cillianderoiste, marciomazza, RichyB, thet, zupo]
1122
-
1123
- - Depend on ``manuel`` in setup.py.
879
+ - Depend on `manuel` in setup.py.
1124
880
  [zupo]
1125
-
1126
881
  - Documentation how to get/set member properties.
1127
882
  [zupo]
1128
-
1129
- - Improvements to ``get_registry_record``.
883
+ - Improvements to `get_registry_record`.
1130
884
  [zupo]
1131
885
 
1132
-
1133
- 0.1b1 (2012-10-23)
1134
- ------------------
886
+ ## 0.1b1 (2012-10-23)
1135
887
 
1136
888
  - Contributors guide and style guide.
1137
889
  [zupo]
1138
-
1139
890
  - Enforce PEP257 for docstrings.
1140
891
  [zupo]
1141
-
1142
- - Fix ``get_navigation_root()`` to return object instead of path.
892
+ - Fix `get_navigation_root()` to return object instead of path.
1143
893
  [pbauer]
1144
-
1145
- - Implementation of ``get_permissions()``, ``get_roles()``,
1146
- ``grant_roles()`` and ``revoke roles()`` for users and groups.
894
+ - Implementation of `get_permissions()`, `get_roles()`,
895
+ `grant_roles()` and `revoke roles()` for users and groups.
1147
896
  [rudaporto, xiru]
1148
-
1149
- - Implementation of ``get_registry_record`` and ``set_registry_record``.
897
+ - Implementation of `get_registry_record` and `set_registry_record`.
1150
898
  [pbauer]
1151
-
1152
899
  - Use `Makefile` to build the project, run tests, generate documentation, etc.
1153
900
  [witsch]
1154
-
1155
- - Moving all ReadTheDocs dependencies into ``rtd_requirements.txt``.
901
+ - Moving all ReadTheDocs dependencies into `rtd_requirements.txt`.
1156
902
  [zupo]
1157
903
 
1158
-
1159
- 0.1a2 (2012-09-03)
1160
- ------------------
904
+ ## 0.1a2 (2012-09-03)
1161
905
 
1162
906
  - Updated release, adding new features, test coverage, cleanup & refactor.
1163
907
  [hvelarde, avelino, ericof, jpgimenez, xiru, macagua, zupo]
1164
908
 
1165
-
1166
- 0.1a1 (2012-07-13)
1167
- ------------------
909
+ ## 0.1a1 (2012-07-13)
1168
910
 
1169
911
  - Initial release.
1170
912
  [davisagli, fulv, iElectric, jcerjak, jonstahl, kcleong, mauritsvanrees,