Commit graph

2762 commits

Author SHA1 Message Date
Mario See
fda048dc12 Listing Drafts and Deletion (#3540)
* wip init handle draft class and styling

* add draft button

* start splitting up listing row into multile files

* separate tag links

* split location

* fix location

* separate listing row action buttons

* update listing row proptypes to describe listing object

* contact via connect to jsx

* fix default checked

* init draft creation and first publish charge

* fix first publish logic and credit charging

* handle drafts in dashboard filtering

* adjust isDraft bool statement

* hide drafts from main listings feed

* fix expired and draft bools in listing row

* adjust create listing org credits

* internally handle drafts

* adjust listing row

* break down update method

* remove unnecessary logic and shorten lines

* fix logic again woops

* convert input hidden value + submit into one form button submit with corresponding name and value

also adds clear message that drafts do not cost credits

* handle insufficient org credits on first publish

- uses user credits to publish
- similar to bump implementation

* fix sorting for personal and all orgs

* space out some elements

* don't spend original users credit for them

* add delete buttons and delete_confirm and destroy methods

* remove notification removal since listings dont trigger notifications

* move draft message and add draft_params to tests

* Update classified_listings_controller.rb

* update tests

* update snapshot

* add del tests

* add guard preventing free draft publish

* fix draft filter

* update from master and resolve merge conflict in listing preact

* Revert "update from master and resolve merge conflict in listing preact"

This reverts commit 0a34fccf334a2ca0902644b486cb26ead6bef664.

* update column spec

instead of setting and saving

* separate two expectations into their own tests

* split more tests into single expectations

* change to unless bumped_at? instead of if nil

* Fix listing draft edge cases and styling

* Add title tags to listings pages
2019-09-01 13:54:54 -04:00
Mario See
3cf6a2d4bc Add singleListing specs (#3883) [ci skip] 2019-08-30 14:49:20 -04:00
Michael Tharrington
5cdd3e2f10 Update Email Copy for internal/reports (#3867) 2019-08-30 09:58:30 -04:00
dependabot-preview[bot]
0f341c6131 Bump carrierwave from 1.3.1 to 2.0.0 (#3762) [ci skip]
Bumps [carrierwave](https://github.com/carrierwaveuploader/carrierwave) from 1.3.1 to 2.0.0.
- [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.3.1...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-30 09:27:51 -04:00
Ben Halpern
81bff4da35
Fix internal mods interactivity and improve layout (#3879) 2019-08-29 19:00:22 -04:00
Tiger Oakes
92e107e82e Use maskable icons for PWA (#3875) [ci skip] 2019-08-29 18:44:26 -04:00
Mario See
ecc22cf129 Update seed file to clear listing indexes (#3878) [ci skip] 2019-08-29 18:04:23 -04:00
Jean-Michel Fayard
4af02c8a48 Support for runnable kotlin snippets #3776 (#3801) 2019-08-29 16:06:17 -04:00
Robin
880655b388 Add AWS install error to FAQ & update gitignore(#3871) [ci skip] 2019-08-29 10:28:13 -04:00
Anna Buianova
bfdf636dcf Implement webhook & API endpoints #3715 (#3783) 2019-08-29 10:23:41 -04:00
Ben Halpern
917bc14eae
Update mod internal backend to be safer and more intuitive (#3869) 2019-08-28 23:26:32 -04:00
Mac Siri
c9e1f1fcf3 Add listings to DEV digests (#3854)
* Add listings to digest emailers

* Update app/views/mailers/digest_mailer/digest_email.html.erb

Co-Authored-By: Ben Halpern <bendhalpern@gmail.com>

* Remove margins
2019-08-28 21:28:46 -04:00
AJ Johnson
00ed11fca7 Fix page scroll bug on /connect page (#3856) [ci skip] 2019-08-28 15:05:27 -04:00
Ben Halpern
67a8dbcd04
Add hashtags to linkedin body (#3866) 2019-08-28 14:49:31 -04:00
Ben Halpern
9259a70ab8
Modify onboarding slides (#3864) 2019-08-28 11:05:57 -04:00
Andrew Bone
2969e3d091 Mod page "suggest a tweet" width (#3863)
* Fix tweet box width

* Fix tweet box width

* Moved rule to right selector
2019-08-28 11:04:44 -04:00
Ben Halpern
abfdb8787b
List badges count instead of reactions (more relevant) (#3862) 2019-08-28 08:39:13 -04:00
Ben Halpern
b09fa26efa
Fix up a couple mods backend things (#3861) 2019-08-28 08:09:29 -04:00
Ben Halpern
9ad383c00e
Fix commenter issue for roundrobin notification (#3857) 2019-08-27 23:01:30 -04:00
Feruz Oripov
560e171fd8 Refactoring chat_channels_controller.rb. (#3823) 2019-08-27 22:13:01 -04:00
Ben Halpern
208bbb3757
Improve mod roundrobin notification and internal tooling (#3855)
* Improve mod roundrobin notification and internal tooling

* Fix tests
2019-08-27 21:54:09 -04:00
cyrillefr
369aeb9130 Fix comment deletion bug (#3732)
Fix bug where deleted comment still appears on user's profile
2019-08-27 17:07:09 -04:00
Mario See
59217d76a7 Add scheduled Job doc (#3847) [ci skip] 2019-08-27 16:18:10 -04:00
dependabot-preview[bot]
4a6b6b80fc Bump webpush from 0.3.8 to 1.0.0 (#3759) [ci skip]
Bumps [webpush](https://github.com/zaru/webpush) from 0.3.8 to 1.0.0.
- [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.8...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-27 16:03:48 -04:00
Feruz Oripov
0ccc62ffa3 Refactoring possible unprotected redirect. (#3825)
* Refactoring possible unprotected redirect.

* Security refactoring tag_adjustments_controller.rb.

* Security refactoring tag_adjustments_controller.rb.

* Security refactoring articles_controller.rb.

* Security refactoring internal/welcome_controller.rb

* Security refactoring tags_controller.rb.

* Security refactoring comments_controller.rb.

* Security refactoring stories_controller.rb.
2019-08-27 10:13:38 -04:00
Feruz Oripov
ee498ad9ef Refactor VideosController (#3806) [ci skip] 2019-08-26 18:59:31 -04:00
Nick Taylor
45368132b0 Fix JS Lints (#3815) 2019-08-26 18:01:12 -04:00
dependabot-preview[bot]
693b0726d2 Bump delayed_job_active_record from 4.1.3 to 4.1.4 (#3838) [ci skip]
Bumps [delayed_job_active_record](https://github.com/collectiveidea/delayed_job_active_record) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/collectiveidea/delayed_job_active_record/releases)
- [Commits](https://github.com/collectiveidea/delayed_job_active_record/compare/v4.1.3...v4.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 18:00:22 -04:00
Yash Dave
eccca28ee1 Update backend's readme filename (#3824) [ci skip] 2019-08-26 17:47:59 -04:00
Ben Halpern
66f72c091a Fix rake task with repeated name (#3845) [ci skip] 2019-08-26 17:33:00 -04:00
dependabot-preview[bot]
e951b91bed Bump reverse_markdown from 1.1.0 to 1.2.0 (#3840) [ci skip]
Bumps [reverse_markdown](https://github.com/xijo/reverse_markdown) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/xijo/reverse_markdown/releases)
- [Changelog](https://github.com/xijo/reverse_markdown/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xijo/reverse_markdown/compare/v1.1.0...v1.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 17:28:17 -04:00
dependabot-preview[bot]
4730afd730 Bump twilio-video from 1.18.2 to 1.19.0 (#3831) [ci skip]
Bumps [twilio-video](https://github.com/twilio/twilio-video.js) from 1.18.2 to 1.19.0.
- [Release notes](https://github.com/twilio/twilio-video.js/releases)
- [Changelog](https://github.com/twilio/twilio-video.js/blob/1.19.0/CHANGELOG.md)
- [Commits](https://github.com/twilio/twilio-video.js/compare/1.18.2...1.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 17:21:29 -04:00
dependabot-preview[bot]
62eb69f3c7 Bump rouge from 3.8.0 to 3.9.0 (#3837)
Bumps [rouge](https://github.com/rouge-ruby/rouge) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/rouge-ruby/rouge/releases)
- [Changelog](https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rouge-ruby/rouge/compare/v3.8.0...v3.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 17:00:33 -04:00
dependabot-preview[bot]
fcadf9464b Bump @github/clipboard-copy-element from 1.0.4 to 1.0.5 (#3752) [ci skip]
Bumps [@github/clipboard-copy-element](https://github.com/github/clipboard-copy-element) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/github/clipboard-copy-element/releases)
- [Commits](https://github.com/github/clipboard-copy-element/compare/1.0.4...1.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 16:57:40 -04:00
dependabot-preview[bot]
bcf3abbeb4 Bump eslint-config-prettier from 6.0.0 to 6.1.0 (#3832) [ci skip]
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.0.0 to 6.1.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/v6.0.0...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 16:48:43 -04:00
dependabot-preview[bot]
df6a036d67 Bump babel-eslint from 10.0.2 to 10.0.3 (#3833) [ci skip]
Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 10.0.2 to 10.0.3.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.2...v10.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 16:47:42 -04:00
dependabot-preview[bot]
1de58b0ea0 Bump rubocop-rails from 2.2.1 to 2.3.1 (#3836) [ci skip]
Bumps [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails) from 2.2.1 to 2.3.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.2.1...v2.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 16:46:53 -04:00
dependabot-preview[bot]
a6a72f7e59 Bump lint-staged from 9.2.1 to 9.2.4 (#3834) [ci skip]
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.2.1 to 9.2.4.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.2.1...v9.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 16:46:24 -04:00
dependabot-preview[bot]
4785183b21 Bump test-prof from 0.9.0 to 0.10.0 (#3842)
Bumps [test-prof](https://github.com/palkan/test-prof) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/palkan/test-prof/releases)
- [Changelog](https://github.com/palkan/test-prof/blob/master/CHANGELOG.md)
- [Commits](https://github.com/palkan/test-prof/compare/v0.9.0...v0.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 16:02:01 -04:00
not-a-patch
4243510f87 Backend Docs: roles.md #3737 (#3827) 2019-08-26 14:50:39 -04:00
dependabot-preview[bot]
f4ff71a41c [Security] Bump eslint-utils from 1.3.1 to 1.4.2 (#3844)
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2. **This update includes a security fix.**
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 14:50:03 -04:00
Ben Halpern
cbe599e2eb
Adjust internal page logic and add credits copy to notifications (#3843)
* Adjust internal page logic and add credits copy to notifications

* Adjust badge email copy
2019-08-26 13:41:13 -04:00
Feruz Oripov
4cc517d1c2 Refactoring models/article.rb. (#3835) 2019-08-26 13:32:28 -04:00
dependabot-preview[bot]
e5b3d23297 Bump twilio-ruby from 5.25.3 to 5.25.4 (#3839)
Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby) from 5.25.3 to 5.25.4.
- [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.25.3...5.25.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 13:29:09 -04:00
John Curcio
0f2ae535c8 Removes temp .received file (#3731) (#3821) 2019-08-25 12:30:27 -04:00
Feruz Oripov
c9d91e1552 Refactoring social_previews_controller.rb. (#3818) 2019-08-24 16:24:20 -04:00
John Curcio
c81ff56d13 Fix encoding of special characters in org (#3779) (#3817) 2019-08-24 15:08:31 -04:00
Ben Halpern
3443fdf2bd
Create endpoint for liquid tag embed (#3813) 2019-08-23 17:42:04 -04:00
Mario See
47c2885810 Listings set custom expiry date (#3770)
* add expire_on column to classified_listings

* add expire_on to valid listing params

* add expire_on to model

* add expire date to new listing form

* add field in edit form

* add expiry dates to dashboard

* update expiry date in listing toolkit

* WIP unpublish job and test

test still has to run properly

* add job to class name

* change job to rake task

* revert snap change

* delete migration file

will add new one and revert schema changes to rename column

* reset schema

* add new migration to schema 'expires_at'

* change expire_on to expires_at
2019-08-23 17:33:50 -04:00
Feruz Oripov
352a09e82f Refactoring chat_channels_controller.rb. (#3808)
* Refactoring chat_channels_controller.rb.

* Use %i or %I for an array of symbols
2019-08-23 17:16:35 -04:00