Pārlūkot izejas kodu

Adds new app store metadata to sandstorm package definition

We still miss some branding stuff, such as screenshots, icons, and a
description.

This commit also hides an option related to user permissions managment
in the sandstorm package.
Maxime Quandalle 9 gadi atpakaļ
vecāks
revīzija
8b3a6a7819

+ 1 - 1
client/components/main/popup.styl

@@ -133,7 +133,7 @@ $popupWidth = 300px
     cursor: pointer
     display: block
     font-weight: 700
-    padding: 6px 10px
+    padding: 0px 10px
     position: relative
     margin: 0 -10px
     text-decoration: none

+ 11 - 10
client/components/sidebar/sidebar.jade

@@ -59,16 +59,17 @@ template(name="memberPopup")
       ul.pop-over-list
         li
           a.js-filter-member Filter cards
-        if currentUser.isBoardAdmin
-          li
-            a.js-change-role
-              | {{_ 'change-permissions'}}
-              span.quiet (#{memberType})
-          li
-            if currentUser.isBoardAdmin
-              a.js-remove-member {{_ 'remove-from-board'}}
-            else
-              a.js-leave-member {{_ 'leave-board'}}
+        unless isSandstorm
+          if currentUser.isBoardAdmin
+            li
+              a.js-change-role
+                | {{_ 'change-permissions'}}
+                span.quiet (#{memberType})
+            li
+              if currentUser.isBoardAdmin
+                a.js-remove-member {{_ 'remove-from-board'}}
+              else
+                a.js-leave-member {{_ 'leave-board'}}
 
 
 template(name="removeMemberPopup")

BIN
meta/keyring


BIN
meta/mquandalle-pgp-sig


BIN
meta/screenshots/board-view.png


+ 50 - 0
meta/t9n-changelog/fr.md

@@ -0,0 +1,50 @@
+# v0.8
+
+Cette version continue l’implémentation des fonctionnalités basique d’un
+logiciel de « kanban », en particulier:
+
+* Pièces jointes aux cartes basiques. Si le fichier joint est une image nous
+  générons une miniature qui peut être utilisé comme « couverture » de carte
+  (visible dans la vue générale du tableau);
+* Mention et auto-complétion des noms utilisateurs dans la description des
+  cartes et les commentaires (bien que n’ayant pas encore de système de
+  notification, cette fonctionnalité est moins utile qu’attendu);
+* Vues filtrées, les options de filtrage actuelles sont basées sur les
+  étiquettes et les membres assignés;
+* Créer et supprimer des étiquettes (précédemment nous avions une liste fixée
+  d’étiquettes)
+* Personnalisation de la couleur de fond du tableau.
+
+Cette version est également la première à offrir la traduction de l’interface
+utilisateur.
+
+Nouvelles langues supportées: français, allemand, japonais, portugais, et turc.
+
+# v0.7.1
+
+Cette version corrige les bogues suivants:
+
+* Perte inopinée du tri des carte côté serveur;
+* Correction d’un bug durant la création des tableaux;
+* Focus sur le formulaire de nouvelle list si le tableau est vide.
+
+# v0.7
+
+Cette version débute la transition d’un projet bac à sable en quelque chose de
+plus utile. En plus des améliorations de sécurité et de performance (par exemple
+l’ouverture des cartes était longue car l'intégralité du DOM était re-généré).
+Les nouvelles fonctionnalités incluent:
+
+* Ajouter et supprimer des étiquettes aux cartes;
+* Assigner et retirer l’assignation de membres aux cartes;
+* Archiver des cartes (bien que la restauration ne soit pas encore possible);
+* Tableaux favoris
+* Support du markdown et des emojies dans les commentaires et la description des
+  cartes;
+* Auto-complétion des emojies dans l'éditeur de texte;
+* Quelques raccourcis clavier (ex `Ctrl`+`Enter` pour envoyer une entrée
+  multi-lignes).
+
+Nous avons également débuté l’intégration avec la plateforme
+[Sandstorm](https://sandstorm.io) [en], et distribuons un `spk` (Sandstorm
+PacKage) pour cette version et les suivantes.

+ 100 - 16
sandstorm-pkgdef.capnp

@@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
     appTitle = (defaultText = "LibreBoard"),
     # The name of the app as it is displayed to the user.
 
-    appVersion = 2,
+    appVersion = 3,
     # Increment this for every release.
 
-    appMarketingVersion = (defaultText = "0.9.0"),
+    appMarketingVersion = (defaultText = "0.9.0_beta1"),
     # Human-readable presentation of the app version.
 
     minUpgradableAppVersion = 0,
@@ -38,24 +38,68 @@ const pkgdef :Spk.PackageDefinition = (
       # Define your "new document" handlers here.
       (
         title = (defaultText = "New board"),
-        command = .myCommand
+        command = .myCommand,
         # The command to run when starting for the first time. (".myCommand" is
         # just a constant defined at the bottom of the file.)
       )
     ],
 
-    continueCommand = .myCommand
+    continueCommand = .myCommand,
     # This is the command called to start your app back up after it has been
     # shut down for inactivity. Here we're using the same command as for
     # starting a new instance, but you could use different commands for each
     # case.
+
+    metadata = (
+      # icons = (
+      #   appGrid = (svg = embed "meta/icons/libreboard-128.svg"),
+      #   grain = (svg = embed "meta/icons/libreboard-24.svg"),
+      #   market = (svg = embed "meta/icons/libreboard-150.svg"),
+      # ),
+      # XXX We currently don't have an icon, because the bird image included in
+      # previous version was a copyright infringement, see
+      # https://github.com/libreboard/libreboard/issues/64.
+      # I have an idea to replace it but it's not ready yet.
+
+      website = "http://libreboard.com",
+      codeUrl = "https://github.com/libreboard/libreboard",
+      license = (openSource = mit),
+      categories = [productivity, office],
+
+      author = (
+        contactEmail = "maxime@quandalle.com",
+        pgpSignature = embed "meta/mquandalle-pgp-sig",
+      ),
+
+      pgpKeyring = embed "meta/keyring",
+
+      # screenshots = [
+      #   (
+      #     width = 1222,
+      #     height = 822,
+      #     png = embed "meta/screenshots/board-view.png"
+      #   ),
+      #   # XXX The UI visible screenshot is outdated, make some new screenshots
+      #   # before the final v0.9 release.
+      #   # XXX The screenshots should have a standard width and height.
+      # ],
+      # XXX Disabled because it seems that the PNG image is too large and causes
+      # an exception, is it?
+
+      changeLog = (
+        defaultText = embed "History.md",
+        localizations = [
+          (locale = "fr", text = embed "meta/t9n-changelog/fr.md"),
+        ],
+      )
+    )
   ),
 
   sourceMap = (
     # The following directories will be copied into your package.
     searchPath = [
-      ( sourcePath = ".meteor-spk/deps" ),
-      ( sourcePath = ".meteor-spk/bundle" )
+      (sourcePath = ".meteor-spk/deps"),
+      (sourcePath = ".meteor-spk/bundle"),
     ]
   ),
 
@@ -69,23 +113,63 @@ const pkgdef :Spk.PackageDefinition = (
     viewInfo = (
       permissions = [(
         name = "participate",
-        title = (defaultText = "participate"),
-        description = (defaultText = "allows participating in the board")
+        title = (
+          defaultText = "participate",
+          localizations = [
+            (locale = "fr", text = "participer"),
+          ],
+        ),
+        description = (
+          defaultText = "allows participating in the board",
+          localizations = [
+            (locale = "fr", text = "permet de participer dans le tableau"),
+          ],
+        )
       ), (
         name = "configure",
-        title = (defaultText = "configure"),
-        description = (defaultText = "allows configuring the board")
+        title = (
+          defaultText = "configure",
+          localizations = [
+            (locale = "fr", text = "configurer"),
+          ],
+        ),
+        description = (
+          defaultText = "allows configuring the board",
+          localizations = [
+            (locale = "fr", text = "permet de configurer le tableau"),
+          ],
+        )
       )],
 
       roles = [(
-        title = (defaultText = "observer"),
+        title = (
+          defaultText = "observer",
+          localizations = [
+            (locale = "fr", text = "observateur"),
+          ],
+        ),
         permissions = [false, false],
-        verbPhrase = (defaultText = "can read")
+        verbPhrase = (
+          defaultText = "can read",
+          localizations = [
+            (locale = "fr", text = "peut lire"),
+          ],
+        )
       ), (
-        title = (defaultText = "member"),
+        title = (
+          defaultText = "member",
+          localizations = [
+            (locale = "fr", text = "membre"),
+          ],
+        ),
         permissions = [true, false],
-        verbPhrase = (defaultText = "can edit"),
-        default = true
+        verbPhrase = (
+          defaultText = "can edit",
+          localizations = [
+            (locale = "fr", text = "peut éditer"),
+          ],
+        ),
+        default = true,
       # ), (
       #   title = (defaultText = "administrator"),
       #   permissions = [true, true],
@@ -95,7 +179,7 @@ const pkgdef :Spk.PackageDefinition = (
       # role is currently useless.
       )]
     )
-  )
+  ),
 );
 
 const myCommand :Spk.Manifest.Command = (