Commit graph

213 commits

Author SHA1 Message Date
Mac Siri
1663e7e2c8 Implement Badge & BadgeAchievement model (#273)
* Create migration for Badge & BadgeAchievement

* Create Badge model with spec & BadgeUploader

* Create BadgeAchievement with spec

* Add badges & badge_achievements assoc to User

* Fix typo

* Clean up BadgeUploader

* Remove storage config & Fix lint

* Add allow-duplicate-badge spec
2018-05-07 13:35:16 -04:00
Ben Halpern
524052234a
Add email_digest_eligible check to non-following emails (#278) 2018-05-03 17:34:31 -04:00
Ben Halpern
40a8476704
[WIP] Add super beta video upload (#277)
Add super beta video upload
2018-05-03 16:27:52 -04:00
Andy Zhao
63e5c7bf40 Remove logger info when signing in (#274) 2018-05-03 15:58:27 -04:00
Mac Siri
c8ea080435 Add wait-for Runkit embed (#276) 2018-05-03 15:58:06 -04:00
Peter Frank
954f2b1d0c Change JWplayer link (#275)
Updating the JW Player link on the Javascript tag per their instructions
2018-05-03 15:11:28 -04:00
Ben Halpern
881195be04
Move statement timeout to env variable (#271)
* Move statement timeout to env variable

* Fallback on statement timeout
2018-05-02 15:03:36 -04:00
Ben Halpern
808ea3a466
Add boost states in for real (#270)
* Add boost states in for real

* Fix schema issue
2018-05-02 14:14:49 -04:00
Ben Halpern
f2101410ea
[WIP] Improve article boosting abilities and insights (#237)
* Update email subjects split test

* Create alternate editor

* Add proof of concept to emails

* Add utm for internal nav

* Add ability to boost in DEV Digest

* Adjust articles.scss

* Adjust article_form.scss

* Remove unnecessary files

* Remove files from PR

* Adjust boosted email settings

* Conditionally include organization in additional box

* Modify schema.rb
2018-05-02 12:24:54 -04:00
Ben Halpern
5a72d0ec56 Make profile modifications WIP 2018-05-02 11:50:11 -04:00
Ben Halpern
8b49110636 Merge branch 'master' of github.com:thepracticaldev/dev.to_core 2018-05-02 09:23:09 -04:00
Mac Siri
f810b9a778 Split up mailers (#260)
* Fix lint

* Split up mailers WIP

* Create spec for ScholarshipMailer

* Create spec for MembershipMailer

* Update to new mail classes

* Remove if/else development cases

* Fix lint
2018-05-01 18:12:26 -04:00
Ben Halpern
c59a4f10be
Add cloudinary prefix to sponsor images (#269) 2018-05-01 17:58:46 -04:00
Ben Halpern
c162259673
Ben/add bugsnag (#268)
Add JWplayer to JS sidebar
2018-05-01 16:47:40 -04:00
Ben Halpern
03b6e905f5
Add bugsnag and the line to sponsors (#266) 2018-05-01 13:42:02 -04:00
Ben Halpern
0d60cb61e9 Merge branch 'master' of github.com:thepracticaldev/dev.to_core 2018-05-01 13:34:15 -04:00
Ben Halpern
60c4a8450c
Ben/small adjust (#265) 2018-05-01 12:46:28 -04:00
Ben Halpern
aa32f321c6
Add May sponsors (#264) 2018-05-01 12:44:28 -04:00
Ben Halpern
e111542d0f Merge branch 'master' of github.com:thepracticaldev/dev.to_core 2018-05-01 12:03:20 -04:00
Ben Halpern
bd56b71c1c
Fix who to follow issues (#263)
* MVP of follow sidebar

* Prettier linted stuff

* More prettier lint

* Load only one widget

* Add optimistic rendering for follow buttons

* Remove redundant line

* Move suggestions to single route

* Exclude self and already followed from suggestions

* Modify query to be more performant and correct

* Add br instead of hr for last element

* Remove code for development woops

* Remove unneeded file
2018-05-01 12:01:32 -04:00
Ben Halpern
e713710c4c Fix who to follow issues 2018-05-01 11:36:35 -04:00
Andy Zhao
d6e3344da7 [Updated] Suggested Follows Sidebar (#240)
* MVP of follow sidebar

* Prettier linted stuff

* More prettier lint

* Load only one widget

* fix github issue comment liquid tag (#242)

* Adjust Flatiron school copy/link (#241)

Per Flatiron School request, updating the homepage copy and link

* Add sticky sidebar to article show page (#243)

* Add sidebar sticky elements

* Add sticky sidebar to article show page

* Add saved changes check to user

* Fix missing CSS variable in sticky nav file

* Add date joined as default summary

* Remove accidentally-included file

* Add check for published on article sidebar

*  Fix styling issues on side nav (#244)

* Add sidebar sticky elements

* Add sticky sidebar to article show page

* Add saved changes check to user

* Fix missing CSS variable in sticky nav file

* Add date joined as default summary

* Remove accidentally-included file

* Add check for published on article sidebar

* Fix styling issues on side nav

* Ben/article show redesign (#245)

* Add sidebar sticky elements

* Add sticky sidebar to article show page

* Add saved changes check to user

* Fix missing CSS variable in sticky nav file

* Add date joined as default summary

* Remove accidentally-included file

* Add check for published on article sidebar

* Fix styling issues on side nav

* Modify article order

* Fix issue in side bar

* Fix issue in side bar

* Ben/article show redesign (#246)

* Add sidebar sticky elements

* Add sticky sidebar to article show page

* Add saved changes check to user

* Fix missing CSS variable in sticky nav file

* Add date joined as default summary

* Remove accidentally-included file

* Add check for published on article sidebar

* Fix styling issues on side nav

* Modify article order

* Fix issue in side bar

* Fix issue in side bar

* Not show author image as other images

* Remove current article id from potential queried articles (#247)

* Add optimistic rendering for follow buttons

* Remove redundant line

* Fix inline stylesheet issue (#248)

* Remove current article id from potential queried articles

* Fix inline stylesheet issue

* Modify sticky_articles source to be more similar to post

* Move assign sticky nav around

* Modify sticky articles

* Attempt to fix sticky

* Fix article show to call 404

* Fix

* Conditional

* Add tag_line to org admin and add conditional on hiring post (#250)

* Modify sticky_article criteria (#251)

* Add tag_line to org admin and add conditional on hiring post

* Modify sticky_article criteria

* Move suggestions to single route

* Exclude self and already followed from suggestions

* Update readme with new API key instructions (#252)

* Modify query to be more performant and correct

* Add br instead of hr for last element

* Remove code for development woops

* Add user articles to sidebar (#253)

* Add user articles to sidebar

* Add organization save-all functionality

* Adjust articles that show up in side sticky bar (#254)

* Add user articles to sidebar

* Add organization save-all functionality

* Adjust articles that show up in side sticky bar

* Add conditional for @user_stickies to show up

* Misc change to styles (#255)

* Add user articles to sidebar

* Add organization save-all functionality

* Adjust articles that show up in side sticky bar

* Add conditional for @user_stickies to show up

* Misc change to styles

* Slight change

* Modified footer center show stuff

* Remove current article author from sticky sidebar (#256)

* Fix article preview issue (#257)

* Update blackbox's API endpoint (#259)

* Modify user tag follow suggestions
2018-04-30 17:45:01 -04:00
Andy Zhao
48ac8f15be Add logging info for sign in (#261)
* Add no instantclick for log out to fix hover 404

* Add logging info for sign in to debug full path
2018-04-30 17:44:43 -04:00
Ben Halpern
8ec9991bd8 Merge branches 'master' and 'andy/feature/suggested-follows-sidebar' of github.com:thepracticaldev/dev.to_core 2018-04-30 14:39:40 -04:00
Mac Siri
e3a270d317 Update blackbox's API endpoint (#259) 2018-04-30 12:24:32 -04:00
Ben Halpern
71392e3e60
Fix article preview issue (#257) 2018-04-29 13:08:20 -04:00
Ben Halpern
6cf8a79c71
Remove current article author from sticky sidebar (#256) 2018-04-28 17:48:20 -04:00
Ben Halpern
2001963863
Misc change to styles (#255)
* Add user articles to sidebar

* Add organization save-all functionality

* Adjust articles that show up in side sticky bar

* Add conditional for @user_stickies to show up

* Misc change to styles

* Slight change

* Modified footer center show stuff
2018-04-28 16:55:11 -04:00
Ben Halpern
0281849e23
Adjust articles that show up in side sticky bar (#254)
* Add user articles to sidebar

* Add organization save-all functionality

* Adjust articles that show up in side sticky bar

* Add conditional for @user_stickies to show up
2018-04-28 13:30:31 -04:00
Ben Halpern
870325677e
Add user articles to sidebar (#253)
* Add user articles to sidebar

* Add organization save-all functionality
2018-04-27 17:44:30 -04:00
Zhao-Andy
a0a9d654f0 Remove code for development woops 2018-04-27 17:33:15 -04:00
Zhao-Andy
a9f28e8092 Add br instead of hr for last element 2018-04-27 17:30:05 -04:00
Zhao-Andy
70e0329f5a Modify query to be more performant and correct 2018-04-27 17:04:09 -04:00
Andy Zhao
fd343db950 Update readme with new API key instructions (#252) 2018-04-26 22:45:26 -04:00
Zhao-Andy
c25cd81d15 Exclude self and already followed from suggestions 2018-04-26 16:54:31 -04:00
Zhao-Andy
71254cebb7 Move suggestions to single route 2018-04-26 16:51:25 -04:00
Ben Halpern
b965fc5814
Modify sticky_article criteria (#251)
* Add tag_line to org admin and add conditional on hiring post

* Modify sticky_article criteria
2018-04-26 15:27:22 -04:00
Ben Halpern
6b2b30274e
Add tag_line to org admin and add conditional on hiring post (#250) 2018-04-26 15:13:11 -04:00
Ben Halpern
e2a35693b1
Fix inline stylesheet issue (#248)
* Remove current article id from potential queried articles

* Fix inline stylesheet issue

* Modify sticky_articles source to be more similar to post

* Move assign sticky nav around

* Modify sticky articles

* Attempt to fix sticky

* Fix article show to call 404

* Fix

* Conditional
2018-04-25 22:15:22 -04:00
Zhao-Andy
d2c68e9755 Remove redundant line 2018-04-25 21:20:49 -04:00
Zhao-Andy
8aef7a4cc5 Add optimistic rendering for follow buttons 2018-04-25 21:14:59 -04:00
Ben Halpern
3903a3a5e4
Remove current article id from potential queried articles (#247) 2018-04-25 18:46:36 -04:00
Ben Halpern
af37587de5
Ben/article show redesign (#246)
* Add sidebar sticky elements

* Add sticky sidebar to article show page

* Add saved changes check to user

* Fix missing CSS variable in sticky nav file

* Add date joined as default summary

* Remove accidentally-included file

* Add check for published on article sidebar

* Fix styling issues on side nav

* Modify article order

* Fix issue in side bar

* Fix issue in side bar

* Not show author image as other images
2018-04-25 18:39:37 -04:00
Ben Halpern
ddf6ad45e1
Ben/article show redesign (#245)
* Add sidebar sticky elements

* Add sticky sidebar to article show page

* Add saved changes check to user

* Fix missing CSS variable in sticky nav file

* Add date joined as default summary

* Remove accidentally-included file

* Add check for published on article sidebar

* Fix styling issues on side nav

* Modify article order

* Fix issue in side bar

* Fix issue in side bar
2018-04-25 18:36:59 -04:00
Ben Halpern
7ce70f5333
Fix styling issues on side nav (#244)
* Add sidebar sticky elements

* Add sticky sidebar to article show page

* Add saved changes check to user

* Fix missing CSS variable in sticky nav file

* Add date joined as default summary

* Remove accidentally-included file

* Add check for published on article sidebar

* Fix styling issues on side nav
2018-04-25 18:22:57 -04:00
Ben Halpern
440714d98b
Add sticky sidebar to article show page (#243)
* Add sidebar sticky elements

* Add sticky sidebar to article show page

* Add saved changes check to user

* Fix missing CSS variable in sticky nav file

* Add date joined as default summary

* Remove accidentally-included file

* Add check for published on article sidebar
2018-04-25 17:55:27 -04:00
Peter Frank
b77f8aa4d5 Adjust Flatiron school copy/link (#241)
Per Flatiron School request, updating the homepage copy and link
2018-04-25 16:43:23 -04:00
Jess Lee
905f88e3fe fix github issue comment liquid tag (#242) 2018-04-25 16:42:58 -04:00
Zhao-Andy
aaa80f4ded Load only one widget 2018-04-25 15:18:43 -04:00
Zhao-Andy
d7d76a2506 More prettier lint 2018-04-25 13:56:05 -04:00