Rafi
d570edcf07
Showing date in listing tile ( #10217 )
...
* Showing date in listing tile
* Displaying date in listing tile
1. Sending created_at in listing search API
2. Global util functions for short and long date formatting
3. New date util functions extend timestampToLocalDateTime
4. Converting div to time tag
5. Adding title attribute for date
* originally_published_at column
* Displaying originally_published_at date
* Fixing test in modal
* Fixing all listing test
* Fixing casing of dateTime
* Adding tests for originally_published_at
* Reverting to bumped_at
* Backfilling only published listing
* Removing ReIndexListingWithOriginallyPublishedAt
2020-09-21 10:14:26 +02:00
Molly Struve
cc694146e6
Optimization:Move Initialization CacheBust to Background Worker ( #10311 )
...
* Optimization:Move Initilization CacheBust to Background Worker
* lower cache bust to 5 min and then bust shell version last
* moving back to 10 min after looking at recent deploy data
2020-09-18 11:30:47 -04:00
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
rhymes
83d37df4d7
[deploy] Cleanup articles with duplicate user_id, title and body_markdown ( #10273 )
...
* Add script to delete draft articles
* Add script to de-duplicate published articles
* Ignore NotificationSubscription, Notification and RatingVote
2020-09-14 15:38:53 +02:00
Michael Kohl
7b729bbf06
[deploy] Move video_duration_in_minutes_integer to serializer ( #10268 )
...
* Move video_duration_in_minutes_integer to serializer
* Add data update script to reindex video articles
2020-09-14 09:47:54 +07:00
Molly Struve
2bc1496bc4
Refactor: Remove Unused Figaro Gem and Temp Rake Task ( #10255 )
2020-09-09 09:24:32 +02:00
Molly Struve
c71f179b28
Bug Fix:Fix Data Update feed_source_url Script ( #10253 )
2020-09-08 16:15:05 -05:00
Molly Struve
6eed518404
[deploy] Feature:Add ENV to Skip Fastly Config Update ( #10251 )
2020-09-08 13:11:12 -05: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
rhymes
2d881ef571
Routine rubocop fixes ( #10237 )
2020-09-08 12:06:47 -04:00
rhymes
ff0edc3540
[deploy] Remove draft articles with a duplicate canonical_url ( #10138 )
2020-09-04 13:40:53 -05: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
da27a1a41c
[deploy] Bug Fix:Monkey Patch Sitemap Generator is lib not config ( #10113 )
2020-08-31 16:12:11 -05:00
Molly Struve
7891db594f
[deploy] Bug Fix:Add send_email_digest Rake Task for DEV ( #10065 )
2020-08-28 14:12:10 -05:00
rhymes
ba8b3dd443
[deploy] Add missing dependent clauses to User and cleanup relations ( #10011 )
...
* Add dependent: :destroy relation to user.notes
* Add cleanup script for orphaned notes
* Reorder relations and reorganize specs in User
* Update specs as notes are not needed after a user is deleted
* Tweets can just be nullified
* Add other cleanup scripts
* Tell the specs we keep tweets
* Fix comments
* Keep page_views and rating_votes when a user is deleted
* Fix specs
2020-08-28 20:19:24 +02:00
rhymes
c9e401758a
[deploy] Add dependent clauses to Article and fix Comment validation ( #9990 )
...
* Add dependent clauses to Article model
* Comment should be valid without a commentable
* Add cleanup scripts
* Cache the comments ids before destroying the article
* Add dependent clause to Article.user_subscriptions as well
* Fix specs
2020-08-28 18:24:28 +02:00
Michael Kohl
161ed7d55e
[deploy] Introduce ProfileFieldGroup model ( #10007 )
...
* Introduce ProfileFieldGroup model
* Make profile_fields_groups name column unique
* Fix some specs
* feat: allow the page to work again
* Add guard clause to data update script
* Remove unused file
* Fix specs
* Add foreign key
Co-authored-by: Ridhwana <ridhwana.khan16@gmail.com>
2020-08-28 10:51:33 +07:00
Nick Taylor
6f86573dbf
Removed the autoprefixer-rails deprecated gem ( #10017 )
...
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2020-08-26 17:38:24 -04:00
Josh Puetz
d47d02f090
[deploy] Log in with Facebook ( #9922 )
...
* First draft of facebook auth
* Add Facebook welcome broadcast to seeds, data script
* Tests!
* Documentation
* Update docs with pictures
* User siteconfig/app config
* Adjust dropdown menu width to avoid wrap for Facebook button
* Add Facebook auth keys to SiteConfig properly
* Remove unnecessary VCR cassette
* Add omniauth facebook gem to vendor cache
* Use uid instead of email for nickname randomization
* Test fix, test for missing email in Facebook
* Update docs/backend/auth-facebook.md
Co-authored-by: Molly Struve <mollylbs@gmail.com>
* Typo fix!
* Don't default facebook auth settings to ApplicationConfig
Co-authored-by: Molly Struve <mollylbs@gmail.com>
2020-08-26 12:04:20 -04:00
Molly Struve
b23374e737
[deploy] Revert "Refactor:Move RssReader Fetch Article task to Sidekiq ( #9976 )" ( #9998 )
2020-08-25 14:57:33 -05:00
Molly Struve
ff06454151
[deploy] Refactor:Move RssReader Fetch Article task to Sidekiq ( #9976 )
2020-08-25 13:47:13 -05:00
Molly Struve
0947256f13
[deploy] Refactor:Fetch New Github Repos From Sidekiq Cron ( #9986 )
2020-08-25 12:42:33 -05:00
Molly Struve
e0c37442c3
[deploy] Refactor:Move Enqueueing Podcast Workers to Sidekiq Cron ( #9983 )
2020-08-24 16:28:57 -05:00
Molly Struve
513717e680
Refactor:Move Credit Counter Cache Sync to Sidekiq ( #9972 )
2020-08-24 14:20:11 -05:00
rhymes
66b5cb513f
[deploy] Add dependent clauses to relations for Organization and add cleanup scripts ( #9932 )
...
* Add dependent clauses to has_many relations in Organization
* Add cleanup scripts
* Update script
* Destroy organizations listings
* Update lib/data_update_scripts/20200822082229_remove_orphaned_notifications_by_organization.rb
Co-authored-by: Molly Struve <mollylbs@gmail.com>
Co-authored-by: Molly Struve <mollylbs@gmail.com>
2020-08-24 19:35:02 +02:00
Molly Struve
972253a17b
Refactor:Remove save_nil_hotness_scores Task ( #9930 )
2020-08-24 10:20:19 -05:00
Molly Struve
d4a2f24c88
[deploy] Refactor:Move Cache Busting Rake Tasks to Sidekiq ( #9931 )
2020-08-24 08:23:11 -05:00
Molly Struve
e07c707ede
[deploy] Refactor:Move remove_old_notifications Rake Task to Sidekiq ( #9936 )
...
* Refactor:Move remove_old_notifications Rake Task to Sidekiq
* fix typo
2020-08-24 08:48:46 -04:00
rhymes
5f02c35ece
Fix Rubocop violations and merge Listing specs ( #9963 )
2020-08-24 12:04:29 +02:00
Molly Struve
8574153b07
[deploy] Refactor:Move Remove Old HTML Variant Data task to Sidekiq ( #9925 )
2020-08-22 18:36:22 -05:00
Molly Struve
4308914fe8
[deploy] Refactor:Move send_email_digest Rake Task to Sidekiq ( #9929 )
2020-08-22 08:26:30 -05:00
Molly Struve
060ed32c48
Refactor:Send Welcome Broadcast Notifications From Sidekiq ( #9923 )
...
* Refactor:Send Welcome Broadcast Notifications From Sidekiq
* remove old spec and add to new one
2020-08-21 12:57:08 -04:00
Molly Struve
e8b14dec83
Refactor:Move prune_old_field_tests Rake to Sidekiq Cron ( #9924 )
2020-08-21 12:56:42 -04:00
Molly Struve
f00bb8eb8c
[deploy] Refactor:Move Listing and Support Tag Tasks to Sidekiq ( #9898 )
2020-08-20 14:05:34 -05:00
Molly Struve
ae4080a6ef
[deploy] Refactor:Move Tag Badge and Github Badge Awards to Sidekiq ( #9885 )
2020-08-20 08:41:36 -05:00
rhymes
03ed8aedb1
[deploy] Remove orphaned polls related rows ( #9855 )
2020-08-20 10:40:01 +02: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
Molly Struve
469ce3c533
Refactor:Move Streak Badges to Sidekiq Cron ( #9872 )
2020-08-19 14:53:03 -04:00
Molly Struve
960c51fbc0
[deploy] Refactor: Move beloved comment Badge to Sidekiq Cron ( #9861 )
2020-08-19 09:12:45 -04:00
Molly Struve
b003f45de8
[deploy] Bug Fix:Execute Hypershield Refresh Task ( #9858 )
2020-08-18 14:35:27 -05:00
rhymes
1375bf676e
[deploy] Nullify article_id for HtmlVariantTrials linked to non existing articles ( #9845 )
2020-08-18 14:51:06 +02:00
Molly Struve
dec9847589
Revert "Add Logging Statements to Debug Hypershield Refresh Not Working on Heroku ( #9838 )" ( #9839 )
...
This reverts commit acff871235 .
2020-08-17 19:22:38 -05:00
Molly Struve
55e7e12e78
[deploy] Refactor:Move Yearly Badge Awarder to Sidekiq Cron ( #9836 )
2020-08-17 20:19:14 -04:00
Molly Struve
acff871235
[deploy] Add Logging Statements to Debug Hypershield Refresh Not Working on Heroku ( #9838 )
2020-08-17 18:39:19 -05:00
Molly Struve
8d66d3c492
[deploy] Feature:Move Metric Rake Tasks to Sidekiq Cron ( #9794 )
2020-08-17 11:47:25 -05:00
Michael Kohl
2b3242087c
[deploy] Start using profile model ( #9724 )
...
* Persist attribute_name for profile fields
* Update fields
* Add temporary Rake task for creating profile fields
* Update specs
* Fix problems after splitting branch
2020-08-17 09:57:50 +07:00