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
ddc8097e7d
adds feature tests for the descendant comment sorting
2015-10-30 20:28:06 +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
Juanjo Bazán
4797a59652
Merge pull request #658 from AyuntamientoMadrid/physical_votes
...
Physical votes
2015-10-30 19:33:43 +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
kikito
60b3c65b05
Refactor comment tree calculation using a PORO
2015-10-30 17:00:32 +01:00
Enrique García
a04ca01fc5
Merge pull request #656 from AyuntamientoMadrid/no-featured-on-tags
...
hides featured proposal from tag page
2015-10-30 16:34:10 +01:00
Enrique García
b66bfedfc4
Merge pull request #657 from AyuntamientoMadrid/remove_highlights
...
Removes highlights link
2015-10-30 16:33:53 +01:00
Alberto Garcia Cabeza
716a5acd1f
Removes highlights link
2015-10-30 14:47:49 +01:00
Juanjo Bazán
d3423b72b8
hides featured proposal from tag page
2015-10-30 12:14:18 +01:00
kikito
bfd89ed15a
Adds current order to the comments cache in proposals and debates
2015-10-29 17:36:50 +01:00
rgarcia
9465c1ccb3
fixes syntax error
2015-10-29 17:20:52 +01:00
rgarcia
9a6238f154
creates postgres extensions if they don't exist
2015-10-29 17:18:08 +01:00
Juanjo Bazán
30d4312e1e
Merge pull request #654 from AyuntamientoMadrid/search
...
Mejorar Búsquedas
2015-10-29 16:46:32 +01:00
rgarcia
593ed551d4
adds search specs
2015-10-29 14:29:52 +01:00
rgarcia
246e49c561
adds postgres extension for local use
2015-10-29 14:26:41 +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
rgarcia
8147e92f3b
adds pg_search gem
2015-10-29 14:26:20 +01:00
Raimond Garcia
b302b4bb36
Merge pull request #653 from AyuntamientoMadrid/remove-beta
...
Remove beta testers functionality
2015-10-29 13:28:29 +01:00
Juanjo Bazán
1e0ac137bb
removes beta testers functionality
2015-10-29 13:19:00 +01:00
Juanjo Bazán
01022d2b42
Merge pull request #651 from AyuntamientoMadrid/translations_en
...
Translations en
2015-10-29 12:46:14 +01:00
Raimond Garcia
0b69c435b9
Merge pull request #652 from AyuntamientoMadrid/design_print_proposals
...
Improves styles for print_proposals
2015-10-28 20:20:43 +01:00
Alberto Garcia Cabeza
2e421ff760
Improves styles for print_proposals
2015-10-28 20:06:04 +01:00
kikito
50fdd005a4
Implements comment sorting in proposals and debates
2015-10-28 18:40:32 +01:00
kikito
26a9ca58cd
Fixes failing tests which failed due to a new form existing now
2015-10-28 17:35:59 +01:00
kikito
d6396b38b6
Adds missing comments order in management controller
2015-10-28 17:34:51 +01:00
kikito
a7daf0108b
sorts comments by creation date after sorting by confidence_score
2015-10-28 17:34:02 +01:00
kikito
b2918621ab
Refactors in children count when rendering comments
2015-10-28 17:33:24 +01:00
kikito
4aa364a561
Adds a rake task to calculate the confidence score of all the comments in the system
2015-10-28 17:23:04 +01:00
kikito
f5d9ea4357
adds confidence_score capacity to the comment model
2015-10-28 16:25:35 +01:00
kikito
da19d4d773
replace most_voted by confidence_score in comment views
2015-10-28 16:02:40 +01:00
kikito
094ec09576
Adds migration for comment.confidence_score
2015-10-28 16:00:34 +01:00
kikito
e4bfc72649
Refactors design of comments order selector into a partial with i18n
2015-10-28 15:48:48 +01:00
Alberto Garcia Cabeza
2b5a184bfe
Updates texts for tests
2015-10-28 14:03:02 +01:00
Alberto Garcia Cabeza
82eb0bd902
Adds comments filter for debates and proposals
2015-10-28 13:28:37 +01:00
Alberto Garcia Cabeza
f675816de2
Improves styles for language select
2015-10-28 12:51:23 +01:00
Alberto Garcia Cabeza
2bf6603207
Merges master and fixes conflicts
2015-10-28 12:51:23 +01:00
Alberto Garcia Cabeza
abad54d01a
Updates tests with new texts
2015-10-28 12:47:51 +01:00
Alberto Garcia Cabeza
7843834c9c
Standardizes yml files format
2015-10-28 12:47:51 +01:00
Alberto Garcia Cabeza
de1bfd440b
Adds more english translations
2015-10-28 12:46:22 +01:00
Alberto Garcia Cabeza
90d69e8150
Adds new english translations
2015-10-28 12:42:31 +01:00
Juanjo Bazán
f917c21c2a
Merge pull request #644 from Serabe/feature/refactor-comment-body-classes
...
Refactor comment body
2015-10-28 10:06:49 +01:00
Sergio Arbeo
52de028be6
Add helper tests
2015-10-28 00:39:57 +01:00
Raimond Garcia
e5e1191bfd
Merge pull request #650 from AyuntamientoMadrid/verification-code
...
Check letter verification codes as integers
2015-10-27 19:24:38 +01:00
Juanjo Bazán
cf4f9945e8
checks letter verification code as integers
2015-10-27 19:15:01 +01:00
Juanjo Bazán
caf2096165
Merge pull request #649 from AyuntamientoMadrid/dependencies
...
updates dependencies
2015-10-27 18:58:29 +01:00