Commit graph

1901 commits

Author SHA1 Message Date
rhymes
8f00c4b883 Upgrade aws-sdk-lambda to 1.21 (#2528) [ci skip] 2019-04-24 14:56:48 -04:00
rhymes
75741715e5 Upgrade brakeman to 4.5 (#2527) [ci skip] 2019-04-24 14:28:15 -04:00
rhymes
d2fbd243c3 Upgrade airbrake to 9.1.0 (#2526) 2019-04-24 11:41:16 -04:00
Mac Siri
8b7abcfb6a
Update assetlinks.json 2019-04-24 11:01:50 -04:00
Mac Siri
c0a5bfd1a6
Create assetlinks.json (#2543) 2019-04-24 10:54:21 -04:00
rhymes
5057584458 Upgrade ahoy_email to 1.0.3 (#2534) 2019-04-23 16:32:14 -04:00
rhymes
27a3970f12 Upgrade emoji_regex to 2.0 (#2531) [ci skip] 2019-04-23 13:22:07 -04:00
rhymes
9d2c89fd2f Upgrade factory_bot_rails to 5.2.0 (#2532) [ci skip] 2019-04-23 13:21:22 -04:00
rhymes
794c2790f7 Upgrade capybara to 3.18 (#2529) [ci skip] 2019-04-23 13:19:11 -04:00
rhymes
783c966c72 Add mailers specs for tracking (#2523)
* Add tracking and missing specs for DigestMailer

* Add tracking and missing specs for MembershipMailer

* Add tracking and missing specs for NotifyMailer

* Add tracking and missing specs for ScholarshipMailer
2019-04-23 12:38:11 -04:00
dependabot[bot]
1b58bf0ff2 [Security] Bump nokogiri from 1.10.2 to 1.10.3 (#2518)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.2 to 1.10.3. **This update includes security fixes.**
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.2...v1.10.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 14:37:34 -04:00
Andy Zhao
182a787ac4 Add OrganizationMembership model (#2471)
* Remove deprecated analytics role

* Make anchor tag a bit more readable

* Add OrganizationMembership table and model

* Add organization_membership associations

* Add unique indices for user_id and org_id

* Wrap update and create calls in transactions

* Remove specs of deprecated analytics_beta_tester
2019-04-22 14:08:02 -04:00
cyrillefr
f3f8a51e35 Move Welcome Notification to Active Jobs (#2485)
- creation of welcome notification is in own service
  - which is called by an active job

Resolves: #1996
2019-04-22 13:49:18 -04:00
rhymes
197e7cbbf8 Remove unused gem fake_stripe (#2517) [ci skip] 2019-04-22 12:35:42 -04:00
dependabot[bot]
6746ada634 Bump stripe from 4.8.0 to 4.14.0 (#2514) [ci skip]
Bumps [stripe](https://github.com/stripe/stripe-ruby) from 4.8.0 to 4.14.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.8.0...v4.14.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 10:23:37 -04:00
dependabot[bot]
e4a9c496cc Bump inline_svg from 1.3.1 to 1.4.0 (#2510) [ci skip]
Bumps [inline_svg](https://github.com/jamesmartin/inline_svg) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/jamesmartin/inline_svg/releases)
- [Changelog](https://github.com/jamesmartin/inline_svg/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jamesmartin/inline_svg/compare/v1.3.1...v1.4.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 10:17:41 -04:00
dependabot[bot]
0667eb75bc Bump jsdom from 14.0.0 to 15.0.0 (#2512) [ci skip]
Bumps [jsdom](https://github.com/jsdom/jsdom) from 14.0.0 to 15.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/14.0.0...15.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 10:00:36 -04:00
dependabot[bot]
52025eb94e Bump eslint-plugin-import from 2.17.1 to 2.17.2 (#2515)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.17.1 to 2.17.2.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.17.1...v2.17.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 09:55:38 -04:00
Anna Buianova
197fd51045 Make 1 query instead of 2 on creating reaction notification (#2516) 2019-04-22 09:19:27 -04:00
dependabot[bot]
aed9c9922e Bump webpush from 0.3.7 to 0.3.8 (#2509)
Bumps [webpush](https://github.com/zaru/webpush) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/zaru/webpush/releases)
- [Changelog](https://github.com/zaru/webpush/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zaru/webpush/compare/v0.3.7...v0.3.8)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 08:29:03 -04:00
dependabot[bot]
aaf715c1bc Bump memory_profiler from 0.9.12 to 0.9.13 (#2511)
Bumps [memory_profiler](https://github.com/SamSaffron/memory_profiler) from 0.9.12 to 0.9.13.
- [Release notes](https://github.com/SamSaffron/memory_profiler/releases)
- [Changelog](https://github.com/SamSaffron/memory_profiler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SamSaffron/memory_profiler/compare/v0.9.12...v0.9.13)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 08:28:41 -04:00
dependabot[bot]
f9a217c093 Bump preact-compat from 3.18.4 to 3.18.5 (#2513)
Bumps [preact-compat](https://github.com/developit/preact-compat) from 3.18.4 to 3.18.5.
- [Release notes](https://github.com/developit/preact-compat/releases)
- [Commits](https://github.com/developit/preact-compat/compare/3.18.4...3.18.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 08:28:19 -04:00
dependabot[bot]
f3cba2d88b Bump skylight from 3.1.4 to 3.1.5 (#2508)
Bumps [skylight](https://github.com/skylightio/skylight-ruby) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/skylightio/skylight-ruby/releases)
- [Changelog](https://github.com/skylightio/skylight-ruby/blob/v3.1.5/CHANGELOG.md)
- [Commits](https://github.com/skylightio/skylight-ruby/compare/v3.1.4...v3.1.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 08:27:50 -04:00
Jess Lee
55fb04b714 show coupon codes (#2503) 2019-04-22 08:27:02 -04:00
Nick Taylor
573cc2eb1b Added more to the rbenv troubleshooting section. (#2479) 2019-04-20 09:21:03 -04:00
Nick Taylor
1ca5177044 Disabled no-console for where we currently log an error. (#2502) 2019-04-20 09:20:08 -04:00
Jess Lee
810352766d Update gitdocs (#2500) 2019-04-19 16:05:13 -04:00
Tim Lange
aa9d33cab6 Condense 'ask me anything' to 'ama' (#2428) [ci skip] 2019-04-19 13:17:46 -04:00
Ben Halpern
56c55d047d
Add user_signed_in? to cache key for styles (#2498) 2019-04-19 12:57:40 -04:00
Nick Taylor
9007b80356 Added troubleshooting for byebug without readline issue (#2481)
* Added troubleshooting for byebug withouout readline issue.

* Genericized version number for error/solution.
2019-04-19 12:34:29 -04:00
Nick Taylor
27ea00e152 Fix some frontend linting issues (#2495) [ci skip] 2019-04-19 10:58:21 -04:00
Caleb Meredith
42606d3a49 Fix <br/> in footer. (#2491) 2019-04-18 16:02:14 -04:00
Ben Halpern
4319d86c06
Remove extra param and add message for prefill (#2487)
* Remove extra param and add message for prefill

* Fix test for /new non-logged-in

* Fix /new test
2019-04-18 15:34:50 -04:00
Ali Spittel
fd20c8e1da Make Cards Change Dynamically and add Reader/Follower Charts (#2488)
* use API data

* Update schema.rb

* work on proCharts

* change to fetch

* remove console log

* add week month infinity dates

* linter tweaks

* change chart labels

* make cards change dynamically as well

* add april 1st disclaimer comment

* add reader and follower charts

* Update schema.rb
2019-04-18 14:59:13 -04:00
Ben Halpern
7ba586d508
Temporarily comment out random (#2486) 2019-04-18 11:56:38 -04:00
Ben Halpern
308f7a74e7
Add nav buttons to pwa desktop (#2484) 2019-04-18 11:35:00 -04:00
Ali Spittel
b374975edd Feature/filtered charts (#2482)
* use API data

* Update schema.rb

* work on proCharts

* change to fetch

* remove console log

* add week month infinity dates

* linter tweaks

* change chart labels
2019-04-18 11:21:25 -04:00
Andy Zhao
9b1ef3938a Add caching for historical data (#2476)
* Add low-level caching for historical data

* Rename method
2019-04-18 09:43:30 -04:00
Nick Taylor
c2a9816f63 There are installation sections for other OSes now. (#2480) 2019-04-18 09:41:42 -04:00
Ben Halpern
583a772d52
Add inbox guidelines to users (#2473) 2019-04-17 15:49:48 -04:00
Mario See
dd78c5eb29 Release Open Inbox (#2468)
* unhide connect and add clearer messages

* update userDetails snapshot
2019-04-17 12:46:12 -04:00
Andy Zhao
4e8787f606 Convert underscores in article slugs properly (#2472) 2019-04-17 12:35:37 -04:00
rhymes
f17d0f34e1 Update framework defaults to match those in Rails 5.1 (#2309)
* Enable all Rails 5.0 defaults, except for CSRF mitigations

* Enable all Rails 5.1 defaults

* Enable per_form_csrf_tokens

* Enable forgery_protection_origin_check

* Avoid replacing the CSRF in the comment form

Each form now has its own CSRF in addition to the global one.
I've left in place the setInterval

* Restore per_form_csrf_tokens to false
2019-04-17 12:21:15 -04:00
rhymes
7d3fb0c0b5 Enable random order for specs (#2466) [ci skip] 2019-04-17 11:30:23 -04:00
Edison Yap
3d12535272 #118 Allow users to embed Medium posts with Liquid Tags (#1161)
* Add ability to embed Medium URL as liquid tag

- Added new liquid tag - "{% medium https://medium.com}"
- Added a scraper - `MediumArticleRetrievalService` which crawls the
given Medium URL for informations needed for the liquid tag

* Add Medium logo in rendered liquid tag
2019-04-17 10:13:38 -04:00
Ben Halpern
8b6b7f733b
Allow API to return top articles (#2469)
* Allow API to return top articles

* Add pagination to top articles api index
2019-04-16 21:31:43 -04:00
Tim Lange
bf68782374 REF: React eslint (#2432) 2019-04-16 17:28:19 -04:00
Mario See
c6ee9fe3b4 Add Console message ascii art (#2392) [ci skip] 2019-04-16 16:47:27 -04:00
Ben Halpern
d45f2c5898
Adjust badge streak copy (#2467) 2019-04-16 16:41:16 -04:00
Conor Souhrada
9be054d3dc Wrap Moderater::MergeUser#update_social in a transaction (#2281) 2019-04-16 14:52:35 -04:00