decidim 0.4.3 → 0.4.4

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

Potentially problematic release.


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

Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +11 -0
  3. data/CHANGELOG.md +16 -2
  4. data/Gemfile.lock +41 -42
  5. data/README.md +1 -1
  6. data/Rakefile +1 -1
  7. data/decidim-admin/app/commands/decidim/admin/publish_participatory_process.rb +1 -5
  8. data/decidim-admin/app/commands/decidim/admin/unpublish_participatory_process.rb +1 -5
  9. data/decidim-admin/app/controllers/decidim/admin/application_controller.rb +1 -1
  10. data/decidim-admin/app/controllers/decidim/admin/exports_controller.rb +2 -9
  11. data/decidim-admin/app/controllers/decidim/admin/feature_permissions_controller.rb +1 -1
  12. data/decidim-admin/app/controllers/decidim/admin/features/base_controller.rb +3 -2
  13. data/decidim-admin/app/controllers/decidim/admin/features_controller.rb +2 -2
  14. data/decidim-admin/app/controllers/decidim/admin/participatory_process_groups_controller.rb +2 -1
  15. data/decidim-admin/app/controllers/decidim/admin/participatory_processes_controller.rb +6 -2
  16. data/decidim-admin/app/forms/decidim/admin/participatory_process_copy_form.rb +1 -1
  17. data/decidim-admin/app/forms/decidim/admin/participatory_process_form.rb +1 -1
  18. data/decidim-admin/app/helpers/decidim/admin/process_groups_for_select_helper.rb +1 -1
  19. data/decidim-admin/app/helpers/decidim/admin/processes_for_select_helper.rb +1 -1
  20. data/decidim-admin/app/helpers/decidim/admin/{feature_settings_helper.rb → settings_helper.rb} +2 -2
  21. data/decidim-admin/app/models/decidim/admin/abilities/participatory_process_admin_ability.rb +2 -2
  22. data/decidim-admin/app/views/decidim/admin/attachments/index.html.erb +1 -1
  23. data/decidim-admin/app/views/decidim/admin/categories/index.html.erb +1 -1
  24. data/decidim-admin/app/views/decidim/admin/exports/_dropdown.html.erb +1 -1
  25. data/decidim-admin/app/views/decidim/admin/features/_feature.html.erb +2 -2
  26. data/decidim-admin/app/views/decidim/admin/features/edit.html.erb +1 -1
  27. data/decidim-admin/app/views/decidim/admin/features/index.html.erb +1 -1
  28. data/decidim-admin/app/views/decidim/admin/features/new.html.erb +1 -1
  29. data/decidim-admin/app/views/decidim/admin/participatory_process_groups/show.html.erb +1 -1
  30. data/decidim-admin/app/views/decidim/admin/participatory_process_steps/index.html.erb +2 -2
  31. data/decidim-admin/app/views/decidim/admin/participatory_process_steps/new.html.erb +0 -1
  32. data/decidim-admin/app/views/decidim/admin/participatory_process_user_roles/index.html.erb +1 -1
  33. data/decidim-admin/app/views/decidim/admin/participatory_process_user_roles/new.html.erb +6 -6
  34. data/decidim-admin/app/views/decidim/admin/participatory_processes/new.html.erb +0 -1
  35. data/decidim-admin/app/views/layouts/decidim/admin/participatory_process.html.erb +2 -2
  36. data/decidim-admin/config/locales/ca.yml +7 -14
  37. data/decidim-admin/config/locales/en.yml +7 -14
  38. data/decidim-admin/config/locales/es.yml +7 -14
  39. data/decidim-admin/config/locales/eu.yml +9 -15
  40. data/decidim-admin/config/locales/fi.yml +7 -12
  41. data/decidim-admin/config/locales/fr.yml +9 -15
  42. data/decidim-admin/config/locales/it.yml +9 -15
  43. data/decidim-admin/config/routes.rb +9 -7
  44. data/decidim-admin/spec/commands/copy_participatory_process_spec.rb +4 -4
  45. data/decidim-admin/spec/controllers/exports_controller_spec.rb +2 -0
  46. data/decidim-admin/spec/controllers/participatory_processes_controller_spec.rb +2 -0
  47. data/decidim-admin/spec/controllers/static_pages_controller_spec.rb +2 -0
  48. data/decidim-admin/spec/features/admin_copy_participatory_process_spec.rb +3 -2
  49. data/decidim-admin/spec/features/admin_manages_feature_permissions_spec.rb +1 -1
  50. data/decidim-admin/spec/features/admin_manages_features_spec.rb +4 -4
  51. data/decidim-admin/spec/features/admin_manages_participatory_process_admins_spec.rb +2 -1
  52. data/decidim-admin/spec/features/admin_manages_participatory_process_attachments_spec.rb +2 -1
  53. data/decidim-admin/spec/features/admin_manages_participatory_process_categories_spec.rb +1 -1
  54. data/decidim-admin/spec/features/admin_manages_participatory_process_groups_spec.rb +2 -2
  55. data/decidim-admin/spec/features/admin_manages_participatory_process_steps_spec.rb +2 -1
  56. data/decidim-admin/spec/features/admin_manages_participatory_processes_spec.rb +3 -3
  57. data/decidim-admin/spec/features/admin_manages_user_groups_spec.rb +3 -2
  58. data/decidim-admin/spec/features/participatory_process_admin_manages_participatory_process_admins_spec.rb +1 -2
  59. data/decidim-admin/spec/features/participatory_process_admin_manages_participatory_process_attachments_spec.rb +1 -3
  60. data/decidim-admin/spec/features/{process_admin_manages_participatory_process_categories_spec.rb → participatory_process_admin_manages_participatory_process_categories_spec.rb} +2 -4
  61. data/decidim-admin/spec/features/participatory_process_admin_manages_participatory_process_steps_spec.rb +1 -2
  62. data/decidim-admin/spec/features/participatory_process_admin_manages_participatory_processes_spec.rb +2 -2
  63. data/decidim-admin/spec/helpers/{feature_settings_helper_spec.rb → settings_helper_spec.rb} +1 -1
  64. data/decidim-admin/spec/shared/manage_process_admins_examples.rb +9 -1
  65. data/decidim-admin/spec/shared/participatory_process_administration_by_admin_shared_context.rb +9 -0
  66. data/decidim-admin/spec/shared/participatory_process_administration_by_process_admin_shared_context.rb +13 -0
  67. data/decidim-admin/spec/shared/{participatory_admin_shared_context.rb → participatory_process_administration_shared_context.rb} +2 -4
  68. data/decidim-api/decidim-api.gemspec +2 -0
  69. data/decidim-api/lib/decidim/api/schema.rb +1 -1
  70. data/decidim-api/lib/decidim/api/test/type_context.rb +1 -1
  71. data/decidim-api/spec/controllers/queries_controller_spec.rb +2 -0
  72. data/decidim-budgets/app/forms/decidim/budgets/admin/project_form.rb +4 -0
  73. data/decidim-budgets/app/views/decidim/budgets/admin/projects/index.html.erb +1 -1
  74. data/decidim-budgets/app/views/decidim/budgets/projects/_tags.html.erb +2 -2
  75. data/decidim-budgets/decidim-budgets.gemspec +1 -1
  76. data/decidim-budgets/lib/decidim/budgets/feature.rb +30 -34
  77. data/decidim-budgets/spec/commands/remove_line_item_spec.rb +2 -0
  78. data/decidim-budgets/spec/features/comments_spec.rb +1 -1
  79. data/decidim-budgets/spec/features/orders_spec.rb +1 -5
  80. data/decidim-budgets/spec/forms/project_form_spec.rb +6 -0
  81. data/decidim-budgets/spec/shared/manage_projects_examples.rb +1 -1
  82. data/decidim-comments/app/assets/javascripts/decidim/comments/bundle.js +0 -0
  83. data/decidim-comments/app/frontend/comments/add_comment_form.component.tsx +3 -3
  84. data/decidim-comments/app/frontend/support/schema.ts +1379 -94
  85. data/decidim-comments/app/types/decidim/comments/commentable_interface.rb +1 -1
  86. data/decidim-comments/decidim-comments.gemspec +1 -0
  87. data/decidim-comments/lib/decidim/comments/api/comment_mutation_type.rb +2 -2
  88. data/decidim-comments/spec/features/comments_spec.rb +1 -1
  89. data/decidim-comments/spec/features/notifications_spec.rb +1 -1
  90. data/decidim-comments/spec/features/report_comment_spec.rb +1 -1
  91. data/decidim-comments/spec/models/comment_spec.rb +1 -1
  92. data/decidim-dev/lib/decidim/dev/test/base_spec_helper.rb +2 -1
  93. data/decidim-dev/lib/decidim/dev/test/rspec_support/feature_context.rb +1 -3
  94. data/decidim-dev/lib/decidim/dev/test/rspec_support/i18n.rb +0 -7
  95. data/decidim-dev/lib/decidim/dev/test/rspec_support/phantomjs_polyfills/promise.js +2 -2
  96. data/decidim-dev/lib/decidim/dev/test/rspec_support/route_helpers.rb +6 -0
  97. data/decidim-dev/lib/generators/decidim/dummy_generator.rb +0 -2
  98. data/decidim-meetings/app/forms/decidim/meetings/admin/meeting_form.rb +6 -0
  99. data/decidim-meetings/app/helpers/decidim/meetings/meetings_helper.rb +2 -1
  100. data/decidim-meetings/app/services/decidim/meetings/meeting_search.rb +2 -2
  101. data/decidim-meetings/app/views/decidim/meetings/admin/meeting_closes/_form.html.erb +2 -2
  102. data/decidim-meetings/app/views/decidim/meetings/admin/meetings/index.html.erb +1 -1
  103. data/decidim-meetings/app/views/decidim/meetings/meetings/_tags.html.erb +2 -2
  104. data/decidim-meetings/decidim-meetings.gemspec +1 -1
  105. data/decidim-meetings/lib/decidim/meetings/feature.rb +35 -39
  106. data/decidim-meetings/spec/features/explore_meetings_spec.rb +1 -1
  107. data/decidim-meetings/spec/forms/meeting_form_spec.rb +6 -0
  108. data/decidim-meetings/spec/shared/manage_meetings_examples.rb +1 -1
  109. data/decidim-pages/lib/decidim/pages/feature.rb +14 -18
  110. data/decidim-pages/spec/features/comments_spec.rb +1 -1
  111. data/decidim-proposals/app/forms/decidim/proposals/admin/proposal_form.rb +6 -0
  112. data/decidim-proposals/app/forms/decidim/proposals/proposal_form.rb +6 -0
  113. data/decidim-proposals/app/models/decidim/proposals/proposal.rb +9 -1
  114. data/decidim-proposals/app/views/decidim/proposals/admin/proposals/index.html.erb +1 -1
  115. data/decidim-proposals/app/views/decidim/proposals/proposals/_tags.html.erb +2 -2
  116. data/decidim-proposals/decidim-proposals.gemspec +1 -0
  117. data/decidim-proposals/lib/decidim/proposals/feature.rb +59 -65
  118. data/decidim-proposals/lib/decidim/proposals/proposal_serializer.rb +1 -15
  119. data/decidim-proposals/spec/controllers/decidim/admin/proposal_answers_controller_spec.rb +2 -4
  120. data/decidim-proposals/spec/controllers/decidim/proposal_votes_controller_spec.rb +2 -4
  121. data/decidim-proposals/spec/controllers/decidim/proposals_controller_spec.rb +2 -4
  122. data/decidim-proposals/spec/features/comments_spec.rb +1 -1
  123. data/decidim-proposals/spec/features/report_proposal_spec.rb +1 -1
  124. data/decidim-proposals/spec/models/decidim/proposals/proposal_spec.rb +18 -0
  125. data/decidim-proposals/spec/shared/manage_proposals_examples.rb +1 -1
  126. data/decidim-proposals/spec/shared/proposal_form_examples.rb +6 -0
  127. data/decidim-results/app/controllers/decidim/results/result_widgets_controller.rb +0 -2
  128. data/decidim-results/app/forms/decidim/results/admin/result_form.rb +4 -0
  129. data/decidim-results/app/views/decidim/results/admin/results/index.html.erb +1 -1
  130. data/decidim-results/app/views/decidim/results/results/_tags.html.erb +2 -2
  131. data/decidim-results/decidim-results.gemspec +2 -1
  132. data/decidim-results/lib/decidim/results/feature.rb +18 -22
  133. data/decidim-results/spec/controllers/results_controller_spec.rb +2 -0
  134. data/decidim-results/spec/features/comments_spec.rb +1 -1
  135. data/decidim-results/spec/features/explore_results_spec.rb +1 -1
  136. data/decidim-results/spec/forms/result_form_spec.rb +6 -0
  137. data/decidim-results/spec/shared/manage_results_examples.rb +1 -1
  138. data/decidim-surveys/decidim-surveys.gemspec +1 -0
  139. data/decidim-surveys/lib/decidim/surveys/feature.rb +23 -27
  140. data/decidim-system/db/seeds.rb +1 -2
  141. data/decidim-system/spec/commands/decidim/system/create_default_pages_spec.rb +1 -1
  142. data/docs/features_and_components.md +6 -6
  143. data/docs/getting_started.md +1 -1
  144. data/docs/how_to_create_a_plugin.md +2 -2
  145. data/docs/social_providers.md +2 -2
  146. data/lib/generators/decidim/app_generator.rb +0 -6
  147. data/lib/generators/decidim/docker_generator.rb +1 -1
  148. data/lib/generators/decidim/install_generator.rb +5 -5
  149. data/lib/generators/decidim/templates/README.md.erb +1 -1
  150. data/lib/generators/decidim/templates/database.yml.erb +1 -1
  151. data/lib/generators/decidim/templates/initializer.rb +4 -1
  152. data/package-lock.json +46 -134
  153. data/package.json +9 -9
  154. metadata +31 -30
  155. data/decidim-dev/lib/decidim/dev/test/rspec_support/engine_routes.rb +0 -35
  156. data/decidim-dev/lib/generators/decidim/templates/decidim_dev.rb +0 -3
data/package.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "decidim",
3
+ "version": "0.4.4",
3
4
  "repository": {
4
5
  "url": "git@github.com:decidim/decidim.git",
5
6
  "type": "git"
@@ -25,12 +26,12 @@
25
26
  "@types/enzyme": "^2.8.1",
26
27
  "@types/es6-promise": "^0.0.32",
27
28
  "@types/faker": "^4.1.0",
28
- "@types/jest": "^20.0.2",
29
- "@types/jquery": "^3.2.6",
30
- "@types/react": "^15.0.36",
29
+ "@types/jest": "^20.0.5",
30
+ "@types/jquery": "^3.2.10",
31
+ "@types/react": "^16.0.0",
31
32
  "@types/react-dom": "^15.5.1",
32
33
  "@types/uuid": "^3.0.0",
33
- "awesome-typescript-loader": "^3.2.1",
34
+ "awesome-typescript-loader": "^3.2.2",
34
35
  "babel-core": "^6.25.0",
35
36
  "babel-eslint": "^7.2.3",
36
37
  "babel-jest": "^20.0.3",
@@ -57,18 +58,17 @@
57
58
  "source-map-loader": "^0.2.1",
58
59
  "ts-jest": "^20.0.7",
59
60
  "tslint": "^5.5.0",
60
- "tslint-react": "^3.0.0",
61
+ "tslint-react": "^3.2.0",
61
62
  "typescript": "^2.4.1",
62
63
  "typescript-babel-jest": "^1.0.4",
63
- "webpack": "^3.1.0",
64
+ "webpack": "^3.4.1",
64
65
  "webpack-bundle-analyzer": "^2.4.0",
65
66
  "webpack-config-utils": "~2.3.0",
66
67
  "yaml-jest": "^1.0.4",
67
68
  "yaml-loader": "^0.5.0"
68
69
  },
69
70
  "dependencies": {
70
- "apollo-client": "^1.9.0-1",
71
- "apollo-codegen": "^0.15.2",
71
+ "apollo-codegen": "^0.16.2",
72
72
  "classnames": "^2.2.5",
73
73
  "graphql-anywhere": "^3.1.0",
74
74
  "graphql-tag": "^2.4.2",
@@ -76,7 +76,7 @@
76
76
  "moment": "^2.18.1",
77
77
  "react": "^15.6.1",
78
78
  "react-addons-update": "^15.6.0",
79
- "react-apollo": "^1.4.8",
79
+ "react-apollo": "^1.4.10",
80
80
  "react-dom": "^15.6.1",
81
81
  "react-i18nify": "^1.8.7",
82
82
  "react-test-renderer": "^15.6.1",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
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: 2017-07-25 00:00:00.000000000 Z
13
+ date: 2017-08-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-core
@@ -18,154 +18,154 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.4.3
21
+ version: 0.4.4
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 0.4.3
28
+ version: 0.4.4
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-system
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.4.3
35
+ version: 0.4.4
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.4.3
42
+ version: 0.4.4
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: decidim-admin
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.4.3
49
+ version: 0.4.4
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 0.4.3
56
+ version: 0.4.4
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: decidim-api
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 0.4.3
63
+ version: 0.4.4
64
64
  type: :runtime
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - '='
69
69
  - !ruby/object:Gem::Version
70
- version: 0.4.3
70
+ version: 0.4.4
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: decidim-pages
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - '='
76
76
  - !ruby/object:Gem::Version
77
- version: 0.4.3
77
+ version: 0.4.4
78
78
  type: :runtime
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - '='
83
83
  - !ruby/object:Gem::Version
84
- version: 0.4.3
84
+ version: 0.4.4
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: decidim-comments
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - '='
90
90
  - !ruby/object:Gem::Version
91
- version: 0.4.3
91
+ version: 0.4.4
92
92
  type: :runtime
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - '='
97
97
  - !ruby/object:Gem::Version
98
- version: 0.4.3
98
+ version: 0.4.4
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: decidim-meetings
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - '='
104
104
  - !ruby/object:Gem::Version
105
- version: 0.4.3
105
+ version: 0.4.4
106
106
  type: :runtime
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - '='
111
111
  - !ruby/object:Gem::Version
112
- version: 0.4.3
112
+ version: 0.4.4
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: decidim-proposals
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - '='
118
118
  - !ruby/object:Gem::Version
119
- version: 0.4.3
119
+ version: 0.4.4
120
120
  type: :runtime
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - '='
125
125
  - !ruby/object:Gem::Version
126
- version: 0.4.3
126
+ version: 0.4.4
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: decidim-results
129
129
  requirement: !ruby/object:Gem::Requirement
130
130
  requirements:
131
131
  - - '='
132
132
  - !ruby/object:Gem::Version
133
- version: 0.4.3
133
+ version: 0.4.4
134
134
  type: :runtime
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - '='
139
139
  - !ruby/object:Gem::Version
140
- version: 0.4.3
140
+ version: 0.4.4
141
141
  - !ruby/object:Gem::Dependency
142
142
  name: decidim-budgets
143
143
  requirement: !ruby/object:Gem::Requirement
144
144
  requirements:
145
145
  - - '='
146
146
  - !ruby/object:Gem::Version
147
- version: 0.4.3
147
+ version: 0.4.4
148
148
  type: :runtime
149
149
  prerelease: false
150
150
  version_requirements: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - '='
153
153
  - !ruby/object:Gem::Version
154
- version: 0.4.3
154
+ version: 0.4.4
155
155
  - !ruby/object:Gem::Dependency
156
156
  name: decidim-surveys
157
157
  requirement: !ruby/object:Gem::Requirement
158
158
  requirements:
159
159
  - - '='
160
160
  - !ruby/object:Gem::Version
161
- version: 0.4.3
161
+ version: 0.4.4
162
162
  type: :runtime
163
163
  prerelease: false
164
164
  version_requirements: !ruby/object:Gem::Requirement
165
165
  requirements:
166
166
  - - '='
167
167
  - !ruby/object:Gem::Version
168
- version: 0.4.3
168
+ version: 0.4.4
169
169
  - !ruby/object:Gem::Dependency
170
170
  name: bundler
171
171
  requirement: !ruby/object:Gem::Requirement
@@ -395,11 +395,11 @@ files:
395
395
  - decidim-admin/app/helpers/decidim/admin/application_helper.rb
396
396
  - decidim-admin/app/helpers/decidim/admin/attributes_display_helper.rb
397
397
  - decidim-admin/app/helpers/decidim/admin/exports_helper.rb
398
- - decidim-admin/app/helpers/decidim/admin/feature_settings_helper.rb
399
398
  - decidim-admin/app/helpers/decidim/admin/icon_link_helper.rb
400
399
  - decidim-admin/app/helpers/decidim/admin/menu_helper.rb
401
400
  - decidim-admin/app/helpers/decidim/admin/process_groups_for_select_helper.rb
402
401
  - decidim-admin/app/helpers/decidim/admin/processes_for_select_helper.rb
402
+ - decidim-admin/app/helpers/decidim/admin/settings_helper.rb
403
403
  - decidim-admin/app/jobs/decidim/admin/application_job.rb
404
404
  - decidim-admin/app/jobs/decidim/admin/newsletter_delivery_job.rb
405
405
  - decidim-admin/app/jobs/decidim/admin/newsletter_job.rb
@@ -560,9 +560,9 @@ files:
560
560
  - decidim-admin/spec/features/admin_manages_user_groups_spec.rb
561
561
  - decidim-admin/spec/features/participatory_process_admin_manages_participatory_process_admins_spec.rb
562
562
  - decidim-admin/spec/features/participatory_process_admin_manages_participatory_process_attachments_spec.rb
563
+ - decidim-admin/spec/features/participatory_process_admin_manages_participatory_process_categories_spec.rb
563
564
  - decidim-admin/spec/features/participatory_process_admin_manages_participatory_process_steps_spec.rb
564
565
  - decidim-admin/spec/features/participatory_process_admin_manages_participatory_processes_spec.rb
565
- - decidim-admin/spec/features/process_admin_manages_participatory_process_categories_spec.rb
566
566
  - decidim-admin/spec/features/static_pages_spec.rb
567
567
  - decidim-admin/spec/forms/category_form_spec.rb
568
568
  - decidim-admin/spec/forms/newsletter_form_spec.rb
@@ -575,8 +575,8 @@ files:
575
575
  - decidim-admin/spec/forms/static_page_form_spec.rb
576
576
  - decidim-admin/spec/helpers/aria_selected_link_to_helper_spec.rb
577
577
  - decidim-admin/spec/helpers/exports_helper_spec.rb
578
- - decidim-admin/spec/helpers/feature_settings_helper_spec.rb
579
578
  - decidim-admin/spec/helpers/menu_helper_spec.rb
579
+ - decidim-admin/spec/helpers/settings_helper_spec.rb
580
580
  - decidim-admin/spec/i18n_spec.rb
581
581
  - decidim-admin/spec/jobs/export_job_spec.rb
582
582
  - decidim-admin/spec/jobs/newsletter_delivery_job_spec.rb
@@ -592,7 +592,9 @@ files:
592
592
  - decidim-admin/spec/shared/manage_process_categories_examples.rb
593
593
  - decidim-admin/spec/shared/manage_process_steps_examples.rb
594
594
  - decidim-admin/spec/shared/manage_processes_examples.rb
595
- - decidim-admin/spec/shared/participatory_admin_shared_context.rb
595
+ - decidim-admin/spec/shared/participatory_process_administration_by_admin_shared_context.rb
596
+ - decidim-admin/spec/shared/participatory_process_administration_by_process_admin_shared_context.rb
597
+ - decidim-admin/spec/shared/participatory_process_administration_shared_context.rb
596
598
  - decidim-admin/spec/spec_helper.rb
597
599
  - decidim-admin/spec/views/decidim/static_pages/_form.html.erb_spec.rb
598
600
  - decidim-admin/vendor/assets/javascripts/html.sortable.js
@@ -895,7 +897,6 @@ files:
895
897
  - decidim-dev/lib/decidim/dev/test/rspec_support/authorization_handlers.rb
896
898
  - decidim-dev/lib/decidim/dev/test/rspec_support/capybara.rb
897
899
  - decidim-dev/lib/decidim/dev/test/rspec_support/database_cleaner.rb
898
- - decidim-dev/lib/decidim/dev/test/rspec_support/engine_routes.rb
899
900
  - decidim-dev/lib/decidim/dev/test/rspec_support/factory_girl.rb
900
901
  - decidim-dev/lib/decidim/dev/test/rspec_support/feature.rb
901
902
  - decidim-dev/lib/decidim/dev/test/rspec_support/feature_context.rb
@@ -906,6 +907,7 @@ files:
906
907
  - decidim-dev/lib/decidim/dev/test/rspec_support/phantomjs_polyfills/phantomjs-getOwnPropertyNames.js
907
908
  - decidim-dev/lib/decidim/dev/test/rspec_support/phantomjs_polyfills/phantomjs-shim.js
908
909
  - decidim-dev/lib/decidim/dev/test/rspec_support/phantomjs_polyfills/promise.js
910
+ - decidim-dev/lib/decidim/dev/test/rspec_support/route_helpers.rb
909
911
  - decidim-dev/lib/decidim/dev/test/rspec_support/translation_helpers.rb
910
912
  - decidim-dev/lib/decidim/dev/test/rspec_support/warden.rb
911
913
  - decidim-dev/lib/decidim/dev/test/rspec_support/webmock.rb
@@ -914,7 +916,6 @@ files:
914
916
  - decidim-dev/lib/generators/decidim/dummy_generator.rb
915
917
  - decidim-dev/lib/generators/decidim/templates/autoprefixer.yml
916
918
  - decidim-dev/lib/generators/decidim/templates/autoprefixer_initializer.rb
917
- - decidim-dev/lib/generators/decidim/templates/decidim_dev.rb
918
919
  - decidim-dev/lib/tasks/locale_checker.rake
919
920
  - decidim-dev/lib/tasks/test_app.rake
920
921
  - decidim-dev/spec/i18n_spec.rb
@@ -1,35 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Decidim
4
- # This is a quick hack so all controller specs have their engine's routes
5
- # included as well as our Devise mapping.
6
- module ControllerRequests
7
- extend ActiveSupport::Concern
8
-
9
- included do
10
- begin
11
- engine = (ENV["ENGINE_NAME"].to_s.split("-").map(&:capitalize).join("::") + "::Engine").constantize
12
-
13
- load_routes engine if engine.respond_to?(:routes)
14
- rescue NameError => _exception
15
- puts "Failed to automatically inject routes for engine #{ENV["ENGINE_NAME"]}"
16
- end
17
- end
18
-
19
- class_methods do
20
- def load_routes(klass)
21
- routes do
22
- klass.routes
23
- end
24
- end
25
- end
26
- end
27
- end
28
-
29
- RSpec.configure do |config|
30
- config.include Decidim::ControllerRequests, type: :controller
31
-
32
- config.before :each, type: :controller do
33
- @request.env["devise.mapping"] = Devise.mappings[:user]
34
- end
35
- end
@@ -1,3 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "decidim/dev"