rgarcia
|
57b9266675
|
removes dictionary from debate search
|
2015-10-30 21:24:46 +01:00 |
|
rgarcia
|
196bc04901
|
adds pg_search to debates
|
2015-10-29 14:26:20 +01:00 |
|
kikito
|
b27c91f40b
|
disallow voting debates or proposals when user is nil in some tests
|
2015-10-20 18:59:35 +02:00 |
|
rgarcia
|
6832b0e404
|
makes spaces consistent
|
2015-09-28 15:08:08 +02:00 |
|
rgarcia
|
7b9f2c9695
|
refactors sanitizable behaviour
|
2015-09-28 15:06:22 +02:00 |
|
rgarcia
|
590c0b9242
|
refactors length validations
|
2015-09-28 14:48:53 +02:00 |
|
rgarcia
|
6d5d60c0df
|
refactors conflictable behaviour
|
2015-09-28 13:38:48 +02:00 |
|
rgarcia
|
8e42055ece
|
refactors taggable behaviour
|
2015-09-28 13:33:57 +02:00 |
|
Enrique García
|
ae166a6836
|
Merge pull request #505 from dgilperez/debates_max_votes_editable
Adds setting to control max number of votes for a Debate to be editable
|
2015-09-22 16:52:52 +02:00 |
|
kikito
|
757205a93e
|
Unifies bulk & debates moderation forms in a single one
|
2015-09-21 15:41:01 +02:00 |
|
Juanjo Bazán
|
2ffb22a249
|
Merge pull request #519 from AyuntamientoMadrid/fix-tagcloud-488
Fix tagcloud
|
2015-09-17 17:24:39 +02:00 |
|
kikito
|
8ff8a1df7f
|
Makes tags count only visible debates and proposals
|
2015-09-17 16:54:10 +02:00 |
|
David Gil
|
0418872fff
|
tidies up a bit and adds wild: true for tag-based debate searching
|
2015-09-17 14:48:43 +02:00 |
|
David Gil
|
f231104edc
|
adds setting to control max number of votes for a Debate to be editable
|
2015-09-15 21:08:01 +02:00 |
|
David Gil
|
497c595704
|
considers tags within a debate search
|
2015-09-15 15:06:34 +02:00 |
|
kikito
|
47c95078f2
|
Extract score calculation to a module
|
2015-09-14 20:36:04 +02:00 |
|
kikito
|
9acb07c323
|
implements a new hot scoring system
|
2015-09-14 20:36:04 +02:00 |
|
kikito
|
d57d538f3b
|
Extracts Flammable module from comment & debate
|
2015-09-12 14:05:24 +02:00 |
|
rgarcia
|
58a780bac5
|
reverts postgres extension until permissions enabled at server level
|
2015-09-11 16:31:24 +02:00 |
|
kikito
|
c399ddf18d
|
Adds default values to limits when the db does not have them
This prevents errors when doing rake db:setup (the db has still not
been created but the rails models are loaded)
|
2015-09-11 11:32:29 +02:00 |
|
David Gil
|
1833c83351
|
unaccents Debate.search terms and tests that
|
2015-09-10 21:03:55 +02:00 |
|
David Gil
|
8ed434cc8b
|
uses more rails-like syntax in scopes
|
2015-09-10 18:44:33 +02:00 |
|
kikito
|
2d3015703d
|
replaces constants by class methods + private functions. Fixes broken tests
|
2015-09-10 13:02:21 +02:00 |
|
kikito
|
f93173ef4a
|
fixes typo
|
2015-09-09 19:37:52 +02:00 |
|
kikito
|
8c9f189d75
|
merges master and fixes conflicts
|
2015-09-09 19:36:23 +02:00 |
|
rgarcia
|
6a09e6548d
|
reverts - stats with delayed jobs
|
2015-09-09 19:17:13 +02:00 |
|
kikito
|
5e7a5b57de
|
Adds max lengths and validations in models
|
2015-09-09 18:32:36 +02:00 |
|
rgarcia
|
e555126331
|
tracks debate visits from the controller
|
2015-09-09 14:41:19 +02:00 |
|
rgarcia
|
d843690586
|
takes into account precision for confidence score
|
2015-09-08 15:44:04 +02:00 |
|
Enrique García
|
db969b0380
|
Merge pull request #429 from AyuntamientoMadrid/confidence_score
Confidence score
|
2015-09-08 15:00:51 +02:00 |
|
rgarcia
|
96ae7575b1
|
adds confidence_score to debates
|
2015-09-08 14:40:14 +02:00 |
|
kikito
|
eac0928d0f
|
changes on the hot-score calculation
|
2015-09-08 14:18:44 +02:00 |
|
rgarcia
|
bb5e18e609
|
refactors conflictive debates
|
2015-09-07 17:43:48 +02:00 |
|
rgarcia
|
4ce95e2735
|
adds conflictive debates
|
2015-09-07 16:58:00 +02:00 |
|
Juanjo Bazán
|
26a2a67a71
|
refactors debate's tags related utility methods
tags are already loaded, using them instead of extracting them again for each debate saves 50 query per index (2 query per debate in the page)
|
2015-09-06 22:51:34 +02:00 |
|
rgarcia
|
0bca1c5b95
|
upgrades ruby hash syntax
|
2015-09-05 22:02:51 +02:00 |
|
Juanjo Bazán
|
771f44c22b
|
adds self.search to Debate
|
2015-09-05 15:05:56 +02:00 |
|
Juanjo Bazán
|
0a33a64c93
|
typo
|
2015-09-04 23:22:16 +02:00 |
|
kikito
|
08c31c5985
|
calls all the sorting scopes the same way
|
2015-09-04 14:17:59 +02:00 |
|
kikito
|
9bb63e9b32
|
Makes comments increase the hot_score
|
2015-09-04 14:04:45 +02:00 |
|
kikito
|
83ebbb14b1
|
Refactors hot_score calculations
|
2015-09-04 13:59:30 +02:00 |
|
kikito
|
fba4f1fade
|
Adds initial hot score implementation for debates
|
2015-09-04 12:34:17 +02:00 |
|
kikito
|
3012f2ffcd
|
Removes reorder in debate (no default order)
|
2015-09-04 11:54:19 +02:00 |
|
kikito
|
134f38a38f
|
Removes debates default order
|
2015-09-04 11:51:21 +02:00 |
|
kikito
|
7c3ca55de1
|
Adds the default score selector/controller. Refactors debates specs
|
2015-09-04 11:50:07 +02:00 |
|
Juanjo Bazán
|
559b60e63f
|
adds random order to debates' index
|
2015-09-03 18:50:19 +02:00 |
|
Juanjo Bazán
|
dbfa35c444
|
adds 'most commented' order to debates
|
2015-09-03 18:31:16 +02:00 |
|
Juanjo Bazán
|
cd3806476f
|
removes 'most voted' order from debates
|
2015-09-03 18:20:12 +02:00 |
|
Juanjo Bazán
|
bcb1f2ba72
|
adds order by score to debates
|
2015-09-03 18:13:48 +02:00 |
|
Juanjo Bazán
|
358028c3e6
|
Fixes conflicts. Merge branch 'master' into ancestry
|
2015-09-03 16:37:28 +02:00 |
|