Commit graph

5634 commits

Author SHA1 Message Date
dependabot-preview[bot]
9cadeaaac3
Bump sprockets from 4.0.0 to 4.0.2 (#8327)
* Bump sprockets from 4.0.0 to 4.0.2

Bumps [sprockets](https://github.com/rails/sprockets) from 4.0.0 to 4.0.2.
- [Release notes](https://github.com/rails/sprockets/releases)
- [Changelog](https://github.com/rails/sprockets/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/sprockets/compare/v4.0.0...v4.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix spec

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: rhymes <rhymesete@gmail.com>
2020-06-08 10:50:36 -04:00
rhymes
9992bdfe92
Replace whitelisted_ips with permissions in Docker init (#8341) 2020-06-08 16:16:02 +02:00
dependabot-preview[bot]
ee090316a2
Bump rubocop from 0.84.0 to 0.85.0 (#8329)
* Bump rubocop from 0.84.0 to 0.85.0

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.84.0 to 0.85.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.84.0...v0.85.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump rubocop from 0.84.0 to 0.85.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-08 10:10:56 -04:00
Molly Struve
c40f787aaa
[deploy] Make Video Permission a Valid Role (#8333) 2020-06-08 09:05:26 -05:00
Molly Struve
86ea55f23d
Flaky Spec Fix: Bulk Delete SQL Spec (#8332) 2020-06-08 09:42:45 -04:00
dependabot-preview[bot]
a89b191cdc
Bump honeybadger from 4.6.0 to 4.7.0 (#8326)
* Bump honeybadger from 4.6.0 to 4.7.0

Bumps [honeybadger](https://github.com/honeybadger-io/honeybadger-ruby) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/honeybadger-io/honeybadger-ruby/releases)
- [Changelog](https://github.com/honeybadger-io/honeybadger-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/honeybadger-io/honeybadger-ruby/compare/v4.6.0...v4.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump honeybadger from 4.6.0 to 4.7.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-08 09:34:46 -04:00
Michael Kohl
f712a71f8b
[deploy] Clean up BadgeRewarder (#8211)
* Clean up BadgeRewarder

* Undo query change
2020-06-08 15:30:48 +02:00
dependabot-preview[bot]
ee3bbd8f39
Bump rolify from 5.2.0 to 5.3.0 (#8321)
* Bump rolify from 5.2.0 to 5.3.0

Bumps [rolify](https://github.com/RolifyCommunity/rolify) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/RolifyCommunity/rolify/releases)
- [Changelog](https://github.com/RolifyCommunity/rolify/blob/master/CHANGELOG.rdoc)
- [Commits](https://github.com/RolifyCommunity/rolify/compare/v5.2.0...v5.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump rolify from 5.2.0 to 5.3.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-08 09:29:26 -04:00
dependabot-preview[bot]
faf9573345
Bump faker from 2.11.0 to 2.12.0 (#8322)
* Bump faker from 2.11.0 to 2.12.0

Bumps [faker](https://github.com/faker-ruby/faker) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/faker-ruby/faker/releases)
- [Changelog](https://github.com/faker-ruby/faker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faker-ruby/faker/compare/v2.11.0...v2.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump faker from 2.11.0 to 2.12.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-08 09:29:11 -04:00
dependabot-preview[bot]
474968359e
Bump twilio-video from 2.5.0 to 2.5.1 (#8323)
Bumps [twilio-video](https://github.com/twilio/twilio-video.js) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/twilio/twilio-video.js/releases)
- [Changelog](https://github.com/twilio/twilio-video.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/twilio/twilio-video.js/compare/2.5.0...2.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-08 09:28:53 -04:00
Michael Kohl
387bf7c1bc
Make Devise.mailer_sender configurable (#8246)
* Make Devise.mailer_sender configurable

* Disable setting default email via internal config

* Also disallow default email param

* Fix spec
2020-06-08 12:02:07 +02:00
Molly Struve
6a139c73ac
Flaky Spec Fixes: User Block and Sitemap Specs (#8314) 2020-06-07 11:36:05 -05:00
ludwiczakpawel
bde51a61a0
Feed Layout Fix (#8282)
* flare tag line height

* .

* fix
2020-06-06 07:28:20 +02:00
Molly Struve
5d22e71ad6
nothing to see here....except maybe reverting a push to master (#8308)
🙈
2020-06-05 20:34:21 -05:00
mstruve
533cab50d6 synchronous roles 2020-06-05 20:02:41 -05:00
rhymes
9215d04f08
[deploy] Routine Rubocop fixes (#8293)
* rubocop -a fixes

* rubocop --auto-gen-config
2020-06-05 18:46:10 -04:00
Ben Halpern
3c840610a1
[deploy] Remove unnecessary bulk from image assets (#8306)
* Remove unnecessary bulk from image assets

* Swap background-image

* Fix test

* Fix test
2020-06-05 17:51:06 -04:00
Ben Halpern
788c3d5a3b
[deploy] Remove miro gem (#8307) 2020-06-05 17:03:09 -04:00
Ben Halpern
143fd1fa71
[deploy] Replace defunct Algorithmia with Miro for color detection (#8296)
* Replace defuncked Algorithmia with Miro for color detection

* Stub robohash
2020-06-05 15:03:26 -04:00
dependabot[bot]
d846349714
[deploy] Bump websocket-extensions from 0.1.4 to 0.1.5 (#8300) 2020-06-05 14:17:37 -04:00
Mac Siri
92eca6f935
[deploy] Enable ActsAsTaggableOn.strict_case_match (#8299) 2020-06-05 13:52:01 -04:00
Matheus Cardoso
e9e950735c
Fix gists sometimes rendered in wrong order (#8205) 2020-06-05 12:23:43 -04:00
Dmitry Maksyoma
cc0254310c
Update docs to shine more light on bin/setup and bin/startup (#8290) 2020-06-05 12:21:53 -04:00
Ben Halpern
01380c16a8
[deploy] Remove STAFF_USER_ID from Envfile (#8297) 2020-06-05 11:47:21 -04:00
Alex
f7430ccd16
[deploy] Add path_redirects table and internal view (#8161)
* Create migrations

* Create PageRedirect model

* Refactor migration and add timestamps

* Add routes for internal/page_redirects

* Add index controller action and view

* Change background color of version in /internal

* Add page_redirect factory and index specs

* Fix specs

* Use ransack for search

* Alphabetize internal sidenav

* Rename spec

* Add edit view with destroy button

* Refactor page_redirect form partial

* Update error messages and fix redirect

* Small fixes and hookup new and create

* Specs FTW

* Fix migration, overridden --> source

* Add PageRedirect model specs

- Validate presence of status

* Update routes

* Code climate fixes

* Add old_slug_url and new_slug_url helper methods

* Prevent updating old_slug, refactor _form

* Add URLs to index view for slugs

* Better spec wording

* Change version to badges and add to edit view

* Update destroy response

* slug --> path 🙈

* Add PageRedirects to seed file

* Fix seed file

* ACTUALLY fix the seed file

* slug --> path in PageRedirect factory

* Remove bug fix from seeds file

* Move menu items to controller constant

* Update source type validation in model spec

* Rename page_redirect --> path_redirect

* Add AuditLog for admin create, destroy, and update

* Remove redundant index

* Cleanup old name of page_redirect

* Remove old model

* Update AuditLog to :internal

* Titleize search placeholder task in internal

* Add comment to explain MENU_ITEMS constant

* Add warning text on edit page about many updates

* Remove default and allow null on source

* Fix comment

* Add path_redirect validations and model specs

- Validate old_path != new_path
- Validate new_path isn't an existing redirect
2020-06-05 10:28:33 -04:00
Ben Halpern
f23ea3d668
Resourcify ChatChannel (#8285) 2020-06-05 15:45:55 +02:00
Michael Kohl
b011cd2086
Also allow Asciinema URLs, not only IDs (#8288) 2020-06-05 15:37:45 +02:00
Mac Siri
1b839d9328
[deploy] Streamline Tag parsing for both editors (#8175) 2020-06-05 08:46:24 -04:00
Molly Struve
4966783e18
Stub Percy.snapshot During Specs (#8286) 2020-06-05 09:25:03 +02:00
rhymes
753bdc5dc8
Add missing unique indexes to notifications (#8273) 2020-06-05 09:19:22 +02:00
Molly Struve
dca570c87f
Remove Explict Gemfile from travis.yml to Allow vendor/cache to be used (#8287) 2020-06-05 09:19:05 +02:00
Jacob Herrington
4ebad8c4bc
Document the usage of Audit:Logger (#8284)
One of the DEV maintainers pointed out that our action logging mechanism
isn't documented anywhere. This add some context for that code!
2020-06-04 21:49:01 -05:00
Molly Struve
8ca8d447b8
[deploy] Add Safety Operator When Handling params[:q] (#8279) 2020-06-04 14:09:09 -05:00
Molly Struve
6e28711961
[deploy] Change Cache Key to Bust Cache (#8280) 2020-06-04 13:49:29 -05:00
dependabot-preview[bot]
16baeb9823
Bump @babel/core from 7.9.6 to 7.10.2 (#8195) 2020-06-04 13:53:59 -04:00
dependabot-preview[bot]
789ad5d41b
[deploy] Bump honeybadger-js from 2.2.1 to 2.2.2 (#8130) 2020-06-04 11:12:00 -04:00
dependabot-preview[bot]
e4b95fd3bf
Bump @stoplight/spectral from 5.3.0 to 5.4.0 (#8201) 2020-06-04 11:11:06 -04:00
rhymes
ca71e4c237
[deploy] Fix app_initializer:setup for Rails 6 (#8269) 2020-06-04 17:09:29 +02:00
Yash Dave
8e1634dd76
fixes white text on white bg code block in editor (#8275)
- locks code block bg to `#29292e` across all themes
2020-06-04 17:00:47 +02:00
ludwiczakpawel
94330f33d5
[deploy] "Write a Post" Button wrapping issue (#8266)
* flare tag line height

* .

* fix
2020-06-04 10:29:04 -04:00
ludwiczakpawel
39295c0bea
Layout updates (#8107)
* flare tag line height

* .

* init

* widgets

* widgets lists

* new tabs on home

* instantclick

* .

* rethinking css

* .

* .

* empty space

* campaign widget

* .

* merge

* .

* update layout

* fix sidebars on home page

* .

* fix onboarding x

* spec

* test

* test

* better handling ads

* .

* spec

* card styling

* .

* i dont know what have i broken
2020-06-04 16:12:17 +02:00
Julianna Tetreault
8fb0641118
[deploy] Commit migration file (#8272) 2020-06-04 10:11:56 -04:00
Michael Kohl
b06e9901d5
Add ApplicationRecord#errors_as_sentence (#8265)
* Add ApplicationRecord#errors_as_sentence

* Refactor existing uses

* Use errors as sentence more consistently
2020-06-04 16:02:41 +02:00
Molly Struve
97fecd6703
Display Jobs Banner if User searches jobs or job (#8259)
* Display Jobs Banner if User Searches jobs or job

* Add period to end of sentence

Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>

* reword site config description

Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>

* Change SiteConfig display field name to display_jobs_banner

* dont forget the specs

Co-authored-by: Andy Zhao <17884966+Zhao-Andy@users.noreply.github.com>
Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
2020-06-04 15:17:23 +02:00
Nick Taylor
eea508697a
Updated node debug flag to debug and break immediately (#8151) 2020-06-04 09:05:22 -04:00
Arit Amana
9961db3699
Small update to Test Coverage docs (#8257) 2020-06-04 12:01:12 +02:00
Ernesto Tagwerker
9ea3a8c67d
Upgrade to Rails 6.0 (#7658)
* Add dual booting logic to Gemfile

This might be helpful for the Rails 6.0 upgrade project.

* Add more than one gemfile to Travis' configuration

We want to see how the application behaves with more than one Rails versions:

- Gemfile -> Rails 5.2
- Gemfile.next -> Rails 6.0

This will help us figure out what needs to be addressed before migrating to Rails 6.0.

If you want to read more about this technique (dual booting) you can check out this page: https://www.fastruby.io/blog/upgrade-rails/dual-boot/dual-boot-with-rails-6-0-beta.html

* Fix joins

* Upgrade Gemfile.next.lock

* Make sure we're installing the correct versions of gems

* Add Rails 6 notes

* Update rubocop in Gemfile.next.lock

* Fix organization spec

* Fix page_views_spec

* Add Rails 6 and run rails app:update

* Remove some tricks

* Remove Gemfile.next for now

* Fix .content_type deprecation

* Fix deprecation of .where.not NAND/NOR behavior

* Fix deprecation of parameterized emails

* Fix specs

* Remove next flag for now

* Fix spec (hopefully)

* Add wait_for_javascript

* Fix spec, thanks @maestromac!

* Try without wait for javascript hack

* Remove unnecessary bin/update

* Remove file that snuck in the rebase

* Update the vendored gems

* Replace migrate+db:setup with db:prepare

* Update vendored gems

* Fix Gemfile.lock and update vendored stuff

* Fix Gemfile.lock to be the same as master's minus the changes

Co-authored-by: rhymes <rhymesete@gmail.com>
2020-06-04 11:54:25 +02:00
Julianna Tetreault
d2d46c5f47
Allow Admins to Delete Broadcasts (#8258) [deploy]
* Add #destroy to Broadcasts::Controller and destroy route to routes.rb
  * Adds destroy method w/ corresponding flash messages to controller
  * Adds destroy route to Broadcast routes in routes.rb

* Add destroy button to internal/broadcasts edit view
  * Adds destroy action to broadcasts/edit.html.erb
  * Adds deletion confirmation to broadcasts/edit.html.erb

* Add tests around deleting broadcasts in broadcasts_spec.rb

* Adjust #destroy in Broadcasts::Controller to be a conditional

* Add an exclamation point to #destroyin Broadcasts::Controller
2020-06-03 15:15:27 -06:00
Fernando Valverde
b722c428da
Adds explicit quality params to cloudinary helper calls when specifying format (#8253) 2020-06-03 17:13:37 -04:00
Josh Puetz
cec923797a
Joshpuetz/flipper ui fix attempt 2 (#8254) [deploy]
* Attempt to fix rack protection issue with flipper UI

* Flipper UI fix number 2
2020-06-03 12:38:48 -05:00