You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XWIKI-17733: Use a LiveTable to display the page liked in user profile
XWIKI-17724: Display Likers in a LiveTable
* Use livetables in Likes UI
* Add a new missing method to count user likes globally for allowing
pagination
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-api/src/main/java/org/xwiki/like/LikeManager.java
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-api/src/main/java/org/xwiki/like/internal/DefaultLikeManager.java
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-api/src/main/java/org/xwiki/like/script/LikeScriptService.java
+20
Original file line number
Diff line number
Diff line change
@@ -214,6 +214,26 @@ public List<EntityReference> getUserLikes(UserReference userReference, int offse
214
214
returnCollections.emptyList();
215
215
}
216
216
217
+
/**
218
+
* Count the number of likes performed by the given user.
219
+
*
220
+
* @param userReference the user for whom to count likes.
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-api/src/test/java/org/xwiki/like/internal/DefaultLikeManagerTest.java
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-api/src/test/java/org/xwiki/like/script/LikeScriptServiceTest.java
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-ui/src/main/resources/XWiki/Like/LikeTranslations.de.xml
XWiki.Like.LikeConfigurationClass_alwaysDisplayButton.hint=Die "Gefällt mir" Schaltfläche immer anzeigen - selbst wenn der Nutzer kein Recht hat diese zu benutzen. Anschalten, um die Anzahl der "Gefällt mir" immer anzuzeigen.
XWiki.Like.LikeConfigurationClass_cacheCapacity.hint=Anzahl der "Gefällt mir"-Informationen im Cache. Sie müssen XWiki neustarten, damit veränderte Einstellungen angewendet werden.</content>
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-ui/src/main/resources/XWiki/Like/LikeTranslations.es.xml
-1
Original file line number
Diff line number
Diff line change
@@ -57,5 +57,4 @@ XWiki.Like.LikeConfigurationClass_alwaysDisplayButton=Mostrar siempre el botón
57
57
XWiki.Like.LikeConfigurationClass_alwaysDisplayButton.hint=Mostrar el botón incluso si el usuario no tiene derecho de interaccionar con él. Úsalo si deseas mostrar siempre el contador de "Me gusta".
58
58
XWiki.Like.LikeConfigurationClass_cacheCapacity=Capacidad de la caché
59
59
XWiki.Like.LikeConfigurationClass_cacheCapacity.hint=Número de información de "Me gusta" guardada en la caché. Ten en cuenta que tienes que reiniciar XWiki para que se activen los cambios de esta opción.</content>
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-ui/src/main/resources/XWiki/Like/LikeTranslations.fr.xml
-1
Original file line number
Diff line number
Diff line change
@@ -57,5 +57,4 @@ XWiki.Like.LikeConfigurationClass_alwaysDisplayButton=Toujours afficher le bouto
57
57
XWiki.Like.LikeConfigurationClass_alwaysDisplayButton.hint=Afficher le bouton même si l'utilisateur n'a pas les droits pour intéragir avec. Utilisez cette option si vous souhaitez toujours afficher le compteur de J'aime.
58
58
XWiki.Like.LikeConfigurationClass_cacheCapacity=Capacité du Cache
59
59
XWiki.Like.LikeConfigurationClass_cacheCapacity.hint=Nombre d'information J'aime à conserver dans le cache. Notez que vous devrez redémarrer XWiki pour que cette option soit prise en compte.</content>
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-ui/src/main/resources/XWiki/Like/LikeTranslations.no.xml
-1
Original file line number
Diff line number
Diff line change
@@ -57,5 +57,4 @@ XWiki.Like.LikeConfigurationClass_alwaysDisplayButton=Vis alltid Liker-knappen
57
57
XWiki.Like.LikeConfigurationClass_alwaysDisplayButton.hint=Vis knappen selv om brukeren ikke har rettigheter til å bruke den. Bruk hvis du alltid vil vise Liker-telleren.
XWiki.Like.LikeConfigurationClass_cacheCapacity.hint=Antall Liker-informasjon som er lagret i hurtigbufferen. Merk at du må starte XWiki på nytt for at dette valget skal aktiveres.</content>
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-ui/src/main/resources/XWiki/Like/LikeTranslations.ru.xml
-1
Original file line number
Diff line number
Diff line change
@@ -57,5 +57,4 @@ like.newlike.error=Ошибка при попытке поставить "Нра
57
57
### Missing: XWiki.Like.LikeConfigurationClass_alwaysDisplayButton.hint=Display the button even if the user doesn't have the rights to interact with it. Use it if you wish to always display the Likes counter.
### Missing: XWiki.Like.LikeConfigurationClass_cacheCapacity.hint=Number of Like information kept in cache. Note that you have to restart XWiki for this option change to be taken into account.</content>
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-ui/src/main/resources/XWiki/Like/LikeTranslations.xml
+4-1
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,10 @@ like.button.title.like=Click to like the current page. Number of likes on this p
52
52
like.button.title.unlike=Click to unlike the current page. Number of likes on this page: {0}.
53
53
like.likers.empty=No one likes this page yet.
54
54
like.likers.number={0} person(s) like this page:
55
-
like.likers.title=Likes on {0}
55
+
like.likers.title=Likers of {0}
56
+
like.livetable.column.title=Title
57
+
like.livetable.column.location=Location
58
+
like.livetable.column.likes=Likes
56
59
XWiki.Like.LikeConfigurationClass_alwaysDisplayButton=Always display Like button
57
60
XWiki.Like.LikeConfigurationClass_alwaysDisplayButton.hint=Display the button even if the user doesn't have the rights to interact with it. Use it if you wish to always display the Likes counter.
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-ui/src/main/resources/XWiki/Like/LikeViewersMenuUIX.xml
0 commit comments