Commit Graph

3339 Commits

Author SHA1 Message Date
Andreas Nedbal 4a7aa7bae1 Apply suggestions from @raccube
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2022-07-28 12:22:32 +02:00
Andreas Nedbal dc5300a6b0 Remove legacy locales 2022-07-28 12:22:32 +02:00
Andreas Nedbal afa250af01 Fix quote style in user privilege item partial 2022-07-28 12:22:32 +02:00
Andreas Nedbal 76845a55c0 Add new translations for user privilege modal 2022-07-28 12:22:32 +02:00
Andreas Nedbal 6dac157aef Adjust TypeScript logic for list member count 2022-07-28 12:22:32 +02:00
Andreas Nedbal 1492434e15 Add new translations for modal list items 2022-07-28 12:22:32 +02:00
Andreas Nedbal 8839139a72 Add new translations for list management modal 2022-07-28 12:22:32 +02:00
Andreas Nedbal c4fefbf0aa Add new translations for comment smiles modal 2022-07-28 12:22:32 +02:00
Andreas Nedbal 001e747efe Add new translations for ask modal 2022-07-28 12:22:32 +02:00
Georg Gadinger b08fbf29da
Merge pull request #583 from Retrospring/🇨🇿📦
questionbox: make "Hide your name" clickable
2022-07-27 23:03:15 +02:00
Georg Gadinger a59208060b workflows/retrospring: also install native deps on lint job 2022-07-27 21:17:41 +02:00
Georg Gadinger 1a9d88f9bd ACAB 2022-07-27 21:09:32 +02:00
Georg Gadinger b7ef83970b rails_admin: group models together and add nice icons 2022-07-27 21:09:27 +02:00
Georg Gadinger 1da70158bf questionbox: make "Hide your name" clickable 2022-07-27 20:16:11 +02:00
Karina Kwiatek 2243a3ff99 Bump version to 2022.0725.0 2022-07-25 20:51:25 +02:00
dependabot[bot] e9c7aa1029
Bump net-smtp from 0.1.0 to 0.3.1
Bumps [net-smtp](https://github.com/ruby/net-smtp) from 0.1.0 to 0.3.1.
- [Release notes](https://github.com/ruby/net-smtp/releases)
- [Changelog](https://github.com/ruby/net-smtp/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/net-smtp/compare/v0.1.0...v0.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 12:55:17 +00:00
Andreas Nedbal f5ada22baf Update yarn.lock 2022-07-25 14:52:21 +02:00
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