Commit Graph

52 Commits

Author SHA1 Message Date
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
885e0e85aa process details improvements (#1408)
* process details improvements

- new: redirect to task instead of opening a dialog (Activiti parity)
- fixed: task headers for nameless tasks
- fixed: cursor style for task list items
- new: stub for ng-1 directive api (Activiti stencils)
- code cleanup

* error handling fixes
2017-01-09 12:57:03 +00:00
Denys Vuika
d42f41ec00 Migrate from window.console to LogService 2017-01-05 21:06:30 +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
Vito Albano
ad1f3e8102 #1301 - fix test for widgetvisibility service 2016-12-16 16:21:08 +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
da70a72bba Login dialog shows error for Safari with Private Window mode (#1172)
* #958 new StorageService service

abstraction around ‘Storage’ to allow switching to in-memory store
whenever ‘localStorage’ is not available (i.e. private/incognito modes,
etc.)

* fix unit tests

* update unit tests

- disable incorrect auth tests (core)
- simplify widget visibility tests (activiti-form)

* fix unit tests
2016-11-30 11:32:16 +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
0635b652d2 fixed build errors 2016-10-04 14:18:43 +01:00
Vito Albano
0b7f3cc9a6 Added unit tests for services 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
Vito Albano
9750a90b1a Added userinfo component to new version of demo shell 2016-10-04 14:18:43 +01:00
Vito Albano
6f375b0a5c Added more style improvements 2016-10-04 14:18:43 +01:00
Vito Albano
078e7659af Added min-width to component style 2016-10-04 14:18:43 +01:00
Vito Albano
b68e07286c Added some syle improvements 2016-10-04 14:18:43 +01:00
Vito Albano
9ed232df5b Added fix for first component style 2016-10-04 14:18:43 +01:00
Vito Albano
3b6b8ed59b Added some upgrades to demo and added the component to demo shell 2016-10-04 14:18:43 +01:00
Vito Albano
a8c7486a26 Added the change for user image 2016-10-04 14:18:43 +01:00