Ben Halpern
034b049e3d
Add email to safe_params ( #11135 )
2020-10-28 13:46:54 -04:00
Arit Amana
1912ffdc46
[Team Email Login] Refactor the Email Authentication flow ( #11090 )
...
* Hooked "Enable" button to hidden checkbox
* Hooked "Close" button to close email settings and show "Enable/Edit" button
* Additional hookups
* Start building generalized Modal blocks
* Everything hooked up except styling and a few Qs
* last of the hookups; ensure logic flow
* clean up
* specs to cover email auth refactor
* Fix bug surfaced by Vaidehi
* Incorporate PR feedback
* prevent email auth disable if invite-only-mode
* adjust emailAuthModal body text
* Sundry improvements
* Last-mile tweaks
* Trying to get 3rd party auth deselect to work
* delete unnecssary function
* remove superfluous comment
* Move inline styling into CSS file
* Incorporate PR feedback
* Incorporate more PR feedback
* Make Confirm btn intent clearer
* Add TODO comment
2020-10-28 13:37:11 -04:00
y yam
fc22e2c4ae
Add admin config to always show manually selected users on "Suggested people to follow" list ( #10917 ) [deploy]
...
* Fix missing spaces in description of suggested_users
* Add config to use suggested_users instead of auto-generated suggestions
* Improve determine_follow_suggestions method
* Update app/lib/constants/site_config.rb
Improve the wording of the description of prefer_manual_suggested_users
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
* Apply new style to prefer_manual_suggested_users checkbox
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2020-10-28 10:36:49 -07:00
Ben Halpern
531f26bad6
Add admin shortcut to tag page ( #11092 )
...
* Add admin shortcut to tag page
* Fix spec
* Add more check
* Change admin location
2020-10-28 12:19:21 -04:00
Ben Halpern
0847c38196
[deploy] Enable Puma's nakayoshi_fork feature ( #11121 )
...
* Run GC.compact before fork
* Change to nakayoshi_fork
2020-10-28 09:22:44 -04:00
Molly Struve
ea156a201d
[deploy] Optimization:Remove more_tag_weight_experiment From Feed Tests ( #11089 )
2020-10-27 16:36:53 -05:00
WenYu
b0ee1c3905
Refactor articles_controller ( #11122 )
...
Refactor unless statement and remove unused variables from controller
2020-10-27 17:34:52 -04:00
Krzysztof Rybka
75fe6fd245
Extract dashboard posts sort options to a constant ( #11123 )
2020-10-27 16:09:08 -04:00
Jacob Herrington
d479834344
Do not set SiteConfig values in specs ( #11125 )
2020-10-27 15:56:31 -04:00
Rafi
c9014a7835
Removing email prop and fixing test ( #11108 )
2020-10-27 15:38:31 -04:00
dependabot-preview[bot]
651f55b331
Bump @babel/plugin-transform-react-jsx from 7.10.4 to 7.12.1 ( #11066 )
...
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-27 13:15:00 -04:00
Molly Struve
9af35bed0a
[deploy] Optimization:Limit Tags Searched For Follow Suggestions ( #11095 )
2020-10-27 11:58:54 -05:00
Jacob Herrington
c91c07920f
Add config option for Forem collective noun ( #11107 )
...
Not everyone will want to use "Community" to describe their Forem, so
now they have some flexibility there.
2020-10-27 12:45:52 -04:00
ludwiczakpawel
7f08ff2b93
zen mode fix ( #11114 )
2020-10-27 12:44:28 -04:00
Robin Gagnon
10d7da2878
feat: Add shortcut to bookmark an article ( #11116 )
2020-10-27 12:44:03 -04:00
Antony Garand
963f4da743
Updated gitdocs.json links to https ( #11118 )
2020-10-27 12:19:03 -04:00
Lisa Sy
126c2401e3
Improve small screen display of Mod Center ( #10621 ) [deploy]
...
* Add page-header padding and overflow-x for tabs
* Split into two moderator files and move into Views folder
* Add page-header padding style
* Increase font size of crayons-tag on small screen
* Improve small screen view of menu and grid rows in mod center
* Fix date alignment
* Update after first PR revision
* Re-update
* Fix stylesheet reference
2020-10-27 07:46:52 -07:00
ludwiczakpawel
125584d354
Tooltips & Required fields ( #11112 )
...
* add tooltip component
* crayons doc
* z-index
* one less call
* doc
2020-10-27 15:24:22 +01:00
dependabot-preview[bot]
5992be2201
Bump @babel/preset-env from 7.11.5 to 7.12.1 ( #11072 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.11.5 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-preset-env )
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-27 14:54:01 +01:00
dependabot-preview[bot]
9b7926cea2
Bump @storybook/addon-a11y from 6.0.22 to 6.0.27 ( #11079 )
...
Bumps [@storybook/addon-a11y](https://github.com/storybookjs/storybook/tree/HEAD/addons/a11y ) from 6.0.22 to 6.0.27.
- [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.27/addons/a11y )
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-27 14:53:30 +01:00
Ben Halpern
d822d8d7d9
Fall back to configured social image instead of hardcoded ( #9747 )
...
* Fall back to configured social image instead of hardcoded
* Move from constant to method for config inclusion
* Fix spec
* Fix test
2020-10-27 08:54:45 -04:00
dependabot-preview[bot]
b8f6779ade
Bump @storybook/addon-actions from 6.0.26 to 6.0.27 ( #11077 )
...
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-26 23:05:23 -04:00
dependabot-preview[bot]
76af6b5e30
Bump jest from 26.5.3 to 26.6.1 ( #11065 )
...
Bumps [jest](https://github.com/facebook/jest ) from 26.5.3 to 26.6.1.
- [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.5.3...v26.6.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-26 20:28:27 -04:00
dependabot-preview[bot]
639939ed6f
Bump markdown-loader from 5.1.0 to 6.0.0 ( #11078 )
...
Bumps [markdown-loader](https://github.com/peerigon/markdown-loader ) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/peerigon/markdown-loader/releases )
- [Changelog](https://github.com/peerigon/markdown-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/peerigon/markdown-loader/compare/v5.1.0...v6.0.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-26 20:26:59 -04:00
Andy Zhao
b80dae1436
Update data exporter to handle admin send ( #10274 )
...
* Update data exporter to handle admin send
* Match button with everything else
* Use proper redirect path
* Stub SiteConfig definition instead of setting it
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
* Removed if statement by accident oops
* Remove non-functional boolean param and pass email directly
* Use refinement to conv to boolean instead of JSON.parse
* Rename to StringToBoolean
* Use 'using' in proper scope (not in method)
* Rename to_bool to to_boolean
* Refactor if statement, thanks rhymes!
* Fix small bugs in tests
* Remove tracking for export_email b/c no @user
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2020-10-26 18:00:56 -04:00
Mac Siri
c817737748
Expand cropping options for Imgproxy ( #11044 )
2020-10-26 14:25:21 -04:00
Krzysztof Rybka
218713739b
[deploy] Add following_tags_count to user sidebar stats cache key ( #11042 )
2020-10-26 12:26:07 -05:00
Vaidehi Joshi
bbc55e2e7b
Update PR template's "has tests?" section ( #11088 )
...
* Update PR template to help prompt us all to think a bit deeper about whether testing a code change is actually possible/doable/necessary before checking “no” in the template.
* Standardize around capitalization in PR template checkboxes
2020-10-26 10:12:04 -07:00
Molly Struve
dbfed77f37
Flaky Spec Fix:Remove js:true From Local Timestamp Checks and js Fix attempt code ( #11087 )
2020-10-26 10:20:51 -05:00
Andy Zhao
97affe5571
Don't use instantclick for registration links ( #11041 )
...
* Don't use instantclick for linking to registration page
* Make registration link not navigatable by instantclick
* Always remove instantclick param for email signup
* Revert "Make registration link not navigatable by instantclick"
This reverts commit 29a2e0aa7693b4fcccf8c56c3e378185ffd16c6d.
2020-10-26 10:53:31 -04:00
dependabot-preview[bot]
f6571ef244
Bump @storybook/addon-links from 6.0.26 to 6.0.27 ( #11074 )
...
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/addons/links ) from 6.0.26 to 6.0.27.
- [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.27/addons/links )
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-26 10:17:07 -04:00
dependabot-preview[bot]
76a6efd2cf
Bump @babel/core from 7.11.6 to 7.12.3 ( #11075 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.11.6 to 7.12.3.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.3/packages/babel-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-26 10:16:47 -04:00
Ridhwana
de16fac96e
[deploy] chore: remove /forem redirect ( #11083 )
2020-10-26 10:12:38 -04:00
dependabot-preview[bot]
cd9ace07db
Bump @storybook/preact from 6.0.26 to 6.0.27 ( #11070 )
...
Bumps [@storybook/preact](https://github.com/storybookjs/storybook/tree/HEAD/app/preact ) from 6.0.26 to 6.0.27.
- [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.27/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-26 15:11:22 +01:00
Cassey Lottman
64dce93088
clarify how to add multiple tags ( #11082 )
2020-10-26 14:57:51 +01:00
Molly Struve
4a394f1b96
[deploy] Bug Fix:Only Require Timemachine for Testing envs ( #11085 )
2020-10-26 08:57:16 -05:00
Julianna Tetreault
894de8c73f
Add following_tags_count to release_adjusted_cache_key ( #11055 ) [deploy]
...
* Adds following_tags_count to release_adjusted_cache_key
* Adds following_tags_count to release_adjusted_cache_key in index.html.erb
2020-10-26 07:46:08 -06:00
dependabot-preview[bot]
3787f46863
[deploy] Bump omniauth-facebook from 7.0.0 to 8.0.0 ( #11071 )
...
* Bump omniauth-facebook from 7.0.0 to 8.0.0
Bumps [omniauth-facebook](https://github.com/simi/omniauth-facebook ) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/simi/omniauth-facebook/releases )
- [Changelog](https://github.com/simi/omniauth-facebook/blob/master/CHANGELOG.md )
- [Commits](https://github.com/simi/omniauth-facebook/compare/v7.0.0...v8.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump omniauth-facebook from 7.0.0 to 8.0.0 (Update vendor/cache)
* Trigger Travis CI
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: rhymes <rhymes@hey.com>
2020-10-26 08:17:48 -05:00
Molly Struve
3884009f08
Spec Fix:Set Javascript Locale to Match Time.zone ( #11025 )
2020-10-26 07:51:32 -05:00
PakkuDon
e4865a6072
Truncate long tags in sidebar ( #11057 )
...
Resolves https://github.com/forem/forem/issues/10990
2020-10-26 12:36:24 +01:00
Rafi
42014f7fb9
Replacing old button with crayons buttons to make it more visible ( #11080 )
...
* Using crayon button
* Converting to secondary button
2020-10-26 12:35:20 +01:00
dependabot-preview[bot]
7df78f2b24
Bump ddtrace from 0.41.0 to 0.42.0 ( #11067 )
...
* Bump ddtrace from 0.41.0 to 0.42.0
Bumps [ddtrace](https://github.com/DataDog/dd-trace-rb ) from 0.41.0 to 0.42.0.
- [Release notes](https://github.com/DataDog/dd-trace-rb/releases )
- [Changelog](https://github.com/DataDog/dd-trace-rb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/DataDog/dd-trace-rb/compare/v0.41.0...v0.42.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump ddtrace from 0.41.0 to 0.42.0 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-26 12:34:32 +01:00
Jacob Herrington
7137d9e3b3
Remove unused factories and traits ( #11051 )
2020-10-26 12:28:25 +01:00
Jacob Herrington
8c3c4fb951
Explicitly set a resource type in seeds ( #11050 )
2020-10-26 12:27:51 +01:00
Krzysztof Rybka
6d0dab5e1d
Remove duplicated nav in sidebar_nav ( #11053 )
2020-10-26 12:27:37 +01:00
Krzysztof Rybka
2078490ba7
Extract subtitles to a constant to reduce allocations ( #11056 )
2020-10-26 12:27:15 +01:00
dependabot-preview[bot]
295bfe1e19
Bump counter_culture from 2.6.1 to 2.6.2 ( #11061 )
...
* Bump counter_culture from 2.6.1 to 2.6.2
Bumps [counter_culture](https://github.com/magnusvk/counter_culture ) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/magnusvk/counter_culture/releases )
- [Changelog](https://github.com/magnusvk/counter_culture/blob/master/CHANGELOG.md )
- [Commits](https://github.com/magnusvk/counter_culture/compare/v2.6.1...v2.6.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump counter_culture from 2.6.1 to 2.6.2 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-26 12:26:25 +01:00
dependabot-preview[bot]
8cfda16187
Bump stackprof from 0.2.15 to 0.2.16 ( #11063 )
...
* Bump stackprof from 0.2.15 to 0.2.16
Bumps [stackprof](https://github.com/tmm1/stackprof ) from 0.2.15 to 0.2.16.
- [Release notes](https://github.com/tmm1/stackprof/releases )
- [Changelog](https://github.com/tmm1/stackprof/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tmm1/stackprof/compare/v0.2.15...v0.2.16 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump stackprof from 0.2.15 to 0.2.16 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-26 12:26:04 +01:00
dependabot-preview[bot]
bcc364cb99
Bump strong_migrations from 0.7.1 to 0.7.2 ( #11064 )
...
* Bump strong_migrations from 0.7.1 to 0.7.2
Bumps [strong_migrations](https://github.com/ankane/strong_migrations ) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/ankane/strong_migrations/releases )
- [Changelog](https://github.com/ankane/strong_migrations/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ankane/strong_migrations/compare/v0.7.1...v0.7.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump strong_migrations from 0.7.1 to 0.7.2 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-26 12:25:40 +01:00
dependabot-preview[bot]
11db489033
Bump pusher from 1.4.1 to 1.4.2 ( #11069 )
...
* Bump pusher from 1.4.1 to 1.4.2
Bumps [pusher](https://github.com/pusher/pusher-http-ruby ) from 1.4.1 to 1.4.2.
- [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.1...v1.4.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump pusher from 1.4.1 to 1.4.2 (Update vendor/cache)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-26 12:25:26 +01:00