Commit graph

1402 commits

Author SHA1 Message Date
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
Ben Halpern
1f350a048c
Fix caching issue (#2700) 2019-05-05 19:46:15 -04:00
Ben Halpern
1ddef633cc
Improve reading list (#2695)
* Initial readinglist adjustments

* Improve readinglist

* Finalize new reading list

* Fix indexing and final finalizations

* Fix tests

* fix tests
2019-05-05 19:19:30 -04:00
Corey Alexander
23ded947e3 Twitch Webhook Fixes (#2692)
* Twitch Webhook Registration Fix

This fixes the broken twitch webhook registration. I previously added
the `to_json` when I was switching to using HTTParty and working through
WebMock. I apparently forgot to test this manually however after and
relied on the specs that had some baked in bad assumptions.

This removes the `to_json` and configures the mocking properly in the
spec setup.

I tested locally that this can now succesfully register for webhooks
with Twitch!

* Fix Webhook verification digesting as well, hardcode the specs for durability

* Refactor to use shorter digest method

* Add cache buster lines from Bens branch
2019-05-05 11:52:43 -04:00
Ben Halpern
fa3f4dcd0f
Fix buffer text not updating (#2699) 2019-05-05 11:51:30 -04:00
Ben Halpern
9e7dbf8356
Update JS listings form and other tweaks (#2697) 2019-05-05 10:14:07 -04:00
Andy Zhao
e9b4b4b8c8 WIP Add modal for single listings (#2688)
* Add new line at the bottom of the file

* Fix some linter errors

* Add overlay and links to single listings

* Clean up some code

* Add escape key functionality to quit overlay

* Lint some code

* Add modal functionality

* Update styling for modal

* Fix some linter warnings

* Preserve the correct link all the time
2019-05-04 19:39:49 -04:00
Nick Taylor
4db2ce47cd Tweak to pink theme. (#2694) 2019-05-04 19:19:24 -04:00
Ben Halpern
c76abbbdb3
Allow users to follow podcasts (#2690)
* Allow users to follow podcasts

* Only display podcasts user follows

* Add main_color_hex to factory

* Fix podcast test and modify styles

* Fix tests

* Remove weird test
2019-05-04 15:30:40 -04:00
Ben Halpern
48e2b794b2
Accurately guard against blank social image (#2691) 2019-05-04 14:28:15 -04:00
Ben Halpern
41d3f7ef39
Add credits counter_culter to users and orgs (#2689) 2019-05-04 10:50:48 -04:00
Jess Lee
393acc3ab3 Manage org credits in internal (#2686)
* manage org credits in internal

* reduce cognitive complexity in a method
2019-05-04 10:47:13 -04:00
Jess Lee
a6d92c702b Add report abuse link to listings (#2684)
* add report abuse link

* add listings category on abuse form

* include listings category
2019-05-04 09:06:42 -04:00
Glenn Carremans
575dd6d287 Award contributor badge to DEV Android contributors (#2687) 2019-05-04 09:04:35 -04:00
Ben Halpern
15ea00328c
Award credits along with badge achievements (#2683) 2019-05-03 15:38:25 -04:00
Mario See
95cb63fe04 Refactor Dev's LinkTag (#2619) 2019-05-03 15:17:14 -04:00
Mac Siri
d1549220ba
Change StackBlitz to utilize ActionController (#2664) 2019-05-03 14:50:12 -04:00
Mohammadjavad Raadi
b5111a2767 More themeable mixin (#2669)
* More themeable mixin in action.

* Refactors themeable style discussed in #2539 issue
* Refactored article-show.scss themeable style
* Refactored article_form.scss themeable style
2019-05-03 14:48:40 -04:00
Jess Lee
ae228cfe1f add method to award and remove credits (#2681) 2019-05-03 13:56:39 -04:00
Jess Lee
4013cf45de update category details (#2680) 2019-05-03 13:54:32 -04:00
Jess Lee
3743240e92 Deduct credits from proper account (personal vs org) (#2679)
* wip

* continue wip

* deduct credits from proper account
2019-05-03 13:54:16 -04:00
rhymes
c621d9b7e3 Add localized visible short comment date (#2437) 2019-05-03 13:31:00 -04:00
Jess Lee
31a02d5c3b Update categories/credits (#2677)
* update categories and credit costs

* fix typo
2019-05-03 12:10:27 -04:00
Wes Delp
f08f5fcdbf Customize RSS feed by tag (#2634)
* add tag param and filter

* add tag filter request specs

* order user above tag to maintain existingdefault

* refactor #new for code climate

* add rss feed spec

* move feed tags under explicit route
2019-05-03 11:35:54 -04:00
Nick Taylor
e19d1f45c5 More themeable mixin in action. (#2667) 2019-05-03 11:34:14 -04:00
Andy Zhao
5f74ccb01e Make "create listing" button work with InstantClick (#2676)
* Make create listing work with instantclick

* Prevent autocomplete from extensions
2019-05-03 11:33:16 -04:00
Ben Halpern
75fdf7fbed
Ben/fix social image blank (#2675)
* Add profile_image_90 to serialized data on article

* Fix issue where empty string social image causes blank social image
2019-05-03 11:09:21 -04:00
Andy Zhao
07796e769a Move new listing form to Preact (#2674)
* Fix typo

* Use preact for new listing form

* Send proper max tag amount in error msg

* Add styles back in for edit page
2019-05-03 10:17:12 -04:00
Mohammadjavad Raadi
d8c38bd855 Fixes custom listing credit amount bug #2566 (#2672)
* Fixed the condition to allow user to input keypad numbers
2019-05-03 08:56:23 -04:00
Kobe Raypole
bb16b36ca7 Add policy for article manage action (#2643)
* Add policy for article manage action

This commit adds a policy for the articles#manage method. This will
prevent the error that is stopping article owners from managing their
articles.

* Hide manage button if article isnt published

* account for no current_user

* Move button logic to javascript
2019-05-02 19:31:26 -04:00
Ben Halpern
5891b2ea58
Add application "page" model (#2657)
* Generate page model

* Add page model

* Conditionally modify html rendering
2019-05-02 18:24:06 -04:00
Jess Lee
85d8c43657 Update Listings Price (#2660)
* update view

* adjust styling and add fourth price

* update pricing

* adjust styling based on feedback

* update cost per credit

* fix cost per credit numbers
2019-05-02 18:10:42 -04:00
Ben Halpern
4c3a9b483e
Small cached attribute fix (#2663)
* Add profile_image_90 to serialized data on article

* Cached org tweaks
2019-05-02 16:24:49 -04:00
Ben Halpern
5e64ae874e
Remove includes user from stories query to reduce num queries and memory (#2662)
* Add profile_image_90 to serialized data on article

* Remove includes user from stories query
2019-05-02 15:58:58 -04:00
Ben Halpern
f12f00decd
Add profile_image_90 to serialized data on article (#2661) 2019-05-02 15:47:22 -04:00
Ben Halpern
8aa6636a96
Minor cache improvements to tag index (#2659) 2019-05-02 15:00:00 -04:00
Ben Halpern
821d45104a
Create serialized cached user and cached organization for articles (#2658)
* Create cached user and cached organization for articles

* Remove pages table
2019-05-02 14:42:28 -04:00
Jess Lee
5e193fdcd7 Create listings permalink (#2637)
* create listings show route

* add link to listings

* include slug in json

* migrate test environment

* unlink listing title

* fix formatting

* remove slug data from json

* remove auto linting

* fix spacing

* add to algolia index?

* actually add index?

* fix merge conflicts?

* update query
2019-05-02 14:14:40 -04:00
Some-Dood
e3e1a02ad3 [UX] Add hover effect for sidebar-profile-snapshot (#2650) [ci skip] 2019-05-02 13:51:58 -04:00
rhymes
0e41a37eb6 Fix saved/unsave alignment (#2653) [ci skip] 2019-05-02 12:53:40 -04:00
Mario See
96a0235168 Change DevComment#render to utilize html.erb (#2554) [ci skip] 2019-05-02 12:05:55 -04:00
Mario See
e90bb2bf53 dev tag liquid tag render utilize html.erb (#2641)
* init refactor

* fix cc issue
2019-05-02 08:53:58 -04:00
Nick Taylor
957d1887b7 More themeable mixin in action (#2646)
* More themeable mixin in action.

* Missed a CSS var to themeable mixin.
2019-05-01 20:33:25 -04:00
Ben Halpern
7100eab636
Fix social image order logic (#2645) 2019-05-01 18:47:10 -04:00
Westbrook Johnson
e843d9dc96 Add file argument to Stackblitz embed. (#2590) 2019-05-01 16:28:37 -04:00
Ben Halpern
f0663d83ca
Add nightmode image (#2640) 2019-05-01 15:14:18 -04:00
Diogo Mafra
6de9515ec0 [UX] Add on-hover to chronofilter links (#2478) 2019-05-01 15:05:13 -04:00
Kobe Raypole
0b93507da6 Extract comment's async methods to jobs (#2596) 2019-05-01 13:59:50 -04:00