-
Notifications
You must be signed in to change notification settings - Fork 4
/
todo.txt
147 lines (97 loc) · 4.69 KB
/
todo.txt
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
When you alter a policy vote, it prints division name in the text on the forum.
But that division name doesn't account for wiki edits.
Email you when your MP rebels
1999 -- put date lords goes back to now
check all appear in div listing page
Sign up to email list from top of page form while logged in and doesn't work
- when succeeded in signing up for newsletter, should advertise full login
- instead of screen name AND real name just have "name". let people change it.
- allow letters (including accents), spaces, apostrophese, hyphens in that name
- use email address for logging in
- call it an account more explicitly
- if you have link in newsletter, and they aren't fully registered and they
then register, it doesn't need to reconfirm their email
work on newsletter text for when you are signed in (e.g. top right box)
alerts on chggpages
check against numbers page
http://www.parliament.uk/directories/house_of_lords_information_office/analysis_by_composition.cfm
Division alerts
Make it clearer can discuss individual Policy votes on forum
*** Show comments actually on the policy page / divisions page
Indicate better that discussion can go on?
remove blank table from search
Backup database on seagrass
Seagrass:
(17:37:02) chris: no
(17:37:32) chris: i'd grab tw_cli from 3ware (may be in debian nonfree) and just diff its output against known-good output
(17:37:39) chris: the card will log stuff to syslog if anything breaks
check mp and division distance stuff is updating
Change "Policy vote" title to name of Policy
http://www.publicwhip.org.uk/mp.php?mpid=1755&dmp=367
Your views / My policies
----------
Record when you last looked, and tell you how you voted since due to your aggregates
- Make everyone check out changes
- Make sure people can easily comment/discuss them
Usability
---------
Mail me whenever my MP rebels
People think "policy" means "government policy". Sigh.
Edit division text
- split into separate boxes for title and text
- put Edit/Discuss links on division page in right hand column
- try showing part of the discussion inline in that column
- Discuss changes ---> See and discuss changes
- fckeditor
Policy / MP comparison box should let you enter name of MP
or constituency as well as postcode
Electech tour for first time users
Do a big usability thing - get Tom L / Tom S / Electech to help with his ideas
Rethink "Join us" section of site
- Email with random unedited motion text
Link more clearly to simple list of aye/no voters - perhaps from word "aye" in
party summary table, or in first line on division page (the Aye-voters). (FD)
Finish rename of motion text editing (e.g. in project/ pages)
Make policy vote selection have drop down, show most recent 3 at top
Show divisions with the same beginning part of title in sidebar
- or nearby in clocktime?
Policies need an issue name, and a position on the issue name
- useful to be able to say for/against
Calculate interesting divisions for MP pages using
- rebellion
- turnout
- government majority
- is teller
User page on forum - link to all of a user's policies?
Backup dynamic database on cron job
200% http://www.publicwhip.org.uk//mp.php?mpn=Christopher_Chope&mpc=Christchurch&dmp=797&display=motions
When counts mismatch between list of names and Hansard's totals,
automatically say it is suspicious
Make pretty table instead of equation for division comparison
http://www.publicwhip.org.uk/division.php?date=2005-12-02&number=114&date2=2004-07-16&number2=229
& isn't escaped to & in URLs
Future
------
"Publish the whip" campaign - get people to sign up to it
Show on division listing page where Lib Dem voted with Tory, where with Labour
Mark completely uncontentious divisions (nobody opposed) in some special way.
Policy aggregation function - generic version of election.php
Search needs to search division text and policy text and forum
Preview on motion editing form, and policy editing
Show if and how many times each person spoke in debate leading up to division,
and link to their speeches (FD)
Compare parties to policy
Code rewrite (pwaring)
----------------------
Fix all instances where code throws E_NOTICE errors or uses features
which are deprecated in PHP 5.3.x.
Move global variables into constants where possible - e.g. database
connection information.
Switch to a database abstraction library such as ADODB, and rewrite
all SQL queries to use bound parameters (e.g. SELECT * FROM table WHERE id = ?)
Change to a templating system, two options are:
Smarty - http://www.smarty.net
Twig - http://www.twig-project.org/
Change passwords to use something more secure than MD5, probably using
this library which uses salts and variable interactions:
http://www.openwall.com/phpass/