Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
17c933c
Add coupon service
Dec 1, 2025
67b2ade
Merge develop into EK-965
Dec 3, 2025
144a00c
fix syntax
Dec 8, 2025
8fcce88
Add partial for connect loyalty account button
nika-piotrowska Dec 10, 2025
41712f1
Add loyalty connect form
nika-piotrowska Dec 12, 2025
00f4651
Improve login code method
nika-piotrowska Dec 16, 2025
6079f4f
Merge branch 'develop' into EK-680
nika-piotrowska Dec 16, 2025
ab5cf7e
Add test for phone parser service
nika-piotrowska Dec 16, 2025
36a21f0
Update gemfile
nika-piotrowska Dec 16, 2025
c10707b
Add store private metadata service to app
nika-piotrowska Dec 16, 2025
a014cdb
Add profile controller decorator spec
nika-piotrowska Dec 16, 2025
c1b0f5c
Add GetCoupons service and related elements, refactor controllers nam…
Dec 17, 2025
81bd6d3
Merge branch 'develop' into EK-965
Dec 17, 2025
f9a47ea
Rubocop corrections
Dec 17, 2025
f0ab80a
Delete app/services/spl/.DS_Store
Dec 17, 2025
73bfd0a
Add test for send otp service and send request service
nika-piotrowska Dec 17, 2025
179df5b
Add translations, little refactoring
Dec 18, 2025
f68d16c
Replace spree.t with i18n.t
Dec 18, 2025
27c7155
Add connect loyalty account method
nika-piotrowska Dec 18, 2025
a28131d
Add error translator to handle errors comes from spl
nika-piotrowska Dec 18, 2025
5e11548
Improve of nesting profile controller decorator
nika-piotrowska Dec 19, 2025
7038b48
Add translations
nika-piotrowska Dec 19, 2025
113945d
Add tests troughout the app
nika-piotrowska Dec 19, 2025
56c8359
Fix rubocop offenses
nika-piotrowska Dec 19, 2025
d80159e
part 1
Dec 19, 2025
248505e
Changes after review
nika-piotrowska Dec 19, 2025
e87cf7e
Add translations, checks for logged in user
Dec 29, 2025
de7622a
EK-683 Rejestracja konta loyalty przez nr telefonu
vitaliicherednichenko Dec 30, 2025
0beeed5
EK-683 Add tests
vitaliicherednichenko Dec 30, 2025
a7d6b41
small refactor, activate coupon mechanism
Dec 30, 2025
dae543e
Add coupon deactivation, refactor
Dec 31, 2025
0d96df7
Rubocop offences
Dec 31, 2025
4770969
Fix rubocop offenses
nika-piotrowska Jan 4, 2026
0ac9ddd
Merge branch 'develop' into EK-683
vitaliicherednichenko Jan 5, 2026
2e2c180
EK-683 Update after merge and services params
vitaliicherednichenko Jan 5, 2026
240cf5d
EK-683 Remove phone from user public_metadata
vitaliicherednichenko Jan 7, 2026
77f7b62
Merge branch 'develop' into EK-680
nika-piotrowska Jan 7, 2026
f798f68
Fix rubocop offenses
nika-piotrowska Jan 7, 2026
5472e70
Merge pull request #25 from cloudsailor/EK-680
nika-piotrowska Jan 7, 2026
72c8aee
Merge branch 'EK-685' into EK-683
vitaliicherednichenko Jan 7, 2026
2586e0c
Merge develop into EK-964
Jan 7, 2026
7fc0e8d
EK-683 Remove ProfileControllerDecorator methods and xits
vitaliicherednichenko Jan 7, 2026
0320346
Refactor + unit tests
Jan 7, 2026
7fa24cf
rubocop offences
Jan 7, 2026
67a0a58
Merge develop into EK-965
Jan 7, 2026
315ce5c
rubocop offences
Jan 7, 2026
9088410
Merge branch 'develop' into EK-685
nika-piotrowska Jan 8, 2026
f87b46f
EK-683 Fix translations
vitaliicherednichenko Jan 8, 2026
c39a599
Refactor, fix datetime parsing bug
Jan 12, 2026
9a50ad0
Merge branch 'develop' into EK-964
Jan 12, 2026
25151d9
EK-683 Remove msg from register_response_body for pl translations
vitaliicherednichenko Jan 13, 2026
9d990bd
[EK-680] Fix pl translations
nika-piotrowska Jan 15, 2026
b7dd316
[EK-680] Fix uptade user method in profile controller decorator
nika-piotrowska Jan 15, 2026
cc32a43
Merge branch 'EK-685' into EK-965
Jan 16, 2026
0cf6b9d
rubocop
Jan 16, 2026
e4111c5
Add translations
Jan 16, 2026
1bf9c33
Merge ek-685 into ek-964
Jan 16, 2026
ac8eb2e
Merge pull request #24 from cloudsailor/EK-965
nika-piotrowska Jan 16, 2026
f90eac4
Merge branch 'EK-685' into EK-683
vitaliicherednichenko Jan 19, 2026
14cde14
Create ProfileControllerHelper, fix handle_spl_error, rebase JS
vitaliicherednichenko Jan 19, 2026
9780e9f
Add token refreshing mechanism and safety clauses for expired token
Jan 19, 2026
b09072e
rubocop offences
Jan 19, 2026
cd52b34
rubocop offences
Jan 19, 2026
e0976e0
EK-683 Add Generators::InstallGenerator for JS
vitaliicherednichenko Jan 19, 2026
37bfdea
EK-683 Add check if file exist to InstallGenerator
vitaliicherednichenko Jan 20, 2026
6790893
Fix tests
Jan 20, 2026
064cb94
rubocop
Jan 20, 2026
e4a1069
EK-683 Change spree_current_user to try_spree_current_user
vitaliicherednichenko Jan 21, 2026
1528881
Bump spree version to ~>5.2, fulfill missing locales
Jan 21, 2026
88f7d72
Merge EK-685 into EK-964
Jan 21, 2026
2a34be9
rubocop offences
Jan 21, 2026
a7b7066
Refactor, fix bug with wrong invoke of refresh token action
Jan 21, 2026
c767750
Add refactor comment, remove unused helper usage
Jan 26, 2026
a5011fc
Merge branch 'develop' into EK-685
nika-piotrowska Jan 27, 2026
09d7f3a
Merge branch 'EK-685' into EK-683
nika-piotrowska Jan 27, 2026
e7dbf92
Merge pull request #26 from cloudsailor/EK-683
nika-piotrowska Jan 27, 2026
cc5720a
Merge EK-685 into EK-964
Jan 27, 2026
a48769d
update gemfile.lock
Jan 27, 2026
69e3938
regenerate rubocop
Jan 27, 2026
a25b8fb
Merge pull request #27 from cloudsailor/EK-964
nika-piotrowska Jan 27, 2026
945edd5
Remove redundant methods from profile controller decorator
nika-piotrowska Jan 27, 2026
047b829
EK-685 Fix RegisterAccountService update user
vitaliicherednichenko Jan 27, 2026
38730fa
Improve error handling helper
nika-piotrowska Jan 27, 2026
d4627f3
Improve message when response error code != 0
nika-piotrowska Jan 27, 2026
ac0b0d1
Merge branch 'develop' into EK-685
pkatek Feb 3, 2026
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
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ Style/Documentation:
Metrics/ParameterLists:
Max: 8

Lint/MissingSuper:
Exclude:
- app/services/**/*

Metrics/BlockLength:
Exclude:
- spec/**/*
Expand Down
62 changes: 54 additions & 8 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,44 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2026-01-20 23:38:03 UTC using RuboCop version 1.81.7.
# on 2026-01-27 12:23:34 UTC using RuboCop version 1.84.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Lint/RedundantCopDisableDirective:
Exclude:
- 'app/jobs/update_sparta_state_job.rb'
- 'app/services/spl/sparta_loyalty_service.rb'

# Offense count: 3
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 18

# Offense count: 2
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 8

# Offense count: 13
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 11
Max: 14

# Offense count: 1
# Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods, WaywardPredicates.
# AllowedMethods: call
# WaywardPredicates: nonzero?
Naming/PredicateMethod:
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 156

# Offense count: 2
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
Exclude:
- 'app/services/assign_sparta_card_number_service.rb'
- 'app/services/spl/error_payload_parser.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Expand All @@ -39,16 +60,41 @@ Rails/SkipsModelValidations:
- 'app/models/spree/adjustable/adjustments_updater_decorator.rb'
- 'app/services/remove_sparta_discount_service.rb'

# Offense count: 1
# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
Rails/StrongParametersExpect:
Exclude:
- 'app/controllers/spl/spree/storefront/profile_controller_decorator.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: exists, where
Rails/WhereExists:
Exclude:
- 'app/services/assign_sparta_card_number_service.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
Style/GuardClause:
Exclude:
- 'app/controllers/spl/spree/admin/payments_controller_decorator.rb'
- 'app/controllers/spl/spree/storefront/checkout_controller_decorator.rb'

# Offense count: 8
# This cop supports safe autocorrection (--autocorrect).
Style/IfUnlessModifier:
Exclude:
- 'app/controllers/spl/spree/admin/payments_controller_decorator.rb'
- 'app/controllers/spl/spree/storefront/checkout_controller_decorator.rb'
- 'app/models/spree/promotion/rules/user_from_club.rb'
- 'app/services/assign_sparta_card_number_service.rb'
- 'app/services/spl/validate_card_service.rb'

# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
# URISchemes: http, https
Layout/LineLength:
Max: 181
Loading