rhymes
e9e4059ad3
Add Slack messengers: part 1 ( #6748 )
...
* Add Slack::Announcer and SlackClient
* Add Slack::Messengers::Feedback class
* Use Slack::Messengers::Feedback and refactor test
* Should not raise an error if params are nil, let the job fail
* Add Slack::Messengers::Sponsorship
* Rename spec
* Use Slack::Messengers::Sponsorship
* Add Slack::Messengers::PotentialSpammer
* Use Slack::Messengers::PotentialSpammer
* Add Slack::Messengers::RateLimit and use it
* Refactor a bit and improve tests
* Add Slack::Messengers::Note and use it
* Use Slack::Announcer and fix spec
* Fix specs
* Update app/services/slack/announcer.rb
Co-Authored-By: Vaidehi Joshi <vaidehi.sj@gmail.com>
* Implement review suggestions
* Empty commit to trigger Travis
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2020-03-24 18:45:40 +01:00
Michael Kohl
99da2a0863
Run rails app:update for 5.2.4.2 ( #6743 ) [deploy]
...
* Run rails app:update for 5.2.4.2
* Remove bin/update and disable ActiveStorage
2020-03-23 10:38:20 -04:00
Molly Struve
066e2885e8
Only Enable Hypershield if ENV variable is present ( #6666 ) [deploy]
...
* only enable hypershield if ENV variable is present
* enable hypershield if in production
2020-03-16 15:28:46 -04:00
Molly Struve
bd10c9086c
Enable Hypershield in Production Take 2 ( #6628 ) [deploy]
2020-03-16 09:10:01 -05:00
rhymes
5f831c9836
Remove extra HoneycombClient ( #6573 )
2020-03-11 10:34:14 +01:00
Mac Siri
8e4905522d
Implement KatexTag ( #6237 ) [deploy]
...
* Install Katex gem
* Add Katex stylesheet and spec
* Implement basic error handling
* Remove comment
* Create more spec
* Update approval file
Changes is due to turning off RedCarpet's superscript feature
* Add instruction to _editor_guide_text
* Serve our own KaTeX css
* Apply Rhyme's suggestion
* Limit Katex's css use
* Update spec
* Add spec
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2020-03-09 17:58:54 -04:00
Molly Struve
3fa1287c2d
remove hypershield ( #6554 ) [deploy]
2020-03-09 13:41:20 -04:00
Molly Struve
b43df4aff7
only activate hypershield in production ( #6541 ) [deploy]
2020-03-09 11:31:51 -04:00
Molly Struve
521cf57e63
Create Hypershield Schema to Shield Sensitive data in Production ( #6461 ) [deploy]
2020-03-09 08:54:31 -04:00
Alex
35651b26e5
Remove Algolia from Comments ( #6464 ) [deploy]
...
* Remove Algolia from comments
* Remove more references to ordered_comments index
* Remove more references to Comments Algolia index
* Fix index_worker_spec
2020-03-05 11:30:25 -08:00
Alex
bbec492844
Remove more Algolia from ClassifiedListing ( #6463 ) [deploy]
...
* Remove ClassifiedListing from algolia initializer
* Remove reference to remove_from_index
2020-03-05 09:23:22 -08:00
rhymes
e27c9b77a3
Refactor Elasticsearch client access ( #6307 ) [deploy]
...
* Add Transport module to Search
* Test public methods only
* Add Search::Client with exception handling
* Remove Transport and request do
* Replace SearchClient with Search::Client
2020-02-28 11:38:37 -05:00
rhymes
fc09716709
Use builtin Rails index_exists? for indices ( #6293 )
2020-02-26 11:05:23 -05:00
rhymes
c3e7179f5b
Bump to sprockets 4.0.0 ( #6172 ) [deploy]
...
* Bump to sprocket 4.0.0
* Add manifest.js
* Link internal/layout.css
* Make it more similar to Rails 5.2 default
2020-02-24 18:16:08 -05:00
rhymes
a5588ae430
Enable strong-migrations in all environments ( #6279 ) [deploy]
...
* Enable strong-migrations in production
* Disable environment checks in initializers
* Remove misleading description
2020-02-24 11:12:49 -05:00
rhymes
aa5f4b8d85
Remove leftover Stripe subscriptions code ( #6243 )
2020-02-24 08:33:36 -05:00
rhymes
8c7aa2e494
Rename DataDog to Datadog ( #6226 )
2020-02-21 12:00:30 -05:00
Molly Struve
895bf07ef3
Add Elasticsearch to Datadog APM ( #6129 ) [deploy]
2020-02-18 16:07:50 -05:00
rhymes
b8955f19fe
Add history as a reserved word ( #6150 ) [deploy]
2020-02-18 11:55:00 -05:00
rhymes
f3c2adfa45
Routine rubocop fixes ( #6138 )
2020-02-18 11:21:42 -05:00
Molly Struve
21d88399be
require worker_retries_exhausted_reporter in Sidekiq initializer ( #6131 ) [deploy]
2020-02-18 07:56:11 -05:00
Molly Struve
04dcca0b13
remove algolia from Tag model ( #6123 )
2020-02-17 12:28:10 -05:00
Alex
b81c2e8df3
Remove delayed_job ( #6071 ) [deploy]
...
* Update adapter to sidekiq
* Remove delayed_jobs routes
* Remove delayd_jobs initializer and references
* Remove delayed_job_spec
* Remove bin/delayed_job
* Remove app/jobs/
* Migration to drop delayed_jobs table
* Remove delayed_job_web & delayed_job_active_record
* Update docs
* Remove reference to delayed_job dashboard
* Remove delayed_job settings from initializers
* Add delayed_job_admin back to reserved words list
2020-02-14 10:00:26 -08:00
Molly Struve
7e5a8d59d9
enable bread crumbs for Honeybadger ( #6069 )
2020-02-13 17:30:36 -05:00
rhymes
ac7785ea8d
Update doorkeeper initializer with new (disabled) features ( #6011 )
2020-02-11 16:04:52 -05:00
rhymes
3258bc357a
Sort reserved words ( #6000 )
...
* Sort reserved words
* Remove duplicate words
* Make it a set
* Nope, it cannot be a set
2020-02-10 16:07:27 -05:00
rhymes
c41d66e900
Replace ban/banned with suspend/suspended in user facing text ( #5816 ) [deploy]
2020-02-10 10:12:53 -05:00
Molly Struve
4691ae1e34
Log in Datadog When Sidekiq Worker Fails for Final Time ( #5942 ) [deploy]
2020-02-10 08:56:41 -05:00
rhymes
3b25b014a3
Replace the initial migration for strong_migrations gem ( #5865 )
2020-02-03 11:32:46 -05:00
Molly Struve
0409722899
Introduce Elasticsearch to DEV env ( #5762 ) [deploy]
2020-02-03 09:12:05 -05:00
Molly Struve
a19ce5518e
combine Rack::Timeout::RequestTimeoutErrors with Exceptions in Honeybadger ( #5789 ) [deploy]
2020-01-28 16:55:51 -05:00
Molly Struve
b06ad5064a
Remove ENV["USE_NEW_AWS"] and use Orig ENV variables for New Creds ( #5771 ) [deploy]
...
* Remove temp ENV variable for switching buckets and use original ENV variables
* correctly choose AWS region
2020-01-27 15:46:57 -05:00
Molly Struve
c336dfc84a
Setup SitemapGenerator and CarrierWave to use new AWS creds when ENV var is set ( #5570 ) [deploy]
2020-01-24 14:25:57 -05:00
Molly Struve
25e985cfce
Group all PG::TRDeadlockDetected and PG::QueryCanceled errors together ( #5681 ) [deploy]
2020-01-23 17:54:46 -05:00
Molly Struve
33d6dca565
Apply Monkey Patch To Attempt To Fix Sidekiq Admin UI ( #5634 ) [deploy]
...
* set sidekiq session to be the same as Rails to prevent forbidden UI errors
* monkey patch rack until new version is released to make Sidekiq Admin work
2020-01-22 14:46:24 -05:00
rhymes
09cf6719eb
Use honeybadger.js from npm ( #5643 )
...
rails-assets.org is often down, and apparently has been down intermittently since yesterday.
In addition to this the only thing the gem does is literally to add `honeybadger.js` to the assets path:
```ruby
gem_path.join('app/assets').each_child.to_a
```
Hence we can ditch the gem and use the library directly.
2020-01-22 08:22:51 -05:00
Shelley Vohr
b146528aa8
feat: add per-user Open Dyslexic font setting ( #5037 ) [deploy]
...
* feat: add per-user Open Dyslexic font setting
* Adjust css slightly
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2020-01-20 18:23:57 -05:00
Ben Halpern
8a403eba46
Bump assets version ( #5587 )
2020-01-20 08:13:58 -05:00
Molly Struve
ffba283b67
Only setup StrongMigrations in dev or test ( #5562 ) [deploy]
2020-01-17 11:45:05 -05:00
Michael Kohl
9ef1ae512b
Add strong_migrations gem ( #5522 )
...
* Add strong_migrations gem
* Incorporate PR feedback
* Move gem to group :development, :test
2020-01-17 09:45:44 -05:00
Molly Struve
1a3d59c97f
Send Sidekiq data to Honeycomb ( #5517 ) [deploy]
2020-01-16 12:30:43 -05:00
Molly Struve
6726c62e94
Scrub unused data sent to Honeycomb to save space ( #5512 ) [deploy]
2020-01-15 11:11:41 -05:00
Jacob Herrington
9652ecc456
Refactor/internal ui update ( #5339 ) [deploy]
...
* Move internal styles out of layout
* Upgrade to Bootstrap 4.4 and redo nav
* Redesign /internal/users/index
* Refactor /internal/tags/show
* Refactor /internal/broadcasts/index
* Refactor /internal/broadcasts/index
* Refactor /internal/pages/index
* Refactor /internal/mods/index
* Fix internal nav highlighting
* Refactor internal/organizations/index
* Refactor internal/growth
* Refactor internal/badges
* Refactor /internal/podcasts/
* Refactor internal listings filter
* Refactor /internal/endpoints/
* Refactor /internal/tools/
* Refactor /internal/chat_channels/
* Refactor /internal/config/
* Refactor /internal/feedback_messages
This is the one that worries me the most. I made a strong effort not to
touch any IDs and the JavaScript appears to be working after manual
testing.
This view probably needs some systems specs covering it.
* Remove unused CSS
* Refactor feedback_messages/show
* Refactor internal/comments
* Refactor internal/podcasts/edit
* Refactor internal/users/show
* Refactor internal/users/edit
* Refactor internal/organizations/show
* Refactor internal/permissions
* Refactor internal/tags/show
* Refactor internal/pages/form
* Add events to navbar
* Refactor internal/events
* Refactor internal/brodcasts
* Refactor internal/articles
* Refactor internal/listings
* Remove unused CSS
* Load jquery earlier
2020-01-06 07:58:03 -05:00
rhymes
13363dd329
Rails 5.2 features: enable cache versioning (recyclable keys) ( #5329 ) [deploy]
2020-01-02 08:40:03 -05:00
rhymes
ba424854c2
Enable cache logging in development if requested ( #5330 )
2020-01-02 08:11:58 -05:00
Molly Struve
45b156be86
add Sidekiq monitoring for Datadog and Honeybadger ( #5270 )
2019-12-30 10:16:25 -06:00
Molly Struve
9ab150daac
Change RateLimitCheckerJob to RateLimitCheckerWorker and move to sidekiq ( #5269 ) [deploy]
2019-12-27 16:09:25 -06:00
Molly Struve
2470355e89
Implement Datadog tracing agent and APM ( #5107 ) [deploy]
...
* Implement Datadog tracing agent and APM
* if I had a nickle....
* more double quoted strings and rubocop fixes
* put gems in the right order
* Remove skylight to prevent initializer collisions with Datadog which cause infinite loops
* remove skylight config files
2019-12-27 15:49:05 -05:00
rhymes
11689929ef
Disable Sidekiq web sessions to make it work with Redis sessions ( #5266 ) [deploy]
2019-12-27 12:04:50 -06:00
Molly Struve
2e661809b6
Introduce Sidekiq For Background Jobs ( #5252 )
...
* Introduce Sidekiq to the app and update RateLimitCheckerJob to use it
* fix rate limit checker spec with new sidekiq syntax
* add Sidekiq to tech stack overview
* Remove RateLimitChecker job change, add sidekiq web UI and testing support
2019-12-27 10:39:48 -05:00