Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Crowdin translations #2250

Open
wants to merge 144 commits into
base: maintenance-3.0.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
e9deab3
WEBUI-876: setup maintenance-3.1.x.
poonamyadav252 Jan 29, 2023
d765786
WEBUI-1032: update ftest for authentication app.
poonamyadav252 Jan 29, 2023
618574c
WEBUI-881: update references in package.json.
poonamyadav252 Jan 29, 2023
dc74c1e
add details log in main.
poonamyadav252 Jan 30, 2023
9f33ec7
remove details log from 'main.yaml'
poonamyadav252 Jan 30, 2023
6bf83fc
update details log second time.
poonamyadav252 Jan 30, 2023
21aa614
WEBUI-880: setup github workflow.
poonamyadav252 Jan 31, 2023
1431b1f
Update 3.1.0-SNAPSHOT to 3.1.1-SNAPSHOT
nuxeo-web-ui-jx-bot Apr 11, 2023
19add92
WEBUI-1107: fix browser back button navigation from Compare
satishyadav-dev Apr 17, 2023
e9154b0
WEBUI-1121: color-contrast-incomple-violations to color-contrast
rakeshkumar1019 Apr 27, 2023
8c5f52d
WEBUI-1108: fix browser back button navigation from Compare after cli…
satishyadav-dev Apr 18, 2023
365b4f1
WEBUI-563: make tooltip usable with keyboard when using a mobile device
poonamyadav252 May 2, 2023
d380114
WEBUI-1126: Create veracode.yml
rajatgoel-gl May 2, 2023
71eed1d
WEBUI-1101: nuxeo-directory-suggestion failing to save false value on…
rakeshkumar1019 May 4, 2023
ddd5ebe
WEBUI-466: FORWARD PORT Fix initialization of the notification proper…
swarnadipa-dev May 4, 2023
05ddbe5
fix-WEBUI-859-Fix-contradicting-messages-in-Authorized-Applications-p…
rahuljain-dev May 4, 2023
150bf7c
WEBUI-1132: update bot user.
poonamyadav252 May 10, 2023
62f8e19
WEBUI-1113: update license headers.
poonamyadav252 May 11, 2023
8b02101
WEBUI-1117: update license headers.
poonamyadav252 May 12, 2023
d74f40d
WEBUI-1136: update tag section.
poonamyadav252 May 15, 2023
c229855
WEBUI-1104: unable to download custom blobs by clicking on filename
poonamyadav252 May 18, 2023
a2ca89c
WEBUI-231: Fix Replace File dialog
rahuljain-dev May 18, 2023
d249762
WEBUI-1150: error on replacing metadata attachment.
poonamyadav252 May 26, 2023
68c0867
WEBUI-1047: Fix Clear button when swapping between drawer searches
rahuljain-dev May 23, 2023
f39ec9c
WEBUI-831: FORWARD PORT: fix entry/blob update in a nuxeo-data-table
satishyadav-dev May 2, 2023
6dff339
WEBUI-1120: make quick search debounce requests
rakeshkumar1019 Jun 6, 2023
2ebeac9
WEBUI-1169: Fix save as button after refresh when drawer is closed
rahuljain-dev Jun 9, 2023
611c9bf
WEBUI-1140: Fix search actions display after refreshing the page
rahuljain-dev Jun 9, 2023
8f19b28
Update 3.1.1-SNAPSHOT to 3.1.2-SNAPSHOT
nuxeo-webui-jx-bot Jun 14, 2023
1d07f83
WEBUI-1184: fix how vocabulary entries are deleted
poonamyadav252 Jun 19, 2023
81e5627
Update 3.1.2-SNAPSHOT to 3.1.3-SNAPSHOT
nuxeo-webui-jx-bot Jun 28, 2023
625a0bd
WEBUI-1205: update promote.yaml file
poonamyadav252 Jun 28, 2023
57e506c
WEBUI-1171: Fix direct download URL failing with appended clientReaso…
swarnadipa-dev Jul 4, 2023
fdde207
WEBUI-1052: Evaluate if we can add to handle the case page='task' in …
rahuljain-dev Jul 14, 2023
3adebdc
WEBUI-1211: View vs Download not working on cloud server
rahuljain-dev Jul 18, 2023
cbcb34b
WEBUI-1163: migrate web ui translations to crowdin api v2
poonamyadav252 Jul 27, 2023
dc4efed
WEBUI-1224: expose value-key on nuxeo-document-attachments.
poonamyadav252 Jul 26, 2023
4514bb3
WEBUI-1227: lint issue - pr checks fails
poonamyadav252 Jul 28, 2023
fd07ae6
WEBUI-1235: add new catalog version.
poonamyadav252 Aug 3, 2023
3c724fe
WEBUI-1236: update catalog.yaml file
poonamyadav252 Aug 4, 2023
3354ca1
WEBUI-1238: update packege.json file for designer
poonamyadav252 Aug 4, 2023
6820c3c
WEBUI-1237: multiple files not working for custom code
poonamyadav252 Aug 4, 2023
a9c7ca9
WEBUI-992: prevent replacing and removing an attachment under retenti…
poonamyadav252 Aug 4, 2023
5a17b0a
WEBUI-1235: revert add catalog
poonamyadav252 Aug 8, 2023
32d915e
WEBUI-990: prevent replacing and removing an attachment under retention
poonamyadav252 Aug 4, 2023
c9edb3e
WEBUI-1203: multiple metadata attachment not working in cloud server …
rakeshkumar1019 Aug 7, 2023
b2cc992
WEBUI-1202: Fix blob enrichers initialization when WOPI is installed
rahuljain-dev Jul 31, 2023
f9a96f7
Update 3.1.3-SNAPSHOT to 3.1.4-SNAPSHOT
nuxeo-webui-jx-bot Aug 18, 2023
6f7757b
WEBUI-1235: add new catalog version.
poonamyadav252 Aug 9, 2023
b319d80
WEBUI-1232: Unit test cases coverage improvement
rahuljain-dev Aug 10, 2023
fa7e68a
WEBUI-1066: Fix browser tab name displaying "app.title.undefined" aft…
rahuljain-dev Aug 9, 2023
8cf5fcf
WEBUI-1241: nuxeo dropzone missing after legal hold
Nishant0928 Aug 16, 2023
4c22738
WEBUI-1215: enabled tab navigation through drawer
swarnadipa-dev Aug 14, 2023
ed74142
WEBUI-1268: inactive github pipeline for functional and accessibility…
poonamyadav252 Sep 5, 2023
32fd907
WEBUI-1233: Unit test cases coverage improvement
rahuljain-dev Aug 21, 2023
654b7f1
WEBUI-1214: default behavior for new properties related to retention …
rakeshkumar1019 Aug 30, 2023
ee17a36
WEBUI-555 : implemented tab navigation in nuxeo data-grid cards
swarnadipa-dev Sep 21, 2023
240f026
WEBUI 1256:fix reflow issues in nuxeo-document-import
Nishant0928 Sep 11, 2023
41da423
WEBUI-1262: Make selection action in a nuxeo-data-grid card focusable
swarnadipa-dev Sep 26, 2023
1f2933c
WEBUI-1355: disable unit tests using for firefox
rakeshkumar1019 Nov 17, 2023
4aef8ec
WEBUI 1258:reflow issue in vocabulary table
Nishant0928 Nov 1, 2023
c98679b
WEBUI-1255: fix reflow issue in nuxeo-document-create-popup
Nishant0928 Sep 17, 2023
10625fd
WEBUI-1290: reflow issue of typeselection in nuxeo-document-create popup
Nishant0928 Oct 2, 2023
57e8f7c
WEBUI-1290: revert changes
Nishant0928 Nov 24, 2023
f53f3b5
Update 3.1.4-SNAPSHOT to 3.1.5-SNAPSHOT
nuxeo-webui-jx-bot Dec 1, 2023
d7d5510
WEBUI-1318: nuxeo-data-grid cards navigable when using a keyboard
rakeshkumar1019 Dec 11, 2023
114afe5
WEBUI-1382: POC - Upgrade Polymer to latest version (3.5.1)
rahuljain-dev Dec 14, 2023
7b55593
Update 3.1.5-SNAPSHOT to 3.1.6-SNAPSHOT
nuxeo-webui-jx-bot Feb 2, 2024
d2611f0
WEBUI-1450: Update Nuxeo WEBUI node version(node18)
rakeshkumar1019 Apr 3, 2023
84c0f25
WEBUI-1453: elements ftests not working in cross repo check - node18
rahuljain-dev Feb 20, 2024
42f7467
WEBUI-1314: sauce labs compatibility with firefox geckoDriver
rahuljain-dev Jan 24, 2024
ab48c24
WEBUI-1455: Analysis on retention cicd ftest failure
rahuljain-dev Feb 22, 2024
e772d8a
WEBUI-1290: Reflow issue of typeselection in nuxeo-document-create popup
shadwal-sinha Feb 1, 2024
b3dbe12
WEBUI-1446: CSP headers without the insecure unsafe-inline
rakeshkumar1019 Feb 23, 2024
7be09b3
WEBUI-1457: Nuxeo build failing Building addons failing in CI pipeline
rahuljain-dev Feb 26, 2024
3156b6a
WEBUI-1455: Analysis on retention cicd ftest failure
rahuljain-dev Feb 22, 2024
567dbad
WEBUI-1455: Analysis on retention cicd ftest failure
rahuljain-dev Feb 27, 2024
f2a850f
WEBUI-1446: CSP headers without the insecure unsafe-inline directive
rakeshkumar1019 Feb 27, 2024
44d6007
WEBUI-1385: Fix update of Template properties
alokhyland Feb 6, 2024
c7db1b9
WEBUI-1455: Analysis on retention cicd ftest failure
rahuljain-dev Mar 5, 2024
b550f0f
WEBUI-1386: Fix Saved Search restoration/execution with hierarchical …
alokhyland Feb 27, 2024
a9efce1
WEBUI-1455: Analysis on retention cicd ftest failure
rahuljain-dev Mar 6, 2024
19d986c
WEBUI-1449: Document View Does Not Center the Content in Web UI Versi…
Nishant0928 Feb 27, 2024
29accf5
WEBUI-1289: Fix UI issues in nuxeo-document-import when zoom in
shadwal-sinha Mar 11, 2024
db11784
Update 3.1.6-SNAPSHOT to 3.1.7-SNAPSHOT
nuxeo-webui-jx-bot Mar 18, 2024
bafa414
WEBUI-1446: revert csp changes
rakeshkumar1019 Mar 22, 2024
a97a4e1
Update 3.1.7-SNAPSHOT to 3.1.8-SNAPSHOT
nuxeo-webui-jx-bot Mar 26, 2024
4a1a375
WEBUI-1097: fix activity tab showing unwanted activities
Nishant0928 Mar 21, 2024
b057a41
WEBUI-1112 : Comparing Versions is populating data with special chara…
alokhyland Mar 22, 2024
368dd93
WEBUI-269:Missing focus state on drawer and document tabs
shadwal-sinha Apr 10, 2024
28f559d
Update 3.1.8-SNAPSHOT to 3.1.9-SNAPSHOT
nuxeo-webui-jx-bot May 3, 2024
c642672
WEBUI-1501: Update our elements to show a view instead of a download
rahuljain-dev Apr 30, 2024
4962b5a
ELEMENTS-1722: preview for Office files in the Attachments
rakeshkumar1019 Apr 23, 2024
3e9e14e
WEBUI-1507: update group test case
alokhyland May 1, 2024
38cf581
WEBUI-1510: Own Code Static Scan : Cross-Site Scripting (XSS)
rahuljain-dev May 17, 2024
eebbf8f
WEBUI-1511: Own Code Static Scan : Open Redirect
alokhyland May 24, 2024
f870d78
WEBUI-1511: Own Code Static Scan : Open Redirect
alokhyland May 29, 2024
b43d114
WEBUI-1511:revert code
alokhyland Jun 4, 2024
b0fe4f6
WEBUI-1494: Add fallback to two-letter locale for Swedish
rahuljain-dev Jun 5, 2024
3ccfaf2
WEBUI-697: Add fallback to French (fr) from fr-CA locale
rahuljain-dev Jun 5, 2024
0f5c438
Update 3.1.9-SNAPSHOT to 3.1.10-SNAPSHOT
nuxeo-webui-jx-bot Jun 10, 2024
b3b9b22
WEBUI-1511: Own Code Static Scan : Open Redirect
alokhyland Jun 10, 2024
7db28bb
WEBUI-1502: Fix Saved Search restoration/execution with hierarchical …
rahuljain-dev Jun 18, 2024
df06fbe
ELEMENTS-1672: Apply text-overflow and tooltip to multiple selected i…
alokhyland Jun 17, 2024
6816eed
Revert- Own Code Static Scan : Open Redirect
alokhyland Jun 28, 2024
a6944d0
WEBUI-1490: Fix full text input requiring Enter key press in Default …
rahuljain-dev Jul 2, 2024
aa8327f
Update 3.1.10-SNAPSHOT to 3.1.11-SNAPSHOT
nuxeo-webui-jx-bot Jul 8, 2024
532a138
WEBUI-1282: Allow Content Security Policy without script-src data:
alokhyland Jul 10, 2024
d2982e0
Revert "WEBUI-1282: Allow Content Security Policy without script-src …
alokhyland Jul 11, 2024
fdff8c4
WEBUI-1282: Allow Content Security Policy without script-src data:
alokhyland Jul 10, 2024
89e0245
Revert "WEBUI-1282: Allow Content Security Policy without script-src …
alokhyland Jul 16, 2024
9a6f7fd
WEBUI-1489: Display the + button on mobile browsers (#2279)
rahuljain-dev Jul 23, 2024
05d62b3
WEBUI-1282: Allow Content Security Policy without script-src data:
alokhyland Jul 10, 2024
4630c91
Revert "WEBUI-1282: Allow Content Security Policy without script-src …
alokhyland Jul 24, 2024
d9fa619
Update 3.1.11-SNAPSHOT to 3.1.12-SNAPSHOT
nuxeo-webui-jx-bot Jul 30, 2024
1252621
WEBUI-1567: Adding new property to nuxeo.conf for nuxeo select option…
rahuljain-dev Aug 1, 2024
ea516fa
Revert "ELEMENTS-1672: Apply text-overflow and tooltip to multiple se…
alokhyland Aug 6, 2024
2d39b4c
WEBUI-1511-BACKPORT: Own Code Static Scan : Open Redirect-4
alokhyland Aug 8, 2024
5d51199
WEBUI-1522: [UNSET-VALUE] SRCCLR-SID-37811 | Unknown
alokhyland Aug 29, 2024
eee3548
Update 3.1.12-SNAPSHOT to 3.1.13-SNAPSHOT
nuxeo-webui-jx-bot Sep 6, 2024
7e542fe
WEBUI-1578:- Upgrade upload-artifact from v2 to v4
alokhyland Sep 9, 2024
32aa933
WEBUI-1578:- Upgrade upload-artifact from v2 to v3
alokhyland Sep 10, 2024
963a42e
WEBUI-1579: Clear button in select all functionality shows csp error
alokhyland Sep 11, 2024
56ec80f
WEBUI-1282: Allow Content Security Policy without script-src data:
alokhyland Sep 9, 2024
70d6bc0
WEBUI-1575:- The content of the spreadsheet popup did not load correctly
alokhyland Sep 6, 2024
d58ebfb
WEBUI-1572: schedule veracode scan (#2311)
rakeshkumar1019 Sep 12, 2024
dcc7a42
WEBUI-1572: schedule veracode scan and update artifact v3 (#2315)
rakeshkumar1019 Sep 13, 2024
f257a62
WEBUI-1580: CSP code fix for nuxeo live connect addon
alokhyland Sep 12, 2024
d8cfbbf
WEBUI-1572: varacode scan for 3.1.x to 11pm (#2328)
rakeshkumar1019 Sep 17, 2024
a14f3d1
Revert "WEBUI-1575:- The content of the spreadsheet popup did not loa…
alokhyland Sep 16, 2024
87cb43a
Revert "WEBUI-1282: Allow Content Security Policy without script-src …
alokhyland Sep 16, 2024
12995fc
Revert "WEBUI-1579: Clear button in select all functionality shows cs…
alokhyland Sep 16, 2024
ebb91ca
Revert "WEBUI-1580: CSP code fix for nuxeo live connect addon"
alokhyland Sep 16, 2024
c1f8768
WEBUI-1583: ftest pipeline failing in nuxeo-web-ui
rahuljain-dev Sep 24, 2024
91c3aba
WEBUI-1583: ftest pipeline failing in nuxeo-web-ui
rahuljain-dev Sep 24, 2024
6408b07
WEBUI-1583: ftest pipeline failing in nuxeo-web-ui
rahuljain-dev Sep 24, 2024
fc1ced7
Update 3.1.13-SNAPSHOT to 3.1.14-SNAPSHOT
nuxeo-webui-jx-bot Oct 18, 2024
47e7088
resolve test case random failure
alokhyland Oct 23, 2024
3332eab
ftest publication fix test
alokhyland Oct 29, 2024
b7dd061
WEBUI-1094: Drawer width is hard-coded, not taking value of --nuxeo-s…
rahuljain-dev Nov 12, 2024
74926c6
WEBUI-1602: Analyse and fix ftest & a11y failures in WebUI pipelines
rahuljain-dev Nov 19, 2024
c205f88
checking chrome for testing older version
rahuljain-dev Nov 19, 2024
eaac0c6
WEBUI-1602: Analyse and fix ftest & a11y failures in WebUI pipelines
rahuljain-dev Nov 19, 2024
264da3e
Automatic update of translations from Crowdin
nuxeo-webui-jx-bot Nov 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
NUXEO_WEB_UI_VERSION=3.0.22-SNAPSHOT
NUXEO_WEB_UI_VERSION=3.1.14-SNAPSHOT
NUXEO_VERSION=master
NUXEO_PACKAGES=nuxeo-drive nuxeo-liveconnect nuxeo-template-rendering
NUXEO_DEV_MODE=true
Expand Down
80 changes: 46 additions & 34 deletions .github/workflows/a11y.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: A11y
on:
pull_request:
branches:
- maintenance-3.0.x
- maintenance-3.1.x
workflow_call:
inputs:
branch:
description: 'The current branch'
default: maintenance-3.0.x
default: maintenance-3.1.x
type: string
required: false
secrets:
Expand All @@ -18,50 +18,62 @@ on:
PACKAGES_AUTH_USER:
description: 'PACKAGES_AUTH_USER'
required: true
PACKAGES_AUTH_TOKEN:
PACKAGES_AUTH_TOKEN:
description: 'PACKAGES_AUTH_TOKEN'
required: true

env:
REFERENCE_BRANCH: maintenance-3.0.x
REFERENCE_BRANCH: maintenance-3.1.x
NPM_REPOSITORY: https://packages.nuxeo.com/repository/npm-public/
BRANCH_NAME: ${{ github.head_ref || inputs.branch || 'maintenance-3.0.x' }}
BRANCH_NAME: ${{ github.head_ref || inputs.branch || 'maintenance-3.1.x' }}

jobs:
a11y:
runs-on: ubuntu-latest
runs-on: [self-hosted, master]
steps:
- uses: actions/checkout@v2
with:
ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v2
with:
ref: ${{ env.BRANCH_NAME }}

- run: git config user.name "nuxeo-web-ui-jx-bot" && git config user.email "ui+jx-bot@nuxeo.com"
- run: git config user.name "nuxeo-webui-jx-bot" && git config user.email "webui@hyland.com"

- uses: actions/setup-node@v3
with:
registry-url: ${{ env.NPM_REPOSITORY }}
node-version: 14
scope: '@nuxeo'
- uses: actions/setup-node@v3
with:
registry-url: ${{ env.NPM_REPOSITORY }}
node-version: 18
scope: '@nuxeo'

- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- name: Install Web UI
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }}
run: |
npm install
pushd packages/nuxeo-web-ui-ftest
npm install
popd
pushd packages/nuxeo-designer-catalog
npm install
popd

- name: 'Update settings.xml with server configuration'
run: |
echo '<settings>
<servers>
<server>
<id>maven-internal</id>
<username>${{ secrets.PACKAGES_AUTH_USER }}</username>
<password>${{ secrets.PACKAGES_AUTH_TOKEN }}</password>
</server>
</servers>
</settings>' > ~/.m2/settings.xml
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '17'

- name: Web UI build
run: mvn -B -ntp install
- name: 'Update settings.xml with server configuration'
run: |
echo '<settings>
<servers>
<server>
<id>maven-internal</id>
<username>${{ secrets.PACKAGES_AUTH_USER }}</username>
<password>${{ secrets.PACKAGES_AUTH_TOKEN }}</password>
</server>
</servers>
</settings>' > ~/.m2/settings.xml

- name: A11y checks
run: mvn -B -ntp -f plugin/a11y install
- name: Web UI build
run: mvn -B -ntp install

- name: A11y checks
run: mvn -B -ntp -f plugin/a11y install
28 changes: 16 additions & 12 deletions .github/workflows/catalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
inputs:
target_platform:
description: 'The Nuxeo server target platform to build the catalog for.'
default: '11.3'
default: '2023.0'
required: true
branch_name:
description: 'The name of the Nuxeo Web UI branch to generate the catalog for.'
default: 'maintenance-3.0.x'
default: 'maintenance-3.1.x'
required: true
classifier:
description: 'Classifier to name a custom version of the catalog (used for testing purposes).'
Expand All @@ -31,31 +31,31 @@ jobs:
steps:
- uses: actions/checkout@v3

- run: git config --global user.name "nuxeo-web-ui-jx-bot" && git config --global user.email "ui+jx-bot@nuxeo.com"
- run: git config --global user.name "nuxeo-webui-jx-bot" && git config --global user.email "webui@hyland.com"

- uses: actions/setup-node@v3
with:
node-version: 10
node-version: 14

- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
java-version: '17'

- name: 'Update settings.xml with server configuration'
run: |
echo '<settings>
<mirrors>
<mirror>
<id>nos-team</id>
<id>maven-internal</id>
<mirrorOf>external:*</mirrorOf>
<url>https://nexus-jx.nos.build.nuxeo.com/repository/maven-group/</url>
<url>https://packages.nuxeo.com/repository/maven-internal/</url>
</mirror>
</mirrors>
<servers>
<server>
<id>nos-team</id>
<username>nuxeo-web-ui-jx-bot</username>
<username>nuxeo-webui-jx-bot</username>
<password>${{ secrets.WEBUI_JX_BOT_GITHUB_ACTIONS_TOKEN }}</password>
</server>
<server>
Expand All @@ -75,13 +75,16 @@ jobs:
</server>
</servers>
</settings>' > ~/.m2/settings.xml

- name: Install libxml2-utils (xmllint)
run: sudo apt-get update && sudo apt-get install -y libxml2-utils

- name: Setup parameters (release)
if: github.event_name == 'release'
working-directory: packages/nuxeo-designer-catalog
run: |
echo "BRANCH_NAME=v${GITHUB_HEAD_REF##*/}" >> $GITHUB_ENV
echo "TARGET_PLATFORM=11.3" >> $GITHUB_ENV
echo "TARGET_PLATFORM=2023.0" >> $GITHUB_ENV

- name: Setup parameters (workflow_dispatch)
if: github.event_name == 'workflow_dispatch'
Expand All @@ -103,8 +106,9 @@ jobs:

- name: Bundle the catalog
run: |
sudo chmod +r pom.xml
CATALOG_VERSION=$(xmllint --xpath "//*[local-name()='project']/*[local-name()='version']/text()" pom.xml)${{ github.event.inputs.classifier }}
pushd packages/nuxeo-designer-catalog/data/applications/nuxeo/${{ env.TARGET_PLATFORM }}
CATALOG_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.version -q -DforceStdout -f nuxeo-web-ui/pom.xml)${{ github.event.inputs.classifier }}
echo "CATALOG_VERSION=$CATALOG_VERSION" >> $GITHUB_ENV
CATALOG_NAME=$ARTIFACT_ID-$CATALOG_VERSION.zip
echo "CATALOG_NAME=$CATALOG_NAME" >> $GITHUB_ENV
Expand Down Expand Up @@ -144,8 +148,8 @@ jobs:
GH_TOKEN: ${{ secrets.WEBUI_JX_BOT_GITHUB_ACTIONS_TOKEN }}
run: |
git checkout -b designer-catalog-update-$CATALOG_VERSION
mvn versions:set-property -Dproperty=view.designer.catalog.11.3 -DnewVersion=$CATALOG_VERSION
mvn versions:set-property -Dproperty=view.designer.catalog.2023.0 -DnewVersion=$CATALOG_VERSION
git add .
git commit -m "Update Designer catalog with version $CATALOG_VERSION"
git push origin designer-catalog-update-$CATALOG_VERSION
gh pr create --base master --fill
gh pr create --base master --fill
8 changes: 4 additions & 4 deletions .github/workflows/clean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ on:
pull_request:
types: [closed, unlabeled]
branches:
- maintenance-3.0.x
- maintenance-3.1.x

workflow_dispatch:
inputs:
branch_name:
description: 'The name of the branch to preview.'
default: 'maintenance-3.0.x'
default: 'maintenance-3.1.x'
required: true
caller_id:
description: 'run identifier'
default: 'maintenance-3.0.x'
default: 'maintenance-3.1.x'
type: string
required: false

Expand Down Expand Up @@ -59,4 +59,4 @@ jobs:
- name: Cleanup preview namespace
continue-on-error: true
run: |
kubectl delete ns ${PREVIEW_NAMESPACE}
kubectl delete ns ${PREVIEW_NAMESPACE}
36 changes: 26 additions & 10 deletions .github/workflows/cross-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
inputs:
branch_name:
description: 'The name of the branch to build.'
default: 'maintenance-3.0.x'
default: 'maintenance-3.1.x'
required: true
sauce_labs:
description: 'Run unit tests on Sauce Labs?'
Expand Down Expand Up @@ -40,12 +40,12 @@ on:
required: false
caller_id:
description: 'run identifier'
default: 'maintenance-3.0.x'
default: 'maintenance-3.1.x'
type: string
required: false

env:
REFERENCE_BRANCH: maintenance-3.0.x
REFERENCE_BRANCH: maintenance-3.1.x
NPM_REPOSITORY: https://packages.nuxeo.com/repository/npm-public/

jobs:
Expand All @@ -67,11 +67,12 @@ jobs:
with:
registry-url: ${{ env.NPM_REPOSITORY }}
scope: '@nuxeo'
node-version: 18

- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
java-version: '17'

- name: Determine nuxeo-web-ui branch to use
uses: nuxeo/ui-team-gh-actions/get-branch@ca09d5c52a62e297502d3572c36d813be927982a
Expand Down Expand Up @@ -103,6 +104,9 @@ jobs:
pushd packages/nuxeo-web-ui-ftest
npm install
popd
pushd plugin/a11y
npm install
popd
pushd packages/nuxeo-designer-catalog
npm install
popd
Expand Down Expand Up @@ -138,6 +142,18 @@ jobs:
popd
popd

- name: Add .npmrc
run: |
pushd /tmp/_temp/
rm .npmrc
touch .npmrc
popd
echo '
packages.nuxeo.com/repository/npm-public/:_auth=${NODE_AUTH_TOKEN}
@nuxeo:registry=https://packages.nuxeo.com/repository/npm-public/
always-auth=true
' >> /tmp/_temp/.npmrc

- name: Link elements to Web UI
run: |
npm install --no-package-lock --@nuxeo:registry="${{ env.NPM_REPOSITORY }}" nuxeo-elements/core/${ELEMENTS_CORE}
Expand Down Expand Up @@ -167,7 +183,7 @@ jobs:
</server>
</servers>
</settings>' > ~/.m2/settings.xml

- name: Nuxeo package build and Ftests
env:
RUN_ALL: ${{ github.event.inputs.run_all }}
Expand Down Expand Up @@ -196,22 +212,22 @@ jobs:

- name: Archive cucumber reports
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: cucumber-reports
path: |
ftest/target/cucumber-reports/

- name: Archive screenshots
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: screenshots
path: ftest/target/screenshots/

- name: Archive logs
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: logs
path: |
Expand All @@ -220,9 +236,9 @@ jobs:

- name: Archive packages
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: packages
path: |
plugin/web-ui/marketplace/target/nuxeo-web-ui-marketplace-*.zip
plugin/itests/marketplace/target/nuxeo-web-ui-marketplace-itests-*.zip
plugin/itests/marketplace/target/nuxeo-web-ui-marketplace-itests-*.zip
12 changes: 6 additions & 6 deletions .github/workflows/crowdin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
schedule:
- cron: '0 0 * * *'

# Sync when a commit is done on maintenance-3.0.x
# Sync when a commit is done on maintenance-3.1.x
push:
branches:
- maintenance-3.0.x
- maintenance-3.1.x
paths:
- 'i18n/messages.json'

Expand All @@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v3

- name: Crowdin Action
uses: crowdin/github-action@1.4.9
uses: crowdin/github-action@v1
with:
# Tokens
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
Expand All @@ -52,8 +52,8 @@ jobs:
download_translations: true

# User properties
github_user_name: nuxeo-web-ui-jx-bot
github_user_email: ui+jx-bot@nuxeo.com
github_user_name: nuxeo-webui-jx-bot
github_user_email: webui@hyland.com

env:
GITHUB_TOKEN: ${{ secrets.WEBUI_JX_BOT_GITHUB_ACTIONS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.WEBUI_JX_BOT_GITHUB_ACTIONS_TOKEN }}
Loading