Commit graph

1161 commits

Author SHA1 Message Date
Anna Buyanova
074d50d2b7 Stories views reorganization (#1317)
* Added stories feature specs

* Structure feature specs

* Spec for the articles by tag page

* Spec for clicking "week" button on the tag page

* Reorganize stories views

* Feature spec for displaying sponsors on tag page

* Increase allowed rspec example length

* Spec for the users comments view

* Articles by tag: reeplace view code with rendering partials
2018-12-13 14:54:02 -05:00
Mac Siri
56ec3e55a2 Refactor Reaction (#1320)
* Refactor Reaction's spec

* Create singleton class in Reaction

* Refactor Reaction
2018-12-13 14:24:33 -05:00
Ben Halpern
9b299569cb
Modify style on show page cta (#1324) 2018-12-13 14:23:18 -05:00
Kyle Boe
f82b562cd8 Update member's only sticker pack link (#1301) 2018-12-12 17:53:59 -05:00
Mac Siri
72eb2fc7b6 Revert "Extract background jobs from Reaction (#1312)" [ci skip]
This reverts commit cd54bece92.
2018-12-12 17:10:42 -05:00
Mac Siri
cd54bece92 Extract background jobs from Reaction (#1312)
* Refactor Reaction

* Update reaction_spec

* Extract update_reactable to job class

* Create ApplicationJob

* Rename Engagement::UpdateReactableJob to ReactionCascadeJob

* Rename ReactionCascadeJob to Reaction::UpdateRecordsJob

* Refactor Reaction::UpdateRecordsJob

* Remove unused method

* Change module to class
2018-12-12 16:41:31 -05:00
Mario See
394580b8c8 connect highlight messages (#1311)
* move setstate into cases where activecontent actually changes

* remove unnecessary setstate lines

* rearrange triggerActiveContent
2018-12-12 12:42:42 -05:00
Ben Halpern
14bba5e4d5
Adjust button style/placement on desktop (#1288)
* Adjust button style/placement on desktop

* Change opacity on side comments

* Adjust css for side article actions

* Adjust opacity

* Adjust opacity

* Adjust opacity

* Fix test language

* Remove opacity deal
2018-12-11 13:08:43 -05:00
Brian Kephart
5a4f894e84 Add ruby.social to Mastadon safelist (#1302) 2018-12-11 10:30:01 -05:00
Anant Jain
6bb87b25b2 Fixes #1298: Overflowing User Bio in article sidebar. (#1300) 2018-12-10 18:51:11 -05:00
dependabot[bot]
f115cca714 Bump capybara from 3.10.0 to 3.12.0 (#1294)
* Bump capybara from 3.10.0 to 3.12.0

Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.10.0 to 3.12.0.
- [Release notes](https://github.com/teamcapybara/capybara/releases)
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md)
- [Commits](https://github.com/teamcapybara/capybara/compare/3.10.0...3.12.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Update spec
2018-12-10 16:06:21 -05:00
dependabot[bot]
0672d0a622 Bump preact from 8.3.1 to 8.4.2 (#1290) [ci skip]
Bumps [preact](https://github.com/developit/preact) from 8.3.1 to 8.4.2.
- [Release notes](https://github.com/developit/preact/releases)
- [Commits](https://github.com/developit/preact/compare/8.3.1...8.4.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 14:03:23 -05:00
dependabot[bot]
c6c4e8ccc1 Bump honeycomb-rails from 0.8.0 to 0.8.1 (#1293) [ci skip]
Bumps [honeycomb-rails](https://github.com/honeycombio/honeycomb-rails) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/honeycombio/honeycomb-rails/releases)
- [Commits](https://github.com/honeycombio/honeycomb-rails/compare/v0.8.0...v0.8.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 13:42:00 -05:00
dependabot[bot]
3c99c08709 Bump twilio-video from 1.14.1 to 1.14.2 (#1289) [ci skip]
Bumps [twilio-video](https://github.com/twilio/twilio-video.js) from 1.14.1 to 1.14.2.
- [Release notes](https://github.com/twilio/twilio-video.js/releases)
- [Changelog](https://github.com/twilio/twilio-video.js/blob/1.14.2/CHANGELOG.md)
- [Commits](https://github.com/twilio/twilio-video.js/compare/1.14.1...1.14.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 13:39:33 -05:00
dependabot[bot]
5a0358bb0f Bump eslint from 5.9.0 to 5.10.0 (#1291) [ci skip]
Bumps [eslint](https://github.com/eslint/eslint) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.9.0...v5.10.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 13:33:59 -05:00
Mark Frost
bb5a999a91 [#339] fixed broken markup on /readinglist page (#435) 2018-12-10 13:23:38 -05:00
dependabot[bot]
339c2ffa62 Bump rubocop-rspec from 1.29.1 to 1.30.0 (#1292) [ci skip]
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 1.29.1 to 1.30.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rspec/compare/v1.29.1...v1.30.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 13:22:32 -05:00
rhymes
96d01b20a2 Use allow/allowed instead of whitelist (#1296)
* Use allow/allowed instead of whitelist

* Remove duplication in comment
2018-12-10 13:16:16 -05:00
Jibran Kalia
f569f33e4f [WIP] Really simple calculate reading time function (#1283)
* Really simple calculate reading time function

* Move parse_it so that the number of methods in MarkdownParser is at 20

* Added test and default value for reading time
2018-12-09 13:42:32 -05:00
Ben Halpern
c3d5220767
Add haptic message for iOS feedback (#1287) 2018-12-09 12:30:14 -05:00
Andrew Bone
bfa6622486 Darken cta-button (#1281)
Darken cta-button to bring contrast up to 7
The new colour value is `#1b4bcb`
2018-12-09 11:17:38 -05:00
Andy Zhao
1fad5728a2 Use article.user instead of @user (#1286) 2018-12-09 11:16:22 -05:00
Mario See
b29a155edd Fix lint (#1282) 2018-12-07 14:54:00 -05:00
Andy Zhao
afce7acbf6 Fix profile's path for comment (#1280)
* Use user path instead of comment path, oops

* Fix typo

* Add 3 retries to capybara failing spec
2018-12-07 13:11:27 -05:00
Andrew Bone
d387f1a35f Add alt attributes for landing page images (#1272)
* Add alt tag

`alt` tag is blank at @Zhao-Andy's request

* Added alt tag

`alt` tag is blank at @Zhao-Andy's request

* Added alt tag

Added `alt` tag for a11y compliance
2018-12-07 12:24:33 -05:00
Conlin Durbin
121d0b1561 Add "radical.town" to Mastodon list (#1279) 2018-12-07 11:56:34 -05:00
Tomas Zemanovic
01a334735f Update badges.html.erb (#1266)
updated the Font Awesome badge accordingly to their page
2018-12-07 10:33:07 -05:00
Anna Buyanova
7b1c4084a8 Basic feature specs for the stories (#1269)
* Added stories feature specs

* Structure feature specs

* Spec for the articles by tag page

* Disable example length for feature specs

* Spec for clicking "week" button on the tag page
2018-12-07 10:32:38 -05:00
Andy Zhao
fbe586497b Synchronously bust cache after save for comments (#1275) 2018-12-07 10:16:46 -05:00
Nick Taylor
86e55c2b6d Added toot.cafe to Mastodon whitelist (#1268) 2018-12-06 14:08:55 -05:00
Jess Lee
f96bc7c6f3 Revert banisher (#1274)
* remove stalebot from milestone issues

* simplify banisher
2018-12-06 13:44:53 -05:00
Anna Buyanova
9cb4eea43e Update rubocop_todo (#1270) [ci skip] 2018-12-06 08:03:37 -05:00
Ben Halpern
20c237d1be
Fix css z-index style bug on series indicator (#1265) 2018-12-05 15:12:25 -05:00
Ben Halpern
e0d1d749fc
Various internal functionality adjustments (#1264) 2018-12-05 13:28:46 -05:00
Andy Zhao
bfcc40779a Remove some unnecessary CSS (#1263) 2018-12-05 10:39:21 -05:00
Andy Zhao
b61ac4ce16 Add guard clause to hotfix some 500s (#1258) 2018-12-05 09:56:44 -05:00
Rozie
37fc82c409 change save button background (#1261) 2018-12-05 09:56:20 -05:00
Martin Riedel
9fb2cd8d16 Add infosec.exchange to mastodon whitelist. (#1262)
* Add infosec.exchange to mastodon whitelist.

* fix codeclimate error

alignment was off;
tab instead of spaces has been used;
2018-12-05 09:55:02 -05:00
Tim Krueger
f016ee3b7f Add two German instances (#1260)
'ruhr.social' and 'chaos.social' are two mastodon instances hosted in Germany.
2018-12-05 09:11:14 -05:00
Ben Halpern
6b96201265
[WIP] Allow mods to remove tags and send user notification (#1252)
* Initial tag adjustments

* Finalize tag adjustments and tag adjustments controller

* Fix schema.rb

* Finalize tag removal logic

* Adjust edge cases/tests for tag adjustment moderation

* Adjust tag adjustments spec
2018-12-04 16:45:32 -05:00
Andrew Bone
aefec87214 Shrink bookmark icon for smaller devices (#1237)
Make the bookmark icon just slightly larger than the font size
2018-12-04 15:30:52 -05:00
Mario See
c5e9f010d4 /connect channel members profile pic fix (#1255)
* update channelDetails, its test, and snapshots

* spacing

* spacing

* spacing

* label spacing

* label spacing

* label spacing

* snapshot update

* refactor implementation

* spacing fix

* styling and small changes

channelDetails
- added small profile image to channel users
- moved "Recently Active Members" below the channel description and above the channel users

Styling
- mostly in relation to channelDetails
- Leave Channel area styled similar to deleting account (lots of red)
- created connect folder in stylesheets where _channel-detials.scss is located
- chat.scss imports _channel-details.scss

* spacing

* update testing and snapshots

* fixed functionality, tests and styling

* leave button update

* show message for empty group

* limit users in channel and show message for empty group

* remove extra period

* change limit from 12 to 11

* show members header

* hide members h3

* increase channel details user limit, increase user object profile pic index

* remove return

* add members header

* Revert "add members header"

This reverts commit 200c6a7f83e3a958cf4199ee295e6a3809249abe.

* limit to 25
2018-12-04 15:00:49 -05:00
Michael Kohl
ffd24f791e Add Mastodon URL to profile (#1137) 2018-12-04 13:24:53 -05:00
Richard Kichenama
7d79b29b6c Night/Dark mode (#1104)
*  implement night theme through css filters

* 🐛 and video

* ♻️ simplify selector
2018-12-04 13:23:25 -05:00
Ty Hopp
39fc832801 Adjust gist embed styles for readability on mobile browsers (#1251)
* Adjust gist embed styles for readability on mobile browsers

* Remove gist embed css from articles.scss

* Add gist embed css to correct gist tag scss file
2018-12-04 08:53:24 -05:00
Brett Stevenson
57f2e40379 Modify user settings notification styling (#994) 2018-12-03 19:38:22 -05:00
Mario See
8b05f6b45b connect channel details (#1247)
* update channelDetails, its test, and snapshots

* spacing

* spacing

* spacing

* label spacing

* label spacing

* label spacing

* snapshot update

* refactor implementation

* spacing fix

* styling and small changes

channelDetails
- added small profile image to channel users
- moved "Recently Active Members" below the channel description and above the channel users

Styling
- mostly in relation to channelDetails
- Leave Channel area styled similar to deleting account (lots of red)
- created connect folder in stylesheets where _channel-detials.scss is located
- chat.scss imports _channel-details.scss

* spacing

* update testing and snapshots

* fixed functionality, tests and styling

* leave button update

* show message for empty group

* limit users in channel and show message for empty group

* remove extra period

* change limit from 12 to 11

* show members header

* hide members h3
2018-12-03 19:29:38 -05:00
Jacob Herrington
6b8bc3d932 Remove redundant installation steps [skip ci] (#1148)
I feel like this instruction is redundant due to the presence of
63acd40521/bin/setup (L22)
2018-12-03 15:37:40 -05:00
Mario See
1ba9c98c5a connect channel invites (#1201)
* update channelDetails, its test, and snapshots

* spacing

* spacing

* spacing

* label spacing

* label spacing

* label spacing

* snapshot update

* refactor implementation

* spacing fix

* styling and small changes

channelDetails
- added small profile image to channel users
- moved "Recently Active Members" below the channel description and above the channel users

Styling
- mostly in relation to channelDetails
- Leave Channel area styled similar to deleting account (lots of red)
- created connect folder in stylesheets where _channel-detials.scss is located
- chat.scss imports _channel-details.scss

* spacing

* update testing and snapshots

* fixed functionality, tests and styling

* leave button update
2018-12-03 13:05:29 -05:00
Andy Zhao
92cea23fcd Fix a few notification bugs (#1232)
* Remove notifications synchronously on unpublish and destroy

* Asynchronously remove reaction notifications for article

* Remove all associated notifications when destroyed

* Fix edge case for reaction notifications

* Load new comment_box file instead of old one

* Delete legacy views

* Remove unused private declaration

* Use casecmp.zero? instead of downcase for speed, and use @user

* Add friendly error message for notifications

* Use delete all and not destroy b/c no callbacks
2018-12-03 12:35:35 -05:00