Bertocq
6772f94c14
Add description publishing prices column to budgets table
2018-01-10 01:11:13 +01:00
Bertocq
922318b978
Add publishing prices phase to budget model, plus translation texts
2018-01-10 01:10:57 +01:00
Bertocq
d8ceff1a53
Refactor Budget's on hold phases to constant, plus alignments
2018-01-10 01:09:13 +01:00
Bertocq
cb1151f1d6
Increase Budget model spec for new publishing_prices phase
2018-01-10 01:04:32 +01:00
Bertocq
f350b99123
Remove deprecated investment test scenario for price explanation
2018-01-10 01:04:32 +01:00
Bertocq
1d6c3034cb
Add test scenarios to check investment price showing rules
2018-01-10 01:04:31 +01:00
Bertocq
baa3c5280f
Remove TODO's from code, write reminder action on related issue
2018-01-09 23:53:09 +01:00
Bertocq
c4e0178947
Fix all budget investment price translations to Price instead of Cost
2018-01-09 18:42:06 +01:00
rgarcia
c3344c6ab1
Update Changelog
2018-01-09 16:19:55 +01:00
Raimond Garcia
9d1906220e
Merge pull request #1932 from wairbut-m2c/aperez-capistrano-maintenance-task
...
Add Capistrano task to automate maintenance mode
2018-01-09 16:18:44 +01:00
Raimond Garcia
50884f7f24
Merge branch 'master' into aperez-capistrano-maintenance-task
2018-01-09 16:17:21 +01:00
rgarcia
3cd6ba28b8
Updates Changelog
2018-01-09 15:04:35 +01:00
Raimond Garcia
26f10d40ff
Merge pull request #2147 from wairbut-m2c/investments_csv_exporter
...
added csv download link to budget_investments (issue 1625)
2018-01-09 15:01:25 +01:00
Bertocq
dea67bb078
Update README.md and translate to README_ES.md
...
* Links to documentation and project's website were outdated
* There where some linting issues reported from Markdownlinter
2018-01-09 14:52:57 +01:00
Raúl Fuentes
29018e3062
changes made at the request of voodoorai2000
2018-01-09 13:08:03 +01:00
Raúl Fuentes
b3461b2051
final details
2018-01-09 12:45:30 +01:00
Raúl Fuentes
4f096a005d
more style corrections
2018-01-09 12:45:30 +01:00
Raúl Fuentes
d7cc5d14c6
fixed test
2018-01-09 12:45:30 +01:00
Raúl Fuentes
56f4c3c3b9
added test to csv download and style corrections
2018-01-09 12:45:30 +01:00
Raúl Fuentes
95c1aa43e8
added csv download link to budget_investments (issue 1625)
2018-01-09 12:45:30 +01:00
María Checa
27ce8c9b1b
Updated changelog
2018-01-09 12:19:16 +01:00
María Checa
c27e6ab1d1
Merge pull request #2223 from wairbut-m2c/iagirre-prevent-edition-if-budget-final-phase
...
Prevent edition of investments if budget is in the final phase
2018-01-09 12:18:23 +01:00
María Checa
1d82c6a80d
Updated changelog
2018-01-09 11:56:58 +01:00
María Checa
96859190be
Merge pull request #2280 from consul/2277-budgets_new_form
...
Budgets new form
2018-01-09 11:55:10 +01:00
Bertocq
a770961f74
Update unreleased section of changelog
2018-01-09 11:39:46 +01:00
rgarcia
69d0dc5825
Updates Changelog
2018-01-09 11:11:47 +01:00
BertoCQ
5f1d222582
Merge pull request #2283 from consul/feature/2275#destroy_budgets
...
Allow destroying budgets without investments
2018-01-09 11:04:01 +01:00
BertoCQ
6e96c8c057
Merge branch 'master' into feature/2275#destroy_budgets
2018-01-09 11:03:51 +01:00
BertoCQ
01c41c7cca
Merge pull request #2284 from consul/feature/2276#admin_budget_edit_redirect
...
Redirect admin to budget lists after edit
2018-01-09 10:50:54 +01:00
BertoCQ
bcec5f779a
Merge pull request #2285 from consul/feature/2278#budget_draft_phase
...
Feature/2278#budget draft phase
2018-01-09 10:50:40 +01:00
Bertocq
7c7f903ed0
Make customization engine spec less prone to flaky failures
2018-01-09 01:33:44 +01:00
Bertocq
2c3d8e9fd5
Avoid creating a budget in drafting phase to test results access
2018-01-09 01:16:09 +01:00
Bertocq
beee890285
Login as admin before visiting drafting budget on spec
2018-01-09 00:34:16 +01:00
Bertocq
0f5999fb8d
Move admin creation into shared let on spec
2018-01-09 00:33:55 +01:00
María Checa
cd53884d72
Updated dev_seeds
2018-01-09 00:09:56 +01:00
María Checa
d8a6bb0f91
Changed tests
2018-01-09 00:09:50 +01:00
María Checa
385db76a24
Changed location attribute label text
2018-01-08 23:23:02 +01:00
María Checa
5161988844
Removed external_url input
2018-01-08 23:22:46 +01:00
Bertocq
4916f9a3c3
Avoid listing non-published Budgets to the public
...
Why:
Non-admins shouldn't be aware of non-published Budgets
How:
Using the budget_published? helper method
2018-01-08 23:02:18 +01:00
Bertocq
76e05d58b1
Return 404 status for non-published Budget access
...
Why:
Non-admin users shouldn't be able to access, or know of the existence
of a non-published Budget.
How:
Raising an ActionController::RoutingError (404 error) to simulate the
same behaviour as accesing a non-existing Budget.
We could have used CanCanCan abilities for this but then an user could
be aware of existing but not published Budgets by trying different urls
2018-01-08 22:59:20 +01:00
Bertocq
03f4fce2dd
Add budget_published? helper method to BudgetHelper
...
We need to check if the budget is in drafting phase to avoid showing
it to the users, unless the current user is an administrator.
2018-01-08 22:56:47 +01:00
Bertocq
f9803ce9ca
Add drafting phase to budget model & translations
2018-01-08 22:56:11 +01:00
Bertocq
d0937d7022
Add description_drafting column to budgets table
2018-01-08 22:55:37 +01:00
Bertocq
9739576e4e
Add drafting phase trait to budget factory
2018-01-08 22:54:10 +01:00
Bertocq
1f0eb49ddc
Increase budget model spec for drafting phase
2018-01-08 22:53:14 +01:00
Bertocq
63694b5bae
Increase admin budget feature spec for drafting phase
2018-01-08 22:52:56 +01:00
Bertocq
2026f537e6
Add drafting phase scenario to budget feature spec for list & show checks
2018-01-08 22:51:01 +01:00
Bertocq
506293fc80
Move level two user creation to a shared let on budget feature
2018-01-08 19:59:14 +01:00
Bertocq
377a514128
Refactor commmon budget creation to a shared one at budget feature spec
2018-01-08 19:40:27 +01:00
Bertocq
4ca0a48df6
Reduce rubocop's Metrics/LineLength max to 100 chars by common agreement
2018-01-08 19:11:04 +01:00