39 Commits

Author SHA1 Message Date
dominikiwanekhyland
14edabc2d2
[ACS-6927] - Fully compliant with OIDC: ADF () 2024-03-25 09:00:34 -04:00
MichalKinas
33264f0731
[ACS-6924] Rename tags and categories plugins to mitigate naming conflicts ()
* [ACS-6924] Rename tags and categories plugins to mitigate conflicts

* [ACS-6924] Add missing logic for tags and categories plugins
2024-03-04 13:52:17 -05:00
DominikIwanek
207410c44c
[MNT-22836] - support of pkce o auth grant type by aims ()
* [MNT-22836] - support PKCE code flow in SSO
2023-11-21 15:02:24 +01:00
Denys Vuika
1532d65a5b
[ACA-4715] provide support for Docker variables ()
* provide support for Docker variables

* remove test code

* update docs
2023-07-12 08:16:09 +01:00
Denys Vuika
b192c5f6bb
[ACA-4715] cleanup Docker and update documentation ()
* move ADF linking to the dev docs

* add basic Docker docs

* reduce docker params

* update docker docs
2023-07-11 12:25:55 +01:00
Denys Vuika
7ab4cc5e53
[ACA-4715] break dependency on envsubst ()
* remove BPM host

* break dependency on envsubst

* remove prebuild script

* cleanup package.json
2023-07-11 08:39:17 +01:00
Denys Vuika
6b003eff1f
[ACA-4715] upgrade to latest ADF alphas and cleanup env vars ()
* use latest ADF alphas

* use latest ADF alphas

* use ECM provider by default

* use BASIC auth by default

* defaults for oauth host

* remove unused vars
2023-07-05 19:46:50 +01:00
Denys Vuika
46ed7a8360
[ACA-4715] reduce env variables and provide defaults ()
* use default "sessionTimeForOpenAppDialogDisplay"

* improve iPhone prefix url api

* improve android prefix url api

* session timeout

* app store url defaults

* enable mobile redirect by default

* enable AOS by default

* enable content plugins by default

* enable folder rules by default

* remove obsolete AI flag

* remove obsolete APA flag

* auto download defaults

* cleanup auth vars
2023-07-05 15:21:45 +01:00
Denys Vuika
1e37931b97
fix Docker run () 2023-05-25 08:08:58 +01:00
Antonio Felix
488658802d
ACA-4567 - Added ENV APP_CONFIG_PLUGIN_AOS=true in the Dockerfile () 2022-02-15 09:13:46 +00:00
Antonio Felix
fce8857585
MNT-22687- Add new aosPlugin variable to hide or show the AOS plugin ()
* MNT-22687- Add new aosPlugin variable to hide or show the AOS plugin

* MNT-22687 - Added a new interface to extend the RuleContext from ADF

* MNT-22687 - Removed carriage return and added whitespaces

* MNT-22687 - Removed carriage returns

* MNT-22687 - Fixed PR Comments
Completed documentation, removed environment variable from the package.json, added plugins section in the app.config.json.tpl

* MNT-22687 - Created a new service to deal with the new functionality. Reverted the old approach.

* MNT-22687 - Reverted missing file

* MNT-22687 - Reverted missing file

* MNT-22687 - Removed variable replacement

* MNT-22687 - Included environment variables in the README.md file
2022-02-08 13:18:28 +00:00
Denys Vuika
c3de2da2ae
add missing PROVIDER env variable for docker ()
* add missing PROVIDER env variable for docker

* fix docker env propagation

* fix code

* update docker vars
2022-01-18 12:10:25 +01:00
Popovics András
2859b16356
[AAE-4628] Release without the About and Settings modules, but have them baked into the app otherwise () 2021-02-25 21:52:14 +00:00
Denys Vuika
0ed0a10471
disable about and settings by default ()
* disable about and settings by default

* support docker variables

* remove comments
2020-12-09 12:30:53 +00:00
Marcello Teodori
1243e69833
AAE-4262 fix docker redirect with relative url () 2020-12-05 12:11:38 +00:00
Marcello Teodori
86ba948554
AAE-4023 return 200 on root regardless of BASE_PATH () 2020-11-30 13:26:55 +01:00
Maurizio Vitale
e94f3d9e3f
Remove the else ecmhost condition ()
Co-authored-by: MaurizioVitale <mauriziovitale@XXXX-MBP-1818.local>
2020-11-30 10:59:11 +00:00
Marcello Teodori
b96f6cece4
AAE-4023 fix BASE_PATH as / () 2020-11-27 14:02:56 +00:00
Maurizio Vitale
b869e91869
remove useless variables ()
* remove useless variables

* Add logs for replacing

Co-authored-by: MaurizioVitale <mauriziovitale@XXXX-MBP-1818.local>
2020-11-27 12:30:52 +00:00
Marcello Teodori
c2a802fe3e
Fix app.config.json expansion () 2020-11-27 03:07:45 +01:00
Marcello Teodori
446232594e
AAE-4023 fix add slash to url if missing () 2020-11-26 14:47:08 +00:00
Denys Vuika
bf11489e0f
cleanup docker files () 2020-10-04 18:05:04 +01:00
Denys Vuika
ea0cfaa99c
unified env variables for ecm/bpm hosts () 2020-05-12 09:36:51 +01:00
Denys Vuika
922605f0f5
deprecate tomcat builds () 2020-05-02 11:28:08 +01:00
Maurizio Vitale
b240909868
Use the e2e lite-serve ()
* Enable liteserve Fix ecmHost Enable browser open

* Be able to pass a different admin credentials

* use the e2e liteserve

* sync package-lock

* Update webdriver

* Replace the app.conf values before running e2e. Be able to run e2e on external env

* Remove dist mystake

* Remove the baseUrl from the contains

* Use the docker image

* stop postgresql before install

* Try the new strategy

* regenerate the package lock

* Wait for the content to go up

* Change travis with start.sh

* do not override the baseUrl

* Create a different docker compose for e2e

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-04-02 09:21:44 +01:00
Marcello Teodori
737fb8db57
AAE-1690 run as non privileged user () 2020-03-09 09:42:52 +00:00
Martin Mueller
5be755ad4b merge docker-compose.yaml and docker-compose-keycloak.yaml to one file. Implement start.sh for starting with and without SSO. 2020-01-02 18:31:18 +01:00
Martin Muller
236d80106d
Introduce new SERVER_PATH variable. Create Readme.md for docker information () 2019-11-22 11:11:39 +01:00
Martin Muller
b228ca2f64
Try latest ACS com to see if e2e are passing ()
* use latest ACS com

* add workaround for REPO-4772

* due to the workaround done for REPO-4772, files now have an initial version set to MAJOR 1.0

* add workaround for REPO-4772 for bulk create files

* Get ACS log if something goes wrong

* wait for the dialog to close only in specific cases

* Import Custom Model into ACS. Update proxy to work with Share.
2019-11-18 18:08:32 +01:00
Martin Muller
1147e0765c [ACA-2800] Entry.sh overrides wrong BASE_PATH ()
* ACA-2800 href should be override href="/" and href="./" as that is our prod build. As well ADW uses ACS_URL

* ACA-2800 href should be override href="/" and href="./" as that is our prod build
2019-10-31 21:34:31 +02:00
Martin Muller
87a8a7bd53
Feature ACA-2646 local ids ()
* Update docker compose acs community deployment with SSO
2019-08-27 11:38:15 +02:00
Denys Vuika
903c9badcf use standard base_path variable () 2019-08-19 10:01:44 +03:00
Denys Vuika
9975261ed9 [ACA-2470] base path encoding for entry point 2019-06-20 15:34:28 +01:00
Denys Vuika
6e894fc196 [ACA-2470] encode urls for docker entrypoint 2019-06-20 15:28:05 +01:00
Denys Vuika
d022877e5e fix sed permissions issue 2019-03-25 16:40:41 +00:00
Denys Vuika
c8b99b9d29
1.7.0 ()
* remove deprecated file

* [ACA-1904] Language labels ()

* [ACA-2083] reset router cache on login/logout ()

* 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

* [ACA-2067] Side navigation - highlight element with children only when not expanded ()

* highlight parent element condition

* update test

* e2e

* add context menu ()

* [ACA-2107] upgrade to ADF latest beta ()

* [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

* [ACA-1928] e2e improvements - part1 ()

* 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

* [ACA-1928] e2e improvements - part2 ()

* 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

* small improvements / refactoring

* upgrade 3rd party dependencies ()

* upgrade 3rd party dependencies

* update datepicker

* update code

* remove duplicated strings, use ADF instead ()

* extension recommendations

* [ACA-1558] cache busting for index.html ()

* use dynamic columns from ADF ()

* upgrade to latest ADF 3.0.0 alpha

* migrate to ADF column components

* use dynamic column from ADF

* fix e2e tests

* [ACA-2122] automatic code formatting on commit ()

* [ACA-2120] update library toolbar ()

* [ACA-2131] fix leave library icon for context menu

* remove moment-es6 usage ()

* [ACA] Create Library - switch to ADF component ()

* use adf component

* fix component name locator

* update extension registration docs

* fix SSO defaults

* fix pre-commit issue with partial commits

* [ACA-2116] search results available actions ()

* 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

* unified format for viewer sub-menus ()

* unified format for viewer sub-menus

* fix tests

* update prettier

* [ACA-2157] Added basic ABN metadata ()

* upgrade to latest JS-API and ADF ()

* 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

* [ACA-820] add tests for Copy content ()

* add tests for Copy content

* fix

* forgot some ids

* update expected favorites number

* support for SSO settings ()

* [ACA-2157] Fixed structure, markup and links ()

* [ACA-2157] Added brief description and updated links

* [ACA-2157] Fixed broken image URL

* [ADF-2157] Added YAML index file for ABN ()

* [e2e] new reporter ()

* try new reporter

* run specific suite for testing purposes

* change folder output for report

* more report settings

* remove fdescribe

* remove package and update package-lock

* remove disabled tests not needed by the new reporter

* try to identify cause of travis failure

* run only specific tests for investigation purpose

* remove sleep and increase retry delay

* try a different fix

* revert to previous fix

* try different expects

* call different js-api method

* remove parameter not needed anymore

* upgrade dependencies ()

* add tests for Move content ()

* [ACA-213] Edit Offline ()

* 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

* upgrade libraries ()

* upgrade libraries

* fix breaking changes

* fix divider

* remove header workarounds

* update repository to 6.1.2-ga, SSO example ()

* remove old compose, update to 6.1.2-ga

* SSO with vanilla keycloak

* [ACA-2162] allow custom icons with navbar ()

* allow custom icons with navbar

* fix breaking change

* update protractor settings

* pin typescript version, regenerate lock file

* [ACA-2168] auto-generate licenses for docker image ()

* auto-generate licenses for docker image

* update version label

* make app agnostic

* [ACA-213] Edit Offline - permissions ()

* 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

* fix lock icon for retina displays

* [ACA-2164] Node version action ()

* 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

* [ACA-2160] add tests for Edit offline actions availability ()

* add tests for Edit offline actions availability

* fix delete / undo delete tests

* Keensoft AOS extension ()

* 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

* [ACA-2193] Lock node - unlock after new version is uploaded ()

* 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

* minor script improvements

* update AOS extension docs and version

* update package configuration for AOS ext

* update AOS extension details

* Search on mobile opens Sidemenu ()

* Added a check for mobile pages to prevent sidemenu opening

* [ACA-2200] Upgrade to 3.0.0-beta9 ADF ()

* 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)

* [ACA-2171] enable copy and move to library tests ()

* [ACA-2198 ACA-2206]  Node version - align dialog with XD ()

* make comment field not required

* make Minor default version option

* tests

* fix form version options label

* test form state on initialization

* [ACA-2210] Version Dialog - update button text ()

* dialog action buttons text to uppercase

* dialog text Cancel over Close

* update translation reference

* [ACA-213] Upload Version - version options use boolean values ()

* version form data interface

* subscribe value data type

* use form data  boolean value

* update tests

* [ACA-2208] Hide app menu on swipe ()

* mobile: hide app menu on swipe left

* check for mobile screen size

* space for click out on small devices

* added test

* fix test

* [ACA-2199] Upload Version - granular permission   ()

* canUploadVersion evaluator

* change upload version action rule

* update docs

* simplify condition

* unit tests and code fixes

* [ACA-2211] auth guard: add support for withCredentials ()

* auth guard: add support for withCredentials

* formatting fixes

* remove fdescribe

* [ACA-2204] Upgrade to ADF 3.0.0 release ()

* upgrade to ADF 3.0.0

* update unit tests

* disable versioning tab in info drawer ()

* [ACA-213] Version Dialog - tests ()

* enable Esc action to close dialog

* version dialog form tests

* test fix

* [ACA-2193] Upload new content version - unsubscribe upload event ()

* remove console log

* unsubscribe upload event after new version

* unit tests

* update AOS extension to ADF 3.0.0

* Upgrade libs ()

* update libs

* remove i18n workaround

* node locking  enhancements and fixes ()

* optimize image resolver

* allow previewing locked files

* allow selecting locked nodes

* fix comments and metadata tabs

* improved lock checks

* remove obsolete "experimental" directive

* [ACA-2177] Actions - rearrange actions order  ()

* 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

* [ACA-2199] fix Upload New Version action availability ()

* fix Upload New Version action availability

* update unit tests

* remove workaround

* add catch for tests failing on Bamboo

* add new line

* add tests for Upload New Version ()

* remove separator between Favorite and Edit folder ()

* [ACA-2221] Lock node - check selection is not null ()

* check selection is not null

* test

* add tests for downloading a single file ()

* [ACA-833] automate tests for download as zip ()

* add tests for downloading a single file

* automate tests for download as zip

* [ACA-2216] Shared link preview - use extension actions ()

* 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

* [ACA-2180] Viewer toolbar - rearrange actions layout ()

* 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

* [ACA-2207] Upload Dialog - restore previous version on delete ()

* 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

* [ACA-2212] allow "edit in office" only for basic auth ()

* allow AOS only for basic auth for now

* bump aos extension version

* [ACA-2208] Hide app menu on swipe ()

* [ACA-2220] simple "search in fields" support ()

* simple "search in fields" support

* unit tests

* add separator ()

* [ACA-2222] add e2e tests for pagination on Favorite Libraries ()

* add tests for pagination on Favorite Libraries

* add TestRail ids
add tests for pagination for empty page and single page

* Delete package-lock.json

* Revert "Delete package-lock.json"

This reverts commit 41eba0c57532373d87d454372273b54ba00e880a.

* restore package-lock

* [ACA-2219] support more precise searching ()

* support more precise searching

* exact term matching

* remove fdescribe

* update docs

* [ACA-1259] automate remaining tests for sidebar ()

* automate remaining tests for sidebar

* formatting

* reload active doclist via NgRx actions ()

* 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"

* [ACA-2229] run aca nginx as non-root ()

* run aca nginx as non-root

* remove edit permissions from html folder

* [ACA-2229] docker security fixes ()

* docker permission fixes

* remove index.html edit permissions

* support repository info with app state ()

* [ACA-2214] Sharing URL being constructed from ECM Host incorrectly ()

* fix baseShareUrl defaults

* allow controlling full path

* unit test

* update tomcat settings

* use single slash

* simplify documentation

* [ACA-2194] better custom aspects in metadata tab ()

* better custom aspects in metadata tab

* update test

* fix lockby position ()

* compatibility matrix ()

* [ACA-2228] Add PipeModule to AppTestingModule ()

- fixes unit tests after upgrade to 3.1.0-beta4

* responsive breadcrumb ()

* [ACA-2239] initial localisation support for AOS extension ()

* setup i18n for aos extension

* translate action names, generic icon

* unit tests and bug fixes

* use AOS testing with CI

* [ACA-2242] add old style back ()

fixes missing buttons styles issue until ADF 3.1.0 will fix it

* upgrade libs to latest versions ()

* Windows compatibility

* [ACA-2195] fix redirect on login after page reload ()

* fix build script for Windows

* update evaluator docs, workspace snippet ()

* add missing docs and code hints

* update app evaluator docs and code hints

* fix route url special characters ()

* revert change for AOS related to lock owners

* [ACA-2215] toggle search filter ()

* support for toggling search filter

* update docs

* disable e2e test

* update e2e

* [ACA-2133] fix application ready event for kerberos ()

* fix application ready event for kerberos

* format file

* spellcheck fixes

* hide AOS when in trashcan

* fix broken test

* [ACA] Search - show error message on error ()

* show error message

* remove fdescribe

* add documentation on SSO, minor docs fixes ()

* menu filter disabled items ()

* 1.7.0

* [ACA-2261] improve UX on search input ()

* Remove search on change

- search call would be triggered only on submit or on option change

* clicking search icon triggers search

* caches user changes for a possible future search

* caches non-empty user changes for a possible future search

* close search options menu on submit

* update queryBuilder and navigate to new search url

* add setting to enable/disable searching after typing on search input

* fix double search call

* Apply suggestions from code review

- custom name to distinguish between ADF and ACA settings

Co-Authored-By: suzanadirla <dirla.silvia.suzana@gmail.com>

* [ACA-2264] fix loading on search ()

- do nothing on null built query

* readme update

* update readme

* [ACA-1627] add automated tests for Comments ()

* bump runtime version for core extension

* json schema fixes

* [ACA-2260] Open in Office - action breaks application in IE ()

* ie office luncher workaround

* open office without location navigation

* check instance before remove

* various bug fixes ()

* various bug fixes

* use 'remove favorite' label where appropriate

* fix toggle favorite component labels

* e2e type check and fixes

* favorite library label

* support toggle favorite component selectors

* update tests

* update e2e tests

* update e2e

* e2e update

* update e2e

* [ACA-2259] Edit in Microsoft Office - check update permissions ()

* [ACA-2259] Edit in Microsoft Office - check update permissions

* [ACA-2259] check update permissions - unit tests

* [ACA-2259] refactor - check allowableOperationsOnTarget from service

* [ACA-2259] add back check only on target for SharedFiles

* [ACA-2259] SharedLinks are not folders

* type-safe api for node permissions

* workaround for shared files

* use hasOwnProperty function

* fix visibility evaluation for create menu ()

* [ACA-2270] allow add comments on folder ()

* [ACA-2270] allow add comments on folder

* [ACA-2270] fix return on else

* [ACA-2270] add unit tests

* update translations ()

* assert file extension validity first ()

* hide empty metadata by default ()

* update copyright year ()

* update copyright year

* forgot a file

* update year on licence header

* extensions flag inside settings page

* support "disabled" rules for Viewer extensions

* set relevance descending by default ()

* [ACA-2284] Shared Link - Error when trying to download a shared file ()

* shared link content download action

* use same action and effect

* call appropriate api baes on location

* remove unused property

* remove unneeded divider from toolbar ()

* use LTS node.js ()

* Update README.md ()

* Update README.md

* Update README.md

* Update introduction-to-extending.md

* Update search-results.md ()

* Update document-list-layout.md ()

* Update README.md ()

* Update README.md ()

* [ACA-2299] fix search error translation ()

* fix search error translation

* fix translation fallback

* remove fdescribe
2019-03-22 14:51:40 +00:00
Adina Parpalita
30b445dde9 [ACA-1799] add tests for share file ()
* initial work

* shared link created through API

* add tests for share file on all list views

* remove utc for end of day

* remove hours and minutes

* update unit test

* workaround

* update docker settings for tomcat

* tomcat setup for e2e
2018-10-18 14:27:54 +01:00
Denys Vuika
3274b559da
use tomcat 8.5 () 2018-10-16 09:56:07 +01:00
Denys Vuika
93e6489881
[ACA-1843] tomcat e2e runs ()
* tomcat environment

* disable artifact deployment for now

* travis settings update

* protractor settings

* protractor settings

* e2e fixes

* e2e fixes

* [ACA-1842] fix library dialog

* cleanup travis settings

* disable test (bug raised)

* fix after rebase

* fix after rebase
2018-09-29 11:21:38 +01:00