8 Commits

Author SHA1 Message Date
0e5f67bfa4 Added 2 new features :
All checks were successful
Release zip package / release (push) Successful in 1s
- File/folder transfer betrween sites
- Bulk site creation
2026-03-16 11:22:01 +01:00
14bb1a7c13 Merge branch 'main' of https://git.azuze.fr/kawa/Sharepoint-Toolbox 2026-03-11 11:05:52 +01:00
a256e30c59 New logo 2026-03-11 11:05:17 +01:00
2856964858 Update README.md 2026-03-10 17:11:07 +01:00
3ca58a4da0 Updated Workflow 2026-03-10 17:09:08 +01:00
2cc9d91f5a Do not upload wiki files here 2026-03-10 15:29:05 +01:00
ee609cfaa4 Update
All checks were successful
Release zip package / release (push) Successful in 0s
2026-03-10 14:59:23 +01:00
245f2d6b69 Updated workflow
All checks were successful
Release zip package / release (push) Successful in 9s
2026-03-10 14:50:06 +01:00
9 changed files with 1378 additions and 24 deletions

View File

@@ -1,3 +1,4 @@
#Wkf
name: Release zip package
on:
@@ -10,28 +11,36 @@ jobs:
runs-on: native
steps:
- name: Checkout
uses: actions/checkout@v4
run: |
git clone "$GITEA_SERVER_URL/$GITEA_REPO.git" repo
cd repo && git checkout "$GITEA_REF_NAME"
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
GITEA_REPO: ${{ gitea.repository }}
GITEA_REF_NAME: ${{ gitea.ref_name }}
- name: Build zip
shell: pwsh
run: |
$version = $env:GITHUB_REF_NAME
$zip = "SharePoint_ToolBox_${version}.zip"
Compress-Archive -Force -Path Sharepoint_ToolBox.ps1, lang -DestinationPath $zip
"ZIP=$zip" >> $env:GITHUB_ENV
"VERSION=$version" >> $env:GITHUB_ENV
cd repo
VERSION="${{ gitea.ref_name }}"
ZIP="SharePoint_ToolBox_${VERSION}.zip"
zip -r "../${ZIP}" Sharepoint_ToolBox.ps1 lang/
echo "ZIP=${ZIP}" >> "$GITHUB_ENV"
echo "VERSION=${VERSION}" >> "$GITHUB_ENV"
- name: Create release and upload asset
uses: https://gitea.com/actions/gitea-release-action@latest
with:
token: ${{ secrets.RELEASE_TOKEN }}
tag_name: ${{ env.VERSION }}
release_name: "SharePoint ToolBox ${{ env.VERSION }}"
body: |
## SharePoint ToolBox ${{ env.VERSION }}
- name: Create release
run: |
RELEASE_ID=$(curl -sf -X POST \
"${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/releases" \
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
-H "Content-Type: application/json" \
-d "{\"tag_name\":\"${{ env.VERSION }}\",\"name\":\"SharePoint ToolBox ${{ env.VERSION }}\",\"body\":\"### How to use\\n1. Download and extract the archive\\n2. Launch Sharepoint_ToolBox.ps1 with PowerShell\\n\"}" \
| python3 -c "import sys,json; print(json.load(sys.stdin)['id'])")
echo "RELEASE_ID=${RELEASE_ID}" >> "$GITHUB_ENV"
### Installation
1. Télécharger et extraire le zip
2. Lancer `Sharepoint_ToolBox.ps1` avec PowerShell
3. Prérequis : module `PnP.PowerShell` (`Install-Module PnP.PowerShell`)
files: ${{ env.ZIP }}
- name: Upload asset
run: |
curl -sf -X POST \
"${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/releases/${{ env.RELEASE_ID }}/assets" \
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
-F "attachment=@${{ env.ZIP }}"

3
.gitignore vendored
View File

@@ -3,3 +3,6 @@
*.json
!lang/
!lang/*.json
!wiki/
!wiki/*.html
!wiki/*.md

View File

@@ -1,4 +1,4 @@
![SPToolbox-logo](https://git.azuze.fr/kawa/Sharepoint-Toolbox/raw/branch/main/SPToolbox-logo-dark.png)
![SPToolbox-logo](https://git.azuze.fr/kawa/Sharepoint-Toolbox/raw/branch/main/SPToolbox-logo.png)
Application PowerShell avec interface graphique (WinForms) pour administrer, auditer et exporter des données depuis des sites SharePoint Online.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 390 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 384 KiB

BIN
SPToolbox-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 850 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,5 @@
# Features à ajouter :
- Sauvegarde du contexte d'authentification en plus des profils
- Possibilité de demander la liste de site auquels un user precis a acces
- Copie de site à site
- Copie de site à site
- Barre de recherche dans les fichiers HTML exportés

View File

@@ -90,5 +90,52 @@
"ph.created.by": "Prénom Nom ou email",
"ph.modified.by": "Prénom Nom ou email",
"ph.library": "Chemin relatif optionnel ex : Documents partagés",
"ph.dup.lib": "Toutes (laisser vide)"
"ph.dup.lib": "Toutes (laisser vide)",
"tab.transfer": " Transfert ",
"grp.xfer.source": "Source",
"grp.xfer.dest": "Destination",
"lbl.xfer.site": "URL du site :",
"lbl.xfer.library": "Bibliothèque / Dossier :",
"grp.xfer.options": "Options",
"chk.xfer.recursive": "Inclure les sous-dossiers (récursif)",
"chk.xfer.overwrite": "Écraser les fichiers existants",
"btn.xfer.start": "Lancer le transfert",
"btn.xfer.verify": "Vérifier",
"btn.xfer.open": "Ouvrir le rapport",
"ph.xfer.site": "https://tenant.sharepoint.com/sites/xxx",
"ph.xfer.library": "Documents partagés/sous-dossier",
"xfer.note": "Seule la version actuelle de chaque fichier est transférée (pas d'historique de versions).",
"tab.bulk": " Création en masse ",
"grp.bulk.list": "Sites à créer",
"btn.bulk.add": "Ajouter un site...",
"btn.bulk.csv": "Importer CSV...",
"btn.bulk.remove": "Supprimer",
"btn.bulk.clear": "Tout effacer",
"btn.bulk.create": "Créer tous les sites",
"bulk.col.name": "Nom du site",
"bulk.col.alias": "Alias URL",
"bulk.col.type": "Type",
"bulk.col.template": "Template",
"bulk.col.owners": "Propriétaires",
"bulk.col.members": "Membres",
"bulk.dlg.title": "Ajouter un site",
"bulk.dlg.title.edit": "Modifier un site",
"bulk.lbl.name": "Nom du site :",
"bulk.lbl.alias": "Alias URL (après /sites/) :",
"bulk.lbl.type": "Type de site :",
"bulk.rad.team": "Site d'équipe",
"bulk.rad.comm": "Site de communication",
"bulk.lbl.template": "Template :",
"bulk.lbl.owners": "Propriétaires (séparés par virgule) :",
"bulk.lbl.members": "Membres (séparés par virgule) :",
"bulk.btn.csv.members": "Importer CSV...",
"bulk.none": "(Aucun)",
"bulk.ph.owners": "admin@domaine.com, user2@domaine.com",
"bulk.ph.members": "user@domaine.com, ...",
"bulk.status.pending": "En attente",
"bulk.status.creating": "Création...",
"bulk.status.ok": "OK",
"bulk.status.error": "Erreur"
}