decidim-meetings 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/decidim_meetings_manifest.js +2 -0
  3. data/app/assets/javascripts/decidim/meetings/map.js.es6.erb +92 -0
  4. data/app/assets/stylesheets/decidim/meetings/map.css +1 -0
  5. data/app/commands/decidim/meetings/admin/close_meeting.rb +53 -0
  6. data/app/commands/decidim/meetings/admin/create_meeting.rb +15 -3
  7. data/app/commands/decidim/meetings/admin/update_meeting.rb +15 -3
  8. data/app/controllers/decidim/meetings/admin/application_controller.rb +9 -0
  9. data/app/controllers/decidim/meetings/admin/attachments_controller.rb +29 -0
  10. data/app/controllers/decidim/meetings/admin/meeting_closes_controller.rb +38 -0
  11. data/app/controllers/decidim/meetings/admin/meetings_controller.rb +0 -12
  12. data/app/controllers/decidim/meetings/meetings_controller.rb +11 -9
  13. data/app/forms/decidim/meetings/admin/close_meeting_form.rb +31 -0
  14. data/app/forms/decidim/meetings/admin/meeting_form.rb +0 -2
  15. data/app/helpers/decidim/meetings/admin/application_helper.rb +12 -0
  16. data/app/helpers/decidim/meetings/application_helper.rb +1 -0
  17. data/app/helpers/decidim/meetings/map_helper.rb +46 -0
  18. data/app/models/decidim/meetings/meeting.rb +11 -15
  19. data/app/services/decidim/meetings/meeting_search.rb +0 -1
  20. data/app/services/decidim/meetings/static_map_generator.rb +50 -0
  21. data/app/views/decidim/meetings/admin/meeting_closes/_form.html.erb +23 -0
  22. data/app/views/decidim/meetings/admin/meeting_closes/edit.html.erb +9 -0
  23. data/app/views/decidim/meetings/admin/meetings/_form.html.erb +2 -6
  24. data/app/views/decidim/meetings/admin/meetings/index.html.erb +14 -0
  25. data/app/views/decidim/meetings/meetings/_datetime.html.erb +8 -0
  26. data/app/views/decidim/meetings/meetings/_filters.html.erb +2 -2
  27. data/app/views/decidim/meetings/meetings/_filters_small_view.html.erb +18 -0
  28. data/app/views/decidim/meetings/meetings/_linked_meetings.html.erb +22 -0
  29. data/app/views/decidim/meetings/meetings/_meetings.html.erb +3 -10
  30. data/app/views/decidim/meetings/meetings/index.html.erb +42 -0
  31. data/app/views/decidim/meetings/meetings/index.js.erb +6 -0
  32. data/app/views/decidim/meetings/meetings/show.html.erb +33 -7
  33. data/config/i18n-tasks.yml +2 -0
  34. data/config/locales/ca.yml +37 -4
  35. data/config/locales/en.yml +34 -1
  36. data/config/locales/es.yml +36 -3
  37. data/db/migrate/20170110142105_close_a_meeting.rb +9 -0
  38. data/db/migrate/20170123151650_add_latitude_and_longitude_to_meetings.rb +6 -0
  39. data/db/migrate/20170129153716_remove_short_description_from_meetings.rb +5 -0
  40. data/lib/decidim/meetings/admin_engine.rb +31 -1
  41. data/lib/decidim/meetings/feature.rb +20 -6
  42. data/lib/decidim/meetings/list_engine.rb +10 -1
  43. data/lib/decidim/meetings/seeds/Exampledocument.pdf +0 -0
  44. data/lib/decidim/meetings/seeds/city.jpeg +0 -0
  45. data/lib/decidim/meetings/test/factories.rb +23 -0
  46. metadata +125 -6
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-meetings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
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-01-23 00:00:00.000000000 Z
13
+ date: 2017-02-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-core
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.0.2
21
+ version: 0.0.3
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.0.2
28
+ version: 0.0.3
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: rectify
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -82,20 +82,118 @@ dependencies:
82
82
  - - "~>"
83
83
  - !ruby/object:Gem::Version
84
84
  version: 1.0.1
85
+ - !ruby/object:Gem::Dependency
86
+ name: geocoder
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: 1.4.1
92
+ type: :runtime
93
+ prerelease: false
94
+ version_requirements: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - "~>"
97
+ - !ruby/object:Gem::Version
98
+ version: 1.4.1
99
+ - !ruby/object:Gem::Dependency
100
+ name: httparty
101
+ requirement: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - "~>"
104
+ - !ruby/object:Gem::Version
105
+ version: 0.14.0
106
+ type: :runtime
107
+ prerelease: false
108
+ version_requirements: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - "~>"
111
+ - !ruby/object:Gem::Version
112
+ version: 0.14.0
113
+ - !ruby/object:Gem::Dependency
114
+ name: jquery-tmpl-rails
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - "~>"
118
+ - !ruby/object:Gem::Version
119
+ version: 1.1.0
120
+ type: :runtime
121
+ prerelease: false
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - "~>"
125
+ - !ruby/object:Gem::Version
126
+ version: 1.1.0
85
127
  - !ruby/object:Gem::Dependency
86
128
  name: decidim-dev
87
129
  requirement: !ruby/object:Gem::Requirement
88
130
  requirements:
89
131
  - - '='
90
132
  - !ruby/object:Gem::Version
91
- version: 0.0.2
133
+ version: 0.0.3
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - '='
139
+ - !ruby/object:Gem::Version
140
+ version: 0.0.3
141
+ - !ruby/object:Gem::Dependency
142
+ name: decidim-proposals
143
+ requirement: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - '='
146
+ - !ruby/object:Gem::Version
147
+ version: 0.0.3
148
+ type: :development
149
+ prerelease: false
150
+ version_requirements: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - '='
153
+ - !ruby/object:Gem::Version
154
+ version: 0.0.3
155
+ - !ruby/object:Gem::Dependency
156
+ name: decidim-admin
157
+ requirement: !ruby/object:Gem::Requirement
158
+ requirements:
159
+ - - '='
160
+ - !ruby/object:Gem::Version
161
+ version: 0.0.3
162
+ type: :development
163
+ prerelease: false
164
+ version_requirements: !ruby/object:Gem::Requirement
165
+ requirements:
166
+ - - '='
167
+ - !ruby/object:Gem::Version
168
+ version: 0.0.3
169
+ - !ruby/object:Gem::Dependency
170
+ name: webmock
171
+ requirement: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - "~>"
174
+ - !ruby/object:Gem::Version
175
+ version: 2.3.2
176
+ type: :development
177
+ prerelease: false
178
+ version_requirements: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - "~>"
181
+ - !ruby/object:Gem::Version
182
+ version: 2.3.2
183
+ - !ruby/object:Gem::Dependency
184
+ name: decidim-results
185
+ requirement: !ruby/object:Gem::Requirement
186
+ requirements:
187
+ - - '='
188
+ - !ruby/object:Gem::Version
189
+ version: 0.0.3
92
190
  type: :development
93
191
  prerelease: false
94
192
  version_requirements: !ruby/object:Gem::Requirement
95
193
  requirements:
96
194
  - - '='
97
195
  - !ruby/object:Gem::Version
98
- version: 0.0.2
196
+ version: 0.0.3
99
197
  description: ''
100
198
  email:
101
199
  - josepjaume@gmail.com
@@ -107,24 +205,39 @@ extra_rdoc_files: []
107
205
  files:
108
206
  - README.md
109
207
  - Rakefile
208
+ - app/assets/config/decidim_meetings_manifest.js
110
209
  - app/assets/images/decidim/meetings/icon.svg
210
+ - app/assets/javascripts/decidim/meetings/map.js.es6.erb
211
+ - app/assets/stylesheets/decidim/meetings/map.css
212
+ - app/commands/decidim/meetings/admin/close_meeting.rb
111
213
  - app/commands/decidim/meetings/admin/create_meeting.rb
112
214
  - app/commands/decidim/meetings/admin/update_meeting.rb
113
215
  - app/controllers/decidim/meetings/admin/application_controller.rb
216
+ - app/controllers/decidim/meetings/admin/attachments_controller.rb
217
+ - app/controllers/decidim/meetings/admin/meeting_closes_controller.rb
114
218
  - app/controllers/decidim/meetings/admin/meetings_controller.rb
115
219
  - app/controllers/decidim/meetings/application_controller.rb
116
220
  - app/controllers/decidim/meetings/meetings_controller.rb
221
+ - app/forms/decidim/meetings/admin/close_meeting_form.rb
117
222
  - app/forms/decidim/meetings/admin/meeting_form.rb
223
+ - app/helpers/decidim/meetings/admin/application_helper.rb
118
224
  - app/helpers/decidim/meetings/application_helper.rb
225
+ - app/helpers/decidim/meetings/map_helper.rb
119
226
  - app/models/decidim/meetings/application_record.rb
120
227
  - app/models/decidim/meetings/meeting.rb
121
228
  - app/services/decidim/meetings/meeting_search.rb
229
+ - app/services/decidim/meetings/static_map_generator.rb
230
+ - app/views/decidim/meetings/admin/meeting_closes/_form.html.erb
231
+ - app/views/decidim/meetings/admin/meeting_closes/edit.html.erb
122
232
  - app/views/decidim/meetings/admin/meetings/_form.html.erb
123
233
  - app/views/decidim/meetings/admin/meetings/edit.html.erb
124
234
  - app/views/decidim/meetings/admin/meetings/index.html.erb
125
235
  - app/views/decidim/meetings/admin/meetings/new.html.erb
126
236
  - app/views/decidim/meetings/meetings/_address_details.html.erb
237
+ - app/views/decidim/meetings/meetings/_datetime.html.erb
127
238
  - app/views/decidim/meetings/meetings/_filters.html.erb
239
+ - app/views/decidim/meetings/meetings/_filters_small_view.html.erb
240
+ - app/views/decidim/meetings/meetings/_linked_meetings.html.erb
128
241
  - app/views/decidim/meetings/meetings/_meetings.html.erb
129
242
  - app/views/decidim/meetings/meetings/_tags.html.erb
130
243
  - app/views/decidim/meetings/meetings/index.html.erb
@@ -135,11 +248,17 @@ files:
135
248
  - config/locales/en.yml
136
249
  - config/locales/es.yml
137
250
  - db/migrate/20161130121354_create_meetings.rb
251
+ - db/migrate/20170110142105_close_a_meeting.rb
252
+ - db/migrate/20170123151650_add_latitude_and_longitude_to_meetings.rb
253
+ - db/migrate/20170129153716_remove_short_description_from_meetings.rb
138
254
  - lib/decidim/meetings.rb
139
255
  - lib/decidim/meetings/admin.rb
140
256
  - lib/decidim/meetings/admin_engine.rb
141
257
  - lib/decidim/meetings/feature.rb
142
258
  - lib/decidim/meetings/list_engine.rb
259
+ - lib/decidim/meetings/seeds/Exampledocument.pdf
260
+ - lib/decidim/meetings/seeds/city.jpeg
261
+ - lib/decidim/meetings/test/factories.rb
143
262
  homepage: https://github.com/AjuntamentdeBarcelona/decidim
144
263
  licenses:
145
264
  - AGPLv3