Alexander Sandberg
eea2ec2d21
Add inverted styling for social links in night mode ( #3459 )
2019-07-12 09:33:26 -04:00
Ben Halpern
f3fc121053
Fix copy on sponsorship page ( #3452 )
2019-07-11 17:32:46 -04:00
rhymes
d5057f7958
Show sponsorships in ledger ( #3447 )
2019-07-11 16:06:31 -04:00
rhymes
611f4b8675
Sponsorship: remove old columns (step 3) ( #3446 )
...
* Remove old sponsorship columns
* Rename redundant param names
2019-07-11 15:35:24 -04:00
Phạm Huy Hoàng
d13712f2a2
Add cursor:pointer in Offline Page ( #3445 ) [ci skip]
2019-07-11 09:27:54 -04:00
dependabot-preview[bot]
366f6a6914
[Security] Bump lodash.template from 4.4.0 to 4.5.0 ( #3444 )
...
Bumps [lodash.template](https://github.com/lodash/lodash ) from 4.4.0 to 4.5.0. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-10 20:55:46 -04:00
Sushant Bajracharya
01d1d1bcea
Make the Preview button dynamic ( #3317 )
2019-07-10 19:14:14 -04:00
Mario See
699d8703c9
Make listing dashboard sortable ( #3421 )
2019-07-10 18:24:53 -04:00
dependabot-preview[bot]
31cdbcb2cf
[Security] Bump lodash-es from 4.17.11 to 4.17.14 ( #3443 )
...
Bumps [lodash-es](https://github.com/lodash/lodash ) from 4.17.11 to 4.17.14. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-10 18:08:20 -04:00
Brandon Benefield
d4ff1f39f9
Fix long text code block preview ( #3390 ) [ci skip]
2019-07-10 18:03:41 -04:00
rhymes
cecd1db070
Sponsorship: business logic (step 2) ( #3440 )
...
* Add Sponsorship model
* Add Sponsorship to admin
* Add correct relationships between models
* Add temporary script to migrate sponsorship data
* Use constants for enums
* Use Sponsorship model in PartnershipsController
* Use Sponsorship in the views
* Validate sponsorship levels and tag combos
* Replace the rest of the sponsorship code to use Sponsorship
2019-07-10 16:40:56 -04:00
rhymes
ad79116366
Sponsorship: add model (step 1) ( #3438 )
...
* Add Sponsorship model
* Add Sponsorship to admin
* Add correct relationships between models
* Add temporary script to migrate sponsorship data
2019-07-10 15:58:37 -04:00
Mario See
11be56f38c
Add location to listings ( #3370 )
...
* add location to classified_listings
create rails migration and ran rake db:migrate
* add faker city to seed
* add location to index json
* add location as searchable attribute in algolia
* add form text field for adding location to new listing
* add location to dashboard json
* add location field for editing listings
* add location to listing_params in controller
* add location to single listing view
* add location to listing row in dashboard
* add location to dashboard test
* adjust listing dashboard row spacing
* reduce character limit
* reduce lines of conditional html elements
* compress listing card const
* fix form call for location in edit page
* update snapshot in dashboard
* add location length validation in listing model
* shorten limit and update location in edit page
2019-07-10 12:45:41 -04:00
Ben Halpern
b45a55662f
Fix slackbot ping issue and tag copy ( #3434 )
2019-07-09 23:06:28 -04:00
Ben Halpern
091a0d1087
Add basic pro accounts lander test ( #3433 )
2019-07-09 22:10:50 -04:00
Ben Halpern
5545246a6a
Update self-serve sponsorship copy/functionality ( #3416 )
...
* Transform GET sign in links into POST
* Ignore CVE-2015-9284 for now
* Update app/views/layouts/_signup_modal.html.erb
Co-Authored-By: Mac Siri <krairit.siri@gmail.com>
* Modify sponsorship copy
* Update sponsorship stuff
* Fix spec and add tag sponsorship
2019-07-09 17:49:14 -04:00
Mac Siri
28e5ef1d12
Make RSS's self-referential link an option ( #3428 )
...
* Create migration
* Run migration
* Update validations
* Add additional form
* Update RssReader::Assembler#thorough_parsing
* Add spec for referential
2019-07-09 17:34:21 -04:00
Mac Siri
90f54773dc
Fix GistTag & RunkitTag preview issue ( #3388 )
2019-07-09 15:58:08 -04:00
Ben Halpern
87002e5786
Fix profile pin display limit ( #3427 )
2019-07-09 15:42:46 -04:00
rhymes
97b288330e
Remove temp page's views referrers rake task ( #3426 ) [ci skip]
2019-07-09 15:05:08 -04:00
Ben Halpern
a8ef9663a4
Add internal page for spinning up group chats (and make jokes flare tag) ( #3384 )
2019-07-09 13:04:58 -04:00
rhymes
1f97669e66
Credits ledger ( #3395 )
...
* Add #purchase to Credit
* Assigns spent credits to the listing
* Add Credits::Ledger and use it
* Localize ledger datetimes
* Add organization to the ledger
* Add tests for ledger
* Remove unused class
* Fix scope error
* Compare UTC times
* Fix broken specs
* Wrap listing create in a transaction
* Wrap listings bump into a transaction
* Avoid microseconds issue with datetimes in tests
* Use .detect instead of .select.first
* Fix spec description
2019-07-09 10:11:18 -04:00
Zak Henry
a9acb8642e
Add markdown to article api response ( #3394 )
...
* Add failing test asserting markdown is returned
* Add markdown to the get article api response
2019-07-09 10:09:20 -04:00
rhymes
5db8b7e1e5
Fix Rubocop lint ( #3423 ) [ci skip]
2019-07-09 09:06:38 -04:00
rhymes
19e59c1545
Ignore CVE-2015-9284 for now
2019-07-08 20:10:54 -04:00
Mac Siri
1afb572485
Revert "Mitigate CVE 2015-9284 ( #3413 )"
...
This reverts commit 002998adc5 .
2019-07-08 20:10:12 -04:00
Mario See
42cb72d185
Listing Liquid Tag ( #3250 )
...
* init wip
still needs html, styling, and specs
* add more html
similar to singleListing.jsx
* add generate_new_liquid method to spec
* remove unexpected period
* add error handling for invalid slugs and expired listings
* initial styling
* styling for author and tags
* import variables to sass
* more styling and swithc tags and author info
* add specs
* handle error for slug with no category
* add listing tag to editor guide
* reduce complexity
* render expired listing rather than raise error
* update expired listing spec
* import mixins to classified listing tag styling
2019-07-08 18:19:01 -04:00
cyrillefr
3c1d51b836
Move RssReader fetch_user to Active Jobs ( #3387 )
...
- add job + spec job
- refactor call
2019-07-08 18:17:35 -04:00
Ben Halpern
a5ccfb2b32
Add history to sidebar for pro users ( #3417 )
...
* Add history to sidebar for pro users
* Add filmstrip image
2019-07-08 18:10:01 -04:00
cyrillefr
5146532c82
Move messages send_push delay calls to ActiveJob ( #3314 )
2019-07-08 18:00:19 -04:00
Edison Yap
8ffe0f3de3
Bust cache for articles in series ( #3052 )
2019-07-08 17:28:27 -04:00
Mac Siri
d997ffee4f
Run yarn upgrade ( #3419 )
2019-07-08 17:03:19 -04:00
dependabot-preview[bot]
74bfc99f9b
Bump faker from 1.9.4 to 1.9.6 ( #3400 ) [ci skip]
...
Bumps [faker](https://github.com/stympy/faker ) from 1.9.4 to 1.9.6.
- [Release notes](https://github.com/stympy/faker/releases )
- [Changelog](https://github.com/stympy/faker/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stympy/faker/compare/1.9.4...1.9.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 15:21:02 -04:00
dependabot-preview[bot]
f6e8474359
Bump aws-sdk-lambda from 1.27.0 to 1.28.0 ( #3398 ) [ci skip]
...
Bumps [aws-sdk-lambda](https://github.com/aws/aws-sdk-ruby ) from 1.27.0 to 1.28.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.27.0...1.28.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 14:43:56 -04:00
dependabot-preview[bot]
bff571c106
Bump skylight from 4.1.0 to 4.1.2 ( #3397 )
...
Bumps [skylight](https://github.com/skylightio/skylight-ruby ) from 4.1.0 to 4.1.2.
- [Release notes](https://github.com/skylightio/skylight-ruby/releases )
- [Changelog](https://github.com/skylightio/skylight-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/skylightio/skylight-ruby/compare/v4.1.0...v4.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 14:42:49 -04:00
dependabot-preview[bot]
9bdd1b0a1e
Bump airbrake from 9.2.2 to 9.3.0 ( #3403 )
...
Bumps [airbrake](https://github.com/airbrake/airbrake ) from 9.2.2 to 9.3.0.
- [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.2...v9.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 14:39:23 -04:00
dependabot-preview[bot]
c07b7e77c0
Bump capybara from 3.24.0 to 3.25.0 ( #3399 ) [ci skip]
...
Bumps [capybara](https://github.com/teamcapybara/capybara ) from 3.24.0 to 3.25.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.24.0...3.25.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 14:32:23 -04:00
dependabot-preview[bot]
30bc844ab4
Bump twilio-video from 1.18.1 to 1.18.2 ( #3406 ) [ci skip]
...
Bumps [twilio-video](https://github.com/twilio/twilio-video.js ) from 1.18.1 to 1.18.2.
- [Release notes](https://github.com/twilio/twilio-video.js/releases )
- [Changelog](https://github.com/twilio/twilio-video.js/blob/1.18.2/CHANGELOG.md )
- [Commits](https://github.com/twilio/twilio-video.js/compare/1.18.1...1.18.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 14:30:30 -04:00
dependabot-preview[bot]
d585864d2d
Bump rubocop-rails from 2.0.1 to 2.2.0 ( #3402 ) [ci skip]
...
Bumps [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails ) from 2.0.1 to 2.2.0.
- [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.1...v2.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 14:27:56 -04:00
dependabot-preview[bot]
958ff21e0a
Bump marked from 0.6.3 to 0.7.0 ( #3408 ) [ci skip]
...
Bumps [marked](https://github.com/markedjs/marked ) from 0.6.3 to 0.7.0.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Commits](https://github.com/markedjs/marked/compare/v0.6.3...v0.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 14:26:34 -04:00
dependabot-preview[bot]
cbaf08dcff
Bump simplecov from 0.16.1 to 0.17.0 ( #3401 ) [ci skip]
...
Bumps [simplecov](https://github.com/colszowka/simplecov ) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/colszowka/simplecov/releases )
- [Changelog](https://github.com/colszowka/simplecov/blob/master/CHANGELOG.md )
- [Commits](https://github.com/colszowka/simplecov/compare/v0.16.1...v0.17.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 14:21:06 -04:00
dependabot-preview[bot]
8d938be983
Bump erb_lint from 0.0.28 to 0.0.29 ( #3404 ) [ci skip]
...
Bumps [erb_lint](https://github.com/Shopify/erb-lint ) from 0.0.28 to 0.0.29.
- [Release notes](https://github.com/Shopify/erb-lint/releases )
- [Commits](https://github.com/Shopify/erb-lint/compare/v0.0.28...v0.0.29 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 14:20:06 -04:00
rhymes
002998adc5
Mitigate CVE 2015-9284 ( #3413 )
2019-07-08 14:15:57 -04:00
dependabot-preview[bot]
ec56917595
Bump husky from 2.7.0 to 3.0.0 ( #3409 )[ci skip]
...
Bumps [husky](https://github.com/typicode/husky ) from 2.7.0 to 3.0.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/commits/v3.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 10:27:43 -04:00
dependabot-preview[bot]
5230286c8d
Bump eslint-config-airbnb from 17.1.0 to 17.1.1 ( #3410 ) [ci skip]
...
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 17.1.0 to 17.1.1.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v17.1.0...eslint-config-airbnb-v17.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 10:26:41 -04:00
dependabot-preview[bot]
e28d1ee52d
Bump lint-staged from 8.2.1 to 9.1.0 ( #3411 ) [ci skip]
...
Bumps [lint-staged](https://github.com/okonet/lint-staged ) from 8.2.1 to 9.1.0.
- [Release notes](https://github.com/okonet/lint-staged/releases )
- [Commits](https://github.com/okonet/lint-staged/compare/v8.2.1...v9.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 09:42:38 -04:00
Anna Buianova
727d2fadd0
Escape comment.title to fix failing spec ( #3385 )
2019-07-05 09:45:18 -04:00
Anna Buianova
c3ed38f832
Moved creating a new podcast to a separate ActiveJob #2952 ( #3373 )
...
* Podcasts reachable status #2952
* Specs for podcasts statuses
* Moved podcast episode create to a separate ActiveJob
* Use RssItemData wrapper in GetEpisode for consistency
* Reorganize services/podcasts
2019-07-04 13:10:54 -04:00
Andy Zhao
da224d56aa
Remove notifications if article is unpublished ( #3362 )
...
* Add tests for article notifications
* Remove notifications if unpublished and refactor
2019-07-03 16:50:23 -04:00
Ben Halpern
4ebfcd8bc0
Self-serve sponsorship options ( #3371 )
...
* WIP - Initial work on sponsorship landing page
* Add initial partnership page
2019-07-03 12:04:03 -04:00