Henrik Levkowetz
2d7c9629aa
Added 'from __future__' imports all over the place, to bring code behaviour into closer alignment between python2 and python3
...
- Legacy-Id: 16446
2019-07-15 15:40:51 +00:00
Henrik Levkowetz
d7f5c84182
Initial 2to3 patch with added copyright statement updates.
...
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz
7e7fadb75e
Use the actual defaults from settings.py when showing the defaults on /accounts/settings/.
...
- Legacy-Id: 14941
2018-03-26 17:10:28 +00:00
Henrik Levkowetz
7b95411f58
The context_instance parameter to render_to_response() and render_to_string() is now deprecated. Fixed this, and generally changed the idiom render_to_response('template.html', {}, RequestContext(request)) to the newer and simpler render(request, 'template.html', {}). About 200 instances.
...
- Legacy-Id: 12637
2017-01-09 21:26:30 +00:00
Henrik Levkowetz
834bf08d6f
Added settings to use the cache back-end for sessions. Separated out the preference cookie age from the session age. Made the session age refresh on each access, and set the session timeout to 4 weeks of no access.
...
- Legacy-Id: 11473
2016-06-24 15:44:54 +00:00
Henrik Levkowetz
f70b2d93c5
Added preference editing support for the left_menu preference setting, and refactored the preference handling code substantially. Related to issues #1659 and #1663 .
...
- Legacy-Id: 9673
2015-06-22 18:47:28 +00:00
Henrik Levkowetz
b768dbbc9a
Added a preference to not display the left-hand menubar. Addresses issues #1659 and #1663 .
...
- Legacy-Id: 9643
2015-05-22 20:03:11 +00:00
Tero Kivinen
79b4688f8e
Added test cases for cookie code. This will test all the cookie setting code, and also adds test for draft for include_text and full_draft cookie checking. Commit ready for merge.
...
- Legacy-Id: 9319
2015-03-21 23:06:13 +00:00
Henrik Levkowetz
5bef5d11ae
Made doc/ pyflakes-clean.
...
- Legacy-Id: 7462
2014-03-15 16:09:47 +00:00
Ole Laursen
6c56f41041
Fix broken indentation
...
- Legacy-Id: 6777
2013-12-02 18:12:16 +00:00
Henrik Levkowetz
2cd7b18ba2
Merged [2942] from kivinen@iki.fi:
...
Changed cookie settings to be valid for 10 years, they used to be valid
until the end of session.
- Legacy-Id: 2950
Note: SVN reference [2942] has been migrated to Git commit 1287da3cf9c5e51e08ac6ddf704650c8808b8de6
2011-03-26 14:30:40 +00:00
Henrik Levkowetz
f733c1acc8
Merged [2676] from kivinen@iki.fi:
...
Added new setting to the /cookies page which enables always showing
full document text instead of showing beginning of the document. This fixes issue #551 .
- Legacy-Id: 2680
Note: SVN reference [2676] has been migrated to Git commit f7a33efea768e70c1865c3bbd084cf82cd512c78
2010-11-11 02:31:38 +00:00
Henrik Levkowetz
23cfcbebb1
Merged [2619] from kivinen@iki.fi:
...
Setting user cookies, and settable expires soon and new tags
in id/rfc list.
- Legacy-Id: 2634
Note: SVN reference [2619] has been migrated to Git commit ddd9b6fe4d702af5e9b132621a47f59fe2f36b4e
2010-11-06 09:33:32 +00:00