Commit graph

1314 commits

Author SHA1 Message Date
Ben Halpern
7f7a35048a
Find by title or feed source URL in rss fetch (#1560) 2019-01-15 15:34:13 -05:00
Ben Halpern
47e8fbc9ec
Add feed_fetched_at for users to not refetch unnecessarily (#1555)
* Fix RSS issues by not refetching users as often

* Make rss fetch not forced in rake task

* Remove unnecesary schema line
2019-01-15 13:29:11 -05:00
dependabot[bot]
dbd71b3031 Bump omniauth from 1.8.1 to 1.9.0 (#1529)
Bumps [omniauth](https://github.com/omniauth/omniauth) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/omniauth/omniauth/releases)
- [Commits](https://github.com/omniauth/omniauth/compare/v1.8.1...v1.9.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-15 12:44:47 -05:00
dependabot[bot]
4b31ec23df Bump sdoc from 0.4.2 to 1.0.0 (#1532) [ci skip]
Bumps [sdoc](https://github.com/zzak/sdoc) from 0.4.2 to 1.0.0.
- [Release notes](https://github.com/zzak/sdoc/releases)
- [Changelog](https://github.com/zzak/sdoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zzak/sdoc/compare/v0.4.2...v1.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-15 12:42:31 -05:00
rhymes
d09e8e481f Log ActiveRecord queries in development (#1549) [ci skip] 2019-01-15 10:35:55 -05:00
Ben Halpern
0dac3b9662
Fix search page reading time issue (#1544) 2019-01-14 19:04:02 -05:00
Anna Buianova
53e8490e75 Refactor redirect from the old username or organization slug (#1527) 2019-01-14 18:10:57 -05:00
Ben Halpern
d988bc71f9
Add reading time to articles (#1538)
* add comment template

* merge upstream

* Initial work

* make sure the template re-appears for top level comments after submission

* Small fix

* Fix git issues

* Account for missing reading times

* Add minimal score on sidebar

* Test for page to include min read

* rubocop cleanup

* Mess with test

* Add .to_i after score

* Modify search_score var
2019-01-14 15:58:33 -05:00
Andy Zhao
7726acf157 Update notification's request specs (#1450)
Fixes all the notification request specs that were xited. This should help us feel more comfortable making changes to notifications.

Also made a small (performance?) improvement by using an already defined variable.
2019-01-14 15:20:04 -05:00
Mac Siri
f780e5fbc9 Refactor RssReader (#1537)
* Update RssReader::get_all_articles

* Move RssReader to services

* Create RssReader::Assembler

* Improve RssReader's spec
2019-01-14 14:25:49 -05:00
dependabot[bot]
3b967a4a38 Bump google-api-client from 0.25.0 to 0.27.3 (#1533)
Bumps [google-api-client](https://github.com/google/google-api-ruby-client) from 0.25.0 to 0.27.3.
- [Release notes](https://github.com/google/google-api-ruby-client/releases)
- [Changelog](https://github.com/googleapis/google-api-ruby-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/google-api-ruby-client/compare/0.25.0...0.27.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-14 11:43:27 -05:00
dependabot[bot]
113e86cd97 Bump dalli from 2.7.8 to 2.7.9 (#1531) [ci skip]
Bumps [dalli](https://github.com/petergoldstein/dalli) from 2.7.8 to 2.7.9.
- [Release notes](https://github.com/petergoldstein/dalli/releases)
- [Changelog](https://github.com/petergoldstein/dalli/blob/master/History.md)
- [Commits](https://github.com/petergoldstein/dalli/compare/v2.7.8...v2.7.9)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-14 11:43:06 -05:00
dependabot[bot]
a4ce130156 Bump eslint-config-prettier from 3.3.0 to 3.4.0 (#1534) [ci skip]
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 3.3.0 to 3.4.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/v3.3.0...v3.4.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-14 11:38:20 -05:00
Andy Zhao
e3f9792b21 Add logging info in case sign in fails (#1519)
* Add logging info in case sign in fails

* Use string interpolation instead

* Remove logger from auth service
2019-01-14 10:01:17 -05:00
dependabot[bot]
12d31853de Bump twilio-video from 1.14.2 to 1.15.0 (#1535)
Bumps [twilio-video](https://github.com/twilio/twilio-video.js) from 1.14.2 to 1.15.0.
- [Release notes](https://github.com/twilio/twilio-video.js/releases)
- [Changelog](https://github.com/twilio/twilio-video.js/blob/1.15.0/CHANGELOG.md)
- [Commits](https://github.com/twilio/twilio-video.js/compare/1.14.2...1.15.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-14 09:59:44 -05:00
dependabot[bot]
c842b83781 Bump derailed_benchmarks from 1.3.4 to 1.3.5 (#1530)
Bumps [derailed_benchmarks](https://github.com/schneems/derailed_benchmarks) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/schneems/derailed_benchmarks/releases)
- [Changelog](https://github.com/schneems/derailed_benchmarks/blob/master/CHANGELOG.md)
- [Commits](https://github.com/schneems/derailed_benchmarks/compare/v1.3.4...v1.3.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-14 09:53:02 -05:00
Anna Buianova
8610d503a4 Rubocop fixes (#1528) 2019-01-14 09:17:01 -05:00
Jess Lee
aecb0409a2 update unmatched mentor query (#1521) 2019-01-13 16:04:12 -05:00
Bogdan Covrig
d6d95024ae Update the installation documentation (#1525)
* Edited Algolia

* Added Algolia sign-up stepts

* Added sign up Twitter doc

* Changed Twitter info

* Added Twitter and Agolia screenshots

* Added Github and Pusher sections

* Added Github and Pusher sections
2019-01-13 16:03:16 -05:00
Arun Kumar
a0d39e15bd Fix braces around hash params Rubocop offense (#1453) 2019-01-11 13:08:45 -05:00
M. Bellucci
a52af3da8b Avoid using meta-programming for solving code duplication. (#1457)
* Add feature spec for twitter login

* Avoid using class eval for solving code duplication.

This change make code easier to change in the future.

* Fix codeclimate issues

* Introduce explanatory methods
2019-01-11 12:00:09 -05:00
Ben Halpern
2fd314e40b
Fix chat css and banish logic (#1515) 2019-01-10 18:09:42 -05:00
Abraham Williams
37ebb5f836 Switch buffer gem to published version (#1507) 2019-01-10 17:27:13 -05:00
Mac Siri
11684331d4
Silence Delayed::Workers in spec [ci skip] 2019-01-10 16:33:58 -05:00
Mario See
6ade962480 connect message spacing fix (#1259)
* style changes

* removed detail already in parent class

* Update chat.scss

width assertions

* mobile
2019-01-10 14:33:25 -05:00
Andy Zhao
68807c6df7 Allow Organizations to Update Slug/Username (#1411)
* Close anchor tag typo

* Remove confusing message in profile

* Fix typo in spec

* Add old_slug and old_old_slug fields to org

* Test for check_for_slug_change method

* Add ability for orgs to change slug

* Update copy to match new org language

* Add redirect for organizations with old slugs

* Use less queries for handling org/user redirect

* Use consistent syntax for user creation

* Test for organization slug redirects

* Refactor user article redirect
2019-01-10 14:16:43 -05:00
Andrew Bone
4673496830 SlideShare Liquid tag (#1485)
* Create slideshare_tag.rb

* Create slideshare_tag_spec.rb

* Add slide share

* rubocop compliance

* Still learning

https://ruby-doc.org/core-2.5.1/Regexp.html

* More secure match

Co-Authored-By: Link2Twenty <AndrewB05@gmail.com>

* Strip whitespace

Co-Authored-By: Link2Twenty <AndrewB05@gmail.com>

* Strip before regex

Co-Authored-By: Link2Twenty <AndrewB05@gmail.com>

* Remove latter strip

Co-Authored-By: Link2Twenty <AndrewB05@gmail.com>
2019-01-10 12:58:16 -05:00
Anna Buianova
8f348f9831 Fix comment cancel button url (#1508) 2019-01-10 12:25:11 -05:00
Ben Halpern
b4384867ad
Remove access_token key for twitter dump (#1510) 2019-01-10 11:48:27 -05:00
Ali Spittel
715c2a7bba add myself to the core contributors (#1506) 2019-01-09 17:08:47 -05:00
dependabot[bot]
40b578ca67 Bump jbuilder from 2.7.0 to 2.8.0 (#1474)
Bumps [jbuilder](https://github.com/rails/jbuilder) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/rails/jbuilder/releases)
- [Changelog](https://github.com/rails/jbuilder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/jbuilder/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-09 16:41:37 -05:00
dependabot[bot]
b95b641eb4 Bump buffer from 10edfe6 to 3c4bf6a (#1473)
Bumps [buffer](https://github.com/bufferapp/buffer-ruby) from `10edfe6` to `3c4bf6a`.
- [Release notes](https://github.com/bufferapp/buffer-ruby/releases)
- [Commits](10edfe62d4...3c4bf6aec1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-09 16:14:51 -05:00
Vinicius Stock
0725b85e50 Upgrade to Ruby 2.6.0 (#1482)
* Upgrade to Ruby 2.6.0

* Change Ruby version in guides and in travis

* Upgrade Rubocop

* Change Rubocop version for code climate

* Update .codeclimate.yml

* Update badge
2019-01-09 15:59:38 -05:00
Jess Lee
5e4508ebe1 Remove callbacks from banisher + specs! (#1501)
* wip remove callbacks from banisher

* remove pry
2019-01-09 15:12:38 -05:00
Ben Halpern
ebc859f574
Fix user-select issue in comments (#1502) 2019-01-08 19:38:13 -05:00
Andy Zhao
08e01b2c2a Fix Podcast Liquid Tag (#1500)
* Test for podcast tag properly rendering

* Include CL helper
2019-01-08 18:45:42 -05:00
Mario See
8bb1716935 connect chat message markdown styling (#1487)
* remove inline markdown rule

* broaden evaluate_inline_markdown

basically same as evaluate_markdown but without class attributes

* remove inline markdown parser

* change code block color and background

* even out code padding top/bottom
2019-01-08 17:48:12 -05:00
Ben Halpern
d187795603
Update dashboard_show admin permissions (#1496)
* Update dashboard_show admin permissions

* Add :admin access to update posts
2019-01-08 17:46:31 -05:00
Ben Halpern
f626a3a2ad
Modify display and style of API tokens (#1490)
* Modify display and style of API tokens

* Delete accidentally-included slideshare tag
2019-01-08 16:17:00 -05:00
Ben Halpern
7333aa5436
Fix comment creation (#1495) 2019-01-08 14:29:49 -05:00
dependabot[bot]
029a3a2fd3 Bump carrierwave from 1.2.2 to 1.3.1 (#1475)
Bumps [carrierwave](https://github.com/carrierwaveuploader/carrierwave) from 1.2.2 to 1.3.1.
- [Release notes](https://github.com/carrierwaveuploader/carrierwave/releases)
- [Changelog](https://github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.md)
- [Commits](https://github.com/carrierwaveuploader/carrierwave/compare/v1.2.2...v1.3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-08 13:31:04 -05:00
Andy Zhao
a612730b6b Remove extraneous slash for path (#1489) 2019-01-08 13:25:08 -05:00
Ben Halpern
7c8f71251d
Add details to toggles and modify some styling (#1484)
* Add details to toggles and modify some styling

* Add details to child comments

* Finalize comment collapse in nested comments

* Modify styling on comment <details>
2019-01-08 12:53:48 -05:00
Timothy Ng
84bd3a69d7 ApiSecret model for Developer API (#1369)
* Add ApiSecret model scaffold

* Add relationships between ApiSecret, User, Organization

* Add placeholder template to account tab

* Add description column to ApiSecrets

* Add very basic access token generation

* Add basic access token deletion

* Show access token on success flash

* Add placeholder message when user has no secrets

* Use cta style on token generation button

* Add presence validation for ApiSecret description

* Add ApiSecrets factory

* Add pundit policy for ApiSecret

* Nest form field within api_secret hash to allow rails strong params

* Use pundit to authorize ApiSecretController actions

* Add error message flash for ApiSecretsController actions

* Add specs for ApiSecretsController

* Add length validation to api secret description

* Flash model error instead of generic message on save failure

* Truncate ApiSecret factory objects descriptions to prevent validation error

* Remove length restriction on ApiSecret.description

* Use darker font color for token creation date

* Consolidate ApiSecret migrations
2019-01-08 12:30:54 -05:00
Andrew Bone
9ea53d5669 Add --theme-container-color (#1479)
* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements
2019-01-07 15:56:01 -05:00
Mac Siri
f4ca4a15e5 Fix liquid tag parsing error (#1481)
* Fix liquid tag parsing error

* Update spec
2019-01-07 15:54:57 -05:00
dependabot[bot]
32defff391 Bump marked from 0.5.2 to 0.6.0 (#1477)
Bumps [marked](https://github.com/markedjs/marked) from 0.5.2 to 0.6.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.5.2...v0.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 11:32:20 -05:00
Andrew Bone
abc8aaf793 Missed --theme-container-border (#1480)
* Missed --theme-container-border

Adding --theme-container-border for missed elements

* Missed --theme-container-border

Adding --theme-container-border for missed elements

* Missed --theme-container-border

Adding --theme-container-border for missed elements
2019-01-07 11:27:02 -05:00
dependabot[bot]
1c6ee19aa2 Bump eslint-plugin-react from 7.12.2 to 7.12.3 (#1478) [ci skip]
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.12.2 to 7.12.3.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.12.2...v7.12.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 10:38:59 -05:00
dependabot[bot]
6750b58ebc Bump eslint from 5.11.1 to 5.12.0 (#1476) [ci skip]
Bumps [eslint](https://github.com/eslint/eslint) from 5.11.1 to 5.12.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.11.1...v5.12.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 10:37:55 -05:00