Commit graph

19820 commits

Author SHA1 Message Date
Dennis Schubert
67d73ece80
Bump secure_headers. 2020-02-11 23:54:55 +01:00
Dennis Schubert
71023a8713
Replace secret_token with secret_key_base.
secrets.secret_token is deprecated in favor of secret_key_base and will be removed in Rails 6.0.
2020-02-11 23:54:55 +01:00
Dennis Schubert
2e2b42ef1a
Mark non-attribute usage in SQL queries as safe.
Non-attribute arguments will be disallowed in Rails 6.0.
2020-02-11 23:54:55 +01:00
Dennis Schubert
4685df634c
Make Person.search_query_string public.
Accessibility of private/protected class methods in :scope is deprecated and will be removed in Rails 6.0.
2020-02-11 23:53:14 +01:00
Dennis Schubert
e40a07f204
Replace be_success with be_successful in specs.
be_success is deprecated and will be removed in Rails 6.
2020-02-11 23:53:14 +01:00
Dennis Schubert
45e8b54bea
Check for status codes instead of relying on response.redirect?.
Rack did so much refactoring, we do not see a Response object here anymore.
2020-02-11 23:53:14 +01:00
Dennis Schubert
35da56109f
Create a dup string from the return value of .truncate.
Due to a bug in Rails, .truncate returns a frozen string if the string actually changed, but not if there are no changes. This leads to inconsistent behaviour, and broken tests.

This was fixed upstream, see https://github.com/rails/rails/pull/36109, but the fix did not make it into 5.2.x, so we have to work around for the time being.
2020-02-11 23:53:14 +01:00
Dennis Schubert
75ef13b5d1
Replace content_security_policy_nonce with content_security_policy_script_nonce.
To avoid an conflict with Rails, and to avoid confusing by twitter's gem overloading the method.
2020-02-11 23:53:14 +01:00
Dennis Schubert
25e9728fae
Do not depend on the default parameter being set in Person#initialize.
ActiveRecord 5.2.x occasionally calls with a nil parameter explicitly provided, so using default arguments does not work.
2020-02-11 23:53:14 +01:00
Dennis Schubert
93b0e1eb22
Bump Rails. 2020-02-11 23:53:14 +01:00
Jonne Haß
1e642be040 Hide sign up link in mobile header when registrations are disabled
closes #8060
2020-01-27 09:30:11 +01:00
Dennis Schubert
1d72f95705 Issue #8062 - Drop rails-assets.org.
and replace it with our own Gem cache. This isn't pretty, as we have to manage that one ourselves, and pushing updates requires a core-team member, but rails-assets.org has become way too unreliable for us to be a viable option.

closes #8087
2020-01-22 21:08:06 +01:00
Jonne Haß
36b4076af6
set better example values for unicorn stdout/stderr log settings
[ci skip]

closes #8058
2019-10-25 01:24:08 +02:00
FeruzOripov
3856b44c57
Refactoring aspects_controller.rb
closes #8064
2019-10-25 01:22:02 +02:00
Jonne Haß
ba16185b8e install ghostscript on travis
closes #8049
2019-09-01 02:43:51 +02:00
Jonne Haß
6937fa13e5 travis: ensure postgresql and mysql are available 2019-09-01 02:42:11 +02:00
Jonne Haß
5b09e9d38d install libidn-dev on travis 2019-09-01 02:42:11 +02:00
Jonne Haß
6a7e937d90 Update open_graph_reader to 0.7.0
This should fix undefined method `og' for #<OpenGraphReader::Base:0x00007f73c53f2308 @bases={}>
for sites that have OpenGraph tags of other namespaces but no actual OpenGraph core tags
2019-09-01 02:42:11 +02:00
Benjamin Neff
593614aef1
Bump fuubar
Version 2.4.0 was yanked ... why do people do such things? m(

https://github.com/thekompanee/fuubar/issues/111
2019-07-06 22:43:41 +02:00
Benjamin Neff
b42c9896bc
Migrate pending profile photos and fix upload to unpend profile photos
fixes #8043

closes #8044
2019-07-04 02:29:17 +02:00
Benjamin Neff
df4e79b842
Cleanup pending photos which were never posted with cronjob
Only delete photos older than a day, so we don't delete photos for posts
which were uploaded 10 minutes ago and the author is still writing the
post for it.

closes #8041
2019-07-03 13:24:27 +02:00
Benjamin Neff
397dbdbee8
Bump unf_ext
closes #8042
2019-07-03 13:21:20 +02:00
Benjamin Neff
68234fc91f
Bump macaddr 2019-07-03 13:20:09 +02:00
Benjamin Neff
2b8cc070f2
Bump jsonpath 2019-07-03 13:20:08 +02:00
Benjamin Neff
18d6d39c62
Bump jwt 2019-07-03 13:20:08 +02:00
Benjamin Neff
6ede2ade7b
Bump bcrypt 2019-07-03 13:20:08 +02:00
Benjamin Neff
4b2414c9eb
Bump rspec-expectations and rspec-mocks 2019-07-03 13:20:08 +02:00
Benjamin Neff
b654ca7f82
Bump rails-assets-bootstrap 2019-07-03 13:20:08 +02:00
Benjamin Neff
5278ae6a96
Bump fugit 2019-07-03 13:20:08 +02:00
Benjamin Neff
4b921816eb
Bump ffi 2019-07-03 13:20:08 +02:00
Benjamin Neff
2503934a04
Bump fabrication 2019-07-03 13:20:08 +02:00
Benjamin Neff
cde29af545
Bump rails-assets-jasmine-ajax 2019-07-03 13:20:07 +02:00
Benjamin Neff
1e2e064268
Bump jasmine 2019-07-03 13:20:07 +02:00
Benjamin Neff
435e60c214
Bump cucumber-rails 2019-07-03 13:20:07 +02:00
Benjamin Neff
51e7958c4b
Bump pronto 2019-07-03 13:18:38 +02:00
Benjamin Neff
18b0dd0060
Bump coveralls 2019-07-03 13:18:38 +02:00
Benjamin Neff
26b247bf98
Bump webmock 2019-07-03 13:18:38 +02:00
Benjamin Neff
800676a90f
Bump rspec-json_expectations 2019-07-03 13:18:38 +02:00
Benjamin Neff
556fa42004
Bump fuubar 2019-07-03 13:18:38 +02:00
Benjamin Neff
1458d2d57f
Bump rubocop 2019-07-03 13:18:38 +02:00
Benjamin Neff
d2c4faeb9f
Bump versionist 2019-07-03 13:18:37 +02:00
Benjamin Neff
3a1428a672
Bump hamlit 2019-07-03 13:17:37 +02:00
Benjamin Neff
06c582a672
Bump faraday_middleware 2019-07-03 13:17:36 +02:00
Benjamin Neff
fa08ebf7bd
Bump addressable 2019-07-03 13:17:36 +02:00
Benjamin Neff
c059550943
Bump openid_connect 2019-07-03 13:17:36 +02:00
Benjamin Neff
ee503737cb
Bump secure_headers 2019-07-03 13:17:36 +02:00
Benjamin Neff
a6261fdc64
Bump nokogiri 2019-07-03 13:17:36 +02:00
Benjamin Neff
56670865b9
Bump leaflet-rails 2019-07-03 13:17:36 +02:00
Benjamin Neff
325a9122b8
Bump js-routes 2019-07-03 13:17:36 +02:00
Benjamin Neff
a018abcfe9
Bump jquery 2019-07-03 13:17:35 +02:00