~chipaca/unity-lens-video/custom-user-agent

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
See Trello for a more up to date near-term todo list!
https://trello.com/board/main/4e7da3cf5a94680b35000893


release notes
=============
- Migrated from django 1.2 to django 1.3
- Cleaned up many best practice violations


prod migration
==============
cp sqlite3.db sqlite3.db.before

./manage.py dumpdata --indent=4 | sed -e 's/"model": "main./"model": "oneliners./' > dump.json

cp settings.py settings.py.before
cp settings.py.prod settings.py

rm sqlite3.db
./manage.py syncdb  # answer no

delete from django_admin_log;
delete from django_comment_flags;
delete from django_comments;
delete from django_content_type;
delete from django_openid_auth_association;
delete from django_openid_auth_nonce;
delete from django_openid_auth_useropenid;
delete from django_session;
delete from django_site;

./manage.py loaddata dump.json

cp passenger_wsgi.py.nextgen passenger_wsgi.py
touch tmp/restart

# basic test
# test login is preserved


next
====
- 500 error when trying to post comment


code cleansing
==============
- rename /media/ to /static/
- move templates inside oneliners module
    - replace main/ with oneliners/ when rendering templates
- fix settings import
- make tweet script proper admin command
- replace bashoneliners.com references using Sites
- see newproj.views._response
- remove initial=initial in oneliner_edit (and others)


future releases
===============
- upgrade openid provider, there is a deprecation warning
- Voting
	- vote up
	- vote down
	- cancel vote
	- see own vote on one-liner
	- see all own votes on profile page
- TOP 50
- mark as favourite
- ajax controls to change one-liner or question status from public to private
- the user who asked the question can mark the best answer
- api with different query options and output format options
- logo, better design
- add pip requirements file