Commit Graph

4747 Commits

Author SHA1 Message Date
Martín González
23211337ef Legislation process debate markup 2016-12-16 19:04:21 +01:00
Martín González
bbacd4546b Legislation process markup and styles 2016-12-16 19:04:20 +01:00
Amaia Castro
54f8549c43 Set up sandbox 2016-12-16 18:57:10 +01:00
kikito
9fe8358a14 Simplifies spec using automatic denormalization 2016-12-16 18:28:24 +01:00
kikito
ff13dee918 Fixes incorrect path & params in bi controller 2016-12-16 18:03:36 +01:00
kikito
3bada69dd0 sets up the @investments variable n investments_controller 2016-12-16 18:03:14 +01:00
kikito
a52ea70c3d Fixes honeypot-related issues in specs 2016-12-16 18:02:43 +01:00
kikito
3aeb9a1307 Changes investment form so that nil heading means nil, not all headings 2016-12-16 18:02:06 +01:00
kikito
e0c0b18757 Sets partial locals correctly in use and management views 2016-12-16 18:01:20 +01:00
kikito
19e19e5c43 Fixes error when trying to denormalize a model whose dependent field is nil 2016-12-16 18:00:18 +01:00
Amaia Castro
a4055a1578 Legislation processes home page 2016-12-16 17:59:44 +01:00
kikito
316c0cff62 Adds missing method to budget 2016-12-16 17:59:03 +01:00
kikito
2a9957cea0 Extracts budget investment form to partial 2016-12-15 19:36:13 +01:00
kikito
d986702161 Activates and fixes specs in budget/ballot_spec 2016-12-15 18:19:55 +01:00
kikito
411cd674ff Activates and refactors budget/ballot/line_spec 2016-12-15 18:18:49 +01:00
kikito
366a3e7552 simplifies factories now that we have denormalization in investment and ballot lines 2016-12-15 18:18:31 +01:00
kikito
355e286608 De-normalizes references in budgetballotline automatically 2016-12-15 18:17:52 +01:00
Fernando Blat
ee8386c479 Merge pull request #16 from PopulateTools/15-base-structure-legislation-public-pages
Basic structure of Legislation module pages
2016-12-15 12:34:30 +01:00
Amaia Castro
86009bfcac Render TOC for legislation draft versions 2016-12-15 11:32:20 +01:00
Amaia Castro
766f509f8e Base legislation processes and draft versions page structure for public site 2016-12-15 11:32:20 +01:00
Amaia Castro
e4315f94c8 Merge branch 'master' into legislation-module-stable 2016-12-15 11:26:22 +01:00
Raimond Garcia
392f00cdbd Merge pull request #1282 from amiedes/crud-geozones-PRs
[Finished] Allow admins to manage geozones
2016-12-14 19:25:17 +01:00
kikito
6dd71cb508 Changes the parameters used for index and show partials 2016-12-14 13:43:59 +01:00
kikito
dc3ceb25cc Replaces @filter_heading_name by @heading.name in index 2016-12-14 13:42:55 +01:00
kikito
7f94cc1f3d Removes unneeded parameter from helper call 2016-12-14 13:42:26 +01:00
kikito
2a258fc558 Refactors set_investment_votes 2016-12-14 13:42:12 +01:00
kikito
8d60ea1d3c Refactors apply_filters_and_search to inside investment model 2016-12-14 13:39:54 +01:00
Fernando Blat
13a23d8383 Merge pull request #12 from PopulateTools/store-processed-html-from-markdown
Store DraftVersion processed html
2016-12-14 12:07:15 +01:00
kikito
4434a601d3 Implements several helper methods for formatting amounts 2016-12-14 11:49:16 +01:00
Amaia Castro
8c9cfa8b3f Merge branch 'master' into legislation-module-stable 2016-12-14 11:48:28 +01:00
Amaia Castro
400b510b71 Store the processed html from the markdown text body field 2016-12-14 11:32:28 +01:00
kikito
d5065fe021 fixes typo: ammount -> amount 2016-12-14 11:11:06 +01:00
Alberto Miedes Garcés
db029964fa Check geozone 'safe_to_delete' behavior as unit test instead of integration test 2016-12-13 18:38:13 +01:00
Fernando Blat
fe6ccf035d Merge pull request #11 from PopulateTools/9-markdown-editor
Markdown editor for DraftVersion body
2016-12-13 17:09:35 +01:00
Juanjo Bazán
8e15d7732b Merge pull request #1293 from consul/budgets-valuation
Fixes  valuation features
2016-12-13 16:18:45 +01:00
kikito
5b56336941 Fixes valuation features 2016-12-13 15:51:58 +01:00
Amaia Castro
c69f1b3e83 Fullscreen toggle for the markdown editor 2016-12-13 15:29:30 +01:00
Juanjo Bazán
7ee2b1dd48 Merge pull request #1292 from consul/budgets-admin
Budgets admin
2016-12-13 13:30:57 +01:00
Alberto Miedes Garcés
419905fb59 Set expectations for flash inside admin geozones spec 2016-12-13 13:25:38 +01:00
Alberto Miedes Garcés
c2006526c9 Better way to set geozone codes when seeding 2016-12-13 12:40:11 +01:00
kikito
2f446cf056 Renames "open" to "current" to avoid issues with existing method called "open" 2016-12-13 12:39:53 +01:00
Alberto Miedes Garcés
2a3dfdd595 Refactor admin geozones specs 2016-12-13 12:33:58 +01:00
Alberto Miedes Garcés
c22a80b48f Move geozone 'safe to destroy' check from controller to model 2016-12-13 12:30:47 +01:00
rgarcia
6b0f8eb62b do not allow verification of deregistered accounts 2016-12-12 19:11:00 +01:00
rgarcia
d7e73b8abb fixes specs 2016-12-12 19:11:00 +01:00
rgarcia
39fd031780 adds specs 2016-12-12 19:11:00 +01:00
rgarcia
b12c8d3a5d validates document uniqueness only for active accounts 2016-12-12 19:11:00 +01:00
rgarcia
93841b87ad maintains associated document number when erasing account 2016-12-12 19:11:00 +01:00
kikito
f4130047b2 Fixes spec and removes flackyness from tests 2016-12-12 18:52:12 +01:00
kikito
2e8650c324 merge with master 2016-12-12 16:09:05 +01:00