oleghasjanov
b1b03d572b
updated gems
2025-04-16 12:31:23 +03:00
oleghasjanov
ae96863b88
feat: Implement P12 certificate generation improvements
...
- Replace hardcoded P12 password with randomly generated one
- Add p12_password column to certificates table
- Update certificate serializer to include p12 password in response
- Remove deprecated certificate revocation logic
- Add tests for certificate revocation functionality
- Implement async P12 generation via Sidekiq job
- Add job uniqueness to prevent parallel certificate generation
Migration changes:
- Replace p12_password_digest with p12_password column
- Add safety measures for column removal
2025-04-16 11:47:52 +03:00
oleghasjanov
51035d1ddf
Add UserCertificate model with tests
...
- Create UserCertificate model with validations and certificate renewal logic
- Add tests for UserCertificate model functionality
- Add user certificates fixtures for testing
- Add association between ApiUser and UserCertificates
- Add required gems: dry-types, dry-struct, openssl
- Add /certs to .gitignore
This commit implements the base model for storing user certificates in the
database, including private keys, CSRs, certificates and P12 files. The model
includes basic validation and certificate renewal functionality, with
comprehensive test coverage.
2025-04-16 11:47:50 +03:00
tsoganov
94e8d928db
Added Dockerfile for production and updated gemfile
2025-04-02 12:46:54 +03:00
oleghasjanov
f61baf32c5
commit
...
fix: improve company register status messages
- Update error message for missing company in registry
- Clarify status message format for existing companies
- Update dependencies: logger (1.6.5) and net-smtp (0.5.1)
The changes make company status messages more descriptive and clearer
for administrators when a company's registration status triggers domain
deletion. Messages now explicitly state whether a contact was not found
or has a specific status in the business registry.
2025-02-05 11:26:45 +02:00
oleghasjanov
41ad6c6b21
fixed depedencies
2025-02-03 14:33:18 +02:00
oleghasjanov
45c77f7052
fix: improve company registry data processing
...
- Switch company_register branch to issues-with-upcoming-data
- Convert ident to string when querying company data
- Add extended logging in CompanyRegisterStatusJob
- Disable automatic merging in renovate.json
Technical changes:
- Update dependencies: date, net-protocol, net-smtp, timeout
2025-02-03 14:08:48 +02:00
oleghasjanov
89097bfabe
feat: restore company validation for Estonian organizations
...
- Re-enable company validation logic for Estonian organization contacts
- Update company_register gem to use master branch
- Restore and update company validation tests
- Add additional check for Estonian country code in validation
This change ensures that only registered or liquidated Estonian companies
can be used when creating organizational contacts.
2025-02-03 14:08:18 +02:00
oleghasjanov
d3d91b5294
Update company_register gem and fix logger dependency
...
- Switch company_register gem to 'issues-with-upcoming-data' branch
- Add concurrent-ruby 1.3.4 to fix ThreadSafeLevel logger error
- Update various gem dependencies
Resolves logger initialization error related to ActiveSupport::Logger::ThreadSafeLevel
2025-01-29 14:47:51 +02:00
renovate[bot]
bfe2a10889
chore(deps): update dependency pry to v0.15.2 ( #2725 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-05 06:44:19 +00:00
OlegPhenomenon
b3a90c2d5f
Merge pull request #2722 from internetee/dependabot/bundler/json-jwt-1.16.6
...
Bump json-jwt from 1.16.1 to 1.16.6
2025-01-02 13:45:38 +02:00
dependabot[bot]
b5e4d6baaa
Bump rails-html-sanitizer from 1.6.0 to 1.6.1
...
Bumps [rails-html-sanitizer](https://github.com/rails/rails-html-sanitizer ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/rails/rails-html-sanitizer/releases )
- [Changelog](https://github.com/rails/rails-html-sanitizer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rails/rails-html-sanitizer/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: rails-html-sanitizer
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-02 10:59:32 +00:00
dependabot[bot]
2a454ea62d
Bump json-jwt from 1.16.1 to 1.16.6
...
Bumps [json-jwt](https://github.com/nov/json-jwt ) from 1.16.1 to 1.16.6.
- [Release notes](https://github.com/nov/json-jwt/releases )
- [Changelog](https://github.com/nov/json-jwt/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nov/json-jwt/compare/v1.16.1...v1.16.6 )
---
updated-dependencies:
- dependency-name: json-jwt
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-02 10:59:23 +00:00
dependabot[bot]
0387ebd3c2
Bump actiontext from 6.1.7.7 to 6.1.7.9
...
Bumps [actiontext](https://github.com/rails/rails ) from 6.1.7.7 to 6.1.7.9.
- [Release notes](https://github.com/rails/rails/releases )
- [Changelog](https://github.com/rails/rails/blob/v8.0.1/actiontext/CHANGELOG.md )
- [Commits](https://github.com/rails/rails/compare/v6.1.7.7...v6.1.7.9 )
---
updated-dependencies:
- dependency-name: actiontext
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-02 10:56:45 +00:00
renovate[bot]
44e42dd0fb
chore(deps): update dependency puma to v5.6.9 [security] ( #2710 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 00:39:45 +00:00
oleghasjanov
292a4fddc5
fixed tests: updated gems; improve company register status job and test stability
...
- Refactor CompanyRegisterStatusJob for better readability and error handling
- Update whitelisted_companies to use JSON parsing with fallback
- Fix company register status check in tests with proper mock data
- Remove debug logging statements
- Add null check for domain status notes
- Update test dependencies (Capybara and Selenium) for better stability
2024-11-13 15:04:39 +02:00
oleghasjanov
0a08d77b1c
fixed conflict
2024-11-08 12:46:39 +02:00
oleghasjanov
a13ef33628
fixed method for check force delete
2024-11-08 12:46:15 +02:00
renovate[bot]
1f9df5e687
Update dependency rexml to v3.3.9 [SECURITY]
2024-10-28 21:10:55 +00:00
renovate[bot]
3677a74ef0
Update dependency pg to v1.5.9
2024-10-25 04:27:22 +00:00
renovate[bot]
be6ddd4322
Update dependency puma to v5.6.9 [SECURITY]
2024-10-17 17:37:29 +00:00
Timo Võhmar
bc49c16a89
Merge pull request #2675 from internetee/added-broken-gems
...
adde net fpt
2024-09-30 15:27:47 +03:00
renovate[bot]
025ef77130
Update dependency pg to v1.5.8
2024-09-07 03:11:59 +00:00
renovate[bot]
24c8991f1f
Update dependency rexml to v3.3.6 [SECURITY]
2024-08-29 16:52:46 +00:00
renovate[bot]
a5ace33d94
Update dependency pg to v1.5.7
2024-08-02 09:18:16 +00:00
renovate[bot]
18a4a55c80
Update dependency rexml to v3.3.3 [SECURITY]
2024-08-02 07:18:04 +00:00
renovate[bot]
18973d7cdc
Update dependency simpleidn to v0.2.3
2024-07-22 04:28:52 +00:00
oleghasjanov
baf83a4ebb
adde net fpt
2024-07-17 12:53:56 +03:00
renovate[bot]
531b54cc44
Update dependency simpleidn to v0.2.2
2024-07-17 08:12:17 +00:00
renovate[bot]
b10376ec65
Update dependency rexml to v3.3.2 [SECURITY]
2024-07-17 05:18:25 +00:00
renovate[bot]
b3f822c5ad
Update dependency validates_email_format_of to v1.8.2
2024-06-12 04:46:07 +00:00
renovate[bot]
7923891c5a
Update dependency rexml to v3.2.7 [SECURITY]
2024-05-17 01:46:17 +00:00
renovate[bot]
1efa697746
Update dependency nokogiri to v1.16.5 [SECURITY]
2024-05-14 03:53:35 +00:00
renovate[bot]
eea781b89d
Update dependency validates_email_format_of to v1.8.0
2024-05-12 05:27:36 +00:00
renovate[bot]
d5f2283836
Update dependency pg to v1.5.6
2024-03-02 04:36:43 +00:00
renovate[bot]
e549322463
Update dependency rails to v6.1.7.7 [SECURITY]
2024-02-28 07:25:52 +00:00
renovate[bot]
fd812480ea
Update dependency pg to v1.5.5
2024-02-16 03:05:26 +00:00
renovate[bot]
5474991bd1
Update dependency nokogiri to '~> 1.16.0' [SECURITY]
2024-02-06 18:12:02 +00:00
Oleg Hasjanov
f4d276fc44
comment out not relevant tests
2024-02-02 09:08:04 +02:00
renovate[bot]
682e166798
Update dependency puma to v5.6.8 [SECURITY]
2024-01-26 16:32:36 +00:00
renovate[bot]
46fed76e6d
Update dependency pg to v1.5.4
2023-11-01 03:10:34 +00:00
renovate[bot]
41ca71a039
Update dependency sidekiq to v7.1.3 [SECURITY]
2023-09-15 13:18:10 +00:00
Sergei Tsoganov
b7c06a4f26
Removed webdrivers gem
2023-09-12 12:13:16 +03:00
renovate[bot]
e2d0e60528
Update dependency puma to v5.6.7 [SECURITY]
2023-08-19 04:53:19 +00:00
renovate[bot]
c5a87181ff
Update dependency nokogiri to '~> 1.15.0'
2023-07-14 20:05:40 +00:00
Sergei Tsoganov
fe6015491c
Updated base_test
2023-07-10 14:40:18 +03:00
Sergei Tsoganov
807c537f67
Downgraded data_migrate gem to v9
2023-06-29 09:41:47 +03:00
Sergei Tsoganov
b19c4583bd
Downgraded apipie gem
2023-06-09 15:00:43 +03:00
Sergei Tsoganov
7c6a755693
Updated apipie to last version
2023-06-09 14:52:21 +03:00
Timo Võhmar
8b22e8533b
Merge pull request #2587 from internetee/update-sidekiq
...
Updated sidekiq version
2023-06-07 16:09:50 +03:00