Jonne Haß
99411fced7
Merge branch 'develop' into api
2019-04-26 17:54:08 +02:00
Benjamin Neff
4e22c4b211
Merge branch 'next-minor' into develop
2019-04-26 17:41:33 +02:00
cmrd Senya
f85f167f50
Implement archive import backend
...
This implements archive import feature.
The feature is divided in two main subfeatures: archive validation and archive import.
Archive validation performs different validation on input user archive. This can be
used without actually running import, e.g. when user wants to check the archive
before import from the frontend. Validators may add messages and modify the archive.
Validators are separated in two types: critical validators and non-critical validators.
If validations by critical validators fail it means we can't import archive.
If non-critical validations fail, we can import archive, but some warning messages
are rendered.
Also validators may change archive contents, e.g. when some entity can't be
imported it may be removed from the archive.
Validators' job is to take away complexity from the importer and perform the validations
which are not implemented in other parts of the system, e.g. DB validations or
diaspora_federation entity validations.
Archive importer then takes the modified archive from the validator and imports it.
In order to incapsulate high-level migration logic a MigrationService is
introduced. MigrationService links ArchiveValidator, ArchiveImporter and
AccountMigration.
Also here is introduced a rake task which may be used by podmins to run archive
import.
2019-04-26 18:41:27 +03:00
Jonne Haß
d443401361
Stabilize Diaspora::Federation::Entities.build.builds a comment with edited_at
...
closes #7994
2019-04-26 17:41:25 +02:00
Jonne Haß
a38a93523d
Stabilize Diaspora::Federation::Receive.comment.saves the signature data
2019-04-26 17:40:48 +02:00
Jonne Haß
e3c05b5620
Stabilize Diaspora::Federation::Receive.comment.saves the signature data
2019-04-26 15:56:09 +02:00
Jonne Haß
b1cc37e939
Avoid using sleep in the API specs
2019-04-26 13:40:43 +02:00
Jonne Haß
5df1e08610
migrate authorizations scopes column to text
2019-04-26 13:40:43 +02:00
Jonne Haß
3f77507b15
make notifications controller spec stable
2019-04-26 12:26:26 +02:00
Benjamin Neff
e0a6189ec4
Merge branch 'next-minor' into develop
2019-03-30 15:05:47 +01:00
Benjamin Neff
a28be72e74
Bump other dependency gems
2019-03-30 15:04:33 +01:00
Benjamin Neff
093cca9a76
Bump rails-controller-testing
2019-03-30 15:03:12 +01:00
Benjamin Neff
ccbc65993d
Bump rspec-rails
2019-03-30 15:03:12 +01:00
Benjamin Neff
d9d0eb1512
Bump webmock
2019-03-30 15:03:12 +01:00
Benjamin Neff
f8419b14ba
Bump shoulda-matchers
2019-03-30 15:03:12 +01:00
Benjamin Neff
290ddbf271
Bump capybara
2019-03-30 15:03:11 +01:00
Benjamin Neff
48c4cabd3f
Bump byebug
2019-03-30 15:03:11 +01:00
Benjamin Neff
18d7b38037
Bump rubocop
2019-03-30 15:03:11 +01:00
Benjamin Neff
01468c34dd
Bump rb-inotify
2019-03-30 15:03:11 +01:00
Benjamin Neff
7ae2dc6249
Bump asset_sync
2019-03-30 15:03:11 +01:00
Benjamin Neff
6f53f1bc0a
Bump will_paginate
2019-03-30 15:03:11 +01:00
Benjamin Neff
5195f7daac
Bump rails-timeago
2019-03-30 15:03:11 +01:00
Benjamin Neff
2585fb9b49
Bump hamlit
2019-03-30 15:03:11 +01:00
Benjamin Neff
02617a3562
Bump faraday
2019-03-30 15:03:10 +01:00
Benjamin Neff
0372924b90
Bump omniauth
2019-03-30 15:03:10 +01:00
Benjamin Neff
05472cc4f9
Bump secure_headers
2019-03-30 15:03:10 +01:00
Benjamin Neff
da39750244
Bump nokogiri
2019-03-30 15:03:10 +01:00
Benjamin Neff
3b0f435f69
Bump rails-i18n
2019-03-30 15:03:10 +01:00
Benjamin Neff
adaca8d0a3
Bump handlebars_assets
2019-03-30 15:03:10 +01:00
Benjamin Neff
8a10655f7f
Bump mini_magick
2019-03-30 15:01:01 +01:00
Benjamin Neff
c8bef1077d
Bump fog-aws
2019-03-30 15:01:01 +01:00
Benjamin Neff
da83456660
Bump carrierwave
2019-03-30 15:01:01 +01:00
Benjamin Neff
b7183d7cee
Bump activerecord-import
2019-03-30 15:01:01 +01:00
Benjamin Neff
cd7af6df50
Bump pg
2019-03-30 15:01:01 +01:00
Benjamin Neff
54e44d6d7e
Bump uglifier
2019-03-30 15:01:01 +01:00
Benjamin Neff
a63f11bbf4
Bump sidekiq-cron
2019-03-30 15:01:01 +01:00
Benjamin Neff
7b201f4bb9
Bump sidekiq
2019-03-30 15:01:00 +01:00
Benjamin Neff
f4fa7e10bd
Bump json
2019-03-30 15:01:00 +01:00
Benjamin Neff
23d637b9a1
Bump unicorn
2019-03-30 15:01:00 +01:00
Benjamin Neff
360780c17f
Bump responders
2019-03-30 15:01:00 +01:00
Benjamin Neff
c253272d83
Bump bootstrap-sass
2019-03-30 15:01:00 +01:00
Benjamin Neff
c063f6fa1b
Bump devise
2019-03-30 15:01:00 +01:00
Benjamin Neff
94a32b2833
Bump rails
2019-03-30 15:00:54 +01:00
Benjamin Neff
fc0de7bbd0
Merge branch 'next-minor' into develop
2019-02-26 01:02:52 +01:00
Benjamin Neff
a4031e09e1
Merge branch 'master' into next-minor
2019-02-26 01:02:42 +01:00
Benjamin Neff
663da1ef25
Merge branch 'release/0.7.10.0'
2019-02-26 01:01:51 +01:00
Benjamin Neff
7595168e01
updated 7 locale files [ci skip]
2019-02-26 00:57:43 +01:00
Dennis Schubert
c30ea112df
Merge branch 'next-minor' into develop
2019-02-19 03:04:13 +01:00
Dennis Schubert
189923040d
Merge branch 'release/0.7.10.0' into next-minor
2019-02-19 03:03:51 +01:00
Dennis Schubert
a3a0a1fba9
Fix incorrect bug number in the changelog
...
Good one, eh? [ci skip]
2019-02-19 03:03:20 +01:00