Commit Graph

244 Commits

Author SHA1 Message Date
María Checa
24bca36639 Merge branch 'master' into admin-newsletter-emails 2018-02-14 16:07:13 +01:00
María Checa
20de8c81f7 Added newsletters to dev_seeds 2018-02-14 16:06:33 +01:00
Bertocq
31cece096b Verify manager & moderator sample users in dev_seeds 2018-02-08 18:23:29 +01:00
Bertocq
ffe7d4baad Fix rubocop issues at dev seeds 2018-01-30 03:31:41 +01:00
Bertocq
a4fb568654 Improve dev seeds comments adding them to investments 2018-01-30 03:29:20 +01:00
Bertocq
2b8a32198b Improve dev_seeds generations around Budgets & Investments 2018-01-23 16:01:40 +01:00
Bertocq
c30c47cbb5 Improve default city map with 4 districts, and more real fake geozones 2018-01-23 15:59:24 +01:00
Bertocq
60515708e0 Fix indentations at dev seeds script 2018-01-23 15:57:38 +01:00
rgarcia
d3d05f9cee Add guide to create a proposal or investment
During a Participatory Budget, some users are getting confused and
creating a proposal instead of a budget investment. This intermediate
page should help them create investments

Adding a feature flag just in case other forks don’t need this feature
and setting seeds and dev_seeds for appropriate initial setup
2018-01-18 21:09:21 +01:00
Bertocq
eeefa646a4 Default dev seeds geolocation at madrid, and geolocate all investments 2018-01-18 01:39:43 +01:00
Bertocq
66691b644a Refactor Budget::PHASES constant to Budget::Phase::PHASE_KINDS 2018-01-16 12:18:13 +01:00
Bertocq
baa3c5280f Remove TODO's from code, write reminder action on related issue 2018-01-09 23:53:09 +01:00
María Checa
cd53884d72 Updated dev_seeds 2018-01-09 00:09:56 +01:00
Bertocq
e1ec4ad967 Fix minimum Proposal title & question random length on dev seeds 2018-01-06 14:20:57 +01:00
Bertocq
46dc559301 Filter out nil related contents while listing them 2017-12-31 20:30:45 +01:00
BertoCQ
d534b02b3c Merge pull request #2206 from consul/related-contents-score
Related contents score
2017-12-20 15:13:12 +01:00
Bertocq
065b0ed3c8 Create Related Content Scores 2017-12-20 02:36:10 +01:00
decabeza
a0192be46f adds skip_map to dev_seeds 2017-12-20 02:18:21 +01:00
María Checa
853e655e0c Changed related_contents_report_threshold setting value 2017-12-19 13:13:20 +01:00
Bertocq
15e881b81a Increase dev seeds creating communities, topics and comments on topics & polls 2017-12-15 13:47:10 +01:00
Alberto García
19925de06b Merge pull request #2170 from consul/design
Design improvements
2017-12-14 11:31:31 +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
decabeza
cbaf1ae6c1 adds setting to allow images for proposals and investment projects 2017-12-06 20:44:43 +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
88d098242c Add missing public_stats feature flag on dev seeds 2017-12-04 18:03:35 +01:00
Bertocq
e02f511b3a Add times_reported integer attribute to RelatedContent 2017-11-29 19:02:14 +01:00
decabeza
510d4822a4 adds new setting for site title meta tag 2017-11-24 14:12:01 +01:00
Angel Perez
ab9d612128 'Proposals' feature can be enabled/disabled
Fixes #1886
2017-11-17 13:10:55 -04:00
Bertocq
d8991b51ff Fix helper function name typo at dev seeds 2017-11-13 13:06:24 +01:00
Bertocq
a1325f4c7d Refactor Poll Voters distribution between web and booth 2017-11-09 15:41:08 +01:00
Bertocq
0e8d171018 Extract vote poll on web/booth and randmon question answering to helper functions on Poll Voter section 2017-11-09 15:40:01 +01:00
Bertocq
045982e981 Fix line lenght on dev_seeds 2017-11-09 15:24:27 +01:00
Bertocq
e154d8eb3f Add trailing random letter to unique_document_number output 2017-11-09 14:51:08 +01:00
Bertocq
063ba4c4f4 Refactor Poll Voters creation to make it more realistic 2017-11-09 14:45:00 +01:00
Bertocq
517b035903 Reposition Poll Question from Proposal and Successful Proposal sections to end of script 2017-11-09 14:44:56 +01:00
Bertocq
af460b3eea Refactor Poll Officer Assignment creation into Poll Shift creation section 2017-11-09 14:44:16 +01:00
Bertocq
896f91e249 Refactor Booth and Booth Assignment creation into just one section 2017-11-09 14:44:16 +01:00
Bertocq
cf76898308 Refactor Poll Question & Answer creation section 2017-11-09 14:44:16 +01:00
Bertocq
a4a4f3beb2 Refactor Poll creation section, no need to use variables and big date ranges 2017-11-09 14:44:16 +01:00
Bertocq
5a188474c5 Replace the usage of reorder with RANDOM() posgtresql function, for all & sample 2017-11-09 14:44:15 +01:00
Bertocq
607423c1a8 Move not org users query to correct section, avoiding class variable usage 2017-11-09 12:52:15 +01:00
Bertocq
597d740198 Remove unnecesary blank spaces on tags creation 2017-11-09 12:43:49 +01:00
Bertocq
33e111bcb7 Remove class valuator variable and just find first Valuator whenever needed 2017-11-09 12:42:22 +01:00
Bertocq
5d96849048 Make use of unique_document_number on users 2017-11-09 12:38:40 +01:00
Bertocq
317542261d Add helper function to generate unique document numbers 2017-11-09 12:35:14 +01:00
Bertocq
015f85f9db Fix shadowing outer local variable issue on dev_seeds 2017-10-27 19:44:19 +02:00
Bertocq
d80aff3af1 Fix long lines on dev_seed 2017-10-27 19:44:19 +02:00
Bertocq
959f2fbf90 Add section and log functions to use rails logger instead of puts and print on dev_seeds 2017-10-27 19:44:19 +02:00
Bertocq
6f6d48560f Small style fixes by rubocop on dev seeds 2017-10-27 19:44:19 +02:00
Bertocq
301645b032 Remove slugs from Poll, column not present yet 2017-10-27 19:44:19 +02:00