Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 693f21915d | |||
| ab39e55194 | |||
| a1edea3007 | |||
| db0f87dc00 | |||
| 28e4c21e80 | |||
| 5c5e4b1415 | |||
| 086804edf9 |
@@ -24,7 +24,7 @@ jobs:
|
||||
cd repo
|
||||
VERSION="${{ gitea.ref_name }}"
|
||||
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 "VERSION=${VERSION}" >> "$GITHUB_ENV"
|
||||
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
"${{ 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\"}" \
|
||||
-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'])")
|
||||
echo "RELEASE_ID=${RELEASE_ID}" >> "$GITHUB_ENV"
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
4
examples/bulk_transfer.csv
Normal file
4
examples/bulk_transfer.csv
Normal 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
|
||||
|
20
examples/folder_structure.csv
Normal file
20
examples/folder_structure.csv
Normal 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;
|
||||
|
35
lang/fr.json
35
lang/fr.json
@@ -106,6 +106,11 @@
|
||||
"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).",
|
||||
"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 ",
|
||||
"grp.bulk.list": "Sites à créer",
|
||||
@@ -137,5 +142,33 @@
|
||||
"bulk.status.pending": "En attente",
|
||||
"bulk.status.creating": "Création...",
|
||||
"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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user