author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
108,883
05.02.2020 17:42:36
10,800
d10fa35fecf8b5ed680384a5f99a2f6cc3406252
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Arrays - [min|max]Contains)
[ { "change_type": "MODIFY", "old_path": "spec/integration/mongoff/validator_spec.rb", "new_path": "spec/integration/mongoff/validator_spec.rb", "diff": "@@ -200,6 +200,18 @@ describe Mongoff::Validator do\n'$ref': 'A',\nrequired: %w(const)\n}\n+ },\n+\n+ maxContains: {\n+ type: 'array',\n+ contains: ...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Arrays - [min|max]Contains)
108,883
06.02.2020 07:45:27
10,800
3fa898a44d1dde3350e14323bc317520de9bb3d2
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - [min|max]Properties)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/model.rb", "new_path": "lib/mongoff/model.rb", "diff": "@@ -523,7 +523,7 @@ module Mongoff\nend\ndef check_referenced_schema(schema, check_for_array = true)\n- if schema.is_a?(Hash) && (schema = schema.reject { |key, _| %w(types contextual_params d...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - [min|max]Properties)
108,883
06.02.2020 11:26:25
10,800
3b95841ca92743701a7a63739f09796e1add01b6
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - required)
[ { "change_type": "MODIFY", "old_path": "spec/integration/mongoff/validator_spec.rb", "new_path": "spec/integration/mongoff/validator_spec.rb", "diff": "@@ -283,12 +283,24 @@ describe Mongoff::Validator do\nemail: 'support@cenit.io'\n}\n+ required_test_schema = {\n+ required: required_props = sample....
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - required)
108,883
07.02.2020 07:46:14
10,800
5501a8d7b1a47c0dc3de08a788032fa550e3da3a
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - dependentRequired)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -608,16 +608,20 @@ module Mongoff\nelsif instance.is_a?(Hash)\nhash = {}\nproperties.each do |property, dependencies|\n- next unless instance.key?(property)\n+ next unless instance....
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - dependentRequired)
108,883
07.02.2020 11:58:00
10,800
f14203c834fee4cbafc4098a91b673e52d6c3ad7
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - properties)
[ { "change_type": "MODIFY", "old_path": "spec/integration/mongoff/validator_spec.rb", "new_path": "spec/integration/mongoff/validator_spec.rb", "diff": "@@ -215,6 +215,30 @@ describe Mongoff::Validator do\nminContains: min_contains = 10 + rand(5)\n},\n+ embedded_properties: {\n+ '$ref': 'A'\n+ },\n+\...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - properties)
108,883
08.02.2020 08:36:26
10,800
3a4355accbc82af13e392de3c892fbf8649fc576
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - patternProperties)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -719,7 +719,7 @@ module Mongoff\n_check_type(:properties, value, Hash)\nvalue.each do |pattern, schema|\nbegin\n- Regexp.new(pattern)\n+ Regexp.new(pattern.to_s)\nrescue Exception =...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - patternProperties)
108,883
08.02.2020 10:24:07
10,800
ffc44097c28d20103d4c5021230dd431eabbb4d4
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - additionalProperties)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -653,7 +653,7 @@ module Mongoff\nmodel = instance.orm_model\nmodel.stored_properties_on(instance).each do |property|\nnext unless properties.key?(property)\n- checked_properties << ...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - additionalProperties)
108,883
08.02.2020 18:39:04
10,800
b33da1a012245291d23aae4033fbeae9cc66ec94
Add | Mongoff Validator instances tests (Boolean JSON Schemas)
[ { "change_type": "MODIFY", "old_path": "app/models/setup/json_data_type.rb", "new_path": "app/models/setup/json_data_type.rb", "diff": "@@ -216,7 +216,7 @@ module Setup\ndef validate_schema\n# check_type_name(self.name)\nself.schema = JSON.parse(schema) unless schema.is_a?(Hash)\n- JSON::Validator.v...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Boolean JSON Schemas)
108,883
08.02.2020 19:17:52
10,800
ea82febe7ccb3a3f9feb9035987a8b5f4dc4832d
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - additionalProperties: [true|false])
[ { "change_type": "MODIFY", "old_path": "spec/integration/mongoff/validator_spec.rb", "new_path": "spec/integration/mongoff/validator_spec.rb", "diff": "@@ -276,7 +276,7 @@ describe Mongoff::Validator do\nsample = {\nnull: nil,\n- boolean: (rand(5) % 2).to_b,\n+ boolean: true,\ninteger: 10 + rand(10)...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - additionalProperties: [true|false])
108,883
09.02.2020 09:47:03
10,800
1e241a3d9808762bf826e95d39b633f4342f06be
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - propertyNames)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -873,6 +873,7 @@ module Mongoff\nend\ndef check_propertyNames(schema, instance, state, data_type, options)\n+ path = options[:path] || '#'\nschema = data_type.merge_schema(schema)\n...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Objects - propertyNames)
108,883
09.02.2020 09:50:19
10,800
b4ed11954a4849b8b4bf5dbcc2ac6133a87c38a8
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas With Boolean Logic - allOf)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -77,6 +77,7 @@ module Mongoff\nend\nreturn if schema.is_a?(TrueClass)\nraise_path_less_error 'is not allowed' if schema.is_a?(FalseClass)\n+ schema = data_type.merge_schema(schema)\...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas With Boolean Logic - allOf)
108,883
09.02.2020 11:29:54
10,800
87af44075f51b2209ab35c1413026b0994c3bba2
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas With Boolean Logic - anyOf)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -950,10 +950,10 @@ module Mongoff\nend\nend\n- def check_anyOf(schemas, instance)\n+ def check_anyOf(schemas, instance, _, data_type)\nschemas.each_with_index do |schema|\nbegin\n- ...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas With Boolean Logic - anyOf)
108,883
09.02.2020 11:55:02
10,800
ee1c4f8e8824432483c6138554a5f6eeb7f5852f
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas With Boolean Logic - oneOf)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -973,20 +973,25 @@ module Mongoff\nend\nend\n- def check_oneOf(schemas, instance)\n- oneIndex = nil\n+ def check_oneOf(schemas, instance, _, data_type)\n+ one_index = nil\nschemas.e...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas With Boolean Logic - oneOf)
108,883
09.02.2020 12:07:07
10,800
e8d2c5108af4aea85c886e003cdb05dc76aafe82
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas With Boolean Logic - not)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -1002,12 +1002,13 @@ module Mongoff\nend\nend\n- def check_not(schema, instance)\n+ def check_not(schema, instance, _, data_type)\nbegin\n- validate_instance(instance, schema: schem...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas With Boolean Logic - not)
108,883
09.02.2020 21:37:08
10,800
2f64f1c6fed744e59350ae8e3a610118b7b99e2b
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas Conditionally - if-then-else)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -44,7 +44,8 @@ module Mongoff\nOBJECT_KEYWORDS +\nLOGIC_KEYWORDS +\nFORMAT_KEYWORDS +\n- [DEFAULT_KEYWORD]\n+ [DEFAULT_KEYWORD] +\n+ CONDITIONAL_KEYWORDS\ndef soft_validates(instanc...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas Conditionally - if-then-else)
108,883
09.02.2020 22:06:36
10,800
20dcf3d81e80f141f074f2380844301ba6d39167
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas Conditionally - dependentSchemas)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -1080,7 +1080,7 @@ module Mongoff\nend\nend\n- def check_dependentSchemas(properties, instance)\n+ def check_dependentSchemas(properties, instance, _, data_type)\nreturn unless inst...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas Conditionally - dependentSchemas)
108,883
10.02.2020 10:17:28
10,800
2d59cb19e4fae0fba5967154664136eddbdf310d
Fix | Set mongoff validation as primary
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/record.rb", "new_path": "lib/mongoff/record.rb", "diff": "@@ -93,17 +93,18 @@ module Mongoff\n# Mongoff::Validator.soft_validates(self, skip_nulls: true)\nerrors.clear\nMongoff::Validator.soft_validates(self, skip_nulls: true)\n- mongoff_errors = e...
Ruby
MIT License
cenit-io/cenit
Fix | Set mongoff validation as primary
108,883
10.02.2020 19:29:56
10,800
aa172303506e722886f6c990100185d7fc0a6f1d
Fix | Mongoff GridFS validation
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/grid_fs/file.rb", "new_path": "lib/mongoff/grid_fs/file.rb", "diff": "@@ -46,7 +46,7 @@ module Mongoff\nend\nend\n- def save(options = {})\n+ def do_validate(options = {})\nif stash_data.nil?\nerrors.add(:data, \"can't be nil\") if new_record?\nels...
Ruby
MIT License
cenit-io/cenit
Fix | Mongoff GridFS validation
108,883
07.03.2020 17:16:10
10,800
3598bd5c28c50881f68952dbb095c91686040f3f
Fix | Falsy values on hash deep reverse merge
[ { "change_type": "MODIFY", "old_path": "lib/xsd/core_ext.rb", "new_path": "lib/xsd/core_ext.rb", "diff": "@@ -25,11 +25,15 @@ end\nclass Hash\ndef deep_reverse_merge(other)\n- merge(other) do |_, left, right|\n+ merge(other) do |key, left, right|\nif left.is_a?(Hash) && right.is_a?(Hash)\nleft.deep_...
Ruby
MIT License
cenit-io/cenit
Fix | Falsy values on hash deep reverse merge
108,883
16.03.2020 15:36:35
10,800
d147a41ff3904de03cdf5c0fc660c2d4457508ef
Fix | HTTMultiParty methods
[ { "change_type": "MODIFY", "old_path": "app/models/setup/webhook_common.rb", "new_path": "app/models/setup/webhook_common.rb", "diff": "@@ -234,7 +234,7 @@ module Setup\nend\nbegin\nstart_time = Time.current\n- http_response = HTTMultiParty.send(method, url, msg)\n+ http_response = Http.send(method,...
Ruby
MIT License
cenit-io/cenit
Fix | HTTMultiParty methods
108,883
18.03.2020 00:10:12
10,800
cf55acff24a08b6b0e2cbabf24b57528b379c65a
Add | Parser option add_new via query parameters
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -247,7 +247,7 @@ module Api::V3\nend\nend\n- PARSER_OPTIONS = %w(add_only primary_field ignore reset update skip_refs_binding).collect(&:to_sym)\n+ P...
Ruby
MIT License
cenit-io/cenit
Add | Parser option add_new via query parameters
108,883
18.03.2020 14:40:52
10,800
868402a952add3923148045d1a02399741ea4269
Fix | Default additional (Properties | Items) schemas
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -80,7 +80,28 @@ module Mongoff\nraise_path_less_error 'is not allowed' if schema.is_a?(FalseClass)\nschema = data_type.merge_schema(schema)\nstate = {}\n- validation_keys = INSTANCE...
Ruby
MIT License
cenit-io/cenit
Fix | Default additional (Properties | Items) schemas
108,883
22.03.2020 10:25:31
10,800
690fa3ddb713dc7697750eed37b4e81044dabd62
Add | Mongoff validation for number formats
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -309,7 +309,13 @@ module Mongoff\nraise_path_less_error \"does not match the pattern #{value}\" if instance.is_a?(String) && !Regexp.new(value).match(instance)\nend\n- FORMATS = %w(...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff validation for number formats
108,883
22.03.2020 12:39:11
10,800
a75a07451d404e021f96096b3b5b87b33feb2020
Add | Mongoff validation for URL format
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -310,7 +310,7 @@ module Mongoff\nend\nFORMATS_MAP = {\n- string: %w(date date-time time email hostname ipv4 ipv6 uri uuid),\n+ string: %w(date date-time time email hostname ipv4 ipv...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff validation for URL format
108,883
22.03.2020 16:05:49
10,800
18c29bfa355d16ccc271dbe0538ac388c4040835
Add | Mongoff Validator logic for validating arrays of simple types
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/metadata_access.rb", "new_path": "lib/mongoff/metadata_access.rb", "diff": "@@ -106,7 +106,9 @@ module Mongoff\nif (key = schema['type']).nil? && (one_of = schema['oneOf']).is_a?(Array)\none_of.collect { |sch| mongo_type_for(nil, sch) }.flatten.uni...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator logic for validating arrays of simple types
108,883
23.03.2020 07:23:36
10,800
44b143ef86506e592872c7aefded3f40932ac60e
Fix | Tuning tests
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/record.rb", "new_path": "lib/mongoff/record.rb", "diff": "@@ -90,7 +90,6 @@ module Mongoff\ndef validate(options = {})\nunless @validated\n- # Mongoff::Validator.soft_validates(self, skip_nulls: true)\nerrors.clear\ndo_validate(options)\n@validated...
Ruby
MIT License
cenit-io/cenit
Fix | Tuning tests
108,883
23.03.2020 09:08:38
10,800
12ff521952c84ff57a77680e43e3dbf486f92ea6
Add | Legacy support for exclusive maximum/minimum validation
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -265,32 +265,48 @@ module Mongoff\n_check_type(:maximum, value, Numeric)\nend\n- def check_maximum(value, instance)\n- raise_path_less_error \"expected to be maximum #{value}\" if i...
Ruby
MIT License
cenit-io/cenit
Add | Legacy support for exclusive maximum/minimum validation
108,883
23.03.2020 11:02:42
10,800
228c962f9bf8df00ade85929ee39dc9bc2c94053
Update | Bypass format validation with a warning for not supported formats
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -343,9 +343,10 @@ module Mongoff\nend\nFORMATS_MAP = {\n- string: %w(date date-time time email hostname ipv4 ipv6 uri uuid url),\n+ string: %w(date date-time time email hostname ipv...
Ruby
MIT License
cenit-io/cenit
Update | Bypass format validation with a warning for not supported formats
108,883
23.03.2020 11:34:59
10,800
43e06961461f5d6b66114fccfd38dcb5aa56a804
Add | Mongoff validation for byte string (base64) format
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -343,7 +343,7 @@ module Mongoff\nend\nFORMATS_MAP = {\n- string: %w(date date-time time email hostname ipv4 ipv6 uri uuid url google-fieldmask),\n+ string: %w(date date-time time em...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff validation for byte string (base64) format
108,883
23.03.2020 12:35:24
10,800
6d5b2b3153b70ae00b864a8da7726e348b31a19c
Update | Bypass required keyword validation with a warning for legacy support
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -432,7 +432,7 @@ module Mongoff\n# Only for Google APIs support\n#\nelse\n- Tenant.notify(message: \"format #{format} not supported\", type: :warning)\n+ Tenant.notify(message: \"JS...
Ruby
MIT License
cenit-io/cenit
Update | Bypass required keyword validation with a warning for legacy support
108,883
27.03.2020 07:42:51
10,800
8e18006366c7d4b28954d2599ad60aaf57809570
Update | Mongoff Validator support for number format long
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -345,7 +345,7 @@ module Mongoff\nFORMATS_MAP = {\nstring: %w(date date-time time email hostname ipv4 ipv6 uri uuid url byte google-fieldmask),\ninteger: %w(int32 uint32 int64 uint64...
Ruby
MIT License
cenit-io/cenit
Update | Mongoff Validator support for number format long
108,883
06.04.2020 06:28:02
14,400
d199876866abcd81654c9175f7b7c754204dc92b
Add | Data type ID in traces
[ { "change_type": "MODIFY", "old_path": ".ruby-gemset", "new_path": ".ruby-gemset", "diff": "-rails42111\n+cenit\n" }, { "change_type": "MODIFY", "old_path": "app/models/mongoid/tracer/trace.rb", "new_path": "app/models/mongoid/tracer/trace.rb", "diff": "@@ -16,7 +16,17 @@ module ...
Ruby
MIT License
cenit-io/cenit
Add | Data type ID in traces
108,883
06.04.2020 06:28:28
14,400
43b38f3adf37e61302e6485664b1a7ce87179d10
Update | Allowing trace deletion
[ { "change_type": "MODIFY", "old_path": "app/models/mongoid/tracer/trace.rb", "new_path": "app/models/mongoid/tracer/trace.rb", "diff": "@@ -12,7 +12,7 @@ module Mongoid\nbuild_in_data_type.including(:created_at)\ndeny :all\n- allow :index, :show, :member_trace_index, :collection_trace_index\n+ allow...
Ruby
MIT License
cenit-io/cenit
Update | Allowing trace deletion
108,883
06.04.2020 07:42:41
14,400
2df96e14e8206629bcc452686302c929fb748d34
Add | Mongoff before save callbacks
[ { "change_type": "MODIFY", "old_path": "app/models/setup/build_in_data_type.rb", "new_path": "app/models/setup/build_in_data_type.rb", "diff": "@@ -51,6 +51,10 @@ module Setup\n[]\nend\n+ def after_save_callbacks\n+ []\n+ end\n+\ndef count\nmodel.count\nend\n" }, { "change_type": "MODIFY", ...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff before save callbacks
108,883
06.04.2020 19:02:17
14,400
5853b1fbbbcdea670382a711130a5b6878dac73a
Fix | Resource & webhooks delete method (use del instead)
[ { "change_type": "MODIFY", "old_path": "app/models/setup/connection.rb", "new_path": "app/models/setup/connection.rb", "diff": "@@ -38,7 +38,8 @@ module Setup\nclass << self\ndef respond_to?(*args)\n- Setup::Webhook.method_enum.include?(args.first) || super\n+ args[0] == :del ||\n+ Setup::Webhook.me...
Ruby
MIT License
cenit-io/cenit
Fix | Resource & webhooks delete method (use del instead)
108,883
08.04.2020 07:31:05
14,400
c489973359de0b9ab18fbba5f2563da49591f0aa
Fix | Skip delete of cross origin shared records
[ { "change_type": "MODIFY", "old_path": "app/models/setup/cross_origin_shared.rb", "new_path": "app/models/setup/cross_origin_shared.rb", "diff": "@@ -25,6 +25,10 @@ module Setup\nbefore_destroy :validates_for_destroy\nend\n+ def delete(options = {})\n+ validates_for_destroy && super\n+ end\n+\ndef v...
Ruby
MIT License
cenit-io/cenit
Fix | Skip delete of cross origin shared records
108,883
09.04.2020 22:55:54
14,400
34716bfe3abd6802e3459a9bc2f3942af4762e92
Fix | Returns reference instead of null for recurrent records references
[ { "change_type": "MODIFY", "old_path": "lib/edi/formater.rb", "new_path": "lib/edi/formater.rb", "diff": "@@ -332,7 +332,11 @@ module Edi\n{}\nend\nunless referenced\n- return nil if options[:inspected_records].include?(record) || options[:stack].include?(record)\n+ if options[:inspected_records].in...
Ruby
MIT License
cenit-io/cenit
Fix | Returns reference instead of null for recurrent records references
108,883
12.04.2020 07:36:33
14,400
5f7c237937d4fc80cabfb2c7a5392849e30eedcf
Add | SKIP_RABBIT_MQ & DELAY_TASKS options
[ { "change_type": "MODIFY", "old_path": "config/initializers/cenit.rb", "new_path": "config/initializers/cenit.rb", "diff": "@@ -50,17 +50,15 @@ Cenit.config do\nexcluded_actions ENV['EXCLUDED_ACTIONS']\n- maximum_unicorn_consumers (ENV['MAXIMUM_UNICORN_CONSUMERS'] || 3).to_i\n+ maximum_unicorn_consu...
Ruby
MIT License
cenit-io/cenit
Add | SKIP_RABBIT_MQ & DELAY_TASKS options
108,883
12.04.2020 07:52:52
14,400
89285d6b20239d2e6880a69a766840998bc4261f
Update | Deleting only cancelled consumers
[ { "change_type": "MODIFY", "old_path": "config/application.rb", "new_path": "config/application.rb", "diff": "@@ -46,8 +46,8 @@ module Cenit\nputs 'Clearing LOCKS'\nCenit::Locker.clear\n- puts 'DELETING OLD Consumers'\n- RabbitConsumer.delete_all\n+ puts 'DELETING CANCELLED Consumers'\n+ RabbitConsu...
Ruby
MIT License
cenit-io/cenit
Update | Deleting only cancelled consumers
108,883
12.04.2020 08:54:06
14,400
a02d27d20b85fb6caa079bc57e05f17b77ac88e8
Add | Cancel All action
[ { "change_type": "MODIFY", "old_path": "app/models/ability.rb", "new_path": "app/models/ability.rb", "diff": "@@ -269,7 +269,7 @@ class Ability\ncan :destroy, [Setup::Storage, Setup::CrossSharedCollection]\ncan :simple_delete_data_type, Setup::CenitDataType, origin: :cenit\ncan :destroy, Setup::Ceni...
Ruby
MIT License
cenit-io/cenit
Add | Cancel All action
108,883
12.04.2020 09:05:58
14,400
a5a8acd1f095a56d16c71c135fa720ab1d43b7ae
Update | Bulk optimization for Cancel All action
[ { "change_type": "MODIFY", "old_path": "app/models/rabbit_consumer.rb", "new_path": "app/models/rabbit_consumer.rb", "diff": "@@ -38,4 +38,11 @@ class RabbitConsumer\ndef cancelled?\n!alive\nend\n+\n+ class << self\n+\n+ def cancel_all(scope = all)\n+ scope.update_all(alive: false)\n+ end\n+ end\nen...
Ruby
MIT License
cenit-io/cenit
Update | Bulk optimization for Cancel All action
108,868
12.04.2020 14:12:06
25,200
7a926002f7f705a040bf7788c7244f401b08a9dc
Upgrade rmagick
[ { "change_type": "MODIFY", "old_path": "Gemfile.lock", "new_path": "Gemfile.lock", "diff": "@@ -411,7 +411,7 @@ GEM\nactionpack (>= 4.2.0, < 6.0)\nrailties (>= 4.2.0, < 6.0)\nrkelly-remix (0.0.7)\n- rmagick (2.15.4)\n+ rmagick (4.1.1)\nrolify (4.1.1)\nrspec (3.4.0)\nrspec-core (~> 3.4.0)\n" } ]
Ruby
MIT License
cenit-io/cenit
Upgrade rmagick
108,870
19.04.2020 19:48:30
14,400
0c8fcc43706fe95f0485aaf96925935976d74a51
Update Dockerfile: - Delete NGINX server and all configuration about it - Add SKIP_DB_INITIALIZATION to control DB initialization - Keep mongoid.yml config by default - Expose only port 8080
[ { "change_type": "MODIFY", "old_path": "Dockerfile", "new_path": "Dockerfile", "diff": "@@ -5,6 +5,7 @@ FROM ruby:2.5.5\n# - nodejs: Compile assets\nRUN set -x; \\\napt update \\\n+ && apt upgrade -y \\\n&& apt install -y --no-install-recommends \\\nopenssh-server \\\nzlib1g-dev \\\n@@ -19,41 +20,31...
Ruby
MIT License
cenit-io/cenit
Update Dockerfile: - Delete NGINX server and all configuration about it - Add SKIP_DB_INITIALIZATION to control DB initialization - Keep mongoid.yml config by default - Expose only port 8080
108,870
19.04.2020 20:14:05
14,400
2246719e94fcb8c1d2980e7b1643c5445665356e
Update docker orchestation: - Add REDIS service - Change conection with MongoDB - Change command to run service and put waiting check - Map service port to outside - Put a new Cenit instance to initialize DB - Change RabbitMQ service image
[ { "change_type": "MODIFY", "old_path": "docker-compose.yml", "new_path": "docker-compose.yml", "diff": "@@ -6,26 +6,43 @@ volumes:\nredis-data: {}\nservices:\n- cenit:\n+ cenit_1:\nenvironment:\n- - ENABLE_RERECAPTCHA=false\n- - DB_PORT=mongodb\n- - RABBITMQ_BIGWIG_TX_URL=amqp://cenit_rabbit:cenit_r...
Ruby
MIT License
cenit-io/cenit
Update docker orchestation: - Add REDIS service - Change conection with MongoDB - Change command to run service and put waiting check - Map service port to outside - Put a new Cenit instance to initialize DB - Change RabbitMQ service image
108,868
19.04.2020 21:30:39
25,200
8a84ecd8792c5a5ad84d8ea89abf479851986884
Remove wait-for-it
[ { "change_type": "MODIFY", "old_path": "Dockerfile", "new_path": "Dockerfile", "diff": "@@ -41,9 +41,6 @@ ENV SKIP_MONGO_CLIENT=true\n#Install gems\nRUN bundle install --jobs 20 --retry 5 --without development test\n-#Copy waiting script to check availability of RabbitMQ service\n-RUN chmod +x wait-...
Ruby
MIT License
cenit-io/cenit
Remove wait-for-it
108,870
20.04.2020 11:31:30
14,400
f7c159ca9b1d041d32713c1dbb0ad1414aba6db4
Put waiting script
[ { "change_type": "ADD", "old_path": null, "new_path": "wait-for-it.sh", "diff": "+#!/usr/bin/env bash\n+# Use this script to test if a given TCP host/port are available\n+\n+WAITFORIT_cmdname=${0##*/}\n+\n+echoerr() { if [[ $WAITFORIT_QUIET -ne 1 ]]; then echo \"$@\" 1>&2; fi }\n+\n+usage()\n+{\n+ c...
Ruby
MIT License
cenit-io/cenit
Put waiting script
108,870
20.04.2020 11:50:07
14,400
3360bac6e802c726e14fd334fd6b5ba227546e18
Update docker-compose.yml file: - Change RabbitMQ service image - Keep service port of RabbitMQ only in internal network - Configure Redis image to use version 5
[ { "change_type": "MODIFY", "old_path": "docker-compose.yml", "new_path": "docker-compose.yml", "diff": "@@ -42,10 +42,9 @@ services:\n- redis\nrabbitmq:\n- image: rabbitmq\n+ image: rabbitmq:management\nports:\n- \"15672:15672\"\n- - \"5672:5672\"\nenvironment:\nRABBITMQ_DEFAULT_PASS: cenit_rabbit\n...
Ruby
MIT License
cenit-io/cenit
Update docker-compose.yml file: - Change RabbitMQ service image - Keep service port of RabbitMQ only in internal network - Configure Redis image to use version 5
108,883
20.04.2020 13:49:55
14,400
d560fbde749a8f1078e37bc4a8f6d97ea4f70812
Add | Option to discard checking of additional properties
[ { "change_type": "MODIFY", "old_path": "app/models/setup/cenit_data_type.rb", "new_path": "app/models/setup/cenit_data_type.rb", "diff": "@@ -12,7 +12,6 @@ module Setup\n:title,\n:_type,\n:snippet,\n- :events,\n:before_save_callbacks,\n:after_save_callbacks,\n:records_methods,\n" }, { "chang...
Ruby
MIT License
cenit-io/cenit
Add | Option to discard checking of additional properties
108,883
24.04.2020 13:25:43
14,400
55737054971955ae1089630658a45adc5923765a
Fix | Removing option SKIP_MONGO_CLIENT
[ { "change_type": "MODIFY", "old_path": "config/application.rb", "new_path": "config/application.rb", "diff": "@@ -37,7 +37,6 @@ module Cenit\nend\nconfig.after_initialize do\n- next if ENV['SKIP_MONGO_CLIENT'].to_b\nThread.current[:cenit_initializing] = true\nunless ENV['SKIP_DB_INITIALIZATION'].to_...
Ruby
MIT License
cenit-io/cenit
Fix | Removing option SKIP_MONGO_CLIENT
108,883
24.04.2020 13:27:30
14,400
97797cdf1ced2ff3a6e01414457af63310841496
Add | Maximum resumes option for script executions
[ { "change_type": "MODIFY", "old_path": "app/models/script_execution.rb", "new_path": "app/models/script_execution.rb", "diff": "@@ -11,6 +11,10 @@ class ScriptExecution < Setup::Task\nself.script = Script.where(id: message['script_id']).first\nend\n+ def maximum_resumes\n+ Cenit.maximum_script_execu...
Ruby
MIT License
cenit-io/cenit
Add | Maximum resumes option for script executions
108,868
25.04.2020 08:33:08
25,200
a831da8655648e9217222f502000055a4069f201
Remove unneccesary variables in cenit_backgroud
[ { "change_type": "MODIFY", "old_path": "config/application.example.yml", "new_path": "config/application.example.yml", "diff": "@@ -16,8 +16,6 @@ cenit_frontend:\ncenit_background:\nMAXIMUM_UNICORN_CONSUMERS: 6\nUNICORN_CENIT_SERVER: true\n- LOOKUP_SCHEDULER_OFF: false\n- LOAD_DELAYED_MESSAGES_ON_ST...
Ruby
MIT License
cenit-io/cenit
Remove unneccesary variables in cenit_backgroud
108,868
25.04.2020 09:21:10
25,200
c87feba540c697484c5af72649eeef341a131b09
Add variable for dockerfile SKIP_ASSETS_COMPILE
[ { "change_type": "MODIFY", "old_path": "Dockerfile", "new_path": "Dockerfile", "diff": "@@ -33,6 +33,7 @@ RUN mkdir -p /var/www/shared/log\nRUN mkdir -p /var/www/shared/pids\nRUN mkdir -p /var/www/shared/sockets\n+ENV SKIP_ASSETS_COMPILE=false\nENV RAILS_ENV='production'\nENV RACK_ENV='production'\n...
Ruby
MIT License
cenit-io/cenit
Add variable for dockerfile SKIP_ASSETS_COMPILE
108,883
09.05.2020 09:31:50
14,400
4cb8d036d1565eacad44b70af9faefab49aec864
Fix | RabbitMQ options
[ { "change_type": "MODIFY", "old_path": "config/initializers/zrabbit.rb", "new_path": "config/initializers/zrabbit.rb", "diff": "-unless ENV['SKIP_RABBIT_MQ'].to_b\nrequire 'rabbit_consumer'\nunless ENV['UNICORN_CENIT_SERVER'].to_b\n@@ -10,7 +9,6 @@ unless ENV['SKIP_RABBIT_MQ'].to_b\nend\nend\nend\n-...
Ruby
MIT License
cenit-io/cenit
Fix | RabbitMQ options
108,883
14.05.2020 19:01:59
14,400
b5e8aed94fb97b02971f931e5fb477601fece421
Fix | File update
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/grid_fs/file.rb", "new_path": "lib/mongoff/grid_fs/file.rb", "diff": "@@ -13,10 +13,18 @@ module Mongoff\nseek(0)\nend\n+ def initialize_attrs(model, attributes)\n+ writing_content { super }\n+ end\n+\ndef to_s\nfilename\nend\n+ def content_type\n+...
Ruby
MIT License
cenit-io/cenit
Fix | File update
108,883
15.05.2020 15:16:27
14,400
ec1de660c2e806104357413ec1a5ed632d61262d
Add | Including ID property in build-in schemas
[ { "change_type": "MODIFY", "old_path": "app/models/setup/build_in_data_type.rb", "new_path": "app/models/setup/build_in_data_type.rb", "diff": "@@ -252,7 +252,7 @@ module Setup\ndef build_schema\n@discarding ||= []\n- schema = { 'type' => 'object', 'properties' => properties = {} }\n+ schema = { 'ty...
Ruby
MIT License
cenit-io/cenit
Add | Including ID property in build-in schemas
108,883
25.05.2020 11:55:59
14,400
39c6faa536d99fbf09851c727567964650232bab
Fix | Removing toggling origin status from tenant configuration
[ { "change_type": "MODIFY", "old_path": "app/controllers/rails_admin/main_controller_decorator.rb", "new_path": "app/controllers/rails_admin/main_controller_decorator.rb", "diff": "@@ -14,19 +14,9 @@ module RailsAdmin\nscope = rails_admin_list_entries(model_config, auth_scope_key, additional_scope, p...
Ruby
MIT License
cenit-io/cenit
Fix | Removing toggling origin status from tenant configuration
108,883
25.05.2020 11:58:10
14,400
780b25df1c3e118222096d9404369d1bf4560ee5
Update | Setting default index page size
[ { "change_type": "MODIFY", "old_path": "config/initializers/rails_admin.rb", "new_path": "config/initializers/rails_admin.rb", "diff": "@@ -246,6 +246,8 @@ module RailsAdmin\nend\nRailsAdmin.config do |config|\n+ config.default_items_per_page = 10\n+\nconfig.parent_controller = '::ApplicationControl...
Ruby
MIT License
cenit-io/cenit
Update | Setting default index page size
108,883
26.05.2020 12:57:20
14,400
93271541378c6dce29624ab6e0b191de93fcd864
Fix | Restoring tenant per page amount to fix tenant finder shortcut
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/models/account_admin.rb", "new_path": "lib/rails_admin/models/account_admin.rb", "diff": "@@ -67,6 +67,10 @@ module RailsAdmin\nend\nend\n+ list do\n+ items_per_page 25\n+ end\n+\nfields :_id, :name, :owner, :users, :notification_level, :time_z...
Ruby
MIT License
cenit-io/cenit
Fix | Restoring tenant per page amount to fix tenant finder shortcut
108,883
27.05.2020 12:34:28
14,400
2992fa4f54352372b114295d7f9753836f5a94b8
Update | Mark legacy translators as abstracts
[ { "change_type": "MODIFY", "old_path": "app/models/setup/converter.rb", "new_path": "app/models/setup/converter.rb", "diff": "@@ -9,7 +9,10 @@ module Setup\n:discard_events, :style, :source_handler, :snippet, :source_exporter,\n:target_importer, :discard_chained_records).referenced_by(:namespace, :n...
Ruby
MIT License
cenit-io/cenit
Update | Mark legacy translators as abstracts
108,883
27.05.2020 21:44:36
14,400
ff475bf2d30638fbcb42cd3d8d31275c8a88616f
Add | Auto generation for ID properties
[ { "change_type": "MODIFY", "old_path": "app/models/setup/json_data_type.rb", "new_path": "app/models/setup/json_data_type.rb", "diff": "@@ -162,7 +162,7 @@ module Setup\nbegin\njson_schema, _ = validate_schema\nfail Exception, 'defines invalid property name: _type' if object_schema?(json_schema) && ...
Ruby
MIT License
cenit-io/cenit
Add | Auto generation for ID properties
108,883
28.05.2020 00:50:26
14,400
5d451099d6416f18c154df0b0efbc055bbd9d1e2
Add | Tests for auto generated ID
[ { "change_type": "MODIFY", "old_path": "app/models/setup/schema_handler.rb", "new_path": "app/models/setup/schema_handler.rb", "diff": "@@ -58,7 +58,11 @@ module Setup\n'description' => 'Required',\n'edi' => { 'segment' => 'id' }) }.merge(properties)\nproperties['_id']['edi']['discard'] = true if ed...
Ruby
MIT License
cenit-io/cenit
Add | Tests for auto generated ID
108,883
01.07.2020 19:13:10
14,400
e74287e53dfda33d4f580f733f598a35703490ce
Add | PEM option
[ { "change_type": "MODIFY", "old_path": "app/models/setup/webhook_common.rb", "new_path": "app/models/setup/webhook_common.rb", "diff": "@@ -232,6 +232,9 @@ module Setup\nif (http_proxy_port = options[:http_proxy_port])\nmsg[:http_proxyport] = http_proxy_port\nend\n+ if (pem = options[:pem])\n+ msg[:...
Ruby
MIT License
cenit-io/cenit
Add | PEM option
108,883
10.07.2020 09:45:05
14,400
aa1f44e94a2e69b460c1dc73cce62161236900fd
Add | Catch tenant for system reports
[ { "change_type": "MODIFY", "old_path": "app/models/setup/system_report.rb", "new_path": "app/models/setup/system_report.rb", "diff": "@@ -15,6 +15,15 @@ module Setup\nfield :type, type: Symbol, default: :error\nfield :message, type: String\n+ belongs_to :tenant, class_name: Cenit::MultiTenancy.tenan...
Ruby
MIT License
cenit-io/cenit
Add | Catch tenant for system reports
108,883
22.07.2020 18:21:11
14,400
e94caa5f714dfd86e349675c534bf0738f8bb468
Update | Algorithms parameters size
[ { "change_type": "MODIFY", "old_path": "app/models/setup/algorithm.rb", "new_path": "app/models/setup/algorithm.rb", "diff": "@@ -28,6 +28,7 @@ module Setup\nfield :store_output, type: Boolean\nbelongs_to :output_datatype, class_name: Setup::DataType.to_s, inverse_of: nil\nfield :validate_output, ty...
Ruby
MIT License
cenit-io/cenit
Update | Algorithms parameters size
108,883
10.08.2020 13:15:07
14,400
08533c5aeec1fd39f1959a26e16c54a773a893e0
Add | Storage chunk size configuration
[ { "change_type": "RENAME", "old_path": "config/initializers/cenit.rb", "new_path": "config/initializers/_cenit.rb", "diff": "@@ -104,4 +104,12 @@ Cenit.config do\nslack_link ENV['SLACK_INVITATION']\ntenant_creation_disabled (ENV['TENANT_CREATION_DISABLED'] || 'false').to_b\n+\n+ storage_chunk_size [...
Ruby
MIT License
cenit-io/cenit
Add | Storage chunk size configuration
108,883
11.08.2020 08:36:41
14,400
660bee8b1f211ecd6fe20aa03b55b52fdf86e4f8
Add | Association show limit option
[ { "change_type": "MODIFY", "old_path": "app/models/rails_admin/config/fields/association_decorator.rb", "new_path": "app/models/rails_admin/config/fields/association_decorator.rb", "diff": "@@ -4,6 +4,9 @@ module RailsAdmin\nmodule Config\nmodule Fields\nAssociation.class_eval do\n+\n+ SHOW_LIMIT = ...
Ruby
MIT License
cenit-io/cenit
Add | Association show limit option
108,883
11.08.2020 09:42:03
14,400
7efabef92502ecd49db2744496ddc7022cb57cb8
Add | Process old notifications option
[ { "change_type": "MODIFY", "old_path": "app/models/setup/system_notification.rb", "new_path": "app/models/setup/system_notification.rb", "diff": "@@ -19,7 +19,7 @@ module Setup\nbefore_save :check_notification_level, :assign_execution_thread\n- after_save :process_old_notifications\n+ after_save :pr...
Ruby
MIT License
cenit-io/cenit
Add | Process old notifications option
108,883
15.08.2020 13:12:33
14,400
70c5b93f45b20d7013180ad3e1a53afe69980c7f
Add | Time & Date to BSON Id
[ { "change_type": "MODIFY", "old_path": "lib/cenit/core_ext.rb", "new_path": "lib/cenit/core_ext.rb", "diff": "@@ -439,3 +439,21 @@ module Zip\nend\nend\nend\n+\n+class Time # :nodoc:\n+ def to_bson_id\n+ BSON::ObjectId.from_string(to_i.to_s(16) + '0000000000000000')\n+ end\n+end\n+\n+class DateTime ...
Ruby
MIT License
cenit-io/cenit
Add | Time & Date to BSON Id
108,883
19.08.2020 16:28:11
14,400
c4ee8d9d425407d01762c6182071f84abdbf8097
Update | Removing key and token fields from tenant form
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/models/account_admin.rb", "new_path": "lib/rails_admin/models/account_admin.rb", "diff": "@@ -54,12 +54,6 @@ module RailsAdmin\nfield :users do\nvisible { ::User.current_super_admin? }\nend\n- field :key do\n- visible { ::User.current_super_adm...
Ruby
MIT License
cenit-io/cenit
Update | Removing key and token fields from tenant form
108,883
23.08.2020 19:55:18
14,400
18c96b5a475744d7138149164049e023da234de2
Add | Embedded attachment storage
[ { "change_type": "MODIFY", "old_path": "app/models/setup/attachment_uploader.rb", "new_path": "app/models/setup/attachment_uploader.rb", "diff": "@@ -21,8 +21,11 @@ module Setup\nmodule ClassMethods\ndef attachment_uploader(*args)\n- if (uploader = args.first)\n+ if (uploader = args.first || Cenit.a...
Ruby
MIT License
cenit-io/cenit
Add | Embedded attachment storage
108,870
11.09.2020 14:23:09
14,400
cb2bb96c0b35c73c38f4a32c3176d856a2b392d1
Add doing message
[ { "change_type": "MODIFY", "old_path": "config/locales/rails_admin.en.yml", "new_path": "config/locales/rails_admin.en.yml", "diff": "@@ -104,6 +104,7 @@ en:\nsend_to_flow_help: \"Choose the flow to send models data\"\naction_name: \"Send\"\nselector_label: \"Send to flow\"\n+ doing: 'Flow sending'\...
Ruby
MIT License
cenit-io/cenit
Add doing message
108,883
12.09.2020 12:08:49
10,800
dd8b7538f5aaacf137c1f288dd1f39b2578c6f4d
Update | Properties for build-in data types
[ { "change_type": "MODIFY", "old_path": "app/models/mongoid/tracer/trace.rb", "new_path": "app/models/mongoid/tracer/trace.rb", "diff": "@@ -9,7 +9,11 @@ module Mongoid\nSetup::Models.regist(self)\n- build_in_data_type.including(:created_at)\n+ build_in_data_type.including(:created_at).and(\n+ proper...
Ruby
MIT License
cenit-io/cenit
Update | Properties for build-in data types
108,883
12.09.2020 12:09:18
10,800
5cbbff4a73497f0c217a6d36f315edf542634fcd
Update | Date-time formatting
[ { "change_type": "MODIFY", "old_path": "lib/edi/formater.rb", "new_path": "lib/edi/formater.rb", "diff": "@@ -493,9 +493,7 @@ module Edi\ndef json_value(value, options)\ncase value\n- when Time\n- value.strftime('%H:%M:%S')\n- when Date, DateTime, Class, Module\n+ when Time, Date, DateTime, Class, M...
Ruby
MIT License
cenit-io/cenit
Update | Date-time formatting
108,883
12.09.2020 12:09:56
10,800
e966015b88711c39fcfda919edb6a0215f070b5b
Fix | Unknown properties exception
[ { "change_type": "MODIFY", "old_path": "lib/mongoid/cenit_extension.rb", "new_path": "lib/mongoid/cenit_extension.rb", "diff": "@@ -102,7 +102,7 @@ module Mongoid\nproperties = Set.new\nbegin\ndata_type.schema['properties'].keys.each do |key|\n- properties << key unless record[key].nil? && record.se...
Ruby
MIT License
cenit-io/cenit
Fix | Unknown properties exception
108,883
13.09.2020 08:38:33
10,800
31719b7c6f6fe12ab3955545b9b283e3ded686cb
Add | Resolve content type on embedded storage
[ { "change_type": "MODIFY", "old_path": "lib/cenit/embedded_storage.rb", "new_path": "lib/cenit/embedded_storage.rb", "diff": "@@ -12,7 +12,9 @@ module Cenit\nend\nfiles[index].merge!(\nfilename: file.filename,\n- content_type: file.content_type,\n+ content_type: file.content_type.presence ||\n+ MIME...
Ruby
MIT License
cenit-io/cenit
Add | Resolve content type on embedded storage
108,883
13.09.2020 10:49:46
10,800
cc2053422f65ad40362cb085361af841a1ec3157
Update | Optimizing embedded uploader storage
[ { "change_type": "MODIFY", "old_path": "app/uploaders/embedded_uploader.rb", "new_path": "app/uploaders/embedded_uploader.rb", "diff": "@@ -10,6 +10,21 @@ class EmbeddedUploader < BasicUploader\ndef prepare_model(model)\nmodel.class_eval do\nfield :files, type: Array\n+\n+ before_save :embed_files\n...
Ruby
MIT License
cenit-io/cenit
Update | Optimizing embedded uploader storage
108,883
13.09.2020 20:41:51
10,800
b69a05c746b9dfe34bb2619ef54f42a5bf995386
Add | Embedding attachment option for executions
[ { "change_type": "MODIFY", "old_path": "app/models/setup/execution.rb", "new_path": "app/models/setup/execution.rb", "diff": "@@ -16,7 +16,7 @@ module Setup\ndeny :copy, :new, :translator_update, :import, :convert, :send_to_flow, :edit\n- attachment_uploader AccountUploader\n+ attachment_uploader\nb...
Ruby
MIT License
cenit-io/cenit
Add | Embedding attachment option for executions
108,870
14.09.2020 08:40:06
14,400
25469820aac3c4d9fecb9af1ecb05bb31c7450ec
Add doing message on export key
[ { "change_type": "MODIFY", "old_path": "config/locales/rails_admin.en.yml", "new_path": "config/locales/rails_admin.en.yml", "diff": "@@ -150,6 +150,8 @@ en:\nsubmit: \"Import\"\ndone: \"created\"\ndoing: \"import\"\n+ export:\n+ doing: \"Export\"\npull_import:\ntitle: \"Pull import\"\nmenu: \"Pull ...
Ruby
MIT License
cenit-io/cenit
Add doing message on export key
108,883
14.09.2020 16:24:32
10,800
28b6ef838803e8cb45642d47e1fe1520c9110245
Update | Revert Time formatting
[ { "change_type": "MODIFY", "old_path": "lib/edi/formater.rb", "new_path": "lib/edi/formater.rb", "diff": "@@ -493,7 +493,9 @@ module Edi\ndef json_value(value, options)\ncase value\n- when Time, Date, DateTime, Class, Module\n+ when Time\n+ value.strftime('%H:%M:%S')\n+ when Date, DateTime, Class, M...
Ruby
MIT License
cenit-io/cenit
Update | Revert Time formatting
108,883
16.09.2020 18:04:53
10,800
3e1d9f4144f8d97697f3c52073a71fdd533ccc08
Add | prawn-rails
[ { "change_type": "MODIFY", "old_path": "Gemfile", "new_path": "Gemfile", "diff": "@@ -57,6 +57,7 @@ gem 'cancan'\ngem 'rolify'\ngem 'rufus-scheduler'\ngem 'rubyzip'\n+gem 'prawn-rails'\ngem 'carrierwave-mongoid'\ngem 'mini_magick'\ngem 'liquid'\n" }, { "change_type": "MODIFY", "old_path"...
Ruby
MIT License
cenit-io/cenit
Add | prawn-rails
108,883
26.09.2020 08:09:31
10,800
33d1e87a38382ea64b8f9987d4c79a3f4ee6868c
Update | Inline content disposition for attachments
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/config/actions/attachment.rb", "new_path": "lib/rails_admin/config/actions/attachment.rb", "diff": "@@ -29,7 +29,12 @@ module RailsAdmin\nbegin\n# filename = params[:filename] + (params[:format] ? \".#{params[:format]}\" : '')\nif (attachment =...
Ruby
MIT License
cenit-io/cenit
Update | Inline content disposition for attachments
108,883
26.09.2020 09:19:50
10,800
3c0240a07d78de05ad8a2c574beab8f0555fad64
Update | Optimizing execution default scope
[ { "change_type": "MODIFY", "old_path": "app/models/setup/execution.rb", "new_path": "app/models/setup/execution.rb", "diff": "@@ -29,10 +29,10 @@ module Setup\nbefore_save { self.agent_id ||= task.agent_id }\n- default_scope -> { desc(:created_at) }\n+ default_scope -> { desc(:_id) }\ndef label\n- (...
Ruby
MIT License
cenit-io/cenit
Update | Optimizing execution default scope
108,883
26.09.2020 09:28:00
10,800
c3a289668486046d915fcac5e292bef031b57e53
Fix | Unresolved reference
[ { "change_type": "MODIFY", "old_path": "app/models/setup/schema_handler.rb", "new_path": "app/models/setup/schema_handler.rb", "diff": "@@ -186,7 +186,7 @@ module Setup\nschema = base_model.deep_merge(schema) { |_, ref_value, sch_value| Cenit::Utility.array_hash_merge(ref_value, sch_value) }\nend\ne...
Ruby
MIT License
cenit-io/cenit
Fix | Unresolved reference
108,870
01.10.2020 00:47:49
14,400
37d8bee63c1947c0834f346c80e0b1633812b774
Change image base to newrelic/infrastructure:latest-centos
[ { "change_type": "MODIFY", "old_path": "docker/cenit/Dockerfile", "new_path": "docker/cenit/Dockerfile", "diff": "-FROM ruby:2.5.5\n+FROM drecom/centos-base:7 AS rubybuild\n+RUN git clone git://github.com/rbenv/ruby-build.git /usr/local/plugins/ruby-build \\\n+&& /usr/local/plugins/ruby-build/instal...
Ruby
MIT License
cenit-io/cenit
Change image base to newrelic/infrastructure:latest-centos
108,883
02.10.2020 13:03:29
10,800
69caa230de984d00e4c8f48a1f279b17781734ba
Update | Upgrading gems versions
[ { "change_type": "MODIFY", "old_path": "Gemfile", "new_path": "Gemfile", "diff": "@@ -8,7 +8,7 @@ gem 'coffee-rails'\ngem 'jquery-rails'\ngem 'bootstrap-sass'\ngem 'jbuilder'\n-gem 'devise', git: 'https://github.com/plataformatec/devise.git', branch: '3-stable'\n+gem 'devise'\ngem 'rabl'\ngem 'build...
Ruby
MIT License
cenit-io/cenit
Update | Upgrading gems versions
108,883
02.10.2020 13:06:35
10,800
e1ba334b5846c929a70240d69d2e65a98f0a957f
Update | Replacing deprecated controllers filters
[ { "change_type": "MODIFY", "old_path": "app/controllers/application_controller.rb", "new_path": "app/controllers/application_controller.rb", "diff": "@@ -12,7 +12,7 @@ class ApplicationController < ActionController::Base\nend\nend\n- around_filter :scope_current_account\n+ around_action :scope_curre...
Ruby
MIT License
cenit-io/cenit
Update | Replacing deprecated controllers filters
108,883
02.10.2020 13:10:40
10,800
77ab9a43a598399417acd168f8f3eba590137b0d
Fix | Assets linking
[ { "change_type": "MODIFY", "old_path": "app/assets/javascripts/rails_admin/rails_admin.js", "new_path": "app/assets/javascripts/rails_admin/rails_admin.js", "diff": "//= require 'jquery_ujs'\n//= require 'jquery.remotipart'\n//= require 'jquery-ui/effect'\n-//= require 'jquery-ui/sortable'\n-//= req...
Ruby
MIT License
cenit-io/cenit
Fix | Assets linking
108,883
02.10.2020 13:13:22
10,800
f594fbd6b634b1b131a0ea42e335ad342dda648e
Update | Removing deprecated alias_method_chain
[ { "change_type": "MODIFY", "old_path": "app/models/rails_admin/adapters/mongoid_decorator.rb", "new_path": "app/models/rails_admin/adapters/mongoid_decorator.rb", "diff": "@@ -5,7 +5,8 @@ module RailsAdmin\nmodule Adapters\nMongoid.module_eval do\nALIAS_METHODS = proc do\n- alias_method_chain :count...
Ruby
MIT License
cenit-io/cenit
Update | Removing deprecated alias_method_chain
108,883
02.10.2020 13:16:15
10,800
7eba7b071616de17f9ada6c3b965691eeb89c2dd
Update | Renaming not allowed field name collection
[ { "change_type": "MODIFY", "old_path": "app/models/forms/collection_selector.rb", "new_path": "app/models/forms/collection_selector.rb", "diff": "@@ -2,15 +2,15 @@ module Forms\nclass CollectionSelector\ninclude Mongoid::Document\n- belongs_to :collection, class_name: Setup::Collection.to_s, inverse...
Ruby
MIT License
cenit-io/cenit
Update | Renaming not allowed field name collection
108,883
02.10.2020 13:18:35
10,800
73925b2f39138054928aa91713319340c0510ff1
Update | Replacing tenant context by tenant switching
[ { "change_type": "MODIFY", "old_path": "app/models/setup/model_configurable.rb", "new_path": "app/models/setup/model_configurable.rb", "diff": "@@ -102,7 +102,9 @@ module Setup\ndef clear_config_for(tenant, ids)\nsuper\n- config_model.with(tenant).where(foreign_key.in => ids).delete_all\n+ tenant.sw...
Ruby
MIT License
cenit-io/cenit
Update | Replacing tenant context by tenant switching
108,883
02.10.2020 13:22:05
10,800
2634e487be0f10a2f3b45d1e0919de1e23a87672
Update | Using new mongoid associations hierarchy instead macros
[ { "change_type": "MODIFY", "old_path": "app/models/setup/build_in_data_type.rb", "new_path": "app/models/setup/build_in_data_type.rb", "diff": "@@ -294,26 +294,26 @@ module Setup\n:has_and_belongs_to_many).each do |relation|\nnext unless included?((relation_name = relation.name.to_s))\nproperty_sche...
Ruby
MIT License
cenit-io/cenit
Update | Using new mongoid associations hierarchy instead macros
108,883
02.10.2020 13:25:11
10,800
82f93a51bcab04779cdc5bc0f8dc65d84aa941c6
Update | Replacing origins by mongoid queryable
[ { "change_type": "MODIFY", "old_path": "config/initializers/origin_monkey_patch.rb", "new_path": "config/initializers/origin_monkey_patch.rb", "diff": "-require 'origin/extensions/symbol'\n-\n-module Origin\n- module Extensions\n- module Symbol\n- module ClassMethods\n- def evolve(object)\n- __evolv...
Ruby
MIT License
cenit-io/cenit
Update | Replacing origins by mongoid queryable
108,883
02.10.2020 13:26:19
10,800
deeadaba156aceeb752b13b2002b81a82b6d0317
Fix | Application bootstraps
[ { "change_type": "MODIFY", "old_path": "app/models/setup/oauth2_provider.rb", "new_path": "app/models/setup/oauth2_provider.rb", "diff": "@@ -23,7 +23,13 @@ module Setup\ndef build_in_provider_id\nunless @build_in_provider_id\n- oauth_provider = Setup::Oauth2Provider.find_or_create_by(namespace: 'Ce...
Ruby
MIT License
cenit-io/cenit
Fix | Application bootstraps
108,883
02.10.2020 13:27:12
10,800
aafd38993e5abc6038a926868b6b59b02b69d7ab
Update | Authorizing with CanCanCan
[ { "change_type": "MODIFY", "old_path": "app/models/ability.rb", "new_path": "app/models/ability.rb", "diff": "@@ -112,6 +112,8 @@ class Ability\nclass UserCommon\nextend CanCan::Ability\n+ can :read, :dashboard\n+\ncan :destroy, Setup::Execution, :status.in => Setup::Task::FINISHED_STATUS\ncan :dest...
Ruby
MIT License
cenit-io/cenit
Update | Authorizing with CanCanCan
108,883
02.10.2020 13:28:55
10,800
b9aaee7aff365d65b8befcb032d6ff76e4e0bd84
Update | Mongoid monkey patch (pilot)
[ { "change_type": "MODIFY", "old_path": "config/initializers/mongoid_monkey_patch.rb", "new_path": "config/initializers/mongoid_monkey_patch.rb", "diff": "require 'mongoid/document'\nrequire 'mongoid/scopable'\nrequire 'mongoid/factory'\n-require 'mongoid/relations/builders/nested_attributes/many'\n+...
Ruby
MIT License
cenit-io/cenit
Update | Mongoid monkey patch (pilot)
108,883
02.10.2020 19:19:40
10,800
2018c80cd2ad46dba48b3fbd0722ed851ef28202
Fixing | Parsing action controller params (no longer a Hash object)
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/config/fields/types/json_schema.rb", "new_path": "lib/rails_admin/config/fields/types/json_schema.rb", "diff": "@@ -7,7 +7,8 @@ module RailsAdmin\ndef parse_input(params)\nsuper\n- params[name] = nil if params.has_key?(name) && !(params[name].i...
Ruby
MIT License
cenit-io/cenit
Fixing | Parsing action controller params (no longer a Hash object)
108,883
02.10.2020 19:25:53
10,800
cfeeb2ae3d27f7a863cd760bd2b3057f18a13fc0
Fix | Extra associations config
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/models/setup/algorithm_admin.rb", "new_path": "lib/rails_admin/models/setup/algorithm_admin.rb", "diff": "@@ -12,9 +12,10 @@ module RailsAdmin\nobject_label_method { :custom_title }\nextra_associations do\n- association = ::Mongoid::Relations::...
Ruby
MIT License
cenit-io/cenit
Fix | Extra associations config
108,883
14.10.2020 07:48:01
10,800
938a2a633c15339c147c3238783358f12b791aab
Update | Excluding _type property from non hierarchy build-in data types
[ { "change_type": "MODIFY", "old_path": "app/models/setup/build_in_data_type.rb", "new_path": "app/models/setup/build_in_data_type.rb", "diff": "@@ -254,7 +254,8 @@ module Setup\n@discarding ||= []\nschema = Mongoff::Model.base_schema.deep_merge('properties' => { 'id' => {} })\nproperties = schema['p...
Ruby
MIT License
cenit-io/cenit
Update | Excluding _type property from non hierarchy build-in data types
108,883
17.10.2020 09:23:47
10,800
aee38cbd41b01f3266ab969bbcc598a3b390c83c
Update | Build-in Apps routing
[ { "change_type": "MODIFY", "old_path": "Gemfile.lock", "new_path": "Gemfile.lock", "diff": "GIT\nremote: https://github.com/cenit-io/cenit-admin.git\n- revision: 031396119955cd61ee17250ae05b17ac2592d128\n+ revision: 0fc60d761be617899a58b7f882c2908346cf9e68\nspecs:\ncenit-admin (0.0.1)\nGIT\nremote: ...
Ruby
MIT License
cenit-io/cenit
Update | Build-in Apps routing
108,883
17.10.2020 19:27:23
10,800
4dd09f231f26ca9c53a6be8e7eea8b259508cd5f
Fix | Resolution of default build-in apps tenants
[ { "change_type": "MODIFY", "old_path": "Gemfile.lock", "new_path": "Gemfile.lock", "diff": "GIT\nremote: https://github.com/cenit-io/cenit-admin.git\n- revision: 0fc60d761be617899a58b7f882c2908346cf9e68\n+ revision: 807805349ef86f161d5705b7b29f15a97682373f\nspecs:\ncenit-admin (0.0.1)\n" }, { ...
Ruby
MIT License
cenit-io/cenit
Fix | Resolution of default build-in apps tenants