Commit Graph

4173 Commits

Author SHA1 Message Date
Lucas Andión Montáns
2569e18e08 Update "More information" links to use PagesController
Paths were hardcoded instead of using PagesController actions and defined routes under routes.rb
2015-11-04 09:47:24 +01:00
Juanjo Bazán
6d26901f9f adds specs for user's page 2015-11-03 20:26:13 +01:00
Juanjo Bazán
8c4444985f renames spec 2015-11-03 20:18:00 +01:00
Raimond Garcia
c3fba60d05 Merge pull request #667 from AyuntamientoMadrid/dynamic-supports-number
removes hardcoding of proposal's supports
2015-11-03 19:56:33 +01:00
Juanjo Bazán
fe0618e2c1 restyling user's page 2015-11-03 19:54:57 +01:00
Juanjo Bazán
e8232f296e adds comments to user's page 2015-11-03 19:40:02 +01:00
Juanjo Bazán
7b2e09d54d adds debates to user's page 2015-11-03 19:29:35 +01:00
Juanjo Bazán
15e2ca815d adds activity page with user's proposals 2015-11-03 19:29:35 +01:00
Juanjo Bazán
7f1fe034a3 adds user's public show page 2015-11-03 19:29:35 +01:00
Juanjo Bazán
628cbd9e20 removes hardcoding of proposal's supports
makes it dynamic based on Proposal.votes_needed_for_success
2015-11-03 19:20:13 +01:00
Juanjo Bazán
4694cf1f64 Merge pull request #666 from AyuntamientoMadrid/comments-confidence-score-fixes
makes confidence score non-nullable and default to 0 in comments
2015-11-03 19:17:40 +01:00
kikito
acbdf895f3 makes confidence score non-nullable and default to 0 in comments 2015-11-03 18:59:17 +01:00
kikito
f3007280cb Changes the rake comments:confidence_score task to include hidden comments 2015-11-03 18:54:11 +01:00
Raimond Garcia
5ad9a2d203 Merge pull request #665 from AyuntamientoMadrid/ahoy-geocode-deactivate
removes geocoding from ahoy
2015-11-03 18:14:40 +01:00
kikito
6193dee20f removes geocoding from ahoy 2015-11-03 16:11:09 +01:00
Raimond Garcia
9b1e4e6f32 Merge pull request #660 from AyuntamientoMadrid/comments-order
Comments order
2015-11-02 17:38:19 +01:00
Enrique García
b6d86b05bf Merge pull request #663 from AyuntamientoMadrid/update-dependencies
updates dependencies
2015-11-02 17:31:52 +01:00
kikito
cf31e89204 Fixes issues in moderation spex related with comment sort 2015-11-02 15:54:15 +01:00
kikito
f0e9005332 Adds missing spec to comment 2015-11-02 14:01:55 +01:00
kikito
73c306a673 Adds 3 orders for comments: most_voted, newest, oldest 2015-11-02 14:01:55 +01:00
Juanjo Bazán
2c2f65d28a updates dependencies 2015-11-02 11:54:36 +01:00
Juanjo Bazán
8dd60b47f6 removes duplicated file 2015-11-01 15:24:55 +01:00
kikito
2fab210ac8 merges with master and fixes conflicts 2015-10-31 17:09:52 +01:00
Juanjo Bazán
36e3ee0c5b Merge pull request #661 from AyuntamientoMadrid/add_text
Adds message for deleted account notice
2015-10-31 16:09:39 +01:00
Alberto Garcia Cabeza
f8fa13661e Adds message for deleted account notice 2015-10-31 10:29:20 +01:00
Raimond Garcia
8817427457 Merge pull request #659 from AyuntamientoMadrid/pg_search_limit
Pg search limit
2015-10-30 22:30:49 +01:00
rgarcia
84610db830 marking debates search specs as pending 2015-10-30 22:04:07 +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
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