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
Artur Beljajev
65b40997ca
Merge branch 'master' into registry-790
2018-06-04 04:02:33 +03:00
Maciej Szlosarczyk
15a651e51b
Fix Rubocop issues after Ruby upgrade
2018-04-27 15:23:49 +03:00
Maciej Szlosarczyk
cec05c3943
Test and fix contact_versions controller affected by the same bug
2018-04-24 13:19:34 +03:00
Maciej Szlosarczyk
a93228c579
Extract block to helper function
2018-04-24 13:19:11 +03:00
Artur Beljajev
9d6a5910e3
Merge branch 'master' into registry-790
2018-04-15 19:11:20 +03:00
Artur Beljajev
bee233e00b
Fix incorrect method
...
#623
2018-04-12 12:06:42 +03:00
Artur Beljajev
cc4a244844
Enable to keep a domain
...
#790
2018-04-08 18:52:32 +03:00
Artur Beljajev
90a4e11ce4
Improve readability
...
#790
2018-04-08 16:07:08 +03:00
Artur Beljajev
b4ed8f6c82
Remove double load
...
#790
2018-04-08 16:01:00 +03:00
Artur Beljajev
4dc7723554
Remove dead code
...
#790
2018-04-08 15:53:29 +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
b68fe6e312
Rename attributes
...
#623
2018-03-13 11:32:15 +02:00
Artur Beljajev
f1fb17a42c
Merge branch 'registry-765' into registry-623
2018-03-10 13:28:39 +02:00
Artur Beljajev
1b87c0bbc6
Merge branch 'master' into registry-765
...
# Conflicts:
# app/views/admin/registrars/show.html.erb
# db/structure.sql
2018-03-10 13:25:01 +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
f7301c3aea
Remove unused attribute
...
Closes #747
2018-03-08 14:36:19 +02:00
Artur Beljajev
b2a38ae4e9
Re-order arguments
...
#623
2018-02-28 11:36:49 +02:00