Commit graph

2601 commits

Author SHA1 Message Date
dependabot-preview[bot]
ce9d80fcaa Bump babel-eslint from 10.0.1 to 10.0.2 (#3211) [ci skip]
Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 10.0.1 to 10.0.2.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.1...v10.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 15:24:54 -04:00
dependabot-preview[bot]
aa676bc10e Bump fog-aws from 3.5.0 to 3.5.1 (#3199)
Bumps [fog-aws](https://github.com/fog/fog-aws) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/fog/fog-aws/releases)
- [Changelog](https://github.com/fog/fog-aws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fog/fog-aws/compare/v3.5.0...v3.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 14:55:49 -04:00
briwa
deb83f71a8 fix(article): <hr> should be visible in night theme (#3202) 2019-06-17 14:54:53 -04:00
dependabot-preview[bot]
2108de5052 Bump lint-staged from 8.2.0 to 8.2.1 (#3212) [ci skip]
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 8.2.0 to 8.2.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v8.2.0...v8.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 14:54:27 -04:00
dependabot-preview[bot]
250bd2171d Bump parallel_tests from 2.29.0 to 2.29.1 (#3194) [ci skip]
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.29.0 to 2.29.1.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.29.0...v2.29.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 14:27:58 -04:00
dependabot-preview[bot]
5f5ae5567e Bump twilio-ruby from 5.23.1 to 5.24.0 (#3201) [ci skip]
Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby) from 5.23.1 to 5.24.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.23.1...5.24.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 14:18:57 -04:00
dependabot-preview[bot]
02afb169a5 Bump rubocop-rails from 2.0.0 to 2.0.1 (#3189) [ci skip]
Bumps [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/rubocop-hq/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rails/compare/v2.0.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 14:04:57 -04:00
dependabot-preview[bot]
53711cd168 Bump capybara from 3.22.0 to 3.24.0 (#3195) [ci skip]
Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.22.0 to 3.24.0.
- [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.22.0...3.24.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 14:04:15 -04:00
dependabot-preview[bot]
36c04c114e Bump airbrake from 9.2.1 to 9.2.2 (#3190) [ci skip]
Bumps [airbrake](https://github.com/airbrake/airbrake) from 9.2.1 to 9.2.2.
- [Release notes](https://github.com/airbrake/airbrake/releases)
- [Changelog](https://github.com/airbrake/airbrake/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbrake/airbrake/compare/v9.2.1...v9.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 14:03:18 -04:00
Ben Halpern
d55a392bed
Add organization liquid tag (#3203) 2019-06-17 13:47:42 -04:00
dependabot-preview[bot]
cef523b2c8 Bump webdrivers from 3.9.1 to 4.0.1 (#3198) [ci skip]
Bumps [webdrivers](https://github.com/titusfortner/webdrivers) from 3.9.1 to 4.0.1.
- [Release notes](https://github.com/titusfortner/webdrivers/releases)
- [Changelog](https://github.com/titusfortner/webdrivers/blob/master/CHANGELOG.md)
- [Commits](https://github.com/titusfortner/webdrivers/compare/v3.9.1...v4.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 13:40:57 -04:00
dependabot-preview[bot]
0e27320b3a Bump spring from 2.0.2 to 2.1.0 (#3197) [ci skip]
Bumps [spring](https://github.com/rails/spring) from 2.0.2 to 2.1.0.
- [Release notes](https://github.com/rails/spring/releases)
- [Changelog](https://github.com/rails/spring/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/spring/compare/v2.0.2...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 13:37:36 -04:00
Tyler VanBlargan
f05cdd3b72 Add Date to Link Liquid Tag (#3126) [ci ski] 2019-06-17 12:14:39 -04:00
rhymes
ba520f79c9 Add warn_on_records_fetched_greater_than setting (#3182) 2019-06-17 11:23:41 -04:00
rhymes
f9fb76ec97 Remove double presence validator in PollVote (#3187) [ci skip] 2019-06-17 10:28:05 -04:00
Ben Halpern
13bfdf2b64
Add minimal light theme (#3179) 2019-06-16 01:37:34 -04:00
Ben Halpern
456931f208
Further generalize pages and site Twitter handle (#3177)
* Further generalize pages and site Twitter handle

* Add footer mod change

* Remove giveaways dead code
2019-06-16 00:59:11 -04:00
Mazen Touati
d5869a3b99 Add a possible error resolution for windows installation (#3178) 2019-06-16 00:45:26 -04:00
Ben Halpern
8ae057b06e
Beta polls feature (admin use only for now) (#3176)
* Initial poll features

* Add basic poll functionality

* Finish (maybe) beta poll functionality
2019-06-15 17:33:30 -04:00
Ben Halpern
f29b67a7b6
Add subtitle to ios push notification (#3170) 2019-06-14 23:28:17 -04:00
Ben Halpern
f262bda14b
Adjust text in mobile notification title (#3168) 2019-06-14 21:49:27 -04:00
Ben Halpern
85e3be1f48
Create comments notification subscription upon creation (#3167)
* Create comments notification subscription upon creation

* Fix test
2019-06-14 20:11:58 -04:00
Jess Lee
c81bc8e66f Clean up internal and add admin tool for cache busting (#3166)
* remove members internal page

* add manual cache busting form

* add missing files
2019-06-14 19:52:16 -04:00
Jess Lee
10674aed72 Buffer Listings (#2956)
* add share to buffer button

* wip

* wip

* adds listings to buffer via form

* create migration for buffered timestamp and update seed file

* display when listing was last buffered

* remove annoying spacing

* refactor article script for listings

* social preview wip

* add custom social card for indivdual listings

* add styling

* fix css

* tweak styling

* final css tweaks

* fix branch

* add buffer listings id

* update envfile

* add social previews spec
2019-06-14 19:33:19 -04:00
Ben Halpern
d33cc055dd
Adjust notification subscriptions JS and css (#3165) 2019-06-14 18:54:42 -04:00
Ben Halpern
e130400e9e
Finalize UI for all types of notification settings (#3164) 2019-06-14 18:28:38 -04:00
Maxime Lafarie
e15a1adcbc Fix icons size in Safari reader mode (#3157) 2019-06-14 18:24:47 -04:00
rhymes
c42c28ae59 Performance: save some queries when pluck is not needed (#3160) 2019-06-14 14:56:33 -04:00
Samyuktha J
74ecf5ca06 Make LinkTag's mininum reading time to 1 min (#3084) [ci skip] 2019-06-14 14:44:48 -04:00
rhymes
272e032997 Remove old Dashboard Pro code (#3161) 2019-06-14 13:31:22 -04:00
rhymes
aa29a5cb55 Fix analytics grouped by day with nil page views average (#3159) 2019-06-14 13:30:04 -04:00
Andy Zhao
b953f17d0c New Feature: Subscribe to posts! (#3149)
* Add MVP of notification subscriptions

* Add rate limiting for notification subscriptions

* Show modal for logged out users on subscribe click

* Add enter key functionality for checkbox

* Add relationships for notification subscriptions

* Add model test for notification subscription

* Deprecated article mutes in favor of notification subscriptions

* Deprecated comment mutes in favor of notification subscriptions

* Move comment muting tests and logic over

* Merge comment and article muting into subscriptions

* Remove redundant check

* Use database to check for rate limit instead of cache

* Test for subscriptions handling notifications properly

* Fix notification model spec for subscriptions

* Fix tests for subscriptions

* Remove rate limiting

* Properly handle logged out users getting subscription status

* Fix test for new pattern

* Update reserved words

* Add config column to notification subscriptions

* Add logic for top level config and move tests

* Test for top level subscribers getting notified

* Fix logic mistake oops

* Add index and refactor comment_user_ids
2019-06-14 12:03:43 -04:00
Ben Halpern
362b9eb663
Remove org notifications count from notifications view (#3158) 2019-06-14 10:09:44 -04:00
Anna Buianova
8605f29b98 Added organization_id index to notifications (#3155) 2019-06-14 09:29:15 -04:00
rhymes
7f2045b250 Pro Analytics: stats for a single article (#3120)
* Add /stats endpoint for articles, opened only to Pro users

* Add analytics to article stats page

* Add stats button to the article page and test stats page
2019-06-13 19:02:09 -04:00
Anna Buianova
58db43d0d4 Validate usernames and organization slugs against podcast slugs (#3148) 2019-06-13 19:00:25 -04:00
Anna Buianova
2c05bbc0c1 Change notifications unique indexes #2525 (#3012)
* Notifications unique indexes that take null values into account

* Specify import options for reaction notifications according to the indexes

* Fix specs: notifications have either user_id or organization_id

* Create notifications indexes concurrently
2019-06-13 15:17:50 -04:00
Mac Siri
94c78173d1 Add missing image param (#3150) 2019-06-13 14:10:14 -04:00
Anna Buianova
f476e11be6 Podcasts validations (#3123)
* Podcasts validations

* Added db constraints for podcast_episodes

* Validate podcast slug uniqueness with usernames and org slugs

* Validate podcast slug uniqueness only if it was changed
2019-06-13 12:45:05 -04:00
Anna Buianova
b630fcad0d Removed fetching podcasts from a callback (#3098)
* Removed fetching podcasts from a callback

* Remove hacks that avoid fetching podcasts while seeding and running tests
2019-06-13 12:23:55 -04:00
Mac Siri
0af2a0a7dc Update Service Worker and Favicon (#3142)
* Update favicon

* Update ServiceWorker with error logging
2019-06-13 11:39:03 -04:00
Arun Kumar Mohan
3188ddaa8a Remove dead code (#3146) 2019-06-13 11:10:38 -04:00
Kartikey Tanna
858ce184e5 Implement ActiveJob for Mention (#3055)
* Implemented ActiveJob for Mention#send_email_notification

* Implemented ActiveJob for Mention.create_all

* Fixed args while calling the job

* Changes as per the review
2019-06-13 11:05:22 -04:00
Arun Kumar Mohan
0e06c76819 Fix visibility of unread channel name (#3143) [ci skip] 2019-06-12 17:53:09 -04:00
Arun Kumar Mohan
63a475ca41 Refactor TagAdjustment#user_permissions (#3144) [ci skip] 2019-06-12 17:38:04 -04:00
rhymes
6960b89f28 Dashboard Pro: support InstantClick and show org analytics (#3102)
* Fix JS lint issues

* Do not rely on globals

* Use InstantClick to make transitions work in the pro dashboard

* Fix eager loadings and remove unused queries

* Refactor drawChart

* More consistency in naming

* Display correct analytics for organization
2019-06-12 09:40:42 -04:00
Anna Buianova
18d1300341 Moved SlackBot.delay.ping calls to ActiveJob #3136 (#3139)
* Moved SlackBot.delay.ping calls to ActiveJob

* Removed unused user creation from the spec
2019-06-12 09:23:37 -04:00
Bryan Leighton
fa7079ecab Make Action Space Buttons more mobile friendly (#3110) [ci skip] 2019-06-11 17:13:20 -04:00
Mario See
06ce84c21c make default state of "contact_via_connect" checked (#3128) 2019-06-11 15:55:43 -04:00
Andy Zhao
9832d0cfc1 Destroy organization memberships if user is destroyed (#3125) 2019-06-11 15:54:24 -04:00