Commit Graph
13 Commits
Author SHA1 Message Date
Ralph HopmanandAdam Saghy 06693a65f0 fix: allowPartialPeriodInterestCalculation
Due to a typo, the allowPartialPeriodInterestCalculation field was not
processed correctly. Since the typo also occurs in some places in the
Fineract API, the typo is re-introduced where needed.
2025-01-29 10:36:13 +01:00
Ralph HopmanandArnold Gálovics 34a366e6de build: Update karma versions and fix compile errors 2025-01-15 17:45:16 +01:00
Ralph HopmanandAdam Saghy cac1d11ad7 build: Use prettier for typescript
Stop ignoring .ts files in prettier and fix existing issues.
2025-01-15 11:59:30 +00:00
Ralph HopmanandAdam Saghy f693318c2e build: Use prettier for javascript
Stop ignoring .js and .json files in prettier and fix existing issues.

The `prettier-plugin-multiline-arrays` plugin is used to split arrays
with multiple elements into one line per element.
2024-12-19 10:19:28 +01:00
Ralph HopmanandAdam Saghy 2ec9ba81d6 build: Use prettier for html
Stop ignoring html files in prettier and fix existing issues.
2024-12-19 09:36:50 +01:00
Ralph HopmanandAdam Saghy 6203ada3b6 build: Use lint-staged
Introducing lint-staged with husky to lint files before they are
committed. This will help maintain the code standards in the project.

Also fixes some linting issues that were introduced in other PRs.

HTML files should be included after current issues with htmlhint are
fixed.
2024-12-18 17:12:03 +01:00
Ralph HopmanandAdam Saghy 0f6dac9089 build: Use prettier for yaml
Stop ignoring .yml files in prettier and fix existing issues.
2024-12-18 17:11:44 +01:00
Ralph HopmanandAdam Saghy e3fbf8b81d build: Use prettier for markdown
Stop ignoring .md files in prettier and fix existing issues.
2024-12-18 17:09:22 +01:00
Ralph HopmanandAdam Saghy 1aed445156 fix: Description tooltip in Global Configurations
Due to a bug in getTooltip, the tooltips were never shown. This change
shows the tooltip when there is a description for the configuration option.
2024-11-28 18:31:20 +01:00
Ralph HopmanandAdam Saghy a27bd723d8 fix: Client signature
The functionality to store and show client signatures was broken.
2024-11-28 13:49:34 +01:00
Ralph HopmanandAdam Saghy 43c8fdbe66 fix: Enable and disable surveys
The logic to enable and disable surveys was not implemented, and the
state was not shown correctly. The front-end logic now corresponds to
the back-end logic (org.apache.fineract.spm.service.SpmService).
2024-11-28 13:48:52 +01:00
Ralph HopmanandAdam Saghy 31f1890051 build: Upgrade stylelint to version 16 and fix issues
Migrate upgrade stylelint from version 10 to 16 and fix all the
stylelint and prettier issues in scss files.

The following deprecated stylistic rules are no longer supported in
stylelint, and the checks are taken over by prettier:

- string-quotes
- max-empty-lines
- max-line-length
2024-11-28 13:46:48 +01:00
Ralph HopmanandAdam Saghy 9034ce2847 build: Replace Codelyzer and TSLint with Angular ESLint
Migrate from the deprecated TSLint to Angluar ESLint. Also fix current
linting issues in the code, in particular:

- Use strict equals operators (=== and !==)
- Remove empty lifecycle methods (mostly ngOnInit)
- Output bindings including aliases should not be named as standard dom
  events (submit)
- Async pipe results should not be negated
2024-11-08 09:37:08 +01:00