Where can I find AndroidViewClient documentation? - automated-tests

Is there any documentation on AndroidViewClient covering public classes, methods, and syntax?

It is in the doc directory of the project.
You have to clone or download the project to view it properly in your browser as github's web interface will show the source code instead.
UPDATE
jthurner found a way, I didn't know existed, of showing the docs over github pages. You can now view the documentation online at API Documentation.

Related

There are no Views in the 2sic App-Media Directory application sample

I've downloaded App-Media Directory 1.0.0.7 from https://2sxc.org/en/apps/app/media-directory-app-for-dnn-dotnetnuke, and install it fine, but when I go into Apps Management I do NOT see any Views (or Queries or WebAPIs), and I believe I've seen references to List View and Press Release View. I also don't find this on GitHub to see if they might be there somehow.
Any ideas? I've not looked at older releases yet.
I posted a quick response to this on the same git-hub question. basically it's a very old ZIP format with an old XML inside it.
Importing it into a 2sxc 8 and re-exporting it fixes stuff, but since the app is very old and uses AngularJS, I don't recommend it.

Where is a docs for Jupyter front-end extensions JavaScript API?

I've read the docs about writing the Jupyter front-end extensions, and learn the examples, and now can build the simple extension by myself.
But - where is a complete docs for Jupyter extensions JavaScript API? How to find the JavaScript API for notebook properties and methods?
This answer is outdated. Also see answer below.
This might not be the answer you hoped for. However, it might help some readers being new to JavaScript development.
I also was looking for documentation on the Jupyter client API and could not find official docs.
The JavaScript source code can be found on the GitHub repository, for example:
https://github.com/jupyter/notebook/blob/859ae0ac60456c0e38b44f06852b8a24f8a1cfb0/notebook/static/notebook/js/notebook.js
https://github.com/jupyter/notebook/blob/4.2.2/notebook/static/services/kernels/kernel.js
What also helped was to
A. Use Google Chrome development tools, set a break point in the extension and type
Jupyter
in the console. Then you get a browsable tree structure that can be used to inspect the Jupyter object. That tree structure does not seem to contain methods.
B. Log all the properties of an object, including the methods. If you want to know about the methods of the notebook use for example
for(var property in Jupyter.notebook){ console.log(property)}
C. When typing in the console there is code completion. For example you might want to type
Jupyter.notebook.
and see the suggestions on how to complete the command:
Also see
How to inspect Javascript Objects
How to display all methods of an object?
https://www.codeproject.com/Articles/24549/How-to-Inspect-a-JavaScript-Object
Chrome Developer Tools console - inspect JavaScript object
Browsable tree structure in dev tools console:
How to list properties including methods:
...
For newcomers it might be confusing that there are several projects with similar names for historical reasons:
a) Jupyter
https://github.com/jupyter
b) JupyterLab
https://github.com/jupyterlab/
The webpage https://jupyter.org/ references the newer b). However, the sub projects of a) do not include deprecation warnings.
=> If you find some documentation via search engine, you have to be careful if its related to a) or b).
Current documentation for JupyterLab extensions can be found here:
General info:
https://jupyterlab.readthedocs.io/en/3.2.x/user/extensions.html
Javascript API doc:
https://jupyterlab.readthedocs.io/en/stable/api/modules.html
Examples:
https://github.com/jupyterlab/extension-examples
Discussion forum:
https://discourse.jupyter.org/c/jupyterlab/extensions/
Related:
https://www.quora.com/What-is-the-difference-between-JupyterLab-and-Jupyter-Notebook-Is-there-a-use-case-for-one-over-the-other?share=1
https://github.com/jupyterlab/jupyterlab-plugin-playground
Apparently, there are is no front-end API documentation, as there is an open GitHub issue that even references your SO question. Maybe a few +1s on the issue might change this, although I suspect that the answer (if any) will point to JupyterLab, which has a defined front-end API but has no common technical base with Jupyter Notebook front-end extensions.

Is it still possible to edit a document in google docs from alfresco share 4.2?

I have a 4.0.x binary installation of alfresco and have this menu highlighted below:
I have 2 custom installed 4.2.c versions and this option is missing. I have done the following to try and enable it as read from different parts of the web:
1) added the two following lines to both the share and the repo's alfresco-global.properties file
#enable GoogleDocs integration
googledocs.enabled=true
googledocs.googleeditable.enabled=true
2)Modified the share-custom-config.xml file in attempts to enable this and other google docs functionality.
So far this is the only thing missing. I am not sure whether this is a bug or whether I'm overlooking something else.
Yes, Google Docs integration works fine with Alfresco Community Edition 4.2.c. In fact, here is a video that shows you how to get it working:
http://www.youtube.com/watch?v=EbNDEp1KG1g
The video shows that the out-of-the-box installer will not create a working Google Docs integration due to changes on the Google side. So you need to reinstall the AMPs to both the alfresco and share wars as gagravarr mentioned above.
If you are using Google Docs integration in the repository folders (external to a Share site) you will need to install from head because there is a bug. If you are using the integration only within Share sites the latest released version of the integration, downloadable from the 4.2.c file list page, will be fine.

Which is the correct web site to download Moq binary files?

I want to play around with Moq framework. I wanted to download the framework, so I reached http://code.google.com/p/moq/ through google, but the first line mentions that this project has been moved to GitHub. When I went to GitHub I see only the source code. My questions are :
1) Which is the correct web site to download Moq binaries.? (I do not want Source code.).
2) Why am I not able to view the binary files in the GitHub website for Moq. Is it that I need to download the source code and then compile it myself.?
3) Should I only go to GitHub website in future for any updates. Currently code.google.com/p/moq provides binary files.
The moq project now moved to github. The quickstart is also now on github
So to answer you questions:
You can get the latest version from nuget: http://nuget.org/packages/Moq/
Or download the latest binaries from github: https://github.com/Moq/moq4/releases
At the moment you can still download the old moq binaris from the Downloads page: https://code.google.com/p/moq/downloads/list (you can use to search filter if you are looking for older versions) or you can use
In the future a who knows where it be hosted, because it is an open source project you can create you own fork and maintain it to make sure that it will last until you need it.

How to host and publish Alfresco WCM

I'm very new to Alfresco and trying to get hold of it. I'm using Community edition 4.2 and I've created one website using Alfresco Share and I did not imported Government/Finance website data. Below is the screenshot -
Now I've created two folders under Document Library tab and have uploaded few PDFs into that. It looks like below -
Now if I click on publish link then its saying that "There is no appropriate channel for this content".
I entered ubswcm as URL name while creating this site.
I followed the link http://docs.huihoo.com/alfresco/Getting-Started-with-WCM-for-Alfresco-Commumity-Edition-3.2.pdf which talks about stating but I could not find staging in this version of Alfresco 4.2.
My questions
How can I publish this content?
How can I run this website on localhost? Do I need to create war file? If so then please advice how to proceed on this.
http://:8080/wcmqs running fine. How can I build slimier site like this in http://:8080/ubswcm ? Please suggest if you have any tutorial on this.
Many thanks for your help!
You need to follow a tutorial on the Alfresco Web Quick Start capabilities. You should find that these capabilities are well-documented on docs.alfresco.com, e.g. Using Alfresco Web Quick Start.
Do not confuse Web Quick Start with the Social Publishing framework (which the Publish action is associated with) or with the legacy AVM-based WCM services (which I assume the PDF refers to, but I could not tell for sure as you link gives me a 404) that are no longer supported in Alfresco 4.

Resources