Ben Halpern
16ff57c2ff
Add HTML customization to admin ( #20531 )
...
* Add HTML customization to admin
* Update spec/requests/stories_index_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>
2024-01-17 12:12:22 +00:00
Ben Halpern
5c2723a04e
Update safe params and billboard cache config ( #20530 )
2024-01-16 12:13:29 -05:00
Ben Halpern
5c69c9fa2b
Promote 20240104-variant-b test ( #20528 )
2024-01-15 13:54:22 -05:00
Ben Halpern
ae2371d9a4
Add configuration for admins to determine whether to show cookie banner ( #20517 )
...
* Cookie banner admin config (wip)
* GA4 consent mode based on cookie acceptance
* Fix i18n
* Merge upstream
* Adjust heading
2024-01-15 18:22:17 +00:00
Anna Buianova
539844165f
Avoid sending follow notifications from spammers ( #20526 )
2024-01-15 16:50:21 +00:00
Anna Buianova
08d34d5d34
Don't show low scoring articles in timeframe feeds ( #20525 )
2024-01-15 14:14:32 +00:00
Anna Buianova
9c7476db62
Make articles from a user with spam role inaccessible (direct access) ( #20515 )
...
* Make articles inaccessible if their author has spam role
* Improve specs a bit for showing spammer articles
2024-01-12 15:36:44 +00:00
Philip How
33fd9836be
Add CSS as pages template option ( #20512 )
...
* add css as pages option
* don't forget schema
* fix test
* add api support
2024-01-12 15:35:38 +00:00
Ben Halpern
1c25171cc6
Do not vacate tags if parameter not passed via API ( #20513 )
2024-01-11 16:25:21 -05:00
Philip How
4be6df8baf
Show tips on the post help content + update styles ( #20415 )
...
* change in article help content + styles
* some attempt at keyboard navigation
* fix v1 editor
2024-01-11 14:55:14 +00:00
Ben Halpern
b0e3a512bb
Delay and modify follow logic to remove spammers ( #20505 )
...
* Delay and modify follow logic to remove spammers
* Fix tests
* Change comment
* Update spec/models/notification_spec.rb
Co-authored-by: Anna Buianova <lightallloy@gmail.com>
* Update spec/models/notification_spec.rb
Co-authored-by: Anna Buianova <lightallloy@gmail.com>
---------
Co-authored-by: Anna Buianova <lightallloy@gmail.com>
2024-01-10 14:35:12 +00:00
Philip How
7d47ffef78
Remove calls to trigger round robin notifications ( #20506 )
...
* remove calls to trigger round robin notifications
* remove tests
2024-01-10 13:44:57 +00:00
depfu[bot]
2aa369c83d
Update puma to version 5.6.8 ( #20507 )
...
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-01-09 20:49:24 +00:00
Ben Halpern
8e532c848a
Nullify published_at if absurdly far in the future ( #20504 )
2024-01-08 16:57:38 +00:00
Ben Halpern
04d4b2340d
Add downstream score effects from spam role ( #20498 )
...
* Add downstream score effects from spam role
* Move async score calc down low
* Add tests
* Add stub
* Fix typo
* No need for guard
* No need for guard
2024-01-08 16:25:28 +00:00
depfu[bot]
7162769f9e
Update all development Bundler dependencies (2024-01-08) ( #20501 )
...
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-01-08 14:33:42 +00:00
Ben Halpern
108d753d68
Add articles clickbait_score as factor in final feed ordering ( #20493 )
...
* Add articles clickbait_score
* Add attributes
* Fix field test config
2024-01-05 09:37:53 -05:00
Ben Halpern
f4081b2e24
Functionality to allow admins to add a cookie consent notice (part 2) ( #20488 )
...
* Initial work on base cookie modal
* Update app/assets/stylesheets/components/modals.scss
2024-01-04 16:20:03 -05:00
Ben Halpern
e376e2b887
Add cookie requirement option for billboards ( #20486 )
...
* Add cookie requirement for billboards
* Clean up tests
* Fix up tests
* Adjust tests
* Adjust tests
2024-01-03 16:33:08 +00:00
Myungwoo Song
621c666db3
Fix CI/CD badges in README.md ( #20465 )
...
Co-authored-by: Mac Siri <mac@forem.com>
2023-12-28 17:24:00 +00:00
depfu[bot]
a3a5763b20
Update omniauth to version 2.1.2 ( #20483 )
...
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-12-28 17:14:32 +00:00
depfu[bot]
7508208368
Update countries to version 5.7.1 ( #20482 )
...
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-12-28 15:54:50 +00:00
depfu[bot]
0466f9c652
Update oj to version 3.16.3 ( #20481 )
...
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-12-28 14:38:05 +00:00
Anna Buianova
40d1208b46
Removed github/time-elements ( #20480 )
2023-12-28 13:37:14 +00:00
depfu[bot]
9c55969fcf
Update sidekiq-unique-jobs to version 7.1.31 ( #20379 )
...
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2023-12-28 13:36:51 +00:00
Anna Buianova
473594f192
Match spam role with existing suspended actions ( #20477 )
...
* Started matching spam and suspended roles
* Match spam and suspended roles in most cases
* Fixed check_suspended for unauthenticated users
2023-12-27 20:12:50 +00:00
Anna Buianova
d327fbe73d
Remove unused user status span ( #20468 )
2023-12-22 10:53:32 +00:00
Adam Vollrath
cbd1d95848
GHA Workflows: Sanitize user input from fork workflows. ( #20466 )
...
* Improvements to Uffizzi Preview Workflows.
Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
* Also unzip the rendered compose file.
Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
---------
Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
2023-12-21 12:56:02 +00:00
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