Commit graph

1264 commits

Author SHA1 Message Date
PJ
7be865b295
Feature-flagged support for filtering billboards by location (#19834)
* add migrations

* add countries gem?

* first pass at location model

* specs 

* add location to filtered ads query

* feature flag and nicer errors

* cosmetic fixes

* more tweaks (remove unnecessary index, add initializer)
2023-07-27 18:13:26 +01:00
depfu[bot]
4e8fc84f76
Update cld3 to version 3.6.0 (#19821)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-07-25 09:52:38 -04:00
depfu[bot]
4d9a9439c6
[ruby] Update pundit 2.3.0 → 2.3.1 (patch) (#19825)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-07-25 09:32:06 -04:00
depfu[bot]
c28bafccfe
[ruby] Update all development Bundler dependencies (2023-07-24) (#19820)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-07-24 09:31:10 -04:00
depfu[bot]
0af707f026
[ruby] Update counter_culture 3.3.1 → 3.4.0 (minor) (#19782)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-07-20 08:18:35 -04:00
Ben Halpern
8335a37315
Language detection with CLD3 (#19756)
* Language detection with CLD3 POC

* Update spec/models/article_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spec/models/article_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spec/models/article_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spec/models/article_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spec/models/article_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spec/models/article_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update app/models/article.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Clean up tests

* Clean up tests

* Move language detection to service

* rubocop

* Update app/services/languages/detection.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* More linting cleanup

* Remove allow_any_instance_of

* Update tests to better exercise different paths

* Fix flaky spec

* Update spec/services/languages/detection_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spec/models/article_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spec/models/article_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spec/models/article_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spec/models/article_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spec/services/languages/detection_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spec/services/languages/detection_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spec/services/languages/detection_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spec/services/languages/detection_spec.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-17 08:57:20 -04:00
depfu[bot]
7138b6e0d8
Update js-routes to version 2.2.6 (#19745)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-07-12 12:40:43 -07:00
depfu[bot]
58abc5c30a
Update strong_migrations to version 1.5.0 (#19729)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-07-10 11:42:10 -07:00
depfu[bot]
2a9d64171e
Update field_test to version 0.6.0 (#19730)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-07-10 09:15:34 -04:00
depfu[bot]
1c72c4d974
Update sanitize to version 6.0.2 (#19731)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-07-10 08:08:09 -04:00
Helio Cola
c7bb3be603
Upgrade ruby 3.0.6 (#19651)
Co-authored-by: Josh Klar <jklar@forem.com>
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2023-07-06 16:42:20 -04:00
depfu[bot]
8a578a1b37
[ruby] Update counter_culture 3.3.0 → 3.3.1 (patch) (#19684)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-07-05 16:31:11 -04:00
depfu[bot]
c5b987ab6b
[ruby] Update carrierwave 2.2.3 → 2.2.4 (patch) (#19614)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-06-28 14:39:32 -04:00
depfu[bot]
9973100cea
🚨 [security] [ruby] Update rails 7.0.4.3 → 7.0.5.1 (patch) (#19642)
* Update all of rails to version 7.0.5.1

* Make sidebar billboard margins consistent and handle varied browser sizes for overflow (#19635)

* Fix improper .where.missing

* Adjust article context notification relationship

* Update app/models/article.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update app/models/article.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-27 14:21:57 -04:00
depfu[bot]
62ff54cb94
Update all development Bundler dependencies (2023-06-26) (#19636)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-06-26 11:54:32 -07:00
depfu[bot]
959da43ece
[ruby] Update gibbon 3.4.4 → 3.5.0 (minor) (#19613)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-06-23 15:14:19 -04:00
depfu[bot]
8bdd0e1fa5
Update sidekiq to version 6.5.9 (#19572)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-06-20 13:48:32 -07:00
depfu[bot]
37ef5c88fd
[ruby] Update oj 3.14.3 → 3.15.0 (minor) (#19605)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2023-06-16 16:03:13 -04:00
depfu[bot]
7b9c03429c
[ruby] Update cloudinary 1.25.0 → 1.26.0 (minor) (#19593)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-06-16 15:52:08 -04:00
depfu[bot]
e5c7c8cecf
[ruby] Update knapsack_pro 3.11.0 → 5.1.0 (major) (#19606)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2023-06-13 14:03:45 -04:00
depfu[bot]
4cdcdab65a
Update sterile to version 1.0.25 (#19598)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Rajat Talesra <rajat@forem.com>
2023-06-12 17:33:18 -04:00
depfu[bot]
d162fee7f0
Update pg_query to version 4.2.1 (#19549)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-06-01 08:57:01 -04:00
depfu[bot]
43db21508b
Update all development Bundler dependencies (2023-05-31) (#19552)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-05-31 11:02:43 -07:00
depfu[bot]
56414481ba
[ruby] Update metainspector 5.14.0 → 5.15.0 (minor) (#19524)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-05-26 16:39:07 -04:00
depfu[bot]
94e394edc2
[ruby] Update fog-aws 3.18.0 → 3.19.0 (minor) (#19537)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2023-05-26 15:55:45 -04:00
depfu[bot]
3cced30628
Update nokogiri to version 1.15.0 (#19495)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-05-22 11:45:37 +02:00
depfu[bot]
10e8e34af0
Update sidekiq-cron to version 1.10.1 (#19473)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-05-22 11:44:26 +02:00
depfu[bot]
89290b1bbb
Update recaptcha to version 5.14.0 (#19442)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-05-09 14:23:07 +05:30
depfu[bot]
65d9875448
Update all development Bundler dependencies (2023-05-01) (#19405)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Lawrence <lawrence@forem.com>
2023-05-08 17:25:00 -04:00
depfu[bot]
d26cf75352
[ruby] Update pg: 1.4.6 → 1.5.3 (minor) (#19419)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Lawrence <lawrence@forem.com>
2023-05-08 12:14:13 -04:00
depfu[bot]
438d09080b
Update devise_invitable to version 2.0.8 (#19425)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-05-04 20:57:55 +01:00
depfu[bot]
5faae0bb6d
Update addressable to version 2.8.4 (#19418)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-05-03 17:09:32 -07:00
depfu[bot]
4e0a179c46
[ruby] Update sterile: 1.0.23 → 1.0.24 (patch) (#19386)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2023-04-28 12:00:58 -04:00
depfu[bot]
b6e55559eb
[ruby] Update parallel: 1.22.1 → 1.23.0 (minor) (#19392)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-28 11:39:38 -04:00
depfu[bot]
f40e8a07a6
[ruby] Update ancestry: 4.3.2 → 4.3.3 (patch) (#19380)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-27 13:20:08 -04:00
depfu[bot]
70fb891c3a
Update pghero to version 3.3.3 (#19367)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-24 17:56:49 +01:00
depfu[bot]
b2bafc99d8
Update recaptcha to version 5.13.0 (#19340)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-18 16:51:45 +02:00
depfu[bot]
d2e3b71eea
Update oj to version 3.14.3 (#19334)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-17 15:18:01 +02:00
depfu[bot]
91b788b196
[ruby] Update ancestry: 4.3.0 → 4.3.2 (patch) (#19304)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-12 09:57:54 -04:00
depfu[bot]
d006d8d783
Update nokogiri to version 1.14.3 (#19316)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-12 13:04:28 +02:00
depfu[bot]
2afaee494f
[ruby] Update addressable: 2.8.2 → 2.8.3 (patch) (#19310)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-10 14:49:38 -04:00
depfu[bot]
22250a350b
Update devise to version 4.9.2 (#19307)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-07 22:07:58 +05:30
depfu[bot]
a24cb4079c
[ruby] Update inline_svg: 1.8.0 → 1.9.0 (minor) (#19294)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-05 17:15:44 -04:00
depfu[bot]
b412daa3ea
[ruby] Update all development Bundler dependencies (2023-04-03) (#19291)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2023-04-03 17:31:30 -04:00
depfu[bot]
853e2dbc22
[ruby] Update pghero: 3.2.0 → 3.3.1 (minor) (#19256)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-03-23 09:42:22 -04:00
depfu[bot]
5b437af792
Update sidekiq-cron to version 1.10.0 (#19245)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-03-21 22:39:04 +05:30
depfu[bot]
ce6f30b9de
[ruby] Update strong_migrations: 1.4.3 → 1.4.4 (patch) (#19238)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-03-20 17:48:36 -04:00
depfu[bot]
7d2d71de68
[ruby] Update devise: 4.8.1 → 4.9.0 (minor) (#19173)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Lawrence <lawrence@forem.com>
2023-03-17 13:55:49 -04:00
depfu[bot]
108caee0d5
[ruby] Update ancestry: 4.2.0 → 4.3.0 (minor) (#19233)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-03-17 10:36:33 -04:00
depfu[bot]
dc7ff6382c
[ruby] Update js-routes: 2.2.4 → 2.2.5 (patch) (#19229)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-03-16 13:09:32 -04:00