Ben Halpern
223fb9cbfb
Add a/b test for feed style on new users ( #20664 )
...
* Add a/b test for feed style on new users
* Add current_user check
* Adjust to not look for current_user right away
* Move field test to the right place
2024-02-20 15:43:28 -08:00
Ben Halpern
e386a7ec15
Tweak field test weights ( #20643 )
2024-02-16 08:51:16 -08:00
Mac Siri
61602db7a4
Remove yarn's install-state ( #20639 )
2024-02-16 10:14:33 -05:00
Ben Halpern
097057a8dc
New a/b tests for Feb 14 ( #20632 )
2024-02-14 15:57:41 -05:00
Ben Halpern
205aee8c78
Add billboard for bottom of page with allowance to delay until after reading is finished. ( #20616 )
...
* Add delayed behavior
* Add special behavior to billboards
* Fix order for test
* Test clicking outside element when close event is present
* Update app/javascript/packs/billboardAfterRenderActions.js
2024-02-13 11:56:32 -05:00
Philip How
55f191a5ec
Automated First Post Badge ( #20600 )
...
* award first post logic, schedule, and tests
* award first post logic, schedule, and tests
2024-02-08 10:11:40 -05:00
Ben Halpern
585be9931c
Fix fieldtest date typo ( #20591 )
...
* Fix fieldtest typo
* Fix fieldtest typo
* Fix formatting
2024-02-05 11:40:27 -05:00
Ben Halpern
e26b27c7fa
New a/b test for Feb 5 (and add a variable too a hardcoded value) ( #20588 )
...
* Fix AudienceSegmentRefreshAllWorker args issue
* New a/b test for Feb 5 (and add a variable too a hardcoded value)
2024-02-05 15:46:03 +00:00
Ben Halpern
ee29318126
Add a/b test for which comments to show in feed ( #20332 )
...
* Add a/b test for which comments to show in feed
* Adjust figure
* Started at
* Move scope placement around
* Add tests for different comments_variants passed
* Fix typo
2024-01-29 12:18:50 -05:00
Ben Halpern
6d669c8a5c
Add new feed experiment for Jan 26 ( #20563 )
...
* Add a/b tests for Jan 26
* Fix feed lever
* Update config/field_test.yml
* Update config/field_test.yml
* Update app/models/articles/feeds.rb
2024-01-26 16:53:26 -05:00
Mac Siri
afa73e06e3
Replace Webpacker with Esbuild ( #20470 )
...
* Migrate to esbuild WIP
* Add exclude
* Remove redundant file
* Move file
* Move to javascript_include_tag
* Lint fix
* WIP
* WIP
* Add watch mode to esbuild WIP
* Get jest working
* Remove babel
* Revert "Remove babel"
This reverts commit 6da35260aa19d6f97f586deb66c0ecaf48433b73.
* More WIP
* Got image to load
* WIP
* Resolve audit
* Lint fix
* WIP
* Fix jest spec
* [CI] Remove asset-restore for test build stage
* Production compliant
* Temp disable sourcemap
* Update glob
* Add esbuild helper to stimulus
* Import fragment
* Temp disable coverage to see failing tests
* Fix broken spec
* Address lint
* Set proper es6 target
* Use esbuild for everything
* wait what
* Revert "Set proper es6 target"
This reverts commit 98f5278093421baa8ffe2ca580845b01c1a1eadf.
* Revert "Use esbuild for everything"
This reverts commit 0ac46738f07ffcb6af095ccb1ffa5e439b7fefa3.
* Replace uglifier with terser
* New compiled assets version
* Remvoe honeybadger-io/webpack
* Remove cypress coverage checks for now
* Update jsconfig.json
* Update docker-compose
* Remove public/packs-test from ci cache
2024-01-25 20:29:21 +00:00
Ben Halpern
b763ba8544
Allow pages to have subdirectories ( #20549 )
...
* Allow pages to have subdirectories
* Add locale text
2024-01-24 16:09:29 -05:00
Philip How
d615fcef56
Add new members filter to mod center ( #20542 )
...
* fix jest
* Update safe_params_list.vcl
---------
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2024-01-23 16:07:45 -05:00
Ben Halpern
d86689f63d
Allow pages to render .txt requests ( #20547 )
...
* Allow pages to render .txt requests
* Adjust routes
2024-01-22 11:12:22 -05:00
Philip How
b593ecd323
Change 🧐 to 🚩 ( #20537 )
...
* inital pass
* icon title
* fix locale issues failing tests
2024-01-22 15:53:25 +00:00
Philip How
fb855c97bd
Update badge awarding language ( #20516 )
...
* update badge language files
* update admin controller
* fix tests
* no actually fix the tests
* remove 'community' from notification
* fix spec
* fix interpolations
2024-01-17 09:26:19 -05:00
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
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
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
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
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
1eeaa34e98
Added spam role ( #20434 )
...
* Added spam role
* Fixed role spec
2023-12-11 14:27:22 +00:00
Ben Halpern
8a299c88a6
Feed experiment for Dec 5 ( #20427 )
2023-12-06 16:05:50 -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
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
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
Ben Halpern
347fd6d112
Recommended articles list ( #20383 )
...
* Add recommended articles list
* Adjust tests
* Adjust tests
2023-11-24 17:57:55 +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
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
Ben Halpern
da59622c29
New Feed experiment for Nov 8 ( #20328 )
2023-11-08 13:33:26 -05:00
Ben Halpern
0ddb133c49
Add ability for admins to request specific billboards for inspection ( #20311 )
2023-11-02 16:58:28 -04:00
Daniel M Brasil
212ddf0265
Fix: prevent users from changing the author when a post is part of a post series ( #20259 )
...
* disable authors and co-authors selectors for series posts
* add translations
* fix constrant issues
* add alternative text for icon
---------
Co-authored-by: Mac Siri <mac@forem.com>
2023-10-25 17:39:58 +03:00
Ben Halpern
549a7bd9d0
New AB test for October 23 ( #20274 )
2023-10-23 10:30:12 -04:00
Ben Halpern
ade6bf5f1f
Add feed test for oct 17 ( #20252 )
2023-10-17 11:33:49 -04:00
Ben Halpern
bc89cf3e38
Store browser accept language header on users ( #20212 )
...
* Store browser accept language header on users
* Change to tracking via user context
* Remove async info code
* First draft of spec
* Work out tests
* Delete dependents
2023-10-16 11:59:30 -04:00
ktmouk
bbf2719582
Update OAuth removal instructions ( #20036 )
2023-10-04 14:43:20 -04:00
Anna Buianova
a17bdd2ea5
Fixed Norvegian locale key ( #20213 )
2023-10-03 10:08:40 -07:00
Ben Halpern
456a5e61d2
Add filters to /mod ( #20179 )
...
* Add filters to /mod
* Adjust cypress to look for proper text
* Adjust cypress to be less sensitive
2023-10-02 11:47:49 +07:00
Ben Halpern
b67d5c4358
Add new feed experiment for 10-1 ( #20194 )
...
* Add new feed experiment for 10-1
* Fix field test config
* Adjust field test config
2023-10-01 13:52:33 +07:00
Ben Halpern
c5201ca888
Remove dead code associated with old roles ( #20175 )
...
* Remove dead code associated with old roles
* Remove test references
* Removed from seeds
* Removed unused roles from locales
---------
Co-authored-by: lightalloy <lightallloy@gmail.com>
2023-10-01 09:33:25 +07:00
Ben Halpern
f753df3226
Add new feed experiments ( #20171 )
2023-09-27 08:21:21 -04:00
Joshua Wehner
2c138d86ef
Add or remove limited role via API ( #20136 )
...
* Refactor API user suspend, make room for more roles
* Handle adding limited
* Handle remove limited
* And swagger docs
* Update & refactor roles spec
* Remove old route
* Remove old specs
2023-09-26 09:57:14 -04:00
Joshua Wehner
6a48b486ca
Onboarding: custom newsletter opt-in settings ( #20114 )
...
* Settings can process markdown into html
* Update Settings with new onboarding settings
* Async render onboarding newsletter step
* Tweak onboarding design
* Fix broken spec
* Better rendered component test
* Tweaks to match design
* Try to tweak design
* Try having a default state
* Tweak placeholder content
* Better await componentDidMount
* Continue to tweak the design
* ContentRenderer#process should always return Result
* Try more clarity in the partial
* Rubocop
2023-09-26 06:34:19 -04:00
PJ
47deeefe57
Optionally limit new users based on admin setting ( #20149 )
...
* create admin setting for new user status
* limiting on signup working 🎉
* update registration specs
* sort out OAuth registrations
2023-09-26 10:46:36 +01:00
Joshua Wehner
25d1cdd2e0
Tweak config to enable rails console requests ( #20157 )
2023-09-26 04:40:00 -04:00