Plugin Template merge requestshttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests2024-03-05T11:22:05+01:00https://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/33Build plugin via Hatch2024-03-05T11:22:05+01:00Aleksandr GumroianBuild plugin via HatchAleksandr GumroianAleksandr Gumroianhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/32Add template variables validation2024-03-08T10:31:58+01:00Aleksandr GumroianAdd template variables validation* `plugin_name_camel` should not contain any spaces
A `pre_gen_project` hook can validate template variables.
https://cookiecutter.readthedocs.io/en/stable/advanced/hooks.html#types-of-hooks
Closes: #2
Blocked by !33* `plugin_name_camel` should not contain any spaces
A `pre_gen_project` hook can validate template variables.
https://cookiecutter.readthedocs.io/en/stable/advanced/hooks.html#types-of-hooks
Closes: #2
Blocked by !33Aleksandr GumroianAleksandr Gumroianhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/31Miscellaneous updates & fixes2024-02-19T17:00:14+01:00Aleksandr GumroianMiscellaneous updates & fixesCloses: #11, #10Closes: #11, #10Aleksandr GumroianAleksandr Gumroianhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/30Fix dependencies2021-03-24T11:18:33+01:00Aleksandr GumroianFix dependenciesAs discussed we are dropping versions from extras for now.
Also, it seems that we can remove foris-client & paho-mqtt from plugins extras as reForis already has it.As discussed we are dropping versions from extras for now.
Also, it seems that we can remove foris-client & paho-mqtt from plugins extras as reForis already has it.Aleksandr GumroianAleksandr Gumroianhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/29Remove language nb from Makefile2021-02-01T12:28:16+01:00Josef SchlehoferRemove language nb from MakefileBefore this commit, it was creating two same files for Norwegian Bokmål
language. When they are present both files, the plugin can not be added
to Weblate.
While looking at this website:
http://people.skolelinux.org/pere/blog/Spr_kkoder...Before this commit, it was creating two same files for Norwegian Bokmål
language. When they are present both files, the plugin can not be added
to Weblate.
While looking at this website:
http://people.skolelinux.org/pere/blog/Spr_kkoder_for_POSIX_locale_i_Norge.html
I see that only nb_NO should be used and nb should not be used, which
was confirmed by Norwegian guy.Aleksandr GumroianAleksandr Gumroianhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/28Changed default directory for main component.2020-02-18T17:37:56+01:00Maciej Lenartowiczmaciej.lenartowicz@nic.czChanged default directory for main component.Closes #9Closes #9Maciej Lenartowiczmaciej.lenartowicz@nic.czMaciej Lenartowiczmaciej.lenartowicz@nic.czhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/27Fixed Python version in Makefile.2020-02-14T15:24:54+01:00Maciej Lenartowiczmaciej.lenartowicz@nic.czFixed Python version in Makefile.Maciej Lenartowiczmaciej.lenartowicz@nic.czMaciej Lenartowiczmaciej.lenartowicz@nic.czhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/26Fixed update messages command.2020-02-13T15:13:42+01:00Maciej Lenartowiczmaciej.lenartowicz@nic.czFixed update messages command.Maciej Lenartowiczmaciej.lenartowicz@nic.czMaciej Lenartowiczmaciej.lenartowicz@nic.czhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/25Add usage of exposed react-router-dom library.2020-01-17T14:35:32+01:00Bogdan BodnarAdd usage of exposed react-router-dom library.Bogdan BodnarBogdan Bodnarhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/24Changed copyright year.2020-01-15T14:20:48+01:00Maciej Lenartowiczmaciej.lenartowicz@nic.czChanged copyright year.Well... :grin:Well... :grin:Maciej Lenartowiczmaciej.lenartowicz@nic.czMaciej Lenartowiczmaciej.lenartowicz@nic.czhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/23Fix for exposed libraries.2020-01-10T13:50:02+01:00Maciej Lenartowiczmaciej.lenartowicz@nic.czFix for exposed libraries.Maciej Lenartowiczmaciej.lenartowicz@nic.czMaciej Lenartowiczmaciej.lenartowicz@nic.czhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/22Updated packages versions.2020-01-09T11:01:53+01:00Maciej Lenartowiczmaciej.lenartowicz@nic.czUpdated packages versions.Related issue: https://gitlab.labs.nic.cz/turris/reforis/reforis/issues/170Related issue: https://gitlab.labs.nic.cz/turris/reforis/reforis/issues/170Maciej Lenartowiczmaciej.lenartowicz@nic.czMaciej Lenartowiczmaciej.lenartowicz@nic.czhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/21Fix transpiling of Foris JS.2020-01-08T07:21:11+01:00Bogdan BodnarFix transpiling of Foris JS.* Fix transpiling of Foris JS.
* Create build CI stage.* Fix transpiling of Foris JS.
* Create build CI stage.Bogdan BodnarBogdan Bodnarhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/20Use impoved python tests.2020-01-07T14:35:50+01:00Bogdan BodnarUse impoved python tests. - [x] Wait for reforis!113.
- [x] Fix reforis branch in `setup.py` before merge. - [x] Wait for reforis!113.
- [x] Fix reforis branch in `setup.py` before merge.Bogdan BodnarBogdan Bodnarhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/19API prefix fixed2019-12-05T15:30:28+01:00Maciej Lenartowiczmaciej.lenartowicz@nic.czAPI prefix fixedWithout the slash it tries to fetch wrong URL, e.g. `http://192.168.1.1/reforis/reforis/remote-devices/api/devices`Without the slash it tries to fetch wrong URL, e.g. `http://192.168.1.1/reforis/reforis/remote-devices/api/devices`Maciej Lenartowiczmaciej.lenartowicz@nic.czMaciej Lenartowiczmaciej.lenartowicz@nic.czhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/18Fix js app path.2019-11-21T11:01:15+01:00Bogdan BodnarFix js app path.Bogdan BodnarBogdan Bodnarhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/17Mocked client factory2019-11-21T10:17:09+01:00Maciej Lenartowiczmaciej.lenartowicz@nic.czMocked client factoryI would create such function in each new plugin anyways so why not have it there from the beginning, right?I would create such function in each new plugin anyways so why not have it there from the beginning, right?Maciej Lenartowiczmaciej.lenartowicz@nic.czMaciej Lenartowiczmaciej.lenartowicz@nic.czhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/16Use global AlertContext2019-11-19T10:22:06+01:00Maciej Lenartowiczmaciej.lenartowicz@nic.czUse global AlertContextMaciej Lenartowiczmaciej.lenartowicz@nic.czMaciej Lenartowiczmaciej.lenartowicz@nic.czhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/15Fixed API prefix2019-11-14T14:26:07+01:00Maciej Lenartowiczmaciej.lenartowicz@nic.czFixed API prefixMaciej Lenartowiczmaciej.lenartowicz@nic.czMaciej Lenartowiczmaciej.lenartowicz@nic.czhttps://gitlab.nic.cz/turris/reforis/plugins-template/-/merge_requests/14Use shared lint config from npm package2019-11-13T15:17:59+01:00Maciej Lenartowiczmaciej.lenartowicz@nic.czUse shared lint config from npm packageMaciej Lenartowiczmaciej.lenartowicz@nic.czMaciej Lenartowiczmaciej.lenartowicz@nic.cz