Commit graph

6062 commits

Author SHA1 Message Date
Mac Siri
aa8e6e29ab
[deploy] Log instantClick errors (#9226) 2020-07-09 14:32:22 -04:00
rhymes
b42a843b78
Add Github CodeQL code scanner for JavaScript (#9217)
GitHub released a code analysis engine that scans the code for potential issues called CodeQL.

Among the list of supported languages we only use JavaScript
2020-07-09 14:16:48 -04:00
Molly Struve
6cfbbaeb39
[deploy] Refactor:Send a Couple More Errors to Honeybadger (#9223) 2020-07-09 10:53:16 -05:00
Molly Struve
fad259b1c8
[deploy] Bug Fix: Remove Rails Validation for Follow Uniqueness, Guard against dup Follow Jobs (#9222) 2020-07-09 09:50:06 -05:00
rhymes
ffc96db209
Rubocop: fix additional violations in todo file (#9218) 2020-07-09 10:25:44 -04:00
Ridhwana
f37ffc0be9
[deploy] Replace hardcoded logo with secondary logo config (#9219)
* chore: replace the logo with secondary logo

* update the html classes
2020-07-09 09:58:28 -04:00
rhymes
d3c58ced86
Create SECURITY.md file (#9216)
Add SECURITY.md through GitHub Security overview page: https://github.com/thepracticaldev/dev.to/security
2020-07-09 15:02:57 +02:00
Molly Struve
074fe8626d
Refactor: Report Pusher Errors to Honeybadger, Remove Comment Error Logging (#9208) 2020-07-09 08:49:48 +02:00
Molly Struve
e03f337c9c
Refactor: Send RSS Reader and Payment Errors to Honeybadger (#9209)
* Refactor: Send RSS Reader and Payment Errors to Honeybadger

* remove old VCR cassettes
2020-07-09 08:48:52 +02:00
dependabot-preview[bot]
b2c0ee2c92
Bump @babel/plugin-transform-react-jsx from 7.10.3 to 7.10.4 (#9139) 2020-07-08 17:50:09 -04:00
dependabot-preview[bot]
3a0f30277e
Bump @babel/preset-env from 7.10.3 to 7.10.4 (#9137) 2020-07-08 17:35:58 -04:00
dependabot-preview[bot]
2ce39594a6
Bump babel-jest from 26.0.1 to 26.1.0 (#8956) 2020-07-08 17:34:25 -04:00
dependabot-preview[bot]
385dc3a97d
Bump eslint-plugin-react from 7.20.0 to 7.20.3 (#9138) 2020-07-08 17:20:42 -04:00
dependabot-preview[bot]
914c0e81af
Bump @babel/plugin-proposal-class-properties from 7.10.1 to 7.10.4 (#9140) 2020-07-08 17:19:22 -04:00
dependabot-preview[bot]
3ac6e45bdf
Bump eslint from 7.3.1 to 7.4.0 (#9136) 2020-07-08 17:18:51 -04:00
Ridhwana
6029948c1a
[deploy] Make the mobile Navigation icons configurable (#9056)
* chore: make the icons dynamic from site config

* feat: update the navbar icons

* feat: update the descriptions

* chore: update the icons

* chore: update the names to be more reflective

* chore: freeze  mutable objects assigned to constants

* chore: update Line is too long.

* icons

* update lightning icon

* chore: read from file

* path here is relative, so use Rails root

* revert to original icons and run svgo on it

* no newline

* feat: update height, width
2020-07-08 20:09:48 +02:00
Alex
bac350e877
[deploy] Add role and docs for user subscription liquid tag (#9170)
* Create new restriced_liquid_tag role

* Update role spec

* Use new role over admin

* Add documentation for user_subscription_liquid_tag

* Stub roles to help avoid flaky specs

* Add user approved liquid tags to edit view

* Remove "simply". Coding is hard, yo!

* Update liquid_help

* Update liquid help

* Update and refactor dashboard specs

* Refactor role check for liquid tag docs

* Improve docs wording
2020-07-08 14:07:53 -04:00
Molly Struve
d7f17c71ba
[deploy] Refactor: Remove Unnecessary logging from Video States, Stripe, and GA Events (#9207) 2020-07-08 11:59:31 -05:00
Molly Struve
5fcb788561
[deploy] Refactor: Remove Omniauth Error Logs, Send to Honeybadger (#9205) 2020-07-08 11:21:57 -05:00
Ben Halpern
b3f97f95e5
[deploy] Remove unnecessary ?url= param from report-abuse (#9203) 2020-07-08 10:50:21 -04:00
rhymes
5b62811c98
[deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
Alex
9f9236164c
[deploy] Add subscriptions to the dashboard (#9161)
* Add /dashboard/subscriptions route

* Dashboard controller updates

* Update ArticlePolicy with subscriptions?

* Update article row view in dashboard

* Add subscriptions view

* Add specs

* Add comment for pagination limit

* Use cached user_subscriptions count

* Add spec for cache counter

* Add path helper
2020-07-08 08:31:03 -04:00
Ben Halpern
7bb194b305
[deploy] Remove /rly code (#9192) 2020-07-08 07:55:33 -04:00
Mac Siri
f63d9a32bb
Ignore MetaMask errors on Honeybadger (#9190) 2020-07-08 12:35:43 +02:00
Mac Siri
9607549312
Use custom UglifierCompressor to enable source-maps (#9188) 2020-07-08 11:55:53 +02:00
Alex
c8081294eb
[deploy] Only run JS on appropriate Articles (#9191) 2020-07-07 21:10:14 -04:00
Alex
ab56a1eb85
[deploy] Fix sign in flow (#9182) 2020-07-07 12:32:15 -04:00
Molly Struve
1f74836b45
Feature: Label Honeybadger Env with APP_DOMAIN (#9180) 2020-07-07 10:25:00 -04:00
Molly Struve
fbdce03712
[deploy] Feature: Filter Sensitive Data From Production Logs (#9181) 2020-07-07 09:49:57 -04:00
ludwiczakpawel
9ee54bfe45
[deploy] Add crayons to pages (#9175)
* flare tag line height

* .

* dropdown fix + actions bar fix

* actions bar on mob

* .

* .
2020-07-07 09:43:54 -04:00
dependabot-preview[bot]
0c92b3c433
Bump preact from 10.4.4 to 10.4.5 (#9142)
Bumps [preact](https://github.com/preactjs/preact) from 10.4.4 to 10.4.5.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.4.4...10.4.5)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-07 09:42:36 -04:00
Michael Kohl
fb27f52ed0
[deploy] Display banner if site hasn't been configured (PRE DEPLOYMENT TASKS) (#8435) 2020-07-07 07:37:04 -05:00
ludwiczakpawel
e67df7e94d
Fix action icons in dark themes (#9177)
* flare tag line height

* .

* dropdown fix + actions bar fix

* actions bar on mob

* .
2020-07-07 14:07:47 +02:00
ludwiczakpawel
317d844b18
Indicator placement in Navigation (#9178)
* flare tag line height

* .

* dropdown fix + actions bar fix

* actions bar on mob

* indicator placement
2020-07-07 14:07:11 +02:00
ludwiczakpawel
01f4183204
Code highlighter fix (#9176)
* flare tag line height

* .

* dropdown fix + actions bar fix

* actions bar on mob

* .

* typo

* .
2020-07-07 09:54:24 +02:00
Mac Siri
16d57a30a9
[deploy] Resoucify Page and Badge models (#9083)
* Resourcify Badge

* Resourcify Page
2020-07-06 17:17:25 -04:00
Molly Struve
66cc182fa3
Bug Fix: Prevent Duplicate Follow Attempts by Preventing Multiple Workers (#9169) 2020-07-06 16:15:39 -04:00
Brunno Souza
a5e821846a
Refactoring articles_controller reduce lines (#9166) 2020-07-06 15:50:16 -04:00
Nick Taylor
6542395b38
Upgraded to preact testing library 2.0.0 (#9103) 2020-07-06 14:53:10 -04:00
rhymes
8b72103f3a
[deploy] Update acts_as_follower to 06393d3693a1 to avoid race condition (#9145) 2020-07-06 12:00:54 -05:00
rhymes
8afc9bb0c3
[deploy] Add unique indexes to follows - part 7 (#8215) 2020-07-06 11:15:56 -05:00
Alex
dc4e52252d
[deploy] LiquidTagBase spec (#9107) 2020-07-06 10:30:02 -04:00
Ben Halpern
f2890f7757
[deploy] Remove unnecessary fragment cache (#9159) 2020-07-06 09:26:55 -04:00
Alex
f86b8a55a4
[deploy] UserSubscription liquid tag update & re-enable JS (#9082) 2020-07-06 08:26:40 -05:00
Alex
9af9a489e5
[deploy] Cleanup existing liquid tags (#9085)
* Replace tokens with parse_context

* Underscore unused args and ensure super is called

* Cleanup GitHub tag
2020-07-06 09:17:27 -04:00
rhymes
a3bfb375ef
Routine rubocop fixes (#9155)
* Refactoring and rubocop -a

* rubocop --auto-gen-config
2020-07-06 15:15:34 +02:00
dependabot-preview[bot]
a1c97fdf88
Bump eslint-plugin-babel from 5.3.0 to 5.3.1 (#9141)
Bumps [eslint-plugin-babel](https://github.com/babel/eslint-plugin-babel) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/babel/eslint-plugin-babel/releases)
- [Commits](https://github.com/babel/eslint-plugin-babel/compare/v5.3.0...v5.3.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-06 08:43:05 -04:00
ludwiczakpawel
30c9175f80
Tags index design update (#9072)
* flare tag line height

* .

* dropdown fix + actions bar fix

* actions bar on mob

* .

* .

* js

* little updates

* improve contrast ratio

* Remove unused id and duplicated element id

Co-authored-by: rhymes <rhymes@hey.com>
2020-07-06 11:43:58 +02:00
Thomas Bnt
6d96df538c
Delete box-shadow to .github-repos (#9120) 2020-07-06 10:12:07 +02:00
Nick Taylor
7f3217f156
Sass loader 9.0.1 upgrade (#9146)
* Bump sass-loader from 8.0.2 to 9.0.1

* Fixed breaking changes related to sass-loader@9.0.1
2020-07-06 09:40:53 +02:00