Commit Graph

2459 Commits

Author SHA1 Message Date
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
Andreas Nedbal 493451c777 Remove legacy list CoffeeScript 2021-12-28 21:15:15 +01:00
Andreas Nedbal d84891763a Port creating lists from CoffeeScript to TypeScript 2021-12-28 21:15:15 +01:00
Andreas Nedbal 4a94638b59 Port deleting lists from CoffeeScript to TypeScript 2021-12-28 21:15:15 +01:00
Andreas Nedbal d3d4644776 Port list membership actions from CoffeeScript to TypeScript 2021-12-28 21:15:15 +01:00
Andreas Nedbal 542cdd8b9a Setup lists feature in TypeScript 2021-12-28 21:15:15 +01:00
Karina Kwiatek 4008d2fd05
Merge pull request #241 from Retrospring/feature/sentry
Integrate Sentry
2021-12-28 19:55:02 +01:00
Karina Kwiatek 751ba0f446 Configure traces sample rate 2021-12-28 19:49:31 +01:00
Karina Kwiatek 1b4aa8600d Set Sentry user context 2021-12-28 19:19:27 +01:00
Karina Kwiatek e7222d0d5d Add `sentry-sidekiq` 2021-12-28 19:18:54 +01:00
Karina Kwiatek 065e56ccf1 Replace New Relic with Sentry 2021-12-28 18:32:03 +01:00
Karina Kwiatek 52ece6fa5e
Merge pull request #240 from Retrospring/add-indexes-to-notifications
Add indexes to notifications table
2021-12-28 16:12:37 +01:00
Karina Kwiatek b438c89256 Fix broken tests 2021-12-28 15:11:41 +01:00
Karina Kwiatek 07a54c473e Add `notifications` table indexes for `recipient_id` & `new` 2021-12-28 15:11:41 +01:00
Karina Kwiatek fe6a04c6e2
Merge pull request #238 from Retrospring/fix/failed-posts
Catch common `ShareWorker` exceptions to avoid unnecessary retries
2021-12-28 14:37:38 +01:00
Karina Kwiatek a534dd04d5 Test all cases of error handling for `ShareWorker` 2021-12-28 03:59:45 +01:00
Karina Kwiatek 45dae78ed0 Adjust `ShareWorker` test to not be dependent on config options 2021-12-28 03:03:59 +01:00
Karina Kwiatek 9dafa675d1 Log on `ShareWorker` Twitter exceptions 2021-12-27 23:03:51 +01:00
Karina Kwiatek d73e269d85 Test `ShareWorker`'s handling of unhandled exceptions 2021-12-27 23:02:32 +01:00
Karina Kwiatek 6ed91204a4
Merge pull request #239 from Retrospring/feature/mail-notice-part-2
Update mail notice to mention people to look at their spam folder
2021-12-27 21:06:52 +01:00
Andreas Nedbal e3c9d1b7b4 Update mail notice to mention people to look at their spam folder 2021-12-27 20:51:36 +01:00
Karina Kwiatek 0b926a43e4 Test `ShareWorker`'s handling of deleted records 2021-12-27 18:53:59 +01:00
Karina Kwiatek 9c599db3a7 Log message if `ShareWorker` tries to post something deleted 2021-12-27 18:17:47 +01:00
Karina Kwiatek 58a5065e52 Catch common `ShareWorker` exceptions to avoid unnecessary retries 2021-12-27 17:44:42 +01:00
Andreas Nedbal b544145b93 Fix `SocialHelper::TwitterMethods` tests so they work anywhere 2021-12-27 14:28:11 +01:00
Andreas Nedbal 8dd14e4a05 Fix `SocialHelper::TumblrMethods` tests so they work anywhere 2021-12-27 14:28:11 +01:00
Andreas Nedbal 719e393ed1 Add test for `Services::Tumblr` 2021-12-27 14:28:11 +01:00
Andreas Nedbal 4529fa0d18 Fix `Services::Tumblr` not being able to post 2021-12-27 14:28:11 +01:00
Karina Kwiatek 62755b8827
Merge pull request #236 from Retrospring/feature/mail-notice
Add notice on registering about issues with Hotmail/Outlook
2021-12-27 01:52:36 +01:00
Andreas Nedbal 3f4bd13486 Add notice on registering about issues with Hotmail/Outlook 2021-12-27 01:44:10 +01:00
Karina Kwiatek 8d607fd833
Merge pull request #233 from Retrospring/bugfix/pp-markdown
Add newline to prevent rendering issue in privacy policy
2021-12-27 00:01:57 +01:00
Andreas Nedbal dab5fa0935
Add newline to prevent rendering issue in privacy policy 2021-12-27 00:00:11 +01:00
Karina Kwiatek 1ba99af4ce
Merge pull request #232 from Retrospring/feature/sharing
Add manual share links to answerboxes
2021-12-26 23:53:02 +01:00
Andreas Nedbal 453724be8b Prevent reloading of page on share link click 2021-12-26 23:46:42 +01:00
Andreas Nedbal a1ba1a8082
Apply review suggestion from @raccube
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2021-12-26 23:41:23 +01:00