Julian Nicolas Herrero
702dc2bef5
Merge pull request #3154 from consul/backport-check_for_deleted_proposals
...
[Backport] checks for deleted proposals
2019-01-09 17:57:01 +01:00
Julian Nicolas Herrero
7ccab504f0
Merge pull request #3160 from consul/backport-1784-consistency_remove_semicolon_from_controllers
...
[Backport] Remove semicolons from controllers
2019-01-09 17:46:32 +01:00
Julian Nicolas Herrero
08a692341a
Merge pull request #3150 from consul/backport-1769-crud_budget_and_usa
...
[Backport] new CRUD budgets, content blocks and heading map
2019-01-09 17:35:46 +01:00
Javier Martín
90a66239a5
Merge pull request #3151 from consul/backport-fix_admin_investments_default_order
...
Add default order for admin budget investments list
2019-01-09 15:46:52 +01:00
Alberto
3733dc7ae1
Merge pull request #3165 from consul/linelength-rubocop
...
[Backport] Enable line length rubocop rule
2019-01-09 14:43:24 +01:00
decabeza
15dbfdf6e8
Enable line length rubocop rule
2019-01-09 13:45:42 +01:00
Javi Martín
7c06320f39
Fix typo
2019-01-09 12:55:27 +01:00
Javi Martín
be864ee92f
Make sure selected investment is visibile in spec
...
After changing the order for budget investments, the selected investment
didn't appear on the first page anymore, and so it couldn't be clicked
on during the test.
2019-01-09 12:55:22 +01:00
Julian Herrero
9a60135d9f
[Consistency] remove semicolons from controllers
2019-01-08 15:46:46 +01:00
Alberto
bbcb96027b
Merge pull request #3137 from consul/key-dates-processes
...
[Backport] Processes key dates
2019-01-08 10:51:40 +01:00
Alberto
c63ff52905
Merge pull request #3136 from consul/processes-custom-docs
...
[Backport] Show documents on processes proposals phase
2019-01-08 10:50:33 +01:00
rgarcia
e3eb87addb
checks for deleted proposals
2019-01-04 15:25:13 +01:00
María Checa
650fe2553e
Add default order for admin budget investments list
...
When there's no sorting option selected, by default it orders the investment list by supports and, for those with the same number of supports, by ID.
2019-01-02 12:52:28 +01:00
Julian Herrero
1ea18f0c89
refactor - correct place for block variable
2019-01-02 12:50:01 +01:00
Julian Herrero
c5a7492128
add some improvements on budget headings
...
Show information about longitude and latitude in a budget heading
Show information about custom content in a budget heading
Fix render of map (zoom scrollable and points clickable)
Fix typo in app/models/map_location.rb
2019-01-02 10:46:46 +01:00
Julian Herrero
2081269a67
fix Hound violations
2019-01-02 10:46:31 +01:00
Julian Herrero
d2b3943968
improve rendering of map in the sidebar
2019-01-02 10:41:03 +01:00
decabeza
5924a70385
Removes arrow icon on active process phase
2018-12-28 19:39:11 +01:00
decabeza
6b58a71f3f
Shows tabs only on large screens
...
Also moves ::after styles inside breakpoint(large down) to avoid use !important
2018-12-28 18:23:15 +01:00
decabeza
6a580ede5b
Improves layout of admin legislation homepage form
2018-12-28 18:23:12 +01:00
decabeza
dd8e2d6311
Shows participation phases only if there is a phase enabled
2018-12-28 18:23:08 +01:00
decabeza
2ac3406a98
Updates key dates i18n
2018-12-28 18:23:05 +01:00
decabeza
db86f0e7ab
Changes styles to tabs on processes key dates
2018-12-28 18:22:59 +01:00
decabeza
a8fb479be5
Adds specs for show view has document present on all phases
2018-12-28 17:22:08 +01:00
decabeza
a982f97cbd
Adds documents list on legislation process proposals phase
2018-12-28 17:22:03 +01:00
Javier Martín
6098fb1188
Merge pull request #3134 from consul/backport-indent_private_methods
...
Add rubocop rule to indent private methods
2018-12-28 14:52:05 +01:00
Javi Martín
d3671491e8
Enable indentation width cop
...
This cop is necessary so the `Layout/IndentationConsistency` cop works
properly when its `EnforcedStyle` is set to `Rails`, and so incorrect
indentation for `private` methods is properly detected.
2018-12-28 14:00:41 +01:00
Javier Martín
f7022b36b4
Merge pull request #3132 from consul/release_0.18
...
Release 0.18
2018-12-27 14:37:52 +01:00
Alberto
db740df33d
Merge pull request #3131 from consul/documents-title
...
[Backport] Documents title
2018-12-27 13:13:45 +01:00
Javi Martín
ee6ee3ca21
Update changelog for release 0.18
2018-12-27 12:29:21 +01:00
Javier Martín
d7e41fb556
Merge pull request #3127 from consul/fix_date_order_translations
...
Bring back date order translations
2018-12-26 16:40:03 +01:00
decabeza
4cda7d1d9f
Shows documents title only if there is any document
2018-12-26 12:03:46 +01:00
Alberto
63f7c18399
Merge pull request #3123 from consul/admin-questions
...
[Backport] Admin poll questions index
2018-12-26 11:32:28 +01:00
Javi Martín
e34a827c48
Add translations for rails date order
...
Not doing so caused crashes on applications which don't fall back to
English when a translation is missing.
We're adding them in a separate file so we can exclude it from crowdin
and so translators don't translate symbols as if they were words which
need translation.
2018-12-21 19:31:15 +01:00
Javier Martín
e5cdda9d04
Merge pull request #3128 from consul/fix_valuation_with_no_budgets
...
Fix crash in valuation when there are no budgets
2018-12-21 19:21:51 +01:00
Javi Martín
fd681c17df
Fix crash in valuation when there are no budgets
2018-12-21 17:24:34 +01:00
Javi Martín
b0f1b6245e
Simplify scope usage
...
Rails automatically calls the `id` method inside scopes and the variable
name makes more sense if it represents investments instead of the number
of investments.
2018-12-21 17:17:35 +01:00
Javi Martín
10e8117f83
Remove unnecessary line
...
We were assigning the same variable twice in a row, making the first
assignment useless.
2018-12-21 17:08:27 +01:00
Alberto
c7cd6ca5ba
Merge pull request #3124 from consul/honeypot-sign-up
...
[Backport] Honeypot on users sign up form
2018-12-21 15:51:20 +01:00
decabeza
cf7155613e
Changes honeypot family name to address on users sign up form
2018-12-21 11:34:12 +01:00
decabeza
9c827d6ce0
Adds poll name on admin poll questions index
2018-12-19 21:00:09 +01:00
Alberto
d4013ee664
Merge pull request #3122 from consul/proposal-create-question
...
[Backport] Proposal create question
2018-12-19 19:55:24 +01:00
Julian Nicolas Herrero
82fc3f6d51
Merge pull request #3116 from consul/backport-1759-most_active_score_daily_update
...
[Backport] Optimize task reset_hot_score
2018-12-19 17:29:09 +01:00
Julian Nicolas Herrero
a421df31db
Merge pull request #3115 from consul/backport-1758-flaky_spec_currency_symbol
...
[Backport] Fix flaky spec checking price without currency symbol
2018-12-19 17:27:54 +01:00
Alberto
fa19381d69
Merge pull request #3121 from consul/budget-price-explanation
...
[Backport] Budget investments price explanation
2018-12-19 16:47:45 +01:00
decabeza
aebd29f7e2
Adds create question button to admin proposals show
2018-12-19 16:08:57 +01:00
Julian Herrero
45353089a7
update hot_score for votes daily
2018-12-19 14:47:54 +01:00
decabeza
5a027f3a0a
Removes create question button on proposals index and show
2018-12-19 13:55:00 +01:00
decabeza
7316c16edd
Adds price explanation link on budget investments show
2018-12-19 13:52:17 +01:00
Raimond Garcia
d583c93ebf
Merge pull request #3118 from consul/rubocop-not-to
...
Apply Rubocop not_to rule
2018-12-19 12:47:37 +01:00