Commit graph

7324 commits

Author SHA1 Message Date
Jacob Herrington
6dbf45775b
List single_resource_admin resources in the UI (#11049)
* List single_resource_admin resources in the UI

* Add a comment to explain Role#resource_name
2020-11-04 11:03:45 -06:00
Alexandre Ruban
ad747a271f
Fix rails db:seed error (#11272)
rails db:seed sometimes tries to create two 'vomit'
reactions on the same Article which is prohibited by the
validations on the Reaction model.
2020-11-04 10:55:05 -06:00
Andy Zhao
474ba1688f
Update organization <select> to use Crayons (#11257)
* Use Crayons select instead of default select styles

* Add max width for mobile view

Co-authored-by: Lisa Sy <lisasyis@gmail.com>

Co-authored-by: Lisa Sy <lisasyis@gmail.com>
2020-11-04 07:13:09 -05:00
Peter Dave Hello
90dd4a0614
Clean up Gitpod Dockerfile Elasticsearch tarball (#11255)
The source tarball and checksum should be removed once the
files were extracted successfully.
2020-11-04 12:00:40 +07:00
Lisa Sy
8d08191e9a
[Front-End Q/A] Config Authentication view (#11169)
* Update spacing and add Crayons classes

* Update modal interaction and style

* WIP Hide collapsed container

* Refactor invite only mode UX using tooltip

* Fix recaptcha toggle

* Implement button-text change and enabled-indicator hide

* Remove small icon alignment

* Update app/views/admin/configs/show.html.erb

* Fix icon and row alignment

* Fix enabled-indicator bug

Co-authored-by: Arit Amana <msarit@gmail.com>
2020-11-03 20:12:19 -08:00
Josh Puetz
542ee58ab8
Rate Limit Modal - Comments (#11102)
* Non-preact modal

* Some cleanup

* Toggle modal on navigation

* Use rate limit modal on comments page

* Added JSdocs

* Remove explanation link

* Comment rate limit test

* Tests and method renaming
2020-11-03 15:49:20 -06:00
Molly Struve
80be0de724
Feature:Continuous Deploy to Benhalpern Community (#11239) 2020-11-03 13:56:08 -06:00
Michael Kohl
9ad57a8d28
Add --spec option for data_update generator (#11245) 2020-11-03 12:26:08 -05:00
Peter Dave Hello
c7c6764933
Improve Containerfile CMD readability (#11253)
It needs some spaces ;)
2020-11-03 18:14:56 +01:00
Rafi
9b02f1619b
Fixing tags in listing modal (#11251) 2020-11-03 12:01:55 -05:00
Andy Zhao
d511ea6b30
Add expectation to ensure on edit comment page (#11254) 2020-11-03 11:57:21 -05:00
Molly Struve
a741dceace
Refactor:Implement Carrierwave Monkeypatch in all Envs (#11233)
* Refactor:Implement Carrierwave Monkeypatch for all Envs

* add a spec for monkey patch
2020-11-03 10:51:53 -06:00
ludwiczakpawel
a1b670e63c
Settings UI fix (#11250)
* tooltips 1.0.1

* tooltips 1.0.1

* styles fix

* .
2020-11-03 16:04:59 +01:00
Mac Siri
16c3ccb955
Replace SimpleIDN usage with Addressable (#11238) 2020-11-03 08:55:31 -05:00
Nick Taylor
9154437fe0
Now themes radio button group are wrapped in a fieldset. (#11244) 2020-11-03 08:26:18 -05:00
rhymes
47624ddfcd
Add users param to Feeds::Import (#11234)
* Add users param to Feeds::Import

* Fix init and specs

* Replace explicit nil check

Co-authored-by: Michael Kohl <me@citizen428.net>

Co-authored-by: Michael Kohl <me@citizen428.net>
2020-11-03 07:02:17 -06:00
ludwiczakpawel
7a5c8d78b6
Z-index fix (#11248)
* tooltips 1.0.1

* tooltips 1.0.1

* z-index fix
2020-11-03 11:14:35 +01:00
Christopher Wray
9e439fcf6e
Fix Bug: Series index page showing series with 0 articles -#9658 (#11227)
* added join to index collections controller

* + collections test to not show empty series
2020-11-03 09:10:46 +01:00
Krzysztof Rybka
e3495be608
Render followed tags only if container available (#11054) 2020-11-02 16:43:37 -05:00
Andy Zhao
0fc1f55178
Filter by a few other roles when adding potential mods (#11187)
* Refactor and add a few other roles

* Rename constant

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>

* Memoize and use better constant name

* Don't query if state is not an actual role

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2020-11-02 15:05:19 -05:00
Julianna Tetreault
aa7ef577cb
Adds a Default Color Hex Value to the Admin Tags Color Field (#11105) [deploy]
* Adds a default color hex value to the /admin/tags/show color picker

* Rebased against color-picker changes and adds default color to edit.html.erb

* Adds a system spec for admin/tags and adjusts the filename for admin_creates_new_page_spec

* Uses .blank? in place of .nil? in admin/tags/show.html.erb

* Refactors test in admin_updates_tag_spec.rb
2020-11-02 12:50:03 -07:00
Lisa Sy
6a79c85e6b
Update comments label in widget (#11196)
* Update comments label in widget

* Refactor pluralization
2020-11-02 11:17:19 -08:00
Ridhwana
669d411feb
chore: remove future route (#11117) 2020-11-02 13:34:15 -05:00
dependabot-preview[bot]
6d9bceddf9
Bump file-loader from 6.1.1 to 6.2.0 (#11217)
Bumps [file-loader](https://github.com/webpack-contrib/file-loader) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/webpack-contrib/file-loader/releases)
- [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/file-loader/compare/v6.1.1...v6.2.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 12:08:17 -06:00
dependabot-preview[bot]
28db09346d
Bump @storybook/addon-storyshots from 6.0.26 to 6.0.28 (#11220)
Bumps [@storybook/addon-storyshots](https://github.com/storybookjs/storybook/tree/HEAD/addons/storyshots/storyshots-core) from 6.0.26 to 6.0.28.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.0.28/addons/storyshots/storyshots-core)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 12:21:33 -05:00
Molly Struve
1852ff55bf
Refactor:Show Same Number of Articles for all Envs (#11197) 2020-11-02 10:39:38 -06:00
Wouter van Marrum
9946ac221a
Added form fields for the admin podcasts dashboard. (#10517)
* Added form fields for the admin podcasts dashboard.

* Updated podcasts_controller.rb; Added parameters to the allowed params.
Updated edit.html.erb; Removed duplicated field.
Updated podcasts_spec.rb; Updated test.

* Fixed a typo.

* Refactored test which hopefully fixes the build

* Added missing comma.

* Added file fixture uploads.

* Fixed a typo.

* Update spec/requests/admin/podcasts_spec.rb

Co-authored-by: Fernando Valverde <fernando@visualcosita.com>

* Again fixed another typo.

* And again fixed another typo.

* Fixed merge conflicts.

Co-authored-by: Fernando Valverde <fernando@visualcosita.com>
Co-authored-by: rhymes <rhymes@hey.com>
2020-11-02 17:19:39 +01:00
dependabot-preview[bot]
2009aa3817
Bump @storybook/addon-knobs from 6.0.26 to 6.0.28 (#11218)
Bumps [@storybook/addon-knobs](https://github.com/storybookjs/storybook/tree/HEAD/addons/knobs) from 6.0.26 to 6.0.28.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.0.28/addons/knobs)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 17:16:51 +01:00
Michael Kohl
2a72dc9951
Remove unused method (#11226) 2020-11-02 10:45:02 -05:00
dependabot-preview[bot]
2239359f5c
Bump @testing-library/jest-dom from 5.11.4 to 5.11.5 (#11215)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.11.4 to 5.11.5.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.4...v5.11.5)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 10:34:55 -05:00
dependabot-preview[bot]
3ba945656e
Bump ibm-openapi-validator from 0.31.0 to 0.31.1 (#11214)
Bumps [ibm-openapi-validator](https://github.com/IBM/openapi-validator) from 0.31.0 to 0.31.1.
- [Release notes](https://github.com/IBM/openapi-validator/releases)
- [Changelog](https://github.com/IBM/openapi-validator/blob/master/CHANGELOG.md)
- [Commits](https://github.com/IBM/openapi-validator/compare/v0.31.0...v0.31.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-11-02 10:34:39 -05:00
dependabot-preview[bot]
e7202844e9
Bump @storybook/addon-actions from 6.0.27 to 6.0.28 (#11212)
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 6.0.27 to 6.0.28.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.0.28/addons/actions)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 10:34:25 -05:00
dependabot-preview[bot]
d884423884
Bump twilio-video from 2.7.2 to 2.7.3 (#11209)
Bumps [twilio-video](https://github.com/twilio/twilio-video.js) from 2.7.2 to 2.7.3.
- [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.7.2...2.7.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 10:16:00 -05:00
Mac Siri
7c954fa16e
Remove social icons from comment liquid tag (#11186) 2020-11-02 09:57:08 -05:00
Krzysztof Rybka
20a19daa67
Copy username to search_fields (#11045)
* Copy username to search_fields

* Add test for searching by a username

* Add data update script for reindexing users for username search

* Comment out ReindexUsersForProfiles update script

Co-authored-by: rhymes <rhymes@hey.com>
2020-11-02 08:38:15 -06:00
Molly Struve
6007cadad9
Refactor:Always Load Last 24 Hour Podcasts (#11198) 2020-11-02 08:33:16 -06:00
dependabot-preview[bot]
cd333b0bdb
Bump pusher from 1.4.2 to 1.4.3 (#11208)
* Bump pusher from 1.4.2 to 1.4.3

Bumps [pusher](https://github.com/pusher/pusher-http-ruby) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/pusher/pusher-http-ruby/releases)
- [Changelog](https://github.com/pusher/pusher-http-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pusher/pusher-http-ruby/compare/v1.4.2...v1.4.3)

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

* Bump pusher from 1.4.2 to 1.4.3 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 08:32:57 -06:00
Molly Struve
fbc569b50c
Optimization:Speed Up Notifications Spec By Combining Assertions (#11200) 2020-11-02 07:56:23 -06:00
dependabot-preview[bot]
2a31681e87
Bump emoji_regex from 3.0.0 to 3.2.0 (#11210)
* Bump emoji_regex from 3.0.0 to 3.2.0

Bumps [emoji_regex](https://github.com/ticky/ruby-emoji-regex) from 3.0.0 to 3.2.0.
- [Release notes](https://github.com/ticky/ruby-emoji-regex/releases)
- [Commits](https://github.com/ticky/ruby-emoji-regex/compare/v3.0.0...v3.2.0)

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

* Bump emoji_regex from 3.0.0 to 3.2.0 (Update vendor/cache)

* Use new ::RGIEmoji instead of deprecated ::Regex

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: rhymes <rhymes@hey.com>
2020-11-02 11:44:29 +01:00
ludwiczakpawel
bf2e6d749d
Z-index fix (#11229)
* tooltips 1.0.1

* tooltips 1.0.1

* z index fix
2020-11-02 11:07:05 +01:00
Ivan
3ad0e27f8c
fix for code fullscreen action on comment page (#11224) 2020-11-02 10:57:45 +01:00
dependabot-preview[bot]
a04726ead2
Bump chart.js from 2.9.3 to 2.9.4 (#11216)
Bumps [chart.js](https://github.com/chartjs/Chart.js) from 2.9.3 to 2.9.4.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](https://github.com/chartjs/Chart.js/compare/v2.9.3...v2.9.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 10:55:57 +01:00
dependabot-preview[bot]
8f09c2382e
Bump bootsnap from 1.4.8 to 1.4.9 (#11206)
* Bump bootsnap from 1.4.8 to 1.4.9

Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.4.8 to 1.4.9.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.4.8...v1.4.9)

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

* Bump bootsnap from 1.4.8 to 1.4.9 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 10:24:32 +01:00
dependabot-preview[bot]
4d67fb4760
Bump puma from 5.0.2 to 5.0.4 (#11213)
* Bump puma from 5.0.2 to 5.0.4

Bumps [puma](https://github.com/puma/puma) from 5.0.2 to 5.0.4.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v5.0.2...v5.0.4)

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

* Bump puma from 5.0.2 to 5.0.4 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 10:22:40 +01:00
dependabot-preview[bot]
4f7a437a8d
Bump sidekiq-unique-jobs from 6.0.24 to 6.0.25 (#11207)
* Bump sidekiq-unique-jobs from 6.0.24 to 6.0.25

Bumps [sidekiq-unique-jobs](https://github.com/mhenrixon/sidekiq-unique-jobs) from 6.0.24 to 6.0.25.
- [Release notes](https://github.com/mhenrixon/sidekiq-unique-jobs/releases)
- [Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mhenrixon/sidekiq-unique-jobs/commits/v6.0.25)

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

* Bump sidekiq-unique-jobs from 6.0.24 to 6.0.25 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 10:22:06 +01:00
dependabot-preview[bot]
42e5eb0bf5
Bump sass-loader from 10.0.3 to 10.0.4 (#11211)
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.0.3 to 10.0.4.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.0.3...v10.0.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 10:13:53 +01:00
Simon Fish
77285ee9af
Add mailer previews for Devise mailer (#10890)
* Add mailer previews for Devise mailer

Issue #10575

* Don't use short module syntax, move file to correct place
Issue #10575

* Fix Devise::Mailer previews

* Separate DeviseInvitable mailers

Co-authored-by: rhymes <rhymes@hey.com>
2020-11-02 09:10:00 +01:00
Michael Kohl
7b6c5b60c1
Add feature flag for profile admin section (#11149)
* Add feature flag for profile admin section

* Fix spec description

* Also remove profile admin link from sidebar

* Disable profile admin routes based on feature flag

* Minor fixes

* Remove unnecessary object from spec

* Refactor AdminHelper

* Fix specs

* Fix remaining specs
2020-11-02 08:48:18 +07:00
Molly Struve
8578fdc358
Spec Fix:Remove Extra Space From Single Number Dates in Spec (#11225) 2020-11-01 18:04:51 -06:00
Eduardo Tapia
28961a279d
feat(themes): add background color to hover and selected rows on cards (#11179) 2020-10-30 17:59:40 -04:00