This repository has been archived by the owner on Jul 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathCHANGES
204 lines (145 loc) · 4.22 KB
/
CHANGES
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
Release 4.2
----------------------------
* make visible a bit more backward compatible
Release 4.1
----------------------------
* code refactoring
* BACKWARD INCOMPATIBLE - visible() callable now expect 1 params (context)
Release 4.0
----------------------------
* code refactoring
* added support Django 4.0 and Python 3.10
Release 3.5
-----------
* new `group` attribute allows to set buttons visibility -
* BACKWARD INCOMPATIBLE - visible() callable now expect 2 params (obj, request)
Release 3.4
-----------
* new `display` attribute allows button to be displayed both on changelist/change_form pages
Release 3.3
-----------
* deprecate action() new `button()` decorator - action() will be removed in future releases
* new `href()` decorator
* removed deprecated `link()` decorator
* new colored buttons
Release 3.2
-----------
* Code refactoring
* New Feature: disable buttons when form values are changed
* add ability to customize urls and add extra paramenters
* new `action_page.html` to be used as is or as template for multi-step actions
Release 3.1
-----------
* ButtonLink splitted in ChangeFormButton, ChangeListButton
Release 3.0
-----------
* full code refactoring
* new ButtonLink and `extra_buttons`
* deprecate `link()` decorator
* new decorator `try_catch` to wrap action with try..catch and sent user feedback
* drop support Django<2.2
* project renamed as "django-admin-extra-urls"
Release 2.3
-----------
* added support Django 3.1
* added support Python 3.9
* dropped support to Django <2.2
* dropped support to Python <3.6
Release 2.2
-----------
* add support Django 3.0
* add support Django 2.2
* dropped support Python <3.5
* dropped support Django <2.0
Release 2.1
-----------
* code cleanup
Release 2.0
-----------
* dropped support Python 2.x
* dropped support Django <2.0
* add Django 2.1 support
* Updates _confirm_action utility to properly handle exceptions
Release 1.9
-----------
* Fixed the link css classes (issue #15)
* Fixed broken download url (issue #12)
* Fixed broken pypip.in badges (issue #11)
Release 1.8
-----------
* standard "post action redirect" now preserve existing filters
* check arguments of decorated methods
* fixes permission check using callable
* removed UploadMixin. It is now part of the demo app.
Release 1.7
-----------
* removed deprecated `has_permission`
* add support django 2.0
Release 1.6
-----------
* dropped support for django 1.8
* `action()` default behaviour do not display button if in `add` mode
* all `**kwargs` passed to action() will be passed to decorated method
* deprecated `has_permission` templatetag
Release 1.5
-----------
* fixes permissions check on change list template
Release 1.4
-----------
* fixes #8 use django jquery
* fixes #7 fixes upload mixin
Release 1.3.1
-------------
* fixes issue when callable is used to manage permission in detail form
Release 1.3
-----------
* fixes template check permissio issue
Release 1.2
-----------
* check permission before run action/link
* permission argument can be a callable. It should raise PermissionDenied if needed
Release 1.1
-----------
* @action now has 'exclude_if_adding' to hide a button in add mode
* fixes button ordering
* update templates to django admin 1.9 and grappelli
* disable @action button if object not saved
Release 1.0
-----------
* drop suppport for django<1.7
Release 0.8
-----------
* Django 1.9 compatibility
Release 0.7.1
-------------
* fixes wrong template that produce wrong link for action()
Release 0.7
-----------
* fixes wrong template that produce double button on screen
* add django 1.8 to travis config
* wheel package
Release 0.6.1
-------------
* templates refactoring
Release 0.5
-----------
* Potentially backward incompatible:
Changed the way the urls options are put in the context.
* add 'visible' attribute to `link()` and `action()`
* add new custom tag `extraurl`
Release 0.4
-----------
* add css_class attribute
Release 0.3
-----------
* add ability to order buttons
Release 0.2
-----------
* python 3.3, 3.4 compatibility
* add ability to customize the upload template
* disable button after click to prevent double click
* improved automatic button's label creation
* it's not anymore mandatory to return a HttpResponse
Release 0.1
-----------
* Initial release