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

Feature/mage 725 - category versioning #1434

Open
wants to merge 52 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
416df01
Merge pull request #1393 from algolia/release/3.11.0-beta
mohitalgolia Aug 4, 2023
ac7bd8e
Merge pull request #1413 from algolia/develop
mohitalgolia Sep 26, 2023
c8c9f33
Merge pull request #1415 from algolia/develop
mohitalgolia Sep 26, 2023
fc882c0
Set arbitrary limit to override default for hierarchicalMenu to preve…
cammonro Oct 4, 2023
dd89eb8
INTEG-707 Simplify application of root category
cammonro Oct 13, 2023
3476bde
MAGE-773
cammonro Oct 16, 2023
3ade12f
MAGE-773 Remove hard coded separator
cammonro Oct 16, 2023
ec758f9
MAGE-725 Add new db schema for category change tracking
cammonro Oct 17, 2023
10a3781
MAGE-725 Fix data types
cammonro Oct 17, 2023
2ee3793
MAGE-725 Add foreign key relationships
cammonro Oct 17, 2023
fd5d298
MAGE-725 Add repository to block
cammonro Oct 19, 2023
4562614
MAGE-725 Tweak database schema
cammonro Oct 19, 2023
e60f0c2
MAGE-725 Add interfaces
cammonro Oct 19, 2023
1744b0d
MAGE-725 Add concrete model classes for category versions
cammonro Oct 19, 2023
bcbeb81
MAGE-725 Add category version repository base implementation
cammonro Oct 19, 2023
afdd504
MAGE-725 Stub out attribute interface
cammonro Oct 19, 2023
786c2ca
MAGE-725 Fix typo in interface return type
cammonro Oct 19, 2023
a657bfb
MAGE-725 Define preferences for category version interfaces
cammonro Oct 19, 2023
556458b
MAGE-725 Add category version attribute preference
cammonro Oct 19, 2023
f2d4ae5
MAGE-725 Stub out extension attribute and plugin for retrieval
cammonro Oct 19, 2023
ebe1777
MAGE-725 Add feature flag for category version tracking
cammonro Oct 19, 2023
5262407
MAGE-725 Simplify change check logic
cammonro Oct 30, 2023
5028da5
MAGE-725 Stub category version logger
cammonro Oct 30, 2023
3017f15
MAGE-725 Get applicable stores for log
cammonro Oct 31, 2023
a4f12f0
MAGE-725 Add logic to not log change for overridden category
cammonro Oct 31, 2023
f8994a7
MAGE-725 Add version interface attributes
cammonro Oct 31, 2023
4f48d64
MAGE-725 Save version to change log
cammonro Oct 31, 2023
e1416e3
MAGE-725 Declare exceptions
cammonro Oct 31, 2023
29b19d0
MAGE-725 Refactor to log previous category hierarchy by store scope
cammonro Oct 31, 2023
2c6739b
MAGE-725 Add support to category version repo for SearchCriteria
cammonro Oct 31, 2023
68bf8e9
MAGE-725 deduplicate change log insert
cammonro Oct 31, 2023
2d791e8
MAGE-725 Add logger to afterSave plugin
cammonro Oct 31, 2023
625d4e8
MAGE-725 Update modified timestamp
cammonro Oct 31, 2023
97ac211
MAGE-725 Reformat code
cammonro Oct 31, 2023
bb6d9a4
MAGE-725 Fix hierarchy path bug
cammonro Oct 31, 2023
2950225
MAGE-725 Add category move plugin
cammonro Oct 31, 2023
26e2d2d
MAGE-725 Introduce discrete move logging method due to alternate stor…
cammonro Oct 31, 2023
e9f7e04
MAGE-725 Relocate constants for API layer
cammonro Oct 31, 2023
8174850
MAGE-725 Remove path monitoring from save plugin (it never changes in…
cammonro Oct 31, 2023
2abeccf
MAGE-725 Adopt core Magento naming convention for field constants
cammonro Oct 31, 2023
3b500f0
MAGE-725 Bug fix for save operations from multiple admin tabs (catego…
cammonro Oct 31, 2023
917d1d9
MAGE-791 Add alt registry for current category
cammonro Oct 31, 2023
25a0051
MAGE-791 Load current category via new custom registry
cammonro Oct 31, 2023
b2f9592
Merge branch 'develop' into feature/MAGE-725
cammonro Oct 31, 2023
dc03078
Merge branch 'feature/MAGE-791' into feature/MAGE-725
cammonro Oct 31, 2023
3a119e3
MAGE-725 Add state to category version extension attribute
cammonro Oct 31, 2023
a687f26
MAGE-725 Implement boolean check for available version plus search cr…
cammonro Oct 31, 2023
ad9e401
MAGE-725 Add alternate search filter extraction logic
cammonro Oct 31, 2023
9f10484
MAGE-725 Add multi filter support to InstantSearch based on category …
cammonro Nov 1, 2023
3e4c88a
MAGE-725 Fix dedupe logic on category version logging
cammonro Nov 1, 2023
5f1d8af
MAGE-725 Adjust path building to pull correct scope for parent catego…
cammonro Nov 1, 2023
9fa3970
MAGE-725 Ensure proper array casting in JS
cammonro Nov 1, 2023
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
Prev Previous commit
Next Next commit
Merge branch 'develop' into feature/MAGE-725
# Conflicts resolved:
#	Model/Indexer/CategoryObserver.php
  • Loading branch information
cammonro committed Oct 31, 2023
commit b2f9592dcc68a1fac0c104c72bd78d1d52a9b08c
8 changes: 7 additions & 1 deletion Model/Indexer/CategoryObserver.php
Original file line number Diff line number Diff line change
@@ -68,8 +68,14 @@ public function afterSave(
CategoryResourceModel $categoryResource,
CategoryResourceModel $result,
CategoryModel $category
)
)
{
if (!$this->configHelper->getApplicationID()
|| !$this->configHelper->getAPIKey()
|| !$this->configHelper->getSearchOnlyAPIKey()) {
return $result;
}

$storeId = $this->storeManager->getStore()->getId();

$categoryResource->addCommitCallback(function () use ($category, $storeId) {
You are viewing a condensed version of this merge commit. You can view the full changes here.