Commit graph

1958 commits

Author SHA1 Message Date
Rushaine McBean
6fbfdd02f6 Updates links within repo README for setting up environment variables (#2628) 2019-04-30 14:29:37 -04:00
rhymes
89e986f066 Removes pry and pry-rails from production (#2629)
Closes #2626
2019-04-30 14:29:05 -04:00
dependabot[bot]
fd63db2aa6 Bump bullet from 5.9.0 to 6.0.0 (#2607)
Bumps [bullet](https://github.com/flyerhzm/bullet) from 5.9.0 to 6.0.0.
- [Release notes](https://github.com/flyerhzm/bullet/releases)
- [Changelog](https://github.com/flyerhzm/bullet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/flyerhzm/bullet/compare/5.9.0...6.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-30 09:38:57 -04:00
Anna Buianova
b50c2d333d Add indexes to classified_listings (#2624) 2019-04-30 09:35:30 -04:00
Anna Buianova
d2d405ad37 Add validation to classified_listings user and organization (#2625) 2019-04-30 09:35:08 -04:00
rhymes
9210f6793b Improvements on dev docs (#2616)
* Correct installation documentation

* Add stylized titles

* Add some changes to the getting started documentation

* Add changes for the backend guide

* Add changes for the design guide

* Add testing / Q&A guide improvements

* Minor fixes to contributing docs

* More improvements to the general doc

* Improvements for frontend guide
2019-04-29 18:54:29 -04:00
Ben Halpern
4b91dd5912
Make a couple changes to Twitch MVP before push (#2622) 2019-04-29 18:53:09 -04:00
Corey Alexander
ec388804df Embed Twitch Live Streaming (#2591)
* Get a job created that can create a webhook subscription for a twitch user login

* Remove ngork url

* Refactor add store the access token in the cache

* Get a controller stood up to recieve the webhooks. Now they just need to be processed

* Get User columns added and got webhook controller bones working

* Update the webhook job to use the User

* Add a way for the User to input their Twitch User Name. Plus a linter fix

* Delay webhook registration when profile is updated

* Don't add _ in username

* Use String columns

* Quick fix and add some more requests specs

* Specs for the webhook job

* Get a show page Twitch Live Streams. Just a straight embed of the Twitch Everything Embed UI. Works surprisingly well responsively, and works on all screen sizes

* Fix Gemfile.lock from merge issues

* Add support for expired tokens and add spec

* Add secrets to webhook registration and clean up spec to remove token logic

* Verify webhook secret and spec it

* Add rake task to enqueue webhook registration for all Users. This can be used from Heroku Scheduler

* Update the lease seconds to be for 5 days

* Actually lets do 7 so we can refresh twice a week and try to make sure that we can always miss one

* Hijack the existing Twitch logo instead of making a duplicate one

* Remove comment and replace with log line

* Remove some white space

* Log to Airbrake when webhook errors occur

* Move to passing in an id instead of User object

* Extract logic from Job to Service object

* Capitilize in the view

* Move out of models and into services

* Remove letover stub

* Remove one usage of Faraday

* Use HTTParty for all the HTTP here
2019-04-29 18:11:53 -04:00
Bolarinwa Balogun
5b0340351b Fix non-english characters delete on tags (#2579) 2019-04-29 17:33:14 -04:00
Anna Buianova
2ea6accec1 Fix name resolving error on export (#2612)
* Fix name resolving error on export

* Fix exporter service spec
2019-04-29 15:37:50 -04:00
rhymes
af83bab2d0 Escape range separator (#2593)
The char "-" in regexp defaults a a separator for a range of character, for example: "a-z", Ruby is smart enough to understand "-_" is no range but it does emit a warning, by properly escaping the char "-" we ensure that no warning or issues can arise in the future.
2019-04-29 14:27:26 -04:00
Mac Siri
d1b286a835 Fix inconsistent spec 2019-04-29 13:06:56 -04:00
Bolarinwa Balogun
e04d84bc4c Improve Gist Link Regex (#2592)
* Improve Gist Link Regex

While working with the gist liquid tag, I noticed that valid gist links
were resulting in errors. After looking at `gist_tag.rb`, I noticed
that for a link to be considered valid the gist-id had to be exactly 32
characters which is not always true.

I changed the regex so links with a gist-id of at least one character and
at most 32 characters is considered valid. I decided to continue with
the 32 characters that had previously been used as the upper bound. I
also made a change so links with a github username that starts or ends
with hypens or contains consecutive hypens are considered invalid. The
aforementioned change was based on the validation message from the
create new GitHub account form.

* Change gist_link to gist_links in spec file for Gist tag
2019-04-29 12:24:52 -04:00
rhymes
743316b528 Move send new badge achievement notification to ActiveJob (#2474) 2019-04-29 10:51:08 -04:00
Andrew Brown
30dcb23169 #2507 - refactor GitDocs documentation (#2595)
* #2507 - refactor GitDocs documentation

* #2507 - fix grammar and spelling errors
2019-04-29 10:08:22 -04:00
Peter Frank
d8333fa708 Add "ago" to article's timestamp (#2613) 2019-04-29 09:58:29 -04:00
dependabot[bot]
92222e6acc Bump recaptcha from 4.13.2 to 4.14.0 (#2604) [ci skip]
Bumps [recaptcha](https://github.com/ambethia/recaptcha) from 4.13.2 to 4.14.0.
- [Release notes](https://github.com/ambethia/recaptcha/releases)
- [Changelog](https://github.com/ambethia/recaptcha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ambethia/recaptcha/compare/v4.13.2...v4.14.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-29 09:56:34 -04:00
dependabot[bot]
3cfc3a5b43 Bump eslint-config-prettier from 4.1.0 to 4.2.0 (#2605) [ci skip]
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v4.1.0...v4.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-29 09:54:52 -04:00
dependabot[bot]
e73a6aaef3 Bump ancestry from 3.0.5 to 3.0.6 (#2609) [ci skip]
Bumps [ancestry](https://github.com/stefankroes/ancestry) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/stefankroes/ancestry/releases)
- [Changelog](https://github.com/stefankroes/ancestry/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefankroes/ancestry/compare/v3.0.5...v3.0.6)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-29 09:53:40 -04:00
dependabot[bot]
f31b6bf03c Bump twilio-ruby from 5.22.0 to 5.22.2 (#2602)
Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby) from 5.22.0 to 5.22.2.
- [Release notes](https://github.com/twilio/twilio-ruby/releases)
- [Changelog](https://github.com/twilio/twilio-ruby/blob/master/CHANGES.md)
- [Commits](https://github.com/twilio/twilio-ruby/compare/5.22.0...5.22.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-29 09:48:19 -04:00
Ben Halpern
076047e13b
Add proper filtering for inappropriate tags in listings (#2611) 2019-04-29 09:21:42 -04:00
cyrillefr
c3cb6d9b66 Move moderation notification to Active Jobs (#2550)
- send_moderation_notification in own job
    - that calls a service
    - specs for job + service
    - minor refactoring
2019-04-29 09:21:15 -04:00
dependabot[bot]
d37c51b442 Bump twilio-video from 1.17.0 to 1.18.0 (#2599)
Bumps [twilio-video](https://github.com/twilio/twilio-video.js) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/twilio/twilio-video.js/releases)
- [Changelog](https://github.com/twilio/twilio-video.js/blob/1.18.0/CHANGELOG.md)
- [Commits](https://github.com/twilio/twilio-video.js/compare/1.17.0...1.18.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-29 09:03:33 -04:00
dependabot[bot]
8b770a205b Bump codemirror from 5.45.0 to 5.46.0 (#2600)
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.45.0 to 5.46.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.45.0...5.46.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-29 08:29:26 -04:00
dependabot[bot]
7fb568c548 Bump bootsnap from 1.4.2 to 1.4.4 (#2606)
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.4.2 to 1.4.4.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.4.2...v1.4.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-29 08:28:35 -04:00
Ben Halpern
398aa71ec3
Adjust cache settings and some styling (#2588) 2019-04-27 10:36:37 -04:00
Jess Lee
9bb409e818 Clear cache on sidebars on user merge (#2562)
* clears rails cache on sidebars

* update profile and sidebar in one line
2019-04-26 19:44:59 -04:00
Kobe Raypole
447b1eaa38 Add timestamp to comment and post notifications (#2565)
This commit adds timestamps to the comment and post notifications.
Instead of using `strftime` and ordinalizing the date I decided to use the
`time_ago_in_words` methods. I think that this looks better and is more
accurate when it comes to notifications recently received. The final say
is up to the main contributors though, if you would like me to change it
back let me know.
2019-04-26 19:43:21 -04:00
rhymes
04d2bb4190 Remove last remnants of Flipflop (#2585) 2019-04-26 19:26:45 -04:00
Ben Halpern
bfedee0561
Fix some listing/credit bugs (#2584)
* Fix some listing/credit bugs

* Tack on codepen team link fix

* Fix test

* Actually fix test
2019-04-26 19:01:35 -04:00
Jess Lee
0383873070 Add credit form to internal/users (#2581)
* add credit form to internal users

* add missing file whoooops
2019-04-26 12:48:00 -04:00
rhymes
158c398df4 Remove unused timeString statements (#2568) [ci skip] 2019-04-26 12:42:49 -04:00
rhymes
2be61f826f Upgrade draper to 3.1.0 (#2572) [ci skip] 2019-04-26 12:39:35 -04:00
Anna Buianova
74d676c4c3 Remove unused code (#2567) [ci skip] 2019-04-26 12:16:16 -04:00
rhymes
21ce3c3735 Upgrade counter_culture to 2.2.1 (#2571) 2019-04-26 11:54:10 -04:00
rhymes
189f9a0f98 Upgrade httparty to 0.17.0 (#2574) [ci skip] 2019-04-26 11:36:53 -04:00
rhymes
c95a00ce19 Upgrade rubocop-performance to 1.1.0 (#2575) [ci skip] 2019-04-26 11:34:24 -04:00
rhymes
4c0ace7689 Upgrade test-prof to 0.8.0 (#2576) [ci skip] 2019-04-26 11:33:50 -04:00
rhymes
6e6189e1a1 Upgrade webdrivers to 3.8.0 (#2577) [ci skip] 2019-04-26 11:32:48 -04:00
rhymes
2bf3e38a73 Fix double AWS_LAMBDA initialization (#2570) 2019-04-26 11:15:18 -04:00
rhymes
2d48a4404f Upgrade dry-struct to 1.0 (#2578) 2019-04-26 11:13:14 -04:00
Ben Halpern
a711e2246e
Add proper twitch url migration (#2561)
* Add proper twitch url migration

* Change schema version
2019-04-25 17:38:21 -04:00
Bolarinwa Balogun
1578befdf1 Add Twitch to Profile Links (#2557) 2019-04-25 16:14:28 -04:00
Ben Halpern
3f92ac4919
Fix/improve edits for listings (#2555)
* Fix the edit process for listings

* Add category to listing

* Fix issue in listing update
2019-04-25 16:12:50 -04:00
Jess Lee
834b9423da Unsub users only if they have an email (#2556) 2019-04-25 15:46:40 -04:00
Mario See
c1456ee9d6 Fix reading list comments reaction (#2493)
* just opening PR

* add comments-container id to comment-trees

- allows initializeCommentsPage() to attach event listeners to heart reaction buttons
- reactions are created now when clicked
- page still needs to properly render reactions in its "reacted" state and proper reaction count/tally

* reactions, counts, and reacted state are accurate

adds readinglist ids to comment container parent, initializeCommentsPage handles lists of ids now instead of just one id, /reactions?... get request is now synchronous to handle multiple ids

* catch styling for reading list comments

* make xmlhttprequest async
2019-04-25 14:33:19 -04:00
Glenn Carremans
bd9ed2c67a Add organizations to total following count (#2544) 2019-04-25 13:55:49 -04:00
Anna Buianova
d57f8eec4a BlackBox specs #2524 (#2542)
* Specs for FuctionCaller

* Fix accepting nil values from AWS lambda

* Specs for the black_box #2524

* Spec for BlackBox#comment_quality_score

* Remove vcr cassette usage from the CouponGenerator spec
2019-04-25 10:19:11 -04:00
Ben Halpern
012b2a482c
Fix video image on scroll (#2551) 2019-04-25 10:17:44 -04:00
Mac Siri
4b5622f47b
Config Gitpod's prebuilds [ci skip] 2019-04-25 08:35:38 -04:00