Commit graph

2293 commits

Author SHA1 Message Date
Karina Kwiatek
a04031d8f5
Merge pull request #259 from Retrospring/service-attach-errors
Improve error messaging when trying to attach a service connected to another account
2022-01-01 22:32:59 +01:00
Karina Kwiatek
9ce1fc0ce4 Address review comments from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-01 22:10:13 +01:00
Karina Kwiatek
5a597fca5c Add test for ServicesController 2022-01-01 21:58:36 +01:00
Karina Kwiatek
fe6dff8ed6 Improve error messaging when trying to attach a service connected to another account 2022-01-01 21:58:22 +01:00
Andreas Nedbal
5ffce61efe Apply suggestions from code review
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2022-01-01 18:24:52 +01:00
Andreas Nedbal
fc29c5164c Apply suggestions from code review
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-01 18:24:52 +01:00
Andreas Nedbal
eed2640326 Adjust layout and apply text suggestions 2022-01-01 18:24:52 +01:00
Andreas Nedbal
247d84415a Update layout of error pages 2022-01-01 18:24:52 +01:00
Andreas Nedbal
fcc03c6c06 Move Unicorn to error image folder 2022-01-01 18:24:52 +01:00
Andreas Nedbal
fb9e05b219 Add error page artworks by @fisuku 2022-01-01 18:24:52 +01:00
Andreas Nedbal
16dec827c7 Remove package-lock.json 2022-01-01 14:49:47 +01:00
Karina Kwiatek
e9eea23c0f
Merge pull request #256 from Retrospring/bugfix/questions
Fix broken rendering of questions on question pages
2022-01-01 02:18:46 +01:00
Andreas Nedbal
a4041e5da6 Remove another paragraph where questions are rendered 2022-01-01 02:04:49 +01:00
Karina Kwiatek
b418028f07
Merge pull request #255 from Retrospring/bugfix/inbox-entry
Fix wrong spacing in inbox entries
2022-01-01 01:52:02 +01:00
Andreas Nedbal
4fb1f3f38c Fix wrong spacing in inbox entries 2022-01-01 01:50:46 +01:00
Andreas Nedbal
f803a972b9 Fix haml-lint nit 2021-12-31 22:40:38 +01:00
Andreas Nedbal
2c72278cdd Add tests to check for #question_markdown not processing markup 2021-12-31 22:40:38 +01:00
Andreas Nedbal
f871ab45e8 Allow rel in sanitized links 2021-12-31 22:40:38 +01:00
Andreas Nedbal
8bbc9c72c1 Rename const/config option to allowed_hosts_in_markdown 2021-12-31 22:40:38 +01:00
Andreas Nedbal
a0a403ca4f Use rel="nofollow" in linkfilter view 2021-12-31 22:40:38 +01:00
Andreas Nedbal
c28ecafa80 Refactor SharedMarkers::autolink to use content_tag 2021-12-31 22:40:38 +01:00
Andreas Nedbal
bc65b42b02 Add tests for StaticController#linkfilter 2021-12-31 22:40:38 +01:00
Andreas Nedbal
5eb297136b Add tests for MarkdownHelper 2021-12-31 22:40:38 +01:00
Andreas Nedbal
1f2c9a08eb Fix haml-lint nits 2021-12-31 22:40:38 +01:00
Andreas Nedbal
3d04f54a0f Allow target for links in sanitizer 2021-12-31 22:40:38 +01:00
Andreas Nedbal
02a5e7029e Add linkfilter logic to existing renderers 2021-12-31 22:40:38 +01:00
Andreas Nedbal
67ee589b5b Add question markup renderer 2021-12-31 22:40:38 +01:00
Andreas Nedbal
09172a56ef Add linkfilter action 2021-12-31 22:40:38 +01:00
Karina Kwiatek
2a2bd6ad14
Merge pull request #250 from Retrospring/eager-loading
Eager load relationships for questions, answers and users
2021-12-31 22:37:41 +01:00
Karina Kwiatek
c3ca93de7f
Merge pull request #252 from Retrospring/rel-nofollow
views: add rel=nofollow to some links
2021-12-31 21:47:18 +01:00
Karina Kwiatek
552f7373e6
Merge pull request #248 from Retrospring/feature/answer-theme
Extend theme helper to show themes on answer pages
2021-12-31 19:46:21 +01:00
Karina Kwiatek
a088f85224
Merge pull request #253 from Retrospring/railsadmin-profiles
rails_admin: include the new Profile model
2021-12-31 19:37:30 +01:00
Georg Gadinger
34aeb2350c views: add rel=nofollow to some links 2021-12-31 19:30:18 +01:00
Georg Gadinger
a7c942e4b8 rails_admin: include the new Profile model 2021-12-31 19:25:17 +01:00
Karina Kwiatek
817c221551 Add basic test for user questions 2021-12-31 15:56:15 +01:00
Karina Kwiatek
2f355d5041 Add basic tests for followers & following in UserController 2021-12-31 15:36:16 +01:00
Karina Kwiatek
0da070c5ff Move includes into cursored_friends/cursored_followers 2021-12-31 15:35:02 +01:00
Karina Kwiatek
7e57735b88 Add basic test for answer & user show views 2021-12-31 13:59:15 +01:00
Karina Kwiatek
d1febbd5a4
Merge pull request #251 from Retrospring/sentry-sample-rate 2021-12-31 13:44:52 +01:00
Karina Kwiatek
4a039937d6 Reduce Sentry sample rate to 25% 2021-12-31 11:59:07 +01:00
Karina Kwiatek
32e6975c28 Include smiles when eager loading answers 2021-12-30 23:21:46 +01:00
Karina Kwiatek
7357e92865 Eager load relationships for questions, answers and users 2021-12-30 22:15:59 +01:00
Karina Kwiatek
5552f04bdf
Merge pull request #243 from Retrospring/refactor/lists-typescript
Port List functionality to TypeScript
2021-12-30 12:29:59 +01:00
Andreas Nedbal
06e31bb0be Apply review suggestion from @raccube 2021-12-30 12:23:35 +01:00
Andreas Nedbal
51bb2ae425 Add tests for new answer page theme logic 2021-12-30 02:03:34 +01:00
Andreas Nedbal
a6dc7661ee Extend theme helper to show themes on answer pages 2021-12-30 01:41:27 +01:00
Andreas Nedbal
a78cb2f2c9 Open profile website links in a new tab 2021-12-30 00:32:46 +01:00
Andreas Nedbal
66638caedf Initialize Sentry regardless of APP_CONFIG[:sentry_dsn] being set or not 2021-12-29 22:35:29 +01:00
Andreas Nedbal
dcc781df3d Put all security related actions behind authentication 2021-12-29 22:35:17 +01:00
Andreas Nedbal
6df040eece Fix missing translation when deleting lists
(this was broken in prod since this was introduced, amazing!)
2021-12-28 21:29:08 +01:00