Commit graph

19250 commits

Author SHA1 Message Date
Benjamin Neff
1b6ffa2528
Start 0.7.2.0 cycle 2017-09-28 23:38:57 +02:00
Benjamin Neff
fd36517dee
Limit the number of parallel exports that are allowed to run
closes #7629
2017-09-28 23:11:46 +02:00
Benjamin Neff
b8fb4b6251
Delete invalid oEmbed caches with binary titles
There are a few old oEmbed caches which have the title saved in binary
(because they contain Chinese characters). This fails with
`ActionView::Template::Error ("å" from ASCII-8BIT to UTF-8)`. Since I
found only very old OEmbed caches with this problem (newest from 2012),
I think we can just remove these. When I create a new oEmbed cache for
the same URL it creates it without `!binary`.

closes #7620
2017-09-28 23:10:07 +02:00
Benjamin Neff
3fafcd9307
The diaspora ID validator now validates if it is lowercase
Relaying relayables will fail with non-lowercase authors.

closes #7625
2017-09-28 23:08:41 +02:00
Benjamin Neff
84b89d5594
Relay likes for comments 2017-09-28 23:04:35 +02:00
Benjamin Neff
5f5d8c5e13
Replace diaspora:// links in the text 2017-09-28 23:04:35 +02:00
Benjamin Neff
4a994b0a48
Creates references for linked posts after create 2017-09-28 23:04:34 +02:00
Benjamin Neff
c82e891c03
Add reference source and target behaviour 2017-09-28 23:04:34 +02:00
Benjamin Neff
28d3271933
Create refereces model 2017-09-28 23:04:34 +02:00
Benjamin Neff
35711606e4
Remove public and provider_display_name from reshares 2017-09-28 23:04:34 +02:00
Benjamin Neff
bb97aa8538
Allow RFC 7033 WebFinger via http:// for development 2017-09-28 23:04:34 +02:00
Benjamin Neff
7c304119e1
Bump diaspora_federation 2017-09-28 23:04:21 +02:00
Benjamin Neff
95fbd3fc66
Don't change the filename of the export everytime the user is touched
closes #7622
2017-09-28 03:28:15 +02:00
Benjamin Neff
ac39e920c8
Add camo to NodeInfo
closes #7617
2017-09-28 03:20:31 +02:00
Benjamin Neff
e4b0b569e2
Bump pry
closes #7618
2017-09-28 03:15:34 +02:00
Benjamin Neff
ca8a3db5bc
Bump leaflet-rails 2017-09-28 03:15:32 +02:00
Benjamin Neff
5ebbacf444
Mock call to nominatim for cucumber 2017-09-28 03:15:32 +02:00
Benjamin Neff
bd99127600
Bump rails-assets-markdown-it 2017-09-28 03:15:32 +02:00
Benjamin Neff
1e44d9c0a9
Bump rails-assets-jasmine 2017-09-28 03:15:31 +02:00
Benjamin Neff
33c92028f8
Bump rails-assets-blueimp-gallery 2017-09-28 03:15:31 +02:00
Benjamin Neff
f35e5d9cd9
Bump simplecov-html 2017-09-28 03:15:31 +02:00
Benjamin Neff
2e19fa6eec
Bump hashdiff 2017-09-28 03:15:31 +02:00
Benjamin Neff
abeb46aa2d
Bump haml 2017-09-28 03:15:31 +02:00
Benjamin Neff
f50b28ab7d
Bump fabrication 2017-09-28 03:15:31 +02:00
Benjamin Neff
6dbad14d00
Bump bindata 2017-09-28 03:15:31 +02:00
Benjamin Neff
a9bb673881
Bump rubocop 2017-09-28 03:15:30 +02:00
Benjamin Neff
156c7b8253
Bump pry-byebug 2017-09-28 03:15:30 +02:00
Benjamin Neff
34a149f61a
Bump pronto 2017-09-28 03:15:30 +02:00
Benjamin Neff
5edbd8f740
Bump jasmine 2017-09-28 03:15:30 +02:00
Benjamin Neff
edfab73589
Bump typhoeus 2017-09-28 03:15:30 +02:00
Benjamin Neff
e607057138
Bump sprockets-rails 2017-09-28 03:15:30 +02:00
Benjamin Neff
eac9e8fd97
Bump secure_headers 2017-09-28 03:15:30 +02:00
Benjamin Neff
aac57a926b
Bump js-routes 2017-09-28 03:15:30 +02:00
Benjamin Neff
769abf6948
Bump fog-aws 2017-09-28 03:15:29 +02:00
Benjamin Neff
c8f24dd872
Bump faraday_middleware 2017-09-28 03:15:29 +02:00
Benjamin Neff
9a3faa8917
Bump autoprefixer-rails 2017-09-28 03:15:29 +02:00
Benjamin Neff
8d01a1d389
Bump addressable 2017-09-28 03:15:29 +02:00
Benjamin Neff
6543e1c200
Bump activerecord-import 2017-09-28 03:15:29 +02:00
Benjamin Neff
f012a13809
Bump rails 2017-09-28 03:15:29 +02:00
Benjamin Neff
c7a3d85c83
Set TargetRubyVersion in .rubocop.yml [ci skip]
closes #7621
2017-09-28 03:14:31 +02:00
Benjamin Neff
d3d66f30c3
Bump ruby versions on travis
closes #7616
2017-09-28 03:13:07 +02:00
cmrd Senya
c6ed850a85
Memory usage optimization for archive export
- Removed posts and non contacts from other's data
- Collections are exported in batches to lower memory footprint
- In base exporters create User object instead of keeping instance because it caches all associations

closes #7627
2017-09-26 04:07:18 +02:00
cmrd Senya
ea57fc5d25
Fix mistyped remote person in dispatcher spec 2017-09-26 04:06:43 +02:00
cmrd Senya
9f0b74ebbb
Memory usage test for archive export
It is not included into the main test suite, because it has :performance tag.

One can run this test using command:
$ bin/rspec --tag performance spec/integration/export/memory_usage_spec.rb

This test creates additional fixtures set to speed up repeated runs.
2017-09-26 04:06:43 +02:00
cmrd Senya
265a7ee253
Don't force fixtures rebuild on each rspec run
Main purpose of fixtures for us is to speed up test runs. Rebuilding
fixtures each run makes them pointless. They will be rebuilt automatically
if some of "files_to_check" are changed, so we're protected from the case
when fixtures are outdated and don't load properly.
2017-09-26 04:06:43 +02:00
cmrd Senya
9ee9dbe969
Fix local migration run without old private key
It was possible to run migration locally without providing old private
key. This way migration was performed but not dispatched, which obviously
leads to desynchronization of the federation state so let's validate sender
before performing any actual actions.

closes #7558
2017-09-26 04:06:16 +02:00
Benjamin Neff
c8340f7d28
Merge branch 'master' into next-minor 2017-09-19 20:26:57 +02:00
Benjamin Neff
508e44e01b
Merge branch 'hotfix/0.7.0.1' 2017-09-19 20:24:37 +02:00
Benjamin Neff
13d6c23713
Bump nokogiri for a security release 2017-09-19 20:20:57 +02:00
Benjamin Neff
655fe2a912
Cleanup invalid polls without status message
closes #7614
2017-09-18 03:24:52 +02:00