Refactor backend logic for storage limit notification
This will make the code more readable for when dealing with this notification
显示
- ee/app/helpers/ee/namespace_storage_limit_alert_helper.rb 3 个添加, 20 个删除ee/app/helpers/ee/namespace_storage_limit_alert_helper.rb
- ee/app/models/ee/namespace/storage/notification.rb 138 个添加, 0 个删除ee/app/models/ee/namespace/storage/notification.rb
- ee/app/services/ee/post_receive_service.rb 4 个添加, 10 个删除ee/app/services/ee/post_receive_service.rb
- ee/app/services/namespaces/check_excess_storage_size_service.rb 0 个添加, 40 个删除.../services/namespaces/check_excess_storage_size_service.rb
- ee/app/services/namespaces/check_storage_size_service.rb 0 个添加, 99 个删除ee/app/services/namespaces/check_storage_size_service.rb
- ee/app/views/shared/_namespace_storage_limit_alert.html.haml 0 个添加, 1 个删除ee/app/views/shared/_namespace_storage_limit_alert.html.haml
- ee/spec/helpers/ee/namespace_storage_limit_alert_helper_spec.rb 8 个添加, 62 个删除...c/helpers/ee/namespace_storage_limit_alert_helper_spec.rb
- ee/spec/models/ee/namespace/storage/notification_spec.rb 150 个添加, 0 个删除ee/spec/models/ee/namespace/storage/notification_spec.rb
- ee/spec/requests/groups/usage_quotas_spec.rb 7 个添加, 11 个删除ee/spec/requests/groups/usage_quotas_spec.rb
- ee/spec/services/ee/post_receive_service_spec.rb 16 个添加, 15 个删除ee/spec/services/ee/post_receive_service_spec.rb
- ee/spec/services/namespaces/check_excess_storage_size_service_spec.rb 0 个添加, 195 个删除...ices/namespaces/check_excess_storage_size_service_spec.rb
- ee/spec/services/namespaces/check_storage_size_service_spec.rb 0 个添加, 165 个删除...ec/services/namespaces/check_storage_size_service_spec.rb
- ee/spec/support/shared_examples/controllers/namespace_storage_limit_alert_shared_examples.rb 8 个添加, 11 个删除...trollers/namespace_storage_limit_alert_shared_examples.rb
加载中
想要评论请 注册 或 登录