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

WIP La bascule #3164

Merged
merged 147 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from 141 commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
d42ec61
Modification navbar + nom
Sep 5, 2023
2dfcafe
Service public page and extended navbar
Sep 5, 2023
6f868d0
Test footer
Sep 5, 2023
8bee8d6
sign in page and lint
Sep 6, 2023
63d0737
Add http authentication
Sep 11, 2023
a5395dd
MaJ Company mailers
Sep 12, 2023
003822f
Fix some tests
Sep 12, 2023
5546b01
Improve footers
Sep 12, 2023
51df219
Remove further pde mentions
Sep 12, 2023
9b71835
Remove unused links / improve typo
Sep 13, 2023
94265d1
Try to fix tests
Sep 13, 2023
2c61c20
lint
Sep 13, 2023
5668bbc
MaJ sequence mail conseiller - a completer
Sep 14, 2023
f097719
Remove admin weekly stats email
Sep 26, 2023
95a42c0
Modification navbar + nom
Sep 5, 2023
c82dd81
Service public page and extended navbar
Sep 5, 2023
fc4d598
Test footer
Sep 5, 2023
dd09035
sign in page and lint
Sep 6, 2023
89ee258
Improve footers
Sep 12, 2023
33a68d7
Remove unused links / improve typo
Sep 13, 2023
da66e67
Try to fix tests
Sep 13, 2023
02c463e
lint
Sep 13, 2023
5cdf7c9
fix tests
LucienMLD Sep 25, 2023
257509a
Use params for expert emails
Sep 26, 2023
2f0a590
Begin tests fix
Sep 27, 2023
e85db30
Fix lint
Sep 28, 2023
e9f262a
Change comment_ca_marche testimonies
Sep 29, 2023
8f876b3
Mise à jour témoignages
Sep 29, 2023
b5a5c8b
Adaptation de la dénomination 1
Sep 29, 2023
474ee59
Prototype MJML fonctionnel
Oct 2, 2023
8265c3d
Update first_notification to mjml
Oct 3, 2023
9e01172
debug tests
Oct 3, 2023
60836dc
Update remainig expert mailer views to mjml
Oct 3, 2023
cf4562e
Email text version improvement
Oct 3, 2023
1e37b3b
Update user mails to mjml
Oct 4, 2023
947debe
Update devise mails to mjml
Oct 4, 2023
9ec1eac
Optimize render time mjml
Oct 9, 2023
85cef59
Fix some tests
Oct 10, 2023
0e70477
Fix tests and lint
Oct 11, 2023
92458d6
change migrations for review app
Oct 11, 2023
6cd5386
Change translation + migrations for review app
Oct 11, 2023
0a2c29a
migration for review app
Oct 11, 2023
8c16992
Retouche mails conseillers
Oct 12, 2023
f21e653
lint
Oct 12, 2023
4813a26
Update mailers
Oct 12, 2023
9c2c1c0
Update company mailer layout and terms
Oct 16, 2023
b2503a7
Add favicon
Oct 16, 2023
fef585d
Fix solicitation footer
Oct 16, 2023
ac6a2f0
Suite clean denomination
Oct 17, 2023
e1ded97
Merge remote-tracking branch 'origin' into version-sp
Nov 10, 2023
02e2792
Fix a11y test
Nov 13, 2023
4b548eb
Merge remote-tracking branch 'origin' into version-sp
Nov 22, 2023
df5c89c
Update texts
Nov 22, 2023
c283f9e
MaJ contenu
Nov 24, 2023
8f6b36c
Ease authentication desactivation
Nov 24, 2023
d0b1f70
Merge remote-tracking branch 'origin' into version-sp
Dec 15, 2023
067782d
Fix lint and tests
Dec 18, 2023
5a99e2c
debug tests
Dec 18, 2023
f3efbc0
Fix tests
Dec 18, 2023
5a44b16
Merge remote-tracking branch 'origin' into version-sp
Dec 19, 2023
7634457
Update footer and remove tutoriel unconnected
Dec 19, 2023
06e0174
Fix tests - fix link titles
Dec 19, 2023
5807037
Fix again
Dec 19, 2023
e1c7ec7
tryin to fix, again
Dec 19, 2023
c41c290
Merge branch 'main' into version-sp
clairezed Jan 24, 2024
7379bb6
remove unused local
clairezed Jan 24, 2024
e78854b
Merge branch 'main' into version-sp
clairezed Feb 8, 2024
9f5243b
Fix tests
clairezed Feb 9, 2024
eb93d45
Merge branch 'main' into version-sp
clairezed Apr 2, 2024
43afc50
Fix mention information
clairezed Apr 2, 2024
bb9d823
Fix lint & test
clairezed Apr 3, 2024
51a7ced
Weird accessibility bug
clairezed Apr 3, 2024
de46b42
fixes typos
LucienMLD Apr 8, 2024
eb1d5d6
fixes typos
LucienMLD Apr 8, 2024
aec5fcc
Update MJML rails to get rid of google fonts
clairezed Apr 9, 2024
943a9ea
First typo corrections
clairezed Apr 10, 2024
a7014da
Lint and fix tests
clairezed Apr 10, 2024
e9d6b4e
Updates
clairezed Apr 10, 2024
9c74e27
Merge branch 'main' into version-sp
clairezed Apr 10, 2024
bbaa8c0
Suppression newsletter
clairezed Apr 10, 2024
7b2be5e
Mises à jour pages publiques
clairezed Apr 10, 2024
9a29eec
Improve sitemap, user menu
clairezed Apr 11, 2024
c021a50
MaJ navbar connecté
clairezed Apr 12, 2024
e1de4fe
Fix tests
clairezed Apr 15, 2024
078e419
Fix fix fix again
clairezed Apr 15, 2024
25f3c4d
update tuto page
LucienMLD Apr 16, 2024
1da33e3
Display better stats count
clairezed Apr 16, 2024
af5bf03
MaJ mails
clairezed Apr 16, 2024
10980a8
Retouches page tutoriels
clairezed Apr 16, 2024
06c4dd9
Merge branch 'main' into version-sp
LucienMLD Apr 17, 2024
1111ef7
add margin for pages
LucienMLD Apr 17, 2024
dc0af36
scroll to thanks message
LucienMLD Apr 17, 2024
d0701eb
improve bouton for small mobile
LucienMLD Apr 17, 2024
63748af
Ajustements accessibilité
clairezed Apr 17, 2024
3482950
fix scroll to message
LucienMLD Apr 17, 2024
7c5b062
Lint
clairezed Apr 17, 2024
57a29b2
update company mailers to mjml
LucienMLD Apr 18, 2024
687ad34
update solicitations mailers to mjml
LucienMLD Apr 18, 2024
2e4b6e0
fix tests
LucienMLD Apr 22, 2024
052d438
MaJ email retention
clairezed Apr 22, 2024
17e9523
fix annuaire antennes region filter
LucienMLD Mar 20, 2024
30dabdb
improve antennes view
LucienMLD Mar 25, 2024
5dd876b
institutions search
LucienMLD Mar 20, 2024
1ac2d82
rename params
LucienMLD Mar 26, 2024
85fce78
adds subject and theme search
LucienMLD Mar 26, 2024
a4242a2
splits form in tabs
LucienMLD Mar 26, 2024
c16b8f7
two forms visibles
LucienMLD Mar 26, 2024
eb3eb4a
improve form
LucienMLD Mar 27, 2024
6289e32
update search form for users
LucienMLD Mar 27, 2024
2862821
improve institutions search
LucienMLD Mar 27, 2024
f16f121
improve search and user view
LucienMLD Mar 28, 2024
8906f8e
test and linter
LucienMLD Mar 28, 2024
14d7602
improvements and missing
LucienMLD Mar 28, 2024
2d3947b
improvements for load filters options
LucienMLD Mar 28, 2024
eba1002
fix test
LucienMLD Mar 28, 2024
31f9f15
change scope in_region by by_region
LucienMLD Mar 28, 2024
73dedf8
Fix institutions region filter
clairezed Apr 2, 2024
b57c983
Fix users filtering ?
clairezed Apr 2, 2024
1b47981
retrieves only region institutions
LucienMLD Apr 9, 2024
9384e4b
linter
LucienMLD Apr 9, 2024
de58d70
uses persist search controller
LucienMLD Apr 10, 2024
ece4fdc
displays message when no results
LucienMLD Apr 10, 2024
e6cb972
linter
LucienMLD Apr 10, 2024
035c23e
improvements
LucienMLD Apr 10, 2024
956b849
linter
LucienMLD Apr 10, 2024
a61c38d
Update config/locales/views.fr.yml
LucienMLD Apr 16, 2024
202e0bb
improvements
LucienMLD Apr 16, 2024
9f709a4
improvements
LucienMLD Apr 17, 2024
360f78e
update key cache for collection count
LucienMLD Apr 18, 2024
9e4adcf
prevent nil id for antenne
LucienMLD Apr 18, 2024
23bfb52
Modal v1
clairezed Apr 23, 2024
141abb4
Fix lint
clairezed Apr 23, 2024
d553158
Minor typo
clairezed Apr 25, 2024
91a1cd0
Set Timeout for modal auto display
clairezed Apr 25, 2024
c5af589
Persist bascule_seen info and add bascule ENV VAR
clairezed Apr 25, 2024
57a86a2
remove blank space before footer
LucienMLD Apr 25, 2024
dbf2173
orange lighter
LucienMLD Apr 25, 2024
46eeccb
style improvements
LucienMLD Apr 25, 2024
945ea41
add migration to update admin emails
LucienMLD Apr 25, 2024
061db84
add migration to update admin emails
LucienMLD Apr 25, 2024
611fc3a
Debug
clairezed Apr 26, 2024
0b7bf5c
Rollback orange for rgaa issue
clairezed Apr 26, 2024
4782be2
Merge branch 'main' into version-sp
clairezed Apr 26, 2024
1bc416c
Micro modifs
clairezed Apr 29, 2024
7bffb05
Merge branch 'refs/heads/main' into version-sp
LucienMLD Apr 29, 2024
6eea201
fix merge with national referents
LucienMLD Apr 29, 2024
e7a1af5
Merge branch 'main' into version-sp
clairezed Apr 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
clairezed marked this conversation as resolved.
Show resolved Hide resolved
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)
clairezed marked this conversation as resolved.
Show resolved Hide resolved

## 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).
clairezed marked this conversation as resolved.
Show resolved Hide resolved

* [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