Update chartjs and mermaid; do not throw error, if plugin hint file cannot be created
This commit is contained in:
parent
76116bd7bb
commit
3d76540405
9
.github/workflows/linters.yml
vendored
9
.github/workflows/linters.yml
vendored
@ -2,6 +2,8 @@ name: Run Linters
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '30 5 * * *'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
@ -19,9 +21,11 @@ jobs:
|
||||
run: |
|
||||
echo "">> Gemfile
|
||||
echo "group :test do">> Gemfile
|
||||
echo " gem 'pandoc-ruby', require: false" >> Gemfile
|
||||
echo " gem 'rubocop', require: false" >> Gemfile
|
||||
echo " gem 'rubocop-performance', require: false" >> Gemfile
|
||||
echo " gem 'rubocop-rails', require: false" >> Gemfile
|
||||
echo " gem 'slim_lint', require: false" >> Gemfile
|
||||
echo "end">> Gemfile
|
||||
|
||||
- name: Setup gems
|
||||
@ -33,6 +37,11 @@ jobs:
|
||||
run: |
|
||||
bundle exec rubocop -S
|
||||
|
||||
- name: Run Slim-Lint
|
||||
run: |
|
||||
bundle exec slim-lint app/views
|
||||
if: always()
|
||||
|
||||
- name: Run Brakeman
|
||||
run: |
|
||||
bundle exec brakeman -5
|
||||
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -2,6 +2,8 @@ name: Tests
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '0 5 * * *'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
@ -7,12 +7,13 @@ Changelog
|
||||
- Do not show "Assign to me" if assigned_to is disabled for tracker
|
||||
- FontAwesome 5.15.1 support
|
||||
- D3 6.2.0 support
|
||||
- Mermaid 8.8.2 support
|
||||
- Mermaid 8.8.3 support
|
||||
- add current_user as special login name for user macro (which shows current login user)
|
||||
- add text parameter to user macro (which disable link to user)
|
||||
- add asynchronous text block
|
||||
- gemify plugin to use it with Gemfile.local or other plugins
|
||||
- remove spam protection functionality
|
||||
- Chart.js 2.9.4 support
|
||||
|
||||
3.0.0
|
||||
+++++
|
||||
|
6
assets/javascripts/Chart.bundle.min.js
vendored
Normal file → Executable file
6
assets/javascripts/Chart.bundle.min.js
vendored
Normal file → Executable file
File diff suppressed because one or more lines are too long
2
assets/javascripts/mermaid.min.js
vendored
2
assets/javascripts/mermaid.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
0
assets/stylesheets/Chart.min.css
vendored
Normal file → Executable file
0
assets/stylesheets/Chart.min.css
vendored
Normal file → Executable file
@ -1,6 +1,4 @@
|
||||
Rails.application.routes.draw do
|
||||
# Don't create routes for repositories resources with only: []
|
||||
# do not override Redmine's routes.
|
||||
resources :issues, only: [] do
|
||||
resource 'assign_to_me', only: %i[update], controller: 'additionals_assign_to_me'
|
||||
resource 'change_status', only: %i[update], controller: 'additionals_change_status'
|
||||
|
@ -169,14 +169,14 @@ Don't worry, if you only need a subset of the provided libraries. If you do not
|
||||
|
||||
It provides :
|
||||
|
||||
* `Chart.js 2.9.3 <https://www.chartjs.org/>`_
|
||||
* `Chart.js 2.9.4 <https://www.chartjs.org/>`_
|
||||
* `Chart.js Plugin colorschemes 0.4.0 <https://github.com/nagix/chartjs-plugin-colorschemes>`_
|
||||
* `Chart.js Plugin datalabels 0.7.0 <https://github.com/chartjs/chartjs-plugin-datalabels>`_
|
||||
* `clipboardJS 2.0.6 <https://clipboardjs.com/>`_
|
||||
* `d3 6.2.0 <https://d3js.org/>`_
|
||||
* `d3plus v2.0.0-alpha.29 <https://d3plus.org/>`_
|
||||
* `FontAwesome 5.15.1 <https://fontawesome.com/>`_
|
||||
* `mermaid 8.8.2 <https://github.com/knsv/mermaid/>`_
|
||||
* `mermaid 8.8.3 <https://github.com/knsv/mermaid/>`_
|
||||
* `Select2 4.0.13 <https://select2.org/>`_
|
||||
|
||||
And a set of various Rails helper methods (see below).
|
||||
|
@ -54,6 +54,8 @@ module Additionals
|
||||
See #{plugin_id} gem installed directory.
|
||||
PLUGIN_HINT
|
||||
end
|
||||
rescue Errno::EACCES => e
|
||||
Rails.logger.warn "Could not create plugin hint file: #{e.message}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user