-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Latest angular based ICTDialer initial version
- Loading branch information
0 parents
commit d36e88f
Showing
405 changed files
with
34,591 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"project": { | ||
"name": "ngx-admin-demo" | ||
}, | ||
"apps": [ | ||
{ | ||
"root": "src", | ||
"outDir": "dist", | ||
"assets": [ | ||
"assets", | ||
"favicon.ico", | ||
"favicon.png", | ||
{ | ||
"glob": "**/*", | ||
"input": "../node_modules/leaflet/dist/images", | ||
"output": "./assets/img/markers" | ||
} | ||
], | ||
"index": "index.html", | ||
"main": "main.ts", | ||
"polyfills": "polyfills.ts", | ||
"test": "test.ts", | ||
"tsconfig": "tsconfig.app.json", | ||
"testTsconfig": "tsconfig.spec.json", | ||
"styles": [ | ||
"../node_modules/bootstrap/dist/css/bootstrap.css", | ||
"../node_modules/typeface-exo/index.css", | ||
"../node_modules/roboto-fontface/css/roboto/roboto-fontface.css", | ||
"../node_modules/ionicons/scss/ionicons.scss", | ||
"../node_modules/font-awesome/scss/font-awesome.scss", | ||
"../node_modules/nebular-icons/scss/nebular-icons.scss", | ||
"../node_modules/socicon/css/socicon.css", | ||
"../node_modules/pace-js/templates/pace-theme-flash.tmpl.css", | ||
"./app/@theme/styles/styles.scss" | ||
], | ||
"scripts": [ | ||
"../node_modules/pace-js/pace.min.js", | ||
"../node_modules/tinymce/tinymce.min.js", | ||
"../node_modules/tinymce/themes/modern/theme.min.js", | ||
"../node_modules/tinymce/plugins/link/plugin.min.js", | ||
"../node_modules/tinymce/plugins/paste/plugin.min.js", | ||
"../node_modules/tinymce/plugins/table/plugin.min.js", | ||
"./assets/vendors/echarts.min.js", | ||
"./assets/vendors/echarts.world.min.js", | ||
"../node_modules/chart.js/dist/Chart.min.js" | ||
], | ||
"environmentSource": "environments/environment.ts", | ||
"environments": { | ||
"dev": "environments/environment.ts", | ||
"prod": "environments/environment.prod.ts" | ||
} | ||
} | ||
], | ||
"e2e": { | ||
"protractor": { | ||
"config": "./protractor.conf.js" | ||
} | ||
}, | ||
"lint": [ | ||
{ | ||
"files": "src/**/*.ts", | ||
"project": "src/tsconfig.app.json" | ||
}, | ||
{ | ||
"project": "src/tsconfig.spec.json" | ||
}, | ||
{ | ||
"project": "e2e/tsconfig.e2e.json" | ||
} | ||
], | ||
"test": { | ||
"karma": { | ||
"config": "./karma.conf.js" | ||
} | ||
}, | ||
"defaults": { | ||
"styleExt": "scss", | ||
"component": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Alias /ictdialer /usr/ictdialer | ||
<Directory /usr/ictdialer> | ||
Options Indexes FollowSymLinks Includes | ||
AllowOverride All | ||
<IfVersion < 2.4> | ||
Allow from all | ||
</IfVersion> | ||
<IfVersion >= 2.4> | ||
Require all granted | ||
</IfVersion> | ||
</Directory> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
%define dialer_version __DIALER_VERSION__ | ||
%define dialer_edition __DIALER_EDITION__ | ||
%define dialer_build __DIALER_BUILD__ | ||
%define dialer_home %{_prefix}/ictdialer | ||
|
||
Name: ictdialer | ||
Version: %{dialer_version}.%{dialer_build} | ||
Release: %{dialer_edition}%{?dist} | ||
Summary: Web based management interface for ICTDialer | ||
|
||
Vendor: ICT Innovations | ||
Group: ict | ||
Packager: Nasir Iqbal <[email protected]> | ||
License: MPLv2 | ||
URL: https://ictdialer.org/ | ||
|
||
Source0: %{name}-%{version}.tar.gz | ||
Source1: ictdialer.conf | ||
|
||
BuildArch: noarch | ||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||
BuildRequires: npm git | ||
|
||
Provides: ictdialer | ||
|
||
# GUI dependence on ICTDialer | ||
Requires: ictcore-voice ictcore-fax ictcore-email ictcore-sms | ||
# ICTDialer exposse its interface via apache web server | ||
Requires: httpd | ||
|
||
%description | ||
ICTDialer is web based interface which act as client to ICTCore REST APIs and expose Voice, Fax, SMS and Email related services over web | ||
|
||
%prep | ||
%setup -q -n %{name}-%{version} | ||
|
||
%build | ||
npm install @angular/cli | ||
npm install | ||
./node_modules/.bin/ng build --prod | ||
|
||
%install | ||
%{__rm} -rf %{buildroot} | ||
%{__install} -d %{buildroot}%{dialer_home} | ||
%{__cp} -pr dist/* %{buildroot}%{dialer_home} | ||
# install ictdialer configuration for apache | ||
%{__mkdir} -p %{buildroot}/etc/httpd/conf.d/ | ||
%{__cp} %SOURCE1 %{buildroot}/etc/httpd/conf.d/ictdialer.conf | ||
|
||
%clean | ||
%{__rm} -rf %{buildroot} | ||
|
||
%files | ||
# basic configuration files | ||
%defattr(644,root,root,755) | ||
%config /etc/httpd/conf.d/ictdialer.conf | ||
|
||
# include all ictdialer files and folder | ||
%defattr(644,apache,apache,755) | ||
%{dialer_home} | ||
|
||
%post | ||
# alter firewall for sip | ||
%if %{rhel} < 7 | ||
# apache web port | ||
/sbin/iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT # tcp | ||
/etc/init.d/iptables save | ||
%else | ||
# apache web port | ||
/bin/firewall-cmd --zone=public --add-port=80/tcp --permanent # tcp | ||
/bin/firewall-cmd --reload | ||
%endif | ||
|
||
%changelog | ||
* Tue Jan 16 2018 Nasir Iqbal <[email protected]> - 3.0.0 | ||
- ICTDialer 3.0.0 release with Angular instead of Drupal | ||
|
||
* Thu Nov 20 2018 Nasir Iqbal <[email protected]> - 0.2.0 | ||
- ICTDialer GUI 0.2.0 release | ||
|
||
* Thu Dec 28 2017 Nasir Iqbal <[email protected]> - 0.1.0 | ||
- ICTCore GUI 0.1.0 release (first release) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Editor configuration, see http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# compiled output | ||
/dist | ||
/tmp | ||
/out-tsc | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
|
||
# misc | ||
/.sass-cache | ||
/connect.lock | ||
/coverage | ||
/libpeerconnection.log | ||
npm-debug.log | ||
testem.log | ||
/typings | ||
/docs | ||
|
||
# e2e | ||
/e2e/*.js | ||
/e2e/*.map | ||
|
||
# System Files | ||
.DS_Store | ||
Thumbs.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{ | ||
"rules": { | ||
"color-hex-case": "lower", | ||
"color-no-invalid-hex": true, | ||
|
||
"function-calc-no-unspaced-operator": true, | ||
"function-comma-space-after": "always-single-line", | ||
"function-comma-space-before": "never", | ||
"function-name-case": "lower", | ||
"function-url-quotes": "always", | ||
"function-whitespace-after": "always", | ||
|
||
"number-leading-zero": "always", | ||
"number-no-trailing-zeros": true, | ||
"length-zero-no-unit": true, | ||
|
||
"string-no-newline": true, | ||
"string-quotes": "single", | ||
|
||
"unit-case": "lower", | ||
"unit-no-unknown": true, | ||
"unit-whitelist": ["px", "%", "deg", "ms", "em", "vh", "vw", "s", "rem"], | ||
|
||
"value-list-comma-space-after": "always-single-line", | ||
"value-list-comma-space-before": "never", | ||
|
||
"shorthand-property-no-redundant-values": true, | ||
|
||
"property-case": "lower", | ||
|
||
"declaration-block-no-duplicate-properties": [ true, { | ||
"ignore": ["consecutive-duplicates-with-different-values"] | ||
}], | ||
"declaration-block-trailing-semicolon": "always", | ||
"declaration-block-single-line-max-declarations": 1, | ||
"declaration-block-semicolon-space-before": "never", | ||
"declaration-block-semicolon-space-after": "always-single-line", | ||
"declaration-block-semicolon-newline-before": "never-multi-line", | ||
"declaration-block-semicolon-newline-after": "always-multi-line", | ||
"declaration-property-value-blacklist": [ | ||
{ "/.*/": ["initial"] }, | ||
{ "message": "The `initial` value is not supported in IE."} | ||
], | ||
|
||
"block-closing-brace-newline-after": [ | ||
"always", | ||
{ | ||
"ignoreAtRules": ["if", "else"] | ||
} | ||
], | ||
"block-closing-brace-newline-before": "always-multi-line", | ||
"block-opening-brace-newline-after": "always-multi-line", | ||
"block-opening-brace-space-before": "always-multi-line", | ||
|
||
"selector-attribute-brackets-space-inside": "never", | ||
"selector-attribute-operator-space-after": "never", | ||
"selector-attribute-operator-space-before": "never", | ||
"selector-combinator-space-after": "always", | ||
"selector-combinator-space-before": "always", | ||
"selector-pseudo-class-case": "lower", | ||
"selector-pseudo-class-parentheses-space-inside": "never", | ||
"selector-pseudo-element-case": "lower", | ||
"selector-pseudo-element-colon-notation": "double", | ||
"selector-pseudo-element-no-unknown": true, | ||
"selector-type-case": "lower", | ||
"selector-max-id": 0, | ||
|
||
"no-missing-end-of-source-newline": true, | ||
|
||
"max-line-length": 120 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
sudo: false | ||
|
||
language: node_js | ||
|
||
node_js: | ||
- '6' | ||
- '7' | ||
- '8' | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-4.8 | ||
|
||
before_install: if [[ `npm -v` != 5* ]]; then npm i -g npm@5; fi | ||
|
||
install: | ||
- npm i | ||
|
||
script: | ||
- npm run lint:ci | ||
- npm run build:ci | ||
|
||
git: | ||
depth: 1 | ||
|
||
notifications: | ||
slack: akveo:q559HckfZMSyZRb803aiLcjH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "chrome", | ||
"request": "launch", | ||
"name": "Launch Chrome against localhost", | ||
"url": "http://localhost:4200", | ||
"sourceMaps": true, | ||
"webRoot": "${workspaceRoot}" | ||
}, | ||
{ | ||
"type": "chrome", | ||
"request": "attach", | ||
"name": "Attach to Chrome", | ||
"port": 9222, | ||
"sourceMaps": true, | ||
"webRoot": "${workspaceRoot}" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"typescript.tsdk": "./node_modules/typescript/lib", | ||
"tslint.enable": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<a name="2.0.1"></a> | ||
## [2.0.1](https://github.com/akveo/ngx-admin/compare/v2.0.0...v2.0.1) (2017-10-26) | ||
|
||
|
||
Nebular changelog is available [here](https://github.com/akveo/nebular/blob/master/CHANGELOG.md#200-rc3-2017-10-26) for more details. | ||
|
||
### Features | ||
|
||
* **bootstrap:** update bootstrap to beta.2, nebular to rc.3 ([b525213](https://github.com/akveo/ngx-admin/commit/b525213)) | ||
* **compodoc:** add compodoc documentation generator ([#1327](https://github.com/akveo/ngx-admin/issues/1327)) ([eebbc12](https://github.com/akveo/ngx-admin/commit/eebbc12)) | ||
* **loader:** add loading progress indicator ([#1319](https://github.com/akveo/ngx-admin/issues/1319)) ([f479715](https://github.com/akveo/ngx-admin/commit/f479715)) | ||
|
||
|
||
|
Oops, something went wrong.