Commit Graph

3322 Commits

Author SHA1 Message Date
dependabot[bot] f01e24aaf4 Bump @babel/preset-env from 7.18.6 to 7.18.9
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.18.6 to 7.18.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.9/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 14:52:21 +02:00
dependabot[bot] 4ce998657f Bump bootstrap from 4.6.1 to 4.6.2
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.6.1...v4.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 14:52:21 +02:00
dependabot[bot] ce0bd2c08d Bump @melloware/coloris from 0.14.0 to 0.15.0
Bumps [@melloware/coloris](https://github.com/melloware/coloris-npm) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/melloware/coloris-npm/releases)
- [Commits](https://github.com/melloware/coloris-npm/compare/0.14.0...0.15.0)

---
updated-dependencies:
- dependency-name: "@melloware/coloris"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 14:52:21 +02:00
dependabot[bot] 6e27e46db8 Bump toastify-js from 1.11.2 to 1.12.0
Bumps [toastify-js](https://github.com/apvarun/toastify-js) from 1.11.2 to 1.12.0.
- [Release notes](https://github.com/apvarun/toastify-js/releases)
- [Changelog](https://github.com/apvarun/toastify-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apvarun/toastify-js/compare/1.11.2...1.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 14:52:21 +02:00
dependabot[bot] 399c4dc185 Bump @babel/core from 7.18.6 to 7.18.9
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.6 to 7.18.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.9/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 14:52:21 +02:00
dependabot[bot] bc6e99889e Bump core-js from 3.23.5 to 3.24.0
Bumps [core-js](https://github.com/zloirock/core-js) from 3.23.5 to 3.24.0.
- [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.5...v3.24.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 14:52:21 +02:00
Andreas Nedbal 65b69b86e4 Fix test for asked count in UseCase::Question::Create 2022-07-25 13:24:14 +02:00
Karina Kwiatek a39a6e2826
Merge pull request #567 from Retrospring/feature/improving-asks 2022-07-25 07:16:20 +02:00
Andreas Nedbal ed69d84d48
Apply review suggestion from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-07-24 22:45:04 +02:00
Andreas Nedbal bdb637047b Omit hash value in question methods 2022-07-24 22:27:15 +02:00
Andreas Nedbal 4f4e6c83a1 Do not decrement the question count if the question is direct 2022-07-24 22:25:13 +02:00
Andreas Nedbal 2692783518 Turn direct setting into an option for the use case 2022-07-24 22:24:48 +02:00
Andreas Nedbal bea98fa917 Always set follower created questions to not be direct explicitly 2022-07-24 22:24:24 +02:00
Georg Gadinger bd8b3518e2
Merge pull request #566 from Retrospring/senf@mustard.net
typoed_email_validator: add new endings to the typo list
2022-07-24 22:00:28 +02:00
Andreas Nedbal 777b25f967 Add test for question create UseCase checking if direct is set 2022-07-24 21:59:55 +02:00
Andreas Nedbal 83dbd5d2e3 Don't list direct questions on user profiles 2022-07-24 21:56:03 +02:00
Andreas Nedbal 70e95375fb Render questions on user profiles with markdown 2022-07-24 21:55:31 +02:00
Andreas Nedbal c894551ffc Add Rails Admin link to question partials 2022-07-24 21:44:46 +02:00
Georg Gadinger 5b70be74c2 typoed_email_validator: add new endings to the typo list 2022-07-24 21:44:27 +02:00
Karina Kwiatek 66cd8bfb2a Bump version to 2022.0724.0 2022-07-24 15:39:48 +02:00
Andreas Nedbal 74dc7c4526 Improve profile header layout 2022-07-24 15:17:11 +02:00
Karina Kwiatek 21c81e7bcd Update `rubocop` 2022-07-24 14:08:49 +02:00
Karina Kwiatek ca1ed4b293 Switch to Reviewdog 2022-07-24 14:03:46 +02:00
Georg Gadinger a8c936da8b add some net gems 2022-07-23 13:22:04 +02:00
Karina Kwiatek d62c4a69d1 Bump version to 2022.0723.1 2022-07-23 13:13:10 +02:00
Georg Gadinger 737ba177ce
Merge pull request #556 from Retrospring/winver.exe
add rake task for easier version bumping
2022-07-23 13:11:17 +02:00
Georg Gadinger 6d89304651 add rake task for easier version bumping
Just use `rake version:update` for bumping and creating the commit + tag.
2022-07-23 13:05:32 +02:00
Georg Gadinger 73da030395 version: convert to endless methods 2022-07-23 12:45:24 +02:00
Georg Gadinger a45446db0f
Merge pull request #555 from Retrospring/C8500-12X4QC
clean up routes
2022-07-23 12:34:29 +02:00
Georg Gadinger 58a3b89d67 add very important spec 2022-07-23 12:29:17 +02:00
Georg Gadinger 434d176ebe appease the Cyber Canine 9000 2022-07-23 12:19:47 +02:00
Georg Gadinger 1c546bc0bb use a newer Bundler 2022-07-23 12:14:16 +02:00
Georg Gadinger 66efa5d4f4 clean up routes
- replace `match` with `get`/`post`/`patch`/`delete`
- format routes.rb
- rename the `show_user_{profile,question,answer}` routes to
  `profile`, `question`, `answer` so `url_for` (used by Rails Admin)
  works fine for these things
- also add `to_param` to the `User` model so that `url_for(some_user)`
  uses the user name
2022-07-23 12:14:06 +02:00
Karina Kwiatek 37f4326d3b Update Ruby version in Rubocop config
Was missed from #554
2022-07-23 12:07:16 +02:00
Karina Kwiatek 2dac4c09ed Use endless method definition in `UseCase::Base`
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-07-23 12:06:24 +02:00
Karina Kwiatek 9ecbab9ddd Update Ruby version in Docker & CI 2022-07-23 12:06:24 +02:00
Karina Kwiatek db6f24473c Upgrade to Ruby 3.1.2 2022-07-23 12:06:24 +02:00
Karina Kwiatek 62b29b3bd1 Upgrade to Ruby 3.0.4 2022-07-23 12:06:24 +02:00
Karina Kwiatek ebda664898 Bump version to 2022.0723.0 2022-07-23 11:30:00 +02:00
Karina Kwiatek 0789ed773e Update registration tests to use a fixed forbidden screen name list 2022-07-23 09:11:32 +02:00
Karina Kwiatek fb73ce05db Appease the dog overlords 2022-07-23 09:11:32 +02:00
Karina Kwiatek 5f60d86efe Make forbidden screen names configurable 2022-07-23 09:11:32 +02:00
Karina Kwiatek fc161e2dcf Use `/@username` for profile paths 2022-07-23 09:11:32 +02:00
Karina Kwiatek fe8be8c3cb Bump version to 2022.0722.0 2022-07-22 16:53:28 +02:00
Karina Kwiatek 81b73d5196 Replace options hash with keyword arguments 2022-07-22 16:52:42 +02:00
Karina Kwiatek 7b831875b0 Add index to `notifications.type` and make it non-nullable 2022-07-22 16:52:42 +02:00
Karina Kwiatek b534dc0bb8 Fix `CommentSmile` notification type not being returned 2022-07-22 16:52:42 +02:00
Karina Kwiatek 6089c57a20 Appease the dog overlords 2022-07-22 16:52:42 +02:00
Karina Kwiatek 691f72d0ce Set notification type for reactions based on what the reaction is attached to 2022-07-22 16:52:42 +02:00
Karina Kwiatek 0992d44aef Filter notifications by target type 2022-07-22 16:52:42 +02:00