Commit graph

13093 commits

Author SHA1 Message Date
Mac Siri
d249d3989b
Consolidate dockerfile (#20460)
* Consolidate dockerfile

* Specify dockerfile target for uffizzi

* Syntax error

* Specify target in the right location
2023-12-20 14:47:03 +00:00
Mac Siri
350182d53f
Add hivemind to Containerfile (#20457)
* Add overmind to Containerfile

* Allow dynamic system architecture

* Add hivemind to bin/startup

* Remove redundant NODE in devcontainer

* Fix bug

* Refactor

* Update check hivemind script
2023-12-19 14:11:04 +00:00
Philip How
8928d86982
Order same reactables together in the list (#20461) 2023-12-19 13:34:21 +00:00
Ben Halpern
f0673648c2
Add preferred_article_ids to billboards (#20437)
* Add preferred_article_ids to billboards

* Adjust query

* Refactor method

* Refactor method

* Fix input type

* Add feature flag
2023-12-18 19:20:56 +00:00
Philip How
78b42c5efd
Add trusted role via API (#20455)
* rubocop

* use has_trusted_role? in tests, not trusted? due to pesky caching issues

* swagger
2023-12-18 18:38:05 +00:00
Philip How
199a88a254
fix notes typo + correctly add event listener to correct buttons (#20459) 2023-12-18 15:07:30 +00:00
Mac Siri
59ee1461a4
Upgrade to Node 20 (#20424)
* Upgrade to Node 18

* Run audit fix to resolve node 16 openssl issue

* Update babel.config.js

* Replace node-version with node-version-file

* Add NODE_OPTIONS

* Specify major version only

* Try setting locally instead

* Try custom hashFunction

* Trying two things at once

* Try without legacy option

* Add back openssl-legacy-provider

* Add resolution for terser-webpack-plugin

* Use older terser-webpack-plugin

* Revert changes to CI

* Add compression-webpack-plugin to resolution

* Use new node_module cache

* Add NODE_OPTION in build_test

* Maybe remove redundant label

* Upgrade storybook

* Update bin/webpack

* Revert "Upgrade storybook"

This reverts commit fca3fb5c8718786b7db20538c5c4ae6cf44b45b8.

* Remove unnecessary change

* Update yarn.lock again

* Now try with Node 20

* Upgrade Node module cache CI

* Lint

* Update base image sha
2023-12-15 14:27:36 +00:00
Mac Siri
d2a4216e9f
Update Containerfile.base to Node 20 (#20450) 2023-12-13 15:17:57 -05:00
Anna Buianova
adfd76feb6
Consider spam role in the user_status method (#20449)
* Add spam role to user_status method

* Take spam role into account in user status indicator

* Return passed statuses
2023-12-13 16:56:27 +00:00
Philip How
2ff439da80
Improve abuse reports UX (#20433)
* change to buttons + updates to styles

* add expand/collapse all and increase number of displayed entries

* fix a11y

* fix show route + order vomits by users first

---------

Co-authored-by: Mac Siri <mac@forem.com>
2023-12-13 15:31:09 +00:00
Helio Cola
c7fd166e92
Update ruby to v3.2.0 (#20184)
* Update ruby to v3.2.0

And ruby-next to v3.2.1

* Update .ruby-version-next

---------

Co-authored-by: Mac Siri <mac@forem.com>
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2023-12-12 22:49:40 +00:00
Ben Halpern
fd77c7671d
Track article id on billboard clicks (#20447) 2023-12-12 22:21:32 +00:00
Anna Buianova
81b042ee25
Give admins the ability to add spam role to users via the API (#20445) 2023-12-12 14:35:55 +00:00
Anna Buianova
e0ba90d60a
Allow to remove suspended role (#20439)
* Allow to remove suspended role

* Fixed the cypress spec for removing suspended role
2023-12-12 11:57:03 +00:00
depfu[bot]
9eaa19653e
Update babel-plugin-module-resolver to version 5.0.0 (#20380)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-12-11 18:28:49 +00:00
Anna Buianova
1eeaa34e98
Added spam role (#20434)
* Added spam role

* Fixed role spec
2023-12-11 14:27:22 +00:00
depfu[bot]
8c9560e33f
Update all development Bundler dependencies (2023-12-11) (#20438)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-12-11 13:53:28 +00:00
Mac Siri
4717ccc34b
Improve devcontainer (#20337) 2023-12-08 09:23:03 -05:00
Ben Halpern
8a299c88a6
Feed experiment for Dec 5 (#20427) 2023-12-06 16:05:50 -05:00
Philip How
25e0ebc1ac
admin filter feedback category (#20418) 2023-12-05 16:34:51 +00:00
Ben Halpern
55997ffba8
Hide images if error on billboards to fix blocking page (#20419)
* Hide images if error on billboards

* Update app/javascript/packs/billboard.js
2023-12-05 09:02:27 -05:00
Anna Buianova
4815661bad
Api search users by email (#20423) 2023-12-04 23:18:36 +00:00
Anna Buianova
ca16a87a47
Upgrade ahoy_matey (#20404)
* Added index to ahoy_visits

* Upgrade ahoy_matey
2023-12-01 14:27:11 +00:00
depfu[bot]
a08e8dcffb
Update carrierwave to version 2.2.5 (#20413)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-12-01 13:50:56 +00:00
Ben Halpern
9eaff67318
Update styling and refine features for analytics page (#20410)
* Update styling and refine features for analytics page

* Remove follower reference from js

* Update html

* Adjust test
2023-11-30 16:07:16 -05:00
Ben Halpern
67c2fe11d4
Fix start date for field test (#20406) 2023-11-29 14:03:05 -05:00
Anna Buianova
78c6d5d9a0
Create/update pages via api with body_html (#20390) 2023-11-29 18:43:55 +00:00
Ben Halpern
6c45945b11
Add recommended articles to feed experiment (Nov 27 experiment) (#20399)
* Add recommended articles to feed experiment

* remove changes to initial copy

* Adjust query to account for null
2023-11-29 18:22:18 +00:00
Philip How
dde1b10ba6
Add 24 weeks to Community Wellness streak (#20396)
* add 24 as week option

* Fix flaky spec

---------

Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2023-11-28 21:50:04 +00:00
Ben Halpern
88769c6a3c
Only render comment sorting for signed-in users (#20398) 2023-11-28 10:54:06 -05:00
Ben Halpern
347fd6d112
Recommended articles list (#20383)
* Add recommended articles list

* Adjust tests

* Adjust tests
2023-11-24 17:57:55 +00:00
Anna Buianova
df0b134ec4
Added followers count to /api/users/me endpoint (#20378)
* Added followers_count to /api/users/me

* Updated the api user docs

* Rubocop fixes fro swagger_helper

* Added me jbuilder view for api/v0
2023-11-22 20:22:06 +00:00
Ben Halpern
81dd1b867e
Add language constraint to sidebar (#20386)
* Add language constraint to sidebar

* Add language fallback
2023-11-22 19:00:48 +00:00
Ben Halpern
e545148fd5
Add active discussions to sidebar (#20372)
* Add active discussions to sidebar

* Move featured tags to before signin-guard

* Move featured tags back to view

* Fix test
2023-11-21 11:10:10 -05:00
Mac Siri
a0232a5f02
Extend retry time for code-coverage upload (#20373) 2023-11-21 08:52:06 -05:00
depfu[bot]
fe8cdacebe
Update ddtrace to version 1.16.2 (#20367)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-11-21 13:32:10 +00:00
depfu[bot]
190ccddaad
Update all of babel7 to version 7.23.3 (#20375)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-11-21 13:31:32 +00:00
depfu[bot]
4efd1ae094
Update @babel/plugin-transform-private-methods to version 7.23.3 (#20374)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-11-20 20:36:48 +00:00
ktmouk
1e0d70b530
Fix an error message not showing on the onboarding page (#20313)
* Fix an error message not showing on the onboarding page

* Add a test

* Fix a test
2023-11-20 20:29:23 +00:00
Jeferson S. Brito
81cd37794a
Bump rouge to 4.2 (#20286)
Co-authored-by: Mac Siri <mac@forem.com>
2023-11-20 20:15:13 +00:00
depfu[bot]
7ba86558e8
Update @rails/ujs to version 7.1.2 (#20370)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-11-20 19:33:23 +00:00
depfu[bot]
69c56fc823
Update preact to version 10.18.2 (#20366)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-11-20 16:38:05 +00:00
depfu[bot]
2402ef1096
Update dogstatsd-ruby to version 5.6.1 (#20353)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-11-17 17:04:13 +00:00
Anna Buianova
3e27e9c986
Added user badge_ids to the api (#20365) 2023-11-17 17:01:55 +00:00
depfu[bot]
90cb4d6f81
Update @hotwired/stimulus to version 3.2.2 (#20297)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-11-17 16:32:14 +00:00
Peter Frank
1cea64c7f7
Update report_abuse.en.html.erb (#20362)
Closes https://github.com/forem/forem/issues/20361
2023-11-17 13:35:13 +00:00
Anna Buianova
3093e0207a
Refactoring Badges::AwardThumbsUp (#20360)
* Optimized Badges::AwardThumbsUp

* Reorganized Badges::AwardThumbsUp spec
2023-11-16 15:10:21 +00:00
Mac Siri
4a9a08b81d
[CI] Make CLAAssistant reusable (#20359) 2023-11-15 13:38:29 -05:00
Ben Halpern
eccd5fd9e3
Add custom_display_label to billboards and update API (#20355)
* Add a/b test for which comments to show in feed

* Adjust figure

* Started at

* Add custom_display_label to billboards and update API

* Add custom_display_label to billboards and update API
2023-11-15 09:57:39 -05:00
Philip How
779701d5f6
Automatically reward thumbs-up milestone badges (#20338)
* initial work on #20111

* initial work on #20111

* fix cron

* is this a good test

* add in initial check, fix test data

* Update spec

---------

Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2023-11-14 16:47:24 +00:00