decidim-admin 0.14.4 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim-admin might be problematic. Click here for more details.

Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/decidim/admin/application.js.es6 +1 -0
  3. data/app/assets/javascripts/decidim/admin/sortable.js.es6 +22 -0
  4. data/app/assets/stylesheets/decidim/admin/_decidim.scss +1 -1
  5. data/app/assets/stylesheets/decidim/admin/components/_accordion.scss +41 -0
  6. data/app/assets/stylesheets/decidim/admin/components/_sortable.scss +5 -0
  7. data/app/assets/stylesheets/decidim/admin/utils/_mixins.scss +2 -2
  8. data/app/commands/decidim/admin/create_participatory_space_private_user.rb +13 -4
  9. data/app/commands/decidim/admin/destroy_participatory_space_private_user.rb +45 -0
  10. data/app/commands/decidim/admin/publish_component.rb +2 -1
  11. data/app/commands/decidim/admin/reject_user_group.rb +1 -1
  12. data/app/commands/decidim/admin/update_organization.rb +2 -1
  13. data/app/commands/decidim/admin/verify_user_group.rb +1 -1
  14. data/app/controllers/decidim/admin/concerns/has_private_users.rb +10 -3
  15. data/app/controllers/decidim/admin/dashboard_controller.rb +1 -0
  16. data/app/controllers/decidim/admin/logs_controller.rb +2 -1
  17. data/app/forms/decidim/admin/managed_user_promotion_form.rb +12 -0
  18. data/app/forms/decidim/admin/organization_form.rb +1 -0
  19. data/app/helpers/decidim/admin/application_helper.rb +14 -0
  20. data/app/helpers/decidim/admin/bulk_actions_helper.rb +14 -15
  21. data/app/queries/decidim/admin/user_groups_evaluation.rb +3 -3
  22. data/app/views/decidim/admin/officializations/index.html.erb +1 -1
  23. data/app/views/decidim/admin/organization/_form.html.erb +6 -0
  24. data/config/locales/ca.yml +4 -8
  25. data/config/locales/de.yml +3 -0
  26. data/config/locales/en.yml +3 -7
  27. data/config/locales/es-PY.yml +3 -7
  28. data/config/locales/es.yml +3 -7
  29. data/config/locales/eu.yml +3 -0
  30. data/config/locales/fi.yml +5 -9
  31. data/config/locales/fr.yml +3 -0
  32. data/config/locales/gl.yml +3 -0
  33. data/config/locales/hu.yml +7 -11
  34. data/config/locales/it.yml +3 -0
  35. data/config/locales/nl.yml +3 -0
  36. data/config/locales/pl.yml +3 -0
  37. data/config/locales/pt-BR.yml +5 -2
  38. data/config/locales/pt.yml +3 -0
  39. data/config/locales/sv.yml +3 -0
  40. data/config/locales/uk.yml +1 -1
  41. data/lib/decidim/admin/version.rb +1 -1
  42. metadata +13 -12
  43. data/app/views/decidim/admin/bulk_actions/_dropdown.html.erb +0 -26
  44. data/app/views/decidim/admin/bulk_actions/_recategorize.html.erb +0 -15
  45. data/db/migrate/20170128112958_change_user_groups_verified_to_timestamp.rb +0 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0d9e8d0ca9df469580ec6bf8aa5f5022f4f111b1f428f02d629e71d2094d463
4
- data.tar.gz: 452712a9ea02d76fbca438fc6bb8caf0c27ad7e89f8bbc97de05df2db7a12343
3
+ metadata.gz: 80718ee2bf49078f7268ddc1eb85c6ad20dae86a791ff25ea9a40611e219c7e1
4
+ data.tar.gz: 8d804ce82ffcb98c5440cb8abd5f6a88b8dc1a08e47a00bfd21484bb5e902317
5
5
  SHA512:
6
- metadata.gz: d6678cd6bd1b61e911070a75f6e68e65c71623c4c56b0488a3697f472fb830c1b0f4bb1ce9db9a408452389838e4443b6db1b7814926f3f6d8ea3353b7d06818
7
- data.tar.gz: 933e8e5f1a100bb5514e98ae7a57be4ed1ca4ca750c9c48b29a6a971da68d7c2476fd66f21941f217059243732f61310a986e7da6eea09eb26bdd66aca0fe0dd
6
+ metadata.gz: 7ebf9222936e3a1e6adaaa29fd2538fee70aa080bbd01fb72840f2a870d2d9d75abb2ca7ba2fe20f7c696c6da99f4584a8d40f44368d267f78dc5832ff16e274
7
+ data.tar.gz: 92b015d241de613bb587d1a95891a0bcc252fd600e55ba3d6921710582f22d14d2e2363ac5409a42a6b67b19e283cb201ba6ab2796aaca0495989229e9e2b35c
@@ -16,6 +16,7 @@
16
16
  // = require ./field_dependent_inputs.component
17
17
  // = require ./bundle
18
18
  // = require ./draggable-list
19
+ // = require ./sortable
19
20
  // = require decidim/input_tags
20
21
  // = require decidim/input_hashtags
21
22
  // = require_self
@@ -0,0 +1,22 @@
1
+ /* eslint-disable no-ternary */
2
+ ((exports) => {
3
+ const { createSortList } = exports.DecidimAdmin;
4
+
5
+ // Once in DOM
6
+ $(() => {
7
+ const selector = ".js-sortable"
8
+ const $sortable = $(selector)
9
+
10
+ $sortable.each((index, elem) => {
11
+ const item = (elem.id)
12
+ ? `#${elem.id}`
13
+ : selector
14
+
15
+ createSortList(item, {
16
+ handle: "li",
17
+ forcePlaceholderSize: true,
18
+ placeholderClass: "sort-placeholder"
19
+ })
20
+ })
21
+ })
22
+ })(window)
@@ -14,5 +14,5 @@
14
14
  @import "decidim/modules/data-picker";
15
15
  @import "modules/modules";
16
16
  @import "plugins/jquery.auto-complete";
17
- @import "components/autocomplete_select.component";
17
+ @import "components/*";
18
18
  @import "bundle";
@@ -0,0 +1,41 @@
1
+ .accordion{
2
+ background: transparent;
3
+
4
+ .accordion-title{
5
+ font-size: $global-font-size;
6
+ color: inherit;
7
+ border: 0;
8
+ border-radius: 0;
9
+
10
+ span{
11
+ cursor: move;
12
+ }
13
+
14
+ &:focus{
15
+ background: transparent;
16
+ }
17
+
18
+ &:hover{
19
+ background: $light-gray;
20
+ }
21
+ }
22
+
23
+ .accordion-item{
24
+ // Override Foundation
25
+ &:first-child > :first-child,
26
+ &:last-child:not(.is-active) > .accordion-title{
27
+ border: 0;
28
+ border-radius: 0;
29
+ }
30
+ }
31
+
32
+ .accordion-content{
33
+ background-color: $lighter-gray;
34
+ border: 0;
35
+
36
+ .tabs-title > a[aria-selected="true"],
37
+ .tabs-content{
38
+ background: transparent;
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,5 @@
1
+ .sort-placeholder{
2
+ border-top: 2px dashed $medium-gray;
3
+ border-bottom: 2px dashed $medium-gray;
4
+ background-color: $body-background;
5
+ }
@@ -67,12 +67,12 @@ $side:(
67
67
  @each $p-key, $prop in $property{
68
68
  @each $v-key, $value in $size{
69
69
  .#{$p-key}-#{$v-key}{
70
- #{$prop}: #{$value};
70
+ #{$prop}: #{$value} !important;
71
71
  }
72
72
 
73
73
  @each $s-key, $side in $side{
74
74
  .#{$p-key}#{$s-key}-#{$v-key}{
75
- #{$prop}-#{$side}: #{$value};
75
+ #{$prop}-#{$side}: #{$value} !important;
76
76
  }
77
77
  }
78
78
  }
@@ -41,10 +41,19 @@ module Decidim
41
41
  attr_reader :form, :private_user_to, :current_user, :user
42
42
 
43
43
  def create_private_user
44
- Decidim::ParticipatorySpacePrivateUser.find_or_create_by!(
45
- user: user,
46
- privatable_to: @private_user_to
47
- )
44
+ Decidim.traceability.perform_action!(
45
+ :create,
46
+ Decidim::ParticipatorySpacePrivateUser,
47
+ current_user,
48
+ resource: {
49
+ title: user.name
50
+ }
51
+ ) do
52
+ Decidim::ParticipatorySpacePrivateUser.find_or_create_by!(
53
+ user: user,
54
+ privatable_to: @private_user_to
55
+ )
56
+ end
48
57
  end
49
58
 
50
59
  def existing_user
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ module Admin
5
+ # A command with all the business logic to destroy a participatory space private user.
6
+ class DestroyParticipatorySpacePrivateUser < Rectify::Command
7
+ # Public: Initializes the command.
8
+ #
9
+ # participatory_space_private_user - The participatory space private user to destroy
10
+ # current_user - the user performing the action
11
+ def initialize(participatory_space_private_user, current_user)
12
+ @participatory_space_private_user = participatory_space_private_user
13
+ @current_user = current_user
14
+ end
15
+
16
+ # Executes the command. Broadcasts these events:
17
+ #
18
+ # - :ok when everything is valid.
19
+ # - :invalid if the form wasn't valid and we couldn't proceed.
20
+ #
21
+ # Returns nothing.
22
+ def call
23
+ destroy_participatory_space_private_user
24
+ broadcast(:ok)
25
+ end
26
+
27
+ private
28
+
29
+ attr_reader :current_user
30
+
31
+ def destroy_participatory_space_private_user
32
+ Decidim.traceability.perform_action!(
33
+ "delete",
34
+ @participatory_space_private_user,
35
+ current_user,
36
+ resource: {
37
+ title: @participatory_space_private_user.user.name
38
+ }
39
+ ) do
40
+ @participatory_space_private_user.destroy!
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
@@ -31,7 +31,8 @@ module Decidim
31
31
  Decidim.traceability.perform_action!(
32
32
  :publish,
33
33
  component,
34
- current_user
34
+ current_user,
35
+ visibility: "all"
35
36
  ) do
36
37
  component.publish!
37
38
  component
@@ -33,7 +33,7 @@ module Decidim
33
33
  @user_group,
34
34
  @current_user
35
35
  ) do
36
- @user_group.update!(rejected_at: Time.current, verified_at: nil)
36
+ @user_group.reject!
37
37
  end
38
38
  end
39
39
  end
@@ -48,7 +48,8 @@ module Decidim
48
48
  facebook_handler: form.facebook_handler,
49
49
  instagram_handler: form.instagram_handler,
50
50
  youtube_handler: form.youtube_handler,
51
- github_handler: form.github_handler
51
+ github_handler: form.github_handler,
52
+ badges_enabled: form.badges_enabled
52
53
  }
53
54
  end
54
55
  end
@@ -32,7 +32,7 @@ module Decidim
32
32
  @user_group,
33
33
  @current_user
34
34
  ) do
35
- @user_group.update!(verified_at: Time.current, rejected_at: nil)
35
+ @user_group.verify!
36
36
  end
37
37
  end
38
38
  end
@@ -48,11 +48,18 @@ module Decidim
48
48
  def destroy
49
49
  @private_user = collection.find(params[:id])
50
50
  enforce_permission_to :destroy, :space_private_user, private_user: @private_user
51
- @private_user.destroy!
52
51
 
53
- flash[:notice] = I18n.t("participatory_space_private_users.destroy.success", scope: "decidim.admin")
52
+ DestroyParticipatorySpacePrivateUser.call(@private_user, current_user) do
53
+ on(:ok) do
54
+ flash[:notice] = I18n.t("participatory_space_private_users.destroy.success", scope: "decidim.admin")
55
+ redirect_to after_destroy_path
56
+ end
54
57
 
55
- redirect_to after_destroy_path
58
+ on(:invalid) do
59
+ flash.now[:alert] = I18n.t("participatory_space_private_users.destroy.error", scope: "decidim.admin")
60
+ render template: "decidim/admin/participatory_space_private_users/index"
61
+ end
62
+ end
56
63
  end
57
64
 
58
65
  def resend_invitation
@@ -17,6 +17,7 @@ module Decidim
17
17
  @latest_action_logs ||= Decidim::ActionLog
18
18
  .where(organization: current_organization)
19
19
  .includes(:participatory_space, :user, :resource, :component, :version)
20
+ .for_admin
20
21
  .order(created_at: :desc)
21
22
  .first(20)
22
23
  end
@@ -16,8 +16,9 @@ module Decidim
16
16
  def logs
17
17
  @logs ||= Decidim::ActionLog
18
18
  .where(organization: current_organization)
19
- .order(created_at: :desc)
20
19
  .includes(:participatory_space, :user, :resource, :component, :version)
20
+ .for_admin
21
+ .order(created_at: :desc)
21
22
  .page(params[:page])
22
23
  .per(20)
23
24
  end
@@ -8,6 +8,18 @@ module Decidim
8
8
  attribute :email, String
9
9
 
10
10
  validates :email, presence: true, 'valid_email_2/email': { disposable: true }
11
+ validate :unique_email
12
+
13
+ private
14
+
15
+ def unique_email
16
+ return true if Decidim::User.where(
17
+ organization: context.current_organization,
18
+ email: email
19
+ ).where.not(id: context.current_user.id).empty?
20
+ errors.add :email, :taken
21
+ false
22
+ end
11
23
  end
12
24
  end
13
25
  end
@@ -18,6 +18,7 @@ module Decidim
18
18
  attribute :youtube_handler, String
19
19
  attribute :github_handler, String
20
20
  attribute :default_locale, String
21
+ attribute :badges_enabled, Boolean
21
22
 
22
23
  validates :name, presence: true
23
24
  validates :default_locale, :reference_prefix, presence: true
@@ -16,6 +16,20 @@ module Decidim
16
16
  def title
17
17
  current_organization.name
18
18
  end
19
+
20
+ # Adds a link to the secondary navigation so admins can easily access the public page of the
21
+ # element their working on.
22
+ #
23
+ # url - The String with the URL to link to.
24
+ #
25
+ # Returns a String with a link wrapped in a <li> element.
26
+ def public_page_link(url)
27
+ content_tag(:li) do
28
+ link_to url, class: "button", style: "color: #fff", target: "_blank" do
29
+ I18n.t("decidim.admin.view_public_page")
30
+ end
31
+ end
32
+ end
19
33
  end
20
34
  end
21
35
  end
@@ -3,21 +3,6 @@
3
3
  module Decidim
4
4
  module Admin
5
5
  module BulkActionsHelper
6
- # Renders an actions dropdown, including an item
7
- # for each bulk action.
8
- #
9
- # Returns a rendered dropdown.
10
- def bulk_actions_dropdown
11
- render partial: "decidim/admin/bulk_actions/dropdown"
12
- end
13
-
14
- # Renders a form to change the category of selected items
15
- #
16
- # Returns a rendered form.
17
- def bulk_action_recategorize
18
- render partial: "decidim/admin/bulk_actions/recategorize"
19
- end
20
-
21
6
  def proposal_find(id)
22
7
  Decidim::Proposals::Proposal.find(id)
23
8
  end
@@ -57,6 +42,20 @@ module Decidim
57
42
  def bulk_disabled_categories_for(scope)
58
43
  scope.first_class.joins(:subcategories).pluck(:id)
59
44
  end
45
+
46
+ # Public: Generates a select field with the components.
47
+ #
48
+ # siblings - A collection of components.
49
+ #
50
+ # Returns a String.
51
+ def bulk_components_select(siblings)
52
+ components = siblings.map do |component|
53
+ [translated_attribute(component.name, component.organization), component.id]
54
+ end
55
+
56
+ prompt = t("decidim.proposals.admin.proposals.index.select_component")
57
+ select(:target_component_id, nil, options_for_select(components, selected: []), prompt: prompt)
58
+ end
60
59
  end
61
60
  end
62
61
  end
@@ -41,11 +41,11 @@ module Decidim
41
41
  def filter_by_state(user_groups)
42
42
  case @state
43
43
  when "verified"
44
- user_groups.where.not(verified_at: nil)
44
+ user_groups.verified
45
45
  when "rejected"
46
- user_groups.where.not(rejected_at: nil)
46
+ user_groups.rejected
47
47
  when "pending"
48
- user_groups.where(verified_at: nil, rejected_at: nil)
48
+ user_groups.pending
49
49
  else
50
50
  user_groups
51
51
  end
@@ -62,7 +62,7 @@
62
62
  <td><%= translated_attribute(user.officialized_as) %></td>
63
63
 
64
64
  <td class="table-list__actions">
65
- <%= icon_link_to "envelope-closed", current_or_new_conversation_path_with(user), t("decidim.contact"), class:"action-icon--new" %>
65
+ <%= icon_link_to "envelope-closed", current_or_new_conversation_path_with(user), t("decidim.contact"), class:"action-icon--new" %>
66
66
  <% if user.officialized? %>
67
67
  <%= icon "circle-check", class: "action-icon action-icon--disabled" %>
68
68
  <%= icon_link_to "pencil", new_officialization_path(user_id: user.id), t(".reofficialize"), class: "action-icon--new" %>
@@ -37,3 +37,9 @@
37
37
  <%= form.text_field :reference_prefix %>
38
38
  </div>
39
39
  </div>
40
+
41
+ <div class="row">
42
+ <div class="columns xlarge-6">
43
+ <%= form.check_box :badges_enabled %>
44
+ </div>
45
+ </div>
@@ -36,6 +36,7 @@ ca:
36
36
  organization_url: URL de l'organització
37
37
  redirect_uri: URL de redirecció
38
38
  organization:
39
+ badges_enabled: Activa els distintius
39
40
  cta_button_path: URL del botó d'acció
40
41
  cta_button_text: Text del botó d'acció
41
42
  default_locale: Idioma per defecte
@@ -103,9 +104,6 @@ ca:
103
104
  organization_url: URL de l'organització
104
105
  redirect_uri: URL de redirecció
105
106
  site: Lloc web
106
- date:
107
- formats:
108
- datepicker: "%d/%m/%Y"
109
107
  decidim:
110
108
  admin:
111
109
  actions:
@@ -509,6 +507,7 @@ ca:
509
507
  error: S'ha produït un error en afegir un usuari privat a aquest espai de participació.
510
508
  success: L'accés per usuari privat de l'espai de participació s'ha creat correctament.
511
509
  destroy:
510
+ error: S'ha produït un error en suprimir un usuari privat d'aquest espai participatiu.
512
511
  success: L'accés per usuari privat de l'espai de participació s'ha eliminat correctament.
513
512
  index:
514
513
  title: Usuari privat de l'espai participatiu
@@ -561,7 +560,7 @@ ca:
561
560
  index:
562
561
  last_notable_change: Últims canvis notables
563
562
  new:
564
- create: Crea
563
+ create: Crear
565
564
  title: Nova pàgina
566
565
  update:
567
566
  error: S'ha produït un error en l'actualització d'aquests pàgina.
@@ -614,6 +613,7 @@ ca:
614
613
  new:
615
614
  create: Convidar
616
615
  title: Convidar un usuari com a administrador
616
+ view_public_page: Mostra la pàgina pública
617
617
  forms:
618
618
  errors:
619
619
  impersonate_user:
@@ -654,7 +654,3 @@ ca:
654
654
  title: Configuració
655
655
  users:
656
656
  title: Usuaris
657
- time:
658
- formats:
659
- datepicker: "%d/%m/%Y"
660
- timepicker: "%d/%m/%Y %H:%M"
@@ -36,6 +36,7 @@ de:
36
36
  organization_url: Organisations-URL
37
37
  redirect_uri: URI umleiten
38
38
  organization:
39
+ badges_enabled: Abzeichen aktivieren
39
40
  cta_button_path: Call To Action Schaltfläche Pfad
40
41
  cta_button_text: Call To Action Schaltfläche Text
41
42
  default_locale: Standardgebietsschema
@@ -505,6 +506,7 @@ de:
505
506
  error: Beim Hinzufügen eines privaten Benutzers für diesen partizipativen Bereich ist ein Fehler aufgetreten.
506
507
  success: Participatory Space Privater Benutzerzugriff erfolgreich erstellt.
507
508
  destroy:
509
+ error: Beim Löschen eines privaten Benutzers für diesen partizipativen Bereich ist ein Fehler aufgetreten.
508
510
  success: Participatory Space Privater Benutzerzugriff wurde erfolgreich zerstört.
509
511
  index:
510
512
  title: Participatory Space privater Benutzer
@@ -610,6 +612,7 @@ de:
610
612
  new:
611
613
  create: Einladen
612
614
  title: Benutzer als Administrator einladen
615
+ view_public_page: Öffentliche Seite anzeigen
613
616
  forms:
614
617
  errors:
615
618
  impersonate_user:
@@ -37,6 +37,7 @@ en:
37
37
  organization_url: Organization URL
38
38
  redirect_uri: Redirect URI
39
39
  organization:
40
+ badges_enabled: Enable badges
40
41
  cta_button_path: Call To Action button path
41
42
  cta_button_text: Call To Action button text
42
43
  default_locale: Default locale
@@ -104,9 +105,6 @@ en:
104
105
  organization_url: Organization URL
105
106
  redirect_uri: Redirect URI
106
107
  site: Website
107
- date:
108
- formats:
109
- datepicker: "%m/%d/%Y"
110
108
  decidim:
111
109
  admin:
112
110
  actions:
@@ -510,6 +508,7 @@ en:
510
508
  error: There was an error adding a private user for this participatory space.
511
509
  success: Participatory space private user access created successfully.
512
510
  destroy:
511
+ error: There was an error deleting a private user for this participatory space.
513
512
  success: Participatory space private user access destroyed successfully.
514
513
  index:
515
514
  title: Participatory space private user
@@ -615,6 +614,7 @@ en:
615
614
  new:
616
615
  create: Invite
617
616
  title: Invite user as administrator
617
+ view_public_page: View public page
618
618
  forms:
619
619
  errors:
620
620
  impersonate_user:
@@ -655,7 +655,3 @@ en:
655
655
  title: Settings
656
656
  users:
657
657
  title: Users
658
- time:
659
- formats:
660
- datepicker: "%m/%d/%Y"
661
- timepicker: "%m/%d/%Y %H:%M"
@@ -36,6 +36,7 @@ es-PY:
36
36
  organization_url: URL de organización
37
37
  redirect_uri: Redirigir URI
38
38
  organization:
39
+ badges_enabled: Habilitar insignias
39
40
  cta_button_path: Ruta del botón de acción principal
40
41
  cta_button_text: Texto del botón de acción principal
41
42
  default_locale: Idioma predeterminado
@@ -103,9 +104,6 @@ es-PY:
103
104
  organization_url: URL de organización
104
105
  redirect_uri: Redirigir URI
105
106
  site: Sitio web
106
- date:
107
- formats:
108
- datepicker: "%d/%m/%Y"
109
107
  decidim:
110
108
  admin:
111
109
  actions:
@@ -509,6 +507,7 @@ es-PY:
509
507
  error: Hubo un error al agregar un usuario privado para este espacio participativo.
510
508
  success: El acceso a usuarios privados de espacio participativo creado con éxito.
511
509
  destroy:
510
+ error: Se ha producido un error al eliminar un usuario privado para este espacio participativo.
512
511
  success: El acceso de usuarios privados del espacio participativo se eliminado con éxito.
513
512
  index:
514
513
  title: Usuario privado de espacio participativo.
@@ -614,6 +613,7 @@ es-PY:
614
613
  new:
615
614
  create: Invitar
616
615
  title: Invitar a un usuario como administrador
616
+ view_public_page: Ver página pública
617
617
  forms:
618
618
  errors:
619
619
  impersonate_user:
@@ -654,7 +654,3 @@ es-PY:
654
654
  title: Ajustes
655
655
  users:
656
656
  title: Usuarios
657
- time:
658
- formats:
659
- datepicker: "%d/%m/%Y"
660
- timepicker: "%d/%m/%Y %H:%M"
@@ -36,6 +36,7 @@ es:
36
36
  organization_url: URL de organización
37
37
  redirect_uri: Redirigir URI
38
38
  organization:
39
+ badges_enabled: Habilitar insignias
39
40
  cta_button_path: Ruta del botón de acción principal
40
41
  cta_button_text: Texto del botón de acción principal
41
42
  default_locale: Idioma predeterminado
@@ -103,9 +104,6 @@ es:
103
104
  organization_url: URL de organización
104
105
  redirect_uri: Redirigir URI
105
106
  site: Sitio web
106
- date:
107
- formats:
108
- datepicker: "%d/%m/%Y"
109
107
  decidim:
110
108
  admin:
111
109
  actions:
@@ -509,6 +507,7 @@ es:
509
507
  error: Hubo un error al agregar un usuario privado para este espacio participativo.
510
508
  success: El acceso a usuarios privados de espacio participativo creado con éxito.
511
509
  destroy:
510
+ error: Se ha producido un error al eliminar un usuario privado para este espacio participativo.
512
511
  success: El acceso de usuarios privados del espacio participativo se eliminado con éxito.
513
512
  index:
514
513
  title: Usuario privado de espacio participativo.
@@ -614,6 +613,7 @@ es:
614
613
  new:
615
614
  create: Invitar
616
615
  title: Invitar a un usuario como administrador
616
+ view_public_page: Ver página pública
617
617
  forms:
618
618
  errors:
619
619
  impersonate_user:
@@ -654,7 +654,3 @@ es:
654
654
  title: Ajustes
655
655
  users:
656
656
  title: Usuarios
657
- time:
658
- formats:
659
- datepicker: "%d/%m/%Y"
660
- timepicker: "%d/%m/%Y %H:%M"
@@ -36,6 +36,7 @@ eu:
36
36
  organization_url: Erakundearen URLa
37
37
  redirect_uri: Birbideratu URIa
38
38
  organization:
39
+ badges_enabled: Gaitu txapak
39
40
  cta_button_path: Deitu ekintza botoiaren bideora
40
41
  cta_button_text: Deitu ekintza botoiaren testura
41
42
  default_locale: Eskualdeko ezarpen lehenetsiak
@@ -506,6 +507,7 @@ eu:
506
507
  error: Errore bat gertatu da partaidetza espazio honen erabiltzaile pribatua gehitzean.
507
508
  success: Partaidetza espazioa erabiltzaile pribatuaren sarbidea behar bezala sortu da.
508
509
  destroy:
510
+ error: Errore bat gertatu da erabiltzaile pribatu bat ezabatzen parte hartzaileentzako.
509
511
  success: Partekatze espazioa erabiltzaileen sarbide pribatuan arrakastaz suntsitu da.
510
512
  index:
511
513
  title: Partaidetza espazioa erabiltzaile pribatua
@@ -611,6 +613,7 @@ eu:
611
613
  new:
612
614
  create: Gonbit egin
613
615
  title: Gonbit egin erabiltzaile bati administratzaile gisa
616
+ view_public_page: Ikusi orri publikoa
614
617
  forms:
615
618
  errors:
616
619
  impersonate_user:
@@ -36,6 +36,7 @@ fi:
36
36
  organization_url: Organisaation URL-osoite
37
37
  redirect_uri: Uudelleenohjauksen URI
38
38
  organization:
39
+ badges_enabled: Ota kunniamerkit käyttöön
39
40
  cta_button_path: Call To Action -painikkeen polku
40
41
  cta_button_text: Call To Action -painikkeen teksti
41
42
  default_locale: Oletuskieli
@@ -48,7 +49,7 @@ fi:
48
49
  highlighted_content_banner_action_subtitle: Toimintapainikkeen alaotsikko
49
50
  highlighted_content_banner_action_title: Toimintapainikkeen otsikko
50
51
  highlighted_content_banner_action_url: Toimintapainikkeen URL-osoite
51
- highlighted_content_banner_enabled: Näytä korostettu sisältöbanneri
52
+ highlighted_content_banner_enabled: Näytä tärkeä sisältöbanneri
52
53
  highlighted_content_banner_image: Kuva
53
54
  highlighted_content_banner_short_description: Lyhyt kuvaus
54
55
  highlighted_content_banner_title: Otsikko
@@ -103,9 +104,6 @@ fi:
103
104
  organization_url: Organisaation URL-osoite
104
105
  redirect_uri: Uudelleenohjausosoite (URI)
105
106
  site: Verkkosivusto
106
- date:
107
- formats:
108
- datepicker: "%d. %m. %Y"
109
107
  decidim:
110
108
  admin:
111
109
  actions:
@@ -494,7 +492,7 @@ fi:
494
492
  cta_button_text_help: Voit korvata toimintopainikkeen (Call to Action) tekstin kotisivulla jokaiselle organisaatiosi kielelle. Mikäli tätä ei ole asetettu, oletusarvoa käytetään. Toimintopainike näytetään kotisivulla Tervetuloa-tekstin ja kuvauksen välissä.
495
493
  header_snippets_help: Käytä tätä kenttää lisätäksesi HTML-koodia sivun alkuun. Yleisin käyttötarve on sellaisten kolmannen osapuolen palveluiden integrointi, jotka vaativat JavaScript- tai CSS-koodin lisäystä sivun HTML-koodiin. Huomioi, että tämä lisätään ainoastaan julkisille sivuille, ei hallinnointisivuille.
496
494
  homepage_appearance_title: Muokkaa kotisivun ulkoasua
497
- homepage_highlighted_content_banner_title: Korostettu sisältöbanneri
495
+ homepage_highlighted_content_banner_title: Tärkeä sisältöbanneri
498
496
  layout_appearance_title: Muokkaa sivupohjan ulkoasua
499
497
  omnipresent_banner_appearance_title: Muokkaa kaikkialla näkyvää banneria
500
498
  organization_homepage:
@@ -509,6 +507,7 @@ fi:
509
507
  error: Yksityisen käyttäjän lisäämisessä tähän osallistumistilaan tapahtui virhe.
510
508
  success: Osallistumistilaa koskeva yksityisen käyttäjän käyttöoikeus lisätty onnistuneesti.
511
509
  destroy:
510
+ error: Tapahtui virhe poistettaessa osallistumistilan yksityistä käyttäjää.
512
511
  success: Osallistumistilaa koskeva yksityisen käyttäjän käyttöoikeus tuhottu onnistuneesti.
513
512
  index:
514
513
  title: Osallistumistilan yksityinen käyttäjä
@@ -614,6 +613,7 @@ fi:
614
613
  new:
615
614
  create: Kutsu
616
615
  title: Kutsu käyttäjä hallinnoijaksi
616
+ view_public_page: Näytä julkinen sivu
617
617
  forms:
618
618
  errors:
619
619
  impersonate_user:
@@ -654,7 +654,3 @@ fi:
654
654
  title: Asetukset
655
655
  users:
656
656
  title: Käyttäjät
657
- time:
658
- formats:
659
- datepicker: "%d. %m. %Y"
660
- timepicker: "%d.%m.%Y %H:%M"
@@ -36,6 +36,7 @@ fr:
36
36
  organization_url: URL de l'organisation
37
37
  redirect_uri: Rediriger l'URI
38
38
  organization:
39
+ badges_enabled: Activer les badges
39
40
  cta_button_path: Chemin du bouton d'action
40
41
  cta_button_text: Texte du bouton d'action
41
42
  default_locale: Langue par défaut
@@ -506,6 +507,7 @@ fr:
506
507
  error: Une erreur s'est produite lors de l'ajout d'un utilisateur pour cet espace participatif.
507
508
  success: L'accès utilisateur à l'espace participatif privé a été créé avec succès.
508
509
  destroy:
510
+ error: Une erreur s'est produite lors de la suppression d'un utilisateur privé pour cet espace participatif.
509
511
  success: L'accès utilisateur à l'espace participatif privé a été supprimé avec succès.
510
512
  index:
511
513
  title: Utilisateur privé de l'espace participatif
@@ -611,6 +613,7 @@ fr:
611
613
  new:
612
614
  create: Inviter
613
615
  title: Inviter l'utilisateur en tant qu'administrateur
616
+ view_public_page: Voir la page publique
614
617
  forms:
615
618
  errors:
616
619
  impersonate_user:
@@ -36,6 +36,7 @@ gl:
36
36
  organization_url: URL da organización
37
37
  redirect_uri: Redirixir URI
38
38
  organization:
39
+ badges_enabled: Activar emblemas
39
40
  cta_button_path: Camiño do botón de chamada a acción
40
41
  cta_button_text: Texto do botón de chamada a acción
41
42
  default_locale: Configuración predeterminada
@@ -506,6 +507,7 @@ gl:
506
507
  error: Produciuse un erro engadindo un usuario privado a este espazo participativo.
507
508
  success: O acceso ao usuario privado do espazo participativo creouse con éxito.
508
509
  destroy:
510
+ error: Produciuse un erro ao eliminar un usuario privado deste espazo participativo.
509
511
  success: O acceso ao usuario privado do espazo participativo foi destruído con éxito.
510
512
  index:
511
513
  title: Espazo participativo usuario privado
@@ -611,6 +613,7 @@ gl:
611
613
  new:
612
614
  create: Invitar
613
615
  title: Convidar ao usuario como administrador
616
+ view_public_page: Ver páxina pública
614
617
  forms:
615
618
  errors:
616
619
  impersonate_user:
@@ -8,7 +8,7 @@ hu:
8
8
  area_type:
9
9
  name: Név
10
10
  organization: Szervezet
11
- plural: Többes szám
11
+ plural: Plurális
12
12
  attachment:
13
13
  attachment_collection_id: Mappa
14
14
  description: Leírás
@@ -36,6 +36,7 @@ hu:
36
36
  organization_url: Szervezet URL
37
37
  redirect_uri: Redirect URI
38
38
  organization:
39
+ badges_enabled: Jelvények engedélyezése
39
40
  cta_button_path: Felhívás gomb elérési útvonala
40
41
  cta_button_text: Felhívás gomb szövege
41
42
  default_locale: Alapértelmezett hely
@@ -76,7 +77,7 @@ hu:
76
77
  scope_type:
77
78
  name: Név
78
79
  organization: Szervezet
79
- plural: Többes szám
80
+ plural: Plurális
80
81
  static_page:
81
82
  changed_notably: Észrevehető változások történtek.
82
83
  content: Tartalom
@@ -103,9 +104,6 @@ hu:
103
104
  organization_url: Szervezet URL
104
105
  redirect_uri: Redirect URI
105
106
  site: Weboldal
106
- date:
107
- formats:
108
- datepicker: "%év%hónap%nap"
109
107
  decidim:
110
108
  admin:
111
109
  actions:
@@ -322,7 +320,7 @@ hu:
322
320
  area_type:
323
321
  fields:
324
322
  name: Név
325
- plural: Többes szám
323
+ plural: Plurális
326
324
  attachment:
327
325
  fields:
328
326
  collection: Mappa
@@ -363,7 +361,7 @@ hu:
363
361
  scope_type:
364
362
  fields:
365
363
  name: Név
366
- plural: Többes szám
364
+ plural: Plurális
367
365
  static_page:
368
366
  fields:
369
367
  created_at: 'Létrehozva:'
@@ -509,6 +507,7 @@ hu:
509
507
  error: Hiba történt egy privát felhasználó hozzáadása során a részvételi helyhez.
510
508
  success: Privát felhasználó részvételi helyhez való hozzáférése biztosítva.
511
509
  destroy:
510
+ error: Hiba történt egy privát felhasználó törlésével a részvételi helyen.
512
511
  success: Privát felhasználó részvételi helyhez való hozzáférése törölve.
513
512
  index:
514
513
  title: Részvételi tér privát felhasználója
@@ -614,6 +613,7 @@ hu:
614
613
  new:
615
614
  create: Meghívás
616
615
  title: Felhasználó meghívása rendszergazdaként
616
+ view_public_page: Nyilvános oldal megtekintése
617
617
  forms:
618
618
  errors:
619
619
  impersonate_user:
@@ -654,7 +654,3 @@ hu:
654
654
  title: Beállítások
655
655
  users:
656
656
  title: Felhasználók
657
- time:
658
- formats:
659
- datepicker: "%év%hónap%nap"
660
- timepicker: "%év%hónap%nap%óra:%perc"
@@ -36,6 +36,7 @@ it:
36
36
  organization_url: URL dell'organizzazione
37
37
  redirect_uri: Reindirizza URI
38
38
  organization:
39
+ badges_enabled: Abilita badge
39
40
  cta_button_path: Percorso del pulsante Call To Action
40
41
  cta_button_text: Testo del pulsante Chiamata all'azione
41
42
  default_locale: Lingua predefinita
@@ -506,6 +507,7 @@ it:
506
507
  error: Si è verificato un errore durante l'aggiunta di un utente privato per questo spazio partecipativo.
507
508
  success: Accesso utente privato spazio partecipativo creato con successo.
508
509
  destroy:
510
+ error: Si è verificato un errore durante l'eliminazione di un utente privato per questo spazio partecipativo.
509
511
  success: Accesso utente privato spazio distruttivo distrutto con successo.
510
512
  index:
511
513
  title: Utente privato dello spazio partecipativo
@@ -611,6 +613,7 @@ it:
611
613
  new:
612
614
  create: Invita
613
615
  title: Invita l'utente in qualità di amministratore
616
+ view_public_page: Visualizza la pagina pubblica
614
617
  forms:
615
618
  errors:
616
619
  impersonate_user:
@@ -36,6 +36,7 @@ nl:
36
36
  organization_url: URL van de organisatie
37
37
  redirect_uri: URI doorsturen
38
38
  organization:
39
+ badges_enabled: Schakel badges in
39
40
  cta_button_path: actieknop pad
40
41
  cta_button_text: actieknop tekst
41
42
  default_locale: Standaard taal
@@ -506,6 +507,7 @@ nl:
506
507
  error: Er is een fout opgetreden bij het toevoegen van een privégebruiker aan deze burgerinspraak.
507
508
  success: De toegang van de privégebruiker voor de burgerinspraak is succesvol aangemaakt.
508
509
  destroy:
510
+ error: Er is een fout opgetreden bij het verwijderen van een privégebruiker voor deze deelruimte.
509
511
  success: De toegang van de privégebruiker voor burgerinspraak is met succes verwijderd.
510
512
  index:
511
513
  title: Privégebruiker van de burgerinspraak
@@ -611,6 +613,7 @@ nl:
611
613
  new:
612
614
  create: Nodig uit
613
615
  title: Nodig gebruiker uit als beheerder
616
+ view_public_page: Bekijk openbare pagina
614
617
  forms:
615
618
  errors:
616
619
  impersonate_user:
@@ -36,6 +36,7 @@ pl:
36
36
  organization_url: Adres organizacji
37
37
  redirect_uri: Przekierowanie URI
38
38
  organization:
39
+ badges_enabled: Włącz odznaki
39
40
  cta_button_path: Ścieżka przycisku wezwania do działania
40
41
  cta_button_text: Tekst przycisku wezwania do działania
41
42
  default_locale: Domena domyślna
@@ -506,6 +507,7 @@ pl:
506
507
  error: Wystąpił błąd podczas dodawania użytkownika prywatnego do tej partycji uczestniczącej.
507
508
  success: Prywatny dostęp użytkowników prywatnych do przestrzeni utworzonej pomyślnie.
508
509
  destroy:
510
+ error: Wystąpił błąd podczas usuwania użytkownika prywatnego z tej partycji uczestniczącej.
509
511
  success: Dostęp prywatny użytkownika do przestrzeni dyskowej został pomyślnie zniszczony.
510
512
  index:
511
513
  title: Prywatny użytkownik przestrzeni prywatnej
@@ -611,6 +613,7 @@ pl:
611
613
  new:
612
614
  create: Zapraszam
613
615
  title: Zaproś użytkownika jako administratora
616
+ view_public_page: Zobacz stronę publiczną
614
617
  forms:
615
618
  errors:
616
619
  impersonate_user:
@@ -36,6 +36,7 @@ pt-BR:
36
36
  organization_url: URL da organização
37
37
  redirect_uri: Redirecionar URI
38
38
  organization:
39
+ badges_enabled: Ativar emblemas
39
40
  cta_button_path: Caminho do botão Chamar para Ação
40
41
  cta_button_text: Texto do botão Chamar para Ação
41
42
  default_locale: Idioma padrão
@@ -43,7 +44,7 @@ pt-BR:
43
44
  enable_omnipresent_banner: Mostrar bandeira omnipresente
44
45
  facebook_handler: Manipulador do Facebook
45
46
  favicon: Ícone
46
- github_handler: GitHub handler
47
+ github_handler: Manipulador GitHub
47
48
  header_snippets: Snippets de cabeçalho
48
49
  highlighted_content_banner_action_subtitle: Legenda do botão de ação
49
50
  highlighted_content_banner_action_title: Título do botão Ação
@@ -52,7 +53,7 @@ pt-BR:
52
53
  highlighted_content_banner_image: Imagem
53
54
  highlighted_content_banner_short_description: Descrição curta
54
55
  highlighted_content_banner_title: Título
55
- instagram_handler: Instagram handler
56
+ instagram_handler: Manipulador de Instagram
56
57
  logo: Logotipo
57
58
  name: Nome
58
59
  official_img_footer: Símbolo oficial do rodapé
@@ -506,6 +507,7 @@ pt-BR:
506
507
  error: Ocorreu um erro ao adicionar um usuário privado para este espaço participativo.
507
508
  success: Espaço participativo acesso de usuário privado criado com sucesso.
508
509
  destroy:
510
+ error: Houve um erro ao excluir um usuário particular desse espaço participativo.
509
511
  success: Espaço participativo acesso de usuário privado excluído com sucesso.
510
512
  index:
511
513
  title: Espaço participativo usuário particular
@@ -611,6 +613,7 @@ pt-BR:
611
613
  new:
612
614
  create: Convite
613
615
  title: Convide o usuário como administrador
616
+ view_public_page: Ver página pública
614
617
  forms:
615
618
  errors:
616
619
  impersonate_user:
@@ -36,6 +36,7 @@ pt:
36
36
  organization_url: URL da organização
37
37
  redirect_uri: URI de redirecionamento
38
38
  organization:
39
+ badges_enabled: Ativar emblemas
39
40
  cta_button_path: Caminho do botão Chamar para Ação
40
41
  cta_button_text: Texto do botão Chamar para Ação
41
42
  default_locale: Idioma por defeito
@@ -506,6 +507,7 @@ pt:
506
507
  error: Ocorreu um erro ao adicionar um usuário privado para este espaço participativo.
507
508
  success: Espaço participativo acesso de usuário privado criado com sucesso.
508
509
  destroy:
510
+ error: Houve um erro ao excluir um usuário particular desse espaço participativo.
509
511
  success: Espaço participativo acesso de usuário privado destruído com sucesso.
510
512
  index:
511
513
  title: Espaço participativo usuário particular
@@ -611,6 +613,7 @@ pt:
611
613
  new:
612
614
  create: Convite
613
615
  title: Convide o usuário como administrador
616
+ view_public_page: Ver página pública
614
617
  forms:
615
618
  errors:
616
619
  impersonate_user:
@@ -36,6 +36,7 @@ sv:
36
36
  organization_url: Organisationens hemsida
37
37
  redirect_uri: Omdirigerings-URI
38
38
  organization:
39
+ badges_enabled: Aktivera märken
39
40
  cta_button_path: Knappsökväg till Uppmaning till Handing
40
41
  cta_button_text: Knapptext för Uppmaning till Handling
41
42
  default_locale: Standardspråk
@@ -506,6 +507,7 @@ sv:
506
507
  error: Det gick inte att lägga till en privat användare för detta deltagande utrymme.
507
508
  success: Deltagande utrymme privat användaråtkomst skapades framgångsrikt.
508
509
  destroy:
510
+ error: Det gick inte att ta bort en privat användare för det här deltagande rummet.
509
511
  success: Deltagande utrymme privat användaråtkomst förstörs framgångsrikt.
510
512
  index:
511
513
  title: Deltagande utrymme privat användare
@@ -611,6 +613,7 @@ sv:
611
613
  new:
612
614
  create: Bjud in
613
615
  title: Bjud in användaren som administratör
616
+ view_public_page: Visa allmän sida
614
617
  forms:
615
618
  errors:
616
619
  impersonate_user:
@@ -555,7 +555,7 @@ uk:
555
555
  index:
556
556
  last_notable_change: Остання помітна зміна
557
557
  new:
558
- create: Створити
558
+ create: Додати
559
559
  title: Створити сторінку
560
560
  update:
561
561
  error: При спробі оновити цю сторінку сталася помилка.
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-admin version.
5
5
  module Admin
6
6
  def self.version
7
- "0.14.4"
7
+ "0.15.0"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.4
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-10-24 00:00:00.000000000 Z
13
+ date: 2018-11-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: active_link_to
@@ -32,14 +32,14 @@ dependencies:
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.14.4
35
+ version: 0.15.0
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.14.4
42
+ version: 0.15.0
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: devise
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -136,28 +136,28 @@ dependencies:
136
136
  requirements:
137
137
  - - '='
138
138
  - !ruby/object:Gem::Version
139
- version: 0.14.4
139
+ version: 0.15.0
140
140
  type: :development
141
141
  prerelease: false
142
142
  version_requirements: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - '='
145
145
  - !ruby/object:Gem::Version
146
- version: 0.14.4
146
+ version: 0.15.0
147
147
  - !ruby/object:Gem::Dependency
148
148
  name: decidim-participatory_processes
149
149
  requirement: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - '='
152
152
  - !ruby/object:Gem::Version
153
- version: 0.14.4
153
+ version: 0.15.0
154
154
  type: :development
155
155
  prerelease: false
156
156
  version_requirements: !ruby/object:Gem::Requirement
157
157
  requirements:
158
158
  - - '='
159
159
  - !ruby/object:Gem::Version
160
- version: 0.14.4
160
+ version: 0.15.0
161
161
  description: Organization administration to manage a single organization.
162
162
  email:
163
163
  - josepjaume@gmail.com
@@ -181,6 +181,7 @@ files:
181
181
  - app/assets/javascripts/decidim/admin/field_dependent_inputs.component.js.es6
182
182
  - app/assets/javascripts/decidim/admin/managed_users.js.es6
183
183
  - app/assets/javascripts/decidim/admin/sort_list.component.js.es6
184
+ - app/assets/javascripts/decidim/admin/sortable.js.es6
184
185
  - app/assets/javascripts/decidim/admin/subform_toggler.component.js.es6
185
186
  - app/assets/javascripts/decidim/admin/tab_focus.js.es6
186
187
  - app/assets/javascripts/decidim/admin/toggle_nav.js.es6
@@ -188,7 +189,9 @@ files:
188
189
  - app/assets/stylesheets/decidim/admin/_variables.scss
189
190
  - app/assets/stylesheets/decidim/admin/application.scss.erb
190
191
  - app/assets/stylesheets/decidim/admin/bundle.scss
192
+ - app/assets/stylesheets/decidim/admin/components/_accordion.scss
191
193
  - app/assets/stylesheets/decidim/admin/components/_autocomplete_select.component.scss
194
+ - app/assets/stylesheets/decidim/admin/components/_sortable.scss
192
195
  - app/assets/stylesheets/decidim/admin/extra/_action-icon.scss
193
196
  - app/assets/stylesheets/decidim/admin/extra/_cards.scss
194
197
  - app/assets/stylesheets/decidim/admin/extra/_categories.scss
@@ -278,6 +281,7 @@ files:
278
281
  - app/commands/decidim/admin/destroy_component.rb
279
282
  - app/commands/decidim/admin/destroy_newsletter.rb
280
283
  - app/commands/decidim/admin/destroy_oauth_application.rb
284
+ - app/commands/decidim/admin/destroy_participatory_space_private_user.rb
281
285
  - app/commands/decidim/admin/destroy_scope.rb
282
286
  - app/commands/decidim/admin/destroy_static_page.rb
283
287
  - app/commands/decidim/admin/hide_resource.rb
@@ -410,8 +414,6 @@ files:
410
414
  - app/views/decidim/admin/attachments/new.html.erb
411
415
  - app/views/decidim/admin/attachments/show.html.erb
412
416
  - app/views/decidim/admin/authorization_workflows/index.html.erb
413
- - app/views/decidim/admin/bulk_actions/_dropdown.html.erb
414
- - app/views/decidim/admin/bulk_actions/_recategorize.html.erb
415
417
  - app/views/decidim/admin/categories/_form.html.erb
416
418
  - app/views/decidim/admin/categories/edit.html.erb
417
419
  - app/views/decidim/admin/categories/index.html.erb
@@ -511,7 +513,6 @@ files:
511
513
  - config/locales/uk.yml
512
514
  - config/routes.rb
513
515
  - db/migrate/20161102144648_add_admin_participatory_process_user_roles.rb
514
- - db/migrate/20170128112958_change_user_groups_verified_to_timestamp.rb
515
516
  - db/migrate/20170714083651_rename_participatory_process_user_roles_table.rb
516
517
  - db/migrate/20171219154507_add_officialization_to_users.rb
517
518
  - db/migrate/20180413233318_add_reason_to_decidim_impersonation_logs.rb
@@ -557,7 +558,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
557
558
  version: '0'
558
559
  requirements: []
559
560
  rubyforge_project:
560
- rubygems_version: 2.7.7
561
+ rubygems_version: 2.7.6
561
562
  signing_key:
562
563
  specification_version: 4
563
564
  summary: Decidim organization administration
@@ -1,26 +0,0 @@
1
- <div id="js-bulk-actions-wrapper">
2
- <button
3
- id="js-bulk-actions-button"
4
- class="button button--nomargin tiny success light dropdown"
5
- type="button"
6
- data-toggle="js-bulk-actions-dropdown">
7
- <%= t("decidim.proposals.admin.proposals.index.actions") %>
8
- </button>
9
-
10
- <div
11
- id="js-bulk-actions-dropdown"
12
- class="dropdown-pane"
13
- data-position="bottom"
14
- data-alignment="right"
15
- data-dropdown="dropdown"
16
- data-auto-focus="false"
17
- data-events="resize">
18
- <ul class="list-reset">
19
- <li>
20
- <button type="button" id="js-bulk-actions-recategorize">
21
- <%= t("decidim.proposals.admin.proposals.index.change_category") %>
22
- </button>
23
- </li>
24
- </ul>
25
- </div>
26
- </div>
@@ -1,15 +0,0 @@
1
- <div id="js-recategorize-proposals-actions" class="hide">
2
- <%= form_tag(update_category_proposals_path, method: :post, remote: true, id: "js-form-recategorize-proposals", class: "flex--cc flex-gap--1") do %>
3
- <div class="checkboxes hide">
4
- <% proposals.each do |proposal| %>
5
- <%= check_box_tag "proposal_ids[]", proposal.id, false, class: "js-check-all-proposal js-proposal-id-#{proposal.id}" %>
6
- <% end %>
7
- </div>
8
-
9
- <%= bulk_categories_select current_component.categories %>
10
-
11
- <%= submit_tag(t("decidim.proposals.admin.proposals.index.update"), id: "js-submit-edit-category", class: "button small button--simple float-left") %>
12
-
13
- <button id="js-cancel-edit-category" class="button tiny clear compact" type="button"><%= t("decidim.proposals.admin.proposals.index.cancel") %></button>
14
- <% end %>
15
- </div>
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class ChangeUserGroupsVerifiedToTimestamp < ActiveRecord::Migration[5.0]
4
- def change
5
- ActiveRecord::Base.transaction do
6
- add_column :decidim_user_groups, :verified_at, :datetime
7
- execute("UPDATE decidim_user_groups SET verified_at = '#{Time.current.to_s(:db)}' WHERE verified = 't'")
8
- remove_column :decidim_user_groups, :verified
9
- end
10
- end
11
- end