-
Notifications
You must be signed in to change notification settings - Fork 4
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
tech(pdf): replace wkhtmltopdf (no longer maintained) with grover #2619
Open
Holist
wants to merge
65
commits into
staging
Choose a base branch
from
replace_wkhtmltopdf
base: staging
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
3bea6fe
tech(pdf): replace wkhtmltopdf (no longer maintained) with grover
Holist 38e763b
fix eslint angry
Holist b425d5b
fix ci
Holist 9d155e1
fixing and finalize
Holist dccb2b6
adapt test helper for Grover
Holist 8722729
rollback on ci changes
Holist 6843947
fixing CI
Holist d6a4c5e
fixing CI
Holist 222ca7e
fixing direction names
Holist d5a4f15
merging staging
Holist 1747ca8
installing Chrome in CI
Holist 8bcaedf
Merge branch 'staging' into replace_wkhtmltopdf
Holist 43dca32
fix css mistake
Holist 3f56738
update pupeteer
Holist dac889f
fix new rules
Holist aeae175
apply review suggestions
Holist 66db684
merging staging
Holist b6c0b8a
fixing fragment
Holist 3e6c90c
testing without chrome install
Holist 3700532
fix linter
Holist cc13fe7
adapt css alignment
Holist ea32b0f
qrcode a lil bigger
Holist af56f9d
comment
Holist 472e804
Merge branch 'staging' into replace_wkhtmltopdf
Holist ab1150c
fix ci tests
Holist 9262090
Merge branch 'replace_wkhtmltopdf' of github.com:betagouv/rdv-inserti…
Holist 73095a1
fix ci tests
Holist 959374b
fix ci tests
Holist 79acd11
fix ci tests
Holist 5bac0a2
fix ci tests
Holist f49aed9
fix ci tests
Holist 4029760
fix ci tests
Holist 1516d34
rollback on ci changes
Holist f05ed88
test CI
Holist 5c0aa4c
test CI again
Holist 41bd459
scalingo config for puppeter
Holist 1bba223
install Chrome in package.json script
Holist 3b3e324
Merge branch 'staging' into replace_wkhtmltopdf
Holist fa1534e
trying with specified path
Holist 3bd03f6
remove node_modules from slugignore
Holist 326a046
config file for puppeteer
Holist ba00e9c
trying to make this work
Holist 1fda48a
install chrome in aptfile
Holist 7ac8110
test ignoring node_modules/puppeteer
Holist a2371db
test exception in slugignore2
Holist 623325a
test exception in slugignore again
Holist 745479f
update puppeteer and rollback on slugignore file
Holist 1ba124b
remove husky
Holist e8711e8
rollback on changes and remove slugignore
Holist ab303b4
fix buildpack
Holist c854c97
fix buildpack
Holist c07d8fb
fix buildpack
Holist 26c2c5a
Updated Yarn lockfile
Holist 6a9bf06
fix buildpack
Holist ab2e1ca
fix buildpack
Holist 96a69ef
rollback on slugignore
Holist 5dbd724
rollback on slugignore
Holist b7edd44
slugignore
Holist f698755
specific folder for puppeteer module
Holist 4ffdee9
remove node_modules from slugignore
Holist efb4fcf
try again
Holist 38f4d88
without apt
Holist fc245cd
working config on scalingo
Holist aa552eb
remove useless folder in gitignore
Holist 04293b6
use external puppeteer service, remove grover
Holist File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,29 @@ | ||
<div> | ||
<div class="header-left-col"> | ||
<div class="header"> | ||
<div class="header-left"> | ||
<div class="header-logo"> | ||
<%= image_tag(organisation.logo.attached? ? organisation.logo.url : department.logo.url) %> | ||
</div> | ||
</div> | ||
<div class="header-right"> | ||
<div> | ||
<div class="header-logo"> | ||
<%= image_tag(organisation.logo.attached? ? organisation.logo.url : department.logo.url) %> | ||
</div> | ||
<p><%= sender_city || department.capital %>, le <%= Date.today.strftime('%d/%m/%Y') %></p> | ||
<br/> | ||
<p>À l'attention de</p> | ||
<br/><br/> | ||
</div> | ||
<% if direction_names.blank? %> | ||
<p><%= organisation.name.upcase %></p> | ||
<% else %> | ||
<% direction_names.each do |direction_name| %> | ||
<p><%= direction_name.upcase %></p> | ||
<% end %> | ||
<% end %> | ||
</div> | ||
<div class="header-right-col"> | ||
<p><%= sender_city || department.capital %>, le <%= Date.today.strftime('%d/%m/%Y') %></p> | ||
<br/> | ||
<p>À l'attention de</p> | ||
<br/><br/><br/> | ||
<div class="user-address"> | ||
<p><%= user.title.upcase %> <%= user.first_name.upcase %> <%= user.last_name.upcase %><br/> | ||
<%= simple_format(user.parsed_street_address.upcase, {}, wrapper_tag: "span") %><br/> | ||
<%= user.parsed_post_code_and_city.upcase %></p> | ||
</div> | ||
</div> | ||
<div class="direction-names"> | ||
<% if direction_names.blank? %> | ||
<p><%= organisation.name.upcase %></p> | ||
<% else %> | ||
<% direction_names.each do |direction_name| %> | ||
<p><%= direction_name.upcase %></p> | ||
<% end %> | ||
<% end %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cette méthode n'était pas utilisée