Commit graph

115 commits

Author SHA1 Message Date
Artur Beljajev
f0a7edd6d8 Ignore legacy database columns
Closes #1377
2019-12-15 18:27:01 +02:00
Artur Beljajev
fa52001be6 Upgrade to Rails 5.0
Closes #377
2019-11-15 15:26:33 +02:00
Artur Beljajev
6356ce0e9f Fall back on contact email if billing email is absent
Affects e-invoice and invoice delivery form.

Fixes #1255
2019-07-08 15:28:31 +03:00
Artur Beljajev
26fa15f76c Alias attribute 2019-07-08 15:28:31 +03:00
Artur Beljajev
9bb73b7cdd Validate registrar's billing email (#1253)
Previously it was being validated only if contact email changed (contact
and billing emails have nothing in common).
2019-07-08 13:45:45 +03:00
Artur Beljajev
86a69c09bf Issue e-invoice along with invoice
Closes #1222
2019-06-26 12:03:07 +03:00
Artur Beljajev
62c38d1f99 Add balance auto reload
Closes #329
2019-06-14 16:30:34 +03:00
Artur Beljajev
1c6c6cddcb Make registrar address zip and state optional
Closes #1206
2019-05-21 18:22:12 +03:00
Artur Beljajev
7723a30d1b Always require invoice VAT rate
Closes #1031
2019-05-17 19:04:33 +03:00
Artur Beljajev
04575295ee Make registrar address required
Closes #1190
2019-05-10 16:40:51 +03:00
Artur Beljajev
efb63399b2 Refactor registrars
- Reorganize views
- Improve database structure
- Use default translations
- Combine tests
2019-05-10 16:40:50 +03: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
5738c17731 Use Estonian reference number format instead of ISO 11649 2018-11-26 16:33:53 +02:00
Artur Beljajev
e8232258d8 Remove dead code 2018-10-29 00:59:02 +02:00
Artur Beljajev
b6ecae6a35 Add Registrant API contact update action
Closes #849
2018-10-09 00:09:22 +03:00
Artur Beljajev
8765baf319 Rename Message to Notification 2018-08-23 20:03:03 +03:00
Maciej Szlosarczyk
3e81366cfc
Add affected domain parameter to REST API response 2018-07-05 17:24:32 +03:00
Maciej Szlosarczyk
b5f07682f4
Make replace_nameservers return an array of domain names 2018-07-05 16:15:32 +03:00
Artur Beljajev
c44f3df7f5 Remove Rubocop inline directives 2018-06-07 19:17:16 +03:00
Artur Beljajev
837f326ef6 Merge branch 'master' into registry-623
# Conflicts:
#	app/controllers/admin/registrars_controller.rb
#	app/models/registrar.rb
#	app/views/admin/registrars/_billing.html.erb
#	app/views/admin/registrars/show.html.erb
#	config/locales/admin/registrars.en.yml
#	config/locales/en.yml
#	db/migrate/20180309053424_add_registrars_unique_constraints.rb
#	db/structure.sql
#	test/fixtures/registrars.yml
#	test/integration/admin/registrars/delete_test.rb
#	test/integration/admin/registrars/new_test.rb
#	test/models/registrar_test.rb
2018-03-29 12:13:59 +03:00
Artur Beljajev
0f6a47d73d Refactor registrars
#765
2018-03-26 07:00:54 +03:00
Artur Beljajev
7266662fac Drop uniqueness validation
#776
2018-03-15 17:01:37 +02:00
Artur Beljajev
3d107bd198 Set association instead of foreign key
#623
2018-03-13 09:39:32 +02:00
Artur Beljajev
7d72d9cb34 Fix vat rate
#623
2018-03-11 19:33:21 +02:00
Artur Beljajev
c129598d2b Improve VAT rate validation
#623
2018-03-10 16:51:11 +02:00
Artur Beljajev
7acd41595c Merge branch 'registry-772' into registry-623
# Conflicts:
#	app/models/invoice.rb
#	db/structure.sql
2018-03-10 16:48:47 +02:00
Artur Beljajev
efaac16cee Remove unused attribute
#772
2018-03-10 16:33:35 +02:00
Artur Beljajev
9ae08a1e6f Remove dead code
#623

(cherry picked from commit 49af8cc)
2018-03-10 13:44:07 +02:00
Artur Beljajev
d6d20a81a9 Add registrar vat rate
#623
2018-03-09 13:08:36 +02:00
Artur Beljajev
4f51f6c736 Merge branch 'registry-765' into registry-623
# Conflicts:
#	app/models/registrar.rb
#	config/locales/en.yml
#	spec/models/registrar_spec.rb
#	test/models/registrar_test.rb
2018-03-09 09:30:05 +02:00
Artur Beljajev
a5869e0eca Refactor registrars
#765
2018-03-09 09:23:21 +02:00
Artur Beljajev
ffc32b66de Merge branch 'master' into registry-623
# Conflicts:
#	db/structure.sql
2018-03-08 13:04:11 +02:00
Artur Beljajev
ea305618a5 Add Registry model
#623
2018-02-28 09:53:53 +02:00
Artur Beljajev
6a01226138 Update VAT
#623
2018-02-28 09:36:02 +02:00
Artur Beljajev
c47ca77ca6 Add registrar VAT rate
#623
2018-02-28 09:25:10 +02:00
Artur Beljajev
7dee10c683 Rename invoices.var_prc to vat_rate
#623
2018-02-28 08:46:36 +02:00
Artur Beljajev
c53d5542f6 Create new records on registrar nameserver replace
#661
2018-02-26 16:09:42 +02:00
Artur Beljajev
18010c6a2e Merge branch 'master' into registry-661
# Conflicts:
#	db/structure.sql
2018-02-26 07:39:51 +02:00
Artur Beljajev
69c32546de Add name server API
#661
2018-02-22 12:44:24 +02:00
Artur Beljajev
7a425ffaf6 Remove unused method
#694
2018-02-19 05:10:12 +02:00
Artur Beljajev
189129ec48 Rename DomainTransfer#transfer_to to new_registrar 2018-01-23 19:07:17 +02:00
Artur Beljajev
d99a63d476 Rename DomainTransfer#transfer_from to old_registrar 2018-01-23 19:00:46 +02:00
Artur Beljajev
77b24fdbd1 Add registrar language
#640
2017-11-23 07:09:16 +02:00
Artur Beljajev
411af16f9c Merge branch 'migrate-fabricators-to-factory-bot-factories' into registry-343 2017-11-15 15:46:54 +02:00
Artur Beljajev
59e1e18d32 Require registrar's accounting customer code
#343
2017-10-27 11:56:54 +03:00
Artur Beljajev
d520b5b157 Revert "Revert "Registry 569""
This reverts commit 4786dbb
2017-10-22 23:57:11 +03:00
Artur Beljajev
35afbf1f8c Refactor IP registrar restriction
#600
2017-10-04 01:03:32 +03:00
Artur Beljajev
06aeea81b3 Fix registrar url
#279
2017-02-21 18:02:15 +02:00
Artur Beljajev
c037166085 Add registrar website to UI
#279
2017-02-21 17:49:34 +02:00
Artur Beljajev
0a6b2fe19a Move account creation from registrar model to admin/registrars controller 2016-12-28 15:08:09 +02:00