Commit Graph

48 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
9a04a78cff [ADF-859] add codelyzer in core and datatable (#2056)
* add codelyzer in core and datatable

* add codelyzer in the main build

* order imports

* fix import in test

* fix import test

* import reorder form

* tasklist and processlist import reorder
2017-07-07 01:20:41 -07: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
Eugenio Romano
03686aa4ee [ADF-868] Use new ADF prefix in all tags (#2035)
* use new ADF prefix in all thr tag

* fix failing test

* fix datatable test
2017-07-04 00:47:29 -07: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
Eugenio Romano
0b246b8211 Speed up build (#1852)
* single build webpack

* fix demo shell test
2017-05-25 15:12:46 +01:00
Denys Vuika
e2ced9ff9a fix image paths for components (#1696)
* fix Login image paths

* fix TaskList image paths

* fix DocumentList image paths

* fix Search image paths
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
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
cb714bf260 #1240 Folder search, after clicking on folder in list of suggestions, suggestions do not disappear 2016-12-15 16:59:42 +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
d973c39462 fix: ng2-alfresco-search 2016-12-08 18:35:29 +00:00
Denys Vuika
cda0d78a7b fix component tests 2016-12-08 16:45:56 +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
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
Eugenio Romano
12914e0680 change tsconfig,module name ,karma.conf,karma-tst-shim and #749 2016-10-06 11:56:07 +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
2c830d9693 Single place for translate pipe 2016-09-17 19:56:55 +01:00
Vito Albano
9d1fe536ad Fix wrong reference to search term 2016-09-12 15:12:43 +01:00
Eugenio Romano
0c253ffdf0 fix no result and refactoring tests 2016-09-02 01:02:40 +01:00
Eugenio Romano
ce191a9a23 Cannot click on a item in search result 2016-08-30 16:16:31 +01:00
Denys Vuika
e76b9bcc76 Improve 'search' package config 2016-07-15 11:50:53 +01:00
Will Abson
bc9a83040e Use <caption> el to summarise search results
Refs #302
2016-06-29 16:46:38 +01:00
Will Abson
f92539db19 Add alt text for mimetype icons in search component
Refs #302
2016-06-29 16:44:58 +01:00
Will Abson
12c98a831e Use 100% of screen width for results on smaller screens
- Ellipsis used and text truncated if name overflows
- Icon column does not expand out as screen gets wider

Refs #228
2016-06-28 15:29:20 +01:00
Will Abson
a7d450c583 Load viewer on search results click
Refs #283
2016-06-27 17:14:14 +01:00
Will Abson
4a255d29c0 Add tests for search services and components
Refs #190
2016-06-24 11:29:15 +01:00
Mario Romano
52689806e6 fix style and naming 2016-06-20 09:56:44 +01:00
Mario Romano
1fa7a4466b fix lint erros 2016-06-16 12:46:34 +01:00
Denys Vuika
bd1100c33b Improve 'ng2-alfresco-core' imports 2016-06-15 13:57:47 +01:00
Denys Vuika
91cb3bf906 Upgrade Search to angular 2.0.0-rc.1 2016-06-14 10:24:06 +01:00
Will Abson
e39439b68c Add new AlfrescoContentService in ng2-alfresco-core
- Returns v1 public API endpoints for content and thumbnails
- Refactor getHost(), basePath and similar props into settings
- Use AlfrescoAuthenticationService to get alf_ticket value
2016-06-09 18:59:11 +01:00
mauriziovitale84
441d65a0e1 # Changed TranslationService 2016-06-08 17:48:30 +01:00
Will Abson
8bdbccb138 Display message when errors occur whilst searching
Refs #144
2016-06-07 14:07:35 +01:00
Will Abson
d989bf309f Add i18n to search components 2016-06-03 09:33:42 +01:00
Will Abson
335b0f99c9 Add demo folder for search component
Refs #90
2016-06-01 15:23:54 +01:00
Will Abson
f97f4ea088 Add additional columns to search results
Refs #69
2016-05-20 16:43:38 +01:00
Will Abson
f8627a59e9 Initial search implementation
- Add search box to demo-shell toolbar
- Initial search component to display results

Refs #69
2016-05-19 17:29:23 +01:00