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

Continuous Release 1.12.0 #624

Merged
merged 14 commits into from
Apr 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .browserslistrc

This file was deleted.

135 changes: 0 additions & 135 deletions .coffeelint.json

This file was deleted.

1 change: 1 addition & 0 deletions .erb-lint.yml → .config/.erb-lint.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Not used right now
---
EnableDefaultLinters: true
linters:
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml → .config/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Style/MethodCallWithArgsParentheses:
AllowedPatterns: [^redirect_]
# Don't enforce in migrations, as we have methods like `add_column`,
# `change_column` etc. and parentheses would be very annoying there.
Exclude: ["db/**/*"]
Exclude: ["../db/**/*"]

Style/RedundantReturn:
AllowMultipleReturnValues: true
Expand Down
6 changes: 6 additions & 0 deletions .config/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Config settings

This directory contains configuration files for the project according to the [`.config/` directory proposal](https://github.com/pi0/config-dir).

Note that we currently don't use these files (but might in the near future):
- `.erb-lint.myl`
2 changes: 1 addition & 1 deletion eslint.config.mjs → .config/eslint.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default [
js.configs.recommended,
// Allow linting of ERB files, see https://github.com/Splines/eslint-plugin-erb
erb.configs.recommended,
// Globally ignore the following files
// Globally ignore the following paths
{
ignores: [
"node_modules/",
Expand Down
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ docker/developement/Dockerfile
docker/run_tests/docker-compose.yml
docker/run_tests/Dockerfile
**/.git
.travis*
LICENSE
README.md
mampf-gui-transparent.png
Expand Down
29 changes: 0 additions & 29 deletions .github/PULL_REQUEST_TEMPLATE/feature.md

This file was deleted.

1 change: 0 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE/localizing.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ jobs:
if: ${{ steps.js-changed.outputs.changed-files != ''}}
run: |
echo "🚨 Running ESLint version: $(yarn run --silent eslint --version)"
yarn run eslint --max-warnings 0 --no-warn-ignored ${{ steps.js-changed.outputs.changed-files }}
yarn run eslint --config ./.config/eslint.mjs --max-warnings 0 --no-warn-ignored ${{ steps.js-changed.outputs.changed-files }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ coverage
/public/uploads

# Ignore environment variables
/config/app_environment_variables.rb
completed_initial_run
/public/uploads.zip
/public/pdfcomprezzor/pdfcomprezzor.wasm
Expand Down
3 changes: 0 additions & 3 deletions .rspec

This file was deleted.

15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

11 changes: 9 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"eslint.experimental.useFlatConfig": true,
// this disables VSCode built-in formatter (instead we want to use ESLint)
"javascript.validate.enable": false,
"eslint.options": {
"overrideConfigFile": ".config/eslint.mjs"
},
//////////////////////////////////////
// HTML
//////////////////////////////////////
Expand All @@ -30,7 +33,9 @@
"editor.formatOnSave": true
},
"rubyLsp.formatter": "rubocop",
"rubyLsp.rubyVersionManager": "rbenv",
"rubyLsp.rubyVersionManager": {
"identifier": "rbenv"
},
"rubyLsp.enabledFeatures": {
"codeActions": true,
"diagnostics": true,
Expand Down Expand Up @@ -89,6 +94,8 @@
//////////////////////////////////////
"cSpell.words": [
"commontator",
"helpdesk",
"turbolinks"
]
],
"rubyLsp.customRubyCommand": "set -o allexport && . ./docker-dummy.env && set +o allexport"
}
16 changes: 8 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby "3.1.4"

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem "rails", "~> 7.0.4.3"
gem "rails", "~> 7.1.3"
# Use dalli for caching to memcached in production
gem "dalli", ">= 2.7"
# Ruby wrapper for UglifyJS JavaScript compressor
Expand Down Expand Up @@ -70,14 +70,14 @@ gem "erubis"
gem "exception_handler", "~> 0.8.0.0"
gem "faraday", "~> 1.8"
gem "fuzzy-string-match"
gem "globalize"
gem "globalize-accessors"
gem "html-pipeline", "~> 2.14"
gem "jquery-rails"
gem "jquery-ui-rails"
gem "js-routes", "1.4.9"
gem "kaminari"
gem "kaminari-i18n"
gem "kramdown-parser-gfm"
gem "mobility"
gem "net-smtp"
gem "pg"
gem "premailer-rails"
Expand All @@ -104,16 +104,16 @@ gem "trix-rails", require: "trix"
gem "webpacker", "~> 5.x"

group :development, :docker_development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem "listen", ">= 3.0.5", "< 3.2"
gem "listen", "~> 3.9"
gem "rails-erd"
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem "web-console", ">= 3.3.0"
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem "marcel"
gem "pgreset"
gem "rubocop", "~> 1.57", require: false
gem "rubocop-performance", "~> 1.16", require: false
gem "rubocop-rails", "~> 2.22", ">= 2.22.1", require: false
gem "rubocop", "~> 1.63", require: false
gem "rubocop-performance", "~> 1.21", require: false
gem "rubocop-rails", "~> 2.24", require: false
gem "spring"
gem "spring-watcher-listen", "~> 2.0.0"
# gem 'bullet'
Expand Down
Loading