Commit graph

33 commits

Author SHA1 Message Date
Alex Sherman
43b3033991 Fix namespaces for Zeitwerk class loader 2021-03-05 19:09:24 +05:00
Karl Erik Õunapuu
cca51b8a03 Fix paper trail versioning for RegistrantVerification 2020-08-07 15:15:10 +03:00
Karl Erik Õunapuu
0af1cc17d1 Clean up 2020-06-01 16:19:17 +03:00
Karl Erik Õunapuu
7580824a38 Fix deprecation issues with has_paper_trail 2020-06-01 16:11:20 +03:00
Karl Erik Õunapuu
8db09aaacf Use .touch instead of paper_trail.touch_with_version
touch_with_version was removed from newer version of PaperTrail
2020-06-01 13:54:21 +03:00
Karl Erik Õunapuu
1e1f808c8d Use PaperTrail.request.whodunnit
PaperTrail.whodunnit was removed from PaperTrail 10.x
2020-05-29 14:59:17 +03:00
Alex Sherman
c4e46149e8 Fix presence of ignored fields in history
Closes #1576
2020-04-30 13:01:05 +05:00
Alex Sherman
fc59d4a29d Fix warnings on cron jobs 2020-02-13 20:26:42 +05:00
Alex Sherman
a1651ca1b9 Fix double versioning on Domain & Contact models 2020-02-12 18:51:48 +05:00
Alex Sherman
8240b37910 Pump papertrail gem to 8.1 2020-02-05 12:43:25 +05:00
Alex Sherman
a18f7b1605 Pump papertrail version to 6.0.2 2020-02-05 12:43:25 +05:00
Alex Sherman
e4352d121a Add tests for fixing ignored columns in versions 2020-01-24 18:22:16 +05:00
Alex Sherman
3d424e3dd0 Fix ignored attributes on history models
Concern method #all_versions_for(ids, time) tried to create model instance from
history and raises an exception when in history object there are some columns
which are ignored in model at the moment.

This patch removes ignored columns from data used to create a new inctance.

See #1489
2020-01-24 13:54:55 +05:00
Maciej Szlosarczyk
3ee5291b57
Add handling of PaperTrail.whodunnit to Registrant API controllers 2018-08-17 13:31:53 +03:00
Maciej Szlosarczyk
aac76b333c
Revert "Use inflector rule to acronym Api to API"
This reverts commit 06f5eb10d4.
2018-07-24 12:53:51 +03:00
Maciej Szlosarczyk
06f5eb10d4
Use inflector rule to acronym Api to API 2018-07-24 12:02:58 +03:00
Artur Beljajev
cefa37d081 Use model accessors explicitly instead of #[]
#660
2018-01-30 19:33:00 +02:00
Vladimir Krylov
fb330ad87a story#115762063 - not always we have all the data in log_children table 2016-03-30 17:37:37 +03:00
Vladimir Krylov
ffe2ddd02c Merge remote-tracking branch 'origin/108869472-objects_archive' into story/115762063--show-historical-nested
# Conflicts:
#	app/views/admin/domain_versions/_version.haml
#	app/views/admin/domain_versions/index.haml
2016-03-22 23:51:21 +02:00
Vladimir Krylov
028aa31232 Story#115762063 - all contacts are using the same versions logic 2016-03-22 15:17:36 +02:00
Matt Farnsworth
a2a4db0732 Story #109367694 - misplaced first 2015-12-14 11:47:12 +02:00
Matt Farnsworth
4bc31bb285 Story 109367694 - refactor method name also 2015-12-14 11:47:12 +02:00
Matt Farnsworth
3f906b5ac6 Story #109367694 - add support for imported data, name was used 2015-12-14 11:47:12 +02:00
Priit Tark
7f44227370 Api log contains only username + refactor #2793 2015-07-28 22:08:23 +03:00
Priit Tark
b2ec23edc9 Syntax updates for creator_link and updator_link 2015-03-23 11:58:48 +02:00
Priit Tark
d8d951974e Added creator_link and updator_link helpers 2015-03-23 11:17:27 +02:00
Priit Tark
96d1c60dd8 Refactored contact with ability 2015-02-17 11:21:23 +02:00
Martin Lensment
037cb57e00 Refactor user to admin and api user 2015-02-13 16:17:06 +02:00
Priit Tark
37b3868d32 Added contact updator to info request 2015-02-02 20:00:47 +02:00
Priit Tark
05ed8a45a1 Added domain crID 2015-02-02 19:47:59 +02:00
Priit Tark
3e2be53853 Version refactored 2015-01-30 23:28:42 +02:00
Priit Tark
50673f6dda Added creator and updator 2015-01-30 23:28:42 +02:00
Priit Tark
09a816d5a8 Added pure PaperTrail stack 2015-01-30 23:26:53 +02:00