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

Added publication download, for pdf or zip #9

Merged
merged 24 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
fba074a
WIP: listing.organisation
bbrands02 Aug 9, 2024
9c2b518
Back and frontend fixes listing.organisation
bbrands02 Aug 9, 2024
fa9fbaf
small cleanup
bbrands02 Aug 9, 2024
f296e68
Some w.i.p. code for creating a publication pdf file using twig
WilcoLouwerse Aug 9, 2024
352cd8f
Remove console log
bbrands02 Aug 12, 2024
68b61e2
Merge remote-tracking branch 'origin/feature/DIMOC-218/listing-organi…
WilcoLouwerse Aug 12, 2024
64b103d
w.i.p. for publication pdf download
WilcoLouwerse Aug 12, 2024
2f715e8
DIMOC-93 fix get publication attachments if publication does not exist
WilcoLouwerse Aug 12, 2024
8ae2428
Show publications catalogi & metadata as json objects instead of id
WilcoLouwerse Aug 12, 2024
df9f3c4
Some small fixes and only fix getPublicationAttachments front-end
WilcoLouwerse Aug 12, 2024
ce4add4
Also set publication->schema to match publication->metaData
WilcoLouwerse Aug 12, 2024
56d0818
Fix for all put Publications, include catalogi & metadata id in body
WilcoLouwerse Aug 12, 2024
6a66e00
Merge branch 'development' into feature/DIMOC-178/publication-download
WilcoLouwerse Aug 13, 2024
9f72b52
Added publication download endpoint with working pdf or zip download
WilcoLouwerse Aug 13, 2024
f932d95
Add all publication metadata to the pdf twig template
WilcoLouwerse Aug 13, 2024
23e6cd5
Some translation fixes
WilcoLouwerse Aug 13, 2024
30859dd
Started doing some code cleanup
WilcoLouwerse Aug 13, 2024
170ddd5
Some more code cleanup for publication download code
WilcoLouwerse Aug 14, 2024
419a572
Merge branch 'development' into feature/DIMOC-178/publication-download
WilcoLouwerse Aug 14, 2024
1261425
Make sure to pass along id to getPublicationAttachments
WilcoLouwerse Aug 14, 2024
b3141d8
Small final cleanup
WilcoLouwerse Aug 14, 2024
47b1d62
Publication list fix
remko48 Aug 14, 2024
c83a51b
fixed 404 call on add publicationdata
remko48 Aug 14, 2024
aeb1f73
Lint fixes
remko48 Aug 14, 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
1 change: 1 addition & 0 deletions appinfo/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
['name' => 'metadata#page', 'url' => '/metadata', 'verb' => 'GET'],
['name' => 'publications#page', 'url' => '/publications', 'verb' => 'GET'],
['name' => 'publications#attachments', 'url' => '/api/publications/{id}/attachments', 'verb' => 'GET', 'requirements' => ['id' => '.+']],
['name' => 'publications#download', 'url' => '/api/publications/{id}/download', 'verb' => 'GET', 'requirements' => ['id' => '.+']],
['name' => 'catalogi#page', 'url' => '/catalogi', 'verb' => 'GET'],
['name' => 'search#index', 'url' => '/search', 'verb' => 'GET'],
['name' => 'search#index', 'url' => '/api/search', 'verb' => 'GET'],
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,13 @@
},
"require": {
"php": "^8.1",
"ext-zip": "*",
rjzondervan marked this conversation as resolved.
Show resolved Hide resolved
"adbario/php-dot-notation": "^3.3.0",
"bamarni/composer-bin-plugin": "^1.8",
"elasticsearch/elasticsearch": "^v8.14.0",
"adbario/php-dot-notation": "^3.3.0",
rjzondervan marked this conversation as resolved.
Show resolved Hide resolved
"guzzlehttp/guzzle": "^7.0",
"mpdf/mpdf": "^8.2",
"symfony/twig-bundle": "^6.4",
"symfony/uid": "^6.4"
},
"require-dev": {
Expand Down
Loading
Loading