decidim-conferences 0.23.3 → 0.24.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/conferences/conference_speaker/show.erb +1 -1
  3. data/app/cells/decidim/conferences/media_link/show.erb +1 -1
  4. data/app/cells/decidim/conferences/media_link_cell.rb +1 -0
  5. data/app/commands/decidim/conferences/admin/create_conference_speaker.rb +40 -18
  6. data/app/commands/decidim/conferences/admin/create_partner.rb +33 -14
  7. data/app/commands/decidim/conferences/admin/invite_user_to_join_conference.rb +1 -1
  8. data/app/commands/decidim/conferences/admin/update_conference_speaker.rb +41 -17
  9. data/app/commands/decidim/conferences/admin/update_partner.rb +30 -10
  10. data/app/controllers/decidim/conferences/admin/imports_controller.rb +14 -0
  11. data/app/controllers/decidim/conferences/admin/moderations/reports_controller.rb +14 -0
  12. data/app/events/decidim/conferences/conference_role_assigned_event.rb +1 -1
  13. data/app/forms/decidim/conferences/admin/conference_speaker_form.rb +1 -1
  14. data/app/forms/decidim/conferences/admin/media_link_form.rb +1 -1
  15. data/app/forms/decidim/conferences/admin/partner_form.rb +2 -1
  16. data/app/models/decidim/conference_meeting.rb +1 -1
  17. data/app/models/decidim/conference_speaker.rb +1 -1
  18. data/app/models/decidim/conference_speaker_conference_meeting.rb +2 -2
  19. data/app/models/decidim/conferences/conference_meeting_registration_type.rb +2 -2
  20. data/app/models/decidim/conferences/registration_type.rb +1 -1
  21. data/app/permissions/decidim/conferences/permissions.rb +1 -1
  22. data/app/presenters/decidim/conferences/conference_stats_presenter.rb +1 -1
  23. data/app/views/decidim/conferences/admin/partners/_form.html.erb +1 -1
  24. data/app/views/layouts/decidim/admin/conference.html.erb +2 -1
  25. data/config/locales/ar.yml +0 -4
  26. data/config/locales/ca.yml +7 -4
  27. data/config/locales/cs.yml +10 -3
  28. data/config/locales/de.yml +10 -3
  29. data/config/locales/el.yml +0 -4
  30. data/config/locales/en.yml +10 -3
  31. data/config/locales/es-MX.yml +7 -4
  32. data/config/locales/es-PY.yml +7 -4
  33. data/config/locales/es.yml +7 -4
  34. data/config/locales/eu.yml +0 -4
  35. data/config/locales/fi-plain.yml +10 -3
  36. data/config/locales/fi.yml +10 -3
  37. data/config/locales/fr-CA.yml +10 -3
  38. data/config/locales/fr.yml +10 -3
  39. data/config/locales/gl.yml +0 -4
  40. data/config/locales/hu.yml +0 -4
  41. data/config/locales/id-ID.yml +0 -4
  42. data/config/locales/it.yml +0 -4
  43. data/config/locales/ja.yml +6 -4
  44. data/config/locales/lv.yml +0 -4
  45. data/config/locales/nl.yml +4 -3
  46. data/config/locales/no.yml +0 -4
  47. data/config/locales/pl.yml +12 -5
  48. data/config/locales/pt-BR.yml +0 -4
  49. data/config/locales/pt.yml +0 -4
  50. data/config/locales/ro-RO.yml +0 -4
  51. data/config/locales/sk.yml +0 -4
  52. data/config/locales/sv.yml +6 -4
  53. data/config/locales/tr-TR.yml +7 -4
  54. data/config/locales/zh-CN.yml +0 -4
  55. data/lib/decidim/api/conference_media_link_type.rb +18 -0
  56. data/lib/decidim/api/conference_partner_type.rb +19 -0
  57. data/lib/decidim/api/conference_speaker_type.rb +23 -0
  58. data/lib/decidim/api/conference_type.rb +42 -0
  59. data/lib/decidim/conferences.rb +1 -0
  60. data/lib/decidim/conferences/admin_engine.rb +3 -1
  61. data/lib/decidim/conferences/api.rb +10 -0
  62. data/lib/decidim/conferences/engine.rb +7 -1
  63. data/lib/decidim/conferences/participatory_space.rb +25 -25
  64. data/lib/decidim/conferences/query_extensions.rb +43 -0
  65. data/lib/decidim/conferences/test/factories.rb +6 -6
  66. data/lib/decidim/conferences/version.rb +1 -1
  67. metadata +22 -18
  68. data/app/types/decidim/conferences/conference_media_link_type.rb +0 -19
  69. data/app/types/decidim/conferences/conference_partner_type.rb +0 -20
  70. data/app/types/decidim/conferences/conference_speaker_type.rb +0 -24
  71. data/app/types/decidim/conferences/conference_type.rb +0 -45
@@ -267,9 +267,9 @@ fr:
267
267
  conference_registration:
268
268
  confirm: "%{user_name} confirmé une inscription à %{resource_name} conférence"
269
269
  partner:
270
- create: "%{user_name} créé %{resource_name} à la %{space_name} conférence"
271
- delete: "%{user_name} retiré l'utilisateur %{resource_name} de la conférence %{space_name}"
272
- update: "%{user_name} mis à jour %{resource_name} dans la %{space_name} conférence"
270
+ create: "%{user_name} a créé le partenaire %{resource_name} dans la conférence %{space_name}"
271
+ delete: "%{user_name} a retiré le partenaire %{resource_name} de la conférence %{space_name}"
272
+ update: "%{user_name} a mis à jour le partenaire %{resource_name} dans la conférence %{space_name}"
273
273
  registration_type:
274
274
  create: "%{user_name} créé le type d'inscription %{resource_name} dans la conférence %{space_name}"
275
275
  publish: "%{user_name} publié le %{resource_name} type d'inscription dans la %{space_name} conférence"
@@ -402,6 +402,7 @@ fr:
402
402
  personal_website: Site Web personnel
403
403
  show:
404
404
  more_info: Plus d'informations
405
+ speaking_at: Intervient dans les rencontres
405
406
  conference_speaker_cell:
406
407
  personal_url:
407
408
  personal_website: Site Web personnel
@@ -539,6 +540,12 @@ fr:
539
540
  email_outro: Vous avez reçu cette notification parce que vous suivez la conférence "%{resource_title}". Vous pouvez le désabonner du lien précédent.
540
541
  email_subject: La conférence "%{resource_title}" arrive!
541
542
  notification_title: La conférence <a href="%{resource_path}">%{resource_title}</a> arrive dans 2 jours.
543
+ help:
544
+ participatory_spaces:
545
+ conferences:
546
+ contextual: "<p>Une <strong>conférence</strong> est un ensemble de rencontres organisées dans un programme, avec un certain nombre de personnes invitées en tant qu'orateurs, et d'autres informations typiques des grands congrès ou événements (inscription, liste des organisations qui soutiennent ou parrainent l'événement, etc.).</p> <p>Exemples : Une conférence peut être un événement pertinent pour une organisation et ses membres, ou se dérouler dans le cadre d'un processus participatif ou faire suite à une consultation.</p>\n"
547
+ page: "<p>Une <strong>conférence</strong> est un ensemble de rencontres organisées dans un programme, avec un certain nombre de personnes invitées en tant qu'orateurs, et d'autres informations typiques des grands congrès ou événements (inscription, liste des organisations qui soutiennent ou parrainent l'événement, etc.).</p> <p>Exemples : Une conférence peut être un événement pertinent pour une organisation et ses membres, ou se dérouler dans le cadre d'un processus participatif ou faire suite à une consultation.</p>\n"
548
+ title: Que sont les conférences?
542
549
  log:
543
550
  value_types:
544
551
  conference_presenter:
@@ -265,10 +265,6 @@ gl:
265
265
  conferences:
266
266
  conference_registration:
267
267
  confirm: "%{user_name} confirmou a inscrición na conferencia en %{resource_name} conferencia"
268
- partner:
269
- create: "%{user_name} creou %{resource_name} á %{space_name} conferencia"
270
- delete: "%{user_name} eliminou o usuario %{resource_name} da %{space_name} conferencia"
271
- update: "%{user_name} actualizouse %{resource_name} na %{space_name} conferencia"
272
268
  registration_type:
273
269
  create: "%{user_name} creou o %{resource_name} tipo de rexistro na %{space_name} conferencia"
274
270
  publish: "%{user_name} publicou o %{resource_name} tipo de rexistro na %{space_name} conferencia"
@@ -266,10 +266,6 @@ hu:
266
266
  conferences:
267
267
  conference_registration:
268
268
  confirm: "%{user_name} megerősítette konferencia regisztrációját a %{resource_name} konferencián"
269
- partner:
270
- create: "%{user_name} létrehozta a %{resource_name}-t a %{space_name} konferenciában"
271
- delete: "%{user_name} eltávolította a felhasználó %{resource_name} -et a %{space_name} konferenciából"
272
- update: "%{user_name} frissítette a %{resource_name}-t a %{space_name} konferencián"
273
269
  registration_type:
274
270
  create: "%{user_name} létrehozta az %{resource_name} regisztrációs típust a %{space_name} konferencián"
275
271
  publish: "%{user_name} közzétette az %{resource_name} regisztrációs típust a %{space_name} konferencián"
@@ -262,10 +262,6 @@ id:
262
262
  conferences:
263
263
  conference_registration:
264
264
  confirm: "%{user_name} mengkonfirmasi pendaftaran konferensi dalam %{resource_name} konferensi"
265
- partner:
266
- create: "%{user_name} dibuat %{resource_name} ke %{space_name} konferensi"
267
- delete: "%{user_name} menghapus pengguna %{resource_name} dari %{space_name} konferensi"
268
- update: "%{user_name} diperbarui %{resource_name} di %{space_name} konferensi"
269
265
  registration_type:
270
266
  create: "%{user_name} menciptakan tipe %{resource_name} pendaftaran dalam %{space_name} konferensi"
271
267
  publish: "%{user_name} menerbitkan %{resource_name} tipe pendaftaran dalam %{space_name} konferensi"
@@ -266,10 +266,6 @@ it:
266
266
  conferences:
267
267
  conference_registration:
268
268
  confirm: "%{user_name} confermato la registrazione alla conferenza %{resource_name}"
269
- partner:
270
- create: "%{user_name} ha aggiunto %{resource_name} alla conferenza%{space_name}"
271
- delete: "%{user_name} ha rimosso l'Admin %{resource_name} dalla conferenza %{space_name}"
272
- update: "%{user_name} ha aggiornato %{resource_name} nella conferenza %{space_name}"
273
269
  registration_type:
274
270
  create: "%{user_name} ha creato il %{resource_name} tipo di registrazione nella conferenza %{space_name}"
275
271
  publish: "%{user_name} ha pubblicato il %{resource_name} tipo di registrazione nella %{space_name} conferenza"
@@ -263,10 +263,6 @@ ja:
263
263
  conferences:
264
264
  conference_registration:
265
265
  confirm: "%{user_name} が %{resource_name} カンファレンスへの登録を確認しました"
266
- partner:
267
- create: "%{user_name} は %{resource_name} カンファレンスに %{space_name} を作成しました"
268
- delete: "%{user_name} が %{resource_name} の管理者を %{space_name} カンファレンスから削除しました"
269
- update: "%{user_name} は %{resource_name} カンファレンスで %{space_name} を更新しました"
270
266
  registration_type:
271
267
  create: "%{user_name} が %{resource_name} カンファレンスで %{space_name} の登録タイプを作成しました"
272
268
  publish: "%{user_name} が %{resource_name} カンファレンスで %{space_name} 登録タイプを公開しました"
@@ -535,6 +531,12 @@ ja:
535
531
  email_outro: '「%{resource_title}」カンファレンスをフォローしているため、この通知を受け取りました。前のリンクからこの通知をアンフォローすることができます。'
536
532
  email_subject: '「%{resource_title}」カンファレンスが近づいています!'
537
533
  notification_title: <a href="%{resource_path}">%{resource_title}</a> カンファレンスは2日後に開催されます。
534
+ help:
535
+ participatory_spaces:
536
+ conferences:
537
+ contextual: "<p><strong>カンファレンス</strong>はミーティングの集合体で、数多くの参加者が講演者として参加します。また、大きな会議やソーシャルイベントに必要な、登録、協賛企業等の典型的な情報が含まれます。</p><p>例えば、カンファレンスは組織やそのメンバーに関するものでも良いし、参加型プロセスの一部でも良いし、コンサルテーションに従ったものでも良いでしょう。</p>\n"
538
+ page: "<p><strong>カンファレンス</strong>はミーティングの集合体で、数多くの参加者が講演者として参加します。また、大きな会議やソーシャルイベントに必要な、登録、協賛企業等の典型的な情報が含まれます。</p><p>例えば、カンファレンスは組織やそのメンバーに関するものでも良いし、参加型プロセスの一部でも良いし、コンサルテーションに従ったものでも良いでしょう。</p>\n"
539
+ title: カンファレンスとは何ですか?
538
540
  log:
539
541
  value_types:
540
542
  conference_presenter:
@@ -269,10 +269,6 @@ lv:
269
269
  conferences:
270
270
  conference_registration:
271
271
  confirm: "%{user_name} apstiprināja konferences reģistrāciju konferencē %{resource_name}"
272
- partner:
273
- create: "%{user_name} izveidoja %{resource_name} konferencei %{space_name}"
274
- delete: "%{user_name} noņēma administratoru %{resource_name} no konferences %{space_name}"
275
- update: "%{user_name} atjaunināja %{resource_name} konferencē %{space_name}"
276
272
  registration_type:
277
273
  create: "%{user_name} izveidoja %{resource_name} reģistrācijas veidu konferencē %{space_name}"
278
274
  publish: "%{user_name} publicēja %{resource_name} reģistrācijas veidu konferencē %{space_name}"
@@ -267,9 +267,9 @@ nl:
267
267
  conference_registration:
268
268
  confirm: "%{user_name} bevestigde een conferentie-registratie in %{resource_name} conferentie"
269
269
  partner:
270
- create: "%{user_name} heeft %{resource_name} voor de %{space_name} conferentie"
271
- delete: "%{user_name} heeft gebruiker %{resource_name} van de %{space_name} conferentie verwijderd"
272
- update: "%{user_name} bijgewerkt %{resource_name} in de %{space_name} conferentie"
270
+ create: "%{user_name} heeft partner %{resource_name} voor de conferentie %{space_name} aangemaakt"
271
+ delete: "%{user_name} heeft partner %{resource_name} van de %{space_name} conferentie verwijderd"
272
+ update: "%{user_name} heeft partner %{resource_name} in de conferentie %{space_name} bijgewerkt"
273
273
  registration_type:
274
274
  create: "%{user_name} heeft het %{resource_name} registratietype gemaakt in de %{space_name} conferentie"
275
275
  publish: "%{user_name} heeft het %{resource_name} registratietype gepubliceerd in de %{space_name} conferentie"
@@ -402,6 +402,7 @@ nl:
402
402
  personal_website: Persoonlijke website
403
403
  show:
404
404
  more_info: meer informatie
405
+ speaking_at: Spreker bij
405
406
  conference_speaker_cell:
406
407
  personal_url:
407
408
  personal_website: Persoonlijke website
@@ -266,10 +266,6 @@
266
266
  conferences:
267
267
  conference_registration:
268
268
  confirm: "%{user_name} bekreftet en konferanseregistrering i %{resource_name} konferanse"
269
- partner:
270
- create: "%{user_name} opprettet %{resource_name} til %{space_name} konferansen"
271
- delete: "%{user_name} fjernet admin %{resource_name} fra %{space_name} konferansen"
272
- update: "%{user_name} oppdaterte %{resource_name} i %{space_name} konferansen"
273
269
  registration_type:
274
270
  create: "%{user_name} opprettet redigeringstypen %{resource_name} i %{space_name} konferansen"
275
271
  publish: "%{user_name} publiserte %{resource_name} registreringstypen i %{space_name} konferansen"
@@ -212,7 +212,7 @@ pl:
212
212
  price: Cena
213
213
  registrations_count: Liczba rejestracji
214
214
  title: Tytuł
215
- weight: Waga
215
+ weight: Kolejność na stronie
216
216
  name: Typ rejestracji
217
217
  partners:
218
218
  create:
@@ -273,9 +273,9 @@ pl:
273
273
  conference_registration:
274
274
  confirm: "%{user_name} potwierdził(a) rejestrację na konferencję %{resource_name}"
275
275
  partner:
276
- create: "%{user_name} utworzył(a) %{resource_name} w konferencji %{space_name}"
277
- delete: "%{user_name} usunął/usunęła administratora %{resource_name} z konferencji %{space_name}"
278
- update: "%{user_name} zaktualizował(a) %{resource_name} w konferencji %{space_name}"
276
+ create: "%{user_name} dodał(a) partnera %{resource_name} do konferencji %{space_name}"
277
+ delete: "%{user_name} usunął/usunęła partnera %{resource_name} z konferencji %{space_name}"
278
+ update: "%{user_name} zaktualizował(a) partnera %{resource_name} w konferencji %{space_name}"
279
279
  registration_type:
280
280
  create: "%{user_name} utworzył(a) typ rejestracji %{resource_name} w konferencji %{space_name}"
281
281
  publish: "%{user_name} opublikował(a) typ rejestracji %{resource_name} w konferencji %{space_name}"
@@ -410,6 +410,7 @@ pl:
410
410
  personal_website: Osobista strona internetowa
411
411
  show:
412
412
  more_info: więcej informacji
413
+ speaking_at: Mówcy
413
414
  conference_speaker_cell:
414
415
  personal_url:
415
416
  personal_website: Osobista strona internetowa
@@ -474,7 +475,7 @@ pl:
474
475
  attributes:
475
476
  alt: Obraz
476
477
  show:
477
- close_modal: Zamknij modalne
478
+ close_modal: Zamknij okno
478
479
  photo: Zdjęcie
479
480
  photos_list:
480
481
  show:
@@ -547,6 +548,12 @@ pl:
547
548
  email_outro: Otrzymałeś to powiadomienie, ponieważ obserwujesz konferencję "%{resource_title}". Możesz przestać ją obserwować klikając poprzedni link.
548
549
  email_subject: Konferencja „%{resource_title}” już wkrótce!
549
550
  notification_title: Konferencja <a href="%{resource_path}">%{resource_title}</a> odbędzie się za 2 dni.
551
+ help:
552
+ participatory_spaces:
553
+ conferences:
554
+ contextual: "<p> <strong>Konferencja</strong> jest zbiorem spotkań zorganizowanych wedle ułożonego programu, z udziałem osób zaproszonych jako prelegenci, oraz innymi polami informacyjnymi typowymi dla dużych kongresów lub wydarzeń społecznościowych (rejestracja, wykaz organizacji wspierających lub sponsorujących wydarzenie itp.).</p> <p>Przykłady: konferencja może być istotnym wydarzeniem dla organizacji i jej członków, może odbywać się w ramach procesu partycypacyjnego lub być wynikiem konsultacji.</p>\n"
555
+ page: "<p> <strong>Konferencja</strong> jest zbiorem spotkań zorganizowanych wedle ułożonego programu, z udziałem osób zaproszonych jako prelegenci, oraz innymi polami informacyjnymi typowymi dla dużych kongresów lub wydarzeń społecznościowych (rejestracja, wykaz organizacji wspierających lub sponsorujących wydarzenie itp.).</p> <p>Przykłady: konferencja może być istotnym wydarzeniem dla organizacji i jej członków, może odbywać się w ramach procesu partycypacyjnego lub być wynikiem konsultacji.</p>\n"
556
+ title: Czym są konferencje?
550
557
  log:
551
558
  value_types:
552
559
  conference_presenter:
@@ -265,10 +265,6 @@ pt:
265
265
  conferences:
266
266
  conference_registration:
267
267
  confirm: "%{user_name} confirmou o registro da conferência em %{resource_name} conferência"
268
- partner:
269
- create: "%{user_name} criado %{resource_name} para a conferência %{space_name}"
270
- delete: "%{user_name} removeu o usuário %{resource_name} da conferência de %{space_name}"
271
- update: "%{user_name} atualizado %{resource_name} na conferência de %{space_name}"
272
268
  registration_type:
273
269
  create: "%{user_name} criou o tipo de registro %{resource_name} na conferência de %{space_name}"
274
270
  publish: "%{user_name} publicou o tipo de registro %{resource_name} na conferência %{space_name}"
@@ -266,10 +266,6 @@ pt:
266
266
  conferences:
267
267
  conference_registration:
268
268
  confirm: "%{user_name} confirmou um registo da conferência na conferência %{resource_name}"
269
- partner:
270
- create: "%{user_name} criou %{resource_name} na conferência %{space_name}"
271
- delete: "%{user_name} removeu o administrador %{resource_name} da conferência %{space_name}"
272
- update: "%{user_name} atualizou %{resource_name} na conferência %{space_name}"
273
269
  registration_type:
274
270
  create: "%{user_name} criou o tipo de registo %{resource_name} na conferência %{space_name}"
275
271
  publish: "%{user_name} publicou o tipo de registo %{resource_name} na conferência %{space_name}"
@@ -220,10 +220,6 @@ ro:
220
220
  conferences:
221
221
  conference_registration:
222
222
  confirm: "%{user_name} a confirmat înregistrarea conferinței în %{resource_name} conferință"
223
- partner:
224
- create: "%{user_name} a creat %{resource_name} la conferința %{space_name}"
225
- delete: "%{user_name} a eliminat administratorul %{resource_name} de la conferința %{space_name}"
226
- update: "%{user_name} a actualizat %{resource_name} la conferința %{space_name}"
227
223
  registration_type:
228
224
  create: "%{user_name} a creat tipul de înregistrare %{resource_name} în conferința %{space_name}"
229
225
  publish: "%{user_name} a publicat tipul de înregistrare %{resource_name} în conferința %{space_name}"
@@ -272,10 +272,6 @@ sk:
272
272
  conferences:
273
273
  conference_registration:
274
274
  confirm: "%{user_name} potvrdil registráciu na konferencii %{resource_name}"
275
- partner:
276
- create: "%{user_name} pridal %{resource_name} do konferencie %{space_name}"
277
- delete: "%{user_name} odstránil administrátora %{resource_name} z konferencie %{space_name}"
278
- update: "%{user_name} zmenil %{resource_name} v konferencii %{space_name}"
279
275
  registration_type:
280
276
  create: "%{user_name} vytvoril typ registrácie %{resource_name} na konferencii %{space_name}"
281
277
  publish: "%{user_name} publikoval typ registrácie %{resource_name} na konferencii %{space_name}"
@@ -266,10 +266,6 @@ sv:
266
266
  conferences:
267
267
  conference_registration:
268
268
  confirm: "%{user_name} bekräftade en konferensregistrering till konferensen %{resource_name}"
269
- partner:
270
- create: "%{user_name} skapade %{resource_name} på konferensen %{space_name}"
271
- delete: "%{user_name} tog bort administratören %{resource_name} från konferensen %{space_name}"
272
- update: "%{user_name} uppdaterade %{resource_name} på konferensen %{space_name}"
273
269
  registration_type:
274
270
  create: "%{user_name} skapade registreringstypen %{resource_name} på konferensen %{space_name}"
275
271
  publish: "%{user_name} publicerade registreringstypen %{resource_name} till konferensen %{space_name}"
@@ -539,6 +535,12 @@ sv:
539
535
  email_outro: Du har fått det här meddelandet eftersom du följer konferensen "%{resource_title}". Du kan sluta att följa den från föregående länk.
540
536
  email_subject: Konferensen "%{resource_title}" kommer!
541
537
  notification_title: Konferensen <a href="%{resource_path}">%{resource_title}</a> börjar om två dagar.
538
+ help:
539
+ participatory_spaces:
540
+ conferences:
541
+ contextual: "<p>En <strong>konferens</strong> är en samling av möten som arrangeras i ett program, med ett antal personer inbjudna som talare, och andra informationsfält typiska för stora kongresser eller sociala evenemang (registrering, förteckning över organisationer som stöder eller sponsrar evenemanget, etc.).</p> <p>Exempel: En konferens kan vara ett relevant evenemang för en organisation och dess medlemmar, eller äga rum som en del av en deltagarprocess eller följa ett samråd.</p>\n"
542
+ page: "<p>En <strong>konferens</strong> är en samling av möten som arrangeras i ett program, med ett antal personer inbjudna som talare, och andra informationsfält typiska för stora kongresser eller sociala evenemang (registrering, förteckning över organisationer som stöder eller sponsrar evenemanget, etc.).</p> <p>Exempel: En konferens kan vara ett relevant evenemang för en organisation och dess medlemmar, eller äga rum som en del av en deltagarprocess eller följa ett samråd.</p>\n"
543
+ title: Vad är konferenser?
542
544
  log:
543
545
  value_types:
544
546
  conference_presenter:
@@ -266,10 +266,6 @@ tr:
266
266
  conferences:
267
267
  conference_registration:
268
268
  confirm: "%{user_name} , %{resource_name} konferansta bir konferans kaydını onayladı"
269
- partner:
270
- create: "%{user_name} %{space_name} konferansa %{resource_name} oluşturuldu"
271
- delete: "%{user_name} kullanıcı uzaklaştırıldı %{resource_name} den %{space_name} konferans"
272
- update: "%{user_name} %{space_name} konferansta %{resource_name} güncellendi"
273
269
  registration_type:
274
270
  create: "%{user_name} , %{space_name} konferansta %{resource_name} kayıt tipini oluşturdu"
275
271
  publish: "%{user_name} , %{space_name} konferansta %{resource_name} kayıt tipini yayınladı"
@@ -402,6 +398,7 @@ tr:
402
398
  personal_website: Kişisel web sitesi
403
399
  show:
404
400
  more_info: Daha fazla bilgi
401
+ speaking_at: Konuşma
405
402
  conference_speaker_cell:
406
403
  personal_url:
407
404
  personal_website: Kişisel web sitesi
@@ -539,6 +536,12 @@ tr:
539
536
  email_outro: '"%{resource_title}" konferansını izlediğiniz için bu bildirimi aldınız. Bir önceki bağlantıdan takip etmeyi bırakabilirsiniz.'
540
537
  email_subject: '"%{resource_title}" konferansı geliyor!'
541
538
  notification_title: <a href="%{resource_path}">%{resource_title}</a> konferans 2 gün içinde geliyor.
539
+ help:
540
+ participatory_spaces:
541
+ conferences:
542
+ contextual: "<p> <strong> Konferans </strong>, çok sayıda kişinin konuşmacı olarak davet edildiği bir programda düzenlenen toplantılar ve büyük kongreler veya sosyal etkinlikler için tipik olan diğer bilgi alanları (kayıt, destek veren kuruluşların listesi) veya etkinlik sponsoru vb. </p> <p> Örnekler: Bir konferans, bir kuruluş ve üyeleri için alakalı bir etkinlik olabilir veya katılımcı bir sürecin parçası olarak veya bir danışma sürecini takiben gerçekleşebilir. </p>\n"
543
+ page: "<p> <strong> Konferans </strong>, çok sayıda kişinin konuşmacı olarak davet edildiği bir programda düzenlenen toplantılar ve büyük kongreler veya sosyal etkinlikler için tipik olan diğer bilgi alanları (kayıt, destek veren kuruluşların listesi) veya etkinlik sponsoru vb. </p> <p> Örnekler: Bir konferans, bir kuruluş ve üyeleri için alakalı bir etkinlik olabilir veya katılımcı bir sürecin parçası olarak veya bir danışma sürecini takiben gerçekleşebilir. </p>\n"
544
+ title: Konferans nedir?
542
545
  log:
543
546
  value_types:
544
547
  conference_presenter:
@@ -263,10 +263,6 @@ zh-CN:
263
263
  conferences:
264
264
  conference_registration:
265
265
  confirm: "%{user_name} 在 %{resource_name} 次会议上确认了会议注册"
266
- partner:
267
- create: "%{user_name} 创建了 %{resource_name} 到 %{space_name} 会议"
268
- delete: "%{user_name} 将 %{resource_name} 管理员从 %{space_name} 次会议中删除"
269
- update: "%{user_name} 在 %{space_name} 次会议上更新 %{resource_name}"
270
266
  registration_type:
271
267
  create: "%{user_name} 在 %{space_name} 次会议上创建了 %{resource_name} 注册类型"
272
268
  publish: "%{user_name} 在 %{space_name} 次会议上发布了 %{resource_name} 注册类型"
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ module Conferences
5
+ # This type represents a conference.
6
+ class ConferenceMediaLinkType < Decidim::Api::Types::BaseObject
7
+ description "A conference media link"
8
+
9
+ field :id, GraphQL::Types::ID, "Internal ID for this media link", null: false
10
+ field :title, Decidim::Core::TranslatedFieldType, "Title for this media link", null: true
11
+ field :link, GraphQL::Types::String, "URL for this media link", null: true
12
+ field :date, Decidim::Core::DateType, "Relevant date for the media link", null: true
13
+ field :weight, GraphQL::Types::Int, "Order of appearance in which it should be presented", null: true
14
+ field :created_at, Decidim::Core::DateTimeType, "The time this entry was created", null: true
15
+ field :updated_at, Decidim::Core::DateTimeType, "The time this entry was updated", null: true
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ module Conferences
5
+ # This type represents a conference.
6
+ class ConferencePartnerType < Decidim::Api::Types::BaseObject
7
+ description "A conference partner"
8
+
9
+ field :id, GraphQL::Types::ID, "ID of the resource", null: false
10
+ field :name, GraphQL::Types::String, "Partner name", null: true
11
+ field :partner_type, GraphQL::Types::String, "Partner type", null: true
12
+ field :weight, GraphQL::Types::Int, "Order of appearance in which it should be presented", null: true
13
+ field :link, GraphQL::Types::String, "Relevant URL for this partner", null: true
14
+ field :logo, GraphQL::Types::String, "Link to the partner's logo", null: true
15
+ field :created_at, Decidim::Core::DateTimeType, "The time this partner was created", null: true
16
+ field :updated_at, Decidim::Core::DateTimeType, "The time this partner was updated", null: true
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ module Conferences
5
+ # This type represents a conference.
6
+ class ConferenceSpeakerType < Decidim::Api::Types::BaseObject
7
+ description "A conference speaker"
8
+
9
+ field :id, GraphQL::Types::ID, "Internal ID of the speaker", null: false
10
+ field :full_name, GraphQL::Types::String, "Full name of the speaker", null: true
11
+ field :position, Decidim::Core::TranslatedFieldType, "Position of the speaker in the conference", null: true
12
+ field :affiliation, Decidim::Core::TranslatedFieldType, "Affiliation of the speaker", null: true
13
+ field :twitter_handle, GraphQL::Types::String, "Twitter handle", null: true
14
+ field :short_bio, Decidim::Core::TranslatedFieldType, "Short biography of the speaker", null: true
15
+ field :personal_url, GraphQL::Types::String, "Personal URL of the speaker", null: true
16
+ field :avatar, GraphQL::Types::String, "Avatar of the speaker", null: true
17
+ field :user, Decidim::Core::UserType, "Decidim user corresponding to this speaker", null: true
18
+
19
+ field :created_at, Decidim::Core::DateTimeType, "The time this member was created ", null: true
20
+ field :updated_at, Decidim::Core::DateTimeType, "The time this member was updated", null: true
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ module Conferences
5
+ # This type represents a conference.
6
+ class ConferenceType < Decidim::Api::Types::BaseObject
7
+ implements Decidim::Core::ParticipatorySpaceInterface
8
+ implements Decidim::Core::ScopableInterface
9
+ implements Decidim::Core::AttachableInterface
10
+
11
+ description "A conference"
12
+
13
+ field :id, GraphQL::Types::ID, "Internal ID for this conference", null: false
14
+ field :short_description, Decidim::Core::TranslatedFieldType, "The short description of this conference", null: true
15
+ field :description, Decidim::Core::TranslatedFieldType, "The description of this conference", null: true
16
+ field :slug, GraphQL::Types::String, "The slug of this conference", null: true
17
+ field :hashtag, GraphQL::Types::String, "The hashtag for this conference", null: true
18
+ field :slogan, Decidim::Core::TranslatedFieldType, "The slogan of the conference", null: true
19
+ field :location, String, "The location of this conference", null: true
20
+ field :created_at, Decidim::Core::DateTimeType, "The time this conference was created", null: true
21
+ field :updated_at, Decidim::Core::DateTimeType, "The time this conference was updated", null: true
22
+ field :published_at, Decidim::Core::DateTimeType, "The time this conference was published", null: true
23
+ field :reference, GraphQL::Types::String, "Reference prefix for this conference", null: true
24
+
25
+ field :hero_image, GraphQL::Types::String, "The hero image for this conference", null: true
26
+ field :banner_image, GraphQL::Types::String, "The banner image for this conference", null: true
27
+ field :promoted, GraphQL::Types::Boolean, "If this conference is promoted (therefore in the homepage)", null: true
28
+ field :objectives, Decidim::Core::TranslatedFieldType, "The objectives of the conference", null: true
29
+ field :show_statistics, GraphQL::Types::Boolean, "If this conference shows the statistics", null: true
30
+ field :start_date, Decidim::Core::DateType, "The date this conference starts", null: true
31
+ field :end_date, Decidim::Core::DateType, "The date this conference ends", null: true
32
+ field :registrations_enabled, GraphQL::Types::Boolean, "If the registrations are enabled in this conference", null: true
33
+ field :available_slots, GraphQL::Types::Int, "The number of available slots in this conference", null: true
34
+ field :registration_terms, Decidim::Core::TranslatedFieldType, "The registration terms of this conference", null: true
35
+
36
+ field :speakers, [Decidim::Conferences::ConferenceSpeakerType, { null: true }], "List of speakers in this conference", null: true
37
+ field :partners, [Decidim::Conferences::ConferencePartnerType, { null: true }], "List of partners in this conference", null: true
38
+ field :categories, [Decidim::Core::CategoryType, { null: true }], "List of categories in this conference", null: true
39
+ field :media_links, [Decidim::Conferences::ConferenceMediaLinkType, { null: true }], "List of media links in this conference", null: true
40
+ end
41
+ end
42
+ end
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "decidim/conferences/admin"
4
+ require "decidim/conferences/api"
4
5
  require "decidim/conferences/engine"
5
6
  require "decidim/conferences/admin_engine"
6
7
  require "decidim/conferences/participatory_space"
@@ -61,6 +61,7 @@ module Decidim
61
61
  get :share
62
62
  end
63
63
  resources :exports, only: :create
64
+ resources :imports, only: [:new, :create]
64
65
  end
65
66
 
66
67
  resources :moderations do
@@ -69,6 +70,7 @@ module Decidim
69
70
  put :hide
70
71
  put :unhide
71
72
  end
73
+ resources :reports, controller: "moderations/reports", only: [:index, :show]
72
74
  end
73
75
  end
74
76
 
@@ -92,7 +94,7 @@ module Decidim
92
94
  menu.item I18n.t("menu.conferences", scope: "decidim.admin"),
93
95
  decidim_admin_conferences.conferences_path,
94
96
  icon_name: "microphone",
95
- position: 3.5,
97
+ position: 2.8,
96
98
  active: :inclusive,
97
99
  if: allowed_to?(:enter, :space_area, space_name: :conferences)
98
100
  end