Commit Graph

3293 Commits

Author SHA1 Message Date
Andreas Nedbal a5b6ef07d3 Refactor `Ajax::ListController`
* remove inline authentication checks and use before_action instead
* remove begin/rescue catches as those are handled by the base controller and validations now
2022-07-17 09:40:34 +02:00
Andreas Nedbal a3f80380dd Adjust validations for `List` 2022-07-17 09:40:34 +02:00
Karina Kwiatek 69826eefe3 Bump version to 2022.0716.0 2022-07-16 21:30:12 +02:00
Karina Kwiatek aa04134785 Remove foreign key constraints from anon blocks & mute rules
We do it this way on other tables. Rails validates these on its own anyway.
2022-07-16 21:29:20 +02:00
Karina Kwiatek e1e45b04a3 Use double quotes instead of single quotes 2022-07-16 21:29:20 +02:00
Karina Kwiatek 3b98117dfa Update foreign keys instead of redefining them 2022-07-16 21:29:20 +02:00
Karina Kwiatek f396167704 Add test for trying to delete account while an export is pending 2022-07-16 21:29:20 +02:00
Karina Kwiatek c59a70844b Display if a context question has been deleted when viewing anon blocks 2022-07-16 21:29:20 +02:00
Karina Kwiatek 8005fc8ae6 Skip denotify if recipient doesn't exist 2022-07-16 21:29:20 +02:00
Karina Kwiatek d9f82c4985 Disallow deletion of accounts when a data export is pending 2022-07-16 21:29:20 +02:00
Karina Kwiatek 2229b8e782 Set on deletes for foreign keys 2022-07-16 21:29:20 +02:00
Karina Kwiatek 0294e6eb9d Appease the dog overlords 2022-07-16 15:58:30 +02:00
Karina Kwiatek 48bd2f5bc7 Add missing file extension to export URL 2022-07-16 15:58:30 +02:00
Karina Kwiatek 428db25c71 Add test for `Exporter#publish` 2022-07-16 15:58:30 +02:00
Karina Kwiatek bc07a9fbb0 Test exporting with profile picture 2022-07-16 15:58:30 +02:00
Karina Kwiatek c009dff560 Test that all header image sizes exist 2022-07-16 15:58:30 +02:00
Karina Kwiatek 5e633ab56e Fix invalid paths for original size images 2022-07-16 15:58:30 +02:00
Karina Kwiatek eaf61f1a6a Add test for `Export#finalize` with a profile header attached 2022-07-16 15:58:30 +02:00
Karina Kwiatek 45a87bf2b4 Remove unnecessary context blocks 2022-07-16 15:58:30 +02:00
Karina Kwiatek 37bc1e64de Add test for `Exporter#collect_comments` 2022-07-16 15:58:30 +02:00
Karina Kwiatek 75301900b3 Correct time precision in `Exporter#collect_questions` test 2022-07-16 15:58:30 +02:00
Karina Kwiatek 77ddf2feae Add test for `Exporter#collect_answers` 2022-07-16 15:58:30 +02:00
Karina Kwiatek 262705c3f0 Add test for `Exporter#collect_questions` 2022-07-16 15:58:30 +02:00
Karina Kwiatek f244252ade Mock Rails root 2022-07-16 15:58:30 +02:00
Karina Kwiatek 13d4927461 Test outputs of `Exporter#finalize` 2022-07-16 15:58:30 +02:00
Karina Kwiatek 76b40d012b Respect app config when generating export URL 2022-07-16 15:58:30 +02:00
Karina Kwiatek 6a1747eee7 Reload times to match precision 2022-07-16 15:58:30 +02:00
Karina Kwiatek 8e8b5ddb2a Add test for `Exporter#collect_smiles` 2022-07-16 15:58:30 +02:00
Karina Kwiatek f5c0d7b1c6 Appease the dog overlords 2022-07-16 15:58:30 +02:00
Karina Kwiatek d07b05ff24 Reformat `Exporter` spec 2022-07-16 15:58:30 +02:00
Karina Kwiatek 99062d4652 Make the data exporter less platform-dependent 2022-07-16 15:58:30 +02:00
Karina Kwiatek bd5ec792b7 Prevent text in links from being double-escaped 2022-07-16 15:57:32 +02:00
Karina Kwiatek 272ca72d3d Bump version to 2022.0711.0 2022-07-11 16:55:44 +02:00
dependabot[bot] 9cbb56edb8 Bump core-js from 3.23.3 to 3.23.4
Bumps [core-js](https://github.com/zloirock/core-js) from 3.23.3 to 3.23.4.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.23.3...v3.23.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 15:05:11 +02:00
dependabot[bot] ac58ca5d4c Bump @rails/ujs from 6.1.4 to 6.1.6
Bumps [@rails/ujs](https://github.com/rails/rails) from 6.1.4 to 6.1.6.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v6.1.4...v6.1.6)

---
updated-dependencies:
- dependency-name: "@rails/ujs"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 11:23:57 +02:00
Georg Gadinger b6c42264a6
Merge pull request #507 from Retrospring/depperterbot
Dependabot merge branch
2022-07-09 13:40:29 +02:00
dependabot[bot] 3e6eb346c4 Bump bootstrap_form from 5.0.0 to 5.1.0
Bumps [bootstrap_form](https://github.com/bootstrap-ruby/bootstrap_form) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/bootstrap-ruby/bootstrap_form/releases)
- [Changelog](https://github.com/bootstrap-ruby/bootstrap_form/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.0.0...v5.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-09 12:57:31 +02:00
Georg Gadinger 4f1260bc04 remove fix_* tasks as we ensured we won't need them anymore a long time ago 2022-07-09 12:55:40 +02:00
Karina Kwiatek 31e9d7ac80 Remove unneeded Rake tasks 2022-07-09 12:55:40 +02:00
dependabot[bot] 84d77704b1 Bump actions/setup-node from 1 to 3
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-09 12:45:07 +02:00
dependabot[bot] 18386e88ed Bump codecov/codecov-action from 1 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-09 12:44:14 +02:00
Georg Gadinger 572132f9e9 make captcha readable 2022-07-09 12:41:16 +02:00
dependabot[bot] 1e0dfe5041 Bump hcaptcha from v6.0.2 to 7.1.0
Bumps [hcaptcha](https://github.com/Nexus-Mods/hcaptcha) from v6.0.2 to 7.1.0. This release includes the previously tagged commit.
- [Release notes](https://github.com/Nexus-Mods/hcaptcha/releases)
- [Commits](9feac49080...v7.1.0)

---
updated-dependencies:
- dependency-name: hcaptcha
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-09 12:41:16 +02:00
dependabot[bot] bc2137ff7f Bump spring from 2.1.1 to 4.0.0
Bumps [spring](https://github.com/rails/spring) from 2.1.1 to 4.0.0.
- [Release notes](https://github.com/rails/spring/releases)
- [Changelog](https://github.com/rails/spring/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rails/spring/compare/v2.1.1...v4.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-09 12:37:22 +02:00
dependabot[bot] 7ea8064b53 Bump capybara from 3.36.0 to 3.37.1
Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.36.0 to 3.37.1.
- [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.36.0...3.37.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-09 12:27:36 +02:00
dependabot[bot] 4c471180a4 Bump fog-local from 0.7.0 to 0.8.0
Bumps [fog-local](https://github.com/fog/fog-local) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/fog/fog-local/releases)
- [Commits](https://github.com/fog/fog-local/compare/v0.7.0...v0.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-09 12:27:18 +02:00
dependabot[bot] a088626d55 Bump rubocop-rails from 2.13.1 to 2.15.2
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.13.1 to 2.15.2.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.13.1...v2.15.2)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-09 12:26:34 +02:00
dependabot[bot] 476894d7af Bump rolify from 5.3.0 to 6.0.0
Bumps [rolify](https://github.com/RolifyCommunity/rolify) from 5.3.0 to 6.0.0.
- [Release notes](https://github.com/RolifyCommunity/rolify/releases)
- [Changelog](https://github.com/RolifyCommunity/rolify/blob/master/CHANGELOG.rdoc)
- [Commits](https://github.com/RolifyCommunity/rolify/compare/v5.3.0...v6.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-09 12:25:12 +02:00
dependabot[bot] 875187f900
Bump fog-core from 2.2.4 to 2.3.0 (#468)
Bumps [fog-core](https://github.com/fog/fog-core) from 2.2.4 to 2.3.0.
- [Release notes](https://github.com/fog/fog-core/releases)
- [Changelog](https://github.com/fog/fog-core/blob/master/changelog.md)
- [Commits](https://github.com/fog/fog-core/compare/v2.2.4...v2.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-07-09 12:22:36 +02:00
Karina Kwiatek 5155b6dee7 Bump version to 2022.0709.0 2022-07-09 12:21:14 +02:00