Commit Graph

555 Commits

Author SHA1 Message Date
andyhealey26
cbc5e9ad45 Dev andy adf 1877 (#2631)
* Update en.json

Copy update for ADF-1877

* Update en.json

* Update en.json

Copy update for ADF-1877

* Update en.json

Copy update for ADF-1877

* Update en.json

Copy update for ADF-1877

* Update en.json

Copy update for ADF-1877

* Update en.json

Copy update for ADF-1877

* Update en.json

Copy update for ADF-1877

* Update en.json

Copy update for ADF-1877

* Update en.json

Copy update for ADF-1877

* Update en.json

Copy update for ADF-1877
2017-11-09 14:21:58 +00:00
Eugenio Romano
a2310336dd [ADF-1895] update Material2 to 5.0.0-rc0 (#2621)
update Material2 to 5.0.0-rc0
2017-11-08 00:39:34 +00:00
Eugenio Romano
9f3ea6ea71 [ADF-1868] Update to Angular 5 (#2606)
* Angular 5.0.0 update

* fix core http import

* split language html from ts

* http deprecation module change

* fix test core

* fix analytics api

* update dependency

* exclude breadcrumb object picker test

* fix viewer and common new test

* fix test cs

* fix tasklist test

* fix demo shell angular 5

* fix translate

* dix search test

* restore files demo shell

* update tsconfig

* rebuild automatic prebuild theme

* Fix breadcrumb tests

* Fix tests, the right way
2017-11-06 14:23:46 +00:00
Denys Vuika
5f95e5f7b2 translation service upgrade and fixes (#2604) 2017-11-03 13:05:36 +00:00
Eugenio Romano
861d44f021 [ADF-1649] [Document List] IE11 select icon is not aligned (#2594)
* [Document List] IE11 select icon is not aligned
[Document List] Login is not aligned
Register Alfresco file type icons within the mat-icon
remove old material-icons pice of code

* fix lint 180 in thumbnailservice

* remove unnecessary duplicate code

* fix thumbnail test
2017-11-02 16:17:35 +00:00
mihai sirghe
712690990c [ADF-1861] - Line breaks not displayed in "Display Text" widget in forms (#2597)
Fixed
2017-11-02 14:15:41 +00:00
Eugenio Romano
24b590ca16 setting component (#2571) 2017-10-31 17:16:14 +00:00
Eugenio Romano
4d8dd7ebb5 [ADF-1806] remove old prefix compatibility alfresco- and activiti- (#2567)
* remove old prefix compatibility alfresco- and activiti-

* fix missing close string quotemark

* fix missing datatable changes
2017-10-31 13:28:43 +00:00
Mario Romano
d911d38c12 restore src folders needed for npm build sub projects 2017-10-27 13:20:58 +01:00
Eugenio Romano
f340c00657 add src and config in npmignore (#2560)
remove duplicate license header
remove old asset unused docs files
2017-10-27 11:58:37 +01:00
Eugenio Romano
1fd45ba1bd fix userinfo on mobile devices and small refactoring name scss method (#2558) 2017-10-26 22:52:37 +01:00
Mario Romano
abb1ef10e8 [ADF-1824] fix moment js secuirty issue (#2547) 2017-10-25 16:18:55 +01:00
Eugenio Romano
ded3847762 clean all the events that start wit on prefix (#2536) 2017-10-25 10:35:38 +02:00
Eugenio Romano
f1812fd123 [ADF-1771] Upload widget clears out filename on cancel but uploads file (#2526)
* after uploaded a file should show the list of the files

* fix delete file from input

* add test delete file uploader
2017-10-23 21:56:24 +01:00
Mario Romano
167336f245 Refactor demo shell as CLI project (#2501)
* split interfaces

* angular cli demo refactoring

* fix test import

* fix demo script

* fix demo script

* fix demo script

* fix demo script
2017-10-22 00:02:41 +01:00
Vito
9116c54f4c [ADF-1704] added encoding to filename to avoid break on special chara… (#2509)
* [ADF-1704] added encoding to filename to avoid break on special characters

* [ADF-1704] removed unused encode decode for file name
2017-10-19 21:24:26 +01:00
Eugenio Romano
0f8534091b fix hiding header for non group (#2512) 2017-10-19 17:14:14 +01:00
Eugenio Romano
8b0047337f [ADF-1723] LogService configuration (#2496)
* log levels implementation

* documentation and test

* remove logservieMock

* add logLevel in app config file

* remove semicolons

* fix pagination test

* fix test form

* silent test in production config

* fix test
2017-10-19 12:54:56 +01:00
Maurizio Vitale
ed36d08344 [ADF-1706] Translate ADF i18n strings into all supported languages (#2490)
* ALL LANGUAGES: This includes all ADF UI files localised into 10 languages as indicated in JIRA ADF-1706: Translate ADF i18n strings into all supported languages

* ITALIAN: Small amends to Italian strings as part of previous commit to complete ADF-1706

* Add multilanguages

* Load the languages from the app config file

* Fix it json

* Simplify the adf menu languages

* Removed unused code

* Basic documentation

* Fix unit test
2017-10-18 15:50:52 +01:00
Vito
5d77060cd4 [ADF-1720] Fixed format for min date and max date (#2492) 2017-10-18 14:22:29 +01:00
Eugenio Romano
036c63e43d [ADF-1004] The process service definition file in the alfresco-js-api is incomplete (#2488)
* correction after new declaration file for PS

* remove unused jasmine

* commit ifx initial pipe

* fix tasklist test

* fix tasklist test

* reinsert test
2017-10-18 09:20:19 +01:00
Denys Vuika
0cc578ba0e [ADF-1748] remove MDL dependency and fix style issues (#2486)
* remove dialogPolyfill references

* remove MDL dependencies

* style fixes

* exclude the test (needs dialog support)
2017-10-17 17:20:06 +01:00
Vito
073003ba9a [ADF-1740] disabling start process button when the process name is empty (#2483)
* [ADF-1740] disabling start process button when the process name is empty

* [ADF-1740] removed wrong fdescribe
2017-10-17 15:11:06 +01:00
Maurizio Vitale
fa7f89c75f [ADF-1694] Datepicker should be localizable (#2471)
* Add locate as user preference property

* The datepicker should be localizable.
Save the locale as user preference
The app should get the default locale from the store or appcongif or Browser or en

* Fix build error

* Fix unit test date widget

* Needs more investigation

* Fix import UserPreference

* Rollback date format change
2017-10-17 14:12:07 +01:00
Vito
3023d30d38 [ADF - 1681] Added username and created initials pipe for user info (#2479)
* [ADF-1681] appling design spec to userinfo component

* [ADF-1681] added default pipe to userinfo

* [ADF-1681] fixed pipe name and added pipe test

* [ADF-168] fixed test for new userinfo feature

* [ADF-1681] fixed test

* [ADF-1681] fixed style for initials image

* [ADF-1681] fixed button for new material design spec

* [ADF - 1681] Added documentation for the new values

* [ADF - 1681] added some test to check new input attributes
2017-10-16 22:55:40 +01:00
Andy Stark
f8438ea2de [ADF-1586] Moved and renamed docs index file (#2477)
* [ADF-1586] Moved and renamed doc index file

* [ADF-1586] Moved and renamed docs index file
2017-10-16 15:10:29 +01:00
Eugenio Romano
fcb292c849 [ADF-1731] update material2 beta12 e angular2 4.4.5 (#2475)
* update material2 beta12
update angular2 4.4.5

* fix changed version js-api

* update types hammerjs

* fix test

* clean old doc

* fix pagination test

* fix test

* missing update packages

* fix <mat-form-field> for select box

* start task component test
2017-10-16 09:58:19 +01:00
Eugenio Romano
a102a7ffb2 [ADF-1684] [object Object] appears in People control when selecting the same name (#2472)
* object people component bug

* fix test people widget
2017-10-14 08:35:53 +01:00
Eugenio Romano
a46cf4be64 [ADF-1724] Remove all log in favor of log service (#2465)
* remove console log from components

* remove console log from demo shell

* fix visibility issue

* fix error template

* remove console.log from spec

* fix tests

* fix test
2017-10-12 23:14:28 +01:00
Vito
c338e6913a [ADF-1679] added it translation for form validator messages (#2461) 2017-10-11 15:32:45 +01:00
Vito
fcda2228fa [ADF-1679] added translation for form field validators (#2455)
* [ADF-1679] added translation for form field validators

* [ADF-1679] fixed typeahead test
2017-10-11 10:11:52 +01:00
siva kumar
6f69f545ec [ADF-1672] Start Process - Improve the look and feel (#2437)
* [DW-180]  Start Process - Improve the look and feel.

* Created custom-button directive to have custom buttons inside the form.
* Updated en.json.
* Refactored start-process component.
* Added a property showEventIcon in start-form component.

* [DW-180] Start Process - Improve the look and feel.

* Refactored start-process scss file.
* Added some scss class to the html in start process/form components.
* Updated en.json.
* Added  ViewEncapsulation none.

* [ADF-1672] Start Process - Improve the look and feel .

* Removed Event icon.
2017-10-10 14:01:37 +01:00
Eugenio Romano
6d9bbcbf32 1.9.0 2017-10-09 12:11:05 +01:00
Vito
317ca76741 [ADF-1688] Update value for the form field when is empty string (#2450) 2017-10-09 12:10:48 +01:00
Vito
7db1a29f04 [ADF-1653] cleaned user suggestion when input type is an empty string (#2444)
* [ADF-1653] cleaned user suggestion when input type is an empty string

* [ADF-1653] removed wrong fdescribe

* [ADF-1653] improved behaviour of people widget

* Removed fdescribe
2017-10-06 21:46:43 +01:00
Eugenio Romano
48f0ccfc4f [ADF-1671] visibility fix use id instead of name during comparison (#2441)
* visibility fix use id instead of name during comparison

* fix tslint problems
2017-10-06 15:39:08 +01:00
Vito
8289492905 [ADF-1625] removed wrong select into typeahed widget, readded validati… (#2411)
* #ADF-1625 removed wrong select into typeahed widget, readded validation on blur

* #ADF-1625 added validator for typeahead fixed tests

* #ADF-1625 removed wrong fdescribe

* [ADF-1625] cleaned behaviour on typeahed

* [ADF-1625] fixed some selection bug on typeahed and start fixing test

* [ADF-1625] fixed typeahead test for autocomplete
2017-10-06 12:23:12 +01:00
Eugenio Romano
ad13bcafd6 fix user model process service and image loading (#2431) 2017-10-05 22:35:14 +01:00
Eugenio Romano
f9302869d1 [ADF-1674] align amount prefix widget 2017-10-05 18:14:14 +01:00
Maurizio Vitale
6d3c3316d9 Fix Form Service parseForm (#2440) 2017-10-05 17:13:02 +01:00
Maurizio Vitale
3f1383e412 [ADF-1640] Start form - Get the variables from the process instance API (#2425)
* Get the variables from the process instance API
/api/enterprise/process-instances/XXX
instead of
/api/enterprise/process-instances/382/variables
because the latest api returns 404 if the process is completed

* Fix unit test

* Add field id
2017-10-05 12:29:09 +01:00
Maurizio Vitale
80b6e15420 [ADF-1629] Fix check the visibility before render the form (#2423) 2017-10-04 14:09:56 +01:00
Eugenio Romano
07c0c1c593 remove console log (#2422) 2017-10-04 12:18:15 +01:00
Andy Stark
e8235fa7fe [ADF-1549] Removed doc content from library README files (#2400)
* [ADF-1549] Removed doc content from library README files

* [ADF-1549] Removed doc content from library README files

* [ADF-1583] Fix change detection error (the quick way) (#2396)

* Fix change detection error (the quick way)

* Fix it the second time

* raise keyboard events, improve task list keyboard handling (#2401)

* [ADF-1549] Removed doc content from library README files

* [ADF-1549] Added doc update from Tasklist readme
2017-10-02 22:41:44 +01:00
tdonovancsra
79422ac32c 508 compliance fix for upload widget (#2406)
* 508 fixes to bring the comments table into compliance. The <thead> element must be visible to users and <th> must display text that indicates what resides in the columns below.

* Updated to properly use the i18 translation

* This is a 508 Compliance fix to add a keyup.enter, role, and tabindex to both the icon and span associated with the file upload widget. This will allow keyboard-only users the ability to tab to a file loaded with the Upload Widget and select the element using the enter key.
2017-10-02 16:41:33 +01:00
Popovics András
84d4a1b6ba Fix input stylings for adf-people-search and modify existing fix for form inputs (#2405) 2017-10-02 14:32:06 +01:00
Eugenio Romano
ae1c0a7bca remove unused scss import 2017-09-29 17:06:11 +01:00
Eugenio Romano
545b04a642 fix build issues 2017-09-29 16:38:29 +01:00
siva kumar
1629a99911 [ADF-1608] Start Form - Improve the unit test cases. (#2390)
* * Covered more test case scenarios for start-form component

* [ADF-1608] Start Form - Improve the unit test cases.
* Refactored start-form.component.spec.ts
* Covered more test case scenarios for start-form component
2017-09-28 14:19:39 -04:00
Maurizio Vitale
e3ab50b4a1 [ADF-1595] Typeahead - Fetch the value from the process variables (#2388)
* Get the typeahead value from the process variables. We should not use the processDefinition to get again all the values

* Improve the dropdown widget
2017-09-28 15:22:26 +01:00