Commit graph

7398 commits

Author SHA1 Message Date
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
Anna Buianova
3e27e9c986
Added user badge_ids to the api (#20365) 2023-11-17 17:01:55 +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
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
Lucas Mateus Batista Polles
59860df04a
fix: tool editor disappears when dragging words (#20271)
Co-authored-by: Mac Siri <mac@forem.com>
Co-authored-by: Anna Buianova <lightallloy@gmail.com>
2023-10-31 17:38:39 -04:00
Julia Undeutsch
9df24fc1f7
Add title="Check" to svg icon (#20285) 2023-10-30 17:04:54 -04: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
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
3bc1b242ce
Fix the data passed into the email newsletter (#20277)
* Fix the data passed into the email newsletter

* Add check for element existing
2023-10-24 15:29:10 -04:00
Christine Belzie
4337161508
docs: making updates to Editor Guide (#20258)
* feat: add mention

* fix: made some adjustments

* fix: revise bullet point

* fix: update another bullet point

---------

Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2023-10-24 14:19:30 -04:00
Ben Halpern
c6377ab607
Backfill dark theme for iOS app compatibility (#20269) 2023-10-23 16:36:44 -04:00
Anna Buianova
b49af06daa
Remove ignored_columns lines (#20267) 2023-10-20 16:08:21 -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
ktmouk
2314043432
Fix anchors not working (#20255) 2023-10-19 15:32:52 -04:00
ktmouk
3b37658df5
Fix lint:frontend warnings (#20256) 2023-10-19 12:59:54 -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
e8e1cafe7f
Ignore users.workshop_expiration column (#20245) 2023-10-13 20:58:36 +03: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
Gabriel Quaresma
344dfb7f77
Indicate required fields on podcasts/new (#20223) 2023-10-11 12:17:05 -04:00
ktmouk
1beb221531
Fix tests that fail when developer uses a non-en locale (#20230) 2023-10-11 09:39:25 -04:00
Anna Buianova
a14a1e9e7a
Accept published_at in Article API (#20235) 2023-10-11 09:12:35 -04:00
Mateus Abelli
f5e0171dce
Fix icons colors on the mod menu (#20218)
* Fix SVG properties

* Fix SVG selectors and typos

* Normalize crayons_icon_tag usage
2023-10-09 09:00:58 +07:00
ktmouk
282004c72a
Fix the sidebar not desplayed when the path contains /locale (#20030)
Co-authored-by: Joshua Wehner <joshua@forem.com>
2023-10-06 17:24:19 +07:00
Narender Singh
2a489210a2
Remove unique article title validation (#20031) 2023-10-05 14:59:50 -04:00
Lucas Mateus Batista Polles
799043abea
Fix flag user modal on mod page (#20189) 2023-10-04 18:49:21 -04:00
ktmouk
bbf2719582
Update OAuth removal instructions (#20036) 2023-10-04 14:43:20 -04:00
Ben Halpern
095894d11c
Add language match as possible feed lever (#20211) 2023-10-03 09:51:57 +07:00
Ben Halpern
044fe88230
Follow on adjustments to flag counts (#20207) 2023-10-02 17:23:37 +07:00
Ben Halpern
77dd41dfb8
Roll back user name selection for user id boxes (#20205) 2023-10-02 16:24:59 +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
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