Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Type

Description

enabled

boolean

true or false - default is “true”.

push_service_subject

string

Used as the subject in the VAPID method for the push service. This should must be either a “mailTo-Link” or the URI to your site.

Example:
“https://portrait.customer.xyz”

Note

While it is optional in the specification. , Apple and Mozilla browsers might reject the push notification, if not set correctly. Therefore, we urge you to set it.

urgency

string

Optional – default is NORMAL.
Possible values are: VERY_LOW, LOW, NORMAL, HIGH.

Note

The following attributes are for internal configuration only, use with caution

Code Block
languageyaml
application:
    push:
      deplay: 2000 # in ms
      threadPoolSize: 1

Name

Type

Description

enabled

boolean

true

threadPoolSize

int

The number of the threadpool used for processing the initial task for submitting a batch of notifications.

delay

int

The delay in ms when the threadtask to process the notifications is launched. Should at least 2000ms in order to for customFields Permission checks to work. (lower the chance a dirty read on elasticsearch)

VAPID Keys

In order to authenticate to the push service, Vapid Keys are used. Keys use the Elliptic Curve Diffie-Hellman format - ECDH. These are stored in the config folder and consist of a private key vapid_private_key and a public key vapid_public_key.

...

Code Block
section:
  sections:
    - name: expenses
      group: Mein Arbeitsplatz
      caption: Spesen
      push:
        titleSection: "{{sectionName}} - Neuigkeiten"
        titleSingleItem: "{{sectionName}} - Neuigkeiten"
        bodySection: "{{totalCount}} Aktualisierungen"
        bodySingleItem: "{{name}} {{#eq actionType \"created\"}}erstellt{{else}}aktualisiert{{/eq}}"

...