Commit graph

1233 commits

Author SHA1 Message Date
Timo Võhmar
9e2bd757fd
Merge pull request #1617 from internetee/epp-contact-update-extract-xml-parsing
Split contact update into XML and Business action parts
2020-06-27 00:56:59 +03:00
Maciej Szlosarczyk
bc3ea52667
Fix typo 2020-06-26 22:55:34 +03:00
Maciej Szlosarczyk
d005a61888
Move to new serializer 2020-06-26 11:23:30 +03:00
Maciej Szlosarczyk
cba445ee5b
Create contact XML deserializer 2020-06-25 12:40:57 +03:00
Alex Sherman
2fdc487511 Fix possible doubling of contact objects after race 2020-06-22 15:08:59 +05:00
Maciej Szlosarczyk
74a9d59753
Add DNS keys to domain API response
It is fairly similar to what we do for WHOIS records, but one query is
slightly rewritten with removal of try-catch block
2020-06-18 10:42:39 +03:00
Maciej Szlosarczyk
28695f4c22
add email field to contact serializer 2020-06-12 14:32:53 +03:00
Timo Võhmar
5e492afdba
Merge pull request #1609 from internetee/1604-updating-whois-after-contact-update
Fix not running whois update after contact update
2020-06-12 13:42:54 +03:00
Timo Võhmar
7964f09892
Merge pull request #1601 from internetee/extract-legaldoc-and-ident-parsing
Extract Xml deserializing from EPP Contact and Domain classes
2020-06-12 10:58:59 +03:00
Alex Sherman
10921ef128 Add test to see if whois record updated 2020-06-11 17:03:37 +05:00
Maciej Szlosarczyk
7ece2e0341
Return JSON response from 404 2020-06-11 13:18:05 +03:00
Maciej Szlosarczyk
bacdebd17c
Pull out ident parsing from Epp::Contact class 2020-06-05 10:31:51 +03:00
Maciej Szlosarczyk
043037225b
Extract legal doc parsing away from Epp::Domain class 2020-06-05 09:56:30 +03:00
Karl Erik Õunapuu
4173639049 Do not use parallel testing 2020-06-04 13:38:16 +03:00
Karl Erik Õunapuu
96b5eb881a Determine CPU count for parallelizing tests 2020-06-04 12:36:17 +03:00
Timo Võhmar
2ffe9629f9
Merge pull request #1593 from internetee/upgrade-rails-to-6.0.3
Upgrade Rails from 5.2 to 6.0.3
2020-06-03 15:04:36 +03:00
Karl Erik Õunapuu
eed9f4baed Allow to run tests in multiple threads 2020-06-02 13:23:02 +03:00
Alex Sherman
7cfc5efd36 Fix registration deadline format for whois/restwhois 2020-06-02 13:14:21 +05:00
Alex Sherman
e92afb59c1 Add tests, fix error handling 2020-06-01 15:15:59 +05:00
Karl Erik Õunapuu
b71f52e601 Fix Que 0.x time parsing in RoR 6 2020-06-01 11:39:43 +03:00
Karl Erik Õunapuu
155b6e98cb Update file download HTTP headers in test 2020-06-01 10:36:49 +03:00
Karl Erik Õunapuu
53a41a07fc Disable parallel tests for now 2020-05-29 16:48:52 +03:00
Karl Erik Õunapuu
f47805a767 Use require_relative where possible 2020-05-29 16:28:57 +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
Maciej Szlosarczyk
011967d8ea
Add disputes to the list of retained domains 2020-05-28 13:33:52 +03:00
Karl Erik Õunapuu
e06596551c Prevent verification email from being sent when registrantChange w/ disputed pw 2020-05-25 16:02:59 +03:00
Karl Erik Õunapuu
e9738330dc Fix/Remove tests that don't reflect new Registrant Contact viewing behaviour 2020-05-22 21:42:14 +05:00
Maciej Szlosarczyk
e08f69a1cc Add test CA to files fixtures
There seems to be an issue with the default configuration, files are
missing and we depend on them for the tests to run.
2020-05-22 21:42:14 +05:00
Maciej Szlosarczyk
334c676a4f Fix name conflict in BankStatement
I also used the file we use for testing payments on staging, there was
some issue with the other file and I am not sure what it was.
2020-05-22 21:42:14 +05:00
Maciej Szlosarczyk
09ac0d30aa Fix failing test in NewInvoicePayment
Probably with the upgrade of Rails from 4.2 to 5 the ids are no longer
generated automatically in the views, but the functionality still
worked as designed previously.
2020-05-22 21:40:55 +05:00
Karl Erik Õunapuu
01c20edaf8 Do not print log to STDOUT while running testsuite 2020-05-22 16:19:36 +03:00
Karl Erik Õunapuu
7ef15a5bf1 Merge remote-tracking branch 'origin/master' into 269-dispute-list 2020-05-21 17:43:57 +03:00
Timo Võhmar
c0bf470c2f
Merge pull request #1583 from internetee/add-auctions-endpoint-to-repp
Add auctions endpoint to REPP
2020-05-21 15:05:06 +03:00
Timo Võhmar
3d30469db9
Merge pull request #1527 from internetee/fix-registrant-contact-view
Registrant: Allow to view other contacts of domain
2020-05-21 14:31:12 +03:00
Maciej Szlosarczyk
fda3d346b3
Add auctions endpoint to REPP 2020-05-21 14:20:56 +03:00
Karl Erik Õunapuu
cb0051d4e0 Alert admin if dispute created for unregistered domain 2020-05-19 11:06:18 +03:00
Karl Erik Õunapuu
c682155bf6 Disputes: Show when and who closed dispute 2020-05-18 15:28:03 +03:00
Maciej Szlosarczyk
6e5a97ad4d
Add handling of type filters and handling of ETags
Add API documentation and test cases around ETags for the API.
2020-05-15 14:43:18 +03:00
Maciej Szlosarczyk
26858a7e8f
Merge branch 'master' into add-machine-readable-list-of-blocked-domains 2020-05-14 15:06:15 +03:00
Maciej Szlosarczyk
18ce853420
Simple implementation of retained domains API endpoint
This needed a new name, there are several classes of database object
to be included in that endpoint.

Currently, there is one list ordered by name, with each object
containing status and ascii name for convenience. Can be converted to
multiple fields (reserved and blocked separately). Also contains total
count.

Includes CORS preflight which seems to be a known problem for Rails in
the past.
2020-05-14 14:49:02 +03:00
Karl Erik Õunapuu
906fc9938f
Merge branch 'master' into 269-dispute-list 2020-05-14 11:42:41 +03:00
Karl Erik Õunapuu
be14ede8b6 Refactor some dispute logic 2020-05-14 11:38:26 +03:00
Karl Erik Õunapuu
04b10ab0be Merge branch 'master' into 952-revoking-cert-does-not-stop-user-from-logging-in 2020-05-12 12:37:33 +03:00
Karl Erik Õunapuu
c2f8589044 Verify that CN is present when uploading CSR/CRT 2020-05-12 12:28:43 +03:00
Karl Erik Õunapuu
e7ad4a7c64 Move domain dispute logic to concern 2020-05-12 10:24:28 +03:00
Alex Sherman
d035b7727d Add tests for registry to receive registration_deadline 2020-05-08 13:14:41 +05:00
Alex Sherman
5c419ae8be Update whois record with auction registration_deadline if any 2020-05-06 15:44:24 +05:00
Karl Erik Õunapuu
e18942e8ee Cover PKI validation with tests 2020-05-05 16:33:33 +03:00
Karl Erik Õunapuu
bd7b6ddb73 Create test for viewing other domain contacts 2020-05-05 12:36:04 +03:00
Karl Erik Õunapuu
1dc2cf8e12 Check for domain dispute on create 2020-05-04 09:58:20 +03:00