Commit Graph

4861 Commits

Author SHA1 Message Date
Bertocq
c5fa85e3f6 Prevent a division by zero from happening on sort by random investment scope 2017-11-29 11:40:10 +01:00
María Checa
3984d6a947 Merge pull request #2115 from wairbut-m2c/iagirre-heading-population-restriction-validation
Iagirre heading population restriction validation
2017-11-28 20:06:53 +01:00
Raimond Garcia
9e12d67f3f Merge pull request #2114 from wairbut-m2c/iagirre-booth-assignment-removal
Iagirre booth assignment removal
2017-11-28 19:59:20 +01:00
Raimond Garcia
778ddbee0f Merge pull request #2131 from wairbut-m2c/iagirre-budget-pagination-bug
Iagirre budget pagination bug
2017-11-27 16:49:27 +01:00
BertoCQ
104a26db35 Merge pull request #2110 from wairbut-m2c/aperez-remove-valuator-role
Add option to unassign Valuator role
2017-11-21 16:34:16 +01:00
Juanjo Bazán
21b2a11339 adds poll comments to API 2017-11-21 14:31:03 +01:00
BertoCQ
ae71f4960b Merge pull request #2068 from ortegacmanuel/add-investment-user-tags-admin-interface
Add investment user tags admin interface
2017-11-19 14:42:01 +01:00
Bertocq
b2c03192bb Fix kaminari path url helper function 2017-11-19 13:33:49 +01:00
Bertocq
b2e59272cc Use kaminari url path helper on kaminari partials 2017-11-18 10:44:52 +01:00
Bertocq
f4af87f8a1 Add kaminari url path helper function 2017-11-18 10:44:30 +01:00
Angel Perez
db86cc5216 Enable 'destroy' action for Valuator on controller 2017-11-17 13:12:26 -04:00
Angel Perez
4e086de493 Add 'Delete' button to Valuators index/search views 2017-11-17 13:12:26 -04:00
Bertocq
bb1e5e4608 Fixed output 2017-11-17 00:21:16 +01:00
Manuel Ortega
0a2dae8672 Fixed link back from moderation dashboard to root_path
Passing the organization name to the locale yml file
2017-11-15 19:23:03 +01:00
iagirre
87f6f14d48 Bigger random seed range. Tests added to check the randomness between browsers 2017-11-15 11:50:06 +01:00
iagirre
fbb02095bb Some fixes to new code to make the test pass 2017-11-15 09:02:19 +01:00
iagirre
f3527b1311 Test added to check the repetition of elements between pages when random order used. Scope variable initialized to 1 2017-11-15 09:01:35 +01:00
iagirre
7f0e447e0f One aproach to make the randomness work with kaminari 2017-11-15 08:56:31 +01:00
Bertocq
ceb6786b7c Style correction on method call without parenthesis 2017-11-13 02:35:17 +01:00
Bertocq
f45cfc108a Fix Style/AccessorMethodName rubocop issue 2017-11-13 02:34:00 +01:00
Bertocq
db54273dad Replace == 0 comparisions for .zero? 2017-11-13 02:27:38 +01:00
Bertocq
bfd1a75af7 Fix Lint/RequireParentheses rubocop issue 2017-11-13 02:24:37 +01:00
Bertocq
a34118dbb0 Fix Lint/ShadowingOuterLocalVariable rubocop issue 2017-11-13 02:23:49 +01:00
Bertocq
cd66ba5d54 Rubocop autocorrections 2017-11-13 02:22:00 +01:00
Raimond Garcia
0e5c8d6aaf Merge pull request #2100 from deivid-rodriguez/fix/direct_messages_max_per_day
Fix `direct_messages_max_per_day` set to nil
2017-11-09 19:14:29 +01:00
rgarcia
644ea9629f uses correct order for permitted params 2017-11-08 12:05:02 +01:00
rgarcia
f3831de31c fixes typo introduced while fixing conflicts 2017-11-08 11:56:49 +01:00
Raimond Garcia
ad37606129 Merge branch 'master' into legislation-processes-documents 2017-11-08 11:31:09 +01:00
iagirre
bfcbb6c0ad Validation in model and in form added. When users makes the on focus on population field an explanation appears. Some specs added to test the model validations 2017-10-31 13:04:30 +01:00
iagirre
4b8a471d38 Specs added to test the functionality and some UI modified to make test pass 2017-10-30 16:50:25 +01:00
iagirre
1077e25b2b Shifts are destroyed when a booths is unassigned. An alert appears if there are shifts, but it doesn't if there aren't. 2017-10-30 12:36:07 +01:00
iagirre
89425f50ef First steps to destroy shifts when booth_assignments are destroyed 2017-10-27 14:57:32 +02:00
iagirre
b854d99248 Assign/Unassign button for expired polls is disabled 2017-10-27 13:10:10 +02:00
Alberto García
164bc19b3e Merge pull request #1906 from consul/1856-legislation_processes_proposals_phase
[WIP] Legislation Process Proposals
2017-10-27 12:41:09 +02:00
María Checa
5ae31a6d01 Prevent responsible_name and question from validation 2017-10-27 10:43:37 +02:00
María Checa
4e06fc52ce Removed question, external_url and responsible_name fields from legislation proposal form 2017-10-27 10:40:28 +02:00
decabeza
392a787a2d hides only the create button 2017-10-26 19:09:02 +02:00
decabeza
69f29b4f49 shows create button and categories only if proposals phase is open 2017-10-26 19:07:47 +02:00
decabeza
f068eef6ce changes back link on proposal show 2017-10-26 19:01:18 +02:00
decabeza
4019786a26 hides vote buttons if process proposal phase are closed 2017-10-26 19:01:03 +02:00
decabeza
bb61b76790 removes communities partial on proposals show 2017-10-26 18:48:07 +02:00
decabeza
702bfec248 removes unnecessary legislation proposal index view 2017-10-26 18:47:44 +02:00
decabeza
50b2ab5a69 adds categories list on proposal sidebar 2017-10-26 18:47:18 +02:00
decabeza
dea820f3e8 removes follow button on proposal show 2017-10-26 17:58:15 +02:00
decabeza
a36d8fece3 Merge branch '1856-legislation_processes_proposals_phase' of https://github.com/consul/consul into 1856-legislation_processes_proposals_phase 2017-10-26 17:51:21 +02:00
decabeza
00309aa157 changes message for not verified users 2017-10-26 17:51:10 +02:00
María Checa
658d115c91 Removed share view for Legislation Proposals 2017-10-26 17:13:04 +02:00
decabeza
73d6a09242 removes duplicated label on legislation proposal form 2017-10-26 17:09:57 +02:00
María Checa
f15ef5b66b Removed Legislation Proposals suggestions in form 2017-10-26 16:56:30 +02:00
decabeza
2542b2c695 improves admin valuators search form 2017-10-25 19:02:04 +02:00