New update available

openmediavault 5.5.23

  • Update locales.
  • Issue #505: Prepend explanation to cron-apt notifications.
  • Issue #926: Refactor code that is responsible for sending the notification email on first UI log in.

New update available

openmediavault 5.5.22

  • Fixing package management issue with new UDEV rules. The old file was not removed automatically. Because of that please notice the information about the new UDEV rules in 5.5.21.
  • Fix monit/proftpd issue when implicit TLS is enabled.
  • Issue #921: Prevent using WLAN NICs for bond and bridge interfaces.
  • Issue #929: Set ‘big_writes’ as default mount option for NTFS filesystems.
  • Issue #930: Add UDEV rule for OWC Mercury Elite Pro Dual mini enclosure to fix the random serial ID issue.

A RxJS takeWhen operator

If you needed to poll a service and then take the response only when a specific property of the response was equal to a predicate, then the following RxJS operator might help you.

function takeWhen<T>(predicate: (value: T, index: number) => boolean) {
  return (source: Observable<T>): Observable<T> => source.pipe(filter(predicate), take(1));
}

Example:

interval(500).pipe(
  concatMap(() => this.http.post(...)),
  takeWhen((res: IRpcBgResponse) => {
    return res.running === false;
  })
);