Project
- Changed Redis image for GitLabCI from Redis 3.2 to Redis 6.2. remp/crm#2197
- Added
intl.error_level
configuration directive into config.neon
to throw error when UserDateHelper
fails. remp/crm#2191
- We are not forcing it in ApplicationModule. This is PHP setting and should be decided by developer. Added also to Skeleton.
- Added sniff to verify that
app/modules
are still PSR-4 compliant. remp/crm#2228
- Added also
extensions
but most of them are not PSR-4 compliant yet. We will fix this gradually.
- Allowed
dealerdirect/phpcodesniffer-composer-installer
composer plugin (needed by Slevomat PHP_CodeSniffer). remp/crm#2235
- Added script to compare autoloaded classmap with backup created before PSR-4 changes. remp/crm#2228
- Added script to rename directories to come closer to PSR-4. Namespaces not touched yet. remp/crm#2228
AdminModule
- Added
flatpickr_mindate
option to flatpickr configuration to set minimal date selectable in flatpickr. remp/crm#2096
- Use on form element:
->setAttribute('flatpickr_mindate', "today")
.
- Changed behavior of admin locale switcher. It no longer stores language information to session, but sets the locale directly to the user account. remp/crm#2240
- Fixed UI language select box in Admin and removed clear sign. remp/crm#2141
- Fixed audit log sorting in case there are multiple records at the same second. remp/crm#2198
- Added configurable options to require secure login for admin roles. remp/crm#2091
ApiModule
- Added table and repository responsible for storing metadata related to API tokens. remp/crm#2223
- Fixed filename of class
RedirectResponse
. Namespace without change. remp/crm#2228
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
- Added user interface to manage meta related to API tokens. remp/crm#2233
AppleAppstoreModule
- Added deleting purchase or subscription metadata if account was anonymised. remp/crm#2154
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
ApplicationModule
- Added
ResettableInterface
for any kind of services that can be reset during application run. remp/crm#2193
- Reset is primarily intended for tests so that managers can be reinitialized after each test.
- Improved configs autoload and caching to avoid repetitive queries to DB. remp/crm#2202
- Cached configs are now simplified and use less space.
- Non-autoloaded configs are now only requested once and kept in memory for further use.
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
- Added
Repository::ensure()
method to be used in the long-running commands which might get their DB connection disconnected and cause failures. remp2020/crm-application-module#7
- Added hungarian translations. remp/crm#2255
CouponModule
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
DashboardModule
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
FamilyModule
- Added internal payment meta key to store number of child subscriptions. remp/crm#2194
- This is intended to be used only for past payments that were not created correctly via admin and their payment items had the count of “1”.
GiftsModule
- BREAKING: Disabled automatic email after the gift purchase. remp/crm#2199
- See README for information how to enable it back or what to use instead.
- Added option for admins to edit unactivated gift subscriptions (before the email is sent to target user). remp/crm#2096
- Fixed displaying subscription type
(subscription_type.name)
of gifted subscription instead of gift
(subscription_type.type
). remp/crm#2096
- Added
OrderDonatedSubscriptionInfo
widget showing payment gift coupons details. remp/crm#2140
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
GooglePlayBillingModule
- Added deleting purchase or subscription metadata if account was anonymised. remp/crm#2154
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
GopayModule
- Added
Gopay::GATEWAY_CODE
and GopayRecurrent::GATEWAY_CODE
constants to reference the gateways in other modules. remp/crm#2189
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
InvoicesModule
- Added
ProformaInvoice::GATEWAY_CODE
constant to reference the gateway in other modules. remp/crm#2189
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
- Fixed generating the invoice number even when invoice cannot be generated due the missing address for invoice. remp/crm#2259
- Added hungarian translations. remp/crm#2255
- Fixed possibility to download receipts (not invoices) in CRM admin. remp/helpdesk#1073
IssuesModule
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
OnboardingModule
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
PaymentsModule
- Added
GATEWAY_CODE
constants to the gateways which didn’t already have it to reference the gateways in other modules. remp/crm#2189
- Added “Has payment item type” criteria to be used in scenarios. remp/crm#2199
- Added index for
sales_funnel_id
, status
, amount
columns in payments
table to speed up queries in SalesFunnelsAdmin:default
view. remp/crm#2167
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
- Added index to
recurrent_payments.state
column to speed up requests to retrieve chargeable payments. remp2020/crm-payments-module#17
- Added hungarian translations. remp/crm#2255
- Fixed inconsistency in notifications sending in the case of payment’s status change to refunded. remp/crm#2227
PrintModule
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
- Added hungarian translations. remp/crm#2255
ProductsModule
- BREAKING: Changed the way of ordering checkout payment methods. Now payments’ methods are displayed in the same order as they are registered in the configuration. remp/crm#2231
- IMPORTANT: Edited the validation rule of phone number - minimal length should be at least 9 characters. remp/helpdesk#977
- Added
SimpleWidget
placeholder to default
and show
views of OrderAdmin
. remp/crm#2140
- Added configurable shop title option to the CRM admin settings. remp/crm#2157
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
- Added hungarian translations. remp/crm#2255
RempCampaignModule
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
SalesFunnelModule
- BREAKING: Removed
backLink
parameter from the funnel Twig template.
- The parameter was already obsolete. Get the current URL directly in your JS part of the funnel.
- Moved sales funnel stats from
SalesFunnelsAdmin:show
view to SalesFunnelsAdmin:stats
view. remp/crm#2167
- Please review your ACL settings and add access to the newly separated stats page.
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
- Added hungarian translations. remp/crm#2255
ScenariosModule
- ** BREAKING**: Changed statistics data model - migration removes stored data from
scenarios_element_stats
and scenarios_trigger_stats
tables. remp/crm#1047
- Scenario builder interface now shows stats directly in the diagram, summarized for last day and month.
- Api calls
/v1/scenarios/element
and /v1/scenarios/trigger
have been deleted and replaced by /v1/scenarios/stats
.
- Added commands responsible for the data aggregation
scenarios:aggregate_stat (recommended running every hour) and removal of old data
scenarios:remove_stats` (recommended running daily).
- Added migration to rename triggers event code
user_created
to user_registered
to match renamed hermes event. remp/crm#2060
- Added
before_recurrent_payment_charge
before event trigger to trigger events before first recurrent payment charge attempt. remp/crm#2152
- Added index into
scenarios_jobs
table to speed up stats API endpoint and add new version of scenario builder interface with progress indicator showing during the loading of statistics. remp/crm#1047
- Fixed issue with more outputs from AB test node. remp/crm#2208
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
SegmentModule
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
SlspSporopayModule
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
StripeModule
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
SubscriptionsModule
- BREAKING - Added possibility to register specific subscription’s type for
SubscriptionsRepository
and moved module specific types into related modules. remp/crm#2224
- Please check the usage of deleted constants from
SubscriptionsRepository
and replace them with modules’ constants.
- To add new subscription type use method
SubscriptionsRepository::registerType()
in the module configuration.
- If you used
gift
type either install the gifts module or register type in your configuration with registerType()
method.
- If you used
upgrade
type either install the gifts module or register type in your configuration with registerType()
method.
- If you used
special
type register it in your configuration with registerType()
method.
- Removed attempt to read
homepage_url
config on :Subscriptions:Subscriptions:new
. No such config is ever seeded. remp/crm#2203
- Moved subscription type stats from
SubscriptionTypesAdmin:show
view to SubscriptionTypesAdmin:stats
view. remp/crm#2167
- Please review your ACL settings and add access to the newly separated stats page.
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
- Added hungarian translations. remp/crm#2255
UpgradesModule
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
UsersModule
- BREAKING: Changed
UsersRepository::add()
function signature. remp/crm#2060
- Removed
firstName
, lastName
and address
arguments as they’re not mandatory anymore and AddressRepository
/ UserMetaRepository
should preferably be used to store these fields. If you want to store them in users
table, update the $user
row right after the add()
method.
- Added
preregistration
argument to support new user pregeristration flow.
- If you use
UsersRepository::add()
in your own modules, please revise the usage to reflect the changes.
- BREAKING: Changed
UserCreatedEvent
event to UserRegisteredEvent
. Old UserCreatedEvent
extends new UserRegisteredEvent
so custom implementations dependent on UserCreatedEvent
should work for now. UserCreatedEvent
event is deprecated and will be removed in the future. remp/crm#2060
- If you emit or listen to
UserCreatedEvent
, change it to UserRegisteredEvent
.
- This change intends to create room for user to be created, but not officially registered - intended for unclaimed users and other backend-only users. Unless you work with backend-only flows,
UserRegisteredEvent
is the one that you want to use onwards. This event is complemented with NewUserEvent
. Read their PhpDocs if you want to know more.
- Any scenarios using
user_created
trigger will automatically be migrated to user_registered
trigger.
- BREAKING: Renamed
user-created
hermes event to user-registered
to maintain consistency with the previous changes. remp/crm#2060
- If you emit or listen to the
user-created
hermes event, update it to the new user-registered
hermes event.
- Added option to
/api/v1/users/create
API endpoint to create unclaimed user. remp/crm#2060
- Added login attempts tracking to the
/api/v1/users/email
(UsersEmailHandler) to include the API in the rate-limiter coverage. remp/crm#1779
- Added widget into User administration to manage user connected accounts. remp/crm#2158
- Added confirmation dialog into reset password hyperlink in user settings. remp/#crm2168
- Added support for user-specific locales. remp/crm#2187
- Column
locale
added to users
table. Column is non-null and is filled with default locale during migration.
- Scenario criteria
LocaleCriteria
added.
- Added
UserDataLocaleResolver
, supporting switching locales based on user-specific locale.
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
- Added hungarian translations. remp/crm#2255
VubEplatbyModule
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228
WordpressModule
- Fixed directory names to follow PSR-4 standard. Namespaces weren’t changed (no breaking change). remp/crm#2228