-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump decidim from 0.27.5 to 0.28.3 (#536)
* Upgrade to 0.28.0 disabling modules and customizations * Enable instance modules and fix overrides from ephemeral module * Fix CI pipelines and lint * Add Procfile support * Include ephemeral participation specs in the CI and fix them * Install decidim-term_customizer * Include census sms specs in the CI and fix them * Include valid auth specs in the CI * Include stats specs in the CI and fix all of them but one * Lint * Fix followers spec * Split test modules in a different CI workflow * Change array assertion methods * Update dockerization * Remove unused scripts * Remove initiative header steps customization It's not needed at all as it was changing the date separator from a dash to an arrow and the redesign uses an arrow * Remove widget layout customization It has been removed in the redesign * Remove unused partial * Rename monkey-patched views from decidim as they are pending to be reviewed * Change workflow names * Adapt accountability pages to redesign * Reorder routes * Remove decidim-dataviz from Gemfile * Add 'rexml' gem for production * Add 'matrix' gem for production * Add yarn to engines * Do not include polyfill for punycode * Add Procfile * Fix system specs * Comment overrides to be reviewed * Update user_profile_cell_override * Add route-line icon * Update activities override * Lint * Update proposal presenter override * Update questionnaire user answers override * Update join meeting button cell override * Update zero duration meeting agenda items override * Update BCN meeting iframe height override * Update initiatives admin permission override * Update permission to view not published meetings for space admins override * Update custom initiatives supports required for specific ones override * Update search resource fields mapper override * Remove initiative card override to hide support button The support button is not present in the redesigned cards * Update accountability customization overrides * Update join meeting button override * Update form questionnaire answer index override * Update initiative fill personal data override * Exclude file from codeclimate * Run workflow from module only on change * Make modules compatible only to instance decidim version * Update email override * Remove project list item overrides The cell has been replaced in 0.28.0 and now it shows the project budget amount in mobile by default so the override functionality is not needed anymore * Update import results views * Remove app.json as it's no longer needed * Update and install decidim-dataviz * Fix status cell error 'undefined local variable or method current_scope for Decidim::Accountability::StatusCell' * Cleanup gems * Cleanup styles * Remove carrierwave initializer * Downgrade wicked_pdf See: mileszs/wicked_pdf#1102 * Install decidim-kids module * Install decidim-decidim_awesome module (beta) * Install decidim-navigation_maps module (beta) * Add extra argument to SMS gateway * Show 20 assemblies per page * Lint * Fix tests * Use main branch of decidim-navigation_maps module * Bump decidim from 0.28.0 to 0.28.1 * Remove workflow for decidim ephemeral participation module * Run all workflows always * Fix append stylesheet * Skip tests failing because of Capybara driver * Bump decidim from 0.28.1 to 0.28.2 * Specify zeitwerk autoloader * Bump decidim-decidim_awesome version * Add .node-version * Bump decidim-decidim_awesome version * Bump decidim from 0.28.2 to 0.28.3 * Fix overrides spec and lint erb files * Update overrides_spec.rb * Force cell cache expiration time * Decrease cache expiry time to match the one provided by AWS * Avoid segmentation fault from PostgreSQL on MacOS * Script to populate hero images from scoped resources banner images * Rescue error in content block hero image migration script
- Loading branch information
Showing
414 changed files
with
24,202 additions
and
12,179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
18.17.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/**/*" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.