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

Decidim upgrade to 0.28 #124

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
bad38ce
upgrade init, change document index page, register new icons
antopalidi Mar 18, 2024
1559558
change: edit/upload document form
antopalidi Mar 18, 2024
bc7fcae
change forms
antopalidi Mar 18, 2024
6e7f3ae
change modal
antopalidi Mar 19, 2024
436ac6a
public side - document
antopalidi Mar 19, 2024
8589c4b
change public side, finish
antopalidi Mar 21, 2024
f1a0cc2
add class to form
antopalidi Mar 21, 2024
8efe54b
change show suggestion page
antopalidi Mar 21, 2024
bf75a12
notes, modal, answer
antopalidi Mar 22, 2024
c6f5987
fix stylelint
antopalidi Mar 22, 2024
72b3de7
fix rubocop
antopalidi Mar 22, 2024
4ceb783
fix erb lint
antopalidi Mar 22, 2024
aaadc61
fix colored boxex
antopalidi Mar 22, 2024
af7bc60
remove commented code
antopalidi Mar 22, 2024
5d613dc
fix modals
antopalidi Mar 25, 2024
c4438eb
change show suggestions
antopalidi Mar 25, 2024
ac16d79
fix tag inclusion in pdf viewer
microstudi Mar 26, 2024
d523929
remove jquery
microstudi Mar 26, 2024
665a8e7
enable foundation for tabs
microstudi Mar 26, 2024
e289255
fix parent login modal
microstudi Mar 26, 2024
fb34624
fix tests
antopalidi Mar 26, 2024
6551fa4
fix layout: private notes
antopalidi Mar 26, 2024
deb08d9
fix actions for suggestions
antopalidi Mar 27, 2024
e25c3aa
fix layout: actions button, form
antopalidi Mar 27, 2024
c4ac6c8
fix stylesheet_pack_tag
antopalidi Mar 27, 2024
c553559
locale normalize
antopalidi Mar 27, 2024
e380c44
fix unassign valuator form
antopalidi Mar 27, 2024
c4f6a22
fix modals
microstudi Mar 27, 2024
363aa15
automate tasks to decidim:upgrade
microstudi Mar 27, 2024
5c95e3d
fix modals styles
antopalidi Mar 27, 2024
7fbfd83
fix sorting by valuation
microstudi Mar 27, 2024
ac61008
Update lib/decidim/participatory_documents/version.rb
antopalidi Mar 27, 2024
1290a08
Merge branch 'upgrade-0.28' of github.com:openpoke/decidim-module-par…
microstudi Mar 27, 2024
c78e091
Update lib/decidim/participatory_documents/version.rb
antopalidi Mar 27, 2024
740e6fc
add migration
antopalidi Mar 27, 2024
afe0e71
fix rubocop
antopalidi Mar 27, 2024
41274ec
fix tests, fix form: Actions -> publish answer
antopalidi Mar 27, 2024
8e2a98d
fix tests
antopalidi Mar 27, 2024
fef85de
update plugin version
antopalidi Mar 27, 2024
e1f94f1
gem install
antopalidi Mar 27, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
pull_request:

env:
RUBY_VERSION: 3.0.6
NODE_VERSION: 16.9.1
RUBY_VERSION: 3.1.1
NODE_VERSION: 18.17.1

jobs:
lint-report:
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ on:
pull_request:

env:
RUBY_VERSION: 3.0.6
RUBY_VERSION: 3.1.1
SIMPLECOV: 1
CI: 1
NODE_VERSION: 16.9.1
NODE_VERSION: 18.17.1

jobs:
test-report:
Expand All @@ -36,13 +36,20 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 1

- uses: nanasess/setup-chromedriver@v2
with:
chromedriver-version: 119.0.6045.105

- uses: nanasess/setup-chromedriver@v2
- name: List Chrome
run: apt list --installed | grep chrome

- name: Remove Chrome
run: sudo apt remove google-chrome-stable

- uses: browser-actions/setup-chrome@v1
with:
chromedriver-version: 119.0.6045.105
chrome-version: 119.0.6045.105

- uses: ruby/setup-ruby@v1
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ development_app
*.gem
node_modules/
npm_debug.log
.rubocop-http*
7 changes: 4 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
inherit_from:
- .rubocop_ruby.yml
- .rubocop_rails.yml
- .rubocop-disabled.yml
- https://raw.githubusercontent.com/decidim/decidim/release/0.28-stable/.rubocop.yml

RSpec/RemoveConst:
Enabled: false
Comment on lines +4 to +5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need this?

3 changes: 1 addition & 2 deletions .rubocop_ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ AllCops:
# If a value is specified for TargetRubyVersion then it is used.
# Else if .ruby-version exists and it contains an MRI version it is used.
# Otherwise we fallback to the oldest officially supported Ruby version (2.0).
TargetRubyVersion: 3.0
TargetRubyVersion: 3.1

# RSpec:
# Patterns:
Expand Down Expand Up @@ -1765,4 +1765,3 @@ Faker/DeprecatedArguments:
questions:
- number
- supplemental

2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.6
3.1.1
1 change: 1 addition & 0 deletions .simplecov
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ if ENV["SIMPLECOV"]
add_filter "/db/"
add_filter "lib/decidim/participatory_documents/version.rb"
add_filter "lib/decidim/participatory_documents/component.rb"
add_filter "lib/decidim/participatory_documents/test"
add_filter "/spec"
end

Expand Down
5 changes: 3 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ gem "decidim", DECIDIM_VERSION
gem "decidim-participatory_documents", path: "."

gem "bootsnap", "~> 1.7"
gem "faker", "~> 2.14"
gem "faker", "~> 3.2"
gem "puma", ">= 6.3.1"
gem "rspec", "~> 3.0"

group :development, :test do
Expand All @@ -26,7 +27,7 @@ group :development, :test do
end

group :development do
gem "letter_opener_web", "~> 1.3"
gem "letter_opener_web"
gem "listen", "~> 3.1"
gem "rubocop-faker", "~> 1.1"
gem "spring", "~> 2.0"
Expand Down
Loading
Loading