project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

contributing to the project ?

Open aderumier opened this issue 9 months ago • 24 comments

Hi,

I'm a proxmox contributor and I just found your nice project. I was working on a similar python project on my side (python/fastpi/asyncio) to fill the gap of missing features of pdm (I really can't code in rust ^_^), but I see than your project is more advanced, and I would like to help/contribute as your project is GPL.

one question: any reason to listen websocket on a different port ? is it a flask limitation to handle websocket upgrade ? (I have managed it easily on my side with fastapi+asyncio). I really need this for security reason, I think I could workaround with a nginx or haproxy reverse proxy in front, but I think that the wss port sent to vnc client is hardcoded currently ?

Other things I have begin to work on my side:

  • cross cluster storage replication for disaster recovery (I have a lot of customer requesting about it, at least with zfs->zfs or ceph->ceph). -
  • central backup scheduling
  • oidc authen
  • user self service portal with quota by user (total vm cpu/total vm memory,.... )

I don't known if you have theses kind of features on your roadmap and if contributions are welcome ?

aderumier avatar Feb 10 '26 08:02 aderumier

reverse proxy support for vnc/ssh websocket : https://github.com/PegaProx/project-pegaprox/pull/43

aderumier avatar Feb 10 '26 09:02 aderumier

Hi @aderumier ,

Contributions are always welcome! Just a heads-up – we test all pull requests before merging, which can take up to two days.

Regards, Marcus

mkellermann97 avatar Feb 10 '26 09:02 mkellermann97

Heyha @aderumier ,

just as further information thank you very much for the contributions! We've tested it in our LAB and will merge it with the next release :) . I hope thats fine for you? :)

Best regards, Nico

MrMasterbay avatar Feb 11 '26 23:02 MrMasterbay

Heyha @aderumier ,

just as further information thank you very much for the contributions! We've tested it in our LAB and will merge it with the next release :) . I hope thats fine for you? :)

Best regards, Nico

yes sure, no problem, no rush, thanks !

It was just small patches for start, I'll try to do more patch next week.

I'm still discovering the UI. I'll try to look to add French translation, as I'm from Belgium/France.

and maybe look for quota by tenant, as it shouldn't be too difficult to implement.

aderumier avatar Feb 12 '26 06:02 aderumier

Hi, not a developper but I'm French (from France) and I live in Canada. I can help with French translation. My pleasure to help !

IMNotMax avatar Feb 24 '26 03:02 IMNotMax

Hi, even I'm a software engineer, I'm offering here myself to help with a latinamerican spanish translation. I'll be honored to help with that.

ColombianJoker avatar Mar 03 '26 20:03 ColombianJoker

I can do a pull request, but first, I would like to suggest somebody changes the language selector everywhere from a "two button selector" to a drop-down menu or something. What I'm referring to on the linked images Language selector on Login window Language selector on PegaProx interface

ColombianJoker avatar Mar 04 '26 13:03 ColombianJoker

Hi all @IMNotMax @ColombianJoker ,

thank you that would be great for the pull requests! As we don't have an official discord in the current time. Feel free to join @gyptazy 's discord where I'm currently active also :) . https://discord.gg/ZUsKZtNC . I will forward requests then also to marcus and laura due some issues what they currently have.

MrMasterbay avatar Mar 04 '26 20:03 MrMasterbay

Hi @IMNotMax and @ColombianJoker ,

feel free to check out now the translation.js :) . Feel free to contribute there to add your language.

MrMasterbay avatar Mar 09 '26 23:03 MrMasterbay

Hello. I'm Brasilian and i was able to translate to pt-BR, I've edited translations.js and where we choose the language in index.html, but I also had to put the translated content inside index.html to make it work.... is it correct?

Image

FernandoRD avatar Mar 10 '26 18:03 FernandoRD

I'm doing the spanish (LA) translation and found "quorate" in the SDN. Where can I find what is that?

ColombianJoker avatar Mar 12 '26 14:03 ColombianJoker

Ola ! Quorate is the term when you have enough people (or nodes) to make a decision. It's Quorum in French and Latin If you have a cluster, always 3 nodes mini. 2 vs 1 and you have the quorate to make the decision.

Does it helps ? Was it your question ? ;)

@MrMasterbay I will look after the French version soon I hope.

IMNotMax avatar Mar 12 '26 18:03 IMNotMax

Ah, "quorum" in french and latin, «cuórum» en español

ColombianJoker avatar Mar 12 '26 21:03 ColombianJoker

I did the new translation and don't know how to continue. GitHub says "ColombianJoker:feat/localization-es-la had recent pushes 1 minute ago"

I inserted thousands of lines for the latinamerican translation on web/src/translation.js

Can anybody help me? (I'm new in this kind of projects)

ColombianJoker avatar Mar 13 '26 16:03 ColombianJoker

Hi @ColombianJoker ,

yeah you pushed a older version out :D . Don't worry we just added just the content in our translation.js and will also mention you in the release for that :) .

MrMasterbay avatar Mar 14 '26 13:03 MrMasterbay

Hi there ! I'm finishing the French translation. Less than a thousand items left.

I will git pull the last version of the translations.js and propose a pull request for the file? or do you want something else ?

IMNotMax avatar Mar 17 '26 13:03 IMNotMax

I have I little Python script to easily find the missing/unstranslated keys (I don't know if we have something like that here). Where can I put it in the project?

It's easily used:

╭[0 e🍏Gunther ~/Documents/Code/Python/project-pegaprox]
╰→ pegaprox-missing-trans -s de -t en web/src/translations.js 
Comparing [de] master against [en] in 'web/src/translations.js':
Found 34 keys missing from EN:

 - Achtung
 - Beispiel
 - Cluster
 - Empfohlen
 - Größe
 - Hardware
 - Hinweis
 - Internet
 - Netze
 - Parameter
 - Passwörter
 - Proxy
 - Server
 - Standard
 - Tab
 - Tipp
 - Tokens
 - VORSICHT
 - Voraussetzung
 - WARNUNG
 - WICHTIG
 - Warnung
 - Zertifikaten
 - aktiviert
 - aus
 - erfolgreich
 - fehl
 - gefunden
 - gestartet
 - können
 - ok
 - tenantAutoHint
 - verfügbar
 - wir
╭[0 e🍏Gunther ~/Documents/Code/Python/project-pegaprox]
╰→ 

ColombianJoker avatar Mar 22 '26 00:03 ColombianJoker

I'll do the missing translations tomorrow (2026/03/22):

╭[0 e🍏Gunther ~/Documents/Code/Python/project-pegaprox]
╰→ pegaprox-missing-trans -s en -t es web/src/translations.js 
Comparing [en] master against [es] in 'web/src/translations.js':
Found 338 keys missing from ES:

 - CAUTION
 - Clusters
 - Default
 - Docker
 - Example
 - Found
 - IMPORTANT
 - Note
...

ColombianJoker avatar Mar 22 '26 00:03 ColombianJoker

We must change the model of translations. I propose:

web/src/translations.js # DE
web/src/translations-en.js # EN, of course
web/src/translations-es.js
web/src/translations-fr.js
web/src/translations-pt.js


```But I would need to understand the build process...

ColombianJoker avatar Mar 22 '26 00:03 ColombianJoker

We need to change the language selector too:

Image

ColombianJoker avatar Mar 22 '26 00:03 ColombianJoker