39 Commits

Author SHA1 Message Date
Denys Vuika
130c2e4428 auth service api improvements (#1865)
Rename Auth Service events:
- loginSubject -> onLogin
- logoutSubject -> onLogout
2017-05-25 15:12:50 +01:00
Mario Romano
6da0eaba37 Fix build problem (#1861)
* fix sourcemap
fix relative path and pre publish build
change travis wait
all test run build and remove unused cpx

* global test task
modify publish script to accept options

* appveyor run

* different approach single test run

* make it work the analytics test
modify start demo shell script to use a different registry

* sourcemap demo shell working

* update readme and add install after any clean
add registry option in start.sh script
add develop and normal mode in demo shell
add -d option in start.sh to point to the local components
add -c option in build script to point to the local components
2017-05-25 15:12:49 +01:00
Eugenio Romano
0b246b8211 Speed up build (#1852)
* single build webpack

* fix demo shell test
2017-05-25 15:12:46 +01:00
Vito
09f3a6e30f fix userinfo test (#1819)
* fix userinfo test

* Added changes from review
2017-04-27 14:05:09 +01:00
Vito
26da797398 #ADF-452-userinfo show full name on the banner (#1814)
* #ADF-452-userinfo show full name on the banner

* #ADF-452 - added improvement from PR
2017-04-27 14:05:08 +01:00
Denys Vuika
e45069be13 user-info component fixes (#1694)
* user-info fixes

- fix image paths to be relative rather than rooted (for user info,
refs #1606)
- fix full name rendering
- fix styling for ‘job title’

* fix unit tests
2017-03-08 12:04:27 +00:00
Maurizio Vitale
9b2740ff64 ADF Rebranding (#1628)
* #1512 Rebranding

* Fix peer review
2017-02-13 17:20:00 +00:00
Mario Romano
9655e51943 #1471 rollback className change (#1472) 2017-01-16 11:49:43 +00:00
Mario Romano
9fb085eb3a #1387 fix img for systemjs and refactoring apiservice (#1421) 2017-01-10 16:59:08 +00:00
Denys Vuika
facafbd55c Single naming convention for core services (#1363)
* remove temporary file from repo

* fix: alfresco-api.service

* new: auth.service.ts

- new auth.service.ts implementation
- deprecation warning for AlfrescoAuthenticationService
- fix ‘clean-build’ typo
- extra vscode settings for ‘.d.ts’ files

* use AuthService internally

* new: content.service.ts

- deprecation warning for AlfrescoContentService
- use new ContentService internally

* new: settings.service.ts

- new SettingsService
- deprecation warning for AlfrescoSettingsService
- using new SettingsService internally

* new: translate.service and translate-loader.service

- custom TranslateLoader becomes AlfrescoTranslateLoader
- custom TranslateService becomes AlfrescoTranslateService
- deprecation notices for old service and loader implementations

* fix: document list

* fix: search

* fix: tag

also fixes #1364

* fix: activiti form

* fix: activiti tasklist, improve unit tests

* fix: activiti processlist, unit tests improvements

* fix: diagram component

* fix: analytics component

* fix: upload component

- fix numerous issues with unit tests (hidden by ‘any’ type)
- test improvements

* fix: webscript

* fix: userinfo unit tests

* code fixes

* fix 'beforeAll' issue

* tasklist unit testing improvements

* fix: form unit tests

* fix: unit tests
2017-01-03 10:46:27 +00:00
Eugenio Romano
1b13e6b4de ie-polyfills fix 2016-12-16 14:19:23 +00:00
Mario Romano
d94a31e51e Merge pull request #1278 from Alfresco/dev-valbano-1072
#1072 - reset user details when the user is not logged in
2016-12-15 15:55:09 +00:00
Vito Albano
5ee86c2cdb #1072 - reset user details when the user is not logged in 2016-12-15 11:53:23 +00:00
Eugenio Romano
e133fd6408 create bundle for all components 2016-12-14 15:49:08 +00:00
Denys Vuika
279c627bbb fix: ng2-alfresco-userinfo 2016-12-08 16:56:13 +00:00
Denys Vuika
29f426f643 code fixes
- interpolate ng2 components html content
- fix: load images for Login
- fix: load images for User Info
- fix: load images for Document List
- fix: decorator inheritance issue for Form
- fix: load images for Search
2016-12-07 14:55:09 +00:00
Denys Vuika
10423ca985 remove module.id 2016-12-06 17:01:31 +00:00
Denys Vuika
5c401007f2 user-info fixes and performance improvements (#1171)
* #1167 document-list improvements

- allow setting custom root path
- document-list module now re-exports datatable module (no need
importing it separately if document-list is already used)
- documentation updates and fixes

* readme updates and unit test

* user-info fixes and performance improvements

- setup live reloads for user-info (demo shell)
- optimise user-info template (single *ngIf, [mdl] directive for
‘user-profile-lists’ instead of CPU-hungry `ngAfterViewChecked`)
2016-11-29 13:26:41 +00:00
mauriziovitale84
acb06e92c4 #1076 Fix the translation in all the components 2016-11-25 19:09:06 +00:00
Vito Albano
fe5fe582ba Added spy on isLoggedIn for new check on user info 2016-11-09 16:39:30 +00:00
Mario Romano
1dafba7a72 #878 fix user info demo 2016-11-09 14:00:46 +00:00
Vito Albano
4869691175 Applied changes for isLoggedIn managing 2016-11-09 12:37:24 +00:00
Mario Romano
177c9694af #878 doc,demo and code improvements userinfo component 2016-11-09 12:27:44 +00:00
Vito Albano
0de0591abb Added open menu option choice 2016-11-09 01:10:26 +00:00
Vito Albano
3c3306962d added input for custom images 2016-11-08 16:56:20 +00:00
Vito Albano
5dd82dca25 Improved test for component and added translation 2016-11-08 16:56:20 +00:00
Vito Albano
6521326fec Improved user-info design 2016-11-08 16:56:20 +00:00
Vito Albano
0a539e9fdd Refactor for PR 2016-10-13 18:18:50 +01:00
Vito Albano
cc6a685bc4 fixed wrong tests 2016-10-13 01:42:27 +01:00
Vito Albano
c45b3878b7 test refactoring 2016-10-13 01:29:23 +01:00
Vito Albano
90332daa64 Improved test readibility and code 2016-10-12 17:17:05 +01:00
Eugenio Romano
68465e46f2 remove consecutive blank line 2016-10-12 13:47:38 +01:00
Eugenio Romano
12914e0680 change tsconfig,module name ,karma.conf,karma-tst-shim and #749 2016-10-06 11:56:07 +01:00
Vito Albano
2219047c1a Fixed wrong method and style a little 2016-10-04 14:18:43 +01:00
Vito Albano
ab1f65d44b Fixed double name when the two user log in 2016-10-04 14:18:43 +01:00
Vito Albano
27003dd4c4 Fixed naming for tests 2016-10-04 14:18:43 +01:00
Vito Albano
336ffe75d8 Added tests for user-info component 2016-10-04 14:18:43 +01:00
Vito Albano
d946532f14 Added new version for component 2016-10-04 14:18:43 +01:00
Vito Albano
0d7f32a649 Fixed structure and naming convention 2016-10-04 14:18:43 +01:00