Commit graph

2184 commits

Author SHA1 Message Date
Ben Halpern
ae47e8db2c
Add API portal (#2915)
* Add API portal

* Change title tag
2019-05-21 12:46:52 -04:00
Monica Powell
d1357608ea improve contrast of badge-reward-message (#2909)
* improve contrast of badge-reward-message

* update styling to work in multiple themes
2019-05-21 12:43:41 -04:00
Ben Halpern
2aa01d44a2
Add listings to home page (#2912) 2019-05-21 10:21:49 -04:00
rhymes
5e94533f0b Articles API: fix update org and add datetimes (#2913)
* Allow the article to be assigned to an org on update

* Add all the relevant datetimes, those available in the export

* Not all dates are always available
2019-05-21 09:53:30 -04:00
Kartikey Tanna
03a122f0ce Implemented ActiveJob for RateLimitChecker Job (#2878)
* Implemented ActiveJob for RateLimitChecker Job

* Changes as per the review

* Further changes as per the review
2019-05-21 08:45:58 -04:00
rhymes
ff929fcf14 Some small performance improvements (#2876)
* Improve a few idioms with their faster counterparts

* Remove unused routes and some dead code

* Add the option to use bullet in testing mode and move rack host redirect

* Go back to the classic fetch to make mocking work

* Reorder gems and fix code climate issue
2019-05-20 18:53:31 -04:00
rhymes
85e33583c8 Fix organization article ownership code (#2904)
* Fix organization article ownership code

* Query the DB in case of user change only if needed
2019-05-20 18:50:04 -04:00
Mac Siri
d8616b8b92
Fix date related spec failures (#2906) [ci skip] 2019-05-20 14:52:58 -04:00
dependabot[bot]
d4741deaca Bump @storybook/addon-actions from 5.0.5 to 5.0.11 (#2887) [ci skip]
Bumps [@storybook/addon-actions](https://github.com/storybooks/storybook/tree/HEAD/addons/actions) from 5.0.5 to 5.0.11.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/commits/v5.0.11/addons/actions)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 14:00:58 -04:00
cyrillefr
abb4831a53 Move remove_all notifications method in own job (#2882)
- that calls a service
    - spec for job + service
    - check actual integration spec
    - minor refactoring
2019-05-20 13:54:39 -04:00
Ben Halpern
c08d140b36
Remove some dead code for very minor perf improvements and code quality (#2905) 2019-05-20 13:40:02 -04:00
dependabot[bot]
b0a371aa39 Bump aws-sdk-lambda from 1.22.0 to 1.25.0 (#2897 [ci skip]
Bumps [aws-sdk-lambda](https://github.com/aws/aws-sdk-ruby) from 1.22.0 to 1.25.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-lambda/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/compare/1.22.0...1.25.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 13:35:13 -04:00
Molly Struve
d65889b8a8 Add text explaining how to setup anchor links for blog posts (#2884) 2019-05-20 13:30:08 -04:00
dependabot[bot]
6fc072f647 Bump @storybook/addon-links from 5.0.5 to 5.0.11 (#2889) [ci skip]
Bumps [@storybook/addon-links](https://github.com/storybooks/storybook/tree/HEAD/addons/links) from 5.0.5 to 5.0.11.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/commits/v5.0.11/addons/links)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 13:26:54 -04:00
Ben Halpern
ec900a3146
Add safe navigation within chatchannelmemberships and remove some console.logs (#2903) 2019-05-20 13:20:06 -04:00
dependabot[bot]
a0ca7c9f45 Bump dalli from 2.7.9 to 2.7.10 (#2899)
Bumps [dalli](https://github.com/petergoldstein/dalli) from 2.7.9 to 2.7.10.
- [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.9...v2.7.10)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 12:13:12 -04:00
dependabot[bot]
a7ad3e6da8 Bump husky from 2.2.0 to 2.3.0 (#2888) [ci skip]
Bumps [husky](https://github.com/typicode/husky) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v2.2.0...v2.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 12:10:03 -04:00
dependabot[bot]
31741fbca4 Bump @storybook/addons from 5.0.5 to 5.0.11 (#2890) [ci skip]
Bumps [@storybook/addons](https://github.com/storybooks/storybook/tree/HEAD/lib/addons) from 5.0.5 to 5.0.11.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/commits/v5.0.11/lib/addons)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 12:09:14 -04:00
dependabot[bot]
4a1ebaf254 Bump stripe from 4.16.0 to 4.17.0 (#2900) [ci skip]
Bumps [stripe](https://github.com/stripe/stripe-ruby) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/stripe/stripe-ruby/releases)
- [Changelog](https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stripe/stripe-ruby/compare/v4.16.0...v4.17.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 12:08:47 -04:00
dependabot[bot]
79d7b1cb97 Bump eslint-config-prettier from 4.2.0 to 4.3.0 (#2892) [ci skip]
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 4.2.0 to 4.3.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.2.0...v4.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 12:03:37 -04:00
dependabot[bot]
96f052709c Bump algorithmia from 1.0.1 to 1.1.0 (#2896) [ci skip]
Bumps [algorithmia](https://github.com/algorithmiaio/algorithmia-ruby) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/algorithmiaio/algorithmia-ruby/releases)
- [Commits](https://github.com/algorithmiaio/algorithmia-ruby/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 12:02:40 -04:00
dependabot[bot]
e3a53751d9 Bump capybara from 3.19.1 to 3.20.2 (#2895) [ci skip]
Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.19.1 to 3.20.2.
- [Release notes](https://github.com/teamcapybara/capybara/releases)
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md)
- [Commits](https://github.com/teamcapybara/capybara/compare/3.19.1...3.20.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 12:01:26 -04:00
dependabot[bot]
3a234888a4 Bump jbuilder from 2.8.0 to 2.9.1 (#2898) [ci skip]
Bumps [jbuilder](https://github.com/rails/jbuilder) from 2.8.0 to 2.9.1.
- [Release notes](https://github.com/rails/jbuilder/releases)
- [Changelog](https://github.com/rails/jbuilder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/jbuilder/compare/v2.8.0...v2.9.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 12:00:26 -04:00
dependabot[bot]
08868e96de Bump lint-staged from 8.1.6 to 8.1.7 (#2891)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 8.1.6 to 8.1.7.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v8.1.6...v8.1.7)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 10:27:12 -04:00
Ben Halpern
70580d0265
[WIP] Connect misc improvements/debugs (#2880)
* WIP Connect misc improvements/debugs

* Modify tests and update snapshots

* Change GitHub sidecar copy
2019-05-20 10:08:51 -04:00
dependabot[bot]
e7d91f0371 Bump prettier from 1.17.0 to 1.17.1 (#2893)
Bumps [prettier](https://github.com/prettier/prettier) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.17.0...1.17.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 09:06:48 -04:00
dependabot[bot]
8a5f01c831 Bump twilio-ruby from 5.22.2 to 5.23.0 (#2901)
Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby) from 5.22.2 to 5.23.0.
- [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.2...5.23.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 09:06:23 -04:00
rhymes
c9116f6d4d Add rhymes to core team in README [ci skip] (#2875) 2019-05-18 18:47:06 -04:00
rhymes
abe02a3eb8 Add awesome_print to development/test gems (#2874) 2019-05-18 18:46:20 -04:00
Jess Lee
b935fdd920 Limit number of cover image uploads (#2851) 2019-05-17 15:59:07 -04:00
Ben Halpern
bd22edc73c
Add visual indicator for chat channel more details (#2477)
* Add visual indicator for chat channel more details

* Don't show block button in non-direct context
2019-05-17 11:10:07 -04:00
Corey Alexander
4680dd2835 Add Submit Button to Integrations Tab (#2863)
* Add Submit Button to Integrations Tab

Was just browsing around dev.to and realized there wasn't a submit
button on this page, so I added one!

I tried to get a system spec stood up but ran into issues with hitting
the GitHub API that wasn't mocked out. I didn't spend enough time
getting the correct mocking to work, but I might try to get that pushed
up too.

* Get the mocking working with a sample repo

* Rewrite some of the rspec contexts
2019-05-17 10:58:30 -04:00
Anna Buianova
265dc3761b Fix #2784, Don't fail when twitch returns no user data (#2865) 2019-05-17 10:54:29 -04:00
rhymes
2660ae1739 Use cached_tag_list_array for tags (#2857) 2019-05-16 23:29:57 -04:00
rhymes
f3496edb1c Articles update API: send publishing notification and set edited_at (#2859)
* Send notification on the first publishing

* Update edited_at when appropriate
2019-05-16 23:02:05 -04:00
rhymes
61a6c7f17c Add description to articles create/update API (#2858) 2019-05-16 22:56:37 -04:00
rhymes
7f28a0e44b Unpack milestone hash (#2860) 2019-05-16 22:54:57 -04:00
rhymes
d4b0b3fef2 Ensure the collection always belongs to the article owner (#2861) 2019-05-16 20:26:57 -04:00
Ben Halpern
6c2498b1b8
Render correct editor based on article's existing format (#2856)
* Render correct editor based on article's existing format

* Add check for user in /new
2019-05-16 15:25:43 -04:00
Ben Halpern
fb6904f86d
Fix up articles controller (#2855)
* Fix up articles controller

* Update request specs

* Add proper post_under_org tests

* Remove create_job_opportunity

* Add user profile back in
2019-05-16 13:56:26 -04:00
cyrillefr
68f06c2076 send_milestone_notification in own job (#2804)
- that calls a service
  - spec for job + move spec to service
  - minor refactoring
2019-05-16 13:46:50 -04:00
dependabot[bot]
ccf4926f05 Bump storext from 2.2.2 to 3.0.0 (#2708)
Bumps [storext](https://github.com/g5/storext) from 2.2.2 to 3.0.0.
- [Release notes](https://github.com/g5/storext/releases)
- [Changelog](https://github.com/G5/storext/blob/master/CHANGELOG.md)
- [Commits](https://github.com/g5/storext/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-16 13:08:54 -04:00
rhymes
941ab4178b Articles API: create and update (#2844)
* Add system test to create article from the editor

* Move article creation from API to app controller

* Fix system test to edit posts

* Move article update from API to app controller

* Rewrite create article API using API key

* Add main_image and canonical_url to allowed creation params

* Rewrite update article API using API key

* Fix tests and have Comments API inherit from API
2019-05-16 12:26:24 -04:00
Ben Halpern
e7306d2e63
Fix pink theme button difference issue (#2852) 2019-05-16 10:17:57 -04:00
Kobe Raypole
2c6cfb2224 Fix user liquid tag text color (#2849)
This commit fixes the styles for the user liquid tag to match the
current theme.
2019-05-16 08:10:16 -04:00
Tim Lange
2837e5430a Refactor Onboardings (#2475) 2019-05-15 17:51:19 -04:00
rhymes
89d1be167a Upgrade fog-aws from 2.0 to 3.5 (#2800) 2019-05-15 16:43:56 -04:00
Bruno Konrad
c40cd42286 Fix prefered language checkbox label (#2820) [ci skip] 2019-05-15 16:34:29 -04:00
Ben Halpern
1ddbea31f5
Fiddle with padding and adjust colors on show page (#2845) 2019-05-15 12:44:19 -04:00
Andy Zhao
d8e2e8e3d4 Strip org secret before searching and add better error handling for invalid secrets (#2833)
* Strip the org_secret param of whitespace

* Show an error message instead of 404ing

* Remove quotaton marks oops
2019-05-15 12:38:21 -04:00