Commit Graph

3465 Commits

Author SHA1 Message Date
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
Karina Kwiatek f475cd0a0b Make notifications relation polymorphic 2022-07-22 16:52:42 +02:00
Karina Kwiatek d33e0f86af Add `oj` 2022-07-21 16:09:00 +02:00
Karina Kwiatek cb061b1da5 Remove `@title` assign inside view 2022-07-21 16:08:51 +02:00
Karina Kwiatek a39960d269 Add tests for `TimelineController` 2022-07-21 16:08:51 +02:00
Karina Kwiatek d794a69729 Add translation for Public Timeline title 2022-07-21 16:08:51 +02:00
Karina Kwiatek 6e61e0cabe Deduplicate shared logic in `TimelineController` 2022-07-21 16:08:51 +02:00
Karina Kwiatek ec702c90b8 Bump version to 2022.0721.0 2022-07-21 12:32:56 +02:00