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
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