nodebb-plugin-onekite-calendar 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog – calendar-onekite
2
2
 
3
+ ## 1.0.3
4
+ - Suppression du texte d’archivage dans le toast de purge (plus de « 0 archivés »)
5
+ - Renommage du plugin : nodebb-plugin-onekite-calendar
6
+
3
7
  ## 1.0.2
4
8
  - Purge calendrier : suppression réelle des réservations (aucune logique d’archivage)
5
9
  - Compta conservée séparément (la purge n’y touche jamais)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-onekite-calendar",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "FullCalendar-based equipment reservation workflow with admin approval & HelloAsso payment for NodeBB",
5
5
  "main": "library.js",
6
6
  "license": "MIT",
package/plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "nodebb-plugin-onekite-calendar",
3
- "name": "Calendar OneKite",
3
+ "name": "OneKite Calendar",
4
4
  "description": "Equipment reservation calendar (FullCalendar) with admin approval & HelloAsso checkout",
5
5
  "url": "https://www.onekite.com/calendar",
6
6
  "hooks": [
@@ -39,5 +39,5 @@
39
39
  "acpScripts": [
40
40
  "public/admin.js"
41
41
  ],
42
- "version": "1.0.2"
42
+ "version": "1.0.3"
43
43
  }
package/public/admin.js CHANGED
@@ -643,7 +643,7 @@ define('admin/plugins/calendar-onekite', ['alerts', 'bootbox'], function (alerts
643
643
  if (!ok) return;
644
644
  try {
645
645
  const r = await purge(year);
646
- showAlert('success', `Purge OK (${r.removed || 0} supprimées, ${r.archivedForAccounting || 0} archivées — compta conservée).`);
646
+ showAlert('success', `Purge OK (${r.removed || 0} supprimées).`);
647
647
  await refreshPending();
648
648
  } catch (e) {
649
649
  showAlert('error', 'Purge impossible.');