Commit Graph

544 Commits

Author SHA1 Message Date
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
Popovics András
9af78dc240 Fix datewidget's moment issue (#2384) 2017-09-27 15:22:42 -04:00
Maurizio Vitale
e1573ddbde Fix dropdown should show the value in readonly mode (#2380) 2017-09-27 09:06:49 -04:00
Popovics András
870cab047e [ADF-1582] Revert error widget style modification (#2372)
* Revert error widget style modification

* Fix start form issues
2017-09-26 13:27:19 +01:00
Eugenio Romano
70a38acbff Update package json typescript version (#2368)
* update package json typescript version

* fix test problem

* fix minor upload type bug
2017-09-24 16:01:34 +01:00
Eugenio Romano
4f84079a19 refactoring autocomplete fields form in order to use the material 2 autocomplete (#2358) 2017-09-21 10:10:47 +01:00
Maurizio Vitale
77e75757a6 Fix start task form (#2356) 2017-09-20 14:59:35 +01:00
Eugenio Romano
c429aa8a10 fix people widget form component when no images are present (#2349) 2017-09-19 09:59:05 +01:00
Denys Vuika
95d6a04f99 [ADF-1548] deprecate the usage of the "forRoot" methods in modules (#2344)
* remove CoreModule.forRoot

* remove forRoot methods

* fix form issues (lint)
2017-09-18 14:35:41 +01:00
Eugenio Romano
cd46a589e1 [ADF-1555] add animation on show and hide of results (#2343)
* add animation on show and hide of results
make the style similar to the other material 2 menu
fix issue popup always stays on the screen
fix Search does not collapse if its input is focused

* minor code style issues

* minors fix and test fix

* fix app.config.json error in test

* update beta10 mat-menu-base method

* karma configuration all
2017-09-18 11:06:45 +01:00
Eugenio Romano
3c1729b960 [ADF-1518] Update material2 beta 10 and angular 4.3.6 (#2304)
* ignore pkg lock

* update pkg json

* date picker update material beta.10

* isDateInstance moment adapter

* style and  datepicker update material2 beta 10

* update test dateitem to beta10

* regenerate style files

* use material icons web font

* fix data range material 2 beta 10

* minors cleaning

* recreate styles

* remove unused componentHandler var

* fix failing test checkbox
2017-09-15 11:39:27 +01:00
andyhealey26
dfccf13fb1 [ADF-1515] Internationalization - ADF strings review (#2336)
* Update en.json

ADF-1515
Update to match Content Services terminology

* Update en.json

ADF-1515
Improvements to readability in line with docs.alfresco.com/writing-for-alfresco

* Update en.json

ADF-1515
Improvements to readability and consistency

* Update en.json

* Update en.json

ADF-1515
Fix typo

* Update en.json

ADF-1515
Updated for US spelling and consistency with docs.alfresco.com/writing-for-alfresco

* Update en.json

ADF-1515 - reduced word count

* Update en.json

ADF-1515
Readability improvements

* Update en.json

ADF-1515
Updates for readability and consistency

* Update en.json

ADF-1515
Updated for readability and consistency

* Update en.json

* Update en.json

* Update en.json

ADF-1515 - removed variables section as discussed w. Eugenio

* Update en.json

ADF-1515 - removed search label as discussed with Eugenio
2017-09-14 16:38:14 +01:00