Commit graph

2128 commits

Author SHA1 Message Date
Ben Halpern
166e26bdf9
Move webcomponents-loader to lib and clean out some dead code (unrelated) (#2838) 2019-05-14 22:00:46 -04:00
Jess Lee
8915fe3178 bust ghost cache and reindex articles (#2837) 2019-05-14 20:51:47 -04:00
Benny Powers
5f9a8a7501 Add click-to-copy to article share dropdown (#1579) 2019-05-14 17:45:40 -04:00
Ben Halpern
d9e11da157
Finalize Medium liquid tag and add video to video article liquid tags (#2832)
* Finalize Medium liquid tag and add video to video article liquid tags

* Add Medium section to editor guide
2019-05-14 17:02:37 -04:00
Jess Lee
486275cbbb Implement ghostify (#2773) 2019-05-14 16:50:14 -04:00
Mario See
7dd811a578 Utilize ERB template for GitHub Liquid tags (#2777) [ci skip] 2019-05-14 15:21:23 -04:00
Evan Winter
0c969c7b19 Add labels to account settings page's field (#2835) 2019-05-14 15:09:35 -04:00
Ben Halpern
3f7ef59d23
Fix text that says publishing for v1 (#2831)
* Fix text that says publishing for v1

* Remove currently in beta text in settings
2019-05-14 14:08:32 -04:00
Mario See
209f796c8d Utilize ERB template in MediumTag (#2786) [ci skip] 2019-05-14 10:42:48 -04:00
Mario See
d478cc372b Utilize ERB Template in GlitchTag (#2774) [ci skip] 2019-05-14 10:26:55 -04:00
Mario See
825bea6e13 Utilize ERB template in SlideShareTag (#2787) [ci skip] 2019-05-14 10:23:42 -04:00
Mario See
64c54bec42 Utilize ERB template in ParlerTag (#2788) [ci skip] 2019-05-14 10:18:09 -04:00
rhymes
571c907ee4 Fix save article button action (#2823) 2019-05-13 20:31:22 -04:00
rhymes
66ddcbca02 Upgrade rubocop and rubocop-performance (#2802) [ci skip] 2019-05-13 19:21:24 -04:00
Mario See
419ee34866 Utilize ERB template in GistTag (#2785) 2019-05-13 17:01:11 -04:00
Ben Halpern
aa68fee630
Turn blank canonical url into nil (#2821) 2019-05-13 16:57:36 -04:00
Ben Halpern
b2110d2d85
Add JS guard (#2819) 2019-05-13 16:33:58 -04:00
Anna Buianova
24bdfb1ef5 Remove unused ModerationService (#2805) [ci skip] 2019-05-13 16:16:06 -04:00
Ben Halpern
01d0ff8c1d
Finalize archived posts in dashboard (#2817) 2019-05-13 16:11:46 -04:00
Kobe Raypole
2dc7f914ac Move async user methods to ActiveJob (#2696) 2019-05-13 16:02:40 -04:00
Jess Lee
f6b59e56bf Update internal reports buttons type (#2816) [ci skip] 2019-05-13 15:59:19 -04:00
Dana Scheider
b2a8f69f83 Allow archiving of posts (#2798)
* This commit adds the "archived" attribute to the Article model, which will
enable users to automatically filter archived articles/drafts from appearing
on their dashboard. It also adds an ellipsis menu with a link to archive the
article. I've also moved the Mute Notifications button into the ellipsis menu
as well.

* Add ellipsis menu and make it work

* Fix logic error

* Hide ellipsis menus when you click elsewhere on the body

* Extract function to remove duplication

* Ensure that menu is hidden when the ellipsis button is clicked on an open menu

* Ensure that archiving post button works and that 'archived' param is accepted by the controller

* Enable link to toggle showing/hiding archived articles

* Make 'mute' and 'archive' buttons in ellipsis dropdown list work

* Refactor to make Code Climate happy

* Minor JS refactors
2019-05-13 15:40:52 -04:00
Ben Halpern
ab344801db
Fix localstorage key (#2815) 2019-05-13 15:27:42 -04:00
dependabot[bot]
e54d4c915d Bump counter_culture from 2.2.1 to 2.2.2 (#2812)
Bumps [counter_culture](https://github.com/magnusvk/counter_culture) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/magnusvk/counter_culture/releases)
- [Changelog](https://github.com/magnusvk/counter_culture/blob/master/CHANGELOG.md)
- [Commits](https://github.com/magnusvk/counter_culture/compare/v2.2.1...v2.2.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 14:19:23 -04:00
dependabot[bot]
9448ebb8d1 Bump intersection-observer from 0.6.0 to 0.7.0 (#2806) [ci skip]
Bumps [intersection-observer](https://github.com/w3c/IntersectionObserver) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/w3c/IntersectionObserver/releases)
- [Commits](https://github.com/w3c/IntersectionObserver/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 13:26:17 -04:00
dependabot[bot]
14245f1edf Bump jsdom from 15.0.0 to 15.1.0 (#2807) [ci skip]
Bumps [jsdom](https://github.com/jsdom/jsdom) from 15.0.0 to 15.1.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/15.0.0...15.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 12:36:13 -04:00
dependabot[bot]
59c9634de1 Bump webdrivers from 3.8.0 to 3.9.1 (#2814) [ci skip]
Bumps [webdrivers](https://github.com/titusfortner/webdrivers) from 3.8.0 to 3.9.1.
- [Release notes](https://github.com/titusfortner/webdrivers/releases)
- [Changelog](https://github.com/titusfortner/webdrivers/blob/master/CHANGELOG.md)
- [Commits](https://github.com/titusfortner/webdrivers/compare/v3.8.0...v3.9.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 12:34:03 -04:00
dependabot[bot]
b73bbe9139 Bump capybara from 3.18.0 to 3.19.1 (#2809) [ci skip]
Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.18.0 to 3.19.1.
- [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.18.0...3.19.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 12:33:30 -04:00
dependabot[bot]
bde0e6eb92 Bump rubocop from 0.67.2 to 0.69.0 (#2810) [ci skip]
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.67.2 to 0.69.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.67.2...v0.69.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 12:31:59 -04:00
Ben Halpern
c7d7d55460
[WIP] Move both v1 and v2 editor to v2 preact-driven editor (#2797)
* Initial work on v2

* Initial changes merger

* Work to finalize v1/v2 editor adjustments

* Clean up styling

* Fiddle with form margins

* Fix some tests

* Change video

* skip a couple tests

* Modify tests to work with new code
2019-05-13 12:27:36 -04:00
dependabot[bot]
c1aa5de7c8 Bump rubocop-rspec from 1.32.0 to 1.33.0 (#2811)
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 1.32.0 to 1.33.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.32.0...v1.33.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 10:05:50 -04:00
dependabot[bot]
7e66183dac Bump brakeman from 4.5.0 to 4.5.1 (#2813)
Bumps [brakeman](https://github.com/presidentbeef/brakeman) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/presidentbeef/brakeman/releases)
- [Changelog](https://github.com/presidentbeef/brakeman/blob/master/CHANGES.md)
- [Commits](https://github.com/presidentbeef/brakeman/compare/v4.5.0...v4.5.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 10:05:25 -04:00
Maurice
e639f376ee Fix link to FAQ on information page (#2796) 2019-05-11 13:26:55 -04:00
Ben Halpern
e4f6e00e29
Fix issue where user was not present on home page sometimes (#2793) 2019-05-10 19:42:18 -04:00
Ben Halpern
f0871346f7
Add security and faq pages as generatable via the Page model (#2792) 2019-05-10 16:20:40 -04:00
Glenn Carremans
85e517a821 Fix SpotifyTag (#2791)
- Fix regex for playlist.
- Remove user embed.
- Fix embed height.
2019-05-10 16:18:55 -04:00
Bolarinwa Balogun
d4b882753c Add Fetch Now to RSS Settings (#2770)
* Add Fetch Now to RSS Settings

* Resolve issues raised
2019-05-10 15:47:32 -04:00
Bolarinwa Balogun
ad61beedc2 Fix Empty Message for Archive List (#2789) 2019-05-10 15:06:40 -04:00
Mohammadjavad Raadi
bfda378ff8 Docs: Add themeable styling documentation using SASS mixins (#2780) 2019-05-10 12:55:16 -04:00
Kobe Raypole
509c7a3388 Move async article methods to ActiveJob (#2647) 2019-05-10 12:52:00 -04:00
Alireza Zekavat Fetrat
e53ca14bdc Fix broken gitdoc links (#2781) 2019-05-10 11:26:10 -04:00
cyrillefr
ecdbee64ab Move tag adjustment notification to Active Jobs (#2654) 2019-05-10 11:06:29 -04:00
rhymes
4e256e509e Close an open tag and cleanup spaces (#2782) 2019-05-10 09:09:40 -04:00
Mario See
62578e4a59 Utilize ERB template in SpotifyTag (#2753) [ci skip] 2019-05-09 19:45:19 -04:00
Mario See
86d8128dd9 Utilize ERB template in CodepenTag (#2748) [ci skip] 2019-05-09 19:33:59 -04:00
Ben Halpern
b645942dd2
Add loading='lazy' attribute to some images (#2776) 2019-05-09 16:37:06 -04:00
Mario See
e0d4329089 Utilize ERB template in SoundcloudTag (#2752) [ci skip] 2019-05-09 16:17:03 -04:00
Ben Halpern
995d4eb1e2
Add pagination to listings (#2775) 2019-05-09 14:58:26 -04:00
derekenos
5f63a7d253 Enable Escape key to close opened listing modal (#2768) 2019-05-09 14:21:35 -04:00
Mario See
e0284eb30d Utilize ERB template in BlogcastTag (#2754) [ci skip] 2019-05-09 14:13:19 -04:00