Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump capybara from 3.37.1 to 3.39.2 #2017

Open
wants to merge 121 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
6bcac3f
Adding theme, favicon
May 10, 2018
7906375
Updating Colorides styles, updating style names
May 15, 2018
48899cd
Making some adjustments to style
May 20, 2018
2bbb3c8
[app] formatter: Adding link to mentions for specific websites
May 24, 2018
2e560d2
[app] formatter: Adding Instagram mention link
May 24, 2018
9c4cd36
[mastodon_colorides] Updating CSS for custom theme on 2.4.1rc3
Aug 23, 2018
0207c75
[app] Adding new css
Aug 23, 2018
a3ede63
Put images behind CWs
marrus-sh Jun 28, 2017
a3f6973
Fixing image inside cw bugs
Aug 26, 2018
09cef46
Adding variables to Colorid.es theme
Aug 27, 2018
94703fb
Fixing retoot icon colors
Aug 27, 2018
5588762
Adjusting color of modal
Aug 27, 2018
9fe372c
CSS Adjustments
Aug 29, 2018
3ea0d64
Increasing display name max length to 40 and bio max length to 500
Sep 1, 2018
0dd27f0
Fixing theme for 2.5.0
Sep 3, 2018
32299b1
Fixing some CSS for colorid.es theme
Sep 5, 2018
1380c6a
Updating CSS
Sep 17, 2018
6baed57
Adding ability to send local toot (federate as unlisted but show on l…
Sep 17, 2018
95f2be0
Adding local toots to stream
Sep 19, 2018
2e2e87c
Adding missing styles variables in custom theme
Jan 6, 2019
27e29f3
Adding style for thread link
Jan 6, 2019
3648387
Adding setting for emoji size
Jan 6, 2019
3b97916
Increasing toot length to 2400 characters
Jan 6, 2019
4817644
Adding 2.7.0 CSS overrides
Jan 21, 2019
a6ddc15
Fixing localization for local privacy on composer
Feb 24, 2019
a59d484
Adding new themes
Feb 24, 2019
7d8c4ab
Some fixes for the themes
Feb 26, 2019
c7964c0
Adding BBCode support (code from Kibousoft fork)
Mar 11, 2019
ca8c126
Making some adjustments to custom theme
Mar 13, 2019
d55d124
Adding user settings for BBCode
Mar 18, 2019
dc62bd6
Adding some adjustments to theme
Mar 21, 2019
c69e3ce
Fixing size BBCode deactivation
Mar 24, 2019
c26927c
Adjusting Purple Haze theme
Mar 24, 2019
4dc7fc3
Adding explanation for BBCode setting, adding disable/enable all button
Mar 25, 2019
c9c1231
Adding colorhex BBCode
Mar 28, 2019
b6f649e
Adding inverted color scheme Colorides theme
Apr 2, 2019
35b8241
Sediroloc fixes + extras
StarryAster Apr 2, 2019
3193f5c
Adjusting BBCode quote and code border color
Apr 7, 2019
46564c1
Fixing themes
Apr 10, 2019
819b871
Fixing GIF not working when compiling assets
Apr 12, 2019
fd0aab8
Increasing poll options size and number limit
Apr 12, 2019
fe5b00e
Fixing themes for 2.8
Apr 12, 2019
6f4e5bf
Adding icon to poll inside CW
Apr 15, 2019
cb63abe
Implementing url BBCode and changing how color and size BBCode is for…
Apr 15, 2019
221e7e4
Adding fix to themes, adding two new pink themes
Apr 16, 2019
eb06ab6
Fixing themes
Apr 24, 2019
3a77034
Increasing account fields size to 6, increasing bio size to 800
May 2, 2019
c04a185
Adding new banner
May 7, 2019
e40f83e
Fixing themes, adjusting banner
May 7, 2019
3a33432
Fixing themes
May 21, 2019
8c54877
Fixing video height not being set after CW is open
Jun 5, 2019
3f8b8aa
Fixing themes
Jun 6, 2019
92a9e4b
Fixing Media Gallery size inside Web UI
Jun 16, 2019
97683d3
Adding option to enable advanced layout on sign up
Jun 18, 2019
0114b85
Updating themes
Jun 18, 2019
0c0e882
Fixing themes
Jul 2, 2019
462ea58
Fixing themes
Nov 15, 2019
9b65dd0
Add minimum required followers to appear on account discovery
Nov 18, 2019
8aafb81
Improve registration invite request form
Feb 21, 2020
b2e7ebe
Fix translation
Feb 23, 2020
e7edc64
Make content warning field visible by default and add option to chang…
Feb 24, 2020
2882cd6
Add new poll duration lengths
Feb 24, 2020
77539e0
New default avatar for Colorid.es
Feb 24, 2020
40a7617
Fix menu not showing in some themes
Feb 24, 2020
4f7a50a
Increase request body length limit to 2MB
Mar 29, 2020
f6ca266
Fix themes
May 23, 2020
c4e3df4
Add check for http in invite request when sending e-mail notification
Jul 15, 2020
09ef204
Update pt-BR translation
Jul 17, 2020
b09d5c9
Fix theme
Jul 24, 2020
ceff205
Restore unsafe-unline
Jul 24, 2020
b718ae8
Fix theme
Aug 6, 2020
5168f1a
Add icon for local status
Aug 7, 2020
7bfa20d
Add option to use local visibility as default
Aug 7, 2020
aedb0ef
Fix themes
Aug 8, 2020
7ecd533
Tema Colorwave adicionado
StarryAster Aug 8, 2020
7b42ec4
Add locale for colorwave theme
Aug 8, 2020
da8965e
Fix themes
Aug 10, 2020
aed4e1d
Fix reply being sent to local timeline when the status is public in l…
Aug 10, 2020
0a372f3
Fix themes
Aug 11, 2020
046e8e7
Sunset theme
StarryAster Aug 28, 2020
60fa868
Custom column width
StarryAster Sep 5, 2020
9de5216
New theme (Line 10)
StarryAster Sep 5, 2020
0124f45
Theme fixes
Sep 9, 2020
f2b54a4
Fix themes
Nov 21, 2020
0a0a878
Fix style image location
Dec 28, 2020
7db8ce7
Adjustments for 3.3.0
Dec 28, 2020
05f86e0
Increase report and account moderation note max length
Jan 3, 2021
e1bbc43
Fix themes
Jan 17, 2021
3d5333b
Theme adjustments
May 2, 2021
f98a9b7
Add max_toot_chars and max_bio_chars to instance API
Jul 12, 2021
d148aa0
Fix WIP
May 10, 2022
ba3cf98
Mudanças em CW/PH/L10, algumas correções de tradução
StarryAster May 13, 2022
b6447ad
Mudanças tema principal/CW/SS.
StarryAster May 13, 2022
cf2cfc7
Fix fan_out_on_write_service
May 13, 2022
2ec1bc5
undoing sunset mistakes
May 13, 2022
43261bf
Consertos em temas: Flamingo/principal/SS
StarryAster May 13, 2022
88afd38
Mudanças nos temas Flamingo e Sediroloc
StarryAster May 13, 2022
a982258
Mudanças nos temas Colorides e Flamingo
StarryAster May 13, 2022
cccac9c
Mudanças em PH/CW/Sediroloc/principal/Flamingo + mudança no texto do…
StarryAster May 15, 2022
0133b27
Mais algumas mudanças no Purple Haze
StarryAster May 15, 2022
5007c1c
Mudanças em CW e PH, correção de tradução, retorno de Brilhar sem emoji
StarryAster May 21, 2022
50f6914
Updating themes to deal with pending accounts/trends in yellow
StarryAster May 22, 2022
6c1b157
Fix bbcode when using url bbcode
May 24, 2022
30a0d68
Mudanças 3.5.3 + novo tema acidental (ops)
StarryAster May 31, 2022
a124044
Mais consertos em temas
StarryAster Jun 1, 2022
29ede13
Conserto de como aparecem postagens não-compartilháveis no tema Purpl…
StarryAster Jun 1, 2022
b1791a3
correções em Purple Haze
StarryAster Jun 4, 2022
797e3a5
Fix url inside url bbcode
IsabelaY Jun 26, 2022
ee4d2de
Ajustes
IsabelaY Jun 26, 2022
d7c7743
botão de edição descomentado
StarryAster Nov 12, 2022
0220e99
algumas correções nos temas (PH, Colorwave, principal)
StarryAster Nov 12, 2022
860afc5
Remove unnecessary field from serializer
Nov 13, 2022
6494cf0
Fix error on batch delete
Nov 13, 2022
8255eae
Consertos nos temas Colorwave, Purple Haze e Colorides
StarryAster Nov 14, 2022
d683cc7
simple_form.pt-BR.yml atualizado
StarryAster Nov 18, 2022
5c07fc3
link_footer.js modificado
StarryAster Nov 18, 2022
d4849a5
pt-BR.yml modificado
StarryAster Nov 18, 2022
ef160ab
devise.pt-BR.yml modificado
StarryAster Nov 18, 2022
8568167
Consertos nos temas principal, invertido e Flamingo
StarryAster Nov 24, 2022
e73ffc3
Consertos no tema Flamingo
StarryAster Dec 4, 2022
2e52425
Bump capybara from 3.37.1 to 3.39.2
dependabot[bot] Jun 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ gem 'webauthn', '~> 3.0.0.alpha1'
gem 'json-ld'
gem 'json-ld-preloaded', '~> 3.2'
gem 'rdf-normalize', '~> 0.5'
gem 'ruby-bbcode'

group :development, :test do
gem 'fabrication', '~> 2.28'
Expand All @@ -112,7 +113,7 @@ group :production, :test do
end

group :test do
gem 'capybara', '~> 3.37'
gem 'capybara', '~> 3.39'
gem 'climate_control', '~> 0.2'
gem 'faker', '~> 2.21'
gem 'microformats', '~> 4.2'
Expand Down
23 changes: 16 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ GEM
sshkit (~> 1.3)
capistrano-yarn (2.0.2)
capistrano (~> 3.0)
capybara (3.37.1)
capybara (3.39.2)
addressable
matrix
mini_mime (>= 0.1.3)
Expand Down Expand Up @@ -394,7 +394,7 @@ GEM
mime-types-data (~> 3.2015)
mime-types-data (3.2022.0105)
mini_mime (1.1.2)
mini_portile2 (2.8.0)
mini_portile2 (2.8.2)
minitest (5.15.0)
msgpack (1.5.1)
multi_json (1.15.0)
Expand Down Expand Up @@ -473,7 +473,7 @@ GEM
pundit (2.2.0)
activesupport (>= 3.0.0)
raabro (1.4.0)
racc (1.6.0)
racc (1.7.0)
rack (2.2.3)
rack-attack (6.6.1)
rack (>= 1.0, < 3)
Expand All @@ -487,8 +487,8 @@ GEM
rack (>= 2.1.0)
rack-proxy (0.7.0)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rack-test (2.1.0)
rack (>= 1.3)
rails (6.1.6)
actioncable (= 6.1.6)
actionmailbox (= 6.1.6)
Expand Down Expand Up @@ -533,7 +533,7 @@ GEM
redis (4.5.1)
redis-namespace (1.8.2)
redis (>= 3.0.4)
regexp_parser (2.4.0)
regexp_parser (2.8.1)
request_store (1.5.1)
rack (>= 1.4)
responders (3.0.1)
Expand Down Expand Up @@ -583,6 +583,8 @@ GEM
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.7.0, < 2.0)
ruby-bbcode (2.0.2)
activesupport (>= 3.2.3)
ruby-progressbar (1.11.0)
ruby-saml (1.13.0)
nokogiri (>= 1.10.5)
Expand Down Expand Up @@ -742,7 +744,7 @@ DEPENDENCIES
capistrano-rails (~> 1.6)
capistrano-rbenv (~> 2.2)
capistrano-yarn (~> 2.0)
capybara (~> 3.37)
capybara (~> 3.39)
charlock_holmes (~> 0.7.7)
chewy (~> 7.2)
climate_control (~> 0.2)
Expand Down Expand Up @@ -822,6 +824,7 @@ DEPENDENCIES
rspec_junit_formatter (~> 0.5)
rubocop (~> 1.29)
rubocop-rails (~> 2.14)
ruby-bbcode
ruby-progressbar (~> 1.11)
sanitize (~> 6.0)
scenic (~> 1.6)
Expand All @@ -846,3 +849,9 @@ DEPENDENCIES
webpacker (~> 5.4)
webpush (~> 0.3)
xorcist (~> 1.1)

RUBY VERSION
ruby 3.0.3p157

BUNDLED WITH
2.2.32
2 changes: 2 additions & 0 deletions app/controllers/api/v1/statuses_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def create
scheduled_at: status_params[:scheduled_at],
application: doorkeeper_token.application,
poll: status_params[:poll],
public_in_local: status_params[:public_in_local],
idempotency: request.headers['Idempotency-Key'],
with_rate_limit: true
)
Expand Down Expand Up @@ -107,6 +108,7 @@ def status_params
:in_reply_to_id,
:sensitive,
:spoiler_text,
:public_in_local,
:visibility,
:language,
:scheduled_at,
Expand Down
70 changes: 70 additions & 0 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@ class ApplicationController < ActionController::Base
helper_method :current_account
helper_method :current_session
helper_method :current_theme
helper_method :current_emoji_size_simple
helper_method :current_emoji_size_detailed
helper_method :current_emoji_size_name
helper_method :current_column_size
helper_method :current_bbcode_spin
helper_method :current_bbcode_flip
helper_method :current_bbcode_size
helper_method :current_bbcode_color
helper_method :current_bbcode_pulse
helper_method :current_bbcode_large
helper_method :current_bbcode_i
helper_method :current_bbcode_b
helper_method :current_bbcode_s
helper_method :current_bbcode_u
helper_method :single_user_mode?
helper_method :use_seamless_external_login?
helper_method :whitelist_mode?
Expand Down Expand Up @@ -138,6 +152,62 @@ def current_theme
return Setting.theme unless Themes.instance.names.include? current_user&.setting_theme
current_user.setting_theme
end

def current_emoji_size_simple
return current_user&.setting_emoji_size_simple
end

def current_emoji_size_detailed
return current_user&.setting_emoji_size_detailed
end

def current_emoji_size_name
return current_user&.setting_emoji_size_name
end

def current_column_size
return current_user&.setting_column_size
end

def current_bbcode_spin
return current_user&.setting_bbcode_spin
end

def current_bbcode_pulse
return current_user&.setting_bbcode_pulse
end

def current_bbcode_flip
return current_user&.setting_bbcode_flip
end

def current_bbcode_color
return current_user&.setting_bbcode_color
end

def current_bbcode_large
return current_user&.setting_bbcode_large
end

def current_bbcode_size
return current_user&.setting_bbcode_size
end

def current_bbcode_b
return current_user&.setting_bbcode_b
end

def current_bbcode_i
return current_user&.setting_bbcode_i
end

def current_bbcode_u
return current_user&.setting_bbcode_u
end

def current_bbcode_s
return current_user&.setting_bbcode_s
end

def respond_with_error(code)
respond_to do |format|
Expand Down
6 changes: 6 additions & 0 deletions app/controllers/auth/registrations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ def new
super(&:build_invite_request)
end

def create
super do |resource|
UserSettingsDecorator.new(resource).update(params.require(:user).permit(:setting_advanced_layout).to_h) unless resource.id.nil?
end
end

def destroy
not_found
end
Expand Down
15 changes: 15 additions & 0 deletions app/controllers/settings/preferences_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,21 @@ def user_settings_params
:setting_trends,
:setting_crop_images,
:setting_always_send_emails,
:setting_emoji_size_simple,
:setting_emoji_size_detailed,
:setting_emoji_size_name,
:setting_column_size,
:setting_bbcode_spin,
:setting_bbcode_pulse,
:setting_bbcode_flip,
:setting_bbcode_large,
:setting_bbcode_size,
:setting_bbcode_color,
:setting_bbcode_b,
:setting_bbcode_i,
:setting_bbcode_u,
:setting_bbcode_s,
:setting_show_cw_box,
notification_emails: %i(follow follow_request reblog favourite mention digest report pending_account trending_tag appeal),
interactions: %i(must_be_follower must_be_following must_be_following_dm)
)
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def render_initial_state
text: [params[:title], params[:text], params[:url]].compact.join(' '),
}

permit_visibilities = %w(public unlisted private direct)
permit_visibilities = %w(public local unlisted private direct)
default_privacy = current_account&.user&.setting_default_privacy
permit_visibilities.shift(permit_visibilities.index(default_privacy) + 1) if default_privacy.present?
state_params[:visibility] = params[:visibility] if permit_visibilities.include? params[:visibility]
Expand Down
Binary file added app/javascript/fonts/VCR_OSD_MONO.ttf
Binary file not shown.
Binary file added app/javascript/fonts/galyon/Galyon-Bold.otf
Binary file not shown.
Binary file added app/javascript/fonts/galyon/Galyon-Bold.woff
Binary file not shown.
Binary file added app/javascript/fonts/galyon/Galyon-Italic.otf
Binary file not shown.
Binary file added app/javascript/fonts/galyon/Galyon-Italic.woff
Binary file not shown.
Binary file added app/javascript/fonts/galyon/Galyon-Regular.otf
Binary file not shown.
Binary file added app/javascript/fonts/galyon/Galyon-Regular.woff
Binary file not shown.
Loading