Commit graph

12385 commits

Author SHA1 Message Date
Mac Siri
6fb30bcb3c
Update user_data cache key (#19101) 2023-02-15 14:11:39 -05:00
Rajat Talesra
8c2cbab726
Mobile tap issue fix (#19121) 2023-02-16 00:38:02 +05:30
Ben Halpern
888bdd9b88
Tweak trusted copy to include page (#19113) 2023-02-15 09:16:37 -05:00
ktmouk
cec7830001
Fix the height of date and time input is small on iOS Safari (#19021)
Co-authored-by: Joshua Wehner <joshua@forem.com>
2023-02-15 10:26:20 +01:00
Joshua Wehner
a4654f2d2f
Reaction emoji with consistent underscores (#19116) 2023-02-15 08:32:19 +01:00
Lawrence
ca96be13dd
name route and add link (#19109) 2023-02-14 10:15:21 -06:00
Mac Siri
83dbca39ff
[CI] Capture Cypress logs on failure (#19114) 2023-02-14 09:53:47 -05:00
Keiichi Kayama
8e0b5bc0f5
Fix force params of the fetch episodes (#18932)
* Fix force params of the fetch episodes

* Fix rubocop@Fix force params of the fetch episodes

---------

Co-authored-by: Joshua Wehner <joshua@forem.com>
2023-02-14 11:37:35 +01:00
depfu[bot]
d65b97ee34
[ruby] Update oj: 3.13.23 → 3.14.1 (minor) (#19081)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-02-13 13:05:20 -05:00
Rajat Talesra
2fc5e13306
Multiple Reactions minor fixes (#19107)
* Reactions minor fixes

* Notification, stack and reactions UI fixes

* Final multi reactions UI fixes
2023-02-13 22:11:55 +05:30
Mac Siri
5e792ca0b2
Enable rspec-retry on system and request specs (#19103) 2023-02-13 09:51:37 -05:00
depfu[bot]
2ade00e64e
🚨 [security] [ruby] Update sanitize: 6.0.0 → 6.0.1 (patch) (#19105)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-02-13 09:27:14 -05:00
Lawrence
dbf766012a
Close Reaction Drawer on Outside Click (#19098)
* add a closeDrawer function for clicking outside the drawer

* check for element
2023-02-10 14:06:45 -06:00
Lawrence
0c8f301227
init commentPreview migration (#19090) 2023-02-10 12:38:13 -06:00
Lawrence
a4a54efc34
Mobile View: Padding Adjust (#19061)
* adjust bottom padding

* reset icon size

* resize spacing

* increase width for desktop drawer

* revert svg sizes

* set icon dimensions

* adjust styling to mock

* revert

* change the correct scss file
2023-02-10 12:02:47 -06:00
depfu[bot]
051e46a84c
[ruby] Update rolify: 6.0.0 → 6.0.1 (patch) (#19094)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-02-10 12:10:21 -05:00
depfu[bot]
b17297ecc6
[ruby] Upgrade hairtrigger: 0.2.25 → 1.0.0 (major) (#19095)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2023-02-10 11:49:33 -05:00
Mac Siri
b931e02855
Expands Follows request specs (#19096)
* Add spec

* Add specs
2023-02-10 09:02:38 -05:00
Joshua Wehner
567e31248a
Try right-to-left for stack effect (#19083)
* Try right-to-left for stack effect

* Reverse order to counter rtl ordering

* Better post-merge reconciliation

* Try to get test ratio boost

* Fix test
2023-02-10 11:01:03 +01:00
Rajat Talesra
0b684eb421
Multiple Reactions UI fixes (#19077)
* Multiple Reactions UI fixes

* Minor fixes
2023-02-10 10:36:04 +05:30
Mac Siri
a2461cefce
Do not nullify abuse_report when banishing user (#19084) 2023-02-09 11:32:38 -05:00
Mac Siri
7158c0b3b7
Lock yarn version (#19092) 2023-02-09 11:06:18 -05:00
Ben Halpern
c89a63bcf9
Fix FilteredAdsQuery ordering bug (#19078) 2023-02-09 14:55:26 +02:00
Rajat Talesra
37941c4f5b
Multiple Reactions icon align with text (#19079)
* Reactions icon align with text

* Nit fixes

* Nit fixes

* Made reactions clickable

* Indentation fix

* Added border to icons
2023-02-08 20:26:46 +05:30
depfu[bot]
553658f492
[ruby] Update webpacker: 5.4.3 → 5.4.4 (patch) (#19080)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-02-08 08:04:35 -05:00
Joshua Wehner
ea2154d506
Fixing design issues with multiple reactions (#19020)
* Try disabling text-select (mobile long-tap)

* Try to force button color on mobile safari

* Try making notification decorator more helpful

* More using notification decorator

* Helper so I can see exceptions

* As we toggle feature flag, temporary show 'heart' for unsupported reactions

* Reaction on Comment is a 'reaction'-type notification

* Temporarily add new emojis to i18n

* Render full-color, unique SVGs for multiple_reactions

* Restore card layout

* Aggregate reaction icons also need unique SVGs

* This seems unnecessary?

* Multiple is -more-than-one-

* Display *unique* reaction categories on /notifications

* Comment notification no longer needs to re-render as reaction

* Decorator needs to handle some data gaps

* Fix NotificationHelper

* Try a better name for this

* Tests for the notification decorator

* These partials wound up without an outer layer

* Add a descriptive comment

* index needs force_unique

* Try multiple reactions external img (#19076)

* Try external img SVGs

* Unique SVG might not be necessary if this works

* Can also remove this spec if successful

* Restore flash icon behavior

* Plus external img for #index as well
2023-02-08 11:39:47 +01:00
depfu[bot]
b26ff24eae
[ruby] Update fog-aws: 3.15.0 → 3.16.0 (minor) (#19050)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-02-07 16:52:06 -05:00
depfu[bot]
7e184decf7
[ruby] Update field_test: 0.5.4 → 0.5.5 (minor) (#19075)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-02-07 16:51:24 -05:00
depfu[bot]
5f7858c668
Update all development Bundler dependencies (2023-02-06) (#19072)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2023-02-06 20:59:39 -05:00
Mac Siri
cb2477a991
Prefer remote_ip in GaEventsController (#19074) 2023-02-06 18:38:00 -05:00
Mac Siri
cb3b12feaa
Expand CI nodes (#19073) 2023-02-06 15:15:26 -05:00
depfu[bot]
2566654f5a
[ruby] Update strong_migrations: 1.4.1 → 1.4.2 (patch) (#19070)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-02-06 15:12:10 -05:00
Fernando Valverde
474eea39e9
👋❤️ 👋🏼 (#19063)
Co-authored-by: Mai Irie <mai.irie@gmail.com>
2023-02-06 10:45:45 +02:00
Ben Halpern
d46b54330e
Revert hidden shell cleanup (#19059) 2023-02-06 10:43:11 +02:00
Fernando Valverde
b2444d032d
/organizations api docs (#19055)
* /organizations api docs

* Remove Listings support
2023-02-03 15:12:03 -06:00
Fernando Valverde
c6419d7300
/tags api docs (#19048)
* /tags api docs

* Merge main
2023-02-03 14:11:38 -06:00
Fernando Valverde
7e9185f48b
Revert "[ruby] Update omniauth-apple: 1.2.2 → 1.3.0 (minor)" (#19060) 2023-02-03 14:47:55 -05:00
Lawrence
3186f7ae2d
CommentDate Migration to Pack tag (#19025)
* migration init

* create an initializers directory

* remove console log

* migrate localDateTime functions and remove comment date from asset pipeline

* add unit test

* add one more

* year test
2023-02-03 13:40:17 -06:00
Fernando Valverde
605ebbfa3b
Bump localstorage key for podcast player (#19057) 2023-02-03 12:03:39 -06:00
Fernando Valverde
bb7e193b3e
/videos api docs (#19049)
* /videos api docs

* Merge main
2023-02-03 10:22:57 -06:00
Fernando Valverde
8341c5a5dd
Fix JS error when window.Forem.runtime is not available yet (#19007)
* Add retry with timeout if window.Forem.runtime is not available

* Refactor asset pipeline initializer into webpack bundle

* Remove leftover comment

* Fix CodeQL issue

* Revert Regexp interpolation

* Revert regexp interpolation without verify

* Remove problematic Regexp marked as dangerous by CodeQL
2023-02-03 05:57:49 -06:00
Fernando Valverde
13288c5626
API V1 Users docs (#19046)
* /users/me api docs

* Updated api_v1.json

* Missing users api docs
2023-02-03 05:43:48 -06:00
Ridhwana
aa305ddcaf
remove some old service worker code (#19036) 2023-02-03 11:51:04 +02:00
Mac Siri
45e292463e
Add proper CodeCov flags (#19044) 2023-02-02 15:41:42 -05:00
Lawrence
df678d2c03
baseTracking Initializer Migration (#19016)
* baseTracking pack

* Define dataLayer

* disable unused var

* disable another unused var

* remove initializer call from base of asset pipeline

* remove asset pipeline baseTracking file
2023-02-02 13:15:36 -06:00
Rajat Talesra
f9a7b93bc1
Multiple reactions - remove circle from active reactions (#19034)
* Reading list toggle issue fix

* Removed circle border for reaction

* Added feature flag
2023-02-02 22:01:58 +05:30
Joshua Wehner
fd7021b001
Pages API: create, update, and delete (#19009)
* Pages API pt 1 (read/get/index+show)

* Update spec/requests/api/v1/docs/pages_spec.rb

Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>

* Update spec/requests/api/v1/docs/pages_spec.rb

Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>

* API Key not required for index & show

* API Feature flag has long since been removed

* Page schema

* Fix spec broken by merge

* Temporary bugfix: slug uniqueness not working for Page

* Pages API endpoints for create, update, and destroy

* Fix swagger error

---------

Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
2023-02-02 17:24:11 +01:00
ktmouk
151a118f57
Fix the last line of editor is not visible (#19023)
Co-authored-by: Lawrence <lawrence@forem.com>
2023-02-02 06:10:24 -06:00
Rajat Talesra
93f73636c7
Post bootstrap changes - remove headings from admin.scss (#19019)
* h1 and h2 design fixes

* h2 redesign fixes

* Removed incorrect code

* Revert incorrect test code

* h3 heading redesign

* h4,h4,h5 headings redesign

* Minor design fixes

* Fixed all heading styles

* Test case fix

* Revert incorrect if condition

* Revert incorrect if condition

* Removed non required div
2023-02-02 15:52:35 +05:30
depfu[bot]
56474f72c1
[ruby] Update bootsnap: 1.15.0 → 1.16.0 (minor) (#19047)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2023-02-01 16:55:16 -05:00