Commit graph

1449 commits

Author SHA1 Message Date
Kobe Raypole
509c7a3388 Move async article methods to ActiveJob (#2647) 2019-05-10 12:52:00 -04:00
cyrillefr
ecdbee64ab Move tag adjustment notification to Active Jobs (#2654) 2019-05-10 11:06:29 -04:00
rhymes
4e256e509e Close an open tag and cleanup spaces (#2782) 2019-05-10 09:09:40 -04:00
Mario See
62578e4a59 Utilize ERB template in SpotifyTag (#2753) [ci skip] 2019-05-09 19:45:19 -04:00
Mario See
86d8128dd9 Utilize ERB template in CodepenTag (#2748) [ci skip] 2019-05-09 19:33:59 -04:00
Ben Halpern
b645942dd2
Add loading='lazy' attribute to some images (#2776) 2019-05-09 16:37:06 -04:00
Mario See
e0d4329089 Utilize ERB template in SoundcloudTag (#2752) [ci skip] 2019-05-09 16:17:03 -04:00
Ben Halpern
995d4eb1e2
Add pagination to listings (#2775) 2019-05-09 14:58:26 -04:00
derekenos
5f63a7d253 Enable Escape key to close opened listing modal (#2768) 2019-05-09 14:21:35 -04:00
Mario See
e0284eb30d Utilize ERB template in BlogcastTag (#2754) [ci skip] 2019-05-09 14:13:19 -04:00
Mario See
7568037cf8 Utilize ERB template in SpeakerdeckTag (#2750) [ci skip] 2019-05-09 13:54:42 -04:00
Mario See
84eb7ceb75 Utilize ERB template in Instagram liquid tag (#2749) [ci skip] 2019-05-09 13:20:22 -04:00
Bolarinwa Balogun
5581fd6ff7 Fix Negative Number Beside Discuss in Article (#2772) 2019-05-09 12:47:36 -04:00
Mario See
20a50fb0f8 Utilize ERB template in Youtube/Vimeo liquid tag (#2728) [ci skip] 2019-05-09 12:44:00 -04:00
rhymes
e626002260 Add alternative texts to images (#2771) [ci skip] 2019-05-09 11:16:03 -04:00
rhymes
4e591fea1c Show localized date/time on hover for articles/comments (#2722)
* Add article decorator published_timestamp

* Use time HTML5 element and refactor date in partial

* Add published_timestamp to Article

Adding `published_timestamp` to the homepage we can then use JS to render the full timestamp localized for the user.

We've also added the timestamp to the index and the API

* Display article published timestamp on hover

* Use time also in the article show page

* Add timestamp to bottom articles as well

* Remove published_timestamp from index because it is not used

* Fix broken specs

* Add more article dates specs

* Refactor date initializers
2019-05-09 11:05:17 -04:00
rhymes
260fe901b8 Refactor Comments::BustCacheJob to use a service (#2655) 2019-05-09 10:10:37 -04:00
Mohammadjavad Raadi
b8a544f4e7 Refactor sass themeable style (#2767) 2019-05-08 15:07:49 -04:00
Mario See
b6ab47c016 Codesandbox Liquid tag render to utilize ActionController (#2747) [ci skip] 2019-05-08 13:07:26 -04:00
Mario See
767029bc10 JS Fiddle Liquid tag render to utilize ActionController (#2746) [ci skip] 2019-05-08 13:05:07 -04:00
rhymes
f2a0314298 Make reading list button hover effect compatible with a11y (#2759) [ci skip] 2019-05-08 12:46:39 -04:00
Alireza Zekavat Fetrat
c7b0c1c023 Refactor sass themeable style (#2762) [ci skip] 2019-05-08 10:18:48 -04:00
Ben Halpern
d730e8cb9a
Change social image strings to environment variable (#2763) 2019-05-08 09:31:44 -04:00
Bolarinwa Balogun
d3c929d00a Fix cursor flicker on article card border (#2760) 2019-05-08 08:51:22 -04:00
Kobe Raypole
8ebfb74796 Match timeframe link style with tag colors (#2757) [ci skip] 2019-05-07 22:10:42 -04:00
Andy Zhao
bb75ee3fc6 WIP Add proper error handling when creating a listing (#2755)
* Add proper error handling when creating a listing

* Remove accidentally committed stylesheet

* Make error text

* Preserve input values if the submission is invalid
2019-05-07 18:25:25 -04:00
Mario See
51837621a5 Change ReplitTag to render using ActionController (#2745) [ci skip] 2019-05-07 16:50:50 -04:00
Mario See
68239c4cf8 Change Runkit liquid tag to utilize ActionController (#2723) 2019-05-07 16:44:20 -04:00
Mario See
b1f97a0657 Change Twitter liquid tag to utilize ActionController (#2721) [ci skip] 2019-05-07 16:40:50 -04:00
rhymes
f492e8ff70 Fix flagged settings accessibility problems (#2744) [ci skip] 2019-05-07 16:10:16 -04:00
Mario See
e96f666dc4 Use ActionController in PodcastTag (#2644) [ci skip] 2019-05-07 16:07:38 -04:00
Andy Zhao
5912feb12f Use proper stripe card path for the form (#2751)
* Remove special stripe id conditional code

* Use the correct form path
2019-05-07 15:33:47 -04:00
Andy Zhao
b33b59ec96 Remove listings' body_markdown's line-breaks (#2742) 2019-05-07 14:54:49 -04:00
Mario See
4f149c04c8 Use ActionController in UserTag (#2621) [ci skip] 2019-05-07 14:53:08 -04:00
Andy Zhao
97040ab603 Remove membership and stripe subscription routes (#2741) 2019-05-07 11:37:21 -04:00
Alireza Zekavat Fetrat
515d2fb61e Refactors SASS themeable style discussed at #2539 (#2693) [ci skip] 2019-05-07 10:14:45 -04:00
Mohammadjavad Raadi
2f3afeb029 Refactors SASS themeable style discussed at #2539 (#2735) [ci skip]
* Refactored classified_listings.scss themeable style
2019-05-07 10:00:48 -04:00
rhymes
879864a9bb Improve accessibility score on homepage and article show page (#2740) [ci skip]
* Increase loader text opacity

Low contrast text is not great in general, this also brings Lighthouse score from 88 to 96

* Add some alternative text to images

* Add some aria labels to controls
2019-05-07 09:56:34 -04:00
Ben Halpern
5a7a9d0474
Add listings to sidebar and add proper social image (#2737) 2019-05-07 08:00:41 -04:00
Andy Zhao
bcdf8d980f Minor adjustments to listings (#2731)
* Add periods for consistency

* Update category cost with potential correction

* Update product cost with potential correction

* Display correct text dependent on purchaser

* Use name instead of org username
2019-05-07 07:03:06 -04:00
Jess Lee
436fa2788c redirect /moderate to internal listings view (#2730) 2019-05-07 07:00:18 -04:00
Ben Halpern
a38602baa5
Fix listings form styles (#2729) 2019-05-06 20:11:41 -04:00
Ben Halpern
403bbba80f
Modify form style on listing and credit pages (#2727) 2019-05-06 18:40:17 -04:00
Andy Zhao
aadc775ffd Add listings to /internal pages (#2725)
* Add routes for listings in internal

* Add internal listings controller and views
2019-05-06 18:16:23 -04:00
Kobe Raypole
9b920061b3 Update following page with podcasts (#2724)
Now that we have the ability to follow podcasts, this commit updates the
following page to reflect these changes.
2019-05-06 18:10:58 -04:00
Andy Zhao
d1e4831c4f Add tests for purchasing credits (#2720)
* Use workaround for tests

* Add tests for purchasing credits

* Use the correct current_user

* Wrap parentheses around second condition
2019-05-06 15:27:30 -04:00
Ben Halpern
35fe810b51
Add default tags for listings dropdown and misc other changes (#2719) 2019-05-06 14:52:52 -04:00
Ben Halpern
4bf75a50a0
Remove unnecessary line in reaction algolia (#2717) 2019-05-06 10:39:32 -04:00
Ben Halpern
ef6cef92f6
Add param to bust crappy old caches (#2702) 2019-05-05 21:04:12 -04:00
Ben Halpern
17cf4133e1
Change number of reactions queried (#2701) 2019-05-05 20:18:32 -04:00