956 Commits
Author SHA1 Message Date
Adina Parpalita 9ceefff5e6 [ACA-2199] fix Upload New Version action availability (#959)
* fix Upload New Version action availability

* update unit tests

* remove workaround

* add catch for tests failing on Bamboo

* add new line
2019-02-19 16:24:43 +02:00
Cilibiu Bogdan 2fd0ff3825 [ACA-2177] Actions - rearrange actions order (#922)
* rearange actions

* remove separator duplication

* don't show last divider element

* update e2e

* update e2e

* Update toolbar-single-selection.test.ts

remove fdescribe

* move comment as well

* edit folder locator

* edit folder action

* edit folder action from toolbar more menu

* edit folder context menu id

* dont render versions tab
2019-02-19 12:26:34 +02: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 46c8062f2f Upgrade libs (#952)
* update libs

* remove i18n workaround
2019-02-15 12:35:05 +00:00
Cilibiu Bogdan 1554ca83ae [ACA-2193] Upload new content version - unsubscribe upload event (#925)
* remove console log

* unsubscribe upload event after new version

* unit tests
2019-02-14 18:03:07 +00:00
Cilibiu Bogdan 88fddec15f [ACA-213] Version Dialog - tests (#948)
* enable Esc action to close dialog

* version dialog form tests

* test fix
2019-02-14 16:21:38 +00:00
Cilibiu Bogdan 190af14643 disable versioning tab in info drawer (#941) 2019-02-14 12:00:21 +02: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 e0e2a61821 [ACA-2211] auth guard: add support for withCredentials (#942)
* auth guard: add support for withCredentials

* formatting fixes

* remove fdescribe
2019-02-14 08:45:37 +02:00
Cilibiu Bogdan bb5ce29445 [ACA-2199] Upload Version - granular permission (#938)
* canUploadVersion evaluator

* change upload version action rule

* update docs

* simplify condition

* unit tests and code fixes
2019-02-13 21:04:48 +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 9b2cbdde49 [ACA-2210] Version Dialog - update button text (#939)
* dialog action buttons text to uppercase

* dialog text Cancel over Close

* update translation reference
2019-02-13 16:29:48 +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
Denys Vuika 65e0a1138c Keensoft AOS extension (#920)
* aos extension

* update karma

* lint improvements and fixes

* update script

* update scripts

* update scripts

* reduce about 56.4 kB of polyfills for modern browsers

* deficated aosHost value to have AOS on separate servers

* context menu and toolbar

* visibility evaluator

* code improvements and fixes

* support locking, lock checks
2019-02-08 15:45:39 +02:00
Adina Parpalita 819f6ddced [ACA-2160] add tests for Edit offline actions availability (#921)
* add tests for Edit offline actions availability

* fix delete / undo delete tests
2019-02-07 19:45:24 +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 b50d7bd5e3 fix SSO defaults 2019-01-14 09:33:47 +00:00
Cilibiu Bogdan 71074b2bf1 [ACA] Create Library - switch to ADF component (#893)
* use adf component

* fix component name locator
2019-01-09 08:19:09 +00:00
Denys Vuika 299516a410 remove moment-es6 usage (#892) 2019-01-07 19:43:32 +00:00
Denys Vuika 46d593c72b [ACA-2131] fix leave library icon for context menu 2019-01-07 12:32:41 +00:00
Denys Vuika a1789e45aa [ACA-2120] update library toolbar (#891) 2019-01-04 18:47:19 +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 2d59a3354e [ACA-1558] cache busting for index.html (#888) 2019-01-04 09:36:16 +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
Adina Parpalita b8ce533759 [ACA-1928] e2e improvements - part1 (#883)
* refactor Mark as favourite tests
rename method to be more clear
create separate methods for some checks and actions

* forgot some changes

* refactor delete-undo tests

* some more refactoring

* fix
2018-12-20 11:27:54 +02: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
Suzana Dirla d7db57a76a [ACA-1904] Language labels (#879) 2018-12-14 14:14:12 +02:00
Denys Vuika 1d571e10bc remove deprecated file 2018-12-12 19:27:01 +00:00
Cilibiu Bogdan 8e16bd59e0 [ACA] localisation (#877)
* updates

* update e2e
2018-12-12 17:26:37 +00:00
Adina Parpalita 1ea57740fe exclude calendar events from Recent Files (#876) 2018-12-12 14:29:09 +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
Denys Vuika 8843c9ec46 [ACA-2012] update localisation files (#868) 2018-12-11 14:16:05 +00:00