Anna Buianova
35e3733314
[deploy] Removed articles.live_now column ( #7879 )
2020-05-15 11:37:28 -04:00
Nick Taylor
5505a5e1ce
Added a lint-staged check for running only related tests to changed frontend files ( #7883 )
2020-05-15 11:13:29 -04:00
Nick Taylor
b376d109ef
Moved src/components/Item* to readingList/components ( #7876 )
2020-05-15 11:00:06 -04:00
rhymes
e104c8b5c5
Upgrade validate_url to 1.0.11 to fix load error ( #7882 )
...
* Upgrade validate_url to 1.0.11 to fix load error
* Fix spec
2020-05-15 16:17:07 +02:00
Nick Taylor
03ff779ca3
Moved src/utils out of src/ folder to utilities/ folder. ( #7875 )
2020-05-15 10:07:42 -04:00
dependabot-preview[bot]
457915beef
Bump doorkeeper from 5.3.2 to 5.4.0 ( #7860 )
2020-05-15 09:36:58 -04:00
dependabot-preview[bot]
3f93b3b62a
Bump rubocop from 0.82.0 to 0.83.0 ( #7857 )
2020-05-15 09:36:31 -04:00
Dmitry Maksyoma
f63c7f9289
Fix Runkit tags not being activated when comment is added ( #6767 )
...
* Fix Runkit tags not being activated when comment is added
* Runkit tag activation was ran once, on page load. I've changed it to
run on on comment preview and submit.
* It was necessary to add a check to skip already activated Runkit
tags. The code didn't take into account that a tag could be already
processed, and would just crash.
* Fix Runkit tags and add tests
* Add test for previewing article with Runkit tag
* "Fix CodeClimate not finding waitForRunkitAndActivateTags()
* Refactor a test for readability
* Make Rubocop happy
* Improve test for previewing article with Runkit tag
* Use one method for determining active Runkit tags
* Defer loading of JS from embed.runkit.com
* Add utility function dynamicallyLoadScript(url)
* Switch to dynamic loading of Runkit
* parsed content code block is also hidden now to avoid displaying <code /> block before runkit iframe loads.
* Fix Runkit test
* Remove Runkit script caching in v2 form
* Use <%== instead of .html_safe in v2 form
* Update app/assets/javascripts/utilities/dynamicallyLoadScript.js
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
2020-05-15 14:27:46 +02:00
Rafi
be3d977565
Sanitizing and rendering html entities in article title ( #7593 )
2020-05-15 08:04:43 -04:00
Ben Halpern
0ae835c73f
Open in new window properly on ctrl+click etc ( #7814 )
...
* Open in new window properly on ctrl+click etc
* Trigger meta click for comment area too
2020-05-15 14:02:11 +02:00
Mac Siri
f15797ac17
Expand webhook API request specs ( #7872 )
...
* Expand webhook API specs
* Use single expectation
* Refactor include examples
2020-05-15 11:35:44 +02:00
Molly Struve
dd7f51f7fa
Limit the Number of API Keys a User Can Have ( #7870 )
...
* Limit the Number of API Keys a User Can Have
* tweak error message and throw in flaky spec fix
2020-05-15 11:33:02 +02:00
Molly Struve
7293df3191
[deploy] Return if there is no ip_address from Method ( #7874 )
2020-05-14 18:13:24 -05:00
Michael Kohl
c23850f795
[deploy] Credit refactoring ( #7841 )
...
* Simplify Credit model
* Use enough_credits? method
2020-05-14 18:04:26 -04:00
dependabot-preview[bot]
e255a5946e
Bump elasticsearch from 7.6.0 to 7.7.0 ( #7865 )
...
Bumps [elasticsearch](https://github.com/elastic/elasticsearch-ruby ) from 7.6.0 to 7.7.0.
- [Release notes](https://github.com/elastic/elasticsearch-ruby/releases )
- [Changelog](https://github.com/elastic/elasticsearch-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/elastic/elasticsearch-ruby/compare/v7.6.0...7.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 18:02:46 -04:00
dependabot-preview[bot]
7b69a3ca49
Bump webpack-dev-server from 3.10.3 to 3.11.0 ( #7852 )
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 3.10.3 to 3.11.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.10.3...v3.11.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 18:02:33 -04:00
dependabot-preview[bot]
04ecbb8f76
Bump eslint-plugin-react from 7.19.0 to 7.20.0 ( #7850 )
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.19.0 to 7.20.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases )
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.19.0...v7.20.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 18:01:35 -04:00
dependabot-preview[bot]
b445f2d047
Bump aws-sdk-lambda from 1.40.0 to 1.41.0 ( #7855 )
...
Bumps [aws-sdk-lambda](https://github.com/aws/aws-sdk-ruby ) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases )
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-lambda/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-ruby/compare/v1.40.0...v1.41.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 18:01:20 -04:00
dependabot-preview[bot]
e6bca0053e
Bump fog-aws from 3.6.3 to 3.6.4 ( #7858 )
...
Bumps [fog-aws](https://github.com/fog/fog-aws ) from 3.6.3 to 3.6.4.
- [Release notes](https://github.com/fog/fog-aws/releases )
- [Changelog](https://github.com/fog/fog-aws/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fog/fog-aws/compare/v3.6.3...v3.6.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 18:01:13 -04:00
dependabot-preview[bot]
cc5fa37767
Bump figaro from 1.1.1 to 1.2.0 ( #7859 )
...
Bumps [figaro](https://github.com/laserlemon/figaro ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/laserlemon/figaro/releases )
- [Changelog](https://github.com/laserlemon/figaro/blob/master/CHANGELOG.md )
- [Commits](https://github.com/laserlemon/figaro/compare/v1.1.1...v1.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 18:01:06 -04:00
dependabot-preview[bot]
06dbec7d2a
Bump brakeman from 4.8.1 to 4.8.2 ( #7856 )
2020-05-14 17:58:16 -04:00
dependabot-preview[bot]
d7d2a3f0eb
Bump ddtrace from 0.35.1 to 0.35.2 ( #7862 )
2020-05-14 17:57:43 -04:00
dependabot-preview[bot]
4fa8f42c72
Bump better_errors from 2.7.0 to 2.7.1 ( #7863 )
2020-05-14 17:50:37 -04:00
dependabot-preview[bot]
6ba291b81c
Bump rouge from 3.18.0 to 3.19.0 ( #7864 )
2020-05-14 17:48:59 -04:00
Nick Taylor
be5f80a04b
Moved common-prop-types out of src/ folder ( #7871 )
2020-05-14 16:58:29 -04:00
Nick Taylor
26cf4085fc
Moved search components our of src/ folder. ( #7869 )
2020-05-14 16:45:41 -04:00
Ben Halpern
2daac8a216
Add docs for tallying timeseries metrics ( #6146 )
2020-05-14 15:32:12 -05:00
Molly Struve
7dd249ac21
[deploy] Add Back Tracking API-keys in Honeycomb ( #7868 )
2020-05-14 15:10:15 -05:00
Andy Zhao
203e8e1ae7
Add a section about what the admin panel is ( #7867 )
2020-05-14 15:15:44 -04:00
Molly Struve
8ae486a362
[deploy] Track and Limit API writes by IP Address ( #7847 )
2020-05-14 14:13:56 -05:00
dependabot-preview[bot]
2497d53929
Bump redoc-cli from 0.9.7 to 0.9.8 ( #7851 )
...
Bumps [redoc-cli](https://github.com/Redocly/redoc ) from 0.9.7 to 0.9.8.
- [Release notes](https://github.com/Redocly/redoc/releases )
- [Changelog](https://github.com/Redocly/redoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Redocly/redoc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 14:35:58 -04:00
Anna Buianova
70cfd6efc5
Remove code related to articles.live_now, added live_now to ignored_columns ( #7846 )
2020-05-14 14:35:43 -04:00
Andy Zhao
22cdbcbd38
[deploy] Return boolean value instead of undefined for listings open modal ( #7854 )
...
* Return a boolean value not undefined
* Fix typo
2020-05-14 13:10:55 -04:00
Molly Struve
d1e39a7dba
[deploy] Rate Limit Feedback Message Creation ( #7832 )
2020-05-14 12:00:22 -05:00
Molly Struve
d2fbad08d4
[deploy] Use bulk_show Endpoint for Follow Buttons on Followers Dashboard ( #7849 )
2020-05-14 11:25:29 -05:00
Alex
5b4ef24468
[deploy] Validate both images and pattern_images when creating podcasts ( #7828 )
...
* Validate both images and pattern_images
* Move image_keys to IMAGE_KEYS constant
* Use slice over select
2020-05-14 11:23:04 -04:00
Mac Siri
321b24d2a0
[deploy] Create write_articles oauth scope ( #7834 )
2020-05-14 09:55:53 -04:00
Molly Struve
815248884c
[deploy] Enforce Uniq Abuse Reports from Reporters ( #7831 )
2020-05-14 09:03:10 -04:00
Juan Vasquez
9efd1d35fa
Add twitter hashtag to the site config ( #7573 )
...
* Add twitter hashtag to the site config
* Add twitter_hashtag field
2020-05-14 12:41:15 +02:00
Aviskar KC
04ff252b87
Fix the height of new post text area and add scrollbar ( #7480 )
...
* Repplace preact-textarea-autosize component with textarea element
* FFix the height of new post textarea and add scrollbar
* Update snapshot
* Change the value used to calculate minimum height of text editor to 82vh
Co-authored-by: rhymes <rhymesete@gmail.com>
Co-authored-by: rhymes <rhymesete@gmail.com>
2020-05-14 12:10:37 +02:00
rhymes
4a5c107131
Fix schema.rb order ( #7844 )
2020-05-14 11:44:14 +02:00
ludwiczakpawel
e17cbd3efb
NOT MERGE Add tabs to Crayons and to the notifications page ( #7737 )
...
* tabs
* frontned
* notifications tabs
* ntofiications
* .
* doc
* names instead of slugs
* flare tag line height
* .
* js
2020-05-14 11:38:57 +02:00
Michael Kohl
a49ae729a0
Remove temporary Rake task ( #7842 )
2020-05-14 11:22:06 +02:00
Ben Halpern
7117d7c202
Add max height to content images to ensure they can't over-eat vertical space ( #7836 )
2020-05-14 11:11:46 +02:00
Jacob Herrington
03bf1ac45e
Use build_stubbed where possible in tests ( #7827 )
...
I got a little sidetracked and found a few places where we could use
build_stubbed.
2020-05-14 10:56:29 +02:00
Molly Struve
3a49d3f0d1
[deploy] Revert "filter/sample noisy spans ( #7833 )" ( #7837 )
...
This reverts commit 716bb099fa .
2020-05-13 17:45:49 -05:00
Liz Fong-Jones
716bb099fa
[deploy] filter/sample noisy spans ( #7833 )
2020-05-13 17:07:09 -05:00
Ben Halpern
a288acf88f
[deploy] Add query-friendly article additions (Initial step) ( #7794 )
...
* Add query-friendly article additions
* Fiddle with font size
* Change from query_friendly_ to search_optimized_
2020-05-13 16:59:41 -04:00
Molly Struve
371a71a3be
[deploy] Expose Article Update Rate Limit on Config Page ( #7826 )
2020-05-13 15:29:32 -05:00
Alex
004dbba500
[deploy] Remove logging of image data to Datadog ( #7829 )
2020-05-13 16:23:42 -04:00