Commit Graph

1368 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
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
kikito
cf31e89204 Fixes issues in moderation spex related with comment sort 2015-11-02 15:54:15 +01:00
kikito
73c306a673 Adds 3 orders for comments: most_voted, newest, oldest 2015-11-02 14:01:55 +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
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
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
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
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
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
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
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
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
e4bfc72649 Refactors design of comments order selector into a partial with i18n 2015-10-28 15:48:48 +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
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
Juanjo Bazán
cf4f9945e8 checks letter verification code as integers 2015-10-27 19:15:01 +01:00
Juanjo Bazán
5a866740a1 Merge pull request #647 from Serabe/feature/update-comment-count
Update comments count when commenting on a debate or proposal
2015-10-27 13:44:17 +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
Sergio Arbeo
12ec1fe6f6 Update comments count when commenting on a debate or proposal 2015-10-27 01:02:39 +01:00
Sergio Arbeo
4e7493c75c Refactor comment body
Refactor the body of the comment to use a couple of helpers instead of a long
list of `if`s in the html.
2015-10-26 14:51:34 +01:00
Sergio Arbeo
3013d13b38 Add paragraphs to comments
Fix #600
2015-10-26 01:25:53 +01:00
Raimond Garcia
3ef5562f1a Merge pull request #641 from AyuntamientoMadrid/management-polishing
Management polishing
2015-10-24 15:02:58 +02:00
Juanjo Bazán
510d85cf97 unifies session key 2015-10-23 14:05:23 +02:00
Juanjo Bazán
f1bc7af462 makes manager logout to remove session user data 2015-10-23 13:37:19 +02:00
Juanjo Bazán
854499b135 adds localization to management 2015-10-23 13:36:43 +02:00
Juanjo Bazán
b672f32604 Merge pull request #639 from AyuntamientoMadrid/changes_text
Changes texts on error verification and faqs page
2015-10-23 13:19:32 +02:00
Juanjo Bazán
2a286c6b33 shows proposal view inside management layout 2015-10-23 12:56:09 +02:00
Alberto Garcia Cabeza
2cbfde8f66 Changes texts on error verification and faqs page 2015-10-23 12:47:04 +02:00
kikito
ac1507e85e Fixes error when signing up new users. Fixes #624 2015-10-23 12:09:45 +02:00
Juanjo Bazán
3802bc78b5 removes comments
This controller is no longer used in /management
2015-10-23 11:22:23 +02:00
Juanjo Bazán
f4e9572464 shows 'choose options' text only when needed 2015-10-23 11:08:29 +02:00