forked from idlesign/django-sitetree
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CHANGELOG
269 lines (199 loc) · 7.51 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
django-sitetree changelog
=========================
Unreleased
----------
* Cache.reset() misbehavior fixed (closes #191).
v1.5.1
------
* Django 1.9 compatibility improvements.
v1.5.0
------
+ Added Norwegian translation.
+ Added SITETREE_RAISE_ITEMS_ERRORS_ON_DEBUG setting (see #157).
+ Exposed SITETREE_CACHE_TIMEOUT setting.
+ Added `as` clause support for `sitetree_page_title`, `sitetree_page_description` and `sitetree_page_hint` template tags.
* Fixed cache problems when using sitetree_resync_apps (see #135, #166).
* Fixed disappearing tree items for guests in Admin contrib (Django 1.8) (see #164).
* Fix deprecation warning in Django 1.8 (see #178).
* Fixed permissions check for dynamic tree items (see #165).
v1.4.0
------
+ Introduced Django 1.8 support (see #152).
* Fixed extra spaces issue in breadcrumbs (closes #150).
v1.3.0
------
+ Implemented `django-smuggler` thirdparty support.
+ Implemented `i18n_patterns` compatibility (closes #148).
* Fixed menu alias clash with context variable (closes #117).
v1.2.1
-------
* `{{ STATIC_URL }}` is replaced with `{% static %}` admin templates.
* Fixed `sitetreeload` management command compatibility with py3.
* Fixed `sitetreeload` management command compatibility with Django 1.7.
v1.2.0
-------
+ Added support for both South and Django 1.7 migrations.
+ `register_dynamic_trees()` now accepts `reset_cache` kwarg.
v1.1.0
-------
+ Django 1.7 ready.
+ `item()` now accepts `access_by_perms` and `perms_mode_all`.
* Fixed `SiteTreeError` for `TEMPLATE_CONTEXT_PROCESSORS` when not `DEBUG`.
* Fixed `this-siblings` item alias behavior.
* `register_dynamic_trees()` refactored to a less-brackets style.
* `LazyTitle` objects made py3 compatible.
* Fixed "Save and continue editing" on Tree Item yields "does not exist" error.
* Global context is change is now tested with `id()`.
v1.0.0
-------
+ Added `breadcrumbs-title` template.
+ `UNRESOLVED_ITEM_MARKER` introduced to settings.
+ Added Django 1.6 test rules.
* Fixed django 1.4.10 issue (see #116).
- Dropped deprecated `sitetree_url` tag arguments.
- Dropped deprecated template var support in sitetree item URL field.
v0.12.1
-------
+ Fixed bug when running sitetree with django version 1.4.10
v0.12.0
-------
+ Implemented runtime defined (dynamic) trees (see #105).
+ Added Foundation breadcrumbs template.
+ Added Semantic UI templates.
* Fixed `DatabaseError: integer out of range` generated on `sitetree_resync_apps` (see #105).
* Sitetree for apps module name made adjustable and defaults to `sitetrees` to prevent module name clashes.
v0.11.0
-------
+ Implemented helpers for dynamic tree structuring (see #105)
+ Added experimental support for app-defined trees (see #105).
+ Implemented tree item access restriction "for guests only" (closes #108)
+ Added Bootstrap 3 templates (closes #100).
v0.10.0
-------
+ Added experimental support for user-defined sitetree models (see #64).
+ Implemented `sitetree_page_hint` template tag (closes #103).
+ Added Spanish translation (closes #101).
v0.9.5
------
+ Added `sitetree_page_description` template tag.
+ Tree item dropdown experimentally exposed (see #84).
+ Added `this-ancestor-siblings` alias support (see #99).
* Fixed 'map' object has no attribute 'append' on Py3 (see #94).
* Fixed sort order changing for top level tree items (see #98).
v0.9.4
------
+ Added Django 1.5 url tag syntax support for URL field.
* Fixed args quoting in url tag call causing #unresolved links (closes #95).
v0.9.3
------
+ Added Python 3 support (see #93).
+ Added persian translation.
* Fixed quotes around slug-like arguments in url() (#90).
* Added deprecation warnings workarounds (#89).
- Dropped Django 1.3 support.
v0.9.2
------
+ Django 1.3+ set as required minimum.
+ Added Django 1.5 support (see #87).
+ Added namespaces support for known urls hint (closes #83).
+ Added 'as' clause for sitetree_url tag (see #81).
+ Introduced Tree.get_title().
* Humble performance improvements for large trees (see #49).
* Template variables in URL feature marked deprecated (fixes #74).
v0.9.1
------
+ Added experimental URL pattern name hinting at tree item create/edit page (see #67).
* Fixed tree current item detection failures with i18n trees (see #66).
v0.9.0
------
+ Added support for tree and tree item admin models overriding (see #43).
+ Added Foundation CSS Framework menu basic templates (see #41).
+ Added Bootstrap CSS Framework menu and breadcrumbs basic templates (see #41).
* Fixed sorting tree items by parent ID instead of parent sort order (see #55).
* Fixed crashes when using sitetreeload command with colored terminal (fixes #61).
v0.8.0
------
+ Added 'title' field for Tree models.
+ Added German translation.
* Fixed management directory missing from dist (closes #50).
v0.7.0
------
+ Added 'sitetreedump' and 'sitetreeload' management commands (fixes #36).
+ Added tests runner 'runtests.py'. Unit tests are now self-contained (see #42).
+ Now 'sitetree_menu' tag accepts any string as target branch alias. Related to dashed strings (see #38).
+ Now 'has_children' tree item attribute stands for visible children (see #38).
+ Now global template context is passed down all sitetree-related templates (see #39, see #40).
* Fixed template tags params clashes with context variables (see #42).
v0.6.0
------
+ Added i18n trees support (see #27).
+ Added tree items processing hook support (see #26).
* Fixed various tree items filtering issues (see #34, #35).
v0.5.2
------
* Fix for yes/no icons not shown in tree admin when non-eng LANGUAGE_CODE is used (closes #31).
* Fixed item's depth calculation (closes #29).
* Fixed misleading tree rendering bug in admin interface.
* Improved Django 1.4 compatibility (fixes #33).
v0.5.1
------
+ Added Django 1.4 static files compatibility for Admin contrib.
+ Added support for slug-like IDs as item lookup params (see #24).
* Added None check in "tree_climber" method (fixes #22).
* Minor optimizations in tree.html template.
v0.5.0
------
+ Now sitetree uses native Django cache framework (see #16).
+ Added "in_current_branch" item attribute (see #14, #18), and "current_branch" css class.
* South migrations are now shipped within application package (see #19).
* Current menu item now preserves "a" tag, and marked with "current_item" css class.
* Request object passing forced to "menu" method (fixes #15 ).
* Fixed "save & continue" wrong redirect on item's add page.
* Minor fixes.
v0.4.0
------
+ Added permissions calculation optimization to "get_sitetree" method (see #9).
+ Added item access restriction for authenticated uses only.
+ Added "this-ancestor-children" alias support (see #14).
* Minor fixes.
v0.3.1
------
* Invalid return fix in "init_tree" method (fixes #6).
* Added missing translation files.
v0.3.0
------
+ New template tag "sitetree_page_title".
+ Added ukranian translation.
+ Added human-friendly debug messages.
+ Added permissions support (see #3).
+ Added South migrations.
+ Added "url_resolved" attribute to items.
+ Added basic unit tests (see # 4).
+ Added .rst documentation (fixed #5).
* Admin menu links normalized (fixes #2).
* Fixed variable names clashes in template tags file.
* Missing "has_children" attribute fix.
v0.2.1
-------
+ Added PyPi compatibility.
* Modules import fixes.
* README now in .rst.
v0.2.0
------
+ Added support for non-ascii in urls.
v0.1.4
-------
* setup.py fix.
* Django under 1.2 compatibility fix for #1.
v0.1.3
-------
* "this-children" and "this-siblings" behavior fix.
v0.1.2
-------
* Setting items order in admin fix.
v0.1.1
-------
* Minor fixes.
v0.1.0
------
+ Basic sitetree functionality.