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
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
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
Anna Buianova
1eeaa34e98
Added spam role ( #20434 )
...
* Added spam role
* Fixed role spec
2023-12-11 14:27:22 +00:00
Anna Buianova
4815661bad
Api search users by email ( #20423 )
2023-12-04 23:18:36 +00:00
Anna Buianova
78c6d5d9a0
Create/update pages via api with body_html ( #20390 )
2023-11-29 18:43:55 +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
Anna Buianova
3e27e9c986
Added user badge_ids to the api ( #20365 )
2023-11-17 17:01:55 +00:00
Anna Buianova
3093e0207a
Refactoring Badges::AwardThumbsUp ( #20360 )
...
* Optimized Badges::AwardThumbsUp
* Reorganized Badges::AwardThumbsUp spec
2023-11-16 15:10:21 +00: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
Ben Halpern
e7fc1bb0ce
Add article id and geolocation info to billboard events ( #20329 )
...
* Add article id and geolocation info to billboard events
* Confirm destroyed in rollup
2023-11-09 12:43:23 -05:00
Ben Halpern
a4a1de964d
Move features along in deprecation status ✂️ ( #20315 )
...
* Move features along in deprecation status
* Remove unnecessary tests
2023-11-07 09:50:08 -05:00
Ben Halpern
64fd4e7800
Adjust VariantQuery to dynamically account for recent last_comment_at ( #20323 )
...
* Adjust VariantQuery to dynamically account for recent last_comment_at
* Adjust test line which was temporarily adjusted
2023-11-07 08:22:22 -05:00
Ben Halpern
aedeaede84
Tweak billboard image quality to 100 ( #20314 )
2023-11-03 14:07:24 -04:00
Anna Buianova
41ab84a25d
Remove feature flag and use consistent rendering by default ( #20305 )
2023-11-03 11:42:12 -04:00
Ben Halpern
0ddb133c49
Add ability for admins to request specific billboards for inspection ( #20311 )
2023-11-02 16:58:28 -04:00
Ben Halpern
587a11d490
Adjust image optimization for billboards ( #20309 )
...
* Adjust image optimization for billboards
* Fix test typo
* Adjust default
2023-11-02 16:12:20 -04:00
Anna Buianova
a315bc18a6
Paginate api comments ( #20304 )
...
* Comments api pagination
* Comments api docs
* Removed Comments::Tree
2023-11-02 15:59:15 -04:00
Gabriel Quaresma
593d95e7a8
Feat Make tag score minimum configurable by admins ( #20233 )
...
* feat: add Settings::UserExperience.award_tag_minimum_score
* test: write new specs
* test: write a new test case
2023-11-01 17:48:25 +03:00
Ben Halpern
b0cb5540c0
Add new render mode and template options for billboards ( #20282 )
...
* Add new render and template modes for billboards
* Add new fields to /admin
* Adjust test
* Adjust markup in form
* Add tests for script execution
* Add two script test
* Adjust scripts
* Adjust scripts
* Add new test
* Add new explicit tests
* Move JS functionaity around
2023-10-30 14:56:09 -04:00
Daniel M Brasil
479a09f77b
Improve organizations's slug validator ( #20265 )
2023-10-26 13:08:11 -04:00
Daniel M Brasil
74cc4ac39e
Add support for organization :id in or organizations routes ( #20244 )
2023-10-25 17:38:45 -04:00
ktmouk
8963e185f8
Fix username combobox tries to load all users ( #20227 )
...
* Fix username combobox tries to load all users
* Add the limit param to the users_query
* Add a comment
2023-10-25 15:53:53 -04:00
Ben Halpern
c6377ab607
Backfill dark theme for iOS app compatibility ( #20269 )
2023-10-23 16:36:44 -04:00
Ben Halpern
1da43d9027
Add language when new user visit context is detected ( #20263 )
...
* Add language when new user visit context is detected
* Finalize tests
2023-10-20 15:35:41 -04:00
Anna Buianova
20e242af0d
Rubocop fixes ( #20254 )
...
* Fixed redundant alls for rubocop
* Fixed rubocop violations in spec/requests
* Fixed rubocop violations in spec/models
* Fixed Performance/MapMethodChain
* Fixed rubocop violations in spec/requests
* Revert changes to FastlyConfig::Update spec
2023-10-18 17:24:28 -04:00
Mac Siri
20faec4899
Support chromedriver in container ( #20224 )
2023-10-16 15:12:53 -04:00
ktmouk
b45f3d3024
Fix code block rendering not working inside details ( #20229 )
2023-10-16 14:14:04 -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
Anna Buianova
5ac786c9a1
Add email to the users api ( #20241 )
...
* Add email to the users api if display_public_email_on_profile is set to true
* Fixed selected user fields in the api
* A separate partial for user data with email (for the api)
2023-10-13 16:27:21 +03:00
ktmouk
33a32db94f
Support all embed URL options of Stackblitz ( #20228 )
2023-10-11 12:58:53 -04:00
Anna Buianova
a14a1e9e7a
Accept published_at in Article API ( #20235 )
2023-10-11 09:12:35 -04:00
Mac Siri
341f64c0d3
Bump with_model ( #20222 )
2023-10-06 11:24:25 -04:00
Narender Singh
2a489210a2
Remove unique article title validation ( #20031 )
2023-10-05 14:59:50 -04:00
ktmouk
bbf2719582
Update OAuth removal instructions ( #20036 )
2023-10-04 14:43:20 -04:00
Ben Halpern
044fe88230
Follow on adjustments to flag counts ( #20207 )
2023-10-02 17:23:37 +07:00
Ben Halpern
f811f17830
Fix irrelevant flag numbers ( #20204 )
...
* Fix irrelevent numbers in admin display
* Remove unused possible_spam_users_count
* Fix tab styles
2023-10-02 15:01:50 +07:00
Ben Halpern
19004680de
Make admin reports default to showing open ( #20200 )
2023-10-02 12:24:56 +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
8268a59ae5
Add feed event for extended page view ( #20198 )
2023-10-02 10:28:31 +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
c71b2b182f
Change profile image max size to 8 MB ( #20183 )
...
* Change profile image max size to 8 MB
* Stub the const for the sake of the test
2023-09-28 17:05:35 -04:00