Commit graph

132 commits

Author SHA1 Message Date
Alex Sherman
e4a02c2e47 Return truemail
This reverts commit 862f5639ebbe4d3e6abd5d5be7fb7840e7b83bdf.
2020-07-17 15:22:49 +05:00
Timo Võhmar
6900ce1127
Revert "297 email address validation truemail" 2020-07-10 16:16:00 +03:00
Alex Sherman
56ac816dd1 Add thirs status - verification failed 2020-07-08 17:10:44 +05:00
Alex Sherman
62acd8892a Add nonverified email color to registrar show 2020-07-08 17:09:40 +05:00
Alex Sherman
e95996fa12 Add nonverified color email to registrar index 2020-07-08 17:09:40 +05:00
Alex Sherman
48036c660d Add email & nonverified color to contact show 2020-07-08 17:09:39 +05:00
Alex Sherman
1b06e43f18 Move email checks and validation methods to concern 2020-07-08 17:06:07 +05:00
Alex Sherman
e56162f37d Add registrar email validation 2020-07-08 17:05:24 +05:00
Alex Sherman
206704fee7 Add check if legal doc mandatory & tests 2020-06-30 18:43:35 +05:00
Karl Erik Õunapuu
3f92640ad2 Move registrar directo logic to concern, touch up translations 2020-03-02 17:38:03 +02:00
Karl Erik Õunapuu
86889b6432 Merge remote-tracking branch 'origin/master' into 509-directo-to-gem 2020-02-27 11:05:42 +02:00
Karl Erik Õunapuu
cd871ca829 Merge remote-tracking branch 'origin/master' into 509-directo-to-gem 2020-02-20 14:39:12 +02:00
Alex Sherman
1d6040cd5b Fix async que job calling 2020-02-20 12:30:34 +05:00
Karl Erik Õunapuu
d5662f42b8 Fully implemented prepayment Directo invoice forwarding, WIP on proformas 2020-02-18 17:03:31 +02:00
Alex Sherman
47e601f3cd Add test to check if job works 2020-02-17 17:59:28 +05:00
Alex Sherman
01114386b3 Change deprecated changed? methods to new in callbacks 2020-02-05 12:43:25 +05:00
Alex Sherman
95ad3086b0 Change deprecated usage of strings in if blocks 2020-02-05 12:43:25 +05:00
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