Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add script to automate the generation of AUTHORS.md
Roland Geider65c5b743881f
diff --git a/.github/ISSUE_TEMPLATE/1_bug.yml b/.github/ISSUE_TEMPLATE/1_bug.ymlindex d3e80a954..b03f49f86 100644--- a/.github/ISSUE_TEMPLATE/1_bug.yml+++ b/.github/ISSUE_TEMPLATE/1_bug.yml@@ -33,10 +33,10 @@ body:attributes:label: Server versiondescription: |- What version of wger are you using and how did you install it?+ What version of wger are you using and how did you install it (our server, docker+ compose, manual installation, etc)?placeholder: |- Check https://<server>/software/about-us or the git sha1 of the last commit you pulled /- you use our server, docker compose, manual installation, etc+ Check e.g. https://<server>/software/about-usvalidations:required: false@@ -45,8 +45,9 @@ body:attributes:label: Mobile app versiondescription: |- If applicable, what version of the mobile app are you using and how did you install it?+ If applicable, what version of the mobile app are you using and how did you install it+ (Play Store, App Store, Flathub, self compiled, etc.)?placeholder: |- Check the "about wger" dialog / Play Store, App Store, Flathub, self compiled, etc.+ Check e.g. the "about wger" dialogvalidations:required: falsediff --git a/.github/pull_request_template.md b/.github/pull_request_template.mdindex 47cbeaa06..69efac4e1 100644--- a/.github/pull_request_template.md+++ b/.github/pull_request_template.md@@ -2,14 +2,17 @@----++## Related Issue(s)++If applicable, please link to any related issues## Please check that the PR fulfills these requirements- [ ] Tests for the changes have been added (for bug fixes / features)-- [ ] Added yourself to AUTHORS.rst+- [ ] Code has been formatted to avoid unnecessary diffs (`ruff format && isort .`)### Other questions* Do users need to run some commands in their local instances due to this PR- (e.g. database migration)?+ (e.g. database migration, deployment changes)?diff --git a/AUTHORS.md b/AUTHORS.mdnew file mode 100644index 000000000..23ca35243--- /dev/null+++ b/AUTHORS.md@@ -0,0 +1,393 @@+# Contributors and translators to this repository++Thank you all for contributing to the project, you are true heroes! 🫶++## Contributors++- [Github-actions](https://github.com/invalid-email-address) - ([email protected])+- [Roland Geider](https://github.com/rolandgeider) - ([email protected])+- [Peter Dave Hello](https://github.com/PeterDaveHello) - ([email protected])+- [Cam Cecil](https://github.com/scrapcode) - ([email protected])+- [Ali Rahbar](https://github.com/crypto-a) - ([email protected])+- [Joshua Shelley](https://github.com/navyjosh) - ([email protected])+- [Joshua](https://github.com/navyjosh) - ([email protected])+- [Ali Rahbar](https://github.com/crypto-a) - ([email protected])+- [Matthew Harrison](https://github.com/Maralai) - ([email protected])+- [Josh](https://github.com/FlyingNimbusCloud) - ([email protected])+- [eyjhb](https://github.com/eyJhb) - ([email protected])+- [kmoy1](https://github.com/kmoy1) - ([email protected])+- [Kevin Moy](https://github.com/kmoy1) - ([email protected])+- [Victor B](https://github.com/victorbmlabs) - ([email protected])+- [Dieter Plaetinck](https://github.com/Dieterbe) - ([email protected])+- [Taylor Fuller](https://github.com/taylor-fuller) - ([email protected])+- [JLaField](https://github.com/JLaField) - ([email protected])+- [JLaField](https://github.com/JLaField) - ([email protected])+- [bbk](https://github.com/bbkz) - ([email protected])+- [Maniues](https://github.com/Maniues) - ([email protected])+- [[email protected]](https://github.com/ebwinters) - ([email protected])+- [Roelof Rietbroek](https://github.com/strawpants) - ([email protected])+- [bbkz](https://github.com/bbkz) - ([email protected])+- [Jayanth Bontha](https://github.com/JayanthBontha) - ([email protected])+- [JayanthBontha](https://github.com/JayanthBontha) - ([email protected])+- [Brandon-Lu737](https://github.com/Brandon-z-lu) - ([email protected])+- [Ben Southcott](https://github.com/blsouthcott) - ([email protected])+- [Ben Southcott](https://github.com/blsouthcott) - ([email protected])+- [bingyingchu](https://github.com/bingyingchu) - ([email protected])+- [Alexandra Rhodes](https://github.com/arhodes130) - ([email protected])+- [koenb](https://github.com/berniekoen) - ([email protected])+- [Bernardo Koen](https://github.com/bernardokoen) - ([email protected])+- [Mohammad Rafigh](https://github.com/mohammadrafigh) - ([email protected])+- [saket2001](https://github.com/saket2001) - ([email protected])+- [Rohan Karan](https://github.com/RohanKaran) - ([email protected])+- [Adam Petík](https://github.com/AdamPetik) - ([email protected])+- [Tom Bowyer](https://github.com/ImTheTom) - ([email protected])+- [Tom Bowyer](https://github.com/ImTheTom) - ([email protected])+- Ingo Terpelle - ([email protected])+- [olijzenga](https://github.com/olijzenga) - ([email protected])+- [kade](https://github.com/kp5431) - ([email protected])+- [Sopo](https://github.com/sophiamartelli) - ([email protected])+- [João Goulart](https://github.com/usehalter) - ([email protected])+- Nikita Epifanov - ([email protected])+- [jaspreetsd902](https://github.com/jaspreetsd902) - ([email protected])+- [absolutely-not-bot](https://github.com/absolutely-not-bot) - ([email protected])+- [Milo Ivir](https://github.com/milotype) - ([email protected])+- Mohammed Ali Zubair - ([email protected])+- [Kyle Chesney](https://github.com/ChemiKyle) - ([email protected])+- [Sergio](https://github.com/MrPointcut95) - ([email protected])+- [LucasSD](https://github.com/LucasSD) - ([email protected])+- [grkm](https://github.com/gorkemarslan) - ([email protected])+- Oğuz Ersen - ([email protected])+- [Ayush Kumar](https://github.com/Gr8ayu) - ([email protected])+- [Ayush Kumar](https://github.com/Gr8ayu) - ([email protected])+- J. Lavoie - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])+- [Leninux](https://github.com/RedRudeBoy) - ([email protected])+- [colout](https://github.com/colout) - ([email protected])+- [Kristopher Newsome](https://github.com/sysadmin75) - ([email protected])+- [Jack Mulligan](https://github.com/jackmulligan-ire) - ([email protected])+- [Calvin Walden](https://github.com/calvinrw) - ([email protected])+- [emuth](https://github.com/emmaamuth) - ([email protected])+- [Sidrah-Madiha](https://github.com/Sidrah-Madiha) - ([email protected])+- [Brad Johnson](https://github.com/bradsk88) - ([email protected])+- [Will Pearson](https://github.com/anonygoose) - ([email protected])+- [Rachael Wright-Munn](https://github.com/ChaelCodes) - ([email protected])+- [Karmen Lu](https://github.com/karmenlu) - ([email protected])+- [Angelina Subeska](https://github.com/Lyra1806) - ([email protected])+- [Kevin Geng](https://github.com/gengkev) - ([email protected])+- [Aaron Kimbrell](https://github.com/aronwk-aaron) - ([email protected])+- [Lydia Xing](https://github.com/lydiaxing) - ([email protected])+- [nikithamurikinati](https://github.com/nikithamurikinati) - ([email protected])+- [nikithamurikinati](https://github.com/nikithamurikinati) - ([email protected])+- [Noah Pinter](https://github.com/nopinter) - ([email protected])+- [Harlene Samra](https://github.com/harlenesamra) - ([email protected])+- [Noah Pinter](https://github.com/nopinter) - ([email protected])+- [[email protected]](https://github.com/jcho17) - ([email protected])+- [derekli](https://github.com/derekli17) - ([email protected])+- [Austin Leung](https://github.com/austin-leung) - ([email protected])+- [ryowright](https://github.com/ryowright) - ([email protected])+- [sandilsranasinghe](https://github.com/sandilsranasinghe) - ([email protected])+- [Rkamath2](https://github.com/Rkamath2) - ([email protected])+- Rashmi Kamath - ([email protected])+- Tony - (Stark)+- [beingbiplov](https://github.com/beingbiplov) - ([email protected])+- [Rasmus Storm](https://github.com/CoderCamel) - ([email protected])+- [Christopher O'Connell](https://github.com/oconnelc) - ([email protected])+- Simon Tang - ([email protected])+- Svn-Sp - (svn-sp@email)+- [Kevin Antonio Rateni Iatauro](https://github.com/WalkingPizza) - ([email protected])+- [snappy45](https://github.com/louicoder) - ([email protected])+- [Zoe](https://github.com/VicFinistere) - ([email protected])+- [Sven](https://github.com/Svn-Sp) - ([email protected])+- [Scott Peshak](https://github.com/speshak) - ([email protected])+- [Peter van der Does](https://github.com/petervanderdoes) - ([email protected])+- Aerex - ([email protected])+- Withnale - ([email protected])+- [Veltarn](https://github.com/Veltarn) - ([email protected])+- Anjalie Kini - ([email protected])+- - ([email protected])+- [gmmoraes](https://github.com/gmmoraes) - ([email protected])+- [Peter van der Does](https://github.com/petervanderdoes) - ([email protected])+- [Daniel Topal](https://github.com/dtopal) - ([email protected])+- [Mbarak Mbigo](https://github.com/Mbarak-Mbigo) - ([email protected])+- alois - ([email protected])+- pythonGeek - ([email protected])+- [Ryan Marvin](https://github.com/RyanSept) - ([email protected])+- Boniface Mwenda - ([email protected])+- [Malcolm Jones](https://github.com/DeveloperMal) - ([email protected])+- Jacob Stoebel - ([email protected])+- Roland Geider - (Roland Geider [email protected])+- alelevinas - (alevis32)+- [ywecur](https://github.com/ywecur) - ([email protected])+- [Verdi R-D](https://github.com/azend) - ([email protected])+- [Alexandre Murphy-Gonthier](https://github.com/murphyalexandre) - ([email protected])+- [James Simas](https://github.com/jamessimas) - ([email protected])+- purplebird - ([email protected])+- [Colin](https://github.com/cthare) - ([email protected])+- Roman Pavlov - ([email protected])+- [Mihail Burduja](https://github.com/warchildmd) - ([email protected])+- tranbenny - ([email protected])+- [Laszlo Ratsko](https://github.com/rlaszlo) - ([email protected])+- [Yuyu Aung](https://github.com/yuyu-aung) - ([email protected])+- [matheus](https://github.com/marchiore) - ([email protected])+- [Tushar Gupta](https://github.com/Tushar-Gupta) - ([email protected])+- [Tushar Gupta](https://github.com/Tushar-Gupta) - ([email protected])+- [Helen Sherwood-Taylor](https://github.com/helenst) - ([email protected])+- [Sean Hussey](https://github.com/seanhussey) - ([email protected])+- Roland Geider - ([email protected])+- [dashdrum](https://github.com/dashdrum) - ([email protected])+- Roland Geider - ([email protected])++## Translators+++### Portuguese++- [Luiz Felipe Guidorizzi de Oliveira](https://github.com/EvilMonark) - ([email protected])+- Wilton Rodrigues - ([email protected])+- [Guilherme Salomão](https://github.com/salomaoparkour) - ([email protected])+- [Douglas Gabriel Ochner](https://github.com/dochner) - ([email protected])+- [Guilherme G. Schardong](https://github.com/schardong) - ([email protected])+- Dalton Scavassa - ([email protected])+- [Felipe Nogueira](https://github.com/fnogcps) - ([email protected])+- [Eduardo Menges Mattje](https://github.com/EduMenges) - ([email protected])+- [João Goulart](https://github.com/usehalter) - ([email protected])+- [Roland Geider](https://github.com/rolandgeider) - ([email protected])+- [Ricardo Bezerra da Silva](https://github.com/jeovajireh) - ([email protected])+- Raphael Marques de Barros - ([email protected])+- [ssantos](https://github.com/SantosSi) - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])++### Korean++- [고수처럼](https://github.com/rrrmaster) - ([email protected])+- [Gyu-sun Youm](https://github.com/Perlmint) - ([email protected])+- [성동하](https://github.com/tomjovi) - ([email protected])+- [namong79](https://github.com/namong79) - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])++### Finnish++- [Ricky Tigg](https://github.com/Ricky-Tigg) - ([email protected])+- [Nikolay Korotkiy](https://github.com/sikmir) - ([email protected])+- [Juuso Haapanen](https://github.com/juusohaapanen) - ([email protected])+- J. Lavoie - ([email protected])++### Polish++- [Karol Solecki](https://github.com/karolsol) - ([email protected])+- Dawid Panyło - ([email protected])+- Marcin Schoenknecht - ([email protected])+- gnu-ewm - ([email protected])+- [A M](https://github.com/AugiAugi44) - ([email protected])+- [Jacob](https://github.com/devzom) - ([email protected])+- [Henio Szewczyk](https://github.com/hszewczyk) - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])++### Romanian++- B Sebastian - ([email protected])+- [Daniel Vigaru](https://github.com/danielvigaru) - ([email protected])+- [dimii27](https://github.com/dimii27) - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])++### Swedish++- [PNS11](https://github.com/cess11) - ([email protected])+- [Kevin Gregard](https://github.com/Kladdiskakan) - ([email protected])+- [tygyh](https://github.com/tygyh) - ([email protected])+- [stefan](https://github.com/clint1337) - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])++### Russian++- [Алексей Курышко](https://github.com/alexkuryshko) - ([email protected])+- [Kira](https://github.com/Balalaika87) - ([email protected])+- [Nikolay Korotkiy](https://github.com/sikmir) - ([email protected])+- Konstantin - ([email protected])+- gudvinr - ([email protected])+- Nikita Epifanov - ([email protected])+- [Ryeori](https://github.com/daniqshu) - ([email protected])+- [Roland Geider](https://github.com/rolandgeider) - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])++### Dutch++- Christijan Mulder - ([email protected])+- [Christijan](https://github.com/ChrispyM) - ([email protected])+- [SilverServerT](https://github.com/SilverServerT) - ([email protected])+- [Coen Visser](https://github.com/verluci) - ([email protected])+- Nick - ([email protected])+- [Dieter Verbeken](https://github.com/NimdaBE) - ([email protected])+- [Remco Schrijver](https://github.com/RemcoSchrijver) - ([email protected])+- Rick - ([email protected])+- [Roland Geider](https://github.com/rolandgeider) - ([email protected])+- [David](https://github.com/DMachiels) - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])++### Croatian++- [Milo Ivir](https://github.com/milotype) - ([email protected])++### Hebrew++- [shlomi assaf](https://github.com/shlomiassaf) - ([email protected])+- [Tsz Hong CHAN](https://github.com/tomyan112) - ([email protected])+- n,rdo - ([email protected])++### Ukrainian++- Максим Горпиніч - ([email protected])+- [kvinto](https://github.com/badsystem) - ([email protected])+- [Dan](https://github.com/Kefir2105) - ([email protected])+- Dan - ([email protected])+- Tymofii Lytvynenko - ([email protected])+- [Artem](https://github.com/defaultpage) - ([email protected])++### Spanish++- [gallegonovato](https://github.com/gallegonovato) - ([email protected])+- [hhugoac](https://github.com/hhugoac) - ([email protected])+- [Sergio Varela](https://github.com/IngrownMink4) - ([email protected])+- [Javier](https://github.com/dysk0zero) - ([email protected])+- [Biologia Libros](https://github.com/bio201922) - ([email protected])+- [G. Buendía](https://github.com/gbuendia) - ([email protected])+- [Sergio](https://github.com/MrPointcut95) - ([email protected])+- abraham - ([email protected])+- [Santiago Persico](https://github.com/spersico) - ([email protected])+- [Roland Geider](https://github.com/rolandgeider) - ([email protected])+- [Alex Hidalgo](https://github.com/alexjhidalgo) - ([email protected])+- J. Lavoie - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])++### Chinese (Simplified Han script)++- Herb Huang - ([email protected])++### German++- [kvnrmnn](https://github.com/rmnn92) - ([email protected])+- [Tobias Lechner](https://github.com/Lxchnxr) - ([email protected])+- [becothas](https://github.com/becothas) - ([email protected])+- [Roland Geider](https://github.com/rolandgeider) - ([email protected])+- m4skedbyte - ([email protected])+- [StefMe](https://github.com/StefMe) - ([email protected])+- Axel Steinbrecher - ([email protected])+- [KneeClass03](https://github.com/KneeClass03) - ([email protected])+- [Christoph Suesser](https://github.com/TheFitzZZ) - ([email protected])+- J. Lavoie - ([email protected])+- mondstern - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])++### Hindi++- [Ritik Sharma](https://github.com/RitikSharma02) - ([email protected])+- [Ritish Bhardwaj](https://github.com/levidroid) - ([email protected])++### French++- [MrSniikyz](https://github.com/BabyGeek) - ([email protected])+- [florent4014](https://github.com/florent4014) - ([email protected])+- [Lucas Batier](https://github.com/lucas-batier) - ([email protected])+- [yoyomax80400](https://github.com/yoyomax80400) - ([email protected])+- Célian - ([email protected])+- J. Lavoie - ([email protected])+- [Roland Geider](https://github.com/rolandgeider) - ([email protected])+- [Antoine Vibien](https://github.com/r1llettes) - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])++### Persian++- [m93n pk](https://github.com/m93n) - ([email protected])+- anyBlackSoul - ([email protected])+- [keyvanmj](https://github.com/keyvanmj) - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])++### Norwegian Bokmål++- GS Bacon - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])+- [Roland Geider](https://github.com/rolandgeider) - ([email protected])++### Catalan++- [Zixu Sun](https://github.com/ziixu) - ([email protected])+- [guillem](https://github.com/gbuendia) - ([email protected])++### Turkish++- [Oğuz Ersen](https://github.com/oersen) - ([email protected])+- [Cem Avcı](https://github.com/cem256) - ([email protected])+- Oğuz Ersen - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])++### Chinese (Simplified)++- [Yi-Han Hsiung](https://github.com/AaronHsiung) - ([email protected])+- [Tsz Hong CHAN](https://github.com/tomyan112) - ([email protected])+- [Bingo_Yan](https://github.com/ygbingo) - ([email protected])+- [Scotee007](https://github.com/Scotee007) - ([email protected])+- [cld4h](https://github.com/cld4h) - ([email protected])+- [yzqzss](https://github.com/yzqzss) - ([email protected])+- [Jing](https://github.com/jingcheng16) - ([email protected])+- [sr-c](https://github.com/sr-c) - ([email protected])+- [tony](https://github.com/tonyxxliu) - ([email protected])+- freeair zhao - ([email protected])+- [猫猫头](https://github.com/Lirosty) - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])++### Italian++- [Federico Pierantoni](https://github.com/F3FFO) - ([email protected])+- [oarion](https://github.com/oarion) - ([email protected])+- [Alessandro Faucci](https://github.com/Dhy19971) - ([email protected])+- [Marco Accorinti](https://github.com/accodev) - ([email protected])+- [Armando La Placa](https://github.com/a-lp) - ([email protected])+- [clafalco](https://github.com/clafalco) - ([email protected])+- DT - ([email protected])+- [MARCO ACORTE](https://github.com/marco-acorte) - ([email protected])+- [Roland Geider](https://github.com/rolandgeider) - ([email protected])+- J. Lavoie - ([email protected])+- [Stefano Rossi](https://github.com/stefanorossiti) - ([email protected])++### Czech++- [Fjuro](https://github.com/Fjuro) - ([email protected])+- Fjuro - ([email protected])+- [CaptainDolphy](https://github.com/CaptainDolphy) - ([email protected])+- [Roman Kalivoda](https://github.com/RKCZ) - ([email protected])+- [Zrnek](https://github.com/TomasZmek) - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])++### Hungarian++- Adam Cool - ([email protected])+- [László Mócsy](https://github.com/LamaxStudio) - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])++### Japanese++- [sasukeiscool](https://github.com/sasukeiscool) - ([email protected])+- [yuki chi](https://github.com/kumo2kumo) - ([email protected])++### Greek++- [Antonis-geo](https://github.com/Antonis-geo) - ([email protected])+- George Koikas - ([email protected])+- [Eugenia Russell](https://github.com/eugenia-russell) - ([email protected])+- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])+- Michalis - ([email protected])++### Danish++- [Tomasz Cielecki](https://github.com/Cheesebaron) - ([email protected])+- [Roland Geider](https://github.com/rolandgeider) - ([email protected])++### Arabic (Saudi Arabia)++- [SlyBat](https://github.com/AW-G) - ([email protected])+- [Hissabat Manager](https://github.com/Chinguetti-Quizz) - ([email protected])+- [My Google](https://github.com/ahmedtahraoui90) - ([email protected])++### Bulgarian++- [Allan Nordhøy](https://github.com/comradekingu) - ([email protected])diff --git a/AUTHORS.rst b/AUTHORS.rstdeleted file mode 100644index 91c5cd01a..000000000--- a/AUTHORS.rst+++ /dev/null@@ -1,195 +0,0 @@-Authors-=======--Developers-------------* Roland Geider – https://github.com/rolandgeider-* Helen Sherwood-Taylor - https://github.com/helenst-* Tushar Gupta - https://github.com/Tushar-Gupta-* Matheus Zorzete Marchiore - https://github.com/marchiore-* Yu Yu Aung - https://github.com/max111-* Laszlo Ratsko - https://github.com/rlaszlo-* James Simas - https://github.com/jamessimas-* Benny Tran - https://github.com/tranbenny-* Roman Pavlov - https://github.com/romansp-* Mihail Burduja - https://github.com/warchildmd-* Colin Hare - https://github.com/cthare-* Ryan Hughes - https://github.com/purplebird-* Alexandre Murphy-Gonthier - https://github.com/murphyalexandre-* Verdi R-D: https://github.com/azend-* Alois: https://github.com/alokhan-* Alelevinas: https://github.com/alelevinas-* Jacob Stoebel: https://github.com/jstoebel-* Peter van der Does: https://github.com/petervanderdoes-* Malcolm Jones: https://github.com/DevloperMal-* Boniface Mwenda: https://github.com/andela-bmwenda-* Scott Peshak: https://github.com/speshak-* Musanje Louis Michael: https://github.com/louiCoder-* Kevin Antonio Rateni Iatauro: https://github.com/WalkingPizza-* Sven - https://github.com/Svn-Sp-* Christopher OConnell - https://github.com/oconnelc-* Biplov - https://github.com/beingbiplov-* Rashmi Kamath - https://github.com/Rkamath2-* Anthony (Ryo) Wright - https://github.com/ryowright-* Nikitha Murikinati - https://github.com/nikithamurikinati-* Harlene Samra - https://github.com/harlenesamra-* Justine Cho - https://github.com/jcho17-* Vaheeshta Mehrshahi - https://github.com/vaheeshta-* Jeevika Ghosh - https://github.com/jeevikaghosh-* Austin Leung - https://github.com/austin-leung-* Harlene Samra - https://github.com/harlenesamra-* Nikitha Murikinati - https://github.com/nikithamurikinati-* Justine Cho - https://github.com/jcho1-* Lydia Xing - https://github.com/lydiaxing-* Ellie Qiu - https://github.com/eq8913-* Hita Kambhamettu - https://github.com/Hita-K-* Derek Li - https://github.com/derekli17-* Noah Pinter - https://github.com/nopinter-* Kevin Geng - https://github.com/gengkev-* Karmen Lu - https://github.com/klu17-* Aaron Kimbrell - https://github.com/aronwk-aaron-* Aaron Bassett - https://github.com/aaronbassett-* Rachael Wright-Munn - https://github.com/ChaelCodes-* Will Pearson - https://github.com/qagoose-* Brad Johnson - https://github.com/bradsk88-* Sidrah Madiha Siddiqui https://github.com/Sidrah-Madiha-* Calvin Walden - https://github.com/calvinrw-* Jack Mulligan - https://github.com/jackmulligan-ire-* Kristopher Newsome - https://github.com/sysadmin75-* Emma Muth - https://github.com/emmaamuth-* Sophia Reed - https://github.com/sophialr-* Leninux - https://github.com/RedRudeBoy-* Ayush Kumar - https://github.com/gr8ayu-* Gorkem Arslan - https://github.com/gorkemarslan-* Lucas Stone-Drake - https://github.com/LucasSD-* absolutely-not-bot - https://github.com/absolutely-not-bot-* Jaspreet Dhillon - https://github.com/jaspreetsd902-* Sofiko Alaverdashvili - https://github.com/sophiamartelli-* Oebele Lijzenga - https://github.com/olijzenga-* Kade - https://github.com/kp5431/-* Tom Bowyer - https://github.com/ImTheTom-* Rohan Karan - https://github.com/RohanKaran-* Mohammad Rafigh - https://github.com/mohammadrafigh-* Bernardo Koen - https://github.com/BernardoKoen-* Gabriel Liss - https://github.com/gabeliss-* Alexandra Rhodes - https://github.com/arhodes130-* Ben Southcott - https://github.com/blsouthcott-* Jayanth Bontha - https://github.com/JayanthBontha-* Roelof Rietbroek https://github.com/strawpants-* Ethan Winters - https://github.com/ebwinters-* Dieter Plaetinck - https://github.com/Dieterbe-* Jonathan La Field - https://github.com/JLaField-* Kevin Moy - https://github.com/kmoy1-* Taylor Fuller - https://github.com/taylor-fuller-* eyJhb - https://github.com/eyJhb-* Joshua Shelley - https://github.com/navyjosh-* Matt Harrison - https://github.com/Maralai-* Ali Rahbar - https://github.com/crypto-a-* Cam Cecil - https://github.com/scrapcode-* Peter Dave Hello - https://github.com/PeterDaveHello---Translators--------------* Bulgarian:-- - Lyuboslav Petrov--* Czech:-- - Tomáš Z.--* Dutch:-- - David Machiels- - Arthur van Rooijen- - Hans Poelmans- - Oscar Gala Grano- - Philip Plaeke--* Greek:-- - Mark Nicolaou- - Ruth Bochere--* Norwegian:-- - Jon-Sindre Husum- - w00p- - Stian Lundanes--* Portuguese:-- - Jefferson Campos- - Danilo Silva- - Matheus Zorzete Marchiore- - Nari Gao--* Russian:-- - Andrew- - Inna- - Maxim Dushniak- - MrClon- - Stepa--* Spanish:-- - Acv2 Facundo- - Damian Suarez- - Enrique Garcia- - jgrdpy- - Manuel- - Naty Quin--* Swedish:-- - Housame Oueslati- - Olle Karlsson- - oskarmalm- - ywecur--* French:-- - Alex Deneuvillers- - Alexis- - ckoker- - Gauthier Flichy- - Jeremy Barascut- - Jordane Pelloux-Prayer- - Mickael Fortunato- - Nicolas Roby- - Olivier- - Quentin Galliou- - Serge S--* Italian-- - Agostino Lecci- - lediable- - Roberta Guarino- - Sergio Oliva- - Sergio Zampello--* Polish-- - Andrzej- - Arkady Asuratov- - Filip Makowski- - Krzysztof Tataradziński- - Marius- - Michał Jastrzębowski- - Marcin Schoenknecht--* Ukrainian-- - Artem Polivanchuk- - Inna- - MikeLMI--Exercises------------And of course many thanks as well to everyone that submitted exercises!diff --git a/README.md b/README.mdindex f9c7cbfeb..338fc4543 100644--- a/README.md+++ b/README.md@@ -65,6 +65,9 @@ reporting issues and ideas, check out our[contribution guide](https://wger.readthedocs.io/en/latest/contributing.html)to get started.+A huge thank you to everyone who has contributed so far! ❤️ See the full list+in [AUTHORS.md](AUTHORS.md).+## DocumentationConsult the online documentation atdiff --git a/extras/authors/generate_authors_api.py b/extras/authors/generate_authors_api.pynew file mode 100644index 000000000..5ae394c28--- /dev/null+++ b/extras/authors/generate_authors_api.py@@ -0,0 +1,204 @@+# Standard Library+import json+import os+import re+import shutil+from getpass import getpass+from pathlib import Path++# Third Party+import requests++ORGANIZATION = 'wger-project'+REPOSITORIES = ['wger', 'flutter', 'react', 'docker', 'docs']+COMMITS_PER_PAGE = 100+CACHE_DIR = Path('commits_cache')+++def get_github_token():+ token = os.getenv('GITHUB_TOKEN')+ if not token:+ token = getpass('Enter your GitHub token: ')++ return token+++def fetch_commits_from_github(repo_name, github_token):+ repo_cache_dir = CACHE_DIR / repo_name+ repo_cache_dir.mkdir(parents=True, exist_ok=True)++ url = f'https://api.github.com/repos/{ORGANIZATION}/{repo_name}/commits'+ headers = {'Authorization': f'token {github_token}'} if github_token else {}+ commits = []++ # Get total commit count+ try:+ response = requests.get(url, headers=headers, params={'per_page': COMMITS_PER_PAGE})+ response.raise_for_status()+ link_header = response.headers.get('Link')+ if link_header:+ links = link_header.split(', ')+ for link in links:+ if 'rel="last"' in link:+ match = re.search(r'[?&]page=(\d+)', link)+ if match:+ total_pages = int(match.group(1))+ break+ else:+ total_pages = 1 # if the last page is not found, assume one page.+ else:+ total_pages = 1+ except requests.exceptions.RequestException as e:+ print(f'Error getting total commits: {e}')+ return []++ # print(f"Total pages: {total_pages}")+ for page in range(1, total_pages + 1):+ # page += 1+ cache_file = repo_cache_dir / f'page_{page}.json'++ if cache_file.exists():+ with open(cache_file, 'r') as f:+ data = json.load(f)+ commits.extend(data)+ print(f'Loaded cached page {page}')+ continue++ try:+ response = requests.get(+ url, headers=headers, params={'page': page, 'per_page': COMMITS_PER_PAGE}+ )+ response.raise_for_status()+ data = response.json()++ if not data:+ break++ print(f'Fetching commits from API for page {page}')++ with open(cache_file, 'w') as f:+ json.dump(data, f, indent=4)++ commits.extend(data)+ except requests.exceptions.RequestException as e:+ print(f'Error fetching commits: {e}')+ break++ break++ return commits+++def extract_contributors(repo_name, github_token):+ """Retrieves contributors and translators from the GitHub API."""++ contributors = {}+ translators = {}++ commits = fetch_commits_from_github(repo_name, github_token)++ for commit in commits:+ commit_message = commit['commit']['message']++ # Author is null if the commit was done by weblate and the translator is not a GitHub user+ author = commit.get('author', {})+ author_username = author.get('login', '') if author else ''+ author_name = commit['commit']['author']['name']+ author_email = commit['commit']['author']['email']++ if 'dependabot' in author_name:+ continue++ if 'Translated using Weblate' in commit_message:+ language_match = re.search(r'Translated using Weblate \((.+)\)', commit_message)+ if language_match:+ language = language_match.group(1)+ if language not in translators:+ translators[language] = {}++ translators[language][author_email] = {+ 'email': author_email,+ 'name': author_name,+ 'username': author_username,+ }+ else:+ contributors[author_email] = {+ 'email': author_email,+ 'username': author_username,+ 'name': author_name,+ }+ return contributors, translators+++def generate_markdown(data: dict) -> str:+ """Generate the markdown for a single contributor or translator."""+ front = (+ f'[{data["name"]}](https://github.com/{data["username"]})'+ if data['username']+ else data['name']+ )++ return f'- {front} - ({data["email"]})\n'+++def generate_authors_file(+ repo_name, contributors: dict, translators: dict, output_file='AUTHORS.md'+):+ """Generates a Markdown file with contributors and translators."""+ filename = f'{repo_name}-{output_file}'++ with open(filename, 'w') as f:+ f.write('# Contributors and translators to this repository\n\n')+ f.write('Thank you all for contributing to the project, you are true heroes! 🫶 \n\n')++ f.write('## Contributors\n\n')+ if contributors:+ for author_email, data in contributors.items():+ f.write(generate_markdown(data))+ else:+ f.write('No contributors found.\n')++ f.write('\n## Translators\n\n')+ if translators:+ for language, translator_data in translators.items():+ f.write('\n')+ f.write(f'### {language}\n\n')+ for author_email, data in translator_data.items():+ f.write(generate_markdown(data))+ else:+ f.write('No translators found.\n')++ print(f'{filename} generated successfully.')+++if __name__ == '__main__':+ github_token = get_github_token()++ for repo in REPOSITORIES:+ print(f'*** Processing {repo} ***')+ generate_authors_file(repo, *extract_contributors(repo, github_token))+ print(f'')++ print('Done! 🥳')+ print('')++ print('This script can copy the generated AUTHORS.md files to their correct locations.')+ print('- wger-AUTHORS.md -> ../../AUTHORS.md')+ print('- <repo>-AUTHORS.md -> ../../../<repo>/AUTHORS.md')+ copy_files = input('Copy files? (yes/no): ').strip().lower()++ if copy_files == 'yes':+ print('Copying files...')+ shutil.copy('wger-AUTHORS.md', '../../AUTHORS.md')+ print('Copied wger-AUTHORS.md to ../../AUTHORS.md')+ for repo in REPOSITORIES:+ if repo == 'wger':+ continue+ try:+ shutil.copy(f'{repo}-AUTHORS.md', f'../../../{repo}/AUTHORS.md')+ print(f'Copied {repo}-AUTHORS.md to ../../../{repo}/AUTHORS.md')+ except FileNotFoundError as e:+ print(f'Error copying {repo}-AUTHORS.md: {e}')+ print('Files copied successfully.')+ else:+ print('Files were not copied.')