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

Désambiguation des scopes de publication #2221

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

arnaudlevy
Copy link
Member

No description provided.

@arnaudlevy arnaudlevy merged commit a1ccac6 into i18n_step_2 Sep 28, 2024
2 checks passed
@arnaudlevy arnaudlevy deleted the disambiguate-published branch September 28, 2024 09:52
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>
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