Commit graph

411 commits

Author SHA1 Message Date
Alex Sherman
c252d801f9 Add mail notification on soft force delete 2020-01-15 16:23:13 +05:00
Alex Sherman
b9575661eb Add both types of delete procedure to the view/controller 2020-01-14 17:57:47 +05:00
Timo Võhmar
c168eac354
Merge pull request #1435 from internetee/improve-api-users
Improve API users
2019-12-16 17:18:17 +02:00
Artur Beljajev
e6981e7e28 Remove unneeded code 2019-12-10 15:39:57 +02:00
Artur Beljajev
d82c44600a Remove unneded code 2019-12-10 15:39:56 +02:00
Artur Beljajev
aa8be7d148 Improve error messages 2019-12-10 15:39:56 +02:00
Artur Beljajev
61f6a3705f Fail Loudly 2019-12-10 15:39:56 +02:00
Artur Beljajev
e5eaac291e Show validation errors in UI, otherwise fail loudly 2019-12-10 15:39:56 +02:00
Artur Beljajev
01c877fe70 Remove unneded code 2019-12-10 15:39:56 +02:00
Artur Beljajev
de6934625c Nest API users under registrar in admin area 2019-12-10 15:38:30 +02:00
Artur Beljajev
3c5c0c4310 Pass registrar in URL instead of POST params 2019-12-09 20:53:58 +02:00
Artur Beljajev
6fd172adbb Remove registrant_verifications.domain_name database column
It is not used nor needed.
2019-12-06 20:49:26 +02:00
Artur Beljajev
fa52001be6 Upgrade to Rails 5.0
Closes #377
2019-11-15 15:26:33 +02:00
Artur Beljajev
fc71bf93e7 Remove unimplemented Keyrelay feature
Closes #715
2019-10-31 17:15:21 +02:00
Artur Beljajev
4a4552564d Remove mail templates feature as buggy and unused 2019-06-19 14:38:08 +03:00
Artur Beljajev
da191e14e6 Validate iban 2019-06-12 11:49:31 +03:00
Artur Beljajev
ca317ace45 Add registrar IBAN 2019-06-12 11:49:31 +03:00
Artur Beljajev
7723a30d1b Always require invoice VAT rate
Closes #1031
2019-05-17 19:04:33 +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
27ea790b28 Refactor invoice PDF generation, download and delivery
- Remove `Que::Mailer` (#895)
- Extract controllers
- Extract translations
- Convert HAML to ERB
- Add mailer preview
- Improve UI
- Remove unused routes
- Add tests
2019-04-11 13:04:42 +03:00
Artur Beljajev
5d63feb0a5 Update emails' content
Closes #1127
2019-03-28 15:22:46 +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
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
Maciej Szlosarczyk
24b87d8592
Merge branch 'master' into registry-887-revoke-certificate-before-removing-it 2018-09-20 16:08:18 +03:00
Maciej Szlosarczyk
d77bdee599
Only revoke registrar certificates 2018-09-20 16:08:00 +03:00
Maciej Szlosarczyk
240bcf7911
Revoke, and then delete a certificate
This functionality is manually tested. because of heavy reliance on
server configuration and bash commands.

Ruby OpenSSL library lacks a good way to manage revocation list
programatically, which would be the best option to work with. We might
still use command line tools in the end.
2018-09-18 17:49:12 +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
1bfdf899a0 Merge branch 'master' into refactor-messages
# Conflicts:
#	db/structure.sql
2018-08-27 20:55:44 +03:00
Artur Beljajev
3d51a93f95 Merge branch 'master' into registry-790 2018-08-27 15:24:05 +03:00
Maciej Szlosarczyk
8aa8aea24e
Merge branch 'master' into registry-927 2018-08-27 11:40:28 +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
Maciej Szlosarczyk
322d931856
Further massage rubocop issues 2018-08-10 15:18:53 +03:00
Maciej Szlosarczyk
9d7dc59652
Fix rubocop issues and a stray typo spotted along the way 2018-08-10 14:43:06 +03:00
Artur Beljajev
096035ae11 Revert old behaviour 2018-08-08 22:28:09 +03:00
Maciej Szlosarczyk
dffe865d89
Add ability for admin to remove registry lock 2018-08-08 15:43:29 +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
5561825584 Use standard Devise sessions controller in admin area
Fixes a bug when retrying to login with correct credentials
2018-07-18 20:02:05 +03:00
Artur Beljajev
989bb32548 Improve readability 2018-07-16 01:31:36 +03:00
Artur Beljajev
a651ac8cab Fix Rubocop warnings 2018-07-15 19:50:15 +03:00
Artur Beljajev
f6ad22156e Supply PaperTrail with current user 2018-07-13 23:13:58 +03:00
Artur Beljajev
32ecf36057 Rename users.password to users.plain_text_password
Otherwise it conflicts with Devise
2018-07-13 23:09:21 +03:00
Artur Beljajev
9684c8e59f Refactor Devise integration
- Use scoped users
- Use the named route helpers instead of hardcoded paths
2018-06-20 12:21:22 +03:00
Artur Beljajev
28416a3375 Use singular controller 2018-06-19 20:43:23 +03:00
Artur Beljajev
5b821f4074 Merge branch 'master' into registry-790
# Conflicts:
#	app/models/domain_cron.rb
#	lib/tasks/dev.rake
2018-06-18 16:27:56 +03:00
Artur Beljajev
c44f3df7f5 Remove Rubocop inline directives 2018-06-07 19:17:16 +03:00