Skip to content

Commit

Permalink
Merge pull request #3164 from betagouv/version-sp
Browse files Browse the repository at this point in the history
WIP La bascule
  • Loading branch information
clairezed authored Apr 30, 2024
2 parents 37ae70e + e7a1af5 commit 4f926f3
Show file tree
Hide file tree
Showing 273 changed files with 3,839 additions and 2,384 deletions.
9 changes: 6 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ HOST_NAME=localhost
PORT=3000
RACK_ENV=development

APPLICATION_ENV_NAME=Place des Entreprises
APPLICATION_EMAIL=contact@place-des-entreprises.beta.gouv.fr
APPLICATION_ENV_NAME="Conseillers Entreprises"
APPLICATION_EMAIL=contact@conseillers-entreprises.service-public.fr
APPLICATION_MARKETING_EMAIL=contact@at.entreprises.service-public.fr

BLOG_URL=https://actu-aides.place-des-entreprises.beta.gouv.fr
BLOG_URL=https://actu-aides.conseillers-entreprises.service-public.fr

PUMA_WORKERS=1
PUMA_WORKER_THREADS=1
Expand Down Expand Up @@ -54,3 +54,6 @@ OVH_ACCESS_KEY_ID=
OVH_SECRET_KEY_ID=
OVH_BUCKET=
OVH_ENDPOINT=

SP_LOGIN=
SP_PASSWORD=
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*.rbc
capybara-*.html
.rspec
.vscode

/public/system
/coverage/
Expand Down
2 changes: 2 additions & 0 deletions .haml-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ linters:
ConsecutiveSilentScripts:
enabled: true
max_consecutive: 5
ViewLength:
exclude: 'app/views/application/_navbar.html.haml'
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.associations": {
"*.mjml": "erb"
}
}
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ gem 'caxlsx'
gem 'caxlsx_rails'
gem 'split', require: 'split/dashboard'
gem 'matrix'
gem 'mjml-rails'

# Notifiers
gem "sentry-ruby"
Expand Down Expand Up @@ -129,7 +130,6 @@ group :development do
gem 'web-console'
gem 'annotate'
gem 'letter_opener_web'
gem 'rails_real_favicon'
gem 'bullet'
gem 'squasher'

Expand Down
7 changes: 2 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ GEM
method_source (1.0.0)
mini_mime (1.1.5)
minitest (5.22.3)
mjml-rails (4.11.0)
msgpack (1.7.2)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
Expand Down Expand Up @@ -448,10 +449,6 @@ GEM
actionview (> 3.1)
activesupport (> 3.1)
railties (> 3.1)
rails_real_favicon (0.1.1)
json (>= 1.7, < 3)
rails
rubyzip (~> 2)
railties (7.0.8.1)
actionpack (= 7.0.8.1)
activesupport (= 7.0.8.1)
Expand Down Expand Up @@ -736,6 +733,7 @@ DEPENDENCIES
listen
matrix
metamagic
mjml-rails
parallel_tests
pg
pg_search
Expand All @@ -748,7 +746,6 @@ DEPENDENCIES
rails-erd
rails-i18n
rails_autolink
rails_real_favicon
recipient_interceptor
redis (~> 4.0)
rorvswild
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Conseillers-entreprises.service-public.fr

[![CircleCI](https://dl.circleci.com/status-badge/img/gh/betagouv/place-des-entreprises/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/betagouv/place-des-entreprises/tree/main) [![Maintainability](https://api.codeclimate.com/v1/badges/12cdf35ab56d27c64046/maintainability)](https://codeclimate.com/github/betagouv/place-des-entreprises/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/12cdf35ab56d27c64046/test_coverage)](https://codeclimate.com/github/betagouv/place-des-entreprises/test_coverage)

# <img src="doc/picto-PDE.svg" width="50"> Place des Entreprises

_[Une startup d’État de beta.gouv](https://beta.gouv.fr/startups/place-des-entreprises)._

Le service public Place des Entreprises permet à l’État, aux Régions volontaires et à l’ensemble des organismes publics et parapublics de développer leur rôle de conseil auprès des TPE & PME. [Comment ça marche ?](https://place-des-entreprises.beta.gouv.fr/comment_ca_marche)
Le service public Conseillers-Entreprises permet à l’État, aux Régions volontaires et à l’ensemble des organismes publics et parapublics de développer leur rôle de conseil auprès des TPE & PME. [Comment ça marche ?](https://conseillers-entreprises.service-public.fr/comment_ca_marche)

## Documentation

Place des Entreprises est une application web écrite en ruby et utilisant le framework Ruby on Rails, avec une base de données PostgreSQL. Le développement (code source, issues et pull requests) est organisé sur github. Place des Entreprises est déployé sur `place-des-entreprises.beta.gouv.fr` chez Scalingo, hébergé par Outscale.
Conseillers-Entreprises est une application web écrite en ruby et utilisant le framework Ruby on Rails, avec une base de données PostgreSQL. Le développement (code source, issues et pull requests) est organisé sur github. Conseillers-Entreprises est déployé sur `www.conseillers-entreprises.service-public.fr` chez Scalingo, hébergé par Outscale.

Le développement logiciel de Place des Entreprises est réalisé de façon ouverte et transparente. Le code source est publié sous [la licence libre AGPL](LICENSE.AGPL.txt).
Le développement logiciel du service Conseillers-Entreprises est réalisé de façon ouverte et transparente. Le code source est publié sous [la licence libre AGPL](LICENSE.AGPL.txt).

* [Setup (en)](doc/01-setup.md)
* [Development (en)](doc/02-development.md)
Expand Down
4 changes: 2 additions & 2 deletions app/admin/email_retentions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
div I18n.t('mailers.company_mailer.intelligent_retention.and_you').html_safe
div link_to email_retention.first_subject_label, new_solicitation_url(Landing.accueil, Landing.accueil.landing_subjects.joins(:subject).find_by(subject: email_retention.first_subject))
div link_to email_retention.second_subject_label, new_solicitation_url(Landing.accueil, Landing.accueil.landing_subjects.joins(:subject).find_by(subject: email_retention.second_subject))
div I18n.t('mailers.company_mailer.intelligent_retention.why_this_message').html_safe
div I18n.t('mailers.company_mailer.intelligent_retention.explanation_html').html_safe
div I18n.t('mailers.company_mailer.why_this_message_html').html_safe
div I18n.t('mailers.company_mailer.explanation_html').html_safe
end
end

Expand Down
Binary file added app/assets/images/encart-bascule.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/favicon/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions app/assets/images/favicon/browserconfig.xml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="<%= asset_path 'favicon/mstile-150x150.png' %>"/>
<TileColor>#da532c</TileColor>
<square150x150logo src="<%= asset_path 'favicon/mstile-192x192.png' %>"/>
<TileColor>#ffffff</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file removed app/assets/images/favicon/favicon-16x16.png
Binary file not shown.
Binary file removed app/assets/images/favicon/favicon-32x32.png
Binary file not shown.
Binary file modified app/assets/images/favicon/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions app/assets/images/favicon/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/favicon/mstile-150x150.png
Binary file not shown.
Binary file added app/assets/images/favicon/mstile-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions app/assets/images/favicon/site.webmanifest.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"sizes": "192x192",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
{
"src": "<%= asset_path 'favicon/android-chrome-512x512.png' %>",
"sizes": "512x512",
"type": "image/png"
}
]
}
Loading

0 comments on commit 4f926f3

Please sign in to comment.