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

Bump decidim from 0.27.5 to 0.28.3 #536

Merged
merged 90 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
dad247a
Upgrade to 0.28.0 disabling modules and customizations
fblupi Mar 12, 2024
82f0d46
Enable instance modules and fix overrides from ephemeral module
fblupi Mar 13, 2024
1d14bd9
Fix CI pipelines and lint
fblupi Mar 14, 2024
b7d777a
Add Procfile support
fblupi Mar 15, 2024
91d366a
Include ephemeral participation specs in the CI and fix them
fblupi Mar 15, 2024
08dbd87
Install decidim-term_customizer
fblupi Mar 15, 2024
5028547
Include census sms specs in the CI and fix them
fblupi Mar 15, 2024
f019a8d
Include valid auth specs in the CI
fblupi Mar 15, 2024
822db71
Include stats specs in the CI and fix all of them but one
fblupi Mar 15, 2024
1f3beaa
Lint
fblupi Mar 15, 2024
e389b00
Fix followers spec
fblupi Mar 18, 2024
7ea761b
Split test modules in a different CI workflow
fblupi Mar 18, 2024
6db45f7
Change array assertion methods
fblupi Mar 18, 2024
1c687b7
Update dockerization
fblupi Mar 18, 2024
8c2ac47
Remove unused scripts
fblupi Mar 18, 2024
8306375
Remove initiative header steps customization
fblupi Mar 18, 2024
6d262a0
Remove widget layout customization
fblupi Mar 18, 2024
eecff84
Remove unused partial
fblupi Mar 18, 2024
43157b2
Rename monkey-patched views from decidim as they are pending to be re…
fblupi Mar 18, 2024
bce5652
Change workflow names
fblupi Mar 18, 2024
92891e1
Adapt accountability pages to redesign
fblupi Mar 18, 2024
dffa1ad
Reorder routes
fblupi Mar 19, 2024
859f131
Remove decidim-dataviz from Gemfile
fblupi Mar 19, 2024
655e879
Add 'rexml' gem for production
fblupi Mar 19, 2024
f86bb93
Add 'matrix' gem for production
fblupi Mar 19, 2024
b9d9734
Add yarn to engines
fblupi Mar 19, 2024
9f1f923
Do not include polyfill for punycode
fblupi Mar 19, 2024
9e50eb2
Add Procfile
fblupi Mar 19, 2024
e212a42
Fix system specs
fblupi Mar 19, 2024
bc8f7fd
Merge branch 'master' of github.com:AjuntamentdeBarcelona/decidim-bar…
fblupi Mar 19, 2024
50fb720
Comment overrides to be reviewed
fblupi Mar 19, 2024
7cc237e
Update user_profile_cell_override
fblupi Mar 19, 2024
b593620
Add route-line icon
fblupi Mar 19, 2024
92ec06f
Update activities override
fblupi Mar 19, 2024
921e93d
Lint
fblupi Mar 19, 2024
a7d32a5
Update proposal presenter override
fblupi Mar 19, 2024
da396da
Update questionnaire user answers override
fblupi Mar 20, 2024
b391552
Update join meeting button cell override
fblupi Mar 20, 2024
a2c0966
Update zero duration meeting agenda items override
fblupi Mar 20, 2024
027fd15
Update BCN meeting iframe height override
fblupi Mar 20, 2024
2082fde
Update initiatives admin permission override
fblupi Mar 20, 2024
bda61ce
Update permission to view not published meetings for space admins ove…
fblupi Mar 20, 2024
5bed012
Update custom initiatives supports required for specific ones override
fblupi Mar 20, 2024
651064e
Update search resource fields mapper override
fblupi Mar 20, 2024
4093f31
Remove initiative card override to hide support button
fblupi Mar 20, 2024
75758ce
Update accountability customization overrides
fblupi Mar 20, 2024
62ff1f4
Update join meeting button override
fblupi Mar 20, 2024
b23a9e9
Update form questionnaire answer index override
fblupi Mar 20, 2024
df21712
Update initiative fill personal data override
fblupi Mar 20, 2024
227752d
Exclude file from codeclimate
fblupi Mar 21, 2024
fecd945
Run workflow from module only on change
fblupi Mar 21, 2024
10c5f07
Make modules compatible only to instance decidim version
fblupi Mar 21, 2024
cc75283
Update email override
fblupi Mar 21, 2024
1b60582
Remove project list item overrides
fblupi Mar 21, 2024
ea0100c
Update import results views
fblupi Mar 21, 2024
5f90b5b
Remove app.json as it's no longer needed
fblupi Mar 21, 2024
e636234
Update and install decidim-dataviz
fblupi Mar 21, 2024
38fc21b
Fix status cell error
fblupi Mar 21, 2024
91a1980
Cleanup gems
fblupi Mar 21, 2024
2aaffe7
Cleanup styles
fblupi Mar 21, 2024
be3eb99
Remove carrierwave initializer
fblupi Mar 21, 2024
675d42c
Downgrade wicked_pdf
fblupi Mar 21, 2024
4e11609
Install decidim-kids module
fblupi Mar 27, 2024
284c5c6
Install decidim-decidim_awesome module (beta)
fblupi Mar 27, 2024
22b1878
Install decidim-navigation_maps module (beta)
fblupi Apr 1, 2024
80ccba8
Add extra argument to SMS gateway
fblupi Apr 24, 2024
cd65436
Show 20 assemblies per page
fblupi Jun 5, 2024
f121199
Merge branch 'master' of github.com:AjuntamentdeBarcelona/decidim-bar…
fblupi Jun 11, 2024
aab673f
Lint
fblupi Jun 11, 2024
a2796c5
Fix tests
fblupi Jun 11, 2024
495e9e5
Use main branch of decidim-navigation_maps module
fblupi Jun 11, 2024
77f784f
Bump decidim from 0.28.0 to 0.28.1
fblupi Jun 11, 2024
277becf
Remove workflow for decidim ephemeral participation module
fblupi Jun 17, 2024
42516dc
Run all workflows always
fblupi Jun 17, 2024
fcc444c
Fix append stylesheet
fblupi Jun 17, 2024
1c34086
Skip tests failing because of Capybara driver
fblupi Jun 17, 2024
c0ab2bd
Bump decidim from 0.28.1 to 0.28.2
fblupi Jul 29, 2024
4e3d323
Merge branch 'master' of github.com:AjuntamentdeBarcelona/decidim-bar…
fblupi Jul 30, 2024
a05cd33
Specify zeitwerk autoloader
fblupi Aug 5, 2024
416dfb7
Bump decidim-decidim_awesome version
fblupi Aug 13, 2024
9e73f86
Add .node-version
fblupi Sep 10, 2024
f642528
Bump decidim-decidim_awesome version
fblupi Sep 10, 2024
0bfa396
Bump decidim from 0.28.2 to 0.28.3
fblupi Sep 10, 2024
9c4b38d
Fix overrides spec and lint erb files
fblupi Sep 10, 2024
7f9ddc1
Update overrides_spec.rb
fblupi Sep 19, 2024
f83f4c1
Force cell cache expiration time
fblupi Sep 19, 2024
e743cf1
Decrease cache expiry time to match the one provided by AWS
fblupi Sep 19, 2024
daa2702
Avoid segmentation fault from PostgreSQL on MacOS
fblupi Sep 20, 2024
fd2a429
Script to populate hero images from scoped resources banner images
fblupi Sep 20, 2024
fcce752
Rescue error in content block hero image migration script
fblupi Sep 23, 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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@ exclude_paths:
- "config/initializers/decidim.rb"
- "decidim-ephemeral_participation/app/permissions/decidim/ephemeral_participation/ephemeral_participation_permissions.rb"
- "app/services/decidim_legacy_routes.rb"
- "app/helpers/concerns/decidim/paginate_helper_override.rb"
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Lint
on: [push]

env:
RUBY_VERSION: 3.0.2
NODE_VERSION: 16.9.1
RUBY_VERSION: 3.1.1
NODE_VERSION: 18.17.1

jobs:
lint:
name: Lint code
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
env:
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: postgres
Expand Down
19 changes: 6 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Test
on: [push]

env:
RUBY_VERSION: 3.0.2
NODE_VERSION: 16.9.1
RUBY_VERSION: 3.1.1
NODE_VERSION: 18.17.1

jobs:
test:
name: Test
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
services:
postgres:
image: postgres:11
Expand Down Expand Up @@ -37,20 +37,13 @@ jobs:
ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
- uses: nanasess/setup-chromedriver@v2
with:
chromedriver-version: 119.0.6045.105
- 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:
chrome-version: 119.0.6045.105
- run: bundle exec rake db:test:prepare
name: Setup database
- name: Precompile assets
run: |
npm install
bundle exec rake assets:precompile
- run: bundle exec rspec
- run: |
mkdir node_modules
bundle exec rspec
name: Run specs
49 changes: 49 additions & 0 deletions .github/workflows/test_census_sms.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Test Census SMS
on: [push]

env:
RUBY_VERSION: 3.1.1
NODE_VERSION: 18.17.1

jobs:
test:
name: Test Census SMS
runs-on: ubuntu-latest
services:
postgres:
image: postgres:11
ports: ["5432:5432"]
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
POSTGRES_PASSWORD: postgres
redis:
image: redis:3.2-alpine
ports: ["6379:6379"]
env:
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: postgres
DATABASE_HOST: localhost
RAILS_ENV: test
steps:
- uses: actions/[email protected]
with:
fetch-depth: 1
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
- uses: nanasess/setup-chromedriver@v2
- run: bundle exec rake db:test:prepare
name: Setup database
- name: Precompile assets
run: |
npm install
bundle exec rake assets:precompile
- run: |
mkdir node_modules
bundle exec rspec decidim-census_sms
name: Run specs
49 changes: 49 additions & 0 deletions .github/workflows/test_stats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Test Stats
on: [push]

env:
RUBY_VERSION: 3.1.1
NODE_VERSION: 18.17.1

jobs:
test:
name: Test Stats
runs-on: ubuntu-latest
services:
postgres:
image: postgres:11
ports: ["5432:5432"]
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
POSTGRES_PASSWORD: postgres
redis:
image: redis:3.2-alpine
ports: ["6379:6379"]
env:
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: postgres
DATABASE_HOST: localhost
RAILS_ENV: test
steps:
- uses: actions/[email protected]
with:
fetch-depth: 1
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
- uses: nanasess/setup-chromedriver@v2
- run: bundle exec rake db:test:prepare
name: Setup database
- name: Precompile assets
run: |
npm install
bundle exec rake assets:precompile
- run: |
mkdir node_modules
bundle exec rspec decidim-stats
name: Run specs
49 changes: 49 additions & 0 deletions .github/workflows/test_valid_auth.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Test Valid Auth
on: [push]

env:
RUBY_VERSION: 3.1.1
NODE_VERSION: 18.17.1

jobs:
test:
name: Test Valid Auth
runs-on: ubuntu-latest
services:
postgres:
image: postgres:11
ports: ["5432:5432"]
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
POSTGRES_PASSWORD: postgres
redis:
image: redis:3.2-alpine
ports: ["6379:6379"]
env:
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: postgres
DATABASE_HOST: localhost
RAILS_ENV: test
steps:
- uses: actions/[email protected]
with:
fetch-depth: 1
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
- uses: nanasess/setup-chromedriver@v2
- run: bundle exec rake db:test:prepare
name: Setup database
- name: Precompile assets
run: |
npm install
bundle exec rake assets:precompile
- run: |
mkdir node_modules
bundle exec rspec decidim-valid_auth
name: Run specs
10 changes: 4 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ yarn-debug.log*
.yarn-integrity
.rbenv-vars

public/sw.js
public/sw.js.map
public/sw.js.br
public/sw.js.map.br
public/sw.js.gz
public/sw.js.map.gz
public/sw.js*

coverage/

.nvmrc
tailwind.config.js
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.17.1
29 changes: 26 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
inherit_from:
- .rubocop_ruby.yml
- .rubocop_rails.yml
inherit_from: .rubocop_todo.yml

inherit_gem:
decidim-dev: rubocop-decidim.yml

inherit_mode:
merge:
- Exclude

AllCops:
Include:
- "**/*.rb"
- "**/*.rake"
- "**/*.ru"
- "**/Gemfile"
- "**/Rakefile"
Exclude:
- "spec/decidim_dummy_app/**/*"
- "**/spec/decidim_dummy_app/**/*"
- "bin/**/*"
- "node_modules/**/*"
- "**/node_modules/**/*"
- "db/schema.rb"
- "db/migrate/*"
- "vendor/**/*"
- "**/vendor/**/*"
87 changes: 0 additions & 87 deletions .rubocop_rails.yml

This file was deleted.

Loading
Loading