Debian Codegraph @

docs/release-notes/2012.rst

raw
1 0.8.3 (2012-12-06)
2 ******************
3
4 Noteworthy changes
5 -------------------
6
7 - Markus Thielen contributed a German translation, thanks!
8
9 - The ``site`` foreign key from ``SocialApp`` to ``Site`` has been replaced
10 by a ``ManyToManyField``. Many apps can be used across multiple domains
11 (Facebook cannot).
12
13 - account: Added adapter class for increased pluggability. Added
14 hook for 3rd party invitation system to by pass email
15 verification (``stash_email_verified``). Moved sending of mail to
16 adapter.
17
18 - account: Added option to completely disable email verification
19 during signup.
20
21
22 Backwards incompatible changes
23 ------------------------------
24
25 - The ``ACCOUNT_EMAIL_VERIFICATION`` setting is no longer a boolean
26 based setting. Use a string value of "none", "optional" or
27 "mandatory" instead.
28
29 - The template "account/password_reset_key_message.txt" has been moved
30 to "account/email/password_reset_key_message.txt". The subject of
31 the message has been moved into a template
32 ("account/email/password_reset_key_subject.txt").
33
34 - The ``site`` foreign key from ``SocialApp`` to ``Site`` has been replaced
35 by a ``ManyToManyField``. Many apps can be used across multiple
36 domains (Facebook cannot).
37
38
39 0.8.2 (2012-10-10)
40 ******************
41
42 Noteworthy changes
43 -------------------
44
45 - Twitter: Login was broken due to change at in URLs at Twitter,
46 fixed.
47
48 - LinkedIn: Added support for passing along the OAuth scope.
49
50 - account: Improved email confirmation error handling, no more
51 confusing 404s.
52
53 - account: Aldiantoro Nugroho contributed support for a new
54 setting: ACCOUNT_USERNAME_MIN_LENGTH
55
56 - socialaccount: Added preliminary support for Mozilla Persona.
57
58 - account: Sam Solomon added various signals for email and
59 password related changes.
60
61 - account: Usernames may now contain @, +, . and - characters.
62
63
64 Backwards incompatible changes
65 ------------------------------
66
67 - Dropped support for ``CONTACT_EMAIL`` from the ``account`` template
68 context processor. It was never documented and only used in the
69 templates as an example -- there is no need to pollute the ``allauth``
70 settings with that. If your templates rely on it then you will have
71 to put it in a context processor yourself.
72
73
74 0.8.1 (2012-09-03)
75 ******************
76
77 Noteworthy changes
78 -------------------
79
80 - Python 2.6.2 compatibility issue, fixed.
81
82 - The example project was unintentionally packaged, fixed.
83
84
85 Backwards incompatible changes
86 ------------------------------
87
88 None
89
90
91 0.8.0 (2012-09-01)
92 ******************
93
94 Noteworthy changes
95 -------------------
96
97 - account: Dropped dependency on the emailconfirmation app,
98 integrating its functionality into the account app. This change is
99 of major impact, please refer to the documentation on how to
100 upgrade.
101
102 - account: Documented ACCOUNT_USERNAME_REQUIRED. This is actually
103 not a new setting, but it somehow got overlooked in the
104 documentation.
105
106 - account/socialaccount: Dropped the _tags postfix from the
107 template tag libraries. Simply use {% load account %} and {% load
108 socialaccount %}.
109
110 - Added signup and social login signals.
111
112 - SoundCloud: Rabi Alam contributed a SoundCloud provider, thanks!
113
114 - account: Sam Solomon cleaned up the email management view:
115 added proper redirect after POSTs, prevent deletion of primary
116 email. Thanks.
117
118 - account: When signing up, instead of generating a completely
119 random username a more sensible username is automatically derived
120 from first/last name or email.
121
122
123 Backwards incompatible changes
124 ------------------------------
125
126 - ``allauth`` now depends on Django 1.4 or higher.
127
128 - Major impact: dropped dependency on the ``emailconfirmation`` app, as
129 this project is clearly left unmaintained. Important tickets such
130 as https://github.com/pinax/django-email-confirmation/pull/5 are not
131 being addressed. All models and related functionality have been
132 directly integrated into the ``allauth.account`` app. When upgrading
133 take care of the following:
134
135 - The ``emailconfirmation`` setting ``EMAIL_CONFIRMATION_DAYS`` has been
136 replaced by ``ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS``.
137
138 - Instead of directly confirming the email address upon the GET
139 request the confirmation is now processed as part of an explicit
140 POST. Therefore, a new template ``account/email_confirm.html`` must
141 be setup.
142
143 - Existing ``emailconfirmation`` data should be migrated to the new
144 tables. For this purpose a special management command is
145 available: ``python manage.py
146 account_emailconfirmationmigration``. This command does not drop
147 the old ``emailconfirmation`` tables -- you will have to do this
148 manually yourself. Why not use South? EmailAddress uniqueness
149 depends on the configuration (``ACCOUNT_UNIQUE_EMAIL``), South does
150 not handle settings dependent database models.
151
152 - ``{% load account_tags %}`` is deprecated, simply use: ``{% load account %}``
153
154 - ``{% load socialaccount_tags %}`` is deprecated, simply use:
155 ``{% load socialaccount %}``
156
157
158 0.7.0 (2012-07-18)
159 ******************
160
161 Noteworthy changes
162 -------------------
163
164 - Facebook: Facundo Gaich contributed support for dynamically
165 deriving the Facebook locale from the Django locale, thanks!.
166
167 - OAuth: All OAuth/OAuth2 tokens are now consistently stored
168 across the board. Cleaned up OAuth flow removing superfluous
169 redirect.
170
171 - Facebook: Dropped Facebook SDK dependency.
172
173 - socialaccount: DRY focused refactoring of social login.
174
175 - socialaccount: Added support for Google OAuth2 and Facebook
176 OAuth2. Fixed GitHub.
177
178 - account: Added verified_email_required decorator.
179
180 - socialaccount: When signing up, user.first/last_name where
181 always taken from the provider signup data, even when a custom
182 signup form was in place that offered user inputs for editing
183 these fields. Fixed.
184
185
186 Backwards incompatible changes
187 ------------------------------
188
189 None
190
191
192 0.6.0 (2012-06-20)
193 ******************
194
195 Noteworthy changes
196 -------------------
197
198 - account: Added ACCOUNT_USER_DISPLAY to render a user name
199 without making assumptions on how the user is represented.
200
201 - allauth, socialaccount: Removed the last remaining bits of
202 hardcodedness with respect to the enabled social authentication
203 providers.
204
205 - account: Added ACCOUNT_AUTHENTICATION_METHOD setting, supporting
206 login by username, email or both.
207
208
209 Backwards incompatible changes
210 ------------------------------
211
212 - The ``ACCOUNT_EMAIL_AUTHENTICATION`` setting has been dropped in favor
213 of ``ACCOUNT_AUTHENTICATION_METHOD``.
214
215 - The login form field is now always named ``login``. This used to by
216 either ``username`` or ``email``, depending on the authentication
217 method. If needed, update your templates accordingly.
218
219 - The ``allauth`` template tags (containing template tags for
220 OpenID, Twitter and Facebook) have been removed. Use the
221 ``socialaccount`` template tags instead (specifically: ``{% provider_login_url
222 ... %}``).
223
224 - The ``allauth.context_processors.allauth`` context processor has been
225 removed, in favor of
226 ``allauth.socialaccount.context_processors.socialaccount``. In doing
227 so, all hardcodedness with respect to providers (e.g
228 ``allauth.facebook_enabled``) has been removed.
229
230
231 0.5.0 (2012-06-08)
232 ******************
233
234 Noteworthy changes
235 -------------------
236
237 - account: Added setting ACCOUNT_PASSWORD_MIN_LENGTH for
238 specifying the minimum password length.
239
240 - socialaccount: Added generic OAuth2 support. Added GitHub
241 support as proof of concept.
242
243 - socialaccount: More refactoring: generic provider & OAuth
244 consumer approach. Added LinkedIn support to test this approach.
245
246 - socialaccount: Introduced generic models for storing social
247 apps, accounts and tokens in a central and consistent manner,
248 making way for adding support for more account providers. Note:
249 there is more refactoring to be done -- this first step only
250 focuses on the database models.
251
252 - account: Email confirmation mails are now automatically resent
253 whenever a user attempts to login with an unverified email
254 address (if ACCOUNT_EMAIL_VERIFICATION=True).
255
256
257 Backwards incompatible changes
258 ------------------------------
259
260 - Upgrade your ``settings.INSTALLED_APPS``: Replace ``allauth.<provider>``
261 (where provider is one of ``twitter``, ``facebook`` or ``openid``) with
262 ``allauth.socialaccount.providers.<provider>``
263
264 - All provider related models (``FacebookAccount``, ``FacebookApp``,
265 ``TwitterAccount``, ``TwitterApp``, ``OpenIDAccount``) have been unified
266 into generic ``SocialApp`` and ``SocialAccount`` models. South migrations
267 are in place to move the data over to the new models, after which
268 the original tables are dropped. Therefore, be sure to run migrate
269 using South.
270
271
272 0.4.0 (2012-03-25)
273 ******************
274
275 Noteworthy changes
276 -------------------
277
278 - account: The render_value parameter of all PasswordInput fields
279 used can now be configured via a setting.
280
281 - account: Added support for prefixing the subject of sent emails.
282
283 - account: Added support for a plugging in a custom signup form
284 used for additional questions to ask during signup.
285
286 - account: ``is_active`` is no longer used to keep users with an
287 unverified email address from logging in.
288
289 - Dropping uniform dependency. Moved uniform templates into
290 example project.
291
292
293 Backwards incompatible changes
294 ------------------------------
295
296 None
297
298
299 0.3.0 (2012-01-19)
300 ******************
301
302 Noteworthy changes
303 -------------------
304
305 - The email authentication backend now attempts to use the
306 'username' parameter as an email address. This is needed to
307 properly integrate with other apps invoking authenticate.
308
309 - SmileyChris contributed support for automatically generating a
310 user name at signup when ``ACCOUNT_USERNAME_REQUIRED`` is set to
311 False.
312
313 - Vuong Nguyen contributed support for (optionally) asking for the
314 password just once during signup
315 (``ACCOUNT_SIGNUP_PASSWORD_VERIFICATION``).
316
317 - The Twitter oauth sequence now respects the "oauth_callback"
318 parameter instead of defaulting to the callback URL
319 configured at Twitter.
320
321 - Pass along ``?next=`` parameter between login and signup views.
322
323 - Added Dutch translation.
324
325 - Added template tags for pointing to social login URLs. These
326 tags automatically pass along any ``?next=``
327 parameter. Additionally, added an overall allauth_tags that
328 gracefully degrades when e.g. allauth.facebook is not installed.
329
330 - Pass along next URL, if any, at ``/accounts/social/signup/``.
331
332 - Duplicate email address handling could throw a
333 MultipleObjectsReturned exception, fixed.
334
335 - Removed separate social account login view, in favour of having
336 a single unified login view including both forms of login.
337
338 - Added support for passing along a next URL parameter to
339 Facebook, OpenID logins.
340
341 - Added support for django-avatar, copying the Twitter profile
342 image locally on signup.
343
344 - ``allauth/account/forms.py`` (``BaseSignupForm.clean_email``): With
345 ``ACCOUNT_EMAIL_REQUIRED=False``, empty email addresses were
346 considered duplicates. Fixed.
347
348 - The existing migrations for allauth.openid were not compatible
349 with MySQL due to the use of an URLField with max_length above
350 255. The issue has now been addressed but unfortunately at the
351 cost of the existing migrations for this app. Existing
352 installations will have to be dealt with manually (altering the
353 "identity" column of OpenIDAccount, deleting ghost migrations).
354
355 Backwards incompatible changes
356 ------------------------------
357
358 - None