Juan Salvador Pérez García
305a0059bd
Addresses @iacoco comments
2018-07-17 17:50:47 +02:00
Juan Salvador Pérez García
96d5a9b5ff
Fixed failing spec
2018-07-17 17:50:47 +02:00
Juan Salvador Pérez García
426e244727
Fixed failing test
2018-07-17 17:50:47 +02:00
Juan Salvador Pérez García
29cf7d9f46
Addressed preview comments
2018-07-17 17:50:47 +02:00
Juan Salvador Pérez García
a05e5c003f
Fixed failing tests
2018-07-17 17:50:46 +02:00
Juan Salvador Pérez García
b7c3cc3e08
Fixed i18n specs
2018-07-17 17:50:05 +02:00
Juan Salvador Pérez García
d8d458f1db
Fixed test environment inside docker
2018-07-17 17:50:05 +02:00
Juan Salvador Pérez García
fc57bad1cd
Fixes #155
2018-07-17 17:50:05 +02:00
Juan Salvador Pérez García
fc9f14568f
Fixes #154
...
Remove image and send notification moved to proposal dashboard
2018-07-17 17:50:05 +02:00
Juan Salvador Pérez García
e4e0cb65de
Implements #142
...
Dashboard actions can be proposed actions or resources
2018-07-17 17:50:05 +02:00
Juan Salvador Pérez García
ff03db3c14
Fixes #153
...
Preview proposal after its creation
2018-07-17 17:49:42 +02:00
Juan Salvador Pérez García
1464bddfa8
Fixes #134
...
Adds an administration interface for the proposal dashboard actions.
2018-07-17 17:48:46 +02:00
Juan Salvador Pérez García
d9f85bd756
Added draft label to public view of draft proposals.
2018-07-17 17:47:40 +02:00
Juan Salvador Pérez García
304ae23c81
Fixes #137
...
Edit button moved to dashboard.
Added button that publishes the proposal.
2018-07-17 17:47:40 +02:00
Juan Salvador Pérez García
212c088d35
Implements #144
...
Creates the basic layout for the dashboard
2018-07-17 17:47:40 +02:00
Juan Salvador Pérez García
1db5a00eae
Prepare capistrano/db migrations to support more setups ( #2 )
...
The following parameters have been added to deploy-secrets.yml:
* **use_rvm**: yes/no
* **ruby_version**: Ruby version for rvm. Defaults to 2.3.2
* **repository**: Git repository. Defaults to the oficial repository
* **branch**: Branch to deploy. Defaults to master
* **rails_env**: Defaults to the stage.
Fixed migrations that required admin rights. Now first check if the postgress extensions are available. If so finish without doing nothin.
Added support for passenger.
2018-07-17 17:46:54 +02:00
Juan Salvador Pérez García
77dd60427d
Implements story #136
...
Adds draft state for proposals
2018-07-17 17:46:54 +02:00
Juan Salvador Pérez García
83b8127b72
Docker enhancements
...
Docker image includes chrome driver image
2018-07-17 17:43:56 +02:00
Alberto
3c517462e4
Merge pull request #2760 from wairbut-m2c/backport/user-recommendations
...
Debates and proposals recommendations for users
2018-07-16 13:54:54 +02:00
Raimond Garcia
f2c780fac6
Merge pull request #2768 from AuiDrome/add_proposal_images_on_dev_seeds
...
add proposal image on dev_seeds task
2018-07-16 10:35:55 +02:00
Fernando Garcia Samblas
0cf26b8770
remove add_images_to argument spaces
...
Sorry, at work we have a co-worker (@rochgs) that thanks this "spaced" style
because of his visual handicap. Here you are!! ;)
2018-07-16 08:48:24 +02:00
Angel Perez
1884841ffc
Add Rake task to enable recommendations settings
2018-07-15 21:28:59 -04:00
Angel Perez
10efcb2029
Change I18n strings for warning when dismissing recommendations
2018-07-15 21:28:59 -04:00
Angel Perez
e194240a0a
Add rake task to enable recommendations for existing users
2018-07-15 21:28:59 -04:00
Angel Perez
31c16406c0
Move disable recommendations permissions to Abilities::Common model
2018-07-15 21:28:58 -04:00
Angel Perez
54853745f0
Fix typos for Settings locales (English)
2018-07-15 21:28:58 -04:00
Angel Perez
a143fa447b
Ensure recommendations are only shown when enabled
2018-07-15 21:28:58 -04:00
Angel Perez
463c753880
Recommendations are automatically disabled if dismissed by user
2018-07-15 21:28:58 -04:00
Angel Perez
0b7967440f
Recommendations for users are enabled by default
2018-07-15 21:28:58 -04:00
decabeza
137078054e
Fixes padding bottom on recommended index
2018-07-15 21:28:58 -04:00
decabeza
8cbc709601
Fixes margin top on recommended index
2018-07-15 21:28:58 -04:00
Angel Perez
e32387ed5b
Improve CSS styles for recommendations partial
2018-07-15 21:28:58 -04:00
Angel Perez
054bc1397b
Wrap recommendations settings checkboxes with label helper to improve A11y
2018-07-15 21:28:58 -04:00
Angel Perez
0ac6033ff6
Refactor recommendations specs to improve DRYness
2018-07-15 21:28:57 -04:00
Angel Perez
251441e109
Users can now hide recommendations
2018-07-15 21:28:57 -04:00
Angel Perez
fefa225f8a
Add new settings for dev seeds for Debates and Proposals recommendations
2018-07-15 21:28:57 -04:00
Angel Perez
4275069a1e
Include tests for recommendations feature
2018-07-15 21:28:57 -04:00
Angel Perez
a58f6a2662
Enable 'Recommended proposals' setting for users
2018-07-15 21:28:57 -04:00
Angel Perez
522c206f6d
Enable 'Recommended debates' setting for users
2018-07-15 21:28:57 -04:00
decabeza
bdb3f30e40
Adds recommendations on proposals index
2018-07-15 21:28:57 -04:00
decabeza
36a5ff39b8
Adds recommendations on debates index
2018-07-15 21:28:57 -04:00
decabeza
ecb0041b7f
Adds recommended index partial and styles
2018-07-15 21:28:56 -04:00
Fernando Garcia Samblas
ffbd4a08d8
add proposal image on dev_seeds task
2018-07-16 01:33:25 +02:00
Raimond Garcia
0695c2038c
Merge pull request #2734 from javierv/2713-fix_flaky_update_votes_spec
...
Fix flaky specs: Votes Debates and Voting comments Update
2018-07-15 14:35:18 +02:00
rgarcia
225166a5eb
Remove focus from specs
2018-07-15 13:58:32 +02:00
Javier Martín
32504b8840
Make Capybara check the page between votes.
...
As pointed out in PR #2734 :
"After clicking the first link, there's an AJAX request which replaces
the existing `.in-favor a` and `.against a` links with new elements. So
if Capybara tries to click the existing `.against a` link at the same
moment it's being replaced, clicking the link won't generate a new
request".
Making Capybara check the page for new content before clicking the
second link solves the problem, in the same way 4ddc869 solved the same
problem in the comments section.
2018-07-13 22:58:12 +02:00
Angel Perez
4ddc869441
Mitigate recurrent flaky specs for voting comments
2018-07-13 22:42:41 +02:00
Alberto
38916deb0b
Merge pull request #2765 from consul/budgets-polls-ui
...
Polls UI
2018-07-13 20:01:40 +02:00
Alberto
66020a8902
Merge pull request #2766 from consul/budget-winner-project
...
Budgets investment show messages
2018-07-13 19:39:46 +02:00
decabeza
230f1b1fde
Removes unused i18n keys
2018-07-13 19:15:52 +02:00