Skip to content

๐Ÿงฉ Plugin Settings

Plugin Settings

The Plugins tab holds what the price and exchange-rate sources ask for: the API key of a paid data source, a region, or a preference of your own. Open Settings (gear icon in the sidebar), then the Plugins tab, after Preferences (on a phone, the tab with the puzzle-piece icon). Every user has it; what you can change there depends on whose setting it is. The book icon at its top opens this page.

Only the plugins that ask for something are listed, under Prices for the price providers and Exchange rates for the exchange-rate providers, each heading after its family's icon (a column chart for prices, coins for exchange rates); a heading with no such plugin is left out. Of the plugins shipped with LibreFolio, two have a setting today, a personal search preference each: JustETF and Borsa Italiana (see Search Preferences). A plugin added to your installation may ask for more. The tab also has a Tools group, for the Tools that have settings of their own; none of them does yet, so you will not see it today. When no plugin asks for anything, the tab says No installed plugin asks for settings.

๐Ÿงพ One Plugin, One Form

Each plugin has a form of its own: its icon and name (a puzzle piece when the plugin has no icon), a badge that says whether it can work, then its settings. Each setting shows its name, a red * when it is required, whose it is โ€” Personal or Whole instance โ€” and what it does.

  • Change what you need, then click Save at the bottom of that plugin's form: each plugin is saved on its own. Discard drops the changes you have not saved.
  • Save keeps all the changes of the plugin, or none of them: when one is refused, nothing is saved, and the setting at fault says why.
  • Before you save, LibreFolio checks what you typed against the plugin's rules โ€” a number, a whole number, a minimum or a maximum, a length, one of the options โ€” and says under the setting what is wrong, such as At least 8 characters. Save stays disabled until it is fixed.
  • A saved change shows in the setting itself, with no message. A plugin whose settings you cannot change has no buttons.
๐Ÿ’ฌ When a save does not go through
Message What happened
Nothing was saved: check the settings below. A setting was refused. Under it: The value is not valid for this setting., Only an administrator can change this setting., A server variable sets it: it cannot be changed here. or This setting no longer exists: reload the page.
These settings changed meanwhile: they have been reloaded, save again. Someone saved the same settings at the same moment: nothing of yours was saved. Check the values shown, then save again.
Secrets cannot be saved: this instance's key cannot be used (see the configuration checks). Nothing was saved: a secret cannot be encrypted. An administrator finds the cause in the startup checks.
The settings could not be saved. No answer from the server: try again.

๐Ÿ‘ฅ Personal and Whole-Instance Settings

Next to its name, each setting says whose it is:

Personal Whole instance
Its value Your own: every user has theirs One for everybody on this LibreFolio
Who changes it You An administrator
Who sees it You alone: not even an administrator Everybody; the users who are not administrators see it read-only, with Only an administrator can change it. Of a secret, they see only whether it is set
What it changes What LibreFolio does for you alone: your searches, and the provider checks of the asset dialog, such as Test Configuration Everything the plugin does, prices and exchange rates included

Prices, price histories and exchange rates are shared by everybody, so they never depend on one user's choice: for them, a personal setting always takes the plugin's default.

๐Ÿ›ก๏ธ For administrators

You change the whole-instance settings here, like everybody else changes their personal ones. A whole-instance setting can also be given by the server's configuration instead: see Set by the Server, and Plugin Settings in the administrators' manual for the variables.


๐Ÿ” Secrets

Some settings are secrets, such as an API key. A secret is write-only:

  • Type it, then Save. What you typed is sent once, then dropped from the page: from then on the setting shows only Set on with the date and time it was saved, never the secret itself โ€” not even to you. The field is marked as a new password, so the browser does not fill it in with one of your saved passwords.
  • Replace opens the field for a new value; Cancel keeps the saved one.
  • Clear deletes the secret when you click Save (It will be deleted when you save.); Undo keeps it.

Users who are not administrators see a whole-instance secret as Set on โ€ฆ (Set when the server sets it) or Not set, and nothing else. LibreFolio keeps a saved secret encrypted: see Saved Secrets and the Instance Key.


๐Ÿ”’ Set by the Server

An administrator can also give a whole-instance setting through the server's configuration, with an environment variable. The setting then shows its value read-only, a secret only as Set, with Set by the server: nobody can change it here, not even an administrator. Administrators also see the name of the variable, Set by the server variable followed by it.

To change such a setting, an administrator changes the variable and restarts LibreFolio: see A Variable Locks the Setting.


โ†ฉ๏ธ Back to the Default

Once you have saved a value of your own in a setting you can change, Use the default appears under it. It deletes the saved value when you click Save, and the setting goes back to the plugin's default: The saved value will be deleted when you save: the default applies., with Undo. Emptying a text field that shows a saved value does the same. A secret has no default: Clear deletes it (Secrets).


โš ๏ธ When a Setting Has a Problem

The setting says What happened What to do
The server variable โ€ฆ is invalid: the plugin stays unconfigured until it is fixed. The variable that sets it holds a value the setting refuses, or names a file that cannot be read. LibreFolio never falls back to a saved value or to the default. Administrators see the variable's name An administrator fixes the variable and restarts LibreFolio
The saved value is no longer valid: the default applies. The plugin no longer accepts the value saved earlier, after an update for example Choose a value again and save it, or leave it: the default applies meanwhile
Saved, but this instance's key cannot read it. If an administrator can put the old key back, that comes first; otherwise enter it again. A saved secret can no longer be read, because the instance's encryption key has changed. LibreFolio keeps it, but never uses it If an administrator can still put the old instance key back, that comes first: a secret saved under the new key would become unreadable once the old key is back (see Saved Secrets and the Instance Key). Otherwise, type the secret again and save it; for a whole-instance secret, an administrator does

๐Ÿšฆ Configured or To Configure

The badge next to each plugin's name says whether it can work:

  • Configured: every required setting has a value LibreFolio can use.
  • To configure: a required setting has no usable value โ€” never set, or a secret that can no longer be read โ€” or a server variable that sets one of its settings is invalid.

LibreFolio does not call a plugin that is To configure: its prices or exchange rates are not updated, a search says that it must be configured, and Test Configuration fails with โŒ This provider must be configured before use. The plugins shipped with LibreFolio need no setting to work: JustETF and Borsa Italiana are always Configured.


๐Ÿ› ๏ธ Configure, From an Asset

You do not have to leave an asset to change its provider's settings: Configure opens the same form as this tab, for that one price provider, over the dialog you are in.

  • In the asset dialog (+ Add Asset, or Edit on an asset), under Provider Assignment: when the chosen provider has settings, Configure sits next to its help link โ€” on a phone, its icon alone. When the provider cannot work yet, To configure shows there too. After a save the badge follows, and the asset you are editing is left as it was.
  • In Search Online: when a provider must be configured before it can search, the list of results starts with a line โ€ฆ must be configured before it can search, naming the provider, and its own Configure button. Once you save, the search runs again. So a provider that could not search is never mistaken for one that found nothing.

๐Ÿ”Ž Search Preferences: JustETF and Borsa Italiana

Both are Personal settings, and both show everything until you choose otherwise. They only choose which rows your own searches list: no price changes, and neither does an asset you already have. No instrument disappears either: each one exists in every currency or language, so a preference only keeps one of its rows.

Plugin Setting Choices What it changes in Search Online
JustETF Preferred currency All currencies (the default), ๐Ÿ‡ช๐Ÿ‡บ EUR, ๐Ÿ‡บ๐Ÿ‡ธ USD, ๐Ÿ‡จ๐Ÿ‡ญ CHF, ๐Ÿ‡ฌ๐Ÿ‡ง GBP With a currency, each fund appears once, in that currency. With All currencies, each fund appears four times, once per currency
Borsa Italiana Preferred language Both languages (the default), ๐Ÿ‡ฎ๐Ÿ‡น Italian, ๐Ÿ‡ฌ๐Ÿ‡ง English With a language, each instrument appears once, in that language: the one its name and details come in. With Both languages, Italian first, then English. Borsa Italiana's website is searched the same way whatever you choose

Set them here, under JustETF and Borsa Italiana, or with Configure in the asset dialog while that provider is chosen.

๐Ÿ‘‘ The Crown in JustETF Results

๐Ÿ‘‘ marks a fund's own currency, the one its NAV is computed in โ€” not necessarily the one you trade in. Whenever a result shows it, a line at the bottom of the list says so: ๐Ÿ‘‘ the fund's own currency. With a preferred currency, ๐Ÿ‘‘ appears only on the funds computed in that currency: with ๐Ÿ‡ช๐Ÿ‡บ EUR, a fund computed in US dollars shows ๐Ÿ‡ช๐Ÿ‡บ alone.

How the currency of a justETF asset works: Pick the Currency in Search.