agea / alfresco-html5-client Goto Github PK
View Code? Open in Web Editor NEWPure HTML5 and Javascript Alfresco client
License: MIT License
Pure HTML5 and Javascript Alfresco client
License: MIT License
Alfresco creates several system folders per Site. dataLists and discussions, for example. As only the documents in the documentLibrary are proper files, these other folders are quite useless in the HTML5-client.
When searching for a keyword that exists in a datalist, the HTML5-app actually stops functioning, unless you do a hard refresh.
Is there any way to 'filter out' or exclude the display of these folders from normal view and search?
Currently one has to use the mouse click on the Login button to log in. Enter/Return key on the keyboard doesn't work.
Today I was playing a bit with the latest version and I must say that the separated templates make things a lot more manageable.
When I tried downloading a file from the file- or detailview, I got a file with the right size, but with the wrong name. I got a file named 'a54b15d9-5c18-43d9-8f39-cd6a5dad6003' instead of 'Document 1.xlsx'.
I can see the href is changed, but (as a quick hack) when I replace the new code with the old one, it doesn't work and I get an authentication-error.
When I check the requests made by the HTML5-Client, I can see it sends the username and password in clear text in the URL. Like this:
https://user:password@url/alfresco/et cetera
As this is quite a bit of a security risk, is there some way to improve the way the HTML5-Client sends the login info?
Would it be possible to use a remote Alfresco repository?
Now it seems necessary to have Alfresco running on the same machine, as the code relies on connecting to /alfresco/cmisbrowser.
I would like to be able to connect to something like "https://share.alfresco.ext/alfresco/cmisbrowser".
Hi not sure if this is in scope or not - but if change the cmis query from
select * from cmis:documents
to something like
select d.* from cmis:documents as d
the knockout parsing seems to break on the results. For example:
[Error] Error: Unable to parse bindings.
Message: TypeError: 'undefined' is not an object (evaluating '$data.properties['cmis:name'].value');
Bindings value: text: $data.properties['cmis:name'].value
I have been checking this out to query aspects (with a correctly formed Alfresco CMIS query) and while the right number of results are returned (I can check results.numItems), something is choking when I try to iterate through the results using the standard search result templates you have in the project
I have done a direct CMIS query to be returned via XML, and the resultant XML string only differs in a timestamp and the actual query string - I can provide an example if you wish - I don't seem to be able to attach text files to this issue
This screen shot is for a search around cmis:folders - but it occurs for cmis:documents as well
Using this app with Alfresco 5.0.b everything seems to work excellently until I click the download link. When I click the download link I get an error message stating "This webpage is not available."
My Setup:
Ubuntu Server 14.04 running Alfresco 5.0.b as a Virtual Machine through VMWare Fusion. The IP of my Machine is 192.168.172.135:8080.
Possible issues:
If I figure out the solution I'll fork and make a pull request.
Needs a logout option and a login dialog.
As a suggestion.
As a suggestion.
Is there any way to sort the resulting objects?
CMIS for example supports the likes of:
It would be nice to at least be able to add a pre-defined order.
Can you set the licence for the code - or otherwise we others can't really use it anyhow.
I'm currently doing something similar and we could possible collaborate on some parts.
Hi,
I downloaded the latest from GitHub and configured it on Tomcat. As soon as I enter my login information, I get a blank page. There is also a JS error on the browser console. Below is the log from the console. Please note the error in the last line. It looks like the mapping of the o/p JSON from /alfresco/cmisbrowser is not happening properly.
XHR finished loading: "http://localhost:8080/Alfresco-HTML5-Client-master/templates/login.html?_=1380297427309". jquery.min.js:2
XHR finished loading: "http://localhost:8080/alfresco/service/api/login". jquery.min.js:2
XHR finished loading: "http://localhost:8080/alfresco/cmisbrowser". jquery.min.js:2
XHR finished loading: "http://localhost:8080/alfresco/cmisbrowser/16c74505-e4dc-4562-a48a-d27faeda37d0/root?cmisselector=object". jquery.min.js:2
Uncaught TypeError: Cannot read property 'cmis:objectId' of undefined cmisbrowser.js:328
Thanks,
Jerry
I want to host Alfresco-HTML5-Client on a separate machine, not on the Alfresco server itself.
Is there a way to achieve this?
The best would be to be able to specify the CMIS URL somewhere.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.