public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH pmg-api/pmg-docs/pmg-gui v3 0/5] tracking-center: make input-base configurable
@ 2026-06-12 17:40 Stoiko Ivanov
  2026-06-12 17:40 ` [PATCH pmg-api v3 1/5] config: add root_only paramter option Stoiko Ivanov
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Stoiko Ivanov @ 2026-06-12 17:40 UTC (permalink / raw)
  To: pmg-devel

v2->v3:
* pmg-api patch 2: change the validation from a regex to a validation sub
  to sanitize the path and prevent curdir and parentdir as well as
  consecutive slashes

Thanks big-time to Max for checking the series so quickly and for the
valuable feedback and insight into SectionConfig! I decided to not
implement some of the suggestions (as talked off-list):
* root-only vs. root_only - as this is not a user-facing/api parameter,
  left it in snake_case to not have to quote it.
* I left the maximal directory depth at 6, as we can very easily extend it
  if someone requests it, while restricting after having this public would
      be backwards incompatible
* pmg currently does not have a concept of api-permissions and not
  showing/modifying elements where an user has no permissions -
  implementing this would expand the scope of this small patch series too
  much (PVE has this in access-control [0]).
* the docs for pmg.conf get generated automatically based on the property
  descriptions - see [1].


[0] https://git.proxmox.com/?p=pve-access-control.git;a=blob;f=src/PVE/RPCEnvironment.pm;h=7591aa9ed414f4e70b66bc6c40cb054bd2e8231c;hb=5ccd07d9302562b73374d331b63d25b04b86766c#l178
[1] https://git.proxmox.com/?p=pmg-docs.git;a=blob;f=pmg-doc-generator.mk.in;h=e9253c4a84b0d545021259b68c2051b6697a11f5;hb=b3a0fb7f942001a26d2386e5d1ee47be2b9eaf0b#l51
v2:
https://lore.proxmox.com/pmg-devel/DJ5IDD9OR8HE.ENMUIGWPW37U@proxmox.com/T/#t


pmg-api:

Stoiko Ivanov (3):
  config: add root_only paramter option.
  config: add log-tracker-base key
  fix #3657: api: tracking center: explicitly set input base from config

 src/PMG/API2/Config.pm      | 10 +++++++++-
 src/PMG/API2/MailTracker.pm |  5 +++++
 src/PMG/Config.pm           | 20 ++++++++++++++++++++
 3 files changed, 34 insertions(+), 1 deletion(-)


pmg-gui:

Stoiko Ivanov (1):
  fix #3657: system options: add log-tracker-base textrow

 js/SystemOptions.js | 6 ++++++
 1 file changed, 6 insertions(+)


pmg-docs:

Stoiko Ivanov (1):
  pmg-log-tracker: mention that input-base can be configured via GUI

 pmg-log-tracker.adoc | 3 +++
 1 file changed, 3 insertions(+)


Summary over all repositories:
  5 files changed, 43 insertions(+), 1 deletions(-)

-- 
Generated by murpp 0.12.0




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-06-12 17:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-12 17:40 [PATCH pmg-api/pmg-docs/pmg-gui v3 0/5] tracking-center: make input-base configurable Stoiko Ivanov
2026-06-12 17:40 ` [PATCH pmg-api v3 1/5] config: add root_only paramter option Stoiko Ivanov
2026-06-12 17:40 ` [PATCH pmg-api v3 2/5] config: add log-tracker-base key Stoiko Ivanov
2026-06-12 17:41 ` [PATCH pmg-api v3 3/5] fix #3657: api: tracking center: explicitly set input base from config Stoiko Ivanov
2026-06-12 17:41 ` [PATCH pmg-gui v3 4/5] fix #3657: system options: add log-tracker-base textrow Stoiko Ivanov
2026-06-12 17:41 ` [PATCH pmg-docs v3 5/5] pmg-log-tracker: mention that input-base can be configured via GUI Stoiko Ivanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal