63 Commits

Author SHA1 Message Date
Andy Stark
60644d9917 [ADF-2969] Moved doc tools to new tools folder (#3314)
* [ADF-2969] Moved doc tools to new tools folder

* [ADF-2969] Added files missing from schematic

* [ADF-2969] Added missing files to schematic
2018-05-11 14:01:19 +01:00
Andy Stark
06992196cd [ADF-2824] Reviewed docs for core and content services (#3290)
* [ADF-2824] Reviewed card view docs

* [ADF-2824] Reviewed doc for core and content services

* [ADF-2824] Added class name exception to prop script
2018-05-09 15:03:22 +01:00
Eugenio Romano
fe0ac0e474
move tslint ADF rules in principal repo (#3247)
* move tslint ADF rules in principal repo

* fix style issues

* change pacakge.json position

* update to angular cli 6.0.0

* reorganization package.json

* remove node modules2 folder

* exclude integration

* rollback alfresco-js-api

* solve types problems

* fix pdf test

* fix errors and exclude two tests

* fix e2e

* fix test

* copy all the new packages in node_modules

* fix test

* fix packaging script

* scss issue fix

* move test export in tools
2018-05-04 17:13:45 +01:00
Andy Stark
8f9cb75120 [ADF-2911] Improved error message handling in doc tools (#3267) 2018-05-03 16:39:04 +01:00
Andy Stark
2c0e7aa035 [ADF-2847] Added Class members headings and rebuilt prop/method tables for docs (#3240)
* [ADF-2847] Added class members heading to content services docs

* [ADF-2847] Updated all prop/method tables in content services
2018-04-26 14:54:25 +01:00
Denys Vuika
3a51c27f66 [ADF-2189] new search facets (#3230)
* slider facet

* number range facet

* unit tests

* remove fdescribe

* remove old demo-only content

* remove old tests

* Support "include" and "field" values with app config

* exclude deprecated demo content from export checks
2018-04-25 17:45:14 +01:00
Andy Stark
8f27cd1758 [ADF-2764] Added tool to add links to type names in Markdown files (#3226)
* [ADF-2764] Added basic type linker tool

* [ADF-2764] Support for class links in body text

* [ADF-2764] Started support for multi-word class names (not working yet)

* [ADF-2764] Updated script to handle English component names
2018-04-24 14:30:51 +01:00
Denys Vuika
382ea3c1b3 unit test performance (#3194)
* DataTable (-4 sec)

* PaginationComponent (-1 sec)

* DocumentList

* custom testbed setup, test upgrades

* test fixes

* more test fixes

* remove fdescribe

* test fixes

* test fixes

* more test fixes

* test fixes

* upgrade tests

* update tests

* upgrade tests

* upgrade tests

* upgrade tests

* upgrade tests

* update tests

* translate loader fixes

* auth and cookie fixes

* upgrade tests

* upgrade tests

* test fixes

* almost there

* diable broken tests

* process tests (part 1)

* fix lint issues

* another test upgrade

* almost there

* cleanup

* insights testing upgrade

* improve tests

* tests cleanup

* tests cleanup

* cleanup tests

* test cleanup

* favorite nodes tests

* rebase fix syntax

* fix core test

* give up test focus

* flush tabs

* fix search test

* Update document-list.component.spec.ts

* fix document list lock

* increase tick time

* remove duplicate test
2018-04-23 09:55:22 +01:00
Andy Stark
e0cc0fc7c5 [ADF-2643] Added compatibility info to version index (#3218)
* [ADF-1643] Updated version index and script to support compatibility info

* [ADF-2643] Added links and compatibility info
2018-04-19 16:20:00 +01:00
Andy Stark
026da57cb8 [ADF-2759] Updated doc script to allow multiple config profiles (#3211) 2018-04-18 11:15:47 +01:00
Eugenio Romano
06d85aa8d3 add export check 2.3.0 2018-04-17 17:56:27 +01:00
Eugenio Romano
6cd0e9f5bb
[ADF-2645] move the service use in the upload in the right place (#3189)
[ADF-2645] move the service use in the upload in the right place 
[ADF-2687] No message is displayed when deleting a file/folder from content action
[ADF-2714] [demo shell] Not able to download a version of a file

* add spaces tslint fix
2018-04-14 10:39:24 +01:00
Andy Stark
d0f5bad894 [ADF-2679] Added first tutorials (#3186)
* [ADF-2679] Updated tutorial index script and added the first few tutorials

* [ADF-2679] Minor fixes to README and index script
2018-04-13 14:50:29 +01:00
Andy Stark
0d2f0b7b84 [ADF-2670] Updated doc indexes for 2.3 (#3183)
* [ADF-2670] Updated doc indexes for 2.3

* [ADF-2670] Clarified explanation of sharedLinkId property in Viewer

* [ADF-2670] Updated review checker for new doc folder structure
2018-04-12 16:46:35 +01:00
Andy Stark
809cf56e2b [ADF-2679] Added tutorial index tool (#3175) 2018-04-11 17:46:27 +01:00
Andy Stark
38de016893 [ADF-2670] Reviewed sidenav docs and updated index files (#3172)
* [ADF-2670] Updated indexes and reviewed sidenav docs

* [ADF-2670] Rebuilt index files after doc file change
2018-04-11 14:27:42 +01:00
Andy Stark
2a5fe7ad28 [ADF-2596] Fixed inputs with incorrect names (#3166)
* [ADF-2596] Updated prop script to handle names from input decorators

* [ADF-2596] Fixed inputs with accessors

* [ADF-2596] Fixed remaining inputs with wrong names

* [ADF-2596] Updated prop script to handle names from input decorators

* [ADF-2596] Fixed inputs with accessors

* [ADF-2596] Fixed remaining inputs with wrong names
2018-04-10 17:19:15 +01:00
Eugenio Romano
07c247ca11 [ADF-2500] fix trashcan bug plus refactoring documentlist (#3136)
* [ADF-2500] The full content of Trashcan is not displayed.

fix pagination problem and add tests

* refactor code

* custom resources services

* move custom resources in separate service part 2

* move custom resources in separate service part 3

* move isCustomResources in custom resources

* move getCorrispondinNodeIds in custom services

* reorganize code

* add pagination interface

* remove permissions check document list and use the common cs method
remove the merge option and move it in the paginator

* make infinte scrolling always use the target

* restore loading infinite page

* fix license header

* fix type problems

* breadcrumb test service

* fix test

* export CustomResourcesService

* fix test pagination

* fix content ndoe test

* remove timeout content node selector test

* fix after rebase

* ripristinate observalbe in search service

* fix wrong type return stub document list test

* fix search service

* fix test document list

* move handle error in common method

* restore observable in search control

* Update search-control.component.spec.ts

* fix after rebase

* add import switchmap

* core import in karma conf

* missing commas

* fix mocks

* fix mock searchquerybody

* search test fix
2018-04-09 10:31:43 +01:00
Andy Stark
717dbfb388 [ADF-2557] Updated doc files with new script and fixed script bugs (#3135) 2018-03-29 17:02:40 +01:00
Andy Stark
7d5f1b223b [ADF-2557] Added return tag support and error messages (#3127)
* [ADF-2557] Added return tag support and error messages

* [ADF-2557] Set doc tool config to use index script correctly
2018-03-28 16:00:59 +01:00
Eugenio Romano
9e2969b955 [ADF-2569] fix reload app.config.json (#3124)
* fix reload app.config.json

* improve style mobile
fix test

* test karma setup update

* fix core providers test

* remove unused providers

* use mock api in service test

* skip test in the wrong place

* remove comma

* remove fdescribe
2018-03-28 11:01:04 +01:00
Andy Stark
21b8cd30ce [ADF-2557] Added new prop table script with support for "deprecated" tags (#3126)
* [ADF-2557] Initial test of typedoc props script

* [ADF-2557] Added simple table generation and support for deprecated tag

* [ADF-2557] Added templates and simple method list

* [ADF-2557] Finished method features and added new templates

* [ADF-2557] Updated templates and added Markdown insertion
2018-03-28 10:20:29 +01:00
Andy Stark
ea0f783015 [ADF-2451] Reviewed component docs (#3113)
* [ADF-2451] Reviewed component docs

* [ADF-2451] Updated review date on tasklist service docs
2018-03-22 17:27:30 +00:00
Cilibiu Bogdan
ae8b7419a0 [ADF-2415] PDF Viewer - open password protected pdf files (#3022)
* pdf password dialog

* PDF viewer onPassword test

* pdf password dialog

* PDF viewer onPassword test

* test

* test

* test

* test

* test

* test

* test

* fix password test

* travis improvements
2018-03-21 21:30:20 +00:00
Andy Stark
9d578bbd55 [ADF-2463] Added index pages to doc subfolders (#3091) 2018-03-19 14:37:08 +00:00
Andy Stark
126e73f5f3 [ADF-2463] Moved user guide pages to a subfolder (#3083)
* [ADF-2463] Moved user guide to a subfolder

* [ADF-2463] Fixed broken links and images
2018-03-16 17:26:39 +00:00
Andy Stark
4ee7cc0870 [ADF-2463] Update doc tools to work with subfolders (#3056)
* [ADF-2463] Updated main doc tool and index tool to handle subfolders

* [ADF-2463] Updated version index tool for subfolders
2018-03-09 22:39:59 +00:00
Eugenio Romano
ae489f6737
[ADF-2240] fix e2e and test in demo shell (#3035)
* fix e2e and test in demo shell

* test single run demo shell conf

* fix script e2e

* fix test lint problems

* remove async from nested test

* fix pdf test

* modify url load pdf strategy test

* SimpleChange import

* pdf viewer test fix

* remove force closing

* refactor pdf viewer
-remove promise approach
-add event rendered
-add destroy worker

* increment timeout

* use proxy files

* remove require

* fix viewer component test

* remove last require

* prefer use of done for txt viewer test
2018-03-09 12:16:05 +00:00
Andy Stark
606009cac2 [ADF-2456] Fixed property table formatting (#3051) 2018-03-08 19:41:37 +00:00
Andy Stark
4b9daeb1c8 [ADF-2447] Added review checker tool (#3039) 2018-03-06 22:01:22 +00:00
Eugenio Romano
d8e5e55ffa
[ADF-2417] remove tag id as default value from demo shell (#3036)
* remove tag id as default value from demo shell

* fix export check script
2018-03-06 14:07:21 +00:00
Eugenio Romano
273e0a3900 new multi version export check 2018-02-26 15:08:56 +00:00
Andy Stark
ad3dbd4d0b [ADF-2334] Added status icons and version index based on metadata (#2987)
* [ADF-2334] Added status icons to index page

* [ADF-2334] Improved status icons

* [ADF-2334] Added version index page

* [ADF-2334] Fixed bad anchors in version index
2018-02-23 09:35:16 +00:00
Andy Stark
b45048b5ed [ADF-1769] Added JSDocs for directives (#2964) 2018-02-20 14:00:18 +00:00
Eugenio Romano
fd533a8c97 fix style copy 2018-02-15 10:54:18 +00:00
Eugenio Romano
45ab4602c0 add schema check 2018-02-14 18:41:49 +00:00
Eugenio Romano
8bfac2f9f8
[ADF-2236] Automatic check export (#2933)
* save export in a file

* print errors

* add position error

* color error log and add comment to skip a file

* export check ver 2

* ignore source

* fix export modules

* fix possible nullable value

* remove duplicates

* improve logs

* add travis configuration

* fix travis and import

* export fix

* remove export check js file

* add export check js ignore

* fix content metadata service export
2018-02-14 09:33:50 +00:00
Eugenio Romano
5d3f005b60 dynamic license header in dist packages 2018-02-13 16:32:42 +00:00
Andy Stark
76ad797488 [ADF-1769] Added JSDocs and methods and updated script (#2927) 2018-02-09 18:06:24 +00:00
Andy Stark
3114fa4862 [ADF-1769] Added support for methods to JSDoc tool (#2925)
* [ADF-1769] Refactored component props features

* [ADF-1769] Added methods list feature to doc tool

* [ADF-1769] Added support for optional parameters and initialisers

* [ADF-1769] Switched off prop generator tool
2018-02-09 10:22:41 +00:00
Eugenio Romano
7693904be2
[ADF-2147] test upgrade 2.0.0 (#2902)
* add integration 2.0.0 test

* update readme

* add integration test in travis

* restore tsconfig.dev

* fix test script travis call

* improve script

* fix npm run test
2018-02-02 12:11:48 +00:00
Denys Vuika
0d93c65fd7 [ADF-2064] Lazy loading support (#2811)
* remove BrowserAnimationsModule dependency

* improve test shim

* update test shim

* test shim updates

* example of lazy-loaded datatable

* local and global i18n demo for lazy modules

* lazy loading support for CoreModule providers

* test shim updates

* update test shim

* support global i18n for lazy modules

* cleanup lazy loading example

* update card view after rebase

* backwards compatibility

* cleanup files

* fix code after rebase
2018-01-31 17:39:26 +00:00
Andy Stark
900fd70d63 [ADF-1769] Added prop tables and fixed script (#2896)
* [ADF-1769] Added prop tables and fixed script

* [ADF-1769] Corrected JSDoc formatting errors

* [ADF-1769] Restored default column to prop tables
2018-01-31 09:22:05 +00:00
Eugenio Romano
b3a9e1a884
[ADF-1880] More configuration options for adf-start-process component (#2869)
* procesdefinitionId set
show dropdown multiple process

* fix sourcemap

* fix test start process

* fix test

* changes after code review

* add show dropdown optional

* remove fit fdescribe

* processDefinitionId in processDefinition change

* improve tests
2018-01-24 15:40:42 +00:00
Andy Stark
b65440b490 [ADF-1769] Updated prop table script to handle inherited classes (#2855) 2018-01-22 12:20:49 +00:00
Andy Stark
c9a3b048b4 [ADF-1769] Added JSDocs and updated prop table script (#2838)
* [ADF-1769] Added JSDocs and updated prop table script

* [ADF-1769] Fixed lint error in JSDoc
2018-01-17 17:11:22 +00:00
Andy Stark
7a523961e2 [ADF-2152] Added See Also sections and updated doc tools (#2835)
* [ADF-2152] Added See Also sections to docs

* [ADF-2152] Added doc script to package.json
2018-01-16 17:43:10 +00:00
Andy Stark
3bee9a70f5 [ADF-1769] Updates to prop table script (#2829)
* [ADF-1769] Fixed prop table tool formatting

* [ADF-1769] Added code style to event type column
2018-01-16 00:10:02 +00:00
Eugenio Romano
f6cf036769
[no-issue] downgrade scss bundle and some other minor fix (#2824)
* downgrade scss bundle and some other minor fix

* 2.0.9

* remove chrome in travis conf

* execute different configuration
2018-01-12 13:23:17 +00:00
Andy Stark
994041fb23 [ADF-2135] Updated tables of contents and tools (#2820) 2018-01-11 10:15:00 +00:00