Commit Graph

6907 Commits

Author SHA1 Message Date
Eduardo Martinez Echevarria
89d2793d76 Setup suggest action in investments controller 2017-06-11 14:10:29 +02:00
Eduardo Martinez Echevarria
0aa2cd99ac Add suggest to investments form in title field 2017-06-11 14:10:29 +02:00
Eduardo Martinez Echevarria
2e67c860fd Setups in investments controller for Polymorphic concern 2017-06-11 14:10:29 +02:00
Eduardo Martinez Echevarria
afad69fb71 Add suggest to investments in routes 2017-06-11 13:39:07 +02:00
Eduardo Martinez Echevarria
68f26ccfbf Allow the use of a custom path method in suggest partial
The path to investments in lists is generated with a helper
method named namespaced_budget_investments_path. This allows
its use in the shared suggest partial. Also, as nested
resource in routes, link_to("title", investments) fails.
2017-06-11 13:28:16 +02:00
Eduardo Martinez Echevarria
fd1c61ae61 Add resource_relation to Polymorphic concern
This allows suggest action to send search to
a relation instead of directly the model. Doing
so, the suggested items can be previously filtered.
2017-06-11 13:19:12 +02:00
Eduardo Martinez Echevarria
180ed1ce99 Set cancan permissions for suggest on Budget::Investment 2017-06-11 13:13:50 +02:00
Eduardo Martinez Echevarria
74754ef34d Add some test to investments feature for suggestions on creation 2017-06-11 13:04:58 +02:00
Bertocq
41ec36f470 Correct the Legislative Process description column width to occupy full page now that its alone 2017-06-11 11:01:18 +02:00
Bertocq
b79df113cd Switch all Time.curren.to_date for Date.current, same result but better syntax 2017-06-11 10:41:09 +02:00
Bertocq
e14a5b2eaf Avoid using Date.today, better to use Date.current that takes timezone into account 2017-06-11 10:41:06 +02:00
Bertocq
2c82eec0fd Remove target and how_to_participate columns from legislation_processes table, no longer used 2017-06-11 00:04:50 +02:00
Bertocq
e377314b52 Add .github/PULL_REQUEST_TEMPLATE file to be used as default template when manually creating a PR at github 2017-06-10 23:39:17 +02:00
Bertocq
02d31953be Remove Target field from Legislative Process from views, i18n, factories and specs 2017-06-10 23:16:13 +02:00
Bertocq
d624a08abc Remove How To Participate field from Legislative Process from views, i18n, factories and specs 2017-06-10 23:11:55 +02:00
Raimond Garcia
79dfdb88b4 Merge pull request #1631 from PopulateTools/1489-admin-section-for-users
Admin section for users
2017-06-09 20:28:43 +02:00
Amaia Castro
67942e0619 Display roles for users 2017-06-09 17:50:42 +02:00
Amaia Castro
b616210607 View and search users from admin panel 2017-06-09 17:30:06 +02:00
Amaia Castro
29d994dd4a Rename users to hidden users in admin 2017-06-09 17:19:01 +02:00
Raimond Garcia
60842a548c Merge pull request #1629 from consul/gems
Updates mail gem
2017-06-09 11:38:11 +02:00
rgarcia
6f9e646a26 updates mail gem 2017-06-09 11:21:52 +02:00
Juanjo Bazán
5daad49208 Merge pull request #1607 from consul/index-design
Index design
2017-06-08 13:58:04 +02:00
decabeza
3d6f75bb59 reverts hide tags on index views 2017-06-08 13:30:12 +02:00
Juanjo Bazán
75ff6620b4 Merge pull request #1622 from bertocq/chore/rubocop_autocorrections
Rubocop autocorrections
2017-06-08 12:43:46 +02:00
Raimond Garcia
e1524b22f5 Merge pull request #1609 from bertocq/chore/add_editorconfig
Add editorconfig file with basic rules
2017-06-08 12:15:26 +02:00
Bertocq
02524b164a Rubocop autocorrections (indentations, revers unless to if, extra spaces) 2017-06-08 12:14:35 +02:00
Raimond Garcia
c45c374256 Merge pull request #1616 from bertocq/fix/rubocop
Fix rubocop cop namespaces
2017-06-08 12:10:05 +02:00
Raimond Garcia
59f42dfa0f Merge pull request #1579 from bertocq/chore/restore_setting_afterwards_in_specs
Cleanup Settings values modified after specs are run
2017-06-08 12:09:24 +02:00
Raimond Garcia
0633f018ca Merge pull request #1584 from bertocq/feature/per_page_code_migration_task
Rake task to migrate Setting per_page_code to per_page_code_header
2017-06-08 11:59:51 +02:00
Raimond Garcia
42741ef4d2 Merge pull request #1621 from consul/info-pages
Info pages
2017-06-08 11:56:01 +02:00
Raimond Garcia
9e1e400957 Merge pull request #1605 from bertocq/feature/legislation_process_summary
Legislative Process summary
2017-06-08 11:54:38 +02:00
Bertocq
82d47458f7 Disable rubocop Rails/ApplicationRecord cop until rails 5 branch comes 2017-06-08 11:46:31 +02:00
Bertocq
ec49432039 Fix rubocop cop namespaces from Style to Layout for those that were moved on last version 2017-06-07 20:57:34 +02:00
Bertocq
20d57d4d46 Create rake task to migrate Setting key from per_page_code to per_page_code_head 2017-06-07 20:56:49 +02:00
Bertocq
8b063a1bc1 Create spec for the new settings migration rake task 2017-06-07 20:56:49 +02:00
Bertocq
798b646135 Cleanup Settings values modified after specs are run 2017-06-07 20:55:42 +02:00
Bertocq
80cc7819db Add editorconfig file with basic rules 2017-06-07 20:55:28 +02:00
Bertocq
8d0e76bcd3 Add summary field to Legislative Processes factory and at dev_seed 2017-06-07 19:02:54 +02:00
decabeza
dcffa96d11 removes specs of deleted info pages 2017-06-07 18:53:23 +02:00
decabeza
3f7bfaeb26 removes unused i18n keys 2017-06-07 18:53:00 +02:00
Bertocq
2c76f1cb3b Show legislative process summary on list, keep first description paragraph as fallback 2017-06-07 18:43:34 +02:00
Bertocq
c05744b846 Add summary field to the admin form for Legislative Processes, plus placeholder translations 2017-06-07 18:43:34 +02:00
Bertocq
a33341ec52 Increase admin legislative process feature spec to also check detail and list views 2017-06-07 18:43:34 +02:00
Bertocq
ae27eba2b5 Add summary column to Legislative Processes table 2017-06-07 18:42:07 +02:00
decabeza
c50147e4be adds callout message if there is no pages on admin pages 2017-06-07 18:29:00 +02:00
decabeza
c846107cd8 removes more info pages belongs to madrid's fork 2017-06-07 18:28:12 +02:00
decabeza
e983c5708e adds missing i18n 2017-06-07 18:26:52 +02:00
Juanjo Bazán
16edbf15a2 Merge pull request #1620 from consul/medialab-legislation
Adds Collaborative Legislation
2017-06-07 18:06:15 +02:00
Enrique García
0271ee36f3 Merge pull request #1619 from consul/medialab-legislation-merged-comments
Merges annotations
2017-06-07 16:28:48 +02:00
rgarcia
792b15b224 Merges annotations 2017-06-07 14:58:34 +02:00