Commit Graph

38 Commits

Author SHA1 Message Date
Eugenio Romano
ba81458d57 Search add wildcard * to match all the (#2079) 2017-07-13 06:12:25 -07:00
Eugenio Romano
c6e1bdff70 [ADF-863] codelyzer documentlist (#2059)
* codelyzer documentlist

* tslint error after codelizer

* fix import

* fix tag test
2017-07-08 13:50:06 +02:00
Popovics András
4243e0eb25 [ADF-523] Fix delete operation in the search component (#2020)
* Search delete permission notification fix

* Support content deletion inside search results

* Forgotten broken test fix.

* Update alfresco-document-list READDME.md

* Update alfresco-document-list READDME.md II

* Adding TOC to README.md

* Build fix

* Fix the build for now and ever!
2017-07-06 10:45:03 +02:00
Denys Vuika
d5f64fa9fc [ADF-847] upgrade to use application configuration service (#1986)
* migrate core lib to use server-side app config

* fix unit tests

* update Search tests

- update tests
- upgrade tests to use TestBed

* update UserInfo tests

* update Social tests

* update tests

* update unit tests

* cleanup old code

* update about page

* update demo shell readme

* dev and prod configurations
2017-06-29 15:09:19 +01:00
Popovics András
fb4af7f846 [ADF-578] Remember me functionality (#1962)
* Remember me functionality

* Happy pack to ng2-components' package.json

* Build fix
2017-06-29 15:09:15 +01:00
Eugenio Romano
282e64f93d Source Mapping is not working on test debugging (#1931)
* coverage single components run fix

* remove spec.ts from coverage

* make the coverage and the istanbul-instrumenter-loader works only over the console test because a problem on the remapping for the browser test

* move tslint on the main folder of any component

* remove build:w from readme

* stop build tslint error also in spec files

* clear karma file from unnecessary files

* add set -f for build all script in order to accept *

* fix lint problem and failing tests

* fix failing test search component

* add loader test for viewer

* fix tslint error userinfo

* --max_old_space_size=2048 remove

* fix tslint error uploader unused EventEmitter

* remove spec|index|.*mock|.*model|.*event from coverage
2017-06-29 15:09:08 +01:00
Eugenio Romano
9db047f8fc [ADF-721] Fix translation reference for dev task (#1923)
* move translation files in the bundles folder

* fix after review
ripristinate tslint and remove override tsconfig
2017-06-29 15:09:06 +01:00
Denys Vuika
e29741d18d [ADF-587] upgrade components to angular 4 (#1866)
[ADF-587]  upgrade components to angular 4
2017-05-25 15:12:48 +01:00
Eugenio Romano
f75e2b05ea fix dropdown visibility #1593 (#1767)
* fix dropdown visibility #1593

* fix test search workaround material2 issue 1913
2017-04-05 11:11:38 +01:00
Mario Romano
b05247dade #1014 use document list to display search results (#1548)
* #1014 use document list to diplay search results

* #1014 refactor pagination

* #1014 documentation and scripts update

* fix random erros on tests executrion

* #1014 fix travis scripts and raise timeout jasmine

* #1014 fix appveyor script

* #1014 type nodeId
2017-01-27 12:22:25 +00:00
Mario Romano
9655e51943 #1471 rollback className change (#1472) 2017-01-16 11:49:43 +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
Eugenio Romano
e133fd6408 create bundle for all components 2016-12-14 15:49:08 +00:00
Will Abson
b34a38fcff Allow navigation to folders from search results (#1209)
* Allow navigation to folders from search results

- Uses router to pass ID of the folder
- Modified document list component to accept folder ID without path
- Current limitations
  - Breadcrumb cannot currently be shown when navigating via folder id
  - Clicking between folders does not update the current route

* Allow root folder ID to be changed and have documentlist reload

- e.g switching from Company home to My Files

* New tests for navigating to folders based on ID

Refs #666
2016-12-13 09:30:58 +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
mauriziovitale84
acb06e92c4 #1076 Fix the translation in all the components 2016-11-25 19:09:06 +00:00
Will Abson
0e127c26af Update search component to work with 0.4.0 JS API
- Use new search (query) methods
- Allow search parameters to be overridden by component
- Fix up tests

Refs #555
2016-11-04 14:21:19 +00:00
Will Abson
c100412538 Rename search outputs after feedback from @DenysVuyka
Refs #371
2016-10-31 16:36:20 +00:00
Will Abson
b200eab466 Rename fixture variable to clean up test code
Refs #737
2016-10-05 10:18:01 +01:00
Will Abson
dda838be5e Re-enable translation service tests
Refs #737
2016-10-05 09:58:13 +01:00
Will Abson
8df2b08b31 Fix up search component and search thumbnail service tests
Refs #737
2016-10-04 15:40:52 +01:00
Will Abson
f0fa43e2ee More tests for search (results) component
Refs #737, #363
2016-10-04 15:40:52 +01:00
Will Abson
147af98bda Restore navigation to search page in demo-shell
- Remove deprecated router component
- searchChanges and new searchSubmit component outputs work as you would expect
- Update tests

Refs #737
2016-10-04 15:40:51 +01:00
Denys Vuika
90646ce910 Upgrade ng2-alfresco-search 2016-09-21 12:46:57 +01:00
Denys Vuika
34e46b32cc fix unit tests 2016-09-17 20:24:44 +01:00
Vito Albano
584e115c90 Updated test to match the fix 2016-09-12 17:04:13 +01:00
Eugenio Romano
053855afd1 improve code coverage 2016-09-05 19:51:47 +02:00
Denys Vuika
c4a593f9a2 Fix unit tests 2016-09-05 10:23:27 +01:00
Eugenio Romano
0c253ffdf0 fix no result and refactoring tests 2016-09-02 01:02:40 +01:00
Denys Vuika
ce30175386 Fix 'search' tests 2016-07-15 12:39:46 +01:00
Will Abson
a9a416a907 Add test for preview event
Refs #283
2016-06-27 17:49:34 +01:00
Denys Vuika
a885e1ee3b Test fixes 2016-06-24 11:30:13 +01:00
Denys Vuika
65a4271b89 Unit test fixes 2016-06-24 11:30:13 +01:00
Denys Vuika
1296087170 Test runner improvements
- now all tests are running
2016-06-24 11:29:16 +01:00
Will Abson
4a255d29c0 Add tests for search services and components
Refs #190
2016-06-24 11:29:15 +01:00
Mario Romano
9b6ed69095 fix tests 2016-06-20 09:56:44 +01:00
Denys Vuika
70858664de Fix 'Search' test coverage runner 2016-06-16 11:01:18 +01:00