Commit Graph
2683 Commits
Author SHA1 Message Date
Andrii KulminskyiandAdam Saghy 56ee2eaaff FINERACT-1806: Advanced Charge-off Expense Accounting - "Advanced Accounting Rule" takes priority 2024-12-04 17:43:51 +01:00
adam.magyariandArnold Gálovics 5c08afec5f FINERACT-1926: Additional indices to investor tables 2024-12-03 16:02:58 +01:00
Adam Saghy f63df474f6 FINERACT-2154: Store "Pre-close interest calculation strategy" on loan level 2024-11-29 21:39:08 +01:00
Jose Alberto HernandezandAdam Saghy 8d12bc04e9 FINERACT-2081: Retrieving Loan Product details with invalid external-id results in 500 error 2024-11-29 19:36:20 +01:00
Marta JankovicsandAdam Saghy d57e72ec2f FINERACT-2060: Accrual reverse replay logic and Handling 2024-11-29 19:17:23 +01:00
Jose Alberto HernandezandAdam Saghy 8d25b0c765 FINERACT-1981: Reverse Interest Refund transaction not allowed directly with 403 error 2024-11-29 12:28:37 +01:00
adam.magyariandAdam Saghy ff5e993b16 FINERACT-2148: return loan charge off behaviour with loan details 2024-11-29 12:24:23 +01:00
Janos MeszarosandAdam Saghy 4cb849fa17 FINERACT-1981: Introduce Interest should not be calculated on past due principal amount 2024-11-29 11:59:18 +01:00
Soma SörösandAdam Saghy f5d9a3a025 FINERACT-1981: Update Payable Interest Calculation For LoanSummaryData 2024-11-28 13:14:45 +01:00
leksinomiandAdam Saghy 32cc83fdbf FINERACT-2153: Enable immediate charge accrual creation post maturity 2024-11-27 17:49:42 +01:00
Jose Alberto HernandezandAdam Saghy 1ef9c0f4bb FINERACT-1981: Reverse Interest Refund transaction not allowed directly 2024-11-27 17:43:08 +01:00
Adam MonsenandAdam Saghy 4956bdd574 FINERACT-2149: disable liquibase phone home
At some point, Liquibase added an analytics/telemetry "phone home" to gather user data.

I get how companies and FOSS projects greatly benefit from knowing more about their users, but I think this should only be done with proper consent. I would not assume/expect any libraries to send analytics home. The default behavior of trackers like these should always be to *not* phone home without a user first consenting / opting in.

---

I'm not sure this is the right change, but it works (feedback welcome). My naïve test/check to know this works is visually inspecting the output of the log message I added in TenantDatabaseUpgradeService to see if `liquibase.analytics.enabled` is set, and to what. I'm happy to automate this, but it seemed unnecessary (again, feedback welcome).

We could also disable the phone home with an environment variable ( LIQUIBASE_ANALYTICS_ENABLED=false , see https://docs.liquibase.com/analytics/home.html ). I'm not sure where that should be set if we did. Likely several places (for build/dev/test/ci/qa/etc.).

I originally noticed the phone home because I block requests from my computer to 3rd party tracking/analytics services, and I was getting this error in my console:

    java.net.ConnectException: Connection refused at liquibase.analytics.LiquibaseAnalyticsListener

At first I misunderstood this as a database connection error, but it was really just liquibase throwing an error because it couldn't connect to its own analytics server.

If we were to create a configurable property, I think the ideal place to set the value would be in fineract-provider/src/main/resources/application.properties, (default to false, allow override) but our version of spring boot doesn't support it yet ( see https://github.com/spring-projects/spring-boot/issues/43067 ) so we'd have to add the usual scaffolding required for a Fineract setting. I'm not sure we want/need that, because I can't imagine anyone *wanting* to set the flag to `true`, and my naïve hardcoded global change is less code to maintain than providing a configurable setting. If there's demand to make it configurable later, we could of course do that (especially once it becomes easier to do so). I feel like how we let Liquibase behave is up to us, though. An under the hood / upstream decision we get to make.

See also:

* https://lists.apache.org/thread/5s7zjsxdcqk1qvjnc1wbhqqv66shpl54
* Analytics is enabled by default in OSS version · Issue #6503 · liquibase/liquibase · GitHub https://github.com/liquibase/liquibase/issues/6503
* Add a method for Spring Boot to configure the new analytics feature · Issue #6501 · liquibase/liquibase · GitHub https://github.com/liquibase/liquibase/issues/6501
2024-11-27 17:13:23 +01:00
Andrii KulminskyiandAdam Saghy bfae135b54 FINERACT-1806: fetch loan product details must return the chargeoffreason mapping 2024-11-27 15:37:38 +01:00
adam.magyariandAdam Saghy 479e71cdad FINERACT-2148: loan charge off behaviour configuration 2024-11-27 11:31:05 +01:00
Jose Alberto HernandezandAdam Saghy 240a6dffc8 FINERACT-2081: Enable inline COB execution for locked loans 2024-11-27 10:09:49 +01:00
Adam Saghy 2e89c40e6e FINERACT-2081: Refactor GL account balance calculation 2024-11-26 18:06:09 +01:00
Adam Saghy ccfb8c3c9c FINERACT-2081: Add "Interest Refund" transaction into r_enum_value table 2024-11-26 13:58:05 +01:00
adam.magyariandArnold Gálovics dcb18d8f5e FINERACT-2081: async liquibase 2024-11-25 16:22:55 +01:00
adam.magyariandAdam Saghy 4e3bcbf970 FINERACT-2150: disbursement not allowed on charged-off loan 2024-11-25 15:13:23 +01:00
Adam Saghy 0c7ef324b9 FINERACT-2070: COB business step order 2024-11-24 17:30:32 +01:00
Janos MeszarosandAdam Saghy 34b165aa0e FINERACT-1981: Fix interest refund transaction with zero amount 2024-11-22 17:11:15 +01:00
Andrii KulminskyiandAdam Saghy 4ccb33a95e FINERACT-2113: Advanced Charge-off Expense Accounting - Add new "Advanced Accounting Rule" 2024-11-21 17:18:06 +01:00
adam.magyariandArnold Gálovics 425085f4eb FINERACT-2081: External event sending make mark as sent async 2024-11-20 20:17:01 +01:00
Adam MonsenandArnold Gálovics bb18aadb74 FINERACT-2147: fix extra swagger UI endpoint paths
I noticed an extra `v1/` while visiting https://localhost:8443/fineract-provider/swagger-ui/index.html

All fineract-provider (unit) tests passed.

I also manually tested out hitting a few /api/v1/ endpoints via the Swagger UI web page at the URL above and those worked as well.
2024-11-19 16:54:58 +01:00
adam.magyariandAdam Saghy 6e86ac853a FINERACT-2081: External event sending enhance findBy query 2024-11-18 15:01:24 +01:00
Oleksii NovikovandAdam Saghy 628f27bf32 FINERACT-1806: Add charge-off reasons to loan product response 2024-11-14 15:10:42 +01:00
Soma SörösandAdam Saghy 6286d1f821 FINERACT-2107: Interest Refund - Transaction Amount Recalculation 2024-11-14 09:59:08 +01:00
leksinomiandAdam Saghy 7408f10cb6 FINERACT-2107: Adjust event trigger on refund reversion 2024-11-13 11:45:38 +01:00
Adam Saghy 39da68820b FINERACT-2081: Fix inconsistent transaction processing order 2024-11-11 12:32:21 +01:00
leksinomiandArnold Gálovics 832b84f574 FINERACT-2081: Update password policy 2024-11-11 10:29:36 +01:00
Adam Saghy 492ec44cef FINERACT-1981: Prepayment calculation 2024-11-06 15:04:17 +01:00
Jose Alberto HernandezandAdam Saghy 474623b6e3 FINERACT-2081: Fix WholeTerm loan frequency saved on account level 2024-11-06 09:48:09 +01:00
Soma SörösandAdam Saghy 174f4178b7 FINERACT-2107: Interest Refund - Multiple Partial Repayment 2024-11-04 13:06:34 +01:00
Wilfred KigenyiandArnold Gálovics d202145a88 rectify query for cashier-teller transactions 2024-10-31 08:59:22 +01:00
Marta JankovicsandAdam Saghy 9812f14ad7 FINERACT-2081: Code quality, eliminate duplicated methods, use utility 2024-10-30 15:54:48 +01:00
Soma SörösandAdam Saghy 001d586e30 FINERACT-2107: Interest Refund - Partial Repayment 2024-10-30 13:16:41 +01:00
adam.magyariandAdam Saghy 745dc80886 FINERACT-2107: Merchant issued refund linked to related interest refund
- on reversal reverse interest refund aswell
2024-10-30 13:16:29 +01:00
Janos MeszarosandAdam Saghy 94360c9f8a FINERACT-2114: Interest rate modification - Advanced payment allocation processor support 2024-10-29 12:24:23 +01:00
Adam SaghyandArnold Gálovics 3e64cc1536 FINERACT-2107: Fix transaction order 2024-10-29 08:23:11 +01:00
Jose Alberto HernandezandAdam Saghy 15e013b90e FINERACT-2081: Fix reversal of loan accruals when loan repayment got reversed 2024-10-28 19:17:36 +01:00
leksinomiandAdam Saghy f76cef768e FINERACT-2081: Handle unauthenticated requests in LoanCOBApiFilter 2024-10-28 12:04:36 +01:00
Adam Saghy e60ce9a401 FINERACT-1981: Generate loan schedule as dto 2024-10-25 14:35:29 +02:00
Oleksii NovikovandAdam Saghy 8a2560fe2e FINERACT-1981: do not calculate interest for charge adjustment when the activities occur on the same day 2024-10-25 09:55:59 +02:00
Adam Saghy 4198b0bcf9 FINERACT-2107: Extract Merchant issued refund and Payout refund handling 2024-10-24 15:51:41 +02:00
adam.magyariandAdam Saghy 2469f22280 FINERACT-1981: Enable backdated Interest Payment Waiver on progressive loans 2024-10-24 11:34:22 +02:00
Andrii KulminskyiandAdam Saghy a9ecdf97a4 FINERACT-1981: Remove hardcoded MoneyHelper dependency during progressive loan 2024-10-22 18:45:28 +02:00
Marta JankovicsandAdam Saghy 806ee69798 FINERACT-2081: fix incorrect exception type 2024-10-21 18:42:06 +02:00
Soma SörösandAdam Saghy 5722891477 FINERACT-2107: Interest Refund - Allocation, Business Event & Full Repayment 2024-10-21 17:36:20 +02:00
Arnold GalovicsandArnold Gálovics 482983f23d FINERACT-2142: Journal entries are created for accrual disbursement fees 2024-10-18 20:13:10 +02:00
adam.magyariandKristof Jozsa e848160dd0 FINERACT-1981: Progressive loan enable backdated transactions 2024-10-18 09:13:26 +02:00