Arit Amana
f4bd1df21c
[Email/Password Authentication] Allow Admins to enable email/password login ( #10745 )
...
* Implement Admins ability to allow email login
* Write specs for admin allow email login
* Fix specs causing builds to fail
* Fix spec causing builds to fail
* Use dummyimage.com for spec images
Co-authored-by: Josh Puetz <joshpuetz@gmail.com>
* Use dummyimage.com
* refactor setting of SiteConfig attributes
* Address PR review comments
* fix indentation
* Use "allow to receive and return" approach for other specs
Co-authored-by: Josh Puetz <joshpuetz@gmail.com>
2020-10-12 12:54:35 -04:00
Molly Struve
e42b6d6b46
Flaky Spec Fix:Clear Article Content Before Filling In ( #10810 )
2020-10-12 10:46:25 -05:00
Jacob Herrington
c37b283865
Allow Forem admins to enable an invite only mode. ( #10758 )
...
* Add invite only mode field to SiteConfig
* Add UI elements for invite only mode
2020-10-12 11:27:22 -04:00
dependabot-preview[bot]
ef613b0241
Bump ibm-openapi-validator from 0.30.0 to 0.30.1 ( #10781 )
...
Bumps [ibm-openapi-validator](https://github.com/IBM/openapi-validator ) from 0.30.0 to 0.30.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.30.0...v0.30.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-10-12 11:26:26 -04:00
dependabot-preview[bot]
2a62f27343
Bump pusher from 1.3.3 to 1.4.1 ( #10770 )
...
* Bump pusher from 1.3.3 to 1.4.1
Bumps [pusher](https://github.com/pusher/pusher-http-ruby ) from 1.3.3 to 1.4.1.
- [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/commits/v1.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump pusher from 1.3.3 to 1.4.1 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-12 11:24:59 -04:00
dependabot-preview[bot]
11ceac897e
Bump eslint-plugin-react from 7.21.2 to 7.21.4 ( #10772 )
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.21.2 to 7.21.4.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases )
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.21.2...v7.21.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-10-12 11:24:29 -04:00
dependabot-preview[bot]
5e2da9abad
Bump @storybook/addon-storyshots from 6.0.21 to 6.0.26 ( #10775 )
...
Bumps [@storybook/addon-storyshots](https://github.com/storybookjs/storybook/tree/HEAD/addons/storyshots/storyshots-core ) from 6.0.21 to 6.0.26.
- [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.26/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-10-12 11:24:02 -04:00
dependabot-preview[bot]
dea92ea5e0
Bump sass-loader from 10.0.2 to 10.0.3 ( #10776 )
...
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 10.0.2 to 10.0.3.
- [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.2...v10.0.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-10-12 11:07:55 -04:00
dependabot-preview[bot]
8b0c2e7225
Bump preact from 10.5.3 to 10.5.4 ( #10778 )
...
Bumps [preact](https://github.com/preactjs/preact ) from 10.5.3 to 10.5.4.
- [Release notes](https://github.com/preactjs/preact/releases )
- [Commits](https://github.com/preactjs/preact/compare/10.5.3...10.5.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-10-12 11:07:29 -04:00
Darshak Parikh
dfaa747405
[deploy] Add im-in.space Mastodon instance ( #10804 )
...
Co-authored-by: rhymes <rhymes@hey.com>
2020-10-12 16:59:52 +02:00
dependabot-preview[bot]
5d5be2e883
Bump jest from 26.4.2 to 26.5.3 ( #10807 )
...
Bumps [jest](https://github.com/facebook/jest ) from 26.4.2 to 26.5.3.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v26.4.2...v26.5.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-10-12 16:14:51 +02:00
dependabot-preview[bot]
bf088132e6
Bump eslint from 7.10.0 to 7.11.0 ( #10774 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.10.0 to 7.11.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.10.0...v7.11.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-10-12 10:08:33 -04:00
Michael Kohl
c340621924
Remove ignored columns from User ( #10787 )
2020-10-12 10:04:51 -04:00
dependabot-preview[bot]
cc210ae332
Bump file-loader from 6.1.0 to 6.1.1 ( #10780 )
...
Bumps [file-loader](https://github.com/webpack-contrib/file-loader ) from 6.1.0 to 6.1.1.
- [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.0...v6.1.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-10-12 09:53:46 -04:00
rhymes
a1e8634b90
[deploy] Disable flakey Runkit test ( #10806 )
2020-10-12 15:48:29 +02:00
Yash Dave
9b693a8a8d
Fix overflow of indented code-blocks in lists ( #10782 )
...
* fix overflow in list indented code blocks
- add styling for .highlight to <pre> inside <li>
* add `div.highlight` styling to `li blockquote.highlight`
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
2020-10-12 15:19:22 +02:00
Rafi
177659fd2e
Adding role and aria labels to help screen readers ( #10785 )
2020-10-12 11:01:14 +02:00
dependabot-preview[bot]
4babb9e6de
Bump rubocop from 0.92.0 to 0.93.0 ( #10771 )
...
* Bump rubocop from 0.92.0 to 0.93.0
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 0.92.0 to 0.93.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.92.0...v0.93.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump rubocop from 0.92.0 to 0.93.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-12 10:49:11 +02:00
Michael Kohl
f95acef2bc
Profile generalization tidbits ( #10631 )
...
* Load all profile fields on app start
This time without breaking bin/setup (hopefully)
* A SiteConfig.dev_to? for special case logic
* Update BanishUser#remove_profile_info
* Continue clearing data from users table for now
* Add specs for SiteConfig#dev.to?
* Use correct attribute list
* Update spec/models/site_config_spec.rb
Co-authored-by: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com>
Co-authored-by: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com>
2020-10-12 10:01:27 +07:00
ludwiczakpawel
dd6e2246ab
[deploy] crayons prep ( #10737 )
2020-10-09 18:07:49 -04:00
irmela
ee989a0d47
[deploy] Allow glitch id starting with ~ ( #10544 )
2020-10-09 17:17:53 -04:00
Julianna Tetreault
749dd55d41
Removes superfluous sign_in from users_onboarding_spec.rb ( #10757 ) [deploy]
2020-10-09 14:24:27 -06:00
Andrew Bone
7ff044730e
[deploy] Long text goes outside cards ( #10740 )
...
* Add word-break to crayons-card
Add word-break to crayons-card this will allow words to be broken if the word is too long but will wrap normally otherwise.
* Use overflow-wrap: anywhere;
`break-word` is deprecated though `anywhere` does not work in IE
2020-10-09 14:18:09 -04:00
Michael Kohl
621d9a2bf1
Remove Twitch-related columns from users table ( #10750 )
2020-10-09 14:17:35 -04:00
Ben Halpern
8e9aeffd78
Add forem meta tags ( #10747 )
...
* Add forem meta tags
* Add docs
* Update docs/technical-overview/compatibility.md
Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>
* Update docs/technical-overview/compatibility.md
Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>
* Update docs/technical-overview/compatibility.md
Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>
* Update docs/technical-overview/compatibility.md
Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>
2020-10-09 14:13:14 -04:00
Josh Puetz
37b40c9b04
Link Email Account creation UI to existing Create Account UI ( #10746 ) [deploy]
...
* Conditional button to link to email accout creation
* Rename email signup state param
* Test for email account creation button scenarios
2020-10-09 10:29:09 -05:00
Mac Siri
e7c1b3e993
Move Imgproxy endpoint config to Images::Optimizer ( #10742 )
2020-10-09 10:50:30 -04:00
Rafal Trojanowski
2a488a19f8
Articles API: filtering by tags ( #3654 ) ( #10614 )
...
* Articles API: filtering by tags (#3654 )
* Address CR comments (#3654 )
* Add test case
* Move tests
* Update docs
* Use _any_ option for querying by tags (#3654 )
2020-10-09 12:49:34 +02:00
Christopher Wray
ab7d547bf1
Add Section for Series/Collections ( #10719 )
...
* Add Section for Series/Collections
I added a small section in this area of the docs to share some information about collections/ series.
There is not much information in the documentation about collections or series and I felt like this would be beneficial to others looking to help with the Series feature of the website.
* Updated wording of collections section.
2020-10-09 12:37:31 +02:00
Andy Zhao
6c20a70aef
[deploy] Add recaptcha keys to as site-configurable keys ( #10736 )
...
* Add recaptcha keys to as site-configurable keys
* Add recaptcha to site config view
* Use site config key
* Make ReCAPTCHA tag optional if keys are blank
* Use proper capitalization of recaptcha
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
* Refactor logic for readability
* Use proper capitalization of recaptcha
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
* Use proper capitalization of recaptcha
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
* Use proper capitalization of recaptcha
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
2020-10-08 17:16:00 -04:00
Manaswini
e920155a93
Remove tabindex of -1 on upload image input in the write a post editor ( #10543 )
...
* Remove tabindex of -1 on upload image input in the write a post editor
* Remove negative tabindex on image uploader's outer button
* Give tabindex of -1 to outer button on image uploader
* Update buttons.scss
2020-10-08 21:57:22 +02:00
Robin Gagnon
2c10fb0417
[deploy] fix: Clear chat input after Enter key submit ( #10487 )
...
* fix: Clear chat input after Enter key submit
* fix: Rename Composer component
* test: Add integration tests for input value
* After pressing Enter
* After clicking Send
* After clicking Save edit
* After clicking Close edit
2020-10-08 14:51:36 -04:00
Julianna Tetreault
d21a769bd1
Generalizes Connect welcome message and settings nav tab and refactors tests ( #10741 ) [deploy]
2020-10-08 12:41:30 -06:00
Vaidehi Joshi
c4efee10bf
Do not require meta_keywords to be set ( #10721 )
...
* Remove extra character from meta_keywords in /listings/index.html.erb
* Remove meta_keywords from MANDATORY_CONFIGS
* Add and use meta_keywords_tag helper
* Use modern tag syntax instead of deprecated syntax
* Add and use meta_keywords_default helper
* Add and use meta_keywords_article helper
* Remove * from meta_keywords_field.label
* Update meta_keyword specs to account for no keywords being set
2020-10-08 10:51:25 -04:00
Andrew Bone
393f2d09af
Change admin password in docs ( #10735 )
...
Update default admin password in documentation
2020-10-08 09:28:05 -05:00
Michael Kohl
a2b55f889c
Remove Twitch integration ( #10732 )
...
* Remove Twitch integration
* Ignore columns
2020-10-08 12:44:10 +00:00
Timothy Ng
a943f045c5
Connect: Highlight @ mentions to logged in user ( #10216 )
...
* Wrap with <mark> tags if mentioning current user
* Add test for @mention highlight
* Match @{username} mention
* Remove default param
2020-10-07 23:23:58 -04:00
Mac Siri
be3efd1d7f
[deploy] Bump Rails to 6.0.3.4 ( #10720 )
2020-10-07 15:35:51 -04:00
Mac Siri
5893998369
[Deploy] Update Carrierwave's asset_host for Forem cloud ( #10488 )
2020-10-07 14:17:54 -04:00
Andrew Bone
b37b633b35
[deploy] Add scroll to Anchor ( #10464 )
...
* Add scroll to Anchor
* Fix code typos
* Move to template litterals
2020-10-07 12:55:57 -05:00
Ben Halpern
36b1edb3e2
[deploy] Ensure podcast episodes are created with processed_html ( #10715 )
2020-10-07 12:09:36 -04:00
Ben Halpern
0ed408a409
Fix feed order for basic ( #10717 )
...
* Fix feed order for basic
* Fix spec
2020-10-07 11:26:32 -04:00
Ridhwana
19c78d6072
[deploy] Prepare the database for the configurable navigation items ( #10662 )
...
* feat: add the order of the navigational items to the database + admin interface
* refactor: rename :display_when_signed_in to :display_only_when_signed_in
* chore: rename all instances of display_when_signed_in to display_only_when_signed_in
* feat: add a data script that will setup the base urls
* feat: add a temporary rake file that will allow us to seed prod db's
* chore: oops rename file
* chore: remove the index for now
* chore: remove validation
* feat: change the order field to position and add an index o the name and url
* feat: update everything that uses order to position
* refactor: order by name as a secondary attr
2020-10-07 11:20:32 -04:00
Jacob Herrington
c53522a8a8
Remove random onboarding background images ( #10683 )
...
* Fix misleading alt tags
* Make random fallback images optional
2020-10-07 10:19:18 -04:00
Sarthak Sharma
83b3baeac3
[deploy] 🚀 Feature: Draw Command for connect with image annotations ( #10136 )
...
* 🚀 Draw Command ready for connect [Rebase]
* revert schema changes
* fix & replace Button with theme button
* fix UI
* add test cases
* fix travis issue
* on image upload enable send button
* revert schema.db changes
* revert UI changes
* fix suggestions
* Update app/javascript/chat/draw/index.jsx
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
* update test cases
* remove commented code
* Trigger Travis CI
Co-authored-by: Narender Singh <narender2031@gmail.com>
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
2020-10-07 16:06:22 +02:00
Ben Halpern
b800b81c45
Skip service workers in development by default ( #10617 )
2020-10-07 14:23:11 +07:00
Julianna Tetreault
0a5babc10e
Add Recent Reactions to the Admin Users' Page ( #10680 )
...
* Adds Recent Reations back to the Admin Users page...UGH rebasing :(
- Render negative_reactions partial in admin/edit.html.erb
- Add #set_related_reactions back to Admin::UsersController
- Refacotors JS to target #reports-row in _reports.html.erb
* Alphabetizes reports and reactions partials in edit.html.erb
* Adds tests around Recent Reports and Recent Reactions sections to users_spec.rb
2020-10-07 14:21:10 +07:00
Jacob Herrington
1a8fa3b182
Add logo_svg to mandatory config fields ( #10671 )
2020-10-07 08:29:13 +02:00
dependabot-preview[bot]
9c4254612b
Bump @storybook/preact from 6.0.22 to 6.0.26 ( #10619 )
...
Bumps [@storybook/preact](https://github.com/storybookjs/storybook/tree/HEAD/app/preact ) from 6.0.22 to 6.0.26.
- [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.26/app/preact )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-07 08:11:34 +02:00
Brunno Souza
120bd7940f
Move method #approved_liquid_tags to user service ( #10663 )
2020-10-07 12:04:08 +07:00