* fix: adapt old settings loader to the new schema (filter schema_version)
feat: migrate commissions globals
feat: migrate locales
refactor: generalize the old fields search
chore: created functions signatures for all config migrations
feat: created wallet migration
feat: migrate operator info
feat: migrate coin atm radar
feat: migrate terms and conditions
feat: migrate commissions overrides
fix: removed the wallet_COIN_active field (don't exist anymore)
chore: moved the config-migration lib to the lib folder
feat: migrate cashout configurations
feat: migrate notifications globals
feat: export migration function
feat: migrate most of notifications scoped configs
fix: added the missing text property to the terms and conditions
migration
feat: migrate compliance triggers
feat: migrate receipt printing
feat: migrate accounts
chore: remove test code form module
refactor: change some functions naming
fix: set default trigger type to 'volume'
feat: added threshold days (default 1) to triggers
fix: removed strike from the accounts importing
refactor: cleaner code on fixed properties
feat: avoid repeated crypto/machine pairs on the commissions overrides
migrations
refactor: make renameAccountFields function internal to the account
migration function
fix: migrate all crypto scoped commission overrides
* fix: return plain objects from functions to make the jsons more readable
fix: fix bitgo fields casing
fix: improve commissions migration function readability
refactor: standard styling
* feat: add fallback values to the migration
* feat: created db migration for the new config
* feat: create migration to move machine names from file to db
fix: updates machine names before the config migration
fix: load machineLoader
fix: create a param to ignore the schema version when loading the latest
config using the old loader
* refactor: remove unnecessary arguments on createTrigger function
fix: check if there's an smsVerificationThreshold configured prior to
migrating triggers
* fix: migrate triggers with the correct thresholds and verify if they're
valid
fix: add max values for fields on Cashout, Commissions, Notifications
fix: disable adding on the Locales overrides when all of the machines
are already overriden
* feat: table add button is now hidden when adding/editing
feat: disable every other action on editable table when editing/adding
feat: hide add button instead of disabling it when can't add
feat: disable every other action when adding/editing on the commissions
page
feat: disable every other action when adding/editing on the locales
page
feat: disable every other action when adding/editing on the
notifications page
feat: disable save buttons while waiting for server response on tables
and editable numbers
* chore: removed TODO
* fix: fix bug when loading the contact info page with no phone configured
or no country configured in locales
style: fixed contact info styles
style: fixes on the terms & conditions styles
* fix: re-add H4 style after merge
fix: code styling
* fix: make all fields required on the Terms & Conditions page if Show on
screen is enabled
fix: enable/disable the Terms & Conditions form based on the Show on
screen toggle
fix: replaced deactivated field with plain text when not editing
fix: make de non editable text content field scrollable
style: make it follow the same style as the other screens, with the edit
button and links to save and cancel
feat: created Prompt component to avoid leaving pages without saving
feat: applied component to the editable table
feat: applied component to the Cashout, Commissions, Locales, Cashboxes,
Notifications, CryptoBalanceOverrides and Wallet pages
feat: applied component to the ContactInfo and ReceiptPrinting pages
refactor: export the default prompt message to be used in other contexts
fix: applied prompt component to the Operator Info pages
fix: create routes for the operator info components
feat: applied the Prompt component to the Contact Info and Receipt pages
feat: applied the Prompt component to the Terms & Conditions page
* refactor: move prompt to components
* feat: use formik on the boolean properties table
* chore: removed console.logs
chore: removed comments
refactor: moved BooleanCell to the BooleanPropertiesTable file and make
it not a formik field
feat: add an all machines option to the commissions overrides
fix: added cash-in and cash-out icons to main and override table headers
feat: filter out already overriden machine-coin combinations
fix: fix error when there's no machine selected yet
fix: on and off should have a fixed width
fix: fist screen should be two p
fix: autofocus on fields after next
fix: spacing
fix: button position
fix: make the denominations a dropdown
fix: fiat should shown input suffix
fix: wizard should have splash image
fix: add missing warning icon
fix: eslint
fix: modal fiat should be a suffix
fix: increase modal height to match the spec
fix: confirmation step has repeated title
fix: label should cover both the input and the suffix
fix: use code+display to benefit from dropdown improvements
screen is enabled
fix: enable/disable the Terms & Conditions form based on the Show on
screen toggle
fix: replaced deactivated field with plain text when not editing
fix: make de non editable text content field scrollable
style: make it follow the same style as the other screens, with the edit
button and links to save and cancel
style: reduced the dropdown border-radius from 16px to 8px only when it's open
feat: scroll the table back up with a log level filter change
fix: dropdown border-radius bottom was still 16px instead of 8px when
opened
feat: adapted the new settings loader to work with the db instead of
the json file
fix: fixed the schema migration file
fix: updated accounts to work with the db
fix: fetch only data with the new schema version
fix: change the account saving process so there's no more than one
account record
chore: removed unnecessary TODO comments
fix: replaced an error throwing with a Promise reject
fix: when looking for the latest config, don't limit it to the new ones
fix: fix function names on gql server
fix: remove duplicate import
fix: return an empty object when there's no schema_version 2 config yet
fix: move the focus to the first editable element
fix: make the Autocomplete options popup on autoFocus
feat: allow saving on table only when changes occurred
fix: compare only the editing row instead of the entire list to decide
if the save method will be called
fix: flag that skips storing server_logs on DB when table does not yet exists
fix: hook server logs migration as soft dependency on initial
Revert "fix: hook server logs migration as soft dependency on initial"
This reverts commit e6c4cf4419c894598393997637dcfd95a5ff6a0e.
fix: empty promise, actually no additional promise was needed