Squid Posted December 18, 2016 Share Posted December 18, 2016 Bonienl just let me know that on the main header .page file (when you have multiple .page files for dynamix managed tabs), you can override the dynamix tabbed / not tabbed display setting by adding: Tabs="true" or Tabs="false" Quote Link to comment
coppit Posted February 8, 2017 Share Posted February 8, 2017 kode, our newest contributor at linuxserver.io just wrote a pertinent article you might find interesting if you're a plugin dev. http://www.linuxserver.io/index.php/2015/07/08/unraid-plugin-authors-automate-the-plg-process-after-committing-to-github/ Link gives 404 Quote Link to comment
Squid Posted September 22, 2017 Share Posted September 22, 2017 (edited) One other comment. The filename of the .plg should be unique. The plugin system does not handle collisions on plugin filenames at all, and effectively if there are two plugins with the same filename, they both cannot be simultaneously installed. Edited September 22, 2017 by Squid Quote Link to comment
Squid Posted June 24, 2018 Share Posted June 24, 2018 FYI, Starting with the next rev of unRaid (6.6.0-rc1?), a new attribute on plugins is available: support Used for the URL to the appropriate support thread for the plugin. <PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" min="6.4.0" support="https://lime-technology.com/forums/topic/38582-plug-in-community-applications/"> If the attribute doesn't exist in the .plg file, then CA when installing a plugin will automatically add the attribute to installed plugins when it installs one (based upon the support thread in the plugin's XML). In other words, you don't need to add this attribute to any .plg But, if you've added a support link into the README.md file, then that should now be removed so that the link does not appear twice on the plugins page. Quote Link to comment
Squid Posted January 5, 2019 Share Posted January 5, 2019 (edited) Starting with unRaid 6.7, plugin authors have the ability to add in another entity into the .plg file to allow the plugin to display a font-awesome icon on the Plugins Tab <PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" icon="refresh"> This will show the icon fa-refresh on the plugin page. For compatibility with previous versions of unRaid though you should still have the appropriate png in the Images folder. This is optional. If the icon attribute doesn't exist, the status quo remains in effect Additionally, for pretty much all of the v6 series, you have also been able to specify a font-awesome icon for the .page file's settings. Menu="Utilities" Type="xmenu" Title="Auto Update Applications" Icon="refresh" Will display the fa-refresh icon on the settings page for the AutoUpdate plugin. To utilize those icons within the Community Applications plugin (versions after 1/5/19), add another entry to the xml (For compatibility with previous versions of CA the <Icon> entry should still be present with an appropriate URL link. Once again, optional. If IconFA isn't present, CA will use Icon. ** CA has been changed so that a font-awesome icon can be utilized in the <Icon> entry. Technically, this deprecates <IconFA>, but that method is still supported. <IconFA>refresh</IconFA> You can also utilize the new unRaid specific icons (I'll leave it to you to discover them once 6.7 gets released) by using (on any of those entries) the full name of the icon. (But obviously, those new icons will not display on unRaid versions prior to 6.7) Edited January 20, 2019 by Squid Quote Link to comment
bonienl Posted January 6, 2019 Share Posted January 6, 2019 10 hours ago, Squid said: Additionally, for pretty much all of the v6 series, you have also been able to specify a font-awesome icon for the .page file's settings This was added from Unraid 6.4 and onwards Quote Link to comment
Squid Posted February 18, 2019 Share Posted February 18, 2019 HIGHLY recommended (if not required) that all plugins follow unRaid's standard versioning scheme of yyyy.mm.dd Alphabetical prefixes / suffixes are allowed. This recommendation is required for date updated to operate correctly within Community Applications. Quote Link to comment
KluthR Posted March 15, 2023 Share Posted March 15, 2023 On 2/18/2019 at 3:23 PM, Squid said: HIGHLY recommended (if not required) that all plugins follow unRaid's standard versioning scheme of yyyy.mm.dd Is that still the case? Quote Link to comment
Squid Posted March 15, 2023 Share Posted March 15, 2023 It's just the standard. Never been required per se. CA doesn't use the "Date" entry anymore, but the auto update plugin won't function if it doesn't conform to the "standard" Quote Link to comment
KluthR Posted March 15, 2023 Share Posted March 15, 2023 Hmm. I wanted to switch to semantic versioning, seems, that is something thats not supported then? Quote Link to comment
Squid Posted March 15, 2023 Share Posted March 15, 2023 Nothing wrong with it, and it will work. Auto update will skip updating because one of its features is a "cool down" time period where it won't update until the release is x number of days old. Up to you... Quote Link to comment
KluthR Posted March 15, 2023 Share Posted March 15, 2023 Okay, thats good. Thanks for the calrification. Quote Link to comment
ljm42 Posted March 15, 2023 Share Posted March 15, 2023 4 hours ago, KluthR said: Hmm. I wanted to switch to semantic versioning, seems, that is something thats not supported then? Note that semver isn't really that useful for Unraid plugins, because users can't choose which version to install - they always get the latest. It is kind of like browsers, you just update to stay current and deal with it if the author makes breaking changes. One benefit of the date-based system is users can tell whether a plugin has been abandoned, or if it has been updated for the latest release of Unraid. Quote Link to comment
KluthR Posted March 15, 2023 Share Posted March 15, 2023 16 minutes ago, ljm42 said: because users can't choose Users can choose the version? Quote Link to comment
Kilrah Posted March 15, 2023 Share Posted March 15, 2023 4 minutes ago, KluthR said: Users can choose the version? How? You go to Apps and install the plugin, you don't get to choose which version. Quote Link to comment
KluthR Posted March 15, 2023 Share Posted March 15, 2023 @ljm42 just noted, that with semver, one could not choose a version. How can users choose a version with date versioning Quote Link to comment
ljm42 Posted March 15, 2023 Share Posted March 15, 2023 3 minutes ago, KluthR said: @ljm42 just noted, that with semver, one could not choose a version. How can users choose a version with date versioning Sorry if I wasn't clear. My point was that since users cannot choose what version to install there isn't much value in using semver. Quote Link to comment
Squid Posted March 15, 2023 Share Posted March 15, 2023 1 hour ago, ljm42 said: One benefit of the date-based system is users can tell whether a plugin has been abandoned, or if it has been updated for the latest release of Unraid. Hmm.. MyServers violates the standard lol and required specific workarounds in auto update lol Quote Link to comment
ljm42 Posted March 15, 2023 Share Posted March 15, 2023 1 minute ago, Squid said: Hmm.. MyServers violates the standard lol and required specific workarounds in auto update lol LOL it is still date based, just instead of a/b/c it includes the time. Thanks for adding the workarounds Quote Link to comment
ljm42 Posted March 15, 2023 Share Posted March 15, 2023 Huh. I wonder why my emoticons don't work Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.