egov_utils 1.1.1 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/egov_utils/current_users_controller.rb +26 -0
- data/app/controllers/egov_utils/groups_controller.rb +33 -7
- data/app/controllers/egov_utils/passwords_controller.rb +4 -1
- data/app/controllers/egov_utils/registration_requests_controller.rb +60 -0
- data/app/controllers/egov_utils/users_controller.rb +56 -33
- data/app/jobs/egov_utils/registration_requests/check_auto_accept_job.rb +12 -0
- data/app/mailers/egov_utils/registration_request_mailer.rb +31 -0
- data/app/models/egov_utils/group.rb +1 -3
- data/app/models/egov_utils/registration_request.rb +21 -0
- data/app/models/egov_utils/user.rb +12 -0
- data/app/services/egov_utils/archive_users.rb +12 -0
- data/app/services/egov_utils/refresh_groups.rb +28 -0
- data/app/services/egov_utils/refresh_user_groups.rb +3 -4
- data/app/services/egov_utils/registration_requests/check_auto_accept.rb +31 -0
- data/app/services/egov_utils/registration_requests/create.rb +25 -0
- data/app/services/egov_utils/registration_requests/handle_request.rb +57 -0
- data/app/views/egov_utils/current_users/edit.html.haml +12 -0
- data/app/views/egov_utils/groups/_form.html.haml +5 -0
- data/app/views/egov_utils/groups/_groups_tab.html.haml +0 -5
- data/app/views/egov_utils/groups/edit.html.haml +4 -0
- data/app/views/egov_utils/groups/index.html.haml +28 -19
- data/app/views/egov_utils/groups/new.html.haml +4 -0
- data/app/views/egov_utils/registration_request_mailer/accepted.html.erb +19 -0
- data/app/views/egov_utils/registration_request_mailer/auto_accepted.html.erb +14 -0
- data/app/views/egov_utils/registration_request_mailer/created.html.erb +18 -0
- data/app/views/egov_utils/registration_request_mailer/rejected.html.erb +12 -0
- data/app/views/egov_utils/registration_requests/index.html.haml +29 -0
- data/app/views/egov_utils/registration_requests/new.html.haml +9 -0
- data/app/views/egov_utils/registration_requests/show.html.haml +51 -0
- data/app/views/egov_utils/sessions/new.html.haml +3 -0
- data/app/views/egov_utils/user_mailer/account_information.html.erb +7 -0
- data/app/views/egov_utils/user_mailer/confirmation_email.html.erb +7 -0
- data/app/views/egov_utils/user_mailer/password_change_info.html.erb +8 -0
- data/app/views/egov_utils/user_mailer/password_reset.html.erb +7 -0
- data/app/views/egov_utils/users/edit.html.haml +9 -0
- data/app/views/egov_utils/users/index.html.haml +42 -25
- data/config/locales/cs.yml +103 -3
- data/config/routes.rb +6 -1
- data/db/migrate/20230407114921_add_deleted_at_to_egov_utils_users.rb +6 -0
- data/db/migrate/20230408123813_create_egov_utils_registration_requests.rb +16 -0
- data/db/migrate/20230412063325_add_days_before_archive_to_egov_utils_users.rb +5 -0
- data/db/migrate/20230427091407_add_fields_to_registration_requests.rb +8 -0
- data/lib/egov_utils/version.rb +1 -1
- metadata +40 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: egov_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ondřej Ezr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -58,6 +58,20 @@ dependencies:
|
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '5.1'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: active_interaction
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
type: :runtime
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
61
75
|
- !ruby/object:Gem::Dependency
|
62
76
|
name: haml
|
63
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -510,11 +524,13 @@ files:
|
|
510
524
|
- app/attributes/egov_utils/region.rb
|
511
525
|
- app/controllers/egov_utils/addresses_controller.rb
|
512
526
|
- app/controllers/egov_utils/application_controller.rb
|
527
|
+
- app/controllers/egov_utils/current_users_controller.rb
|
513
528
|
- app/controllers/egov_utils/groups_controller.rb
|
514
529
|
- app/controllers/egov_utils/organizations_controller.rb
|
515
530
|
- app/controllers/egov_utils/passwords_controller.rb
|
516
531
|
- app/controllers/egov_utils/people_controller.rb
|
517
532
|
- app/controllers/egov_utils/redmine/issues_controller.rb
|
533
|
+
- app/controllers/egov_utils/registration_requests_controller.rb
|
518
534
|
- app/controllers/egov_utils/roles_controller.rb
|
519
535
|
- app/controllers/egov_utils/sessions_controller.rb
|
520
536
|
- app/controllers/egov_utils/users_controller.rb
|
@@ -525,7 +541,9 @@ files:
|
|
525
541
|
- app/helpers/egov_utils/roles_helper.rb
|
526
542
|
- app/helpers/egov_utils/users_helper.rb
|
527
543
|
- app/jobs/egov_utils/application_job.rb
|
544
|
+
- app/jobs/egov_utils/registration_requests/check_auto_accept_job.rb
|
528
545
|
- app/mailers/egov_utils/application_mailer.rb
|
546
|
+
- app/mailers/egov_utils/registration_request_mailer.rb
|
529
547
|
- app/mailers/egov_utils/user_mailer.rb
|
530
548
|
- app/models/ability.rb
|
531
549
|
- app/models/egov_utils/abstract_person.rb
|
@@ -538,6 +556,7 @@ files:
|
|
538
556
|
- app/models/egov_utils/natural_person.rb
|
539
557
|
- app/models/egov_utils/person.rb
|
540
558
|
- app/models/egov_utils/principal.rb
|
559
|
+
- app/models/egov_utils/registration_request.rb
|
541
560
|
- app/models/egov_utils/user.rb
|
542
561
|
- app/resources/egov_utils/legal_form.rb
|
543
562
|
- app/resources/egov_utils/love.rb
|
@@ -549,7 +568,12 @@ files:
|
|
549
568
|
- app/schemas/egov_utils/natural_person_schema.rb
|
550
569
|
- app/schemas/egov_utils/person_schema.rb
|
551
570
|
- app/schemas/egov_utils/user_schema.rb
|
571
|
+
- app/services/egov_utils/archive_users.rb
|
572
|
+
- app/services/egov_utils/refresh_groups.rb
|
552
573
|
- app/services/egov_utils/refresh_user_groups.rb
|
574
|
+
- app/services/egov_utils/registration_requests/check_auto_accept.rb
|
575
|
+
- app/services/egov_utils/registration_requests/create.rb
|
576
|
+
- app/services/egov_utils/registration_requests/handle_request.rb
|
553
577
|
- app/validators/birthday_validator.rb
|
554
578
|
- app/validators/email_validator.rb
|
555
579
|
- app/validators/fileuid_validator.rb
|
@@ -559,9 +583,12 @@ files:
|
|
559
583
|
- app/views/common/_modal.html.haml
|
560
584
|
- app/views/common/modal_action.js.erb
|
561
585
|
- app/views/egov_utils/addresses/_form.html.haml
|
586
|
+
- app/views/egov_utils/current_users/edit.html.haml
|
562
587
|
- app/views/egov_utils/groups/_form.html.haml
|
563
588
|
- app/views/egov_utils/groups/_groups_tab.html.haml
|
589
|
+
- app/views/egov_utils/groups/edit.html.haml
|
564
590
|
- app/views/egov_utils/groups/index.html.haml
|
591
|
+
- app/views/egov_utils/groups/new.html.haml
|
565
592
|
- app/views/egov_utils/groups/new_users.html.haml
|
566
593
|
- app/views/egov_utils/groups/show.html.haml
|
567
594
|
- app/views/egov_utils/passwords/edit.html.haml
|
@@ -569,6 +596,13 @@ files:
|
|
569
596
|
- app/views/egov_utils/passwords/reset.html.haml
|
570
597
|
- app/views/egov_utils/people/_form.html.haml
|
571
598
|
- app/views/egov_utils/redmine/issues/index.html.haml
|
599
|
+
- app/views/egov_utils/registration_request_mailer/accepted.html.erb
|
600
|
+
- app/views/egov_utils/registration_request_mailer/auto_accepted.html.erb
|
601
|
+
- app/views/egov_utils/registration_request_mailer/created.html.erb
|
602
|
+
- app/views/egov_utils/registration_request_mailer/rejected.html.erb
|
603
|
+
- app/views/egov_utils/registration_requests/index.html.haml
|
604
|
+
- app/views/egov_utils/registration_requests/new.html.haml
|
605
|
+
- app/views/egov_utils/registration_requests/show.html.haml
|
572
606
|
- app/views/egov_utils/roles/index.html.haml
|
573
607
|
- app/views/egov_utils/sessions/new.html.haml
|
574
608
|
- app/views/egov_utils/user_mailer/account_information.html.erb
|
@@ -617,6 +651,10 @@ files:
|
|
617
651
|
- db/migrate/20180424143207_add_titles_to_natural_people.rb
|
618
652
|
- db/migrate/20220331113917_add_days_before_inactive_to_egov_utils_users.rb
|
619
653
|
- db/migrate/20220624070709_migrate_person_residence_to_addresses.rb
|
654
|
+
- db/migrate/20230407114921_add_deleted_at_to_egov_utils_users.rb
|
655
|
+
- db/migrate/20230408123813_create_egov_utils_registration_requests.rb
|
656
|
+
- db/migrate/20230412063325_add_days_before_archive_to_egov_utils_users.rb
|
657
|
+
- db/migrate/20230427091407_add_fields_to_registration_requests.rb
|
620
658
|
- lib/azahara_schema_currency.rb
|
621
659
|
- lib/azahara_schema_currency/aggregation_attribute_patch.rb
|
622
660
|
- lib/azahara_schema_currency/association_attribute_patch.rb
|