decidim-accountability 0.1.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -21
- data/app/assets/javascripts/decidim/accountability/accountability.js.es6 +3 -3
- data/app/assets/javascripts/decidim/accountability/admin/accountability_admin.js +3 -2
- data/app/assets/stylesheets/decidim/accountability/accountability/_categories.scss +13 -13
- data/app/assets/stylesheets/decidim/accountability/accountability/_lines_breadcrumb.scss +5 -5
- data/app/assets/stylesheets/decidim/accountability/accountability/_results.scss +5 -5
- data/app/commands/decidim/accountability/admin/create_result.rb +0 -1
- data/app/commands/decidim/accountability/admin/update_result.rb +0 -5
- data/app/controllers/decidim/accountability/application_controller.rb +1 -1
- data/app/controllers/decidim/accountability/results_controller.rb +1 -12
- data/app/forms/decidim/accountability/admin/result_form.rb +0 -11
- data/app/helpers/decidim/accountability/application_helper.rb +8 -6
- data/app/models/decidim/accountability/result.rb +3 -10
- data/app/services/decidim/accountability/result_search.rb +6 -3
- data/app/services/decidim/accountability/result_stats_calculator.rb +2 -6
- data/app/services/decidim/accountability/results_calculator.rb +1 -1
- data/app/views/decidim/accountability/admin/results/_form.html.erb +0 -4
- data/app/views/decidim/accountability/admin/results/index.html.erb +5 -2
- data/app/views/decidim/accountability/admin/shared/_extra.html.erb +1 -0
- data/app/views/decidim/accountability/admin/shared/_subnav.html.erb +1 -3
- data/app/views/decidim/accountability/results/_home_categories.html.erb +15 -9
- data/app/views/decidim/accountability/results/_home_header.html.erb +12 -13
- data/app/views/decidim/accountability/results/_linked_results.html.erb +1 -1
- data/app/views/decidim/accountability/results/_results_leaf.html.erb +5 -3
- data/app/views/decidim/accountability/results/_results_parent.html.erb +5 -3
- data/app/views/decidim/accountability/results/_show_leaf.html.erb +14 -14
- data/app/views/decidim/accountability/results/_show_parent.html.erb +1 -1
- data/config/locales/ca.yml +9 -41
- data/config/locales/en.yml +8 -40
- data/config/locales/es.yml +9 -41
- data/config/locales/eu.yml +99 -21
- data/config/locales/fi.yml +101 -21
- data/config/locales/fr.yml +157 -0
- data/config/locales/it.yml +157 -0
- data/config/locales/nl.yml +157 -0
- data/config/locales/pl.yml +158 -0
- data/config/locales/ru.yml +159 -0
- data/config/locales/uk.yml +159 -0
- data/db/migrate/20170426104125_create_accountability_results.rb +0 -1
- data/db/migrate/20170508104902_add_description_and_progress_to_statuses.rb +2 -0
- data/db/migrate/20170623094200_migrate_accountability_results_category.rb +2 -0
- data/db/migrate/20170623144902_add_children_counter_cache_to_results.rb +2 -0
- data/db/migrate/20170928073905_migrate_old_results.rb +53 -0
- data/lib/decidim/accountability.rb +2 -1
- data/lib/decidim/accountability/admin_engine.rb +0 -2
- data/lib/decidim/accountability/{list_engine.rb → engine.rb} +1 -2
- data/lib/decidim/accountability/feature.rb +53 -19
- data/lib/decidim/accountability/result_serializer.rb +66 -0
- data/lib/decidim/accountability/test/factories.rb +16 -16
- data/lib/decidim/accountability/version.rb +10 -0
- metadata +111 -53
- data/app/commands/decidim/accountability/admin/update_template_texts.rb +0 -47
- data/app/controllers/decidim/accountability/admin/imports_controller.rb +0 -30
- data/app/controllers/decidim/accountability/admin/template_texts_controller.rb +0 -38
- data/app/forms/decidim/accountability/admin/template_texts_form.rb +0 -19
- data/app/models/decidim/accountability/template_texts.rb +0 -17
- data/app/services/decidim/accountability/csv_exporter.rb +0 -77
- data/app/services/decidim/accountability/csv_importer.rb +0 -106
- data/app/views/decidim/accountability/admin/imports/new.html.erb +0 -47
- data/app/views/decidim/accountability/admin/template_texts/_form.html.erb +0 -30
- data/app/views/decidim/accountability/admin/template_texts/edit.html.erb +0 -8
- data/app/views/decidim/accountability/results/_tags.html.erb +0 -10
- data/config/i18n-tasks.yml +0 -10
- data/db/migrate/20170508161109_create_template_texts.rb +0 -14
- data/db/migrate/20170606102902_add_index_to_accountability_results_on_external_id.rb +0 -5
data/config/i18n-tasks.yml
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
base_locale: en
|
2
|
-
locales: [en, es, ca]
|
3
|
-
ignore_unused:
|
4
|
-
- "decidim.features.accountability.name"
|
5
|
-
- "decidim.features.accountability.settings.*"
|
6
|
-
- "decidim.resource_links.*"
|
7
|
-
- "decidim.accountability.models.project.valid_statuses.*"
|
8
|
-
- activerecord.attributes.*
|
9
|
-
- activemodel.attributes.*
|
10
|
-
- activemodel.errors.*
|
@@ -1,14 +0,0 @@
|
|
1
|
-
class CreateTemplateTexts < ActiveRecord::Migration[5.0]
|
2
|
-
def change
|
3
|
-
create_table :decidim_accountability_template_texts do |t|
|
4
|
-
t.jsonb :intro
|
5
|
-
t.jsonb :categories_label
|
6
|
-
t.jsonb :subcategories_label
|
7
|
-
t.jsonb :heading_parent_level_results
|
8
|
-
t.jsonb :heading_leaf_level_results
|
9
|
-
t.references :decidim_feature, index: { name: :decidim_accountability_template_texts_on_feature_id }
|
10
|
-
|
11
|
-
t.timestamps
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|