Package: imio.zamqp.pm
ContentsIntroductionChangelog0.18 (2023-10-27)0.17 (2023-09-04)0.16 (2023-02-27)0.15 (2022-06-14)0.14 (2022-01-07)0.13 (2022-01-03)0.12 (2021-11-26)0.11 (2021-11-08)0.10 (2020-05-28)0.9 (2020-04-29)0.8 (2020-03-12)0.7 (2019-05-16)0.6 (2018-12-04)0.5 (2018-01-31)0.4 (2017-12-21)0.3 (2017-12-06)0.2 (2017-11-28)0.1 (2017-11-27)IntroductionProducts.PloneMeeting specific methods to use amqp (collective.zamqp), rely on imio.zamqp.coreChangelog0.18 (2023-10-27)Removedconfig.BARCODE_INSERTED_ATTR_ID, we do not use it anymore to check
if a barcode was inserted, we rely on thescan_id.
[gbastien]0.17 (2023-09-04)Movedcollective.iconifiedcategoryContentCategoryoverrides
back toProducts.PloneMeeting.
[gbastien]Cleaned code:removed event that deleted copied annexes with ascan_id,
now managed byProducts.PloneMeeting;removed setup forscan_idindex, done bycollective.dms.scanbehavior.[gbastien]Take into account new parameterMeetingConfig.annexEditorMayInsertBarcodeinInsertBarcodeView.may_insert_barcode.
[gbastien]0.16 (2023-02-27)Adapted call toimio.zamqp.core.utils.next_scan_idwhere typo in parametercliend_id_varwas fixed toclient_id_var.
[gbastien]0.15 (2022-06-14)Inconsumer._manage_after_scan_change_annex_type_to, set thecontent_categoryon the adapted context (withIIconifiedCategorizationbehavior) so the@content_category.setteris called and default values are adapted accordingly.
[gbastien]0.14 (2022-01-07)Fixed call toToolPloneMeeting.isManager, when called withrealManagers=True, no context can be passed.
[gbastien]0.13 (2022-01-03)UsenotifyModifiedAndReindex(idxs=[‘scan_id’])that will only update relevant
modification data andscan_idafter barcode inserted in PDF file.
[gbastien]0.12 (2021-11-26)Use unrestricted catalog query inAfterScanChangeAnnexTypeToVocabulary.
[gbastien]Optimize ram.cache forToolPloneMeeting.isManagerby calling it with cfg as context.
[gbastien]0.11 (2021-11-08)Fixedtest_store_pod_template_as_annex_temporary_scan_id_batch_actionasMeetingConfig.meetingItemTemplateToStoreAsAnnex(single value) was renamed toMeetingConfig.meetingItemTemplatesToStoreAsAnnex(multi valued).
[gbastien]Fixedtest_may_insert_barcode, now that we use rolesEditor/Reader/ContributorinMeetingItemworkflow.
[gbastien]Fixedtest_store_pod_template_as_annex_temporary_scan_id_batch_actionbroken
because Meeting moved from AT to DX.
[gbastien]Do not use devpi.imio.be index anymore for buildout.
[gbastien]Factorized use ofDEFAULT_SCAN_IDin tests.
[gbastien]0.10 (2020-05-28)Moved all the GS types profile logic toProducts.PloneMeeting,
by default it will behave like ifimio.zamqp.pmwas enabled.
[gbastien]0.9 (2020-04-29)Added test forMeetingStoreItemsPodTemplateAsAnnexBatchActionFormto ensure
thatTemporary QR codelabel is not used in stored annex.
[gbastien]Add aportal_messagewhen an annex is removed during duplication
because it holds ascan_id.
[gbastien]0.8 (2020-03-12)When cloning an item, make sure annexes having ascan_idare not kept.
[gbastien]Added test forget_scan_idthat appends a valueTemporaryif generated
when pod template still not stored as annex.
[gbastien]Fixed tests after changes incollective.iconifiedcategory, do not create an
annex at the portal root, it is an impossible usecase but create annex in an
item stored in a PloneMeeting folder.
[gbastien]0.7 (2019-05-16)Makes IZPMAnnexPrettyLinkAdapter inherits from PMAnnexPrettyLinkAdapter as it
is now overrided in Products.PloneMeeting.
[gbastien]Rely on parameterToolPloneMeeting.enabledScanDocsto know if actioninsert-barcodeis available and to add additional context to the document
generation helper view.
[gbastien]Makescan_idcomputation work when template is used in a loop template.
[gbastien]0.6 (2018-12-04)Fixed tests by using PMLayer as base testing layer and defining correct
OO_PORT and PYTHON_UNO env variables.
[gbastien]0.5 (2018-01-31)Added possibility to save a version of the annex when inserting the barcode
if parameterversion_when_barcode_insertedis set toTrueand when the
scanned file is reinjected if parameterversion_when_scanned_file_reinjectedis set toTruelikewise.
[gbastien]Define relevant behaviors for portal_typeannexDecisionusingpurge=True.
[gbastien]Fixed code asimio.zamqp.core.consumer.file_portal_typewas renamed toimio.zamqp.core.consumer.file_portal_types, it returns a list of
portal_types to query to get the existing file, the first of these
portal_types is used byimio.zamqp.core.consumer.creation_file_portal_typeto determinate portal_type to create.
[gbastien]When updating file, update scan attributes as well :scan_date,scan_user,page_numbers,scanner, …
[gbastien]0.4 (2017-12-21)Use theconsumemethod fromimio.zamqp.coreto consume the message to
avoid duplicating code.
[gbastien]ImportPdfReadErrorfromPyPDF2,imio.helpersuses it instead
deprecatedpyPdf.
[gbastien]0.3 (2017-12-06)In fieldafter_scan_change_annex_type_to, added possibility to select an
item_decision_annex on an item_annex and the other way round. This way the
annex can be turned from an item annex to an item decision annex
after scan process.
[gbastien]Changed default values forXandYcoordinates used by the@@insert-barcodeview so it is inserted in the top right corner by default.
[gbastien]0.2 (2017-11-28)Addedscan_idtoAMQPPMDocumentGenerationView.get_base_generation_context.
[gbastien]0.1 (2017-11-27)Initial release.
[gbastien]Added@@insert-barcodeview.
[gbastien]Make tests rely on PloneMeetingTestCase.
[gbastien]Added possibility to change thecontent_categoryof an annex when it’s
file is updated and make it configurable on theContentCategoryobject thru
theafter_scan_change_annex_type_tofield.
[gbastien]Use helperimio.zamqp.pm.utils.next_scan_id_pmthat callsimio.zamqp.core.utils.next_scan_idto be sure that relevant parameters are
always passed correctly.
[gbastien]