mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
clean repo
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
service_name: travis-pro
|
|
||||||
repo_token: zII4rVtXRGvQ8WZAd8mAHKe8voLNgZcio
|
|
@@ -19,8 +19,6 @@ before_install:
|
|||||||
- sh -e /etc/init.d/xvfb start
|
- sh -e /etc/init.d/xvfb start
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
|
||||||
- DEV_REGISTRY=http://devproducts.alfresco.me:8081/
|
|
||||||
matrix:
|
matrix:
|
||||||
- MODULE=ng2-alfresco-core
|
- MODULE=ng2-alfresco-core
|
||||||
- MODULE=ng2-alfresco-datatable
|
- MODULE=ng2-alfresco-datatable
|
||||||
@@ -31,9 +29,7 @@ env:
|
|||||||
- MODULE=ng2-alfresco-viewer
|
- MODULE=ng2-alfresco-viewer
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- npm set proxy $DEV_REGISTRY
|
- cd ./ng2-components/$MODULE; npm install
|
||||||
- npm config set https-proxy $DEV_REGISTRY
|
|
||||||
- cd ./ng2-components/$MODULE; npm install --registry $DEV_REGISTRY
|
|
||||||
- ls -ltrh ./node_modules/
|
- ls -ltrh ./node_modules/
|
||||||
script: npm run test
|
script: npm run test
|
||||||
# Send coverage data to Coveralls
|
# Send coverage data to Coveralls
|
||||||
|
@@ -28,7 +28,7 @@ Here is a list of some of the available web components:
|
|||||||
- [Login](ng2-components/ng2-alfresco-login/README.md)
|
- [Login](ng2-components/ng2-alfresco-login/README.md)
|
||||||
- [Upload](ng2-components/ng2-alfresco-upload/README.md)
|
- [Upload](ng2-components/ng2-alfresco-upload/README.md)
|
||||||
|
|
||||||
You can browse all the components at this [page](http://devproducts.alfresco.me/).
|
You can browse all the components at this [page](http://devproducts.alfresco.com/).
|
||||||
|
|
||||||
An architecture overview looks like this:
|
An architecture overview looks like this:
|
||||||
|
|
||||||
|
@@ -5,7 +5,8 @@ The [Angular 2](https://angular.io/) based application development framework req
|
|||||||
- An Alfresco Platform Repository to talk to, which has [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) enabled.
|
- An Alfresco Platform Repository to talk to, which has [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) enabled.
|
||||||
- [Node.js](https://nodejs.org/en/) JavaScript runtime.
|
- [Node.js](https://nodejs.org/en/) JavaScript runtime.
|
||||||
- [npm](https://www.npmjs.com/) package manager for JavaScript.
|
- [npm](https://www.npmjs.com/) package manager for JavaScript.
|
||||||
- Access to the [Alfresco private npm repository](http://devproducts.alfresco.me) that contains the web components (note, you need VPN access to view)
|
- Access to the [Alfresco private npm repository](http://devproducts.alfresco.com) that contains the web components (note, you need VPN
|
||||||
|
access to view)
|
||||||
|
|
||||||
## Installing Alfresco
|
## Installing Alfresco
|
||||||
|
|
||||||
|
@@ -50,7 +50,7 @@ The following is a list of some of the components that you can use when building
|
|||||||
- [Login](ng2-components/ng2-alfresco-login/README.md)
|
- [Login](ng2-components/ng2-alfresco-login/README.md)
|
||||||
- [Upload](ng2-components/ng2-alfresco-upload/README.md)
|
- [Upload](ng2-components/ng2-alfresco-upload/README.md)
|
||||||
|
|
||||||
You can browse all the components at the following [page](http://devproducts.alfresco.me/).
|
You can browse all the components at the following [page](http://devproducts.alfresco.com/).
|
||||||
|
|
||||||
## Yeoman generators
|
## Yeoman generators
|
||||||
|
|
||||||
|
@@ -34,4 +34,4 @@
|
|||||||
|
|
||||||
You can browse all the components at the following address:
|
You can browse all the components at the following address:
|
||||||
|
|
||||||
http://devproducts.alfresco.me/
|
http://devproducts.alfresco.com/
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
service_name: travis-pro
|
|
||||||
repo_token: zII4rVtXRGvQ8WZAd8mAHKe8voLNgZcio
|
|
@@ -1,2 +0,0 @@
|
|||||||
service_name: travis-pro
|
|
||||||
repo_token: zII4rVtXRGvQ8WZAd8mAHKe8voLNgZcio
|
|
@@ -1,2 +0,0 @@
|
|||||||
service_name: travis-pro
|
|
||||||
repo_token: zII4rVtXRGvQ8WZAd8mAHKe8voLNgZcio
|
|
@@ -124,7 +124,7 @@ class DocumentListDemo implements OnInit {
|
|||||||
translation: AlfrescoTranslationService,
|
translation: AlfrescoTranslationService,
|
||||||
documentActions: DocumentActionsService) {
|
documentActions: DocumentActionsService) {
|
||||||
|
|
||||||
settings.host = 'http://192.168.99.100:8080';
|
settings.host = 'http://myalfrescoip';
|
||||||
translation.addTranslationFolder();
|
translation.addTranslationFolder();
|
||||||
documentActions.setHandler('my-handler', this.myDocumentActionHandler.bind(this));
|
documentActions.setHandler('my-handler', this.myDocumentActionHandler.bind(this));
|
||||||
}
|
}
|
||||||
|
@@ -11,7 +11,7 @@ Update host and credentials
|
|||||||
**src/main.ts**
|
**src/main.ts**
|
||||||
```ts
|
```ts
|
||||||
login() {
|
login() {
|
||||||
let host = 'http://192.168.99.100:8080';
|
let host = 'http://myalfrescoip';
|
||||||
let credentials = { "userId": "admin", "password": "admin" };
|
let credentials = { "userId": "admin", "password": "admin" };
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
service_name: travis-pro
|
|
||||||
repo_token: zII4rVtXRGvQ8WZAd8mAHKe8voLNgZcio
|
|
@@ -104,7 +104,7 @@ export class AppComponent {
|
|||||||
|
|
||||||
constructor(public auth: AlfrescoAuthenticationService,
|
constructor(public auth: AlfrescoAuthenticationService,
|
||||||
alfrescoSettingsService: AlfrescoSettingsService) {
|
alfrescoSettingsService: AlfrescoSettingsService) {
|
||||||
alfrescoSettingsService.host = 'http://192.168.99.100:8080';
|
alfrescoSettingsService.host = 'http://myalfrescoip';
|
||||||
}
|
}
|
||||||
|
|
||||||
mySuccessMethod($event) {
|
mySuccessMethod($event) {
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
service_name: travis-pro
|
|
||||||
repo_token: zII4rVtXRGvQ8WZAd8mAHKe8voLNgZcio
|
|
@@ -123,7 +123,7 @@ class SearchDemo implements OnInit {
|
|||||||
|
|
||||||
authenticated: boolean;
|
authenticated: boolean;
|
||||||
|
|
||||||
host: string = 'http://192.168.99.100:8080';
|
host: string = 'http://myalfrescoip';
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private authService: AlfrescoAuthenticationService,
|
private authService: AlfrescoAuthenticationService,
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
service_name: travis-pro
|
|
||||||
repo_token: zII4rVtXRGvQ8WZAd8mAHKe8voLNgZcio
|
|
@@ -1,2 +0,0 @@
|
|||||||
service_name: travis-pro
|
|
||||||
repo_token: zII4rVtXRGvQ8WZAd8mAHKe8voLNgZcio
|
|
Reference in New Issue
Block a user