Commit Graph

2464 Commits

Author SHA1 Message Date
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
Andreas Nedbal 5fcf24646e Open share widgets in new tab 2021-12-26 23:28:46 +01:00
Andreas Nedbal 21c4e0662f Make the share event work on any answer
...not just the initially loaded set
2021-12-26 23:01:16 +01:00
Andreas Nedbal 08a0f2e1ca Don't include `Rails.application.routes.url_helpers` in `SocialHelper::`
It badly trips up things
2021-12-26 22:40:27 +01:00
Andreas Nedbal 7be52bb7f2 Include Rails URL helpers in `Services::Twitter` 2021-12-26 22:17:53 +01:00
Andreas Nedbal 4ddfba9a79 Add tests for `SocialHelper::TumblrMethods` 2021-12-26 22:07:58 +01:00
Andreas Nedbal b202a1f7e7 Add tests for `SocialHelper::TwitterMethods` 2021-12-26 22:07:42 +01:00
Andreas Nedbal b630baa870 Hide any element with `ab-share` as a name 2021-12-26 22:07:17 +01:00
Andreas Nedbal fa37f5c857 Add share links to answerboxes 2021-12-26 22:06:52 +01:00
Andreas Nedbal ed64a0990e Move tumblr post formatting into a separate helper class 2021-12-26 22:04:46 +01:00
Andreas Nedbal b64b039d21 Move tweet formatting into a separate helper class 2021-12-26 22:04:16 +01:00
Georg Gadinger 5b1b4901af
Merge pull request #230 from Retrospring/dep/questiongenerator-1.0
Bump `questiongenerator` to 1.0
2021-12-26 19:41:10 +01:00
Karina Kwiatek 3803ae97c4 Bump `questiongenerator` to 1.0 2021-12-26 19:38:04 +01:00
Georg Gadinger 2d776e7171
Merge pull request #228 from Retrospring/feature/codeowners-plus-plus
Add more frontend filetypes to CODEOWNERS
2021-12-26 15:57:31 +01:00
Andreas Nedbal 993667ad0c
Add more frontend filetypes to CODEOWNERS
This just prevents @nilsding from getting code review requests on frontend-related code.
2021-12-26 14:02:32 +01:00
Karina Kwiatek 3e7c6d8d95 Fix ShareWorker retries failing 2021-12-25 23:22:52 +01:00
Karina Kwiatek 0f654a4d7d
Merge pull request #226 from Retrospring/refactor/user-typescript
Port User functionality to TypeScript
2021-12-25 22:44:26 +01:00
Karina Kwiatek 053ebafbc5
Merge pull request #213 from Retrospring/refactor/profile
Move profile fields to seperate table
2021-12-25 22:44:10 +01:00
Karina Kwiatek c773d43447
Merge pull request #227 from Retrospring/fix/tweet-length
Fixes to ensure answers shared to twitter post more reliably
2021-12-25 22:39:56 +01:00
Karina Kwiatek 570425821f Add test for handling answers that don't need to be shortened for tweets 2021-12-25 22:27:32 +01:00
Karina Kwiatek 3204aaa2e9 Add test for tweet shortening
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2021-12-25 22:08:20 +01:00
Karina Kwiatek 7f26c1fef3 Ensure elipsis character always gets added for long questions/answers 2021-12-25 22:08:06 +01:00
Karina Kwiatek fa025ced92 Update `Ajax::AnswerController` test to expect multiple `ShareWorker` jobs 2021-12-25 15:22:19 +01:00
Karina Kwiatek b0fce22ef1 Install `libidn11-dev` for build & docker 2021-12-25 14:49:18 +01:00
Karina Kwiatek f28f714457 Allow retries for ShareWorker 2021-12-25 13:40:21 +01:00
Karina Kwiatek 61c8208e26 Ensure tweets fit twitter's length limit 2021-12-25 13:39:35 +01:00
Andreas Nedbal 8b583e103a Fix lint nits 2021-12-25 04:05:03 +01:00
Andreas Nedbal d27665471e Remove legacy user CoffeeScript 2021-12-25 03:34:24 +01:00
Andreas Nedbal 1bc52786ad Port reporting users from CoffeeScript to TypeScript 2021-12-25 03:34:02 +01:00
Andreas Nedbal 2cc8a33d5b Port (un)following from CoffeeScript to TypeScript 2021-12-25 03:33:33 +01:00
Andreas Nedbal cf8d6b0884 Setup user features in TypeScript 2021-12-25 03:33:09 +01:00
Andreas Nedbal 3b5e963da5 Add `$.on` vanilla JS substitute 2021-12-25 03:31:30 +01:00
Andreas Nedbal 89127aa313 Add aliases for common module locations 2021-12-25 00:02:52 +01:00
Karina Kwiatek e5f0be70dc Add `twitter-text` as dependency 2021-12-24 13:41:27 +01:00
Karina Kwiatek 842f51d745 Replace remaining usages of `user.display_name` 2021-12-23 22:01:56 +01:00
Karina Kwiatek df606a768e Update usage of `display_name` in shared sidebar 2021-12-23 21:49:42 +01:00
Karina Kwiatek 21f01fed02 Use an INSERT INTO ... SELECT to move profile data and drop the old columns 2021-12-23 08:56:50 +01:00
Karina Kwiatek fcd7217126
Merge pull request #221 from Retrospring/feature/file-input-accept-attr
Add accept attribute to file inputs
2021-12-22 19:57:43 +01:00
Karina Kwiatek a38c134280 Add description of `accepted_image_formats` in app config 2021-12-22 17:17:48 +01:00
Karina Kwiatek c995ead1e0 Add accept attribute to file inputs 2021-12-22 16:38:37 +01:00
Andreas Nedbal ae7ede9c2c Apply suggestions from code review
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2021-12-22 00:48:48 +01:00
Andreas Nedbal 1fd7854007 Remove mention of Piwik and add Privacy Policy links for 3rd party services
Piwik hasn't been in use in forever in Retrospring anyway, so the mention can be dropped entirely.
2021-12-22 00:48:48 +01:00
Andreas Nedbal d5170f30ad Disable browser monitoring with New Relic 2021-12-22 00:48:48 +01:00
Karina Kwiatek 65fa3ff018 Add test for updating user profile 2021-12-22 00:48:05 +01:00
Karina Kwiatek 8302f1b396 Update exporter for carrierwave & profile fields 2021-12-22 00:25:32 +01:00
Karina Kwiatek 08bafb1d78 Adjust exporter for user profiles 2021-12-22 00:03:19 +01:00