Skip to content

Commit

Permalink
Merge pull request #8133 from weseek/master
Browse files Browse the repository at this point in the history
Release v6.2.1
  • Loading branch information
yuki-takei authored Oct 2, 2023
2 parents a097ff7 + 9eb8987 commit 9da0143
Show file tree
Hide file tree
Showing 40 changed files with 280 additions and 437 deletions.
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ filter-by-commitish: true
categories:
- title: 'BREAKING CHANGES'
labels:
- 'type/reaking'
- 'type/breaking'
- title: '💎 Features'
labels:
- 'type/feature'
Expand Down
102 changes: 51 additions & 51 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,56 +75,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


create-pr-for-next-rc:
needs: create-github-release

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
ref: v${{ needs.create-github-release.outputs.RELEASED_VERSION }}

- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'

- name: Install dependencies
run: |
yarn global add turbo
yarn --frozen-lockfile
- name: Bump versions for next RC
run: |
turbo run version --filter=@growi/app -- --prepatch
turbo run version --filter=@growi/slackbot-proxy -- --prepatch
yarn upgrade --scope=@growi
- name: Retrieve information from package.json
uses: myrotvorets/info-from-package-json-action@1.2.0
id: package-json

- name: Commit
uses: github-actions-x/commit@v2.9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: support/prepare-v${{ steps.package-json.outputs.packageVersion }}
commit-message: 'Bump version'
name: GitHub Action

- name: Create PR
uses: repo-sync/pull-request@v2
with:
source_branch: support/prepare-v${{ steps.package-json.outputs.packageVersion }}
destination_branch: ${{ github.head_ref }}
pr_title: Prepare v${{ steps.package-json.outputs.packageVersion }}
pr_label: flag/exclude-from-changelog,type/prepare-next-version
pr_body: "[skip ci] An automated PR generated by create-pr-for-next-rc"
github_token: ${{ secrets.GITHUB_TOKEN }}


determine-tags:
needs: create-github-release
runs-on: ubuntu-latest
Expand Down Expand Up @@ -203,7 +153,7 @@ jobs:


post-publish:
needs: [create-github-release, publish-image, publish-image-ghcr]
needs: [publish-image, publish-image-ghcr]
runs-on: ubuntu-latest

steps:
Expand All @@ -230,3 +180,53 @@ jobs:
run: |
STATUS=`git status --porcelain`
if [ -z "$STATUS" ]; then exit 0; else exit 1; fi
create-pr-for-next-rc:
needs: [publish-image, publish-image-ghcr]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
ref: v${{ needs.create-github-release.outputs.RELEASED_VERSION }}

- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'

- name: Install dependencies
run: |
yarn global add turbo
yarn --frozen-lockfile
- name: Bump versions for next RC
run: |
turbo run version --filter=@growi/app -- --prepatch
turbo run version --filter=@growi/slackbot-proxy -- --prepatch
yarn upgrade --scope=@growi
- name: Retrieve information from package.json
uses: myrotvorets/info-from-package-json-action@1.2.0
id: package-json

- name: Commit
uses: github-actions-x/commit@v2.9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: support/prepare-v${{ steps.package-json.outputs.packageVersion }}
commit-message: 'Bump version'
name: GitHub Action

- name: Create PR
uses: repo-sync/pull-request@v2
with:
source_branch: support/prepare-v${{ steps.package-json.outputs.packageVersion }}
destination_branch: ${{ github.head_ref }}
pr_title: Prepare v${{ steps.package-json.outputs.packageVersion }}
pr_label: flag/exclude-from-changelog,type/prepare-next-version
pr_body: "[skip ci] An automated PR generated by create-pr-for-next-rc"
github_token: ${{ secrets.GITHUB_TOKEN }}
38 changes: 19 additions & 19 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,6 @@

*Please do not manually update this file. We've automated the process.*

## [v6.1.15](https://github.com/weseek/growi/compare/v6.1.14...v6.1.15) - 2023-09-11

### 🚀 Improvement

- imprv: Add CSP style-src for Safari and Content-Disposition of attachment (for v6.1.x) (#8057) @yuki-takei

## [v6.1.14](https://github.com/weseek/growi/compare/v6.1.13...v6.1.14) - 2023-08-22

### 🐛 Bug Fixes

- fix: Add option to lightbox (6.1.x) (#8003) @yuki-takei

## [v6.1.13](https://github.com/weseek/growi/compare/v6.1.12...v6.1.13) - 2023-08-17

### 🐛 Bug Fixes

- fix: Do not work img tag if use style property (#7988) @jam411
- fix: "Searching..." label appearing unnecessarily (#7990) @yuki-takei

## [v6.2.0](https://github.com/weseek/growi/compare/v6.1.12...v6.2.0) - 2023-09-14

### 💎 Features
Expand Down Expand Up @@ -58,6 +39,25 @@
- support: Improve build settings (#7919) @yuki-takei
- support: Url to join to the slack team (#8073) @WNomunomu

## [v6.1.15](https://github.com/weseek/growi/compare/v6.1.14...v6.1.15) - 2023-09-11

### 🚀 Improvement

- imprv: Add CSP style-src for Safari and Content-Disposition of attachment (for v6.1.x) (#8057) @yuki-takei

## [v6.1.14](https://github.com/weseek/growi/compare/v6.1.13...v6.1.14) - 2023-08-22

### 🐛 Bug Fixes

- fix: Add option to lightbox (6.1.x) (#8003) @yuki-takei

## [v6.1.13](https://github.com/weseek/growi/compare/v6.1.12...v6.1.13) - 2023-08-17

### 🐛 Bug Fixes

- fix: Do not work img tag if use style property (#7988) @jam411
- fix: "Searching..." label appearing unnecessarily (#7990) @yuki-takei

## [v6.1.12](https://github.com/weseek/growi/compare/v6.1.11...v6.1.12) - 2023-08-14

### 🐛 Bug Fixes
Expand Down
1 change: 0 additions & 1 deletion apps/app/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ QUESTIONNAIRE_SERVER_ORIGIN="http://host.docker.internal:3003"
# USER_UPPER_LIMIT=0
# DEV_HTTPS=true
# FORCE_WIKI_MODE=private
# PROMSTER_ENABLED=true
# SLACKBOT_WITHOUT_PROXY_SIGNING_SECRET=''
# SLACKBOT_WITHOUT_PROXY_BOT_TOKEN=''
# GROWI_CLOUD_URI='http://growi.cloud'
Expand Down
2 changes: 1 addition & 1 deletion apps/app/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ COPY --from=base ${optDir}/out/yarn.lock ./yarn.lock

# setup (with network-timeout = 1 hour)
RUN yarn config set network-timeout 3600000
RUN yarn --frozen-lockfile
RUN yarn

# make artifacts
RUN tar -cf node_modules.tar \
Expand Down
6 changes: 1 addition & 5 deletions apps/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@growi/app",
"version": "6.2.0",
"version": "6.2.1-RC.0",
"license": "MIT",
"scripts": {
"//// for production": "",
Expand Down Expand Up @@ -52,7 +52,6 @@
"// comments for dependencies": {
"escape-string-regexp": "5.0.0 or above exports only ESM",
"string-width": "5.0.0 or above exports only ESM.",
"prom-client": "!!DO NOT REMOVE!! A peer dependency of @promster.",
"remark-wiki-link": "!!DO NOT REMOVE!! including 'mdast-util-wiki-link' and 'micromark-extension-wiki-link' required by pukiwiki-like-linker"
},
"dependencies": {
Expand All @@ -74,8 +73,6 @@
"@growi/remark-growi-directive": "link:../../packages/remark-growi-directive",
"@growi/remark-lsx": "link:../../packages/remark-lsx",
"@growi/slack": "link:../../packages/slack",
"@promster/express": "^7.0.6",
"@promster/server": "^7.0.8",
"@slack/web-api": "^6.2.4",
"@slack/webhook": "^6.0.0",
"@types/jest": "^29.5.2",
Expand Down Expand Up @@ -154,7 +151,6 @@
"passport-ldapauth": "^3.0.1",
"passport-local": "^1.0.0",
"passport-saml": "^3.2.0",
"prom-client": "^14.1.1",
"qs": "^6.11.1",
"rate-limiter-flexible": "^2.3.7",
"react": "^18.2.0",
Expand Down
11 changes: 8 additions & 3 deletions apps/app/public/static/locales/en_US/admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -480,13 +480,16 @@
"show_all_reply_comments": "Show all reply comments",
"show_all_reply_comments_desc": "When the setting value is off, comments other than the latest two are omitted.",
"select_search_scope_children_as_default": "Select 'Only children of this tree' as default value of search range",
"select_search_scope_children_as_default_desc": "When the setting value is off, 'All pages' is used as default value of search range.",
"select_search_scope_children_as_default_desc": "When the setting value is off, 'All pages' is used as default value of search range."
},
"presentation": "Presentation",
"presentation_options": {
"enable_marp": "Enable Marp ",
"enable_marp_desc": "Marp can be used in presentation preview. This option may make you vulnerable to XSS.",
"marp_official_site": "The Marp Official Site",
"marp_official_site_link": "https://marp.app",
"marp_in_growi" : "GROWI Docs - Create slide using Marp",
"marp_in_growi_link": "https://docs.growi.org/en/guide/features/marp.html"
"presentation_docs" : "GROWI Docs - Create slides for a presentation",
"presentation_docs_link": "https://docs.growi.org/en/guide/features/presentation.html"
},
"custom_title": "Custom title",
"custom_title_detail": "You can customize <code>&lt;title&gt;</code> tag. Following placeholders will be automatically replaced:",
Expand All @@ -499,6 +502,7 @@
"write_css": "You can write CSS that is applied to whole system.",
"ctrl_space": "Ctrl+Space to autocomplete",
"custom_script": "Custom script",
"custom_presentation": "Custom presentation",
"write_java": "You can write Javascript that is applied to whole system.",
"reflect_change": "You need to reload the page to reflect the change.",
"custom_logo" : "Custom Logo",
Expand Down Expand Up @@ -912,6 +916,7 @@
"USER_API_TOKEN_UPDATE": "API Token update",
"USER_EDITOR_SETTINGS_UPDATE": "Editor settings update",
"USER_IN_APP_NOTIFICATION_SETTINGS_UPDATE": "In-App Notification settings update",
"USER_REGISTRATION_APPROVAL_REQUEST": "User registration request for ID/Password authentication",
"PAGE_VIEW": "Page view",
"PAGE_USER_HOME_VIEW": "Page view (User home)",
"PAGE_FORBIDDEN": "Page view (Fobidden page)",
Expand Down
1 change: 1 addition & 0 deletions apps/app/public/static/locales/en_US/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"No users have liked this yet.": "No users have liked this yet.",
"No users have bookmarked yet": "No users have bookmarked yet",
"Create Archive Page": "Create Archive Page",
"Create Sidebar Page": "Create <strong>/Sidebar</strong> Page",
"File type": "File type",
"Target page": "Target page",
"Include Attachment File": "Include Attachment File",
Expand Down
14 changes: 10 additions & 4 deletions apps/app/public/static/locales/ja_JP/admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -488,13 +488,17 @@
"show_all_reply_comments": "返信コメントを全て表示する",
"show_all_reply_comments_desc": "OFFの場合、最新2件のコメント以外が省略されます。",
"select_search_scope_children_as_default": "検索範囲のデフォルト設定を「この階層下の子ページ」にする",
"select_search_scope_children_as_default_desc": "OFFの場合、検索範囲のデフォルト設定は「全てのページ」になります。",
"select_search_scope_children_as_default_desc": "OFFの場合、検索範囲のデフォルト設定は「全てのページ」になります。"

},
"presentation":"プレゼンテーション",
"presentation_options":{
"enable_marp": "Marp を有効化する",
"enable_marp_desc": "プレゼンテーション表示に Marp を利用できるようになります。ただし、XSS に対して脆弱になる恐れがあります。",
"marp_official_site": "参考:Marp 公式サイト",
"marp_official_site_link": "https://marp.app",
"marp_in_growi" : "参考:GROWI Docs - Marp でスライドを作成する",
"marp_in_growi_link": "https://docs.growi.org/ja/guide/features/marp.html"
"presentation_docs" : "参考:GROWI Docs - プレゼンテーション機能を使う",
"presentation_docs_link": "https://docs.growi.org/ja/guide/features/presentation.html"
},
"custom_title": "カスタム Title",
"custom_title_detail": "<code>&lt;title&gt;</code>タグのコンテンツをカスタマイズできます。以下のプレースホルダーは自動的に置換されます:",
Expand All @@ -507,6 +511,7 @@
"write_css": " システム全体に適用されるCSSを記述できます。",
"ctrl_space": "Ctrl+Space でコード補完",
"custom_script": "カスタムスクリプト",
"custom_presentation":"プレゼンテーション",
"write_java": "システム全体に適用されるJavaScriptを記述できます。",
"reflect_change": "変更の反映はページの更新が必要です。",
"custom_logo": "カスタムロゴ",
Expand All @@ -515,7 +520,7 @@
"current_logo": "現在のロゴ",
"upload_new_logo": "新しいロゴをアップロードする",
"delete_logo": "ロゴを削除"
},
},
"importer_management": {
"import_data": "データインポート",
"article": "記事",
Expand Down Expand Up @@ -920,6 +925,7 @@
"USER_API_TOKEN_UPDATE": "API トークンの更新",
"USER_EDITOR_SETTINGS_UPDATE": "エディター設定の更新",
"USER_IN_APP_NOTIFICATION_SETTINGS_UPDATE": "アプリ内通知設定の更新",
"USER_REGISTRATION_APPROVAL_REQUEST": "ID/Password 認証のユーザー登録リクエスト",
"PAGE_VIEW": "ページ閲覧",
"PAGE_USER_HOME_VIEW": "ページ閲覧(ユーザーホーム)",
"PAGE_FORBIDDEN": "ページ閲覧(fobiddenページ)",
Expand Down
1 change: 1 addition & 0 deletions apps/app/public/static/locales/ja_JP/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"No users have liked this yet": "いいねをしているユーザーはいません",
"No users have bookmarked yet": "ブックマークしているユーザーはいません",
"Create Archive Page": "アーカイブページの作成",
"Create Sidebar Page": "<strong>/Sidebar</strong> ページを作成する",
"Target page": "対象ページ",
"File type": "ファイル形式",
"Include Attachment File": "添付ファイルも含める",
Expand Down
11 changes: 8 additions & 3 deletions apps/app/public/static/locales/zh_CN/admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -488,13 +488,16 @@
"show_all_reply_comments": "显示所有回复评论",
"show_all_reply_comments_desc": "当设置值为“关”时,将忽略最近两个之外的注释。",
"select_search_scope_children_as_default": "选择“当前分支以下内容”, 作为搜索范围的默认值",
"select_search_scope_children_as_default_desc": "当设置值为“关”时,“所有页面”被作为搜索范围的默认值。",
"select_search_scope_children_as_default_desc": "当设置值为“关”时,“所有页面”被作为搜索范围的默认值。"
},
"presentation": "表达",
"presentation_options": {
"enable_marp": "启用 Marp",
"enable_marp_desc": "Marp 可在演示视图中使用。该选项可能会使您受到 XSS 的攻击。",
"marp_official_site": "参考资料:Marp 官方网站",
"marp_official_site_link": "https://marp.app",
"marp_in_growi" : "参考资料:GROWI Docs - Create slide using Marp",
"marp_in_growi_link": "https://docs.growi.org/en/guide/features/marp.html"
"presentation_docs" : "参考资料:GROWI Docs - Create slides for a presentation",
"presentation_docs_link": "https://docs.growi.org/en/guide/features/presentation.html"
},
"custom_title": "自定义标题",
"custom_title_detail": "您可以自定义<code>&lt;title&gt;</code>标记。<br><code>&123;&123;sitename&&125;&125;</code>将自动替换为应用程序名称,并且<code>&123;&123;page&&125;&125;</code>将替换为页面名称/路径。",
Expand All @@ -507,6 +510,7 @@
"write_css": "您可以编写应用于整个系统的CSS。",
"ctrl_space": "Ctrl+Space 自动完成",
"custom_script": "定制纸条",
"custom_presentation":"表达",
"write_java": "您可以编写应用于整个系统的Javascript。",
"reflect_change": "您需要重新加载页面以反映更改。",
"custom_logo": "自定义徽标",
Expand Down Expand Up @@ -920,6 +924,7 @@
"USER_API_TOKEN_UPDATE": "API 令牌更新",
"USER_EDITOR_SETTINGS_UPDATE": "编辑器设置更新",
"USER_IN_APP_NOTIFICATION_SETTINGS_UPDATE": "应用内通知设置更新",
"USER_REGISTRATION_APPROVAL_REQUEST": "用户注册 ID/密码验证请求",
"PAGE_VIEW": "页面浏览量",
"PAGE_USER_HOME_VIEW": "页面浏览量(用户主页)",
"PAGE_FORBIDDEN": "页面浏览量(禁止页面)",
Expand Down
1 change: 1 addition & 0 deletions apps/app/public/static/locales/zh_CN/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"No users have liked this yet": "还没有用户喜欢这个",
"No users have bookmarked yet": "还没有用户加入书签",
"Create Archive Page": "创建归档页",
"Create Sidebar Page": "创建 <strong>/Sidebar</strong> 页面",
"File type": "文件类型",
"Target page": "目标页面",
"Include Attachment File": "包含附件",
Expand Down
Loading

0 comments on commit 9da0143

Please sign in to comment.