-
Notifications
You must be signed in to change notification settings - Fork 10
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
After freeze into main #741
Merged
Merged
Conversation
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
* PES-1994: Added a new searchbox to be able to filter carriers in the carrier settings. * PES-1994: Added a constant for the carrier filter and added a translation for the searchbox. * PES-1994: Adjusted the visuals of the carrier settings page. * PES-1994: Renamed the constant and applied changes withing a code, also renamed some other translations as well. * PES-1994: Renamed the placeholder for the search box. --------- Co-authored-by: David Belka <david.belka@yahoo.co.uk>
* PES-2043: Added a new 'Advanced' tab in settings for WC carrier settings switch and made some changes to the styling across the settings tabs * PES-2050: rebase fix --------- Co-authored-by: David Belka <david.belka@yahoo.co.uk>
…ort (#553) Co-authored-by: FJiskra <filip.jiskra@packeta.com>
… not saved in the database. (#554) Co-authored-by: David Belka <david.belka@yahoo.co.uk>
Co-authored-by: FJiskra <filip.jiskra@packeta.com>
…or unhandled situations (#543) Co-authored-by: packeta <57401091+packeta@users.noreply.github.com>
* PES-2243: example tests (#589) * PES-2243: working WIP * PES-2243: factories refactored * PES-2243: data provider without logic * PES-2243: tests refactoring * PES-2243: static MockFactory, parameter renamed * PES-2243: codestyle fix * PES-2260: Edit carrier settings that shows all types of dispensing points (#597) * PES-2260: Edit carrier settings that shows all types of dispensing points * fixup! PES-2260: Edit carrier settings that shows all types of dispensing points * fixup! PES-2260: Edit carrier settings that shows all types of dispensing points * fixup! PES-2260: Edit carrier settings that shows all types of dispensing points * fixup! PES-2260: Edit carrier settings that shows all types of dispensing points * fixup! PES-2260: Edit carrier settings that shows all types of dispensing points * fixup! PES-2260: Edit carrier settings that shows all types of dispensing points * fixup! PES-2260: translation key word order --------- Co-authored-by: Jan Potužník <jan.potuznik@gmail.com> * PES-2254: split activation message logic update (#595) * PES-2254: split activation message logic update * PES-2254: transient adapter * PES-2254: FeatureFlagManagerTest added * PES-2254: tests bootstrap update * PES-2254: isLastDownloadValid method introduced * PES-2254: automatic cache resetting * PES-2225: multiple COD payment methods (#596) * PES-2225: multiple COD payment methods * PES-2225: multiple COD payment methods - isCodPaymentMethod * PES-2225: multiple COD payment methods - strict params * PES-2225: multiple COD payment methods --------- Co-authored-by: FJiskra <filip.jiskra@packeta.com> Co-authored-by: packeta <57401091+packeta@users.noreply.github.com> * PES-2263: tests fix (#598) * PES-2228: block widget hd (#599) * PES-2228: HD widget for blocks * PES-2228: closing widget without choosing fix * PES-2228: address rewrite at backend * PES-2228: optional validation behavior update * PES-2228: fillRateAttrValues extracted * PES-2268: useView introduced (#601) * PES-2227: widget options logging (#603) * PES-2269: address replacement fix (#602) * PES-2269: better setters used * PES-2269: fix of billing_only address bug in block checkout * PES-2269: woocommerce_store_api_checkout_order_processed instead of woocommerce_store_api_checkout_update_order_meta --------- Co-authored-by: Adam Karpita <adamkarpita@gmail.com> Co-authored-by: FJiskra <filip.jiskra@gmail.com> Co-authored-by: FJiskra <filip.jiskra@packeta.com> Co-authored-by: packeta <57401091+packeta@users.noreply.github.com>
* PES-2231: generated shipment methods for carriers * PES-2231: carrier feed v5, filter out split carriers * PES-2231: older WC fix * PES-2231: add only usable shipping methods * PES-2231: nette/php-generator version upgrade * PES-2231: order saving fix * PES-2231: better Packeta method detection * PES-2231: skip car delivery loading if disabled * PES-2231: tests fixed after rebase * PES-2231: ShippingProviderTest * PES-2280: filter shipping methods at shipping zone detail * PES-2280: framework adapters extended * PES-2280: better shipping method description * PES-2280: activity checkbox returned, offer only active carriers when adding to shipping zone * PES-2280: sort added shipping methods * PES-2283: show only carriers with generated class in settings * PES-2234: better parameter name * PES-2234: clearer variable handling * PES-2234: updated phpdoc
…es within the code. (#634)
* PES-2296: phpcs check ValidVariableName sniff * PES-2296: phpcs fix ValidVariableName sniff * PES-2296: phpcs fix phpcs ValidVariableName sniff * fix * PES-2296: fix review comments * PES-2348: reverted breaking changes * PES-2348: code style updated --------- Co-authored-by: Oldřich Šálek <oldrich.salek@packeta.com> Co-authored-by: Jan Potužník <jan.potuznik@gmail.com>
* PES-2238: Added modal popup and basics for extending a shipment stored until date * PES-2238: Added extending a shipment stored until date into metabox * PES-2277: Add sorting dates on order list * PES-2277: Add sending stored until date to packetery api and synchronizing with packet status * fixup! PES-2277: Add sending stored until date to packetery api and synchronizing with packet status * fixup! PES-2238: Added modal popup and basics for extending a shipment stored until date * fixup! PES-2238: Added modal popup and basics for extending a shipment stored until date * fixup! PES-2238: Added modal popup and basics for extending a shipment stored until date * fixup! PES-2277: Add sending stored until date to packetery api and synchronizing with packet status * fixup! PES-2238: Added modal popup and basics for extending a shipment stored until date * fixup! PES-2277: Add sending stored until date to packetery api and synchronizing with packet status * fixup! fixup! PES-2277: Add sending stored until date to packetery api and synchronizing with packet status * fixup! fixup! PES-2238: Added modal popup and basics for extending a shipment stored until date * fixup! PES-2277: minor doc changes * fixup! PES-2277: PHP 7.2 compatibility * fixup! PES-2277: Change variable naming and shorthand for array * fixup! PES-2238: Add wpAdapter to GridExtender class * fixup! PES-2238: Fix datetime formating - it's same as WooCommerce use for orders * fixup! PES-2277: Rename helper property * fixup! PES-2238: Rename helper property * fixup! PES-2238: Rename helper property * PES-2277: Change indent in latte files * fixup! PES-2277: Rename helper property * fixup! PES-2277: Rename the class used in test * fixup! PES-2277: Refactor test for PacketSetSoterdUntil class * PES-2277: Fix standards after rebase - remove unused statments, fix spacing and phpdocs to be proper * fixup! fixup! PES-2277: These changes can't be in this branch * PES-2347: Fix styling and proper commentaries in phpdocs * PES-2347: Add strict type for parameter in sortable function * PES-2347: Move tested class from setUp to private function * PES-2347: Getting rid of the "named constructor" and using the "classic" * PES-2347: Remove unused variables and clean up StoredUntilModal - unnecessary division into two functions * PES-2347: Move CoreHelper to the Order/PacketSetStoredUntil constructor * PES-2347: Fix PacketSetStoredUntilTest * PES-2347: Fix php 7.2 compatibility and phpDocs * PES-2347: Fix wsdl property after rebase --------- Co-authored-by: Jan Potužník <jan.potuznik@gmail.com> Co-authored-by: Adam Karpita <adam.karpita@packeta.com>
* PES-2347: Fix using a non-existent property after rebase * PES-2347: Fix translation commentary --------- Co-authored-by: Adam Karpita <adam.karpita@packeta.com>
* PES-2323: build-pot command * PES-2323: check:all command * PES-2323: commands renamed * PES-2323: build:pot simplified * PES-2323: updated order of commands
* PES-2321: voluntary comments * PES-2321: alphabetically sorted uses * PES-2321: property spacing * PES-2321: empty line before return * PES-2321: empty line before all jump statements * PES-2321: function spacing unified * PES-2321: namespace spacing unified * PES-2321: constant spacing check * PES-2321: use statements spacing unified * PES-2321: class members spacing unified * PES-2321: rebase fix * PES-2321: ruleset name updated * PES-2321: phpcbf pipeline * PES-2321: phpcbf pipeline update * PES-2321: check:ec fix * fixup! PES-2321: voluntary comments * PES-2321: code style checking in tests * PES-2321: minimum_supported_wp_version update * PES-2321: woocommerce/woocommerce-sniffs update * PES-2321: escaping exceptions not required * PES-2321: linesCountBetweenUseTypes 1 * PES-2321: FunctionSpacing update * PES-2321: rebase fix
…rules (#647) * PES-2325: Move phpstan from its own composer to main composer * PES-2325: Change phpstan bootstrap path in unit tests * PES-2325: Remove composer from phpstan folder, we don't need it anymore * PES-2325: Remove phpstan/vendor from .gitignore, its unnecessary * PES-2325: Change path to woocommerce stubs in phpstan config * PES-2325: Split phpstan configurations so we can check different levels for different folders * PES-2325: Fix phpstan errors in Packetery/Module on level 1 * PES-2325: Fix phpstan errors in Packetery/Module on level 2 * PES-2325: Set level 2 for Packetery/Module directory * PES-2325: Add phpstan/phpstan-strict-rules * PES-2325: Fix phpstan error in Packetery/Core with strict rules * PES-2325: Add phpstan strict rules in config for Packetery/Core and disable for Packetery/Module * PES-2325: Remove phpstan/vendor from .ecrc * PES-2325: PHPStan composer from github action * PES-2325: Update PHPStan newer version * PES-2325: Add phpstan var type for array - For some reason this array without var type causes a performance issue when checking phpstan * PES-2325: Add src/Packetery/Core scan directory * PES-2325: Update .lock * PES-2371: Add latest woocommerce stubs * PES-2371: PHPStan doesnt need to scan deps and bootstrap files for Packetery/Core * PES-2371: More readable code in the isPacketaShippingMethodActive method * PES-2371: Use constant instead string * PES-2371: Shortened if isset notation * PES-2371: Revert the changes to the dashboard widget to avoid unnecessarily altering the logic when it's not needed, while still satisfying PHPStan * PES-2371: Removing unnecessary variable * PES-2371: Nicer formating function setStoredUntil * PES-2371: Use of shorthand if statements instead longer --------- Co-authored-by: Adam Karpita <adam.karpita@packeta.com>
# Conflicts: # src/Packetery/Core/Validator/Order.php # src/Packetery/Module/Api/Internal/OrderController.php # src/Packetery/Module/Framework/WcAdapter.php # src/Packetery/Module/Order/Metabox.php # src/Packetery/Module/Order/Repository.php # src/Packetery/Module/Order/ValidatorTranslations.php # src/Packetery/Module/Plugin.php # tests/Core/Validator/OrderTest.php # tests/Module/Order/PacketSynchronizerTest.php
📊 Code Coverage Report
|
zemekoule
approved these changes
Feb 28, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.