Commit graph

19367 commits

Author SHA1 Message Date
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
Benjamin Neff
00296ffda5
Cleanup invalid likes without target 2017-09-18 03:23:01 +02:00
Benjamin Neff
028199a6f3
Remove "string" column from "ppid" table
This was added by accident in 4e18f3849d.

closes #7598
2017-09-18 03:21:41 +02:00
Benjamin Neff
4c967903fe
Remove rails_admin_histories table
This was a leftover from rails_admin which was removed in #7440.

closes #7597
2017-09-17 19:35:50 +02:00
Benjamin Neff
1d2394571c
Remove unused scripts
They were added a long time ago and they talk about rails 3 ... we have
rails 5 now and scripts in the bin folder, so I think we can remove
them.

closes #7596
2017-09-17 19:34:05 +02:00
Benjamin Neff
84d553555e
Remove unneeded .freeze
closes #7595
2017-09-17 19:32:45 +02:00
Benjamin Neff
f7cbb20e11
Fix AppConfig.version_string with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
9556790480
Fix Person.find_by_substring with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
723be461cf
Fix Services::Tumblr#tumblr_template with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
1b30508c19
Fix ConversationsHelper#conversation_class with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
79c2db65d7
Fix Diaspora::Camo.from_markdown with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
f2ab09db17
Fix NotificationMailers::Base#log_mail with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
9505eabcb3
Fix ApplicationHelper#changelog_url with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
a6b6251b53
Fix PeopleHelper#person_link and #person_image_link with frozen strings 2017-09-17 19:29:16 +02:00
Benjamin Neff
e82690963d
Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
Benjamin Neff
44ebc7375a
Remove unused spec-doc.rb
closes #7594
2017-09-17 19:27:47 +02:00
Benjamin Neff
45e714776e
Don't truncate ar_internal_metadata after cucumber scenarios
This is an internal active record table and shouldn't be touched. When
this is truncated you need to fix it again by running
`bin/rails db:environment:set RAILS_ENV=test`

This is a temporary fix until there is a new version of
database_cleaner.

closes #7606
2017-09-04 02:49:07 +02:00
Steffen van Bergerem
460178ad34
Fix the screenshot tool
closes #7605
2017-09-03 23:53:26 +02:00
Steffen van Bergerem
ddaa6df0b4
Replace photo_attachments with photo-attachments
closes #7601
2017-08-31 02:45:02 +02:00
Steffen van Bergerem
b77ecd482a
Replace aspect_membership_dropdown with aspect-membership-dropdown 2017-08-31 02:44:54 +02:00
Steffen van Bergerem
473cc2518b
Replace comment_box with comment-box 2017-08-31 02:44:53 +02:00
Steffen van Bergerem
7457f254c1
Replace last_author with last-author 2017-08-31 02:44:53 +02:00
Steffen van Bergerem
9fa032e4c9
Replace people_stream with people-stream 2017-08-31 02:44:53 +02:00
Steffen van Bergerem
7729635485
Replace publisher_textarea_wrapper with publisher-textarea-wrapper 2017-08-31 02:44:53 +02:00
Steffen van Bergerem
caeaf23d4b
Replace aspect_dropdown with aspect-dropdown 2017-08-31 02:44:53 +02:00
Steffen van Bergerem
3df4749733
Replace stream_container with stream-container 2017-08-31 02:44:53 +02:00
Steffen van Bergerem
b4e3f84607
Replace main_stream with main-stream 2017-08-31 02:44:47 +02:00
Benjamin Neff
e31c5ff4dc
Handle unauthenticated users for likes/comments of private posts
closes #7583
2017-08-29 12:55:03 +02:00
Benjamin Neff
350e24863f
Allow to load likes and reshares without login 2017-08-29 12:35:48 +02:00
Steffen van Bergerem
d130697ce2
Use Bootstrap 3 progress-bar for polls
closes #7600
2017-08-29 02:17:32 +02:00
Steffen van Bergerem
02d9d350d9
Move person extension for prefills to conversations form view
closes #7599
2017-08-29 02:13:57 +02:00
Steffen van Bergerem
48630b3a04
Fix conversation recipient prefill on contacts page
Use the already available contacts data for the prefill
2017-08-29 02:13:27 +02:00
Steffen van Bergerem
666ada44f1
Fix conversation recipient prefill on profile page
Fixes #7586

Use the already available data about the recipient for the prefill
2017-08-29 02:13:27 +02:00
Steffen van Bergerem
9d2763089d
Replace where...first with find_by
Fixes #7539

closes #7593
2017-08-29 02:11:17 +02:00