14 Commits

Author SHA1 Message Date
10bfe6debc Merge branch 'main' of https://git.azuze.fr/kawa/Sharepoint-Toolbox
All checks were successful
Release zip package / release (push) Successful in 1s
2026-04-01 17:12:30 +02:00
945a4e110d Update TODO.md 2026-04-01 17:12:24 +02:00
109d0d5f1e Update TODO.md 2026-03-27 09:57:13 +01:00
b4f0fecad2 Merge branch 'main' of https://git.azuze.fr/kawa/Sharepoint-Toolbox
All checks were successful
Release zip package / release (push) Successful in 1s
2026-03-27 09:54:11 +01:00
903fa17f8a Updated workflow to include CSV examples folder 2026-03-27 09:54:01 +01:00
693f21915d Updated workflow to include CSV examples folder
All checks were successful
Release zip package / release (push) Successful in 1s
2026-03-17 11:03:23 +01:00
ab39e55194 Added mass-transfer
All checks were successful
Release zip package / release (push) Successful in 1s
2026-03-17 10:57:11 +01:00
a1edea3007 Cleanup2
All checks were successful
Release zip package / release (push) Successful in 1s
2026-03-17 10:36:59 +01:00
db0f87dc00 Cleanup 2026-03-17 10:36:41 +01:00
28e4c21e80 Added version cleanup feature 2026-03-17 10:35:39 +01:00
5c5e4b1415 Buttons size fix 2026-03-16 16:55:27 +01:00
086804edf9 Added functionnality : you can vcreate a whole folder tree by importing a CSV (see examples fodler) 2026-03-16 16:39:37 +01:00
9dc85c8057 Added sample CSV files for user/sites importation.
All checks were successful
Release zip package / release (push) Successful in 1s
Fixed a few bugs.
2026-03-16 13:45:00 +01:00
9bcbad5d5b Ajoute de barres de recherches dans les rapports HTML de permissions et stockage
All checks were successful
Release zip package / release (push) Successful in 1s
2026-03-16 11:44:17 +01:00
8 changed files with 1217 additions and 262 deletions

View File

@@ -24,7 +24,7 @@ jobs:
cd repo cd repo
VERSION="${{ gitea.ref_name }}" VERSION="${{ gitea.ref_name }}"
ZIP="SharePoint_ToolBox_${VERSION}.zip" ZIP="SharePoint_ToolBox_${VERSION}.zip"
zip -r "../${ZIP}" Sharepoint_ToolBox.ps1 lang/ zip -r "../${ZIP}" Sharepoint_ToolBox.ps1 lang/ examples/
echo "ZIP=${ZIP}" >> "$GITHUB_ENV" echo "ZIP=${ZIP}" >> "$GITHUB_ENV"
echo "VERSION=${VERSION}" >> "$GITHUB_ENV" echo "VERSION=${VERSION}" >> "$GITHUB_ENV"
@@ -34,7 +34,7 @@ jobs:
"${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/releases" \ "${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/releases" \
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \ -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
-H "Content-Type: application/json" \ -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\"}" \ -d "{\"tag_name\":\"${{ env.VERSION }}\",\"name\":\"SharePoint ToolBox ${{ env.VERSION }}\",\"body\":\"1. Download and extract the archive\\n2. Launch Sharepoint_ToolBox.ps1 with PowerShell\\n\"}" \
| python3 -c "import sys,json; print(json.load(sys.stdin)['id'])") | python3 -c "import sys,json; print(json.load(sys.stdin)['id'])")
echo "RELEASE_ID=${RELEASE_ID}" >> "$GITHUB_ENV" echo "RELEASE_ID=${RELEASE_ID}" >> "$GITHUB_ENV"

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -0,0 +1,8 @@
Email
user1@contoso.com
user2@contoso.com
user3@contoso.com
manager1@contoso.com
designer@contoso.com
analyste@contoso.com
stagiaire@contoso.com
1 Email
2 user1@contoso.com
3 user2@contoso.com
4 user3@contoso.com
5 manager1@contoso.com
6 designer@contoso.com
7 analyste@contoso.com
8 stagiaire@contoso.com

View File

@@ -0,0 +1,6 @@
Name;Alias;Type;Template;Owners;Members
Projet Alpha;projet-alpha;Team;;admin@contoso.com;user1@contoso.com, user2@contoso.com
Projet Beta;;Team;;admin@contoso.com;user3@contoso.com, user4@contoso.com
Communication RH;;Communication;;rh-admin@contoso.com;manager1@contoso.com, manager2@contoso.com
Equipe Marketing;equipe-marketing;Team;;marketing-lead@contoso.com;designer@contoso.com, redacteur@contoso.com
Portail Intranet;;Communication;;it-admin@contoso.com;
1 Name Alias Type Template Owners Members
2 Projet Alpha projet-alpha Team admin@contoso.com user1@contoso.com, user2@contoso.com
3 Projet Beta Team admin@contoso.com user3@contoso.com, user4@contoso.com
4 Communication RH Communication rh-admin@contoso.com manager1@contoso.com, manager2@contoso.com
5 Equipe Marketing equipe-marketing Team marketing-lead@contoso.com designer@contoso.com, redacteur@contoso.com
6 Portail Intranet Communication it-admin@contoso.com

View File

@@ -0,0 +1,4 @@
SourceSite;SourceLibrary;DestSite;DestLibrary
https://contoso.sharepoint.com/sites/ProjectA;Shared Documents;https://contoso.sharepoint.com/sites/Archive;Shared Documents/ProjectA
https://contoso.sharepoint.com/sites/ProjectB;Shared Documents/Reports;https://contoso.sharepoint.com/sites/Archive;Shared Documents/ProjectB/Reports
https://contoso.sharepoint.com/sites/HR;Documents RH;https://contoso.sharepoint.com/sites/HR-Backup;Documents RH
1 SourceSite SourceLibrary DestSite DestLibrary
2 https://contoso.sharepoint.com/sites/ProjectA Shared Documents https://contoso.sharepoint.com/sites/Archive Shared Documents/ProjectA
3 https://contoso.sharepoint.com/sites/ProjectB Shared Documents/Reports https://contoso.sharepoint.com/sites/Archive Shared Documents/ProjectB/Reports
4 https://contoso.sharepoint.com/sites/HR Documents RH https://contoso.sharepoint.com/sites/HR-Backup Documents RH

View File

@@ -0,0 +1,20 @@
Level1;Level2;Level3;Level4
Administration;;;
Administration;Comptabilite;;
Administration;Comptabilite;Factures;
Administration;Comptabilite;Bilans;
Administration;Ressources Humaines;;
Administration;Ressources Humaines;Contrats;
Administration;Ressources Humaines;Fiches de paie;
Projets;;;
Projets;Projet Alpha;;
Projets;Projet Alpha;Documents;
Projets;Projet Alpha;Livrables;
Projets;Projet Beta;;
Projets;Projet Beta;Documents;
Communication;;;
Communication;Interne;;
Communication;Interne;Notes de service;
Communication;Externe;;
Communication;Externe;Communiques de presse;
Communication;Externe;Newsletter;
1 Level1 Level2 Level3 Level4
2 Administration
3 Administration Comptabilite
4 Administration Comptabilite Factures
5 Administration Comptabilite Bilans
6 Administration Ressources Humaines
7 Administration Ressources Humaines Contrats
8 Administration Ressources Humaines Fiches de paie
9 Projets
10 Projets Projet Alpha
11 Projets Projet Alpha Documents
12 Projets Projet Alpha Livrables
13 Projets Projet Beta
14 Projets Projet Beta Documents
15 Communication
16 Communication Interne
17 Communication Interne Notes de service
18 Communication Externe
19 Communication Externe Communiques de presse
20 Communication Externe Newsletter

View File

@@ -106,6 +106,11 @@
"ph.xfer.site": "https://tenant.sharepoint.com/sites/xxx", "ph.xfer.site": "https://tenant.sharepoint.com/sites/xxx",
"ph.xfer.library": "Documents partagés/sous-dossier", "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).", "xfer.note": "Seule la version actuelle de chaque fichier est transférée (pas d'historique de versions).",
"chk.xfer.create.folders": "Créer les dossiers manquants",
"btn.xfer.csv": "Importer CSV...",
"btn.xfer.csv.clear": "Effacer",
"lbl.xfer.csv.info": "{0} transfert(s) chargé(s)",
"lbl.xfer.report.fmt": "Rapport :",
"tab.bulk": " Création en masse ", "tab.bulk": " Création en masse ",
"grp.bulk.list": "Sites à créer", "grp.bulk.list": "Sites à créer",
@@ -137,5 +142,49 @@
"bulk.status.pending": "En attente", "bulk.status.pending": "En attente",
"bulk.status.creating": "Création...", "bulk.status.creating": "Création...",
"bulk.status.ok": "OK", "bulk.status.ok": "OK",
"bulk.status.error": "Erreur" "bulk.status.error": "Erreur",
"tab.structure": " Structure ",
"grp.struct.csv": "Import CSV",
"lbl.struct.desc": "Importez un CSV pour créer une arborescence. Chaque colonne représente un niveau de profondeur.",
"btn.struct.csv": "Charger CSV...",
"grp.struct.preview": "Aperçu",
"grp.struct.target": "Cible",
"lbl.struct.library": "Bibliothèque cible :",
"ph.struct.library": "Documents partagés",
"btn.struct.create": "Créer l'arborescence",
"btn.struct.clear": "Effacer",
"struct.col.path": "Chemin complet",
"struct.col.depth": "Profondeur",
"tab.versions": " Versions ",
"grp.ver.keep": "Versions à conserver",
"lbl.ver.count": "Nombre de versions à garder :",
"chk.ver.date": "Filtrer aussi par date",
"rad.ver.before": "Garder les versions avant le :",
"rad.ver.after": "Garder les versions après le :",
"grp.ver.scope": "Périmètre",
"lbl.ver.library": "Bibliothèque / Dossier :",
"ph.ver.library": "Documents partagés",
"chk.ver.recursive": "Inclure les sous-dossiers (récursif)",
"chk.ver.subsites": "Inclure les sous-sites",
"chk.ver.dryrun": "Simulation (aperçu uniquement, aucune suppression)",
"btn.ver.run": "Nettoyer les versions",
"btn.ver.open": "Ouvrir le rapport",
"btn.register.app": "Enregistrer",
"reg.title": "Enregistrement de l'application",
"reg.offer": "Aucun Client ID fourni. Enregistrer une nouvelle application sur ce tenant ?",
"reg.confirm": "Enregistrer l'application 'SharePoint Toolbox' sur le tenant {0} ?",
"reg.in.progress": "En cours...",
"reg.success": "Application enregistrée avec succès !\nClient ID : {0}\nVous pouvez sauvegarder ce profil pour le réutiliser.",
"reg.err.tenant": "Impossible de déterminer le tenant à partir de l'URL fournie.",
"reg.err.nocmd": "Le module PnP.PowerShell ne supporte pas l'enregistrement d'applications. Veuillez enregistrer l'application manuellement dans Entra ID.",
"reg.err.no.id": "Enregistrement terminé mais aucun Client ID n'a été retourné.",
"reg.err.failed": "Échec de l'enregistrement :\n{0}",
"reg.err.no.tenant": "Veuillez d'abord saisir une URL de tenant.",
"reg.err.nopwsh": "PowerShell 7+ (pwsh) est requis pour l'enregistrement d'application mais n'a pas été trouvé. Installez-le depuis https://aka.ms/powershell",
"validate.missing.clientid": "Veuillez saisir un Client ID.",
"validate.missing.clientid.hint": "Veuillez saisir un Client ID ou utilisez le bouton 'Enregistrer' pour en créer un.",
"validate.missing.title": "Champ manquant"
} }