Commit Graph

7804 Commits

Author SHA1 Message Date
Juanjo Bazán
711c2280c6 avoids duplicate entries in officers list 2017-02-12 20:10:02 +01:00
Juanjo Bazán
909114bcf5 cleans common can answer ability 2017-02-12 19:40:08 +01:00
kikito
8ca4cc22b0 Adds specs for creating failed officing census calls 2017-02-12 14:22:46 +01:00
kikito
3b2f2b0fd7 Changes models so that officers can make failed census calls 2017-02-12 14:22:46 +01:00
Juanjo Bazán
db9ee74828 removes max restriction on title length 2017-02-12 13:08:26 +01:00
Amaia Castro
6737d6afdd Make annotation context work with multi-node annotations 2017-02-10 18:16:09 +01:00
Amaia Castro
4cb1bba5a7 Use range offsets instead of quote for substitution 2017-02-10 15:55:03 +01:00
Amaia Castro
b298fb7316 Show annotation context in annotation page
Only works with quotes within the same html node for now
2017-02-10 15:35:42 +01:00
Enrique García
2050962270 Merge pull request #1412 from consul/user_is_back
Allow erased verified users to come back
2017-02-10 12:10:20 +01:00
Fernando Blat
04ad8bb6c7 Refactor JS and add update test 2017-02-10 09:48:28 +01:00
Juanjo Bazán
590a7bce44 reassigns erased user votes when returning user is verified 2017-02-09 20:20:30 +01:00
Juanjo Bazán
35078848c3 adds methods to take votes from other user (generic & erased) 2017-02-09 20:09:06 +01:00
Amaia Castro
132d5622ca Checkboxes for process dates 2017-02-09 19:09:59 +01:00
Alberto Garcia Cabeza
f7971a3c9f improves tables layout on admin polls show views 2017-02-09 19:03:06 +01:00
Alberto Garcia Cabeza
ff0013e60c improves table layout on admin poll questions 2017-02-09 18:48:06 +01:00
Juanjo Bazán
ae5ba97f1e adds erased scope to User 2017-02-09 18:43:50 +01:00
Alberto Garcia Cabeza
b4660e162a improves table layout on admin polls index 2017-02-09 18:38:56 +01:00
Amaia Castro
28de717300 Show only active phases 2017-02-09 17:32:38 +01:00
Amaia Castro
5d37997a69 Redirect to allegations phase if open 2017-02-09 16:59:02 +01:00
Amaia Castro
d656de680d Social share buttons for annotation 2017-02-09 15:32:42 +01:00
Fernando Blat
5d060d6d8c Merge pull request #110 from medialab-prado/101-open-rsponses-only-for-verified-users
Check open phase and user verification for questions open answers
2017-02-09 14:45:42 +01:00
Fernando Blat
a22cb764ad Merge pull request #111 from medialab-prado/99-make-process-texts-optional
Make process texts optional
2017-02-09 14:43:59 +01:00
Amaia Castro
d65f1998d0 Sort comments in sidebar by number of votes 2017-02-09 12:42:00 +01:00
Amaia Castro
08ab7474d0 Make process texts optional 2017-02-09 12:27:16 +01:00
Alberto Garcia Cabeza
0025b7faec adds link to configure poll (poll show) on admin poll index 2017-02-08 22:23:17 +01:00
Alberto Garcia Cabeza
086b4108e7 improves message of geozone info on poll index 2017-02-08 22:19:33 +01:00
Amaia Castro
3009706b0d Don’t allow comments on questions for unverified users and when the phase is closed 2017-02-08 18:19:10 +01:00
Juanjo Bazán
d7000e399f logs user info in officer_assignments
In case user is no longer a poll officer, info on who did what is
stored in officer_assignment
2017-02-08 15:50:13 +01:00
Amaia Castro
60c7947cb4 Merge branch 'master' into legislation-module-stable 2017-02-08 12:24:40 +01:00
Juanjo Bazán
cb75be8f6a Merge branch 'master' into polls 2017-02-08 11:25:20 +01:00
Alberto Garcia Cabeza
9a03507a0c adds autocomplete off and type number on officing residence form 2017-02-07 20:11:55 +01:00
Juanjo Bazán
ba0b39a45c avoids error 500 if invalid random_seed 2017-02-07 19:29:17 +01:00
Juanjo Bazán
e93461356c quotes random seed 2017-02-07 19:05:04 +01:00
kikito
c473f9856f makes age errors visible 2017-02-07 16:48:19 +01:00
kikito
e6fd615adf uses Poll::Question#author_visible_name in question/show 2017-02-07 12:09:19 +01:00
Alberto Garcia Cabeza
ec729ee1e1 removes total question count text on polls show 2017-02-07 10:46:46 +01:00
Raimond Garcia
6c93b8ced5 Merge pull request #1401 from consul/polls-show-share
polls show share
2017-02-06 20:49:57 +01:00
Alberto Garcia Cabeza
d19c3af21a adds social share on polls show view 2017-02-06 19:17:50 +01:00
Juanjo Bazán
35540cdcf1 adds poll results to admin
simple page shows results by question, white and null results
2017-02-06 17:12:54 +01:00
Fernando Blat
5cd263b79c In mobile, don't load comments in the sidebar, but use the permalink page 2017-02-06 13:15:37 +01:00
Fernando Blat
ea33dce3a6 Allow 5 levels of highlighting 2017-02-06 12:59:57 +01:00
Fernando Blat
ee90bca24d Highlight current annotation 2017-02-06 12:57:30 +01:00
Fernando Blat
09b14d9687 Annotation pointer cursor 2017-02-06 12:54:07 +01:00
Alberto Garcia Cabeza
26ac9f6759 makes buttons 100% width on mobile version 2017-02-06 12:04:50 +01:00
Alberto Garcia Cabeza
1d2a0c3fcd moves date info, makes polls title bigger 2017-02-06 12:04:31 +01:00
Raimond Garcia
7857dcf79c Merge pull request #1396 from consul/blanks_and_nulls
Blanks and nulls final results by poll officers
2017-02-03 20:23:27 +01:00
Juanjo Bazán
2a902c68eb adds creation of null and white results by poll officers 2017-02-03 19:11:04 +01:00
Juanjo Bazán
c9c4b30ffc adds Null/White Results models 2017-02-03 19:08:40 +01:00
Raimond Garcia
34bb7df8b1 Merge pull request #1394 from consul/polls-index
polls index
2017-02-03 18:33:30 +01:00
Alberto Garcia Cabeza
46d9961c36 adds icon if already answer poll 2017-02-03 17:43:44 +01:00