Mattermost: How to view list of files uploaded to a channel - mattermost

Is there a way to view a list of all the files that people have uploaded/attached to a channel? Perhaps even through the search feature or a slash command? Or maybe there's a simple plugin that adds this functionality?
As a comparison, this is a basic feature of HipChat and Slack, but I don't see it in Mattermost. I'm trying out Mattermost Team Edition version 3.6.2. But for the most part, Mattermost is a great and most welcome app.

Now there is a plugin for that, compatible with versions 5.12+:
https://github.com/Amonith/mattermost-file-list
Disclaimer: I'm the author.

FWIW, meanwhile there is a comprehensive UI available from the "Search" edit to allow just that:

Mattermost currently (version 3.6) does not have any feature or API endpoint to allow listing all attachments in a channel, nor any way of searching for messages with attachments, so this currently isn't possible.

Related

How to get publicly accessible crashlytics report url?

I want to share my crashlytics crash report to some 3rd parties.
How can I get a publicly accessible url like below?
http://crashes.to/s/419b5b28766
I am bit new here, is it a old deprecated crashlytics feature?
I don't seem to find in my fabric crashlytics dashboard.
Zubair - from Fabric/Firebase. Great question. We deprecated that share link feature, so those won’t be accessible anymore. The decision to drop support for it was based on customer feedback, and because we don’t plan to carry over the share links feature over to Firebase.
Definitely not ideal if you were using that feature a lot, but as a workaround I recommend downloading the stacktrace and issue details with the "Download .txt" file button and sharing that instead.
Downloading the stacktrace and issue details with the "Download .txt" file button was part of the Fabric.io. In Google Firebase, using the BigQuery is the best way to get that data. To to that make sure, you have enabled the BQ Integration under Project Settings > Integrations > BigQuery

How to install Telligent with sitecore 8.1?

I want to install and configure telligent with sitecore 8.1. In Telligent documentation i don't know from where i should start installing the telligent, there are lots of process defined. can any one tell me the process to install telligent with sitecore 8.1.
The first thing to understand is that they are 2 different products so you need to first install both of them separately according to their own system requirements. Generally Sitecore keeps this documentation here : https://dev.sitecore.net/
To install Telligent Community refer to here:
https://community.telligent.com/documentation/w/telligent-community-90/52408.install-telligent-community
Once that is done you have 2 ways to integrate:
REST Apis and Single Sign On Modules. You could use the cookies auth module to do single sign on then you need to gather data from Telligent Community from its REST API.
community.telligent.com/training/w/developer90/52426.cookies-authentication#
community.telligent.com/training/w/developer90/52429.rest-api
The recommend way is the use the Telligent Community REST SDK which is still using REST but makes it easier and has some single sign on capabilities built in. There is also some samples you can refer to.
community.telligent.com/training/w/developer90/52432.rest-sdk
github.com/Telligent/Community-Rest-SDK
github.com/Telligent/Social-SitecoreSDK-Samples
community.telligent.com/training/w/developer90/52432.rest-sdk
forgive the non-links, it will not let me post that many.

Is there any API to automate extension installation in XWiki?

I use xwiki Enterprise 7.4. The official way to install extensions is to use either Import feature or Extension Manager. Both ways require user interaction. I would like to automate extension installation process, so no user interactions for extension installation. Is it possible? I've automated spaces/pages creation via REST API. Maybe it's possible to use REST API to do it, I can't find it in documentation.
Why do I need it? It's simple: I've automated all the steps of deployment/migration process for my application and I would like to automate xwiki extension installation too.
As indicated by Vincent, you can use the extension script service from inside XWiki. This script service is what the UI is using so everything the UI is doing can be done also by any script (as long as the script author has proper rights).
I just wrote a Velocity example on http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Script+Module#HNon-interactiveandsynchronousinstall:
{{velocity}}
## Create install request for extension with id org.xwiki.contrib:extension-tweak and version 1.3 on current wiki
#set($installRequest = $services.extension.createInstallRequest('org.xwiki.contrib:extension-tweak', '1.3', "wiki:${xcontext.database}"))
## Disable interactive mode
$installRequest.setInteractive(false)
## Start install
#set($installJob = $services.extension.install($installRequest))
## Wait until install is done
$installJob.join()
{{/velocity}}
All you need is to put the Thomas' script in a page. You can use the REST API for that. See: http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HPageresources
Then you call the URL from your application.
Ex: you put the code in XWiki/AutoInstall with a REST call and then you can call this page with the following url:
http://localhost:8080/xwiki/bin/get/XWiki/AutoInstall
I suggest to use the "get" action from the URL to avoid unnecessary informations.
The XWiki Core dev team is aware of this and it's in the roadmap but it's not done yet. For example you can see that it was planned for the 8.0 roadmap but it slipped (http://www.xwiki.org/xwiki/bin/view/Roadmaps/Archives8xCycle/).
Continue improving upgrade tools: Scriptable upgrades (priority 1), Simulation (priority 2)
It seems there's no issue created for this at the moment. Would be great if you could create a JIRA issue at http://xwiki.org in the XWiki Platform project.
Now regarding extensions, there's some Script Service that can be used to manipulate extensions, see http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Script+Module
However this documentation is pretty terse. You could check the java code at https://github.com/xwiki/xwiki-platform/blob/95abd2951123431c1624c124b49ca7a88b41be00/xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-script/src/main/java/org/xwiki/extension/script/ExtensionManagerScriptService.java#L84-L84
I've not personally used this script service so I can't give real examples of using this API

Is it a bad idea to call phaser.min.js directly from GitHub?

As a jQuery user, I link the remote library from Google using
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
which is very clever because it's already loaded in the brower cache if the reader visited another site that did the same.
As I discover Phaser, I was hoping to see people on the web doing the same with
<script src="https://raw.githubusercontent.com/photonstorm/phaser/master/build/phaser.min.js"></script>
or any library hoster, but apparently no one does.
Is there a reason why Phaser users don't do that?
I would strongly advise against linking to the master release as it will absolutely break your games over time. Most of the 2.0.x updates have been non-API changing, but 2.1 and above will be altering some core aspects of Phaser. You should only ever link to specific versions.
For a similar service to the Google hosted APIs (of which they only host very specific libraries that they've selected) we use CDN.js, which offers the same thing. You can find details in the Phaser README or just go to http://cdnjs.com/ and search for Phaser.
There is as such no issue if you link to a specific version. But you don't want the latest build, as this can potentially break your site by making changes.
I don't know Github's policies on referencing their site like this.

Apache Isis vs JSON Presentation

I am working on building a sample web application for proof of concept - with a link of some sort on an html page consuming a restful web service via a json object and displaying the data on the web page .
Something like the Apache Isis todo maintenance version with presentation of the json representation on a web page.
I have been trying to use the JQueryMobile example of the Apache Isis (http://danhaywood.com/2012/01/20/jquerymobile-on-apache-isis-rest-api/). But, I do not have the original source code (only the war file with some online demo jar files in the lib). I could decompile the online demo jar files, but its not straight forward setting up the project in eclipse for adapting to a real life project. I searched the Isis github repo and could not find the source , no archtype like the simple wicket etc. Please, could someone help, I really need a sample app or references, with source file and or any kind of guideline on how this works end to end.
FYI - We are not considering changing the choice of technology here, Its DDD using Apache Isis. Any help will be appreciated ... Since there are not too many online tutorials or sample app on this project. Thanks.
I think you posted a similar question on my youtube channel. Just to reiterate what I said there, you might want to check out the JQueryMobile viewer that was developed by one of our "google summer of code" students last year, namely https://github.com/bhargavgolla/isisJavaScript/tree/master/isisJavaScriptViewer.
In terms of ongoing help, your best bet is subscribing to the mailing list (blank email to users-subscribe#isis.apache.org, and reply to the confirmation) then send your questions via email to users#isis.apache.org
HTH
Dan