Juanjo Bazán
c258a4f3b4
adds scope for only normal user comments
2015-11-12 12:15:36 +01:00
Juanjo Bazán
7f1fe034a3
adds user's public show page
2015-11-03 19:29:35 +01:00
kikito
73c306a673
Adds 3 orders for comments: most_voted, newest, oldest
2015-11-02 14:01:55 +01:00
kikito
2fab210ac8
merges with master and fixes conflicts
2015-10-31 17:09:52 +01:00
rgarcia
ebf44c8777
temporarily using old search for debates
2015-10-30 21:54:15 +01:00
rgarcia
9132406569
bringing back standard pg_search configuration for debates
2015-10-30 21:53:58 +01:00
rgarcia
640bea39c5
removes tsearch for debates
2015-10-30 21:35:16 +01:00
rgarcia
3eb9fb41aa
increasing trigram threshold for debates
2015-10-30 21:32:16 +01:00
rgarcia
57b9266675
removes dictionary from debate search
2015-10-30 21:24:46 +01:00
kikito
0cf592af71
Fixes two issues in comment_tree
...
* The descendants list for a comment was not being built correctly
* The root comments must be ordered “newest first”, but their
descendants must be ordered “newest last”
2015-10-30 20:06:36 +01:00
rgarcia
f523205586
includes physical votes in score calculations
2015-10-30 19:26:45 +01:00
rgarcia
5223ec664c
adds physical_votes to vote counter
2015-10-30 19:26:25 +01:00
rgarcia
55acc5d3d1
adds pg_search to proposals
2015-10-29 14:26:20 +01:00
rgarcia
196bc04901
adds pg_search to debates
2015-10-29 14:26:20 +01:00
kikito
a7daf0108b
sorts comments by creation date after sorting by confidence_score
2015-10-28 17:34:02 +01:00
kikito
f5d9ea4357
adds confidence_score capacity to the comment model
2015-10-28 16:25:35 +01:00
Juanjo Bazán
cf4f9945e8
checks letter verification code as integers
2015-10-27 19:15:01 +01:00
Juanjo Bazán
bd4168ef75
changes generation of letter verification code
...
to keep generating six digit numbers but avoid starting with zero because can led to errors when sent to users.
2015-10-27 13:32:38 +01:00
rgarcia
c71bf4c876
tracks visits from different email templates
2015-10-22 12:23:15 +02:00
Juanjo Bazán
c896fc3eef
adds ability for featured_votes of proposals
2015-10-22 11:53:32 +02:00
Enrique García
a8d98c5426
Merge pull request #630 from AyuntamientoMadrid/fix-erase
...
Fix erase
2015-10-21 15:31:45 +02:00
kikito
6c5d1faa90
Uses the new field, erased_at, for erased users
2015-10-21 14:28:21 +02:00
kikito
f08cf591b6
fixes an issue where users which requested a letter did not get the verification code set up
2015-10-21 12:08:56 +02:00
Enrique García
3897af6b71
Merge pull request #627 from AyuntamientoMadrid/refactor-votes-spec
...
refactors votes_spec
2015-10-20 19:51:21 +02:00
kikito
b27c91f40b
disallow voting debates or proposals when user is nil in some tests
2015-10-20 18:59:35 +02:00
kikito
3ab579999e
merges with master and fixes conflicts
2015-10-20 16:28:22 +02:00
kikito
0d0806c9ae
improvements in the letter verification error messages
2015-10-20 16:19:17 +02:00
kikito
20aee99bbf
remove letter_sent verification
2015-10-20 13:16:40 +02:00
rgarcia
8904748ae2
fixes specs
2015-10-19 23:23:09 +02:00
rgarcia
5fe1bb3eee
verifies the letter's code
2015-10-19 22:58:44 +02:00
rgarcia
0d01f431fb
simplifies verification form
2015-10-19 20:33:10 +02:00
kikito
e32e4491f0
merges with master
2015-10-19 20:16:58 +02:00
kikito
9267948a99
Nullifies instead of emptying user
2015-10-19 20:13:42 +02:00
kikito
34753296fb
changes user verifications for hidden users
2015-10-19 20:12:45 +02:00
rgarcia
79503a2a29
Merge branch 'stable' of github.com:AyuntamientoMadrid/participacion into stable
2015-10-19 13:34:14 +02:00
Juanjo Bazán
07117f4a49
includes all date in document age verification
2015-10-19 12:18:42 +02:00
rgarcia
0a668ae39a
checks valid age
2015-10-19 11:20:32 +02:00
kikito
1511f811fd
implements first version of user.erase
2015-10-16 14:25:05 +02:00
Juanjo Bazán
df14e979ca
deletes Manager
2015-10-15 16:02:45 +02:00
rgarcia
e08ed41e98
fixes conflicts with master
2015-10-14 15:48:55 +02:00
kikito
72b6126f30
uses the month (%m) instead of the minute (%M) in the proposal code
2015-10-14 12:40:26 +02:00
kikito
050971c459
modifies email controllers: management email makes users level two verified, and sets their document number permanently. Fixes failing test
2015-10-13 17:20:39 +02:00
kikito
8d82ca05c0
Allows manually verifying users to level 2 without specifying a phone
2015-10-13 17:14:00 +02:00
rgarcia
fdd777174c
allows updates of cached_votes
2015-10-12 22:38:18 +02:00
rgarcia
c07bf7e212
removes unnecessary attr_accessor
2015-10-12 14:12:03 +02:00
rgarcia
f55c3974aa
refactors managed user info into management layout
2015-10-12 14:05:06 +02:00
rgarcia
5feef066dc
adds managed user to session
2015-10-11 16:56:16 +02:00
kikito
99bb082555
refactors management/validations/email validations
2015-10-09 13:47:25 +02:00
kikito
f7ac7a526d
merge with master
2015-10-08 15:26:33 +02:00
kikito
d351daedd4
Adds document_number-related constraints to User
2015-10-08 15:19:11 +02:00