Skip to content

Commit

Permalink
version 1.3.0
Browse files Browse the repository at this point in the history
version 1.3.0
  • Loading branch information
DenysVuika authored Jul 4, 2018
2 parents 54a7f36 + eb40e52 commit be14dbb
Show file tree
Hide file tree
Showing 293 changed files with 22,764 additions and 10,402 deletions.
5 changes: 3 additions & 2 deletions .angular-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"prefix": "aca",
"styles": [
"./assets/fonts/material-icons/material-icons.css",
"./assets/fonts/muli/muli.css",
Expand All @@ -46,7 +46,8 @@
"scripts": [
"../node_modules/pdfjs-dist/build/pdf.js",
"../node_modules/pdfjs-dist/lib/shared/compatibility.js",
"../node_modules/pdfjs-dist/web/pdf_viewer.js"
"../node_modules/pdfjs-dist/web/pdf_viewer.js",
"../node_modules/moment/min/moment.min.js"
],
"environmentSource": "environments/environment.ts",
"environments": {
Expand Down
48 changes: 47 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: 2

jobs:
build:
test:
working_directory: ~/alfresco-content-app
docker:
- image: circleci/node:8-browsers
Expand All @@ -14,3 +15,48 @@ jobs:
paths:
- "node_modules"
- run: xvfb-run -a npm run test:ci
lint:
working_directory: ~/alfresco-content-app
docker:
- image: circleci/node:8-browsers
steps:
- checkout
- restore_cache:
key: alfresco-content-app-{{ .Branch }}-{{ checksum "package.json" }}
- run: npm install
- run: npm run lint
spellcheck:
working_directory: ~/alfresco-content-app
docker:
- image: circleci/node:8-browsers
steps:
- checkout
- restore_cache:
key: alfresco-content-app-{{ .Branch }}-{{ checksum "package.json" }}
- run: npm install
- run: npm run spellcheck
build:
working_directory: ~/alfresco-content-app
docker:
- image: circleci/node:8-browsers
steps:
- checkout
- restore_cache:
key: alfresco-content-app-{{ .Branch }}-{{ checksum "package.json" }}
- run: npm install
- run: npm run build

workflows:
version: 2
build_and_test:
jobs:
- test
- lint:
requires:
- test
- spellcheck:
requires:
- test
- build:
requires:
- test
5 changes: 0 additions & 5 deletions .env

This file was deleted.

3 changes: 2 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
## PR Checklist
Please check if your PR fulfills the following requirements:

```
- [ ] The commit message follows our guidelines: https://github.com/Alfresco/alfresco-content-app/blob/master/CONTRIBUTING.md#commit
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)

```

## PR Type
What kind of change does this PR introduce?
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
npm-debug.log
testem.log
/typings
/www

# e2e
/e2e/*.js
Expand Down
13 changes: 12 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
dist: trusty
sudo: required

services:
- docker

addons:
chrome: stable

language: node_js
node_js:
- "8"

before_script:
# Disable services enabled by default
- sudo /etc/init.d/postgresql stop

install:
- npm install -g npm@latest
- npm ci

script:
- npm run test:ci
# - docker-compose stop
- npm run build && npm run e2e:docker
9 changes: 5 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"cSpell.words": [
"sidenav"
]
}
"javascript.preferences.quoteStyle": "single",
"typescript.preferences.quoteStyle": "single",
"javascript.preferences.importModuleSpecifier": "relative",
"typescript.preferences.importModuleSpecifier": "relative"
}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM nginx:alpine
LABEL version="1.2"
LABEL version="1.3"
LABEL maintainer="Denys Vuika <[email protected]>"

COPY nginx.conf /etc/nginx/nginx.conf
Expand Down
86 changes: 60 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,54 @@
<p align="left"> <img title="Alfresco" src="alfresco.png" alt="Alfresco - make business flow"></p>

# Alfresco Example Content Application

<p align="center">
<img title="Alfresco" width="250px" src="alfresco.png" alt="Alfresco">
</p>

## Introduction

The Alfresco Content Application is an example application built using
[Alfresco Application Development Framework (ADF)](https://github.com/Alfresco/alfresco-ng2-components) components and was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.6.6.
[Alfresco Application Development Framework (ADF)](https://github.com/Alfresco/alfresco-ng2-components) components and was generated with [Angular CLI](https://github.com/angular/angular-cli).

### Who is this example application for

This example application demonstrates to Angular software engineers
how to construct a content application using the Alfresco ADF.
This project demonstrates how to construct an application for Alfresco Content Services using the Alfresco ADF and it represents a meaningful composition of ADF components that provide end users with a simple easy to use interface for working with files in the content repository.

This example application represents a meaningful composition of ADF components that provide end users
with a simple and easy to use interface for working with files stored in the Alfresco Content Services repository.
### Where to get help
There are a number of resources available to help get you started with the Content App and the ADF:
* [Content App Documentation](https://alfresco.github.io/alfresco-content-app/)
* [Alfresco ADF Documentation](https://alfresco.github.io/adf-component-catalog/)
* [Alfresco Community](https://community.alfresco.com/)
* [ADF Gitter Channel](https://gitter.im/Alfresco/alfresco-ng2-components)

[Public documentation](https://alfresco.github.io/alfresco-content-app/)
To get help on Angular CLI use ng help or read the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

### Raising issues and feature requests
Isuses can be raised in GitHub or in the Alfresco JIRA project.
Please include a clear description, steps to reproduce and screenshots where appropriate.All issues will be reviewed; bugs will be categorized if reproducible and enhancement/feature suggestions will be considered against existing priorities if the use case serves a general-purpose need.

#### High level features planned for Q3 2018 (July - September)
* Library Management - create, find, join and manage file libraries.
* Commenting - View and add comments to files and folders
* Sharing Files - activate and deactivate shared file both manually and automatically.
* Permissions - update file and folder permissions.
* Application Extensibility - Extension framework to provide simple ways to extend the application.

### Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for [contributing](https://github.com/Alfresco/alfresco-content-app/blob/master/CONTRIBUTING.md) and then check out one of our issues in the [Jira](https://issues.alfresco.com/jira/projects/ACA) or [GitHub](https://github.com/Alfresco/alfresco-content-app/issues)

## Available Features
| Feature | Description |
|------------------|----------------------------------------------------------------|
| Document List | Folder/File browsing of Personal Files, and File Libraries |
| Shared Files | Lists all files that have shared. |
| Recent Files | List files created and/or modified by the logged users within the last 30 days|
| Favorites | Lists all favorited files for the user. |
| Trash | Lists all deleted items stored in the trash can, users can restore or permanently remove. Admin user will see items deleted by all users.|
| Upload | Files and folders can be uploaded through the New button or by dragging and dropping into the browser.|
| Search | Quick search with live results, and full faceted search results page.|
| Actions | A number of actions can be performed on files and/or folders, either individually or multiples at a time|
| Viewer | Viewing files in natively in the browser, unsupported formats are transformed by the repository |
| Metadata | The information drawer can be configured in the app.config.json to display metadata information, by default file the Properties Aspect is shown and images will also include EXIF information.|
| Versioning | The version manager provides access and management of previous file versions, and the ability to upload new versions.|

Log any issues in the ['ACA' JIRA project](https://issues.alfresco.com/jira/projects/ACA),
please include a clear description, steps to reproduce and screenshots where appropriate.

All issues will be reviewed; bugs will be categorized if reproducible and enhancement/feature suggestions
will be considered against existing priorities if the use case serves a general-purpose need.

## Want to help?

Want to file a bug, contribute some code, or improve documentation? Excellent!
Read up on our guidelines for [contributing][contributing]
and then check out one of our issues in the [Jira][jira] or [GitHub][github]

## Development server

Expand All @@ -40,21 +57,38 @@ The app will automatically reload if you change any of the source files.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
Use the `--prod` flag for a production build.
Run `npm run build` to build the project in the production mode. The build artifacts will be stored in the `dist/` directory.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
Run `npm test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Run the local instance of the application packaged into the docker image together with the ACS images:

```sh
npm run build
npm run start:docker
```

The ACA runs on port 4000 inside the docker container.
Run `npm run e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).

```sh
npm run e2e
```

When testing is over you can stop all corresponding containers:

```sh
npm run stop:docker
```

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

[contributing]: ttps://github.com/Alfresco/alfresco-content-app/blob/master/CONTRIBUTING.md
[contributing]: https://github.com/Alfresco/alfresco-content-app/blob/master/CONTRIBUTING.md
[github]: https://github.com/Alfresco/alfresco-content-app/issues
[jira]: https://issues.alfresco.com/jira/projects/ACA
Binary file modified alfresco.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"version": "0.1",
"language": "en",
"words": [
"succes",

"ngrx",
"ngstack",
"sidenav",
"injectable",
"truthy",
"cryptodoc",
"mysites",
"afts",
"classlist",
"folderlink",
"filelink",
"datatable",
"repo",
"snackbar",
"promisify",
"xdescribe",
"unfavorite",
"Snackbar",
"devtools",

"unshare",
"validators",
"guid",
"polyfill",
"polyfills",
"jsonp",
"hammerjs",
"pdfjs",
"xpath",
"tooltip",
"tooltips",
"unindent",
"exif"
],
"dictionaries": [
"html"
]
}
Loading

0 comments on commit be14dbb

Please sign in to comment.