Commit Graph

7897 Commits

Author SHA1 Message Date
rgarcia
56a7c46c12 adds timestamps to polls 2017-12-13 19:46:34 +01:00
Raimond Garcia
819afa1d64 Merge pull request #2182 from consul/legislation-proposals-specs
Adds model validations for legislation proposals
2017-12-13 19:42:29 +01:00
Raimond Garcia
d9890284d7 Merge pull request #2181 from consul/factory-traits
Updates factory traits
2017-12-13 19:42:08 +01:00
rgarcia
abaf6ab785 adds model validations for legislation proposals 2017-12-13 12:52:25 +01:00
rgarcia
f4e4121780 updates factories to have the legislation's debate phase open by default 2017-12-13 12:39:00 +01:00
rgarcia
d9e5873795 add residence_veried_at to the user's verified trait 2017-12-13 12:38:05 +01:00
Raimond Garcia
d49a1dc208 Merge pull request #2172 from consul/notifications
Notifications for hidden resources
2017-12-12 16:26:37 +01:00
Bertocq
26437029a6 Add KNAPSACK_PRO_FIXED_QUEUE_SPLIT env variable to travis config 2017-12-12 15:47:05 +01:00
Raimond Garcia
72cc029f26 Merge pull request #2167 from consul/code-climate
Exclude vendor folder from Code Climate
2017-12-12 13:40:09 +01:00
rgarcia
7465a8ef8e Refactors li element 2017-12-12 13:36:38 +01:00
Bertocq
3139d760ec Remove unuseful comment on imageable concern 2017-12-12 12:38:54 +01:00
rgarcia
c63c734ec2 fixes specs 2017-12-12 11:04:05 +01:00
rgarcia
8c85611ec9 Adds missing specs for notification titles 2017-12-11 13:23:30 +01:00
rgarcia
e3c8dece8f Makes the code aware of notifications for hidden commentables 2017-12-11 13:22:10 +01:00
Raimond Garcia
11e80fbc92 Merge pull request #1903 from wairbut-m2c/aperez-enable-disable-proposals
Add enable/disable option for 'Proposals' feature
2017-12-08 11:41:13 +01:00
rgarcia
a72a062808 Exclude /vendor folder from Code Climate 2017-12-08 11:20:28 +01:00
Raimond Garcia
ed1e381c5a Merge pull request #2126 from wairbut-m2c/aperez-email-specs-for-commentables
Email specs for commentable models
2017-12-07 14:46:55 +01:00
Raimond Garcia
22a8157165 Merge branch 'master' into aperez-email-specs-for-commentables 2017-12-07 13:05:25 +01:00
Raimond Garcia
9a6eb7f0b1 Merge pull request #2165 from ArturT/knapsack_pro
Knapsack Pro gem
2017-12-07 12:17:31 +01:00
ArturT
79e684e68e Use latest version of knapsack_pro 0.53.0 2017-12-05 20:10:40 +01:00
ArturT
27f46c9239 Allow forked version of repo to run tests with knapsack_pro gem without
needed API key KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC.

Based on:
https://github.com/KnapsackPro/knapsack_pro-ruby#how-to-make-knapsack_pr
o-works-for-forked-repositories-of-my-project
2017-12-05 20:10:40 +01:00
rgarcia
b1c785408c brings back knapsackpro binding 2017-12-05 20:10:40 +01:00
rgarcia
834bbf4be3 removes unnecessary binding 2017-12-05 20:10:40 +01:00
rgarcia
d238889dec dynamically allocate RSpec tests across CI nodes 2017-12-05 20:10:40 +01:00
rgarcia
e2d4fbd9ce knapsack_pro setup 2017-12-05 20:10:40 +01:00
María Checa
56e10f9532 Merge pull request #2160 from consul/relationables
Related Content model and Relatable concern
2017-12-05 15:19:42 +01:00
Bertocq
eb28726c82 Prepare CHANGELOG for v0.11 release 2017-12-04 23:05:12 +01:00
BertoCQ
099a6b1e97 Merge pull request #2164 from consul/feature/consul_installation_details
Consul installation details
2017-12-04 22:21:30 +01:00
Bertocq
7339a98b74 Create installation controller with consul details method, add route on routes.rb 2017-12-04 18:32:04 +01:00
Bertocq
516081d109 Describe with a request spec the consul.json install details route 2017-12-04 18:17:10 +01:00
Bertocq
88d098242c Add missing public_stats feature flag on dev seeds 2017-12-04 18:03:35 +01:00
Bertocq
05a6c35b65 Switch case statement for if 2017-12-04 15:48:09 +01:00
Bertocq
b327420e72 Force setseed value range from -1 o 1 2017-12-04 15:42:59 +01:00
Bertocq
6d8657ab5c Move css styles from custom file to correct admin.scss one 2017-11-30 11:45:51 +01:00
Bertocq
9e0d2c403a Update unreleased section of changelog 2017-11-29 23:21:52 +01:00
Bertocq
7a1ec54e35 Preparing next release 2017-11-29 23:21:52 +01:00
BertoCQ
5b014a6536 Merge pull request #2157 from consul/polls-translations
Updates spanish translation for polls
2017-11-29 21:12:21 +01:00
María Checa
f9e65b0f80 Merge pull request #2102 from wairbut-m2c/iagirre-admin-poll-stats
Iagirre admin poll stats
2017-11-29 20:07:53 +01:00
Bertocq
cd021aee4b Add relationed_contents helper function on Relationable concern with spec 2017-11-29 19:02:25 +01:00
Bertocq
0482eb4098 Add report_related_content helper funcion on Relationable concern with spec 2017-11-29 19:02:25 +01:00
Bertocq
e02f511b3a Add times_reported integer attribute to RelatedContent 2017-11-29 19:02:14 +01:00
Bertocq
04dfc98c3f Create RelatedContent model spec to check relationable destroy 2017-11-29 19:01:50 +01:00
Bertocq
03f0534b2f Add scenario to RelatedContent model spec to check opposite related content creation 2017-11-29 19:01:12 +01:00
Bertocq
13f5fa55ab Use Relationable concern on Debates, Proposals and Budget Investments 2017-11-29 19:01:12 +01:00
Bertocq
8f3769aa7d Create Relationable concern 2017-11-29 19:01:12 +01:00
Bertocq
f0dca7147b Add basic RelatedContent model spec to check multiple models can be related 2017-11-29 19:01:04 +01:00
Bertocq
a138cda364 Create RelatedContent model 2017-11-29 19:00:54 +01:00
BertoCQ
0df316be4c Merge pull request #2158 from consul/fix/random_seed_order
Prevent a division by zero bug on sort by random scope
2017-11-29 16:05:58 +01:00
Alberto García
effab2988b Merge pull request #1941 from periflo90/master
Issue #1901: Budget related entries in Management shouldn't appear if budgets are globally disabled
2017-11-29 12:11:21 +01:00
Bertocq
c5fa85e3f6 Prevent a division by zero from happening on sort by random investment scope 2017-11-29 11:40:10 +01:00