Commit Graph

660 Commits

Author SHA1 Message Date
Suzana Dirla
8b0c18629e [ACA-2228] Add PipeModule to AppTestingModule (#993)
- fixes unit tests after upgrade to 3.1.0-beta4
2019-03-05 09:28:10 +00:00
Cilibiu Bogdan
69632b4aed fix lockby position (#986) 2019-03-04 13:17:26 +00:00
Denys Vuika
ab860cf7b2 [ACA-2194] better custom aspects in metadata tab (#985)
* better custom aspects in metadata tab

* update test
2019-03-01 19:12:50 +00:00
Denys Vuika
a25385049d reload active doclist via NgRx actions (#978)
* doclist reload action and effect

* deprecate folderEdited event

* deprecate "favoriteToggle" event

* deprecate "favoriteRemoved" event

* update docs

* unified reload function

* deprecate "nodesRestored" event

* deprecate "nodesPurged" event

* test fixes

* deprecate "nodesMoved" event

* reduce the use of "nodesDeleted"
2019-02-27 13:45:55 +00:00
Adina Parpalita
0b5555d2fc [ACA-1259] automate remaining tests for sidebar (#977)
* automate remaining tests for sidebar

* formatting
2019-02-27 08:40:44 +00:00
Denys Vuika
f58b6e5a9f [ACA-2219] support more precise searching (#976)
* support more precise searching

* exact term matching

* remove fdescribe

* update docs
2019-02-27 06:25:50 +02:00
Denys Vuika
f03eae5317 [ACA-2220] simple "search in fields" support (#972)
* simple "search in fields" support

* unit tests
2019-02-26 09:06:43 +02:00
Suzana Dirla
c7328c7caf [ACA-2208] Hide app menu on swipe (#970) 2019-02-25 20:35:17 +00:00
Cilibiu Bogdan
7ad12f832a [ACA-2207] Upload Dialog - restore previous version on delete (#951)
* restore version over delete node

* apply prettier

* clean up unnecessary dependencies

* remove style file

* set CANCEL status on on deleted node version instances

* Update upload.module.ts

remove extra licence text

* fix typo

* remove duplicate strings
2019-02-25 09:27:19 +00:00
Cilibiu Bogdan
2be93af273 [ACA-2180] Viewer toolbar - rearrange actions layout (#962)
* merge action in toolbar submenu

* viewer add info drawer action

* toggle infoDrawer extension action

* hide viewer toolbar info drawer action

* fix typo

* allow to  unsubscribe from infoDrawerOpened event
2019-02-24 14:20:21 +00:00
Cilibiu Bogdan
525ba7e73e [ACA-2216] Shared link preview - use extension actions (#964)
* isSharedFileViewer evaluator

* navigation evaluators tests

* update docs

* fallback for SharedLink entry

* shared link view use extensions

* rules for link shared view actions

* dedicated extension definition for shared link action toolbar

* resolve selection and actions

* update tests

* remove un used imports

* nest shared link viewer toolbar actions in to viewer structure
2019-02-24 12:50:23 +00:00
Denys Vuika
4cde12dfee node locking enhancements and fixes (#955)
* optimize image resolver

* allow previewing locked files

* allow selecting locked nodes

* fix comments and metadata tabs

* improved lock checks

* remove obsolete "experimental" directive
2019-02-15 18:36:51 +00:00
Denys Vuika
d32f4a7dc6 [ACA-2204] Upgrade to ADF 3.0.0 release (#949)
* upgrade to ADF 3.0.0

* update unit tests
2019-02-14 07:34:12 +00:00
Denys Vuika
7c38201500 [ACA-2208] Hide app menu on swipe (#934)
* mobile: hide app menu on swipe left

* check for mobile screen size

* space for click out on small devices

* added test

* fix test
2019-02-13 20:15:10 +00:00
Cilibiu Bogdan
51b08d2283 [ACA-213] Upload Version - version options use boolean values (#940)
* version form data interface

* subscribe value data type

* use form data  boolean value

* update tests
2019-02-13 17:26:11 +00:00
Cilibiu Bogdan
25e7f5139e [ACA-2198 ACA-2206] Node version - align dialog with XD (#937)
* make comment field not required

* make Minor default version option

* tests

* fix form version options label

* test form state on initialization
2019-02-13 14:41:49 +02:00
Suzana Dirla
9ccd430087 [ACA-2200] Upgrade to 3.0.0-beta9 ADF (#931)
* upgrade to latest ADF 3.0.0-alpha

- remove selectedFacetQueries check
- renamed hasPermission from ADF ContentService to hasAllowableOperations

* update to ADF 3.0.0-beta9

* [ACA-2200] mincount workaround

- until we get the fix for the facet update issue (ADF-3401)
2019-02-12 14:40:05 +00:00
MariusGrunenberg
aa4f81118f Search on mobile opens Sidemenu (#929)
* Added a check for mobile pages to prevent sidemenu opening
2019-02-12 10:37:39 +00:00
Cilibiu Bogdan
894a928187 [ACA-2193] Lock node - unlock after new version is uploaded (#924)
* unlock node api call

* unlock action and effect

* unlock node after version upload

* check if locked

* clear version input on dialog cancel event

* update viewer on node version upload

* update viewer on file upload delete

* test

* update tests

* update tests

* rename evaluators

* update docs
2019-02-10 13:56:02 +00:00
Cilibiu Bogdan
5cc4f8ec55 [ACA-2164] Node version action (#916)
* export upload effects and actions

* remove node version effect and action

* remove node version theme

* change old version manager implementation

* get node info from store selection

* upload version dialog container

* node version form

* update app module

* upload version effect and action

* update version action

* internationalization

* refresh on upload version

* remove old implementation tests

* remove adf-version-manager dialog implementation

* revert adf version component

* fix viewer version action
2019-02-07 09:04:46 +00:00
Denys Vuika
455866a98e fix lock icon for retina displays 2019-02-05 20:51:13 +00:00
Cilibiu Bogdan
913685eb14 [ACA-213] Edit Offline - permissions (#911)
* edit offline action rules

* unlock node error message

* update extensions rules

* lock unlock evaluators

* LockNodeDirective over EditOfflineDirective

* disable tests failing cause of unrelated bug

* isUserWriteLockOwner over isUserWriteLock
2019-02-05 18:39:11 +00:00
Denys Vuika
ff19e57185 [ACA-2162] allow custom icons with navbar (#917)
* allow custom icons with navbar

* fix breaking change

* update protractor settings
2019-02-04 21:11:10 +00:00
Denys Vuika
ecc94a6dd2 upgrade libraries (#910)
* upgrade libraries

* fix breaking changes

* fix divider

* remove header workarounds
2019-02-01 19:19:44 +00:00
Cilibiu Bogdan
e004d365a9 [ACA-213] Edit Offline (#909)
* WRITE_LOCK evaluator

* evaluate actions for WRITE_LOCK

* edit offline action

* DL icon for WRITE_LOCK files

* edit offline directive

* custom name column

* localisation

* toggle offline edit extension

* move takeUntil operator

* add tooltip

* better selector to differentiate Edit folder from Edit Offline

* default to empty object for null properties object

* isPersonalFiles evaluator

* isLibraryFiles evaluator

* isLibraryFiles evaluator

* isPersonalFiles evaluator

* update canEditLockedFile rule
2019-02-01 11:52:08 +00:00
Denys Vuika
a12c60337d support for SSO settings (#905) 2019-01-22 16:43:26 +00:00
Denys Vuika
f0a3f6f630 upgrade to latest JS-API and ADF (#896)
* improved update script and latest ADF libs

* upgrade to latest js-api and ADF

* upgrade tests

* update viewer code

* use @alfresco/js-api

* update to latest adf

* fix deprecation issues

* update viewer

* fix copy/move dialog

* change expect

* fix remove site from favorites

* fix unit test

* update adf version

* use ADF upload dialog
2019-01-22 14:10:48 +00:00
Denys Vuika
da3527b0db unified format for viewer sub-menus (#901)
* unified format for viewer sub-menus

* fix tests

* update prettier
2019-01-20 11:13:55 +00:00
Adina Parpalita
d2e0f688e8 [ACA-2116] search results available actions (#895)
* add item.id to File Libraries

* add method to wait for node to be indexed

* create separate methods in queries API to wait for sites or wait for nodes

* improvements, renaming

* renaming

* fix

* add tests for actions on search results

* add wait and use new method

* fix

* another fix

* use correct method

* more fixes

* create method for clickView button

* fixes

* no message
2019-01-19 16:47:12 +00:00
Denys Vuika
299516a410 remove moment-es6 usage (#892) 2019-01-07 19:43:32 +00:00
Denys Vuika
7992b0a015 [ACA-2122] automatic code formatting on commit (#890) 2019-01-04 15:20:24 +00:00
Denys Vuika
fe8c459637 use dynamic columns from ADF (#889)
* upgrade to latest ADF 3.0.0 alpha

* migrate to ADF column components

* use dynamic column from ADF

* fix e2e tests
2019-01-04 11:50:51 +00:00
Denys Vuika
44f42853a2 remove duplicated strings, use ADF instead (#887) 2019-01-02 17:49:04 +00:00
Denys Vuika
dc9d314a3a upgrade 3rd party dependencies (#886)
* upgrade 3rd party dependencies

* update datepicker

* update code
2019-01-02 13:37:41 +00:00
Suzana Dirla
0882686172 [ACA-2107] upgrade to ADF latest beta (#882)
* [ACA-2107] upgrade ADF to latest beta

* fix adf sidenav class name

* [ACA-2107] update is-selected to adf-is-selected

* [ACA-2107] add 'adf' prefix to classes name

* [ACA-2107] remove ADF duplicate css style

* [ACA-2107] use 'adf-full-width' class

* [ACA-2107] add 'adf' prefix
2018-12-20 10:13:56 +02:00
Cilibiu Bogdan
af3af845aa add context menu (#881) 2018-12-17 16:43:27 +02:00
Cilibiu Bogdan
f68200a633 [ACA-2067] Side navigation - highlight element with children only when not expanded (#880)
* highlight parent element condition

* update test

* e2e
2018-12-17 08:54:53 +02:00
Denys Vuika
465646e87e [ACA-2083] reset router cache on login/logout (#867)
* reset router cache on login/logout

* Update src/app/app.routes.strategy.ts

Co-Authored-By: DenysVuika <denys.vuika@gmail.com>

* merge suggestion

* [ACA-2083] reset content filters on logout

* [ACA-2083] unit tests
2018-12-14 15:24:37 +02:00
Cilibiu Bogdan
5a1257c9ff [ACA-2081] Search - toolbar not visible after viewer is closed (#869)
* router event filter search

* test

* added comment
2018-12-11 17:05:54 +00:00
Suzana Dirla
caa44b1fc2 [ACA-2077] viewer - filter recent files (#866)
* [ACA-2077] get filtered recent files from viewer

* [ACA-2077] use same filters
2018-12-11 10:35:32 +00:00
Denys Vuika
668acafa3d [ACA-2064] fix share icon 2018-12-10 10:24:56 +00:00
Denys Vuika
99a8192b36 [ACA-2064] support custom icons for extensions (#864)
* icon component, custom svg

* split components, fix modules

* simplify code

* universal icon component

* support custom icon registration

* update docs

* test fixes
2018-12-07 19:09:45 +00:00
Suzana Dirla
b2244cb1c4 [ACA-2062][ACA-2066] Update Viewer actions (#861)
* [ACA-2062] viewer - set icons order & set more menu separators

* [ACA-2062] add separator for viewer toolbar icons
2018-12-07 13:11:06 +00:00
Cilibiu Bogdan
4c274acb3c [ACA-1917] Extensions - evaluate actions for locked files (#858)
* locked file evaluator

* add extension reference

* update docs

* disable versioning for locked files

* disable metadata edit for locked files

* update e2e
2018-12-06 15:29:12 +00:00
Suzana Dirla
84b0cd4e7e [ACA-2069] fix blue slider issue (#854)
* [ACA-2069] fix blue slider issue

that appeared after upgrading material to 7.1.0

* [ACA-2069] relocate the style changes
2018-12-05 14:54:22 +00:00
Cilibiu Bogdan
23ad4190e3 [ACA-1993] Favorite libraries - custom pagination (#855) 2018-12-05 11:45:19 +00:00
Suzana Dirla
4dca8ebc2a [ACA-2060] arrange viewer toolbar icons (#849)
* [ACA-2060] checks if empty

* [ACA-2060] hide last divider

* [ACA-2060] switch info drawer button & more menu

* [ACA-2060] cspell change

* [ACA-2060] apply changes only to viewer top toolbar
2018-12-05 11:31:55 +00:00
Cilibiu Bogdan
48127a2421 [ACA-2056] Upload - not able to cancel upload after upload fails due to No network connection (#839)
* resolve unknown response status

* fallback error is null

* Update src/app/components/upload-dialog/file-uploading-dialog.component.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>
2018-11-29 13:47:54 +00:00
Denys Vuika
2e72dc1c6c [ACA-1039] improved breadcrumbs for admins (#840) 2018-11-29 11:48:15 +00:00
Suzana Dirla
462cc09146 [ACA-1968] style search input for smaller screens (#833)
* [ACA-1968] more friendly small screen style

* [ACA-1968] media queries

* [ACA-1968] fix margin

* [ACA-1968] small fixes

* [ACA-1968] cleanup unused code
2018-11-29 10:05:33 +00:00