Commit graph

1850 commits

Author SHA1 Message Date
Tim Lange
d39d30b8fd Fix comment preview loading in nightmode (#2454) [ci skip] 2019-04-16 13:51:42 -04:00
rhymes
8e6ca966ed Switch from chromedriver-helper to webdrivers (#2465) [ci skip] 2019-04-16 13:46:23 -04:00
rhymes
859e0bc606 Cleanup a bit the Gemfile (#2463)
* Enable pry only in development and test

* Explicitly put sdoc in the doc group

* rb-fsevent is not used explicitly

* Removed shortcut gem derailed

* fix-db-schema-conflicts is not needed in test mode

* memory_profiler is only used by derailed_benchmarks

* erb_lint is only needed in development

* vcr is only needed in tests

* Sinatra is not needed in tests

* Revert "Enable pry only in development and test"

This reverts commit ee15411a6949370d3c181d50616d0545ec09bd86.
2019-04-16 10:45:24 -04:00
rhymes
53381b9c0d Delete jquery.highlighttextarea (#2462) 2019-04-15 16:22:59 -04:00
dependabot[bot]
ee3b2d9dc4 Bump parallel_tests from 2.27.1 to 2.28.0 (#2441) [ci skip]
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.27.1 to 2.28.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.27.1...v2.28.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 14:46:38 -04:00
dependabot[bot]
c6a1d2dc06 Bump octokit from 4.13.0 to 4.14.0 (#2443)
Bumps [octokit](https://github.com/octokit/octokit.rb) from 4.13.0 to 4.14.0.
- [Release notes](https://github.com/octokit/octokit.rb/releases)
- [Changelog](https://github.com/octokit/octokit.rb/blob/master/RELEASE.md)
- [Commits](https://github.com/octokit/octokit.rb/compare/v4.13.0...v4.14.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 14:28:14 -04:00
Tim Lange
1d40c19866 UX: Liquid Tags Nightmode (#2459) 2019-04-15 14:23:12 -04:00
Ben Halpern
d76a37a6fe
Add GA_FETCH_RATE ENV var to ease rate limiting (#2461) 2019-04-15 14:11:55 -04:00
Tim Lange
d1535e0400 UX: Twitter Liquid Tag Nightmode (#2460) 2019-04-15 13:52:22 -04:00
Ben Halpern
61182b0a69
Allow seo_boostable to better handle nil (#2458) 2019-04-15 13:12:19 -04:00
Andy Zhao
dffdac3ad1 Add a blank href attribute if blank (#2457) 2019-04-15 13:10:54 -04:00
Ben Halpern
e389757aa4
Modify sidebar seo-boostable cache (#2455)
* Modify sidebar seo-boostable cache

* Modify score needed
2019-04-15 12:20:44 -04:00
rhymes
bf33490b04 Removed csv_shaper, bourbon and share_meow_client (#2450)
None of these gems seems to be in usage
2019-04-15 12:05:08 -04:00
Ben Halpern
78f8eb6dbe
Fix seo_boostable for latest (#2451) 2019-04-15 10:48:53 -04:00
dependabot[bot]
dea0ac785a Bump eslint-plugin-import from 2.16.0 to 2.17.1 (#2440) [ci skip]
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.16.0 to 2.17.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.16.0...v2.17.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 10:25:09 -04:00
Ben Halpern
4b1b137c0f
Fix/augment dashboard and article view count issues (#2449) 2019-04-15 10:24:38 -04:00
dependabot[bot]
a4b36a361a Bump prettier from 1.16.4 to 1.17.0 (#2439) [ci skip]
Bumps [prettier](https://github.com/prettier/prettier) from 1.16.4 to 1.17.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.16.4...1.17.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 10:21:11 -04:00
rhymes
cb0f78bdca Add short description for gems (#2447) 2019-04-15 10:08:26 -04:00
dependabot[bot]
c120e3c2c9 Bump puma from 3.12.0 to 3.12.1 (#2442)
Bumps puma from 3.12.0 to 3.12.1.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 08:44:18 -04:00
dependabot[bot]
08f5827875 Bump validate_url from 1.0.6 to 1.0.8 (#2444)
Bumps [validate_url](https://github.com/perfectline/validates_url) from 1.0.6 to 1.0.8.
- [Release notes](https://github.com/perfectline/validates_url/releases)
- [Commits](https://github.com/perfectline/validates_url/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-15 08:43:46 -04:00
Andrew Brown
1168b926c7 be able to sort dashboard articles (#1837) (#2337)
* be able to sort dashboard articles (#1837)

* remember to escape order clause is arel (#1837)

* add back in missing character for created_at (#1837)

* use case statement to avoid threat of injection (#1837)

* write specs to ensure sorting works for dashboard articles (#1837)

* add publish sort options, refactor sort options into articles helper (#1837)

* refactor to use model scope (#1837)
2019-04-15 08:30:09 -04:00
Tim Lange
826340cffd UX: Fixed dev badge in nightmode (#2431) 2019-04-14 12:04:28 -04:00
Ali Spittel
b1dde2c6f6 Feature/pink mode - make text grey (#2429)
* tweak purple

* move text to grey?

* Update application.html.erb
2019-04-14 11:10:52 -04:00
Tim Lange
81c28886c8 UX: Several improvements for chat in nightmode (#2430)
* UX: Several improvements for chat in nightmode

* FIX: Some react refactoring

* FIX: Fixed failing react tests
2019-04-14 11:05:58 -04:00
Yaroslav Barkovskiy
e2503ec1c2 Fix colon emoji in codeblock (#2216) (#2360) 2019-04-13 16:16:36 -04:00
rhymes
1d9ef3afa7 Fix community name (#2415)
* Add community_qualified_name helper for the homepage

* Fix more community names
2019-04-13 16:12:21 -04:00
Anna Buianova
d27874adc9 Move estimating user default language to ActiveJob (#2373)
* Move estimating user language logic to a service object

* Call a service from a User#estimate_default_language!

* ActiveJob for estimating default user language

* Call ActiveJob from the User#estimate_default_language

* Handle nil user email when estimating default language

* Switch user.estimate_default_language_without_delay! to estimate_default_language! in specs
2019-04-13 15:54:22 -04:00
Mario See
fc318acd97 allow codesandbox to accept runonclick (#2381)
* allow codesandbox to accept runonclick

- runonclick=1 lets the user load the codesandbox when they decide
- added runonclick tests to spec

* documentation to editor_guide
2019-04-13 15:53:28 -04:00
Princess Oluebube Egbuna
445a41d8ee Fix typo on community moderation guideline page (#2394)
This commit fixes two grammatical errors on the community moderation guideline page.
2019-04-13 14:26:31 -04:00
Desi Rottman
803771d081 remove Product Roadmap link from TOC (#2423)
it looks like the Product Roadmap section of the Read Me was removed at 65bdaa86f3 (diff-04c6e90faac2675aa89e2176d2eec7d8), so that anchor was broken. this removes the link from the Table Of Contents.
2019-04-13 13:26:24 -04:00
Ben Halpern
dec44cd34e
Move themes config into separate partial and add logo theme-ability (#2427)
* Remove honeycomb code from config.ru

* Modify pink theme and minor other theme adjustments

* Fix schema
2019-04-13 13:11:18 -04:00
Ali Spittel
409c280c10 pinkify DEV (#2425) 2019-04-13 11:25:02 -04:00
Desi Rottman
92eab3aa49 Fix grammar error in "thumbsdown" description (#2391) [ci skip] 2019-04-12 11:49:44 -04:00
Tim Lange
6daec136bf UX: Fix draft in nightmode (#2382) 2019-04-12 10:30:42 -04:00
Anna Buianova
25cafaae8c Add missing indexes to comments table (#2413) 2019-04-12 06:18:06 -04:00
Ben Halpern
a0b205330c
Add fragment cache to tag page (#2403)
* Add fragment cache to tag page

* Add whether user is logged in to cache key
2019-04-12 01:29:49 -04:00
Ben Halpern
9578a15579
Remove unnecessary map functions in stories controller (#2402) 2019-04-12 01:10:08 -04:00
Ben Halpern
c68228cda6
Add sidebar condition for homepage cache (#2404) 2019-04-12 01:06:41 -04:00
Ben Halpern
8c740b77ac
Add additional fragment caching to home page (#2401) 2019-04-12 00:42:28 -04:00
rhymes
0d24dee4f0 Use touch a little bit less (#2395) 2019-04-11 23:43:54 -04:00
yasmeen roumie
c373a6a2e9 Fix typos (#2396) 2019-04-11 22:12:18 -04:00
Brandon Lyons
bab2b8bcfe Fixed spacing typo (#2388) [ci-skip] 2019-04-11 17:49:01 -04:00
Alissa
4eadd21854 Update community moderation copy [ci skip] 2019-04-11 17:41:38 -04:00
Andy Zhao
d1241d3c16 Touch profile_updated_at when updating social usernames (#2386)
* Use better description for test

* Test for new profile_updated_at touches

* Touch profile_updated_at when removing an auth

* Touch profile_updated_at when authing w/ new social username
2019-04-11 16:32:45 -04:00
Kushagra Gour
8f03f87087 settings.scss: Fix color contrast in text colors (#2372)
The text colour of the alert messages was failing the accessible colour contrast requirement of 4.5:1.
2019-04-11 16:32:06 -04:00
Tim Lange
e3aefb7b18 UX: Fixed no results found in nightmode (#2384) 2019-04-11 16:30:33 -04:00
Tim Lange
696b90ec32 UX: Fixed figcaption in nightmode (#2383) 2019-04-11 16:30:13 -04:00
Jess Lee
6629404ad9 Community Moderation Page (#2364)
* add more copy about bulk updating

* add the new file whooops
2019-04-11 15:40:35 -04:00
rhymes
5782ffd7e0 Use published scope for articles (#2374)
* Use published scope for articles

* Fix variable name

* The sequencing in the union query matters

* Fix spec

* Restore a published: true condition

* This test is actually misleading due to the union

* Revert this change, not sure why it's not a relation

* Fix useless diff
2019-04-11 13:18:26 -04:00
rhymes
a09bf20503 Remove unused attr_reader (#2376) [ci skip] 2019-04-11 12:47:15 -04:00