Skip to content

Commit 9485a02

Browse files
committed
Merge branch 'next-minor'
2 parents 02eba84 + eaedd3d commit 9485a02

File tree

211 files changed

+2033
-1174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+2033
-1174
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
ruby:
18+
- 2.7
1819
- 2.6
19-
- 2.5
2020
db:
2121
- mysql
2222
- postgresql

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,9 @@ diaspora.iml
8282

8383
# WebTranslateIt
8484
.wti
85+
86+
# MacOS
87+
/__MACOSX/
88+
89+
# yarn
90+
node_modules

.rubocop.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ Layout/SpaceAroundEqualsInParameterDefault:
5757
# are needed.
5858
Style/StringLiterals:
5959
EnforcedStyle: double_quotes
60+
Exclude:
61+
# These files are generated by rails, so it's best to keep them close to the original for smaller diffs
62+
- "config/application.rb"
63+
- "config/boot.rb"
64+
- "config/environment.rb"
65+
- "config/environments/*.rb"
6066

6167
# We do not need to support Ruby 1.9, so this is good to use.
6268
Style/SymbolArray:

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6
1+
2.7

Changelog.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# 0.7.18.0
2+
3+
## Refactor
4+
* Fix order-dependent jasmine test failures and switch to random order [#8333](https://github.com/diaspora/diaspora/pull/8333)
5+
* Get rid of some uses of "execute\_script" in feature specs [#8331](https://github.com/diaspora/diaspora/pull/8331)
6+
* Fix deprecation warnings for sidekiq 7.0 [#8359](https://github.com/diaspora/diaspora/pull/8359)
7+
* Remove entypo-rails dependency to prepare for rails 6 [#8361](https://github.com/diaspora/diaspora/pull/8361)
8+
* Remove compass-rails dependency which is not supported anymore [#8362](https://github.com/diaspora/diaspora/pull/8362)
9+
* Switch to sassc-rails which speeds up `assets:precompile` a lot [#8362](https://github.com/diaspora/diaspora/pull/8362)
10+
* Remove markerb dependency which doesn't exist anymore [#8365](https://github.com/diaspora/diaspora/pull/8365)
11+
* Upgrade to rails 6.1 [#8366](https://github.com/diaspora/diaspora/pull/8366)
12+
* Update the suggested Ruby version to 2.7. If you run into trouble during the update and you followed our installation guides, run `rvm install 2.7`. [#8366](https://github.com/diaspora/diaspora/pull/8366)
13+
* Upgrade to bundler 2 [#8366](https://github.com/diaspora/diaspora/pull/8366)
14+
* Stop checking `/.well-known/host-meta`, check for `/.well-known/nodeinfo` instead [#8377](https://github.com/diaspora/diaspora/pull/8377)
15+
* Handle NodeInfo timeouts gracefully [#8380](https://github.com/diaspora/diaspora/pull/8380)
16+
17+
## Bug fixes
18+
* Fix that no mails were sent after photo export [#8365](https://github.com/diaspora/diaspora/pull/8365)
19+
* Fix people with quotes in the name causing issues with mail sender [#8365](https://github.com/diaspora/diaspora/pull/8365)
20+
21+
## Features
22+
* Render posts and comments as HTML in HTML mails [#8365](https://github.com/diaspora/diaspora/pull/8365)
23+
* Add NodeInfo 2.1 support and also read newer versions of NodeInfo [#8379](https://github.com/diaspora/diaspora/pull/8379)
24+
125
# 0.7.17.0
226

327
## Security

Gemfile

Lines changed: 45 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -2,103 +2,98 @@
22

33
source "https://rubygems.org"
44

5-
gem "rails", "5.2.7.1"
5+
gem "rails", "6.1.6.1"
66

77
# Legacy Rails features, remove me!
88
# responders (class level)
99
gem "responders", "3.0.1"
1010

1111
# Appserver
1212

13-
gem "unicorn", "6.0.0", require: false
13+
gem "unicorn", "6.1.0", require: false
1414
gem "unicorn-worker-killer", "0.4.5"
1515

1616
# Federation
1717

18-
gem "diaspora_federation-json_schema", "0.2.7"
19-
gem "diaspora_federation-rails", "0.2.7"
18+
gem "diaspora_federation-json_schema", "0.2.8"
19+
gem "diaspora_federation-rails", "0.2.8"
2020

2121
# API and JSON
2222

2323
gem "acts_as_api", "1.0.1"
24-
gem "json", "2.3.0"
25-
gem "json-schema", "2.8.1"
24+
gem "json", "2.6.2"
25+
gem "json-schema", "3.0.0"
2626

2727
# Authentication
2828

29-
gem "devise", "4.8.0"
29+
gem "devise", "4.8.1"
3030
gem "devise_lastseenable", "0.0.6"
31-
gem "devise-two-factor", "4.0.1"
32-
gem "rqrcode", "2.1.0"
31+
gem "devise-two-factor", "4.0.2"
32+
gem "rqrcode", "2.1.1"
3333

3434
# Captcha
3535

3636
gem "simple_captcha2", "0.5.0", require: "simple_captcha"
3737

3838
# Background processing
3939

40-
gem "redis", "4.5.1"
41-
gem "sidekiq", "6.2.2"
40+
gem "redis", "4.7.0"
41+
gem "sidekiq", "6.5.1"
4242

4343
# Scheduled processing
4444

45-
gem "sidekiq-cron", "1.2.0"
45+
gem "sidekiq-cron", "1.6.0"
4646

4747
# Compression
4848

49-
gem "terser", "1.1.7"
49+
gem "terser", "1.1.10"
5050

5151
# Configuration
5252

5353
gem "configurate", "0.5.0"
54-
gem "toml-rb", "2.1.0"
54+
gem "toml-rb", "2.1.2"
5555

5656
# Cross-origin resource sharing
5757

5858
gem "rack-cors", "1.1.1", require: "rack/cors"
5959

6060
# CSS
6161

62-
gem "autoprefixer-rails", "10.3.3.0"
62+
gem "autoprefixer-rails", "10.4.7.0"
6363
gem "bootstrap-sass", "3.4.1"
6464
gem "bootstrap-switch-rails", "3.3.3" # 3.3.4 and 3.3.5 is broken, see https://github.com/Bttstrp/bootstrap-switch/issues/691
65-
gem "compass-rails", "3.1.0"
66-
gem "sass-rails", "5.0.7"
67-
gem "sprockets-rails", "3.2.2"
65+
gem "sassc-rails", "2.1.2"
66+
gem "sprockets-rails", "3.4.2"
6867

6968
# Database
7069

7170
group :mysql, optional: true do
72-
gem "mysql2", "0.5.3"
71+
gem "mysql2", "0.5.4"
7372
end
7473
group :postgresql, optional: true do
75-
gem "pg", "1.2.3"
74+
gem "pg", "1.4.1"
7675
end
7776

78-
gem "activerecord-import", "1.1.0"
77+
gem "activerecord-import", "1.4.0"
7978

8079
# File uploading
8180

8281
gem "carrierwave", "2.2.2"
83-
gem "fog-aws", "3.12.0"
82+
gem "fog-aws", "3.14.0"
8483
gem "mini_magick", "4.11.0"
8584

8685
# GUID generation
8786
gem "uuid", "2.3.9"
8887

89-
# Icons
90-
91-
gem "entypo-rails", "3.0.0"
92-
9388
# JavaScript
9489

9590
gem "handlebars_assets", "0.23.9"
96-
gem "jquery-rails", "4.4.0"
97-
gem "js-routes", "2.1.2"
98-
gem "js_image_paths", "0.1.1"
91+
gem "jquery-rails", "4.5.0"
92+
gem "js_image_paths", "0.2.0"
93+
gem "js-routes", "2.2.4"
9994

10095
source "https://gems.diasporafoundation.org" do
101-
gem "rails-assets-jquery", "3.5.1" # Should be kept in sync with jquery-rails
96+
gem "rails-assets-jquery", "3.6.0" # Should be kept in sync with jquery-rails
10297
gem "rails-assets-jquery.ui", "1.11.4"
10398

10499
gem "rails-assets-highlightjs", "9.12.0"
@@ -112,6 +107,7 @@ source "https://gems.diasporafoundation.org" do
112107
gem "rails-assets-markdown-it-sup", "1.0.0"
113108

114109
gem "rails-assets-backbone", "1.3.3"
110+
gem "rails-assets-bootstrap", "3.4.1"
115111
gem "rails-assets-bootstrap-markdown", "2.10.0"
116112
gem "rails-assets-corejs-typeahead", "1.2.1"
117113
gem "rails-assets-fine-uploader", "5.13.0"
@@ -132,21 +128,17 @@ gem "markdown-it-html5-embed", "1.0.0"
132128

133129
gem "http_accept_language", "2.1.1"
134130
gem "i18n-inflector-rails", "1.0.7"
135-
gem "rails-i18n", "5.1.3"
136-
137-
# Mail
138-
139-
gem "markerb", "1.1.0"
131+
gem "rails-i18n", "6.0.0"
140132

141133
# Map
142134
gem "leaflet-rails", "1.7.0"
143135

144136
# Parsing
145137

146-
gem "nokogiri", "1.12.5"
138+
gem "nokogiri", "1.13.7"
147139
gem "open_graph_reader", "0.7.2" # also update User-Agent in features/support/webmock.rb and open_graph_cache_spec.rb
148140
gem "redcarpet", "3.5.1"
149-
gem "ruby-oembed", "0.15.0"
141+
gem "ruby-oembed", "0.16.1"
150142
gem "twitter-text", "1.14.7"
151143

152144
# RTL support
@@ -159,8 +151,8 @@ gem "secure_headers", "6.3.3"
159151

160152
# Services
161153

162-
gem "omniauth", "2.0.4"
163-
gem "omniauth-rails_csrf_protection", "1.0.0"
154+
gem "omniauth", "2.1.0"
155+
gem "omniauth-rails_csrf_protection", "1.0.1"
164156
gem "omniauth-tumblr", "1.2"
165157
gem "omniauth-twitter", "1.4.0"
166158
gem "omniauth-wordpress", "0.2.2"
@@ -171,30 +163,30 @@ gem "openid_connect", "1.3.0"
171163

172164
# Serializers
173165

174-
gem "active_model_serializers", "0.9.7"
166+
gem "active_model_serializers", "0.9.8"
175167

176168
# XMPP chat dependencies
177169
gem "diaspora-prosody-config", "0.0.7"
178170
gem "rails-assets-diaspora_jsxc", "0.1.5.develop.7", source: "https://gems.diasporafoundation.org"
179171

180172
# Tags
181173

182-
gem "acts-as-taggable-on", "8.1.0"
174+
gem "acts-as-taggable-on", "9.0.1"
183175

184176
# URIs and HTTP
185177

186178
gem "addressable", "2.8.0", require: "addressable/uri"
187-
gem "faraday", "0.17.4"
179+
gem "faraday", "0.17.5"
188180
gem "faraday-cookie_jar", "0.0.7"
189181
gem "faraday_middleware", "0.14.0"
190182
gem "typhoeus", "1.4.0"
191183

192184
# Views
193185

194186
gem "gon", "6.4.0"
195-
gem "hamlit", "2.15.1"
187+
gem "hamlit", "2.16.0"
196188
gem "mobile-fu", "1.4.0"
197-
gem "rails-timeago", "2.19.1"
189+
gem "rails-timeago", "2.20.0"
198190
gem "will_paginate", "3.3.1"
199191

200192
# Logging
@@ -210,7 +202,7 @@ gem "rubyzip", "2.3.2", require: "zip"
210202
# https://github.com/gitlabhq/gitlabhq/issues/3826
211203
# https://github.com/gitlabhq/gitlabhq/pull/3852
212204
# https://github.com/discourse/discourse/pull/238
213-
gem "minitest"
205+
gem "minitest", "5.15.0"
214206

215207
gem "versionist", "2.0.1"
216208

@@ -238,15 +230,15 @@ group :production do # we don"t install these on travis to speed up test runs
238230

239231
# Third party asset hosting
240232

241-
gem "asset_sync", "2.15.0", require: false
233+
gem "asset_sync", "2.15.2", require: false
242234
end
243235

244236
group :development do
245237
# Linters
246-
gem "haml_lint", "0.37.1", require: false
238+
gem "haml_lint", "0.40.0", require: false
247239
gem "pronto", "0.11.0", require: false
248240
gem "pronto-eslint", "0.11.0", require: false
249-
gem "pronto-haml", "0.11.0", require: false
241+
gem "pronto-haml", "0.11.1", require: false
250242
gem "pronto-rubocop", "0.11.1", require: false
251243
gem "pronto-scss", "0.11.0", require: false
252244
gem "rubocop", "0.93.1", require: false
@@ -261,15 +253,14 @@ group :development do
261253

262254
gem "turbo_dev_assets", "0.0.2"
263255

264-
gem "listen", "3.5.1"
256+
gem "listen", "3.7.1"
265257
end
266258

267259
group :test do
268260
# RSpec (unit tests, some integration tests)
269261

270262
gem "fixture_builder", "0.5.2"
271263
gem "fuubar", "2.5.1"
272-
gem "json-schema-rspec", "0.0.4"
273264
gem "rspec-json_expectations", "~> 2.1"
274265

275266
# Cucumber (integration tests)
@@ -284,18 +275,18 @@ group :test do
284275

285276
gem "factory_girl_rails", "4.9.0"
286277
gem "shoulda-matchers", "4.5.1"
287-
gem "timecop", "0.9.4"
278+
gem "timecop", "0.9.5"
288279
gem "webmock", "3.14.0", require: false
289280

290-
gem "diaspora_federation-test", "0.2.7"
281+
gem "diaspora_federation-test", "0.2.8"
291282
end
292283

293284
group :development, :test do
294285
# RSpec (unit tests, some integration tests)
295-
gem "rspec-rails", "5.0.2"
286+
gem "rspec-rails", "5.1.2"
296287

297288
# Cucumber (integration tests)
298-
gem "cucumber-rails", "2.4.0", require: false
289+
gem "cucumber-rails", "2.5.1", require: false
299290

300291
# Jasmine (client side application tests (JS))
301292
gem "chrome_remote", "0.3.0"

0 commit comments

Comments
 (0)