Commit Graph

16715 Commits

Author SHA1 Message Date
Javi Martín
051a071cd2 Merge pull request #4626 from consul/dependabot/bundler/master/devise-4.8.0
Bump devise from 4.7.3 to 4.8.0
2021-08-13 00:25:07 +02:00
dependabot[bot]
d7afb9d8fe Bump devise from 4.7.3 to 4.8.0
Bumps [devise](https://github.com/plataformatec/devise) from 4.7.3 to 4.8.0.
- [Release notes](https://github.com/plataformatec/devise/releases)
- [Changelog](https://github.com/heartcombo/devise/blob/master/CHANGELOG.md)
- [Commits](https://github.com/plataformatec/devise/compare/v4.7.3...v4.8.0)

---
updated-dependencies:
- dependency-name: devise
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-13 00:10:15 +02:00
Javi Martín
f3626f58a5 Merge pull request #4625 from consul/dependabot/bundler/master/caxlsx-3.0.4
Bump caxlsx from 3.0.2 to 3.0.4
2021-08-12 23:59:25 +02:00
dependabot[bot]
3c8cd2662b Bump caxlsx from 3.0.2 to 3.0.4
Bumps [caxlsx](https://github.com/caxlsx/caxlsx) from 3.0.2 to 3.0.4.
- [Release notes](https://github.com/caxlsx/caxlsx/releases)
- [Changelog](https://github.com/caxlsx/caxlsx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/caxlsx/caxlsx/compare/v3.0.2...v.3.0.4)

---
updated-dependencies:
- dependency-name: caxlsx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 21:41:14 +00:00
Javi Martín
b5d3e8a19e Merge pull request #4619 from consul/dependabot/bundler/master/view_component-2.37.0
Bump view_component from 2.28.0 to 2.37.0
2021-08-12 23:34:58 +02:00
Javi Martín
a9095d1b6a Simplify component test stubbing controller path
This is possible due to the changes in commit 6df7f7d05.
2021-08-12 23:00:02 +02:00
Javi Martín
5f19d73b40 Use with_request_url in component specs
This method is available since view component 2.31.0, and greatly
simplifies tests depending on the current URL.
2021-08-12 22:58:29 +02:00
dependabot[bot]
474dd09f90 Bump view_component from 2.28.0 to 2.37.0
Bumps [view_component](https://github.com/github/view_component) from 2.28.0 to 2.37.0.
- [Release notes](https://github.com/github/view_component/releases)
- [Changelog](https://github.com/github/view_component/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/github/view_component/compare/v2.28.0...v2.37.0)

---
updated-dependencies:
- dependency-name: view_component
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 20:45:29 +00:00
Javi Martín
4f9587b7e4 Merge pull request #4617 from consul/dependabot/bundler/master/foundation_rails_helper-4.0.0
Bump foundation_rails_helper from 3.0.0 to 4.0.0
2021-08-12 22:44:07 +02:00
dependabot[bot]
d0f000c326 Bump foundation_rails_helper from 3.0.0 to 4.0.0
Bumps [foundation_rails_helper](https://github.com/sgruhier/foundation_rails_helper) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/sgruhier/foundation_rails_helper/releases)
- [Changelog](https://github.com/sgruhier/foundation_rails_helper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sgruhier/foundation_rails_helper/commits)

---
updated-dependencies:
- dependency-name: foundation_rails_helper
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 20:21:04 +00:00
Javi Martín
78e1372f36 Merge pull request #4614 from consul/dependabot/bundler/master/cancancan-3.3.0
Bump cancancan from 2.3.0 to 3.3.0
2021-08-12 22:15:28 +02:00
dependabot[bot]
0929eab188 Bump cancancan from 2.3.0 to 3.3.0
Bumps [cancancan](https://github.com/CanCanCommunity/cancancan) from 2.3.0 to 3.3.0.
- [Release notes](https://github.com/CanCanCommunity/cancancan/releases)
- [Changelog](https://github.com/CanCanCommunity/cancancan/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/CanCanCommunity/cancancan/compare/2.3.0...3.3.0)

---
updated-dependencies:
- dependency-name: cancancan
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 21:45:20 +02:00
Javi Martín
e9ffb712cc Merge pull request #4607 from consul/dependabot/bundler/master/factory_bot_rails-6.2.0
Bump factory_bot_rails from 4.8.2 to 6.2.0
2021-08-12 16:46:07 +02:00
dependabot[bot]
ff20b8a02e Bump factory_bot_rails from 4.8.2 to 6.2.0
Note we're changing the parent strategy because its default value
changed in Factory Bot 5. We're keeping the old one so it's compatible
with our test suite.

We're also removing the rubocop rule for static attributes because in
factory bot 5 this syntax is invalid and will raise an error, so there's
no need for rubocop to remind us about it.

Bumps [factory_bot_rails](https://github.com/thoughtbot/factory_bot_rails) from 4.8.2 to 6.2.0.
- [Release notes](https://github.com/thoughtbot/factory_bot_rails/releases)
- [Changelog](https://github.com/thoughtbot/factory_bot_rails/blob/master/NEWS.md)
- [Commits](https://github.com/thoughtbot/factory_bot_rails/compare/v4.8.2...v6.2.0)

---
updated-dependencies:
- dependency-name: factory_bot_rails
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 16:32:36 +02:00
Javi Martín
0c02b786fb Merge pull request #4646 from consul/revert-4608-dependabot/bundler/master/airbrake-11.0.3
Downgrade airbrake from 11.0.3 to 7.4.0
2021-08-12 16:09:50 +02:00
Javi Martín
74f7720f2f Downgrade airbrake from 11.0.3 to 7.4.0
Two of the custom information texts tests fail sometimes because the
page takes too long to load. After upgrading airbrake 9ac8528cb, maybe
because of the way requests are intercepted, or maybe because of the
rbtree3 dependency, it looks like requests are a bit slower and so these
tests were failing 100% of the time.

While we investigate the issue, we're downgrading to the latest version
of Airbrake where the tests still pass.
2021-08-12 15:53:35 +02:00
Javi Martín
30442b7a82 Merge pull request #4605 from consul/preview_notifications_order
Fix inconsistent order in system email preview
2021-08-12 13:28:43 +02:00
Javi Martín
476133dfb7 Merge pull request #4624 from consul/dependabot/bundler/master/social-share-button-1.2.4
Bump social-share-button from 1.2.3 to 1.2.4
2021-08-12 04:56:08 +02:00
Javi Martín
563faf90a4 Merge pull request #4608 from consul/dependabot/bundler/master/airbrake-11.0.3
Bump airbrake from 5.8.1 to 11.0.3
2021-08-12 04:53:28 +02:00
dependabot[bot]
9ac8528cba Bump airbrake from 5.8.1 to 11.0.3
Bumps [airbrake](https://github.com/airbrake/airbrake) from 5.8.1 to 11.0.3.
- [Release notes](https://github.com/airbrake/airbrake/releases)
- [Changelog](https://github.com/airbrake/airbrake/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbrake/airbrake/compare/v5.8.1...v11.0.3)

---
updated-dependencies:
- dependency-name: airbrake
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 04:39:08 +02:00
Javi Martín
1669a16d61 Merge pull request #4611 from consul/dependabot/bundler/master/acts-as-taggable-on-8.1.0
Bump acts-as-taggable-on from 6.5.0 to 8.1.0
2021-08-12 02:46:10 +02:00
Javi Martín
d7954fdfcb Merge pull request #4613 from consul/dependabot/bundler/master/capybara-webmock-0.6.0
Bump capybara-webmock from 0.5.5 to 0.6.0
2021-08-12 02:38:13 +02:00
Javi Martín
38fe22e27b Merge pull request #4416 from consul/dependabot/bundler/delayed_job_active_record-4.1.5
Bump delayed_job_active_record from 4.1.4 to 4.1.5
2021-08-11 03:19:50 +02:00
dependabot[bot]
2644d4915e Bump social-share-button from 1.2.3 to 1.2.4
Bumps [social-share-button](https://github.com/huacnlee/social-share-button) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/huacnlee/social-share-button/releases)
- [Changelog](https://github.com/huacnlee/social-share-button/blob/master/CHANGELOG.md)
- [Commits](https://github.com/huacnlee/social-share-button/compare/v1.2.3...v1.2.4)

---
updated-dependencies:
- dependency-name: social-share-button
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-11 01:19:29 +00:00
Javi Martín
e53dc7b20c Merge pull request #4420 from consul/dependabot/bundler/globalize-accessors-0.3.0
Bump globalize-accessors from 0.2.1 to 0.3.0
2021-08-11 03:17:50 +02:00
dependabot[bot]
92b493df0b Bump capybara-webmock from 0.5.5 to 0.6.0
Bumps [capybara-webmock](https://github.com/hashrocket/capybara-webmock) from 0.5.5 to 0.6.0.
- [Release notes](https://github.com/hashrocket/capybara-webmock/releases)
- [Commits](https://github.com/hashrocket/capybara-webmock/commits/v0.6.0)

---
updated-dependencies:
- dependency-name: capybara-webmock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-11 01:11:25 +00:00
dependabot[bot]
1274d9302b Bump acts-as-taggable-on from 6.5.0 to 8.1.0
Bumps [acts-as-taggable-on](https://github.com/mbleigh/acts-as-taggable-on) from 6.5.0 to 8.1.0.
- [Release notes](https://github.com/mbleigh/acts-as-taggable-on/releases)
- [Changelog](https://github.com/mbleigh/acts-as-taggable-on/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mbleigh/acts-as-taggable-on/compare/v6.5.0...v8.1.0)

---
updated-dependencies:
- dependency-name: acts-as-taggable-on
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-11 01:08:59 +00:00
dependabot[bot]
7728c719c5 Bump globalize-accessors from 0.2.1 to 0.3.0
Bumps [globalize-accessors](http://rubygems.org/gems/globalize-accessors) from 0.2.1 to 0.3.0.

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-11 00:52:54 +00:00
dependabot[bot]
614ebb7888 Bump delayed_job_active_record from 4.1.4 to 4.1.5
Bumps [delayed_job_active_record](https://github.com/collectiveidea/delayed_job_active_record) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/collectiveidea/delayed_job_active_record/releases)
- [Commits](https://github.com/collectiveidea/delayed_job_active_record/compare/v4.1.4...v4.1.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-11 00:51:31 +00:00
Javi Martín
03513fc352 Merge pull request #4418 from consul/dependabot/bundler/capistrano3-puma-5.0.4
Bump capistrano3-puma from 4.0.0 to 5.0.4
2021-08-11 02:50:06 +02:00
Javi Martín
8942e9baf8 Configure Capistrano to use Puma as a daemon
Since Puma 5.x will remove support for running Puma as a daemon,
capistrano-puma requires defining whether we want to run Puma as a
daemon (as we've been doing so far with Puma 4.x) or to uses systemd.

We'll change this code to uses systemd when upgrading to Puma 5.x.
2021-08-11 02:36:41 +02:00
Javi Martín
0a53f438c0 Update Capfile to use the current capistrano
We forgot to do so when updating Capistrano in commit c1491a7ce.
2021-08-11 02:32:34 +02:00
Javi Martín
4058bd191b Merge pull request #4429 from consul/dependabot/bundler/rspec-rails-5.0.1
Bump rspec-rails from 4.0.1 to 5.0.1
2021-08-11 02:08:07 +02:00
dependabot[bot]
7a38ede33f Bump capistrano3-puma from 4.0.0 to 5.0.4
Bumps [capistrano3-puma](https://github.com/seuros/capistrano-puma) from 4.0.0 to 5.0.4.
- [Release notes](https://github.com/seuros/capistrano-puma/releases)
- [Changelog](https://github.com/seuros/capistrano-puma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seuros/capistrano-puma/compare/v4.0.0...v5.0.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 23:54:14 +00:00
Javi Martín
3bb9275469 Merge pull request #4427 from consul/dependabot/bundler/capybara-3.35.3
Bump capybara from 3.33.0 to 3.35.3
2021-08-11 01:52:54 +02:00
Javi Martín
0f02116117 Merge pull request #4423 from consul/dependabot/bundler/erb_lint-0.0.37
Bump erb_lint from 0.0.35 to 0.0.37
2021-08-11 01:39:53 +02:00
dependabot[bot]
8467c9f113 Bump rspec-rails from 4.0.1 to 5.0.1
Bumps [rspec-rails](https://github.com/rspec/rspec-rails) from 4.0.1 to 5.0.1.
- [Release notes](https://github.com/rspec/rspec-rails/releases)
- [Changelog](https://github.com/rspec/rspec-rails/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-rails/compare/v4.0.1...v5.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 23:37:06 +00:00
Javi Martín
a1b4eae7d9 Merge pull request #4414 from consul/dependabot/bundler/webdrivers-4.6.0
Bump webdrivers from 4.4.1 to 4.6.0
2021-08-11 01:35:32 +02:00
dependabot[bot]
1bd6da4fe7 Bump erb_lint from 0.0.35 to 0.0.37
Bumps [erb_lint](https://github.com/Shopify/erb-lint) from 0.0.35 to 0.0.37.
- [Release notes](https://github.com/Shopify/erb-lint/releases)
- [Commits](https://github.com/Shopify/erb-lint/compare/v0.0.35...v0.0.37)

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 23:11:50 +00:00
dependabot[bot]
e2f0e6d22f Bump capybara from 3.33.0 to 3.35.3
Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.33.0 to 3.35.3.
- [Release notes](https://github.com/teamcapybara/capybara/releases)
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md)
- [Commits](https://github.com/teamcapybara/capybara/compare/3.33.0...3.35.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 23:11:49 +00:00
dependabot[bot]
f6ec007ecd Bump webdrivers from 4.4.1 to 4.6.0
Bumps [webdrivers](https://github.com/titusfortner/webdrivers) from 4.4.1 to 4.6.0.
- [Release notes](https://github.com/titusfortner/webdrivers/releases)
- [Changelog](https://github.com/titusfortner/webdrivers/blob/master/CHANGELOG.md)
- [Commits](https://github.com/titusfortner/webdrivers/compare/v4.4.1...v4.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 23:11:33 +00:00
Javi Martín
eed6697056 Merge pull request #4410 from consul/dependabot/bundler/invisible_captcha-2.0.0
Bump invisible_captcha from 1.1.0 to 2.0.0
2021-08-11 01:09:58 +02:00
Javi Martín
5ccf49b641 Merge pull request #4415 from consul/dependabot/bundler/audited-4.10.0
Bump audited from 4.9.0 to 4.10.0
2021-08-11 01:08:40 +02:00
Javi Martín
ddc2b0bfe8 Disable invisible captcha spinner
The spinner was added in version 2.0.0, so by disabling it we're keeping
the behavior we've got in existing CONSUL installations.

The problem with the spinner is installations need to add a secret token
and share it across instances (when they've got more than one), and if
they don't, invisible captcha might report false positives.

I guess we could use `Rails.application.secrets.secret_key_base` as
secret token, but since we haven't tested this feature at all, it's
better to disable it for now.
2021-08-11 00:53:05 +02:00
dependabot[bot]
ad17532107 Bump audited from 4.9.0 to 4.10.0
Bumps [audited](https://github.com/collectiveidea/audited) from 4.9.0 to 4.10.0.
- [Release notes](https://github.com/collectiveidea/audited/releases)
- [Changelog](https://github.com/collectiveidea/audited/blob/master/CHANGELOG.md)
- [Commits](https://github.com/collectiveidea/audited/compare/v4.9.0...v4.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 22:47:50 +00:00
dependabot[bot]
5fc927b313 Bump invisible_captcha from 1.1.0 to 2.0.0
Bumps [invisible_captcha](https://github.com/markets/invisible_captcha) from 1.1.0 to 2.0.0.
- [Release notes](https://github.com/markets/invisible_captcha/releases)
- [Changelog](https://github.com/markets/invisible_captcha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markets/invisible_captcha/compare/v1.1.0...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 22:46:18 +00:00
Javi Martín
cdef030f15 Add a consistent order in system email previews
Since PostgreSQL doesn't guarantee the order of the records unless an
`ORDER BY` clause is used, the records sometimes had a different order.
This might cause records being present in more than one page.

One test was failing sometimes (when the record created first was
rendered after the record created last) because there seems to be a bug
in chrome/chromedriver 83 and later which causes links not to be clicked
when they're right at the edge of the screen (which was the case for the
notification appearing in the last place):

```
  1) System Emails Preview Pending #moderate_pending
     Failure/Error: click_on "Moderate notification send"

     Selenium::WebDriver::Error::ElementNotInteractableError:
       element not interactable: element has zero size
         (Session info: headless chrome=91.0.4472.114)
```
2021-08-10 22:07:47 +02:00
Javi Martín
caa37975cf Merge pull request #4409 from consul/dependabot/bundler/database_cleaner-2.0.1
Bump database_cleaner from 1.8.5 to 2.0.1
2021-08-10 22:03:19 +02:00
Javi Martín
d472b46f3e Fix duplicate HTML ID in system emails preview
The ID was the same for every proposal notification.
2021-08-10 21:56:47 +02:00
dependabot[bot]
6470a8dbd0 Bump database_cleaner from 1.8.5 to 2.0.1
Bumps [database_cleaner](https://github.com/DatabaseCleaner/database_cleaner) from 1.8.5 to 2.0.1.
- [Release notes](https://github.com/DatabaseCleaner/database_cleaner/releases)
- [Changelog](https://github.com/DatabaseCleaner/database_cleaner/blob/main/History.rdoc)
- [Commits](https://github.com/DatabaseCleaner/database_cleaner/compare/v1.8.5...v2.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 19:39:41 +00:00