Commit Graph

205 Commits

Author SHA1 Message Date
rgarcia
6540092bcd displays the top 3 proposals for every category 2016-02-16 12:17:37 +01:00
Juanjo Bazán
c4055d1c28 adds searching by proposal code
Closes #844
2016-02-12 13:54:57 +01:00
rgarcia
af6bfdbb46 moves search logic to a searchable module 2016-02-05 14:10:02 +01:00
kikito
b1534c1f56 moves html escaping to search_cache 2016-02-03 18:39:07 +01:00
kikito
986919503a refactors proposals search 2016-02-03 18:26:48 +01:00
rgarcia
21b9e31f11 uses geozones instead of district tags 2016-01-25 22:28:46 +01:00
Juanjo Bazán
09b53a3d0a Merge pull request #822 from consul/advanced-search
Advanced search
2016-01-18 15:17:17 +01:00
Josep Jaume Rey Peroy
5de3d700e4 Simplify Settings API 2016-01-18 12:43:34 +01:00
Alberto Garcia Cabeza
8ef74f1e11 Merges master branch 2016-01-18 11:33:49 +01:00
rgarcia
82f9a656ad moves search by author name to full text searches 2016-01-16 22:10:17 +01:00
rgarcia
d147cec929 moves filters to a concern 2016-01-13 19:25:48 +01:00
Julian Herrero
bf302be879 add frendly urls for debates and proposals 2016-01-08 17:24:49 +01:00
pardoam
b2686cc6d1 five_last_week 2015-12-02 14:48:41 +00:00
rgarcia
3f68c6726a maintains responsible name when user is erased 2015-11-23 19:12:57 +01:00
rgarcia
a44242b82a orders results after search 2015-11-23 13:40:05 +01:00
rgarcia
1429728368 improves search order 2015-11-18 21:30:12 +01:00
rgarcia
c212aa3afd fixes specs 2015-11-18 21:04:16 +01:00
rgarcia
8b22c59bec removes trigram search algorithm 2015-11-18 20:04:19 +01:00
rgarcia
8188b29e10 adds consistent indentation to hash 2015-11-18 17:57:57 +01:00
kikito
c7bf31c588 Make search cache order aware & accept values instead of column names 2015-11-18 17:57:57 +01:00
rgarcia
1de91658c7 extracts cached tsvector to concern 2015-11-18 17:57:56 +01:00
rgarcia
fa83e196ca adds tags to tsvector 2015-11-18 17:57:56 +01:00
rgarcia
25184666a5 uses tsvector column to search 2015-11-18 17:57:56 +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
kikito
b27c91f40b disallow voting debates or proposals when user is nil in some tests 2015-10-20 18:59:35 +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
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
kikito
8ff8a1df7f Makes tags count only visible debates and proposals 2015-09-17 16:54:10 +02:00
kikito
8f8afdfd62 Proposals hot_score 2015-09-14 20:37:32 +02:00
rgarcia
6b15ccafe2 adds summary to proposals 2015-09-14 20:07:27 +02:00
rgarcia
c9e46e3d8f fixes conflicts 2015-09-14 16:46:00 +02:00
rgarcia
e9e339fa50 adds responsible name to proposals 2015-09-14 16:43:32 +02:00
Juanjo Bazán
074ae995f4 moves magic number to Settings 2015-09-14 13:37:16 +02:00
rgarcia
6f7a6dcf3b removes possibility of taking away support for proposals 2015-09-14 13:11:47 +02:00
kikito
822b2c728e Adds a new sort scope for proposals 2015-09-13 22:07:45 +02:00
rgarcia
6641c380bc fixing conflicts 2015-09-13 22:00:59 +02:00
rgarcia
ad8880d02c adds proposal votes 2015-09-13 21:56:52 +02:00
Juanjo Bazán
2eefdb2499 adds magic number 2015-09-13 18:59:46 +02:00
kikito
2466b2b830 adds the same routes as debates have to proposals 2015-09-13 12:26:23 +02:00
rgarcia
f1dd550cd9 fixes js injection for proposal description 2015-09-13 12:11:39 +02:00
kikito
849a2c83a8 Implements searching in proposals 2015-09-12 18:35:45 +02:00
Juanjo Bazán
815ee0ad62 saves a query 2015-09-12 16:19:17 +02:00
kikito
f80d7771a1 Adds paranoia & Flammable to proposal 2015-09-12 14:05:24 +02:00
Juanjo Bazán
e407173e4b adds code to proposals 2015-09-12 13:14:59 +02:00
Juanjo Bazán
26113cac96 adds setting value check in Proposal#editable? 2015-09-12 12:53:22 +02:00