Pinned [GUIDE] DIY Plugin Development Part 1-3

    • Hi

      I need help, I am trying to migrate fail2ban plugin for omv3, almost everything works but i have an error :

      JavaScript Source Code

      1. TypeError: vtypes[vtype] is not a function
      2. if (!vtypes[vtype](value, me)) {

      See : github.com/prbond/openmediavault-fail2ban.git branch master-omv3
      Open Media Vault 2.2.6 (Stone burner) in Prod
      Open Media Vault 3.0.32 (Erasmus) in Test

      openmedivault Docker Container
      https://github.com/prbond/openmedivault-dockerfile

      Dev :
      openmediavault-fail2ban 1.1.5 for OMV2.X
      openmediavault-fail2ban 1.3.0 for OMV3.X
      https://github.com/prbond/openmediavault-fail2ban
      https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-fail2ban
    • Get rid of all of the vtype entries in your jails.js. Most (all) of those vtypes don't exist. port is the only one I see that actually exists.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • BIG THANKS, it's been days that I have a hard time ...

      PS: where i could find list of vtype allowed ?
      Open Media Vault 2.2.6 (Stone burner) in Prod
      Open Media Vault 3.0.32 (Erasmus) in Test

      openmedivault Docker Container
      https://github.com/prbond/openmedivault-dockerfile

      Dev :
      openmediavault-fail2ban 1.1.5 for OMV2.X
      openmediavault-fail2ban 1.3.0 for OMV3.X
      https://github.com/prbond/openmediavault-fail2ban
      https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-fail2ban
    • Some vtypes are built-in into extjs and others are here. You don't have to use them. It just helps formatting the field and only allowing certain types of entry.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Users Online 1

      1 Guest