Skip to content
Snippets Groups Projects
Unverified Commit a484f2d9 authored by Arnaud Levy's avatar Arnaud Levy Committed by GitHub
Browse files

Blocs papiers et volumes (#2036)


* 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: default avatarSébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: default avatarPierre-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's avatarArnaud Levy <arnaud.levy@noesya.coop>

* wip form

Co-authored-by: Arnaud Levy's avatarArnaud Levy <arnaud.levy@noesya.coop>
Co-authored-by: default avatarPierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* language_id

* to_s_in

* adjust form

* localization widget

* wip orga

* orgas

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

* remove legacy

* Fix missing loca

* bundle

* post

* fix

* fix

* sync orga localizations

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

* fix

* wip posts

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

* post localization website

* fix

* wip form

* fix

* fix

* fix

* show + form posts

* ordered with language

Co-authored-by: default avatarPierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy's avatarArnaud Levy <arnaud.levy@noesya.coop>

* localize in

* wip posts localizations static

* refactor

* wip

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

* fix migration

* wip

* better

* wip post categories

* bundle

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

* bundle

* wip

* wip

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

* loca people

* fix

* localize person categories

* orgas categories localization

* l10n

* wip backlinks

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

* migrate blocks target job

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

* clean deprecated methods

* block form wip

* fix author

* localizations person facets

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

* doc

* bundle

* block language mismatch fixed

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

* wip

* gemfile

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

* websites confirm localization

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

* libretranslate

Co-authored-by: default avatarPierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy's avatarArnaud Levy <arnaud.levy@noesya.coop>

* statics

* names

* wip static facets

Co-authored-by: default avatarPierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy's avatarArnaud Levy <arnaud.levy@noesya.coop>

* wip page localizations

* wip pages localizations

Co-authored-by: default avatarPierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy's avatarArnaud Levy <arnaud.levy@noesya.coop>

* wip permalink

* best_localization_for in permalink/author

Co-authored-by: Arnaud Levy's avatarArnaud Levy <arnaud.levy@noesya.coop>
Co-authored-by: default avatarPierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* pages localizations

Co-authored-by: default avatarPierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy's avatarArnaud Levy <arnaud.levy@noesya.coop>

* wip menu

* todo

* menu items

Co-authored-by: default avatarPierre-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's avatarArnaud Levy <arnaud.levy@noesya.coop>

* fix legacy

* facets references and deps

* publish

Co-authored-by: default avatarSé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: default avatarSé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: default avatarSébastien Gaya <sebastien.gaya@gmail.com>

* fix

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

Co-authored-by: default avatarSé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's avatarArnaud Levy <arnaud.levy@noesya.coop>

* special page path

* permalink changes in other pr

* fix

* fixtures

* at least fixtures are ok

---------

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

* block event

* Simplification des permalinks (#2135)

* wip

* back to oneline

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

---------

Co-authored-by: default avatarSé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's avatarArnaud 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: default avatarPierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

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

Co-authored-by: default avatarPierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy's avatarArnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: default avatarPierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy's avatarArnaud 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: default avatarSébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: default avatarPierre-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: default avatarPierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* program roles

Co-authored-by: default avatarPierre-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: default avatarPierre-André Boissinot <pierreandre.boissinot@noesya.coop>

* block post

* fix

* block events

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

Co-authored-by: default avatarPierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy's avatarArnaud Levy <arnaud.levy@noesya.coop>

* remove publication from portfolio category localizations

* block projects

* block person

* block organizations

* fix

---------

Co-authored-by: default avatarPierre-André Boissinot <pierreandre.boissinot@noesya.coop>
Co-authored-by: Arnaud Levy's avatarArnaud Levy <arnaud.levy@noesya.coop>

* locations

* form

* qualiopi

* qualiopi

* fix

* fix

---------

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

---------

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

* localize experiences

* migration fixes

Co-authored-by: default avatarPierre-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: default avatarPierre-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: default avatarPierre-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: default avatarSébastien Gaya <sebastien.gaya@gmail.com>

* fix

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

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

* fix

* paper authors

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* fix

* fix

* fix

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

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

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

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

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

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

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

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

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

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

* fix

* fix

* fix order

* fix

* wip

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

* fix

* fix

---------

Co-authored-by: default avatarSébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: default avatarPierre-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: default avatarSébastien Gaya <sebastien.gaya@gmail.com>

* fix

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

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

* fix

* paper authors

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* fix

* fix

* fix

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

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

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

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

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

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

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

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

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

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

* fix

* fix

* fix

* fix order

* fix

* fix

* fix

* fix

* fix

* done

* fix

* wip

* wip

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

* fix

* fix

* better

* fix

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

* fix

---------

Co-authored-by: default avatarSébastien Gaya <sebastien.gaya@gmail.com>
Co-authored-by: default avatarPierre-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: default avatarpabois <pierreandre.boissinot@noesya.coop>
Co-authored-by: default avatarSébastien Gaya <sebastien.gaya@gmail.com>
parent 5687630c
No related branches found
No related tags found
Loading
Showing
with 169 additions and 6 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment