Michael Kohl
ebc894a07c
[deploy] Changes to profile field indexing ( #10313 )
...
* Update mapping
* Update user search serializer
* Add data update script for reindexing users
* Only index roles for persisted users
* Add conditional to profile search serialization
* Update data update scripts
* Update spec for data update script
2020-09-16 17:15:22 -04:00
Ben Halpern
3a469a99e2
[deploy] Enable admin-configured app_domain ( #10206 )
...
* Move app_domain from env var to siteconfig *within app area*
* Fix SiteConfig
* Don't change URL.domain yet
* Not use in fastly cache purge yet
* Session store magoo
* Revert domain issue
* Add SetCookie middleware
* Temporarily remove cookie middleware and release tasks
* Re-enable SetCookieDomain
* Add some more comments, get it ready for testing
* Remove host from url options and temporarily show errors
* Allow forwarded host to be cookie
* Fix typo
* Change invalidAuthenticityToken
* Properly set app domain
* Proper Fastly cache
* Remove config.app_domain
* Remove config.app_domain
* Explicitely set remember_user_token
* More play with cookies
* Fiddle with remember_user_token
* Add remember_user_token changes
* Monkeypatch devise
* Sessions controller
* Include rememberable
* Include rememberable
* Proper cookie monkeypatch
* Proper cookie monkeypatch
* Proper cookie monkeypatch
* Remove extra cookie code
* User sign in tweak
* Close the loop
* Experiment with carrierwave public_url
* Finalize carrierwave monkeypatch
* Remove async controller specs
* Change some tests
* Update domain test
* Remove temporary production.rb change
* modify cookie logic
* Remove unneeded changes
* Remove unneeded changes
* Explicitely pass host
* Fix linting
* Fix social image test
* Add some cookie tests
* Modify article url
* Fix canonical urls
* Fix typo
* Remove sessions controller
* Remove devise monkeypatch
* Add monkeypatch
* Remove elsif
* Update spec/helpers/application_helper_spec.rb
Co-authored-by: Michael Kohl <citizen428@dev.to>
* Adjust remember_cookie_sync
* Remember user token experimentation
* Fiddle with devise
* Properly configure devise
* Fix typo
* Fix formatting issue
* Add comment about middleware
* Fix typo
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
* Remove commented-out code
Co-authored-by: Michael Kohl <citizen428@dev.to>
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2020-09-11 09:38:34 -04:00
rhymes
b185dca976
[deploy] Remove draft articles with duplicate feed source URL and cleanup invalid data: take 2 ( #10239 )
2020-09-08 11:53:41 -05:00
Michael Kohl
acaeba0b3e
Fix spec ( #10235 )
2020-09-08 09:10:37 +07:00
Molly Struve
2f36630ff0
Revert "Remove draft articles with duplicate feed source URL and cleanup invalid data ( #10205 )" ( #10209 )
...
This reverts commit 375f79099e .
2020-09-04 12:22:06 -05:00
rhymes
375f79099e
[deploy] Remove draft articles with duplicate feed source URL and cleanup invalid data ( #10205 )
2020-09-04 11:20:59 -05:00
Molly Struve
83d44401f5
[deploy] Index Reaction created_at Timestamp ( #10142 )
2020-09-02 12:56:33 -05:00
Michael Kohl
f023c6174f
[deploy] Add data update script for profile fields ( #10119 )
2020-09-02 09:54:04 +07:00
Molly Struve
79b00d4960
[deploy] Optimization:Throttle Noisy Honeycomb Events More ( #10143 )
2020-09-01 15:21:07 -05:00
Michael Kohl
eff28766fc
[deploy] Migrate profile data ( #9750 )
...
* Add temporary Rake task for creating profile fields
* Fix problems after splitting branch
* Add profile migration Rake task
* Add unique index to profiles
* Add migration code to users
* Be smarter about updating profiles
* Update spec
* Update Bullet config
* Fix typo
* Change temporary rake task to data update script
* Re-add profile factory and update spec
* Change private declaration to make CodeClimate happy
* Update comment
* Drop validation in favor of DB default
* Update spec
2020-08-20 11:17:57 +07:00
Molly Struve
adc9c2ab3c
Optimization:Collect More Specific Data From Sidekiq Jobs ( #9882 )
2020-08-19 21:24:08 -04:00
Josh Puetz
7d4a7cc883
[deploy] Change lingering /internal paths to /admin ( #9673 )
...
* Change lingering `/internal` paths to `/admin`
* Fix multiline test expectation
2020-08-07 19:52:39 -04:00
Molly Struve
d120fc7e54
[deploy] Bug Fix:Rename Listing Search Field in Elasticsearch to Fix Searching ( #9609 )
2020-08-03 10:18:17 -05:00
Michael Kohl
26ee8f194c
Rubocop: Move from OpenStruct to Struct in Organization ( #9431 )
...
* Move from OpenStruct to Struct in Organization
* Add data update script
* Introduce Articles::CachedEntity model
* Update data update script for new model
* Fix comment
* Update jbuilder
2020-07-30 21:04:05 +07:00
shelby spees
a6c4f0b884
[deploy] Update NoiseCancellingSampler to make it more self-documenting ( #9359 )
2020-07-16 15:06:49 -05:00
rhymes
f1ec04a0c9
Rubocop: move dot in multi-line calls to leading position ( #9262 )
2020-07-16 15:51:11 +02:00
rhymes
b3060bc475
Fix Style/SingleLineBlockParams, RSpec/MultipleExpectations and remaining Layout/LineLength ( #9204 )
...
* Fix Style/SingleLineBlockParams
* Fix RSpec/MultipleExpectations and Layout/LineLength
* Restore test to previous version for speed
* Remove useless params
2020-07-10 11:23:02 +02:00
rhymes
5b62811c98
[deploy] Rubocop: fix violations of Layout/LineLength ( #9197 )
2020-07-08 08:36:36 -05:00
Molly Struve
4e0fee644c
[deploy] Feature: Setup Admin Area to Update Vault Secrets ( #8935 )
2020-06-29 15:08:09 -05:00
Molly Struve
9fb2a7c6b2
[deploy] Remove Vault ENV variables from Envfile so they arent Required in Prod ( #8895 )
2020-06-24 15:02:16 -05:00
Molly Struve
0767c34379
[deploy] Feature: Setup Vault and AppSecrets Wrapper Class ( #8891 )
2020-06-24 14:13:37 -05:00
rhymes
36786cf554
Rails 6: enable zeitwerk autoloader ( #8766 )
...
* More loading fixes
* Go back to OpenStruct
* Shuffle things around
* Remove obsolete patches and unneeded requires
* Disable config.add_autoload_paths_to_load_path
* Fix pre-require errors
* Config not reloader
2020-06-22 16:27:55 +02:00
rhymes
7309478420
Rails 6 autoloader: prepare liquid tags code ( #8707 )
...
* Move liquid patches to lib/liquid
* Rename classes properly
2020-06-17 16:50:14 +02:00
rhymes
689fb6efb6
Routine rubocop fixes ( #8137 )
...
* Update gems
* rubocop -a
* rubocop --auto-gen-config
2020-05-29 11:56:52 +02:00
Michael Kohl
7f75f99560
[deploy] Rename classified listings ( #7910 )
...
* Change models and related files
* Update controllers and specs
* More renaming
* Seek and destroy, I mean search and replace
* Round up the stragglers
* Ground control to Major Travis...
* More fixes
* PR feedback
* Various fixes
* Rename view
* Fix list query builder
* Unify request specs
* Fix some API spec errors
* Fix remaining API specs
* Make spec conform to API
* Fix leftover problems
* Fix JS tests
* Fix column name in select
* Fix API specs
* Fix search specs
* Paging Mr. Travis
2020-05-27 13:35:09 +00:00
Andy Zhao
e686d63d78
[deploy] Add public reactions count fields to Elasticsearch ( #7956 )
...
* Add public_reactions_count field to elasticsearch
* Add new data update scripts and update old ones
* Use BulkIndexWorker to batch indexing
* Use proper search class for handling feed content
* Remove redundant script oops
* Rename data update script and remove old specs
* Combine specs into one file
2020-05-20 13:06:48 -04:00
Liz Fong-Jones
a6305fd0a3
[deploy] Honeycomb instrumentation: distinguish between literal vs prefix matching for sampling ( #7936 )
2020-05-19 09:49:41 -05:00
Molly Struve
dbb5c752ab
[deploy] Sample Noisy Honeycomb Spans ( #7891 )
2020-05-18 10:36:01 -05:00
Molly Struve
385e167f74
Clear Elasticsearch Data Instead of Resetting Entire Index for Specs ( #7602 )
...
* Clear Elasticsearch Data Instead of Resetting Entire Index for Specs
* only reset for specs that are messing with index creation and deletion, recreate indexes before and after those
* add back elasticsearch meta info to specs and update data update specs
* update serializer specs
* update search and rest of specs with new meta data tag
2020-04-30 11:59:10 -04:00
Molly Struve
ee373fa6c0
[deploy] Remove Algolia from Article Model ( #7540 )
2020-04-28 09:55:48 -05:00
Ben Halpern
3f61cce32b
[deploy] Render json+ld as proper json ( #7404 )
2020-04-21 14:16:21 -04:00
Molly Struve
51b9312cf1
silence duplicate data update scripts to optimize starting up a new env ( #7340 )
2020-04-17 12:30:56 +02:00
Molly Struve
01adfc377c
[deploy] Index all readinglist Reactions into Elasticsearch ( #7310 )
2020-04-16 09:36:05 -05:00
Molly Struve
91972dd2c4
ensure that when Tag and ActsAsTaggableOn::Tag are updated their respective related docs are as well ( #7218 )
2020-04-14 08:38:09 -05:00
Molly Struve
e4de9c2742
[deploy] Resync Elasticsearch Docs that had Previous Bugs ( #7230 )
2020-04-13 09:39:19 -05:00
Molly Struve
29b1d0c32c
[deploy] Index Tags on Creation to via ActsAsTaggableOn in Elasticsearch ( #7104 )
2020-04-07 10:14:24 -05:00
rhymes
f2b0be2043
Add Slack messengers: part 2 ( #6916 )
...
* Add Slack::Messengers::ArticlePublished
* Add Slack::Messengers::ReactionVomit
* Add Slack::Messengers::CommentUserWarned
* Add missing URL helpers
* Add Slack::Messengers::ArticleFetchedFeed
* Remove callback condition
* Build, don't create
2020-04-03 17:00:06 +02:00
Ben Halpern
e35d55c422
Add pagination to tag pages for better SEO crawling ( #6771 ) [deploy]
...
* Add pagination to tag pages for better SEO crawling
* Modify system specs
* Add some tests
* Finalize tests
* Fix things up
* Add url helpers
2020-03-27 10:34:42 -04:00
Molly Struve
d20a50aa2b
sync feed content documents in Elasticsearch ( #6888 ) [deploy]
2020-03-26 13:11:09 -05:00
rhymes
cfb64a1c68
Add URL module and article_url, user_url helpers ( #6833 )
...
* Add AppURL with .article and .user
* Use URL.url and URL.user
* Add article_url and user_url helpers
2020-03-25 13:54:45 -04:00
rhymes
22822d448d
Add App.url and use it with Slack messengers ( #6818 )
...
* Add App.url
* Use App.url with Slack messengers
2020-03-24 17:22:09 -04:00
Molly Struve
a4ce1625e3
Search Users for Chat Channels Frontend ( #6626 )
...
* hook up user search for chat channels to Elasticsearch
* Add spaces
* run specs
* add more spaces
* reset travis file
* add another data upadte script to reindex Users
2020-03-13 10:26:32 -04:00
Liz Fong-Jones
239edd5204
use beeline 2.0 ( #6568 ) [deploy]
2020-03-10 12:35:15 -04:00
Molly Struve
82526989fc
Index Articles and Podcast Episodes to Elasticsearch ( #6488 ) [deploy]
...
* Index Articles and PodcastEpisodes to Elasticsearch
* add callbacks to podcast episodes and specs
* refactor and clean up serializers
2020-03-06 16:39:36 -05:00
Molly Struve
731b89ca26
Index users into elasticsearch ( #6489 ) [deploy]
2020-03-06 14:12:02 -05:00
Molly Struve
cf94f76ccd
Notify slack when release phase fails ( #6300 ) [deploy]
2020-02-27 10:50:59 -05:00
rhymes
58f91d2b16
Centralize search error handling ( #6227 ) [deploy]
2020-02-25 14:03:49 -05:00
rhymes
8c7aa2e494
Rename DataDog to Datadog ( #6226 )
2020-02-21 12:00:30 -05:00
Molly Struve
e752ff98af
Index ChatChannelMemberships to Elasticsearch ( #6162 ) [deploy]
2020-02-19 14:29:16 -05:00
Alex
8d7b95ea15
Index ClassifiedListings to Elasticsearch ( #6132 ) [deploy]
...
* Add ClassifiedListingEsIndexWorker & spec
* Update ClassifiedListing model
- Add es index methods (inline and async)
- Index ClassifiedListing to es after_commit
- Add serialized_search_hash
- Update model specs for new methods
- Add serializers referenced in new model method
* Update specs
* Create DataUpdateScript to index ClassifiedListings
* Fix formatting
* Fix codeclimate :/
* Use match_array instead of keys.sort
* Change find_by! to find
* Update spec
* Update mappings for ClassifiedListing
* Update specs
* Implement refactor with Searchable module
2020-02-19 09:55:37 -05:00