Commit graph

325 commits

Author SHA1 Message Date
Artur Beljajev
66417d69d9 Do not handle not registered domain in EPP domain:info 2019-03-15 12:46:18 +02:00
Artur Beljajev
a97728c0f3 Refactor and improve invoices
- `runner 'Invoice.cancel_overdue_invoices'` in `schedule.rb` is
changed to `rake 'invoices:cancel_overdue'`.
- `invoices.payment_term` database column is removed and its value is
hardcoded in UI.
- `invoices.paid_at` is removed as unused
- `invoices.due_date` column's type is now `date`.
- `Invoice#invoice_items` renamed to `Invoice#items` and `Invoice`
interface to get a list of items is unified.
- Default date format in UI.
- Default translations are used.
- Tests improved.
- Specs converted to tests and removed along with factories.
- Database structure improved.
2019-03-14 15:39:24 +02:00
Artur Beljajev
d646edf85c Return array instead of string 2019-03-13 12:43:38 +02:00
Artur Beljajev
98c415f672 Fix WHOIS update for a domain being sent to an auction 2019-03-08 12:38:49 +02:00
Timo Võhmar
35957d2d84
Merge pull request #1076 from internetee/improve-epp-domain-info
Handle blocked and reserved domains in EPP domain:info
2019-02-27 19:56:45 +02:00
Artur Beljajev
36a53bd11a Handle blocked and reserved domains in EPP domain:info
Closes #597
2019-02-18 14:42:05 +02:00
Artur Beljajev
446b9fbf77 Complete auction integration 2019-02-18 13:54:08 +02:00
Timo Võhmar
0b38367326
Merge pull request #1071 from internetee/fix-reference-number-generation
Fix reference number generation algorithm
2019-02-18 10:31:24 +02:00
Artur Beljajev
4894b39f0f Hide method 2019-01-18 18:06:58 +02:00
Artur Beljajev
42e8f86dae Integrate auction
Closes #874
2019-01-18 18:06:54 +02:00
Artur Beljajev
214b7e435d Return number if it already ends with zero
The specification does not mention this fact
https://www.pangaliit.ee/settlements-and-standards/reference
-number-of-the-invoice
2019-01-17 18:15:07 +02:00
Artur Beljajev
c0da37f421 Improve readability 2019-01-16 18:05:15 +02:00
Artur Beljajev
d40dc28484 Make domain unavailable when zone with the same origin exists 2019-01-07 12:25:05 +02:00
Artur Beljajev
ee864c807f Refactor 2019-01-07 12:24:58 +02:00
Artur Beljajev
3772f47613 Make domain unavailable when blocked 2019-01-07 12:24:36 +02:00
Artur Beljajev
a002e87d7c Move test case 2019-01-06 23:20:31 +02:00
Artur Beljajev
2941328652 Set reserved_domains.password to NOT NULL 2019-01-02 17:56:49 +02:00
Artur Beljajev
d695d95ad7 Add contact disclosable attributes
Closes #992
2018-12-07 13:26:02 +02:00
Artur Beljajev
1a1c3c7d85 Remove unused whois_records.body DB column
Part of https://github.com/internetee/rest-whois/issues/131
2018-12-03 18:24:39 +02:00
Timo Võhmar
a00adbb6ca
Merge pull request #1039 from internetee/improve-whois-record-tests
Improve `WhoisRecord` tests
2018-12-03 10:52:53 +02:00
Artur Beljajev
5256129849 Improve readability 2018-11-30 16:43:12 +02:00
Artur Beljajev
e0681eff63 Add fixture 2018-11-30 16:42:50 +02:00
Artur Beljajev
93a069648e Convert specs to tests 2018-11-26 16:33:57 +02:00
Artur Beljajev
a43a1ac3e3 Match bank transaction against invoice reference number instead of
registrar's
2018-11-26 16:33:57 +02:00
Artur Beljajev
5738c17731 Use Estonian reference number format instead of ISO 11649 2018-11-26 16:33:53 +02:00
Artur Beljajev
c8392a6a38 Improve WhoisRecord tests 2018-11-10 18:50:37 +02:00
Artur Beljajev
b6ecae6a35 Add Registrant API contact update action
Closes #849
2018-10-09 00:09:22 +03:00
Artur Beljajev
1679e4b72e Merge branch 'master' into refactor-messages
# Conflicts:
#	app/views/epp/poll/poll_req.xml.builder
#	test/fixtures/messages.yml
#	test/integration/epp/poll_test.rb
2018-09-17 13:23:59 +03:00
Timo Võhmar
a95c352a1f
Merge pull request #965 from internetee/fix-flunky-test
Make whois JSON test order independent
2018-09-05 12:16:41 +03:00
Maciej Szlosarczyk
f0473825e4
Make whois JSON test order independent
The test relied on nameservers being inserted in specific order. For
whatever reason, that order can change, but it does not make the
record invalid.

[ns1.google.com, ns2.google.com] is semantically equal to
[ns2.google.com, ns1.google.com]
2018-09-04 09:55:28 +03:00
Artur Beljajev
056c57530c Merge branch 'master' into refactor-messages
# Conflicts:
#	db/structure.sql
2018-09-01 19:40:13 +03:00
Maciej Szlosarczyk
2636fe2525
Merge branch 'master' into registry-927 2018-08-31 14:25:59 +03:00
Artur Beljajev
aff5b68a2f Merge branch 'master' into refactor-messages
# Conflicts:
#	db/structure.sql
2018-08-28 14:28:45 +03:00
Artur Beljajev
852d754eac Fix tests 2018-08-27 16:52:30 +03:00
Maciej Szlosarczyk
ba01bb3dfc
Fix bug in domains not returning those where a contact was only a registrant 2018-08-27 14:34:12 +03:00
Maciej Szlosarczyk
d725960403
Fix typo in administered_domains method name 2018-08-27 09:12:47 +03:00
Artur Beljajev
4b2948986b Merge branch 'master' into registry-790
# Conflicts:
#	test/models/domain/force_delete_test.rb
#	test/system/admin_area/domains/force_delete_test.rb
2018-08-24 14:54:41 +03:00
Artur Beljajev
412641cdb0 Disallow marking a notification as read again 2018-08-24 14:34:44 +03:00
Artur Beljajev
1183d06c09 Remove app-level association validation 2018-08-24 14:18:40 +03:00
Artur Beljajev
a1fb0e2e61 Introduce negative predicate 2018-08-24 14:14:29 +03:00
Artur Beljajev
9d74cd5673 Add tests 2018-08-24 14:10:16 +03:00
Maciej Szlosarczyk
0dc0ac4d16
Merge branch 'master' into registry-927 2018-08-24 12:58:29 +03:00
Maciej Szlosarczyk
a64b03d204
Make sure that only admin contacts and registrants can lock a domain 2018-08-24 12:54:05 +03:00
Artur Beljajev
7a9a7c052f Rename notifications.queued to read 2018-08-24 10:29:09 +03:00
Artur Beljajev
dfff6f6d12 Rename notifications.body to text 2018-08-23 22:33:30 +03:00
Artur Beljajev
8765baf319 Rename Message to Notification 2018-08-23 20:03:03 +03:00
Artur Beljajev
5ba2170324 Merge branch 'master' into improve-epp-poll-tests 2018-08-23 19:08:25 +03:00
Maciej Szlosarczyk
9623e2fb97
Refactor RegistrantUser class
* Extract frequently used country_code and ident methods
* Refactor domain query
* Add contact query method
* Add adminstrated_domains query method. Name will most likely change
  in the future developments
* Change registry locks integration test name
2018-08-23 16:00:44 +03:00
Artur Beljajev
ba08856953 Improve EPP poll tests 2018-08-22 20:21:59 +03:00
Artur Beljajev
d65186dc29 Disallow scheduling "force delete" procedure on a discarded domain 2018-08-21 18:52:27 +03:00