Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I18n direct object blocks #2167

Merged
merged 11 commits into from
Aug 29, 2024
Merged

I18n direct object blocks #2167

merged 11 commits into from
Aug 29, 2024

Conversation

SebouChu
Copy link
Member

No description provided.

SebouChu and others added 10 commits August 19, 2024 16:16
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
@SebouChu SebouChu merged commit c28de76 into i18n_step_2 Aug 29, 2024
1 of 2 checks passed
@SebouChu SebouChu deleted the i18n-direct-object-blocks branch August 29, 2024 07:53
arnaudlevy added a commit that referenced this pull request Aug 29, 2024
* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
arnaudlevy added a commit that referenced this pull request Aug 29, 2024
* alumni

* locations

* form

* fix

* alumni

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* locations

* form

* qualiopi

* qualiopi

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
arnaudlevy added a commit that referenced this pull request Aug 29, 2024
* diplomas

* diplomas done

* programs

* layout

* refacto

* school wip

* schools

* involvements

* wip

* clean

* fixes

* layout

* wip

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* add comment

* migrate diploma_id in programs

* diploma tmp original

* tmp original

* break program form

* involvements

* teacher involvements

* program involvements

* schools roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program role

* I18n administration (#2170)

* alumni

* locations

* form

* fix

* alumni

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* locations

* form

* qualiopi

* qualiopi

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
pabois added a commit that referenced this pull request Sep 29, 2024
* css

* profile

* menus

* wip people

* fix

* wip form

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip form

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* language_id

* to_s_in

* adjust form

* localization widget

* wip orga

* orgas

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* remove legacy

* Fix missing loca

* bundle

* post

* fix

* fix

* sync orga localizations

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* wip posts

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* post localization website

* fix

* wip form

* fix

* fix

* fix

* show + form posts

* ordered with language

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* localize in

* wip posts localizations static

* refactor

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix migration

* wip

* better

* wip post categories

* bundle

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* bundle

* wip

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* loca people

* fix

* localize person categories

* orgas categories localization

* l10n

* wip backlinks

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* migrate blocks target job

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* clean deprecated methods

* block form wip

* fix author

* localizations person facets

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* doc

* bundle

* block language mismatch fixed

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* wip

* gemfile

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* websites confirm localization

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* libretranslate

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* statics

* names

* wip static facets

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip page localizations

* wip pages localizations

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip permalink

* best_localization_for in permalink/author

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* pages localizations

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip menu

* todo

* menu items

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* menu items

* adding dependent destroy + try(:sync_with_git) on destroy

* fix static

* fix config permalinks

* fix git path relative on special pages

* replace permalinkable by association on non-localization models

* make localization respond to websites if about does

* add todo on block template statics, handle orga + person for now

* wip snippet posts

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* fix legacy

* facets references and deps

* publish

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* experiences

* commentaire

* fix admin static person facets

* fix person search, lang not needed

* fix indirect object sync

* handle draftable

* redirect if not localized on special pages

* fix facets static + permalinks

* remove byebug

* fix snippets orga and people

* fix design static

* clean

* clean PR 2123

* better

* fix

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Localisation de l'agenda (#2123)

* events

* symetry

* linebreaks

* Update app/views/admin/communication/websites/agenda/events/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/views/admin/communication/websites/agenda/events/new.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* layout

* categories

* fix

* fix

* fix published_in? on non-publishable l10ns

* parent category

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* special page path

* permalink changes in other pr

* fix

* fixtures

* at least fixtures are ok

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* block event

* Simplification des permalinks (#2135)

* wip

* back to oneline

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* I18n portfolio (#2142)

* wip migrations and models (should adapt base models)

* models portfolio

* portfolio projects

* portfolio categories

* permalink mapping

* fix

* fix

* website id on project localization

* fix

* fix

* fix video snippet

* snippets

* snippet person

* Update forms.sass

* fix (#2143)

* fix (#2146)

* migrate menu items about (#2137)

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* change data migrations

* mel ok

* nav

* fix

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* i18n education (#2166)

* diplomas

* diplomas done

* programs

* layout

* refacto

* school wip

* schools

* involvements

* wip

* clean

* fixes

* layout

* wip

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* add comment

* migrate diploma_id in programs

* diploma tmp original

* tmp original

* break program form

* involvements

* teacher involvements

* program involvements

* schools roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program role

* I18n administration (#2170)

* alumni

* locations

* form

* fix

* alumni

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* locations

* form

* qualiopi

* qualiopi

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* localize experiences

* migration fixes

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* wip

* fix

* website::loc: fallback des infos de la loca avec website quand blank

* fix migration + add constraint

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* restore backlinks

* fix category show

* fix missing summary in agenda category migration

* fix for_website?

* fix backlinks

* clean education school localizations

* fix category path in blocks

* fix

* trim, lower and unaccent

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* schema :)

* fix

* Localisation de la recherche (#2172)

* researchers and publications

* laboratories

* axis

* thesis

* journal

* volumes

* home

* papers

* comment

* Paper kind

* fav

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix order

* fix

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* Localisation des extranets (#2175)

* researchers and publications

* laboratories

* axis

* thesis

* journal

* volumes

* home

* papers

* comment

* Paper kind

* wip

* fav

* wip

* wip

* wip

* routes and controllers

* wip

* wip

* wip

* wip

* routes and controllers

* alumni

* contacts and profile

* xp

* company

* docs

* docs

* working docs

* change library to documents

* fix

* posts

* exports

* block program and posts refactor

* extract layouts

* blocks

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* fix order

* fix

* fix

* fix

* fix

* fix

* done

* fix

* wip

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix

* better

* fix

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix facets

* fix

* fix

* wip ordered

* harmonisation validates

* last validators

* fixes

* adjust

* fix

* involvement scope

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* server fix

* fix

* server fix

* Documentation de l'API avec Swagger et rswag (#2157)

* wip

* temporary fix for rack 3

* wip

* doc

* clean

* auth

* api

* wip

* Update app/controllers/api/osuny/communication/websites/posts_controller.rb

* Update app/controllers/api/osuny/communication/websites/posts_controller.rb

* Update config/initializers/rswag_ui.rb

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Fix margin

* fix

* fix server languages

* fix to_s_in in server

* fix research migration

* remove for_language_id

* fix

* Fix

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix language

* fix exporters

* fix sync

* biography text

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* bring back post legacy text

* localized tree

* fix dependencies in education + statics

* school static

* annotate

* fix

* fix

* fix show

* Fix #2203

* bundle

* I18n filters (#2206)

* WIP filters

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* websites

* filters for communication

* remove for apps

* end filters

* missing files

* wip

* html

* set kaminari to 36

* wip

* done

* fix extranet form

* fix extranets

* fix website server

* fix website server

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
Co-authored-by: Arnaud Levy <contact@arnaudlevy.com>

* i18n: importers (#2207)

* add language to imports

* set language on import creation

* add language to importers init (except organizations)

* move hash_to_orga in separate file and add language to init

* set default language to import

* wip organizations

* import orga: search by siren/nic, siren, name in lang or name in other lang before init

* no need for arguments

* import person

* import experience

* fix import url in notif mail

* fix picture in people list

* style

* no tmp_original

* fix

* fix

* adjust extranets

* remove comment

* i18n migration job (#2212)

* i18n migration job

* linebreak

* prevent retry to do it manually

* fix parent migration (#2211)

* fix

* special queue for migration job

* fix menus

* fix accessibility page generation

* fix publish_batch

* fix menu items

* climate

* Fix curation

* useless fixtures

* education fixtures

* university fixtures

* removed research fixtures

* remove useless fixtures

* fix forced about_id in fixtures

* remove unused test files

* communication fixtures

* fix test controllers server

* add universities languages in fixtures

* add languages in test_helper

* import extranet fixes from step 4

* fix extranet academic years test

* fix test controllers extranet

* fix some website tests

* fix duplicate

* wip dependencies

* follow direct to count website dependencies

* nullable language in post categories

* fix set_programs_categories_safely

* fix dependency test

* early return if repository invalid

* fix connections test

* fixes

* done (#2221)

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: pabois <pierreandre.boissinot@noesya.coop>
pabois added a commit that referenced this pull request Sep 30, 2024
* to_s_in

* adjust form

* localization widget

* wip orga

* orgas

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* remove legacy

* Fix missing loca

* bundle

* post

* fix

* fix

* sync orga localizations

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* wip posts

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* post localization website

* fix

* wip form

* fix

* fix

* fix

* show + form posts

* ordered with language

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* localize in

* wip posts localizations static

* refactor

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix migration

* wip

* better

* wip post categories

* bundle

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* bundle

* wip

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* loca people

* fix

* localize person categories

* orgas categories localization

* l10n

* wip backlinks

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* migrate blocks target job

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* clean deprecated methods

* block form wip

* fix author

* localizations person facets

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* doc

* bundle

* block language mismatch fixed

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* wip

* gemfile

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* websites confirm localization

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* libretranslate

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* statics

* names

* wip static facets

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip page localizations

* wip pages localizations

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip permalink

* best_localization_for in permalink/author

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* pages localizations

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip menu

* todo

* menu items

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* menu items

* adding dependent destroy + try(:sync_with_git) on destroy

* fix static

* fix config permalinks

* fix git path relative on special pages

* replace permalinkable by association on non-localization models

* make localization respond to websites if about does

* add todo on block template statics, handle orga + person for now

* wip snippet posts

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* fix legacy

* facets references and deps

* publish

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* experiences

* commentaire

* fix admin static person facets

* fix person search, lang not needed

* fix indirect object sync

* handle draftable

* redirect if not localized on special pages

* fix facets static + permalinks

* remove byebug

* fix snippets orga and people

* fix design static

* clean

* clean PR 2123

* better

* fix

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Localisation de l'agenda (#2123)

* events

* symetry

* linebreaks

* Update app/views/admin/communication/websites/agenda/events/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/views/admin/communication/websites/agenda/events/new.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* layout

* categories

* fix

* fix

* fix published_in? on non-publishable l10ns

* parent category

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* special page path

* permalink changes in other pr

* fix

* fixtures

* at least fixtures are ok

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* block event

* Simplification des permalinks (#2135)

* wip

* back to oneline

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* I18n portfolio (#2142)

* wip migrations and models (should adapt base models)

* models portfolio

* portfolio projects

* portfolio categories

* permalink mapping

* fix

* fix

* website id on project localization

* fix

* fix

* fix video snippet

* snippets

* snippet person

* Update forms.sass

* fix (#2143)

* fix (#2146)

* migrate menu items about (#2137)

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* change data migrations

* mel ok

* nav

* fix

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* i18n education (#2166)

* diplomas

* diplomas done

* programs

* layout

* refacto

* school wip

* schools

* involvements

* wip

* clean

* fixes

* layout

* wip

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* add comment

* migrate diploma_id in programs

* diploma tmp original

* tmp original

* break program form

* involvements

* teacher involvements

* program involvements

* schools roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program role

* I18n administration (#2170)

* alumni

* locations

* form

* fix

* alumni

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* locations

* form

* qualiopi

* qualiopi

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* localize experiences

* migration fixes

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* wip

* fix

* website::loc: fallback des infos de la loca avec website quand blank

* fix migration + add constraint

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* restore backlinks

* fix category show

* fix missing summary in agenda category migration

* fix for_website?

* fix backlinks

* clean education school localizations

* fix category path in blocks

* fix

* trim, lower and unaccent

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* schema :)

* fix

* Localisation de la recherche (#2172)

* researchers and publications

* laboratories

* axis

* thesis

* journal

* volumes

* home

* papers

* comment

* Paper kind

* fav

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix order

* fix

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* Localisation des extranets (#2175)

* researchers and publications

* laboratories

* axis

* thesis

* journal

* volumes

* home

* papers

* comment

* Paper kind

* wip

* fav

* wip

* wip

* wip

* routes and controllers

* wip

* wip

* wip

* wip

* routes and controllers

* alumni

* contacts and profile

* xp

* company

* docs

* docs

* working docs

* change library to documents

* fix

* posts

* exports

* block program and posts refactor

* extract layouts

* blocks

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* fix order

* fix

* fix

* fix

* fix

* fix

* done

* fix

* wip

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix

* better

* fix

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix facets

* fix

* fix

* wip ordered

* harmonisation validates

* last validators

* fixes

* adjust

* fix

* involvement scope

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* server fix

* fix

* server fix

* Documentation de l'API avec Swagger et rswag (#2157)

* wip

* temporary fix for rack 3

* wip

* doc

* clean

* auth

* api

* wip

* Update app/controllers/api/osuny/communication/websites/posts_controller.rb

* Update app/controllers/api/osuny/communication/websites/posts_controller.rb

* Update config/initializers/rswag_ui.rb

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Fix margin

* fix

* fix server languages

* fix to_s_in in server

* fix research migration

* remove for_language_id

* fix

* Fix

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix language

* fix exporters

* fix sync

* biography text

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* bring back post legacy text

* localized tree

* fix dependencies in education + statics

* school static

* annotate

* fix

* fix

* fix show

* Fix #2203

* bundle

* I18n filters (#2206)

* WIP filters

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* websites

* filters for communication

* remove for apps

* end filters

* missing files

* wip

* html

* set kaminari to 36

* wip

* done

* fix extranet form

* fix extranets

* fix website server

* fix website server

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
Co-authored-by: Arnaud Levy <contact@arnaudlevy.com>

* i18n: importers (#2207)

* add language to imports

* set language on import creation

* add language to importers init (except organizations)

* move hash_to_orga in separate file and add language to init

* set default language to import

* wip organizations

* import orga: search by siren/nic, siren, name in lang or name in other lang before init

* no need for arguments

* import person

* import experience

* fix import url in notif mail

* fix picture in people list

* style

* no tmp_original

* fix

* fix

* adjust extranets

* remove comment

* i18n migration job (#2212)

* i18n migration job

* linebreak

* prevent retry to do it manually

* fix parent migration (#2211)

* add cleaner

* fix

* special queue for migration job

* add obsolete permalinks removal

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix menus

* fix accessibility page generation

* fix publish_batch

* fix menu items

* climate

* Fix curation

* useless fixtures

* education fixtures

* university fixtures

* removed research fixtures

* remove useless fixtures

* fix forced about_id in fixtures

* remove unused test files

* communication fixtures

* fix test controllers server

* add universities languages in fixtures

* add languages in test_helper

* import extranet fixes from step 4

* fix extranet academic years test

* fix test controllers extranet

* fix some website tests

* fix duplicate

* wip dependencies

* follow direct to count website dependencies

* nullable language in post categories

* fix set_programs_categories_safely

* fix dependency test

* early return if repository invalid

* fix connections test

* fixes

* done (#2221)

---------

Co-authored-by: Arnaud Levy <contact@arnaudlevy.com>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
pabois added a commit that referenced this pull request Sep 30, 2024
* orgas categories localization

* l10n

* wip backlinks

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* migrate blocks target job

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* clean deprecated methods

* block form wip

* fix author

* localizations person facets

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* doc

* bundle

* block language mismatch fixed

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* wip

* gemfile

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* websites confirm localization

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* libretranslate

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* statics

* names

* wip static facets

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip page localizations

* wip pages localizations

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip permalink

* best_localization_for in permalink/author

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* pages localizations

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip menu

* todo

* menu items

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* menu items

* adding dependent destroy + try(:sync_with_git) on destroy

* fix static

* fix config permalinks

* fix git path relative on special pages

* replace permalinkable by association on non-localization models

* make localization respond to websites if about does

* add todo on block template statics, handle orga + person for now

* wip snippet posts

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* fix legacy

* facets references and deps

* publish

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* experiences

* commentaire

* fix admin static person facets

* fix person search, lang not needed

* fix indirect object sync

* handle draftable

* redirect if not localized on special pages

* fix facets static + permalinks

* remove byebug

* fix snippets orga and people

* fix design static

* clean

* clean PR 2123

* better

* fix

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Localisation de l'agenda (#2123)

* events

* symetry

* linebreaks

* Update app/views/admin/communication/websites/agenda/events/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/views/admin/communication/websites/agenda/events/new.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* layout

* categories

* fix

* fix

* fix published_in? on non-publishable l10ns

* parent category

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* special page path

* permalink changes in other pr

* fix

* fixtures

* at least fixtures are ok

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* block event

* Simplification des permalinks (#2135)

* wip

* back to oneline

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* I18n portfolio (#2142)

* wip migrations and models (should adapt base models)

* models portfolio

* portfolio projects

* portfolio categories

* permalink mapping

* fix

* fix

* website id on project localization

* fix

* fix

* fix video snippet

* snippets

* snippet person

* Update forms.sass

* fix (#2143)

* fix (#2146)

* migrate menu items about (#2137)

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* change data migrations

* mel ok

* nav

* fix

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* i18n education (#2166)

* diplomas

* diplomas done

* programs

* layout

* refacto

* school wip

* schools

* involvements

* wip

* clean

* fixes

* layout

* wip

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* add comment

* migrate diploma_id in programs

* diploma tmp original

* tmp original

* break program form

* involvements

* teacher involvements

* program involvements

* schools roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program role

* I18n administration (#2170)

* alumni

* locations

* form

* fix

* alumni

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* locations

* form

* qualiopi

* qualiopi

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* localize experiences

* migration fixes

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* wip

* fix

* website::loc: fallback des infos de la loca avec website quand blank

* fix migration + add constraint

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* restore backlinks

* fix category show

* fix missing summary in agenda category migration

* fix for_website?

* fix backlinks

* clean education school localizations

* fix category path in blocks

* fix

* trim, lower and unaccent

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* schema :)

* fix

* Localisation de la recherche (#2172)

* researchers and publications

* laboratories

* axis

* thesis

* journal

* volumes

* home

* papers

* comment

* Paper kind

* fav

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix order

* fix

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* Localisation des extranets (#2175)

* researchers and publications

* laboratories

* axis

* thesis

* journal

* volumes

* home

* papers

* comment

* Paper kind

* wip

* fav

* wip

* wip

* wip

* routes and controllers

* wip

* wip

* wip

* wip

* routes and controllers

* alumni

* contacts and profile

* xp

* company

* docs

* docs

* working docs

* change library to documents

* fix

* posts

* exports

* block program and posts refactor

* extract layouts

* blocks

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* fix order

* fix

* fix

* fix

* fix

* fix

* done

* fix

* wip

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix

* better

* fix

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix facets

* fix

* fix

* wip ordered

* harmonisation validates

* last validators

* fixes

* adjust

* fix

* involvement scope

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* server fix

* fix

* server fix

* Documentation de l'API avec Swagger et rswag (#2157)

* wip

* temporary fix for rack 3

* wip

* doc

* clean

* auth

* api

* wip

* Update app/controllers/api/osuny/communication/websites/posts_controller.rb

* Update app/controllers/api/osuny/communication/websites/posts_controller.rb

* Update config/initializers/rswag_ui.rb

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Fix margin

* fix

* fix server languages

* fix to_s_in in server

* fix research migration

* remove for_language_id

* fix

* Fix

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix language

* fix exporters

* fix sync

* biography text

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* bring back post legacy text

* localized tree

* fix dependencies in education + statics

* school static

* annotate

* fix

* init

* fix

* fix show

* remove tmp_original

* remove content migrations

* clean

* Fix #2203

* bundle

* I18n filters (#2206)

* WIP filters

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* websites

* filters for communication

* remove for apps

* end filters

* missing files

* wip

* html

* set kaminari to 36

* wip

* done

* fix extranet form

* fix extranets

* fix website server

* fix website server

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
Co-authored-by: Arnaud Levy <contact@arnaudlevy.com>

* i18n: importers (#2207)

* add language to imports

* set language on import creation

* add language to importers init (except organizations)

* move hash_to_orga in separate file and add language to init

* set default language to import

* wip organizations

* import orga: search by siren/nic, siren, name in lang or name in other lang before init

* no need for arguments

* import person

* import experience

* fix import url in notif mail

* fix picture in people list

* style

* no tmp_original

* fix

* fix

* adjust extranets

* remove comment

* remove legacy code

* i18n migration job (#2212)

* i18n migration job

* linebreak

* remove job

* prevent retry to do it manually

* fix parent migration (#2211)

* update TODO L10N

* add cleaner

* fix

* special queue for migration job

* add db cleanup

* fix typo

* fix typo

* inexistant columns

* schema

* lots of fixes

* add obsolete permalinks removal

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix menus

* fix accessibility page generation

* fix publish_batch

* fix menu items

* climate

* fix collection helpers and removed old programs/teachers controller

* fix website localization unpublish cleaning git files

* for_website? used by publication so no removal

* clean published_now_in

* remove

* Fix curation

* fix search

* remove todos

* fixes extranet

* add l10n in cache keys

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix extranets

* fix

* useless fixtures

* education fixtures

* university fixtures

* removed research fixtures

* remove useless fixtures

* fix forced about_id in fixtures

* remove unused test files

* communication fixtures

* fix test controllers server

* add universities languages in fixtures

* add languages in test_helper

* import extranet fixes from step 4

* fix extranet academic years test

* fix test controllers extranet

* fix some website tests

* fix duplicate

* wip dependencies

* follow direct to count website dependencies

* nullable language in post categories

* fix set_programs_categories_safely

* fix dependency test

* early return if repository invalid

* fix connections test

* fixes

* done (#2221)

* fix people static url

* no more hack in permalink mapping lookup key as pages are not permalinkable anymore (=> l10n)

* fix title + deprecation notice

* fix website to_s : use original l10n

* fix favoritable

* add languages config to post dependencies (for permalinks)

* fix errors from night sync

* fix involvement description

* fix user's person creation

* woopsy doosy, user is linked to person

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Arnaud Levy <contact@arnaudlevy.com>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
SebouChu added a commit that referenced this pull request Sep 30, 2024
* wip menu

* todo

* menu items

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* menu items

* adding dependent destroy + try(:sync_with_git) on destroy

* fix static

* fix config permalinks

* fix git path relative on special pages

* replace permalinkable by association on non-localization models

* make localization respond to websites if about does

* add todo on block template statics, handle orga + person for now

* wip snippet posts

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* fix legacy

* facets references and deps

* publish

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* experiences

* commentaire

* fix admin static person facets

* fix person search, lang not needed

* fix indirect object sync

* handle draftable

* redirect if not localized on special pages

* fix facets static + permalinks

* remove byebug

* fix snippets orga and people

* fix design static

* clean

* clean PR 2123

* better

* fix

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Localisation de l'agenda (#2123)

* events

* symetry

* linebreaks

* Update app/views/admin/communication/websites/agenda/events/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/views/admin/communication/websites/agenda/events/new.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* layout

* categories

* fix

* fix

* fix published_in? on non-publishable l10ns

* parent category

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* special page path

* permalink changes in other pr

* fix

* fixtures

* at least fixtures are ok

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* block event

* Simplification des permalinks (#2135)

* wip

* back to oneline

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* I18n portfolio (#2142)

* wip migrations and models (should adapt base models)

* models portfolio

* portfolio projects

* portfolio categories

* permalink mapping

* fix

* fix

* website id on project localization

* fix

* fix

* fix video snippet

* snippets

* snippet person

* Update forms.sass

* fix (#2143)

* fix (#2146)

* migrate menu items about (#2137)

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* change data migrations

* mel ok

* nav

* fix

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* i18n education (#2166)

* diplomas

* diplomas done

* programs

* layout

* refacto

* school wip

* schools

* involvements

* wip

* clean

* fixes

* layout

* wip

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* add comment

* migrate diploma_id in programs

* diploma tmp original

* tmp original

* break program form

* involvements

* teacher involvements

* program involvements

* schools roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program role

* I18n administration (#2170)

* alumni

* locations

* form

* fix

* alumni

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* locations

* form

* qualiopi

* qualiopi

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* researchers and publications

* laboratories

* axis

* thesis

* journal

* localize experiences

* volumes

* home

* papers

* comment

* migration fixes

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* Paper kind

* wip

* fav

* wip

* wip

* wip

* routes and controllers

* wip

* wip

* wip

* wip

* routes and controllers

* alumni

* contacts and profile

* xp

* company

* docs

* docs

* working docs

* change library to documents

* wip

* fix

* posts

* exports

* block program and posts refactor

* fix

* website::loc: fallback des infos de la loca avec website quand blank

* fix migration + add constraint

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* restore backlinks

* fix category show

* fix missing summary in agenda category migration

* fix for_website?

* fix backlinks

* clean education school localizations

* fix category path in blocks

* extract layouts

* blocks

* fix

* trim, lower and unaccent

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* schema :)

* fix

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* fix order

* programs

* fix

* wip

* done

* fix

* fix

* #2131

* Localisation de la recherche (#2172)

* researchers and publications

* laboratories

* axis

* thesis

* journal

* volumes

* home

* papers

* comment

* Paper kind

* fav

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix order

* fix

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* Localisation des extranets (#2175)

* researchers and publications

* laboratories

* axis

* thesis

* journal

* volumes

* home

* papers

* comment

* Paper kind

* wip

* fav

* wip

* wip

* wip

* routes and controllers

* wip

* wip

* wip

* wip

* routes and controllers

* alumni

* contacts and profile

* xp

* company

* docs

* docs

* working docs

* change library to documents

* fix

* posts

* exports

* block program and posts refactor

* extract layouts

* blocks

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* fix order

* fix

* fix

* fix

* fix

* fix

* done

* fix

* wip

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix

* better

* fix

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix facets

* fix

* fix

* wip ordered

* harmonisation validates

* last validators

* fixes

* adjust

* fix

* involvement scope

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* server fix

* fix

* server fix

* Documentation de l'API avec Swagger et rswag (#2157)

* wip

* temporary fix for rack 3

* wip

* doc

* clean

* auth

* api

* wip

* Update app/controllers/api/osuny/communication/websites/posts_controller.rb

* Update app/controllers/api/osuny/communication/websites/posts_controller.rb

* Update config/initializers/rswag_ui.rb

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Fix margin

* fix

* fix server languages

* fix to_s_in in server

* fix research migration

* remove for_language_id

* fix

* Fix

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix language

* fix exporters

* fix sync

* biography text

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* bring back post legacy text

* localized tree

* fix dependencies in education + statics

* school static

* annotate

* fix

* fix

* fix show

* Fix #2203

* bundle

* I18n filters (#2206)

* WIP filters

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* websites

* filters for communication

* remove for apps

* end filters

* missing files

* wip

* html

* set kaminari to 36

* wip

* done

* fix extranet form

* fix extranets

* fix website server

* fix website server

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
Co-authored-by: Arnaud Levy <contact@arnaudlevy.com>

* Menu pour chaque formation (#2186)

* nice

* fix

* Update app/views/admin/education/programs/show.html.erb

* fixes

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* i18n: importers (#2207)

* add language to imports

* set language on import creation

* add language to importers init (except organizations)

* move hash_to_orga in separate file and add language to init

* set default language to import

* wip organizations

* import orga: search by siren/nic, siren, name in lang or name in other lang before init

* no need for arguments

* import person

* import experience

* fix import url in notif mail

* fix picture in people list

* style

* no tmp_original

* fix

* fix

* clean

* adjust extranets

* Update app/controllers/admin/education/programs/categories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/models/communication/website/page/localization.rb

* Update app/views/admin/education/programs/categories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* clean

* about.about => l10n.about

* bundle

* fixes

* bundle lock

* fix

* bring back template changes

* remove original_id from program categories

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
arnaudlevy added a commit that referenced this pull request Oct 1, 2024
* l10n

* wip backlinks

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* migrate blocks target job

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* clean deprecated methods

* block form wip

* fix author

* localizations person facets

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* doc

* bundle

* block language mismatch fixed

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* wip

* gemfile

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* websites confirm localization

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* libretranslate

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* statics

* names

* wip static facets

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip page localizations

* wip pages localizations

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip permalink

* best_localization_for in permalink/author

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* pages localizations

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip menu

* todo

* menu items

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* menu items

* adding dependent destroy + try(:sync_with_git) on destroy

* fix static

* fix config permalinks

* fix git path relative on special pages

* replace permalinkable by association on non-localization models

* make localization respond to websites if about does

* add todo on block template statics, handle orga + person for now

* wip snippet posts

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* fix legacy

* facets references and deps

* publish

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* experiences

* commentaire

* fix admin static person facets

* fix person search, lang not needed

* fix indirect object sync

* handle draftable

* redirect if not localized on special pages

* fix facets static + permalinks

* remove byebug

* fix snippets orga and people

* fix design static

* clean

* clean PR 2123

* better

* fix

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Localisation de l'agenda (#2123)

* events

* symetry

* linebreaks

* Update app/views/admin/communication/websites/agenda/events/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/views/admin/communication/websites/agenda/events/new.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* layout

* categories

* fix

* fix

* fix published_in? on non-publishable l10ns

* parent category

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* special page path

* permalink changes in other pr

* fix

* fixtures

* at least fixtures are ok

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* block event

* Simplification des permalinks (#2135)

* wip

* back to oneline

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* I18n portfolio (#2142)

* wip migrations and models (should adapt base models)

* models portfolio

* portfolio projects

* portfolio categories

* permalink mapping

* fix

* fix

* website id on project localization

* fix

* fix

* fix video snippet

* snippets

* snippet person

* Update forms.sass

* fix (#2143)

* fix (#2146)

* migrate menu items about (#2137)

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* change data migrations

* mel ok

* nav

* fix

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* i18n education (#2166)

* diplomas

* diplomas done

* programs

* layout

* refacto

* school wip

* schools

* involvements

* wip

* clean

* fixes

* layout

* wip

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* add comment

* migrate diploma_id in programs

* diploma tmp original

* tmp original

* break program form

* involvements

* teacher involvements

* program involvements

* schools roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program role

* I18n administration (#2170)

* alumni

* locations

* form

* fix

* alumni

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* locations

* form

* qualiopi

* qualiopi

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* localize experiences

* migration fixes

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* wip

* fix

* website::loc: fallback des infos de la loca avec website quand blank

* fix migration + add constraint

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* restore backlinks

* fix category show

* fix missing summary in agenda category migration

* fix for_website?

* fix backlinks

* clean education school localizations

* fix category path in blocks

* fix

* trim, lower and unaccent

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* schema :)

* fix

* Localisation de la recherche (#2172)

* researchers and publications

* laboratories

* axis

* thesis

* journal

* volumes

* home

* papers

* comment

* Paper kind

* fav

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix order

* fix

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* Localisation des extranets (#2175)

* researchers and publications

* laboratories

* axis

* thesis

* journal

* volumes

* home

* papers

* comment

* Paper kind

* wip

* fav

* wip

* wip

* wip

* routes and controllers

* wip

* wip

* wip

* wip

* routes and controllers

* alumni

* contacts and profile

* xp

* company

* docs

* docs

* working docs

* change library to documents

* fix

* posts

* exports

* block program and posts refactor

* extract layouts

* blocks

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* fix order

* fix

* fix

* fix

* fix

* fix

* done

* fix

* wip

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix

* better

* fix

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix facets

* fix

* fix

* wip ordered

* harmonisation validates

* last validators

* fixes

* adjust

* fix

* involvement scope

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* server fix

* fix

* server fix

* Documentation de l'API avec Swagger et rswag (#2157)

* wip

* temporary fix for rack 3

* wip

* doc

* clean

* auth

* api

* wip

* Update app/controllers/api/osuny/communication/websites/posts_controller.rb

* Update app/controllers/api/osuny/communication/websites/posts_controller.rb

* Update config/initializers/rswag_ui.rb

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Fix margin

* fix

* fix server languages

* fix to_s_in in server

* fix research migration

* remove for_language_id

* fix

* Fix

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix language

* fix exporters

* fix sync

* biography text

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* bring back post legacy text

* localized tree

* fix dependencies in education + statics

* school static

* annotate

* fix

* init

* fix

* fix show

* remove tmp_original

* remove content migrations

* clean

* Fix #2203

* bundle

* I18n filters (#2206)

* WIP filters

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* websites

* filters for communication

* remove for apps

* end filters

* missing files

* wip

* html

* set kaminari to 36

* wip

* done

* fix extranet form

* fix extranets

* fix website server

* fix website server

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
Co-authored-by: Arnaud Levy <contact@arnaudlevy.com>

* i18n: importers (#2207)

* add language to imports

* set language on import creation

* add language to importers init (except organizations)

* move hash_to_orga in separate file and add language to init

* set default language to import

* wip organizations

* import orga: search by siren/nic, siren, name in lang or name in other lang before init

* no need for arguments

* import person

* import experience

* fix import url in notif mail

* fix picture in people list

* style

* no tmp_original

* fix

* fix

* adjust extranets

* remove comment

* remove legacy code

* i18n migration job (#2212)

* i18n migration job

* linebreak

* remove job

* prevent retry to do it manually

* fix parent migration (#2211)

* update TODO L10N

* add cleaner

* fix

* special queue for migration job

* add db cleanup

* fix typo

* fix typo

* inexistant columns

* schema

* lots of fixes

* add obsolete permalinks removal

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix menus

* fix accessibility page generation

* fix publish_batch

* fix menu items

* climate

* fix collection helpers and removed old programs/teachers controller

* fix website localization unpublish cleaning git files

* for_website? used by publication so no removal

* clean published_now_in

* remove

* Fix curation

* fix search

* remove todos

* fixes extranet

* add l10n in cache keys

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix extranets

* fix

* useless fixtures

* education fixtures

* university fixtures

* removed research fixtures

* remove useless fixtures

* fix forced about_id in fixtures

* remove unused test files

* communication fixtures

* fix test controllers server

* add universities languages in fixtures

* add languages in test_helper

* import extranet fixes from step 4

* fix extranet academic years test

* fix test controllers extranet

* fix some website tests

* fix duplicate

* wip dependencies

* follow direct to count website dependencies

* nullable language in post categories

* fix set_programs_categories_safely

* fix dependency test

* early return if repository invalid

* fix connections test

* fixes

* certification

* merge

* locales

* certification validator, icon_path and content_tag for blank radio button

* Update app/models/research/journal/paper/localization.rb

* Update app/models/research/journal/paper/localization.rb

* Update app/models/university/person/localization.rb

* fix schema

---------

Co-authored-by: pabois <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
SebouChu added a commit that referenced this pull request Oct 3, 2024
* fix

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Localisation de l'agenda (#2123)

* events

* symetry

* linebreaks

* Update app/views/admin/communication/websites/agenda/events/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/views/admin/communication/websites/agenda/events/new.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* layout

* categories

* fix

* fix

* fix published_in? on non-publishable l10ns

* parent category

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* special page path

* permalink changes in other pr

* fix

* fixtures

* at least fixtures are ok

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* block event

* Simplification des permalinks (#2135)

* wip

* back to oneline

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* I18n portfolio (#2142)

* wip migrations and models (should adapt base models)

* models portfolio

* portfolio projects

* portfolio categories

* permalink mapping

* fix

* fix

* website id on project localization

* fix

* fix

* fix video snippet

* snippets

* snippet person

* Update forms.sass

* fix (#2143)

* fix (#2146)

* migrate menu items about (#2137)

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* change data migrations

* mel ok

* nav

* fix

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* i18n education (#2166)

* diplomas

* diplomas done

* programs

* layout

* refacto

* school wip

* schools

* involvements

* wip

* clean

* fixes

* layout

* wip

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* add comment

* migrate diploma_id in programs

* diploma tmp original

* tmp original

* break program form

* involvements

* teacher involvements

* program involvements

* schools roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program role

* I18n administration (#2170)

* alumni

* locations

* form

* fix

* alumni

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* locations

* form

* qualiopi

* qualiopi

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* researchers and publications

* laboratories

* axis

* thesis

* journal

* localize experiences

* volumes

* home

* papers

* comment

* migration fixes

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* Paper kind

* wip

* fav

* wip

* wip

* wip

* routes and controllers

* wip

* wip

* wip

* wip

* routes and controllers

* alumni

* contacts and profile

* xp

* company

* docs

* docs

* working docs

* change library to documents

* wip

* fix

* posts

* exports

* block program and posts refactor

* fix

* website::loc: fallback des infos de la loca avec website quand blank

* fix migration + add constraint

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* restore backlinks

* fix category show

* fix missing summary in agenda category migration

* fix for_website?

* fix backlinks

* clean education school localizations

* fix category path in blocks

* extract layouts

* blocks

* fix

* trim, lower and unaccent

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* schema :)

* fix

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* fix order

* programs

* fix

* wip

* done

* fix

* fix

* #2131

* Localisation de la recherche (#2172)

* researchers and publications

* laboratories

* axis

* thesis

* journal

* volumes

* home

* papers

* comment

* Paper kind

* fav

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix order

* fix

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* tests

* Localisation des extranets (#2175)

* researchers and publications

* laboratories

* axis

* thesis

* journal

* volumes

* home

* papers

* comment

* Paper kind

* wip

* fav

* wip

* wip

* wip

* routes and controllers

* wip

* wip

* wip

* wip

* routes and controllers

* alumni

* contacts and profile

* xp

* company

* docs

* docs

* working docs

* change library to documents

* fix

* posts

* exports

* block program and posts refactor

* extract layouts

* blocks

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* fix order

* fix

* fix

* fix

* fix

* fix

* done

* fix

* wip

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix

* better

* fix

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix facets

* wip

* fix

* fix

* wip ordered

* harmonisation validates

* last validators

* fixes

* adjust

* wip

* fix

* cool

* working

* new

* clean

* cleanup

* simplify

* involvement scope

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* server fix

* fix

* server fix

* Documentation de l'API avec Swagger et rswag (#2157)

* wip

* temporary fix for rack 3

* wip

* doc

* clean

* auth

* api

* wip

* Update app/controllers/api/osuny/communication/websites/posts_controller.rb

* Update app/controllers/api/osuny/communication/websites/posts_controller.rb

* Update config/initializers/rswag_ui.rb

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Fix margin

* fix

* fix server languages

* fix to_s_in in server

* fix research migration

* remove for_language_id

* fix

* Fix

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix language

* fix exporters

* fix sync

* biography text

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* bring back post legacy text

* localized tree

* refactored

* lighter

* fix dependencies in education + statics

* school static

* annotate

* fix

* fix

* fix show

* Fix #2203

* bundle

* I18n filters (#2206)

* WIP filters

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* websites

* filters for communication

* remove for apps

* end filters

* missing files

* wip

* html

* set kaminari to 36

* wip

* done

* fix extranet form

* fix extranets

* fix website server

* fix website server

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
Co-authored-by: Arnaud Levy <contact@arnaudlevy.com>

* Menu pour chaque formation (#2186)

* nice

* fix

* Update app/views/admin/education/programs/show.html.erb

* fixes

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* i18n: importers (#2207)

* add language to imports

* set language on import creation

* add language to importers init (except organizations)

* move hash_to_orga in separate file and add language to init

* set default language to import

* wip organizations

* import orga: search by siren/nic, siren, name in lang or name in other lang before init

* no need for arguments

* import person

* import experience

* fix import url in notif mail

* fix picture in people list

* style

* no tmp_original

* fix

* fix

* clean

* adjust extranets

* Update app/controllers/admin/education/programs/categories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/models/communication/website/page/localization.rb

* Update app/views/admin/education/programs/categories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* clean

* about.about => l10n.about

* bundle

* clean

* fixes

* bundle lock

* fix

* bring back template changes

* remove original_id from program categories

* Update app/assets/javascripts/admin/commons/content_editor/offcanvas.js

* Update app/assets/javascripts/admin/commons/content_editor/offcanvas.js

* i18n

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: pabois <pierreandre.boissinot@noesya.coop>
SebouChu added a commit that referenced this pull request Oct 11, 2024
* rename current_website_language as current_language

* adjust websites

* add hint to prevent disconnect used language

* nice

* creation of person

* people categories

* orga multilingues

* switchers

* widgets

* post authors & blocks for people and orgas

* wip

* i18n for schools

* wip schools

* remove unused i18n for journal children

* connexions

* connexions between i18n models

* migration

* wip

* reversible

* fix

* volumes

* english

* remove categories

* consistency

* consistency

* dry

* wip connexions integrity

* translatable_collection_tree

* schema

* wip connected relations translated

* correct translate for programs & locations

* rename old current_language as current_interface_language

* wip

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* wip nettoyage

* add translatable to roles

* involvements i18n

* routes & languages switch

* fix

* fix admin_root

* wip

* wip

* wip

* css

* profile

* menus

* wip people

* fix

* wip form

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip form

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* language_id

* to_s_in

* adjust form

* localization widget

* wip orga

* orgas

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* remove legacy

* Fix missing loca

* bundle

* post

* fix

* fix

* sync orga localizations

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* wip posts

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* post localization website

* fix

* wip form

* fix

* fix

* fix

* show + form posts

* ordered with language

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* localize in

* wip posts localizations static

* refactor

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix migration

* wip

* better

* wip post categories

* bundle

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* bundle

* wip

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* loca people

* fix

* localize person categories

* orgas categories localization

* l10n

* wip backlinks

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* migrate blocks target job

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* clean deprecated methods

* block form wip

* fix author

* localizations person facets

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* doc

* bundle

* block language mismatch fixed

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* wip

* gemfile

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* websites confirm localization

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* libretranslate

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* statics

* names

* wip static facets

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip page localizations

* wip pages localizations

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip permalink

* best_localization_for in permalink/author

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* pages localizations

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* wip menu

* todo

* menu items

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* menu items

* adding dependent destroy + try(:sync_with_git) on destroy

* fix static

* fix config permalinks

* fix git path relative on special pages

* replace permalinkable by association on non-localization models

* make localization respond to websites if about does

* add todo on block template statics, handle orga + person for now

* wip snippet posts

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* fix legacy

* facets references and deps

* publish

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* experiences

* commentaire

* fix admin static person facets

* fix person search, lang not needed

* fix indirect object sync

* handle draftable

* redirect if not localized on special pages

* fix facets static + permalinks

* remove byebug

* fix snippets orga and people

* fix design static

* clean

* clean PR 2123

* better

* fix

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Localisation de l'agenda (#2123)

* events

* symetry

* linebreaks

* Update app/views/admin/communication/websites/agenda/events/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/views/admin/communication/websites/agenda/events/new.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* layout

* categories

* fix

* fix

* fix published_in? on non-publishable l10ns

* parent category

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* special page path

* permalink changes in other pr

* fix

* fixtures

* at least fixtures are ok

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* block event

* Simplification des permalinks (#2135)

* wip

* back to oneline

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* I18n portfolio (#2142)

* wip migrations and models (should adapt base models)

* models portfolio

* portfolio projects

* portfolio categories

* permalink mapping

* fix

* fix

* website id on project localization

* fix

* fix

* fix video snippet

* snippets

* snippet person

* Update forms.sass

* fix (#2143)

* fix (#2146)

* migrate menu items about (#2137)

Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* change data migrations

* mel ok

* nav

* fix

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* i18n education (#2166)

* diplomas

* diplomas done

* programs

* layout

* refacto

* school wip

* schools

* involvements

* wip

* clean

* fixes

* layout

* wip

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* add comment

* migrate diploma_id in programs

* diploma tmp original

* tmp original

* break program form

* involvements

* teacher involvements

* program involvements

* schools roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program roles

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program role

* I18n administration (#2170)

* alumni

* locations

* form

* fix

* alumni

* I18n direct object blocks (#2167)

* fix page preview + block pages

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

* add tmp_original in scopes for blocks page, post, event

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy <arnaud.levy@noesya.coop>

* locations

* form

* qualiopi

* qualiopi

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* localize experiences

* migration fixes

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* wip

* fix

* website::loc: fallback des infos de la loca avec website quand blank

* fix migration + add constraint

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* restore backlinks

* fix category show

* fix missing summary in agenda category migration

* fix for_website?

* fix backlinks

* clean education school localizations

* fix category path in blocks

* fix

* trim, lower and unaccent

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* schema :)

* fix

* Localisation de la recherche (#2172)

* researchers and publications

* laboratories

* axis

* thesis

* journal

* volumes

* home

* papers

* comment

* Paper kind

* fav

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix order

* fix

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* Localisation des extranets (#2175)

* researchers and publications

* laboratories

* axis

* thesis

* journal

* volumes

* home

* papers

* comment

* Paper kind

* wip

* fav

* wip

* wip

* wip

* routes and controllers

* wip

* wip

* wip

* wip

* routes and controllers

* alumni

* contacts and profile

* xp

* company

* docs

* docs

* working docs

* change library to documents

* fix

* posts

* exports

* block program and posts refactor

* extract layouts

* blocks

* mapping

* comment

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* Update app/controllers/admin/research/laboratories_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* paper authors

* Update app/views/admin/research/journals/papers/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/controllers/admin/research/researchers_controller.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/communication/websites/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/laboratories/static.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/publications/_form.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/laboratory/axis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/services/migrations/l10n/research/thesis.rb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/show.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* Update app/views/admin/research/theses/_list.html.erb

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>

* fix

* fix

* fix

* fix order

* fix

* fix

* fix

* fix

* fix

* done

* fix

* wip

* wip

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix

* better

* fix

Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

---------

Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: Pierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* fix

* fix facets

* fix

* fix

* wip ordered

* harmonisation validates

* last validators

* fixes

* adjust

* fix

* wip

* fix

* fix

* clean

* clean

* fix merge

* lock

* some fixes and some fixes which n'ont rien à voir

* ordered

* space

* fix papers and volumes reference in static files

* relative_path in volume like paper

---------

Co-authored-by: pabois <pierreandre.boissinot@noesya.coop>
Co-authored-by: Sébastien Gaya <sebastien.gaya@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant