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
20.07.2019 16:54:39
14,400
2bb1b5764dc5f05eec96779958c11a7444efb2b5
Add | Redis adapter for active tenant
[ { "change_type": "MODIFY", "old_path": "Gemfile", "new_path": "Gemfile", "diff": "@@ -104,6 +104,8 @@ gem 'mongoid-tracer', git: 'https://github.com/macarci/mongoid-tracer.git'\ngem 'diffy'\ngem 'combine_pdf', '1.0.4'\n+gem 'redis'\n+\ncustom_gemfile_name = 'custom_Gemfile'\nif File.exist?(custom_ge...
Ruby
MIT License
cenit-io/cenit
Add | Redis adapter for active tenant
108,883
20.07.2019 23:47:52
14,400
693ff5b423e4859fe30f19183cbc6ccbd4b09897
Fix | Redis adapter for active tenant
[ { "change_type": "MODIFY", "old_path": "app/models/active_tenant.rb", "new_path": "app/models/active_tenant.rb", "diff": "@@ -7,7 +7,7 @@ class ActiveTenant\nfield :tasks, type: Integer, default: 0\nmodule MongoidAdapter\n- extends self\n+ extend self\ndef active_count\nActiveTenant.where(:tasks.gt ...
Ruby
MIT License
cenit-io/cenit
Fix | Redis adapter for active tenant
108,883
21.07.2019 08:26:17
14,400
773603f041be22275f703ef0b6d2784de465d6b2
Update | Moving Active Tenant model into Cenit module
[ { "change_type": "MODIFY", "old_path": "app/models/ability.rb", "new_path": "app/models/ability.rb", "diff": "@@ -262,7 +262,7 @@ class Ability\nSetup::Operation,\nSetup::Category,\nTourTrack,\n- ActiveTenant\n+ Cenit::ActiveTenant\n]\ncan [:index, :show, :edit], Setup::Configuration\ncan :destroy, ...
Ruby
MIT License
cenit-io/cenit
Update | Moving Active Tenant model into Cenit module
108,883
21.07.2019 11:46:23
14,400
ed6f260ec4e426de901f7edea8b279c949c57937
Add | Active Tenant Tests
[ { "change_type": "MODIFY", "old_path": "app/models/cenit/active_tenant.rb", "new_path": "app/models/cenit/active_tenant.rb", "diff": "@@ -33,6 +33,11 @@ module Cenit\nActiveTenant.collection.find(tenant_id: tenant.id).update_one('$inc' => { tasks: -1 })\nend\n+ def set_tasks(tasks, tenant = Tenant.c...
Ruby
MIT License
cenit-io/cenit
Add | Active Tenant Tests
108,883
21.07.2019 11:50:47
14,400
5ce70aab8670eac5be62e528037532fcb817c522
Update | Active Tenant test contexts order
[ { "change_type": "MODIFY", "old_path": "spec/models/cenit/active_tenant_spec.rb", "new_path": "spec/models/cenit/active_tenant_spec.rb", "diff": "@@ -18,6 +18,18 @@ describe Cenit::ActiveTenant do\nactive_tenant.clean_all\nend\n+ context \"when Redis client is present\", if: Cenit::Redis.client? do\...
Ruby
MIT License
cenit-io/cenit
Update | Active Tenant test contexts order
108,883
21.07.2019 19:05:52
14,400
78d26e2e52d8637aa99c72c2d2b0e04fda97de97
Add | Integrating Active Tenant adapters with Rails Admin
[ { "change_type": "MODIFY", "old_path": "app/models/ability.rb", "new_path": "app/models/ability.rb", "diff": "@@ -261,9 +261,9 @@ class Ability\nSetup::SystemReport,\nSetup::Operation,\nSetup::Category,\n- TourTrack,\n- Cenit::ActiveTenant\n+ TourTrack\n]\n+ can [:index, :new, :do_clean, :clean_all]...
Ruby
MIT License
cenit-io/cenit
Add | Integrating Active Tenant adapters with Rails Admin
108,883
25.07.2019 07:28:23
14,400
452c30cb863c5619798422cb250f60afd2f364e3
Add | Lookup scheduler off option
[ { "change_type": "MODIFY", "old_path": "lib/cenit/rabbit.rb", "new_path": "lib/cenit/rabbit.rb", "diff": "@@ -247,11 +247,13 @@ module Cenit\nend\ndef start_scheduler\n- if init\n+ if ENV['LOOKUP_SCHEDULER_OFF'].to_b || !init\n+ puts 'Lookup scheduler NOT STARTED'\n+ else\n@scheduler_job = Rufus::Sc...
Ruby
MIT License
cenit-io/cenit
Add | Lookup scheduler off option
108,883
28.07.2019 10:04:42
14,400
c470bafb0a30134f05b8a98730484e7e6082f6d2
Add | Delayed message adapters for Mongoid & Redis (pilot)
[ { "change_type": "MODIFY", "old_path": "app/models/account.rb", "new_path": "app/models/account.rb", "diff": "@@ -166,7 +166,7 @@ class Account\nCenit::ApplicationId.where(:id.in => Setup::Application.all.collect(&:application_id_id)).delete_all\nend\nTaskToken.where(tenant_id: id).delete_all\n- Set...
Ruby
MIT License
cenit-io/cenit
Add | Delayed message adapters for Mongoid & Redis (pilot)
108,883
28.07.2019 10:14:42
14,400
44cecf4f84e6e24d40ae75c7621fef44d0e95973
Add | Default publish_at method
[ { "change_type": "MODIFY", "old_path": "app/models/setup/delayed_message.rb", "new_path": "app/models/setup/delayed_message.rb", "diff": "@@ -26,7 +26,7 @@ module Setup\nif scheduler\nnil\nelse\n- Time.now + (Cenit.default_delay || Cenit.scheduler_lookup_interval || 0)\n+ self.class.default_publish_...
Ruby
MIT License
cenit-io/cenit
Add | Default publish_at method
108,883
28.07.2019 23:28:40
14,400
c7383608bdb483a0ae7e2246a39f528b29406012
Add | Delayed messages & lookup scheduler integration
[ { "change_type": "MODIFY", "old_path": "app/models/cenit/active_tenant.rb", "new_path": "app/models/cenit/active_tenant.rb", "diff": "@@ -75,7 +75,8 @@ module Cenit\nend\ndef key_for(tenant)\n- ACTIVE_TENANT_PREFIX + tenant.id\n+ tenant_id = tenant.is_a?(String) ? tenant : tenant.id\n+ ACTIVE_TENANT...
Ruby
MIT License
cenit-io/cenit
Add | Delayed messages & lookup scheduler integration
108,883
29.07.2019 08:00:50
14,400
7dc17b11beb91e1c302c1a849cca82d089900c85
Add | Delayed messages adapter test
[ { "change_type": "MODIFY", "old_path": "spec/models/setup/delayed_message_spec.rb", "new_path": "spec/models/setup/delayed_message_spec.rb", "diff": "@@ -61,7 +61,7 @@ describe Setup::DelayedMessage do\nexpect(delayed_message.load_on_start?).to be false\nend\n- it 'set ready created delayed messages...
Ruby
MIT License
cenit-io/cenit
Add | Delayed messages adapter test
108,883
02.08.2019 07:50:56
14,400
c9529766b8b88e6b4ef56f646c192cc4f1d579f8
Fix | Delayed messages adapter test
[ { "change_type": "MODIFY", "old_path": "spec/models/setup/delayed_message_spec.rb", "new_path": "spec/models/setup/delayed_message_spec.rb", "diff": "@@ -70,16 +70,17 @@ describe Setup::DelayedMessage do\nexpect(record[:message]).to eq 'abc'\nend\n- it 'retrieves ready messages sorted' do\n+ it 'sor...
Ruby
MIT License
cenit-io/cenit
Fix | Delayed messages adapter test
108,883
03.08.2019 08:20:16
14,400
267b7234753b91f26ffd385662614205faa80463
Add | Integrating delayed messages adapter with Rails Admin
[ { "change_type": "MODIFY", "old_path": "app/models/setup/delayed_message.rb", "new_path": "app/models/setup/delayed_message.rb", "diff": "@@ -45,6 +45,10 @@ module Setup\nself.class.adapter.remove(self)\nend\n+ def live_publish_at\n+ self.class.publish_time(self)\n+ end\n+\nmodule MongoidAdapter\nex...
Ruby
MIT License
cenit-io/cenit
Add | Integrating delayed messages adapter with Rails Admin
108,883
03.08.2019 09:01:37
14,400
2b22708129ed907c03a05e2249deb72437ae1297
Fix | Tuning active tenant redis adapter
[ { "change_type": "MODIFY", "old_path": "app/models/cenit/active_tenant.rb", "new_path": "app/models/cenit/active_tenant.rb", "diff": "@@ -68,14 +68,22 @@ module Cenit\nmodule RedisAdapter\nextend self\n- ACTIVE_TENANT_PREFIX = 'active_tenant_'\n+ ACTIVE_TENANT_PREFIX = 'active_tenant#'\ndef get(key)...
Ruby
MIT License
cenit-io/cenit
Fix | Tuning active tenant redis adapter
108,883
03.08.2019 09:06:31
14,400
cbc66b3f731c03c70109c0725d36c5f48318865f
Fix | Contextualizing delayed message config with adapter
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/models/setup/delayed_message_admin.rb", "new_path": "lib/rails_admin/models/setup/delayed_message_admin.rb", "diff": "@@ -10,7 +10,11 @@ module RailsAdmin\nnavigation_label 'Administration'\nvisible { ::User.current_super_admin? }\n- configure ...
Ruby
MIT License
cenit-io/cenit
Fix | Contextualizing delayed message config with adapter
108,883
03.08.2019 20:34:07
14,400
0b17a416d5b3d9fca59cedde8a2ac8a34d55268e
Fix | Using tenant switch for task execution
[ { "change_type": "MODIFY", "old_path": "lib/cenit/rabbit.rb", "new_path": "lib/cenit/rabbit.rb", "diff": "@@ -92,40 +92,27 @@ module Cenit\n{ token: message }\nend\nend\n- tenant = token = nil\nmessage = message.with_indifferent_access\nif (message_token = message.delete(:token))\nif (token = TaskTo...
Ruby
MIT License
cenit-io/cenit
Fix | Using tenant switch for task execution
108,883
04.08.2019 09:19:15
14,400
7787b169047b151345b2cbfed0986c859589579f
Add | Using tenant ID for active tenant adapter operations
[ { "change_type": "MODIFY", "old_path": "app/models/cenit/active_tenant.rb", "new_path": "app/models/cenit/active_tenant.rb", "diff": "@@ -16,12 +16,23 @@ module Cenit\nmodule MongoidAdapter\nextend self\n+ def id_for(tenant_or_id)\n+ case tenant_or_id\n+ when String\n+ tenant_or_id\n+ when BSON::Obj...
Ruby
MIT License
cenit-io/cenit
Add | Using tenant ID for active tenant adapter operations
108,883
04.08.2019 09:20:18
14,400
6e1ede5e8a99117329a9934328dbb47a38a45414
Add | Including Mongoid Adapter in delayed messages tests
[ { "change_type": "MODIFY", "old_path": "app/models/setup/delayed_message.rb", "new_path": "app/models/setup/delayed_message.rb", "diff": "@@ -52,16 +52,17 @@ module Setup\nmodule MongoidAdapter\nextend self\n- def set_load_on_start(_flag = true)\n- # Already done!\n+ def set_load_on_start(flag = tru...
Ruby
MIT License
cenit-io/cenit
Add | Including Mongoid Adapter in delayed messages tests
108,883
10.08.2019 10:56:00
14,400
f7d6ca82ee65a55cbecad8adb4d01d34791e4134
Add | Storing capatized codes cache in Redis
[ { "change_type": "MODIFY", "old_path": "app/models/setup/erb_template.rb", "new_path": "app/models/setup/erb_template.rb", "diff": "@@ -42,7 +42,7 @@ module Setup\nend\nrb_src = rb.join(\"\\n\")\nlcls = options.keys.to_a + marks\n- rw = Capataz.rewrite(rb_src, locals: lcls)\n+ rw = Capataz.rewrite(r...
Ruby
MIT License
cenit-io/cenit
Add | Storing capatized codes cache in Redis
108,883
13.08.2019 15:41:31
14,400
072b7ee3a6c79a6bf1d85944db0270bff72fb13b
Fix | Prevent wrong patterns
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/lib/mongoff_property.rb", "new_path": "lib/rails_admin/lib/mongoff_property.rb", "diff": "@@ -109,10 +109,15 @@ module RailsAdmin\n:text\nend\n#Empty Test\n+ not_empty_pattern =\n+ begin\n+ (pattern = hash_schema['pattern']) && !''.match(patter...
Ruby
MIT License
cenit-io/cenit
Fix | Prevent wrong patterns
108,883
18.08.2019 08:14:36
14,400
0d982a70f227cdffdd85bff18f11ae9a3ce33c08
Add | Clean strategies for Capataz rewritten codes cache
[ { "change_type": "MODIFY", "old_path": "config/initializers/capataz_monkey_patch.rb", "new_path": "config/initializers/capataz_monkey_patch.rb", "diff": "@@ -31,10 +31,12 @@ module Capataz\ndef rewrite(code, options)\nif Cenit::Redis.client? && (code_key = options[:code_key])\n- code_key = cache_key...
Ruby
MIT License
cenit-io/cenit
Add | Clean strategies for Capataz rewritten codes cache
108,883
18.08.2019 08:14:59
14,400
a2eb532adcae2ff645a8172393e1f3ddd56eba2a
Add | Tests for Capataz rewritten codes cache
[ { "change_type": "ADD", "old_path": null, "new_path": "spec/integration/capataz/cache_spec.rb", "diff": "+\n+require 'rails_helper'\n+\n+describe Capataz::Cache do\n+\n+ let! :cache do\n+ Capataz::Cache\n+ end\n+\n+ before :each do\n+ cache.clean\n+ end\n+\n+ context \"when Redis client is present\"...
Ruby
MIT License
cenit-io/cenit
Add | Tests for Capataz rewritten codes cache
108,883
18.08.2019 08:53:40
14,400
46c076f115780cf9b2ef18ead5f4ed908aea64f5
Add | Redis adapter for Locker
[ { "change_type": "MODIFY", "old_path": "lib/cenit/locker.rb", "new_path": "lib/cenit/locker.rb", "diff": "module Cenit\nmodule Locker\n- class << self\n+ extend self\n+\n+ def adapter\n+ @adapter ||=\n+ if Cenit::Redis.client?\n+ RedisAdapter\n+ else\n+ MongoidAdapter\n+ end\n+ end\n+\n+ delegate :l...
Ruby
MIT License
cenit-io/cenit
Add | Redis adapter for Locker
108,883
18.08.2019 19:53:28
14,400
54cf4e3e4d0e33d9e1496ff2f59c1c64a927f2e2
Add | Capataz cache tests for algorithms and ERB templates
[ { "change_type": "MODIFY", "old_path": "spec/integration/capataz/cache_spec.rb", "new_path": "spec/integration/capataz/cache_spec.rb", "diff": "@@ -31,6 +31,15 @@ describe Capataz::Cache do\nexpect(cache.size).to eq(count)\nend\n+ it 'cleans specified codes only' do\n+ count = 1 + rand(10)\n+ 1.upto...
Ruby
MIT License
cenit-io/cenit
Add | Capataz cache tests for algorithms and ERB templates
108,883
21.08.2019 21:20:50
14,400
e7ce234e99e4effc52bd756403451b9994278bda
Add | Locker tests
[ { "change_type": "MODIFY", "old_path": "lib/cenit/locker.rb", "new_path": "lib/cenit/locker.rb", "diff": "@@ -56,11 +56,11 @@ module Cenit\nend\ndef key_locked?(key)\n- collection.find(_id: key).present?\n+ collection.find(_id: key).count > 0\nend\ndef unlock_key(key)\n- if (query = collection.find(...
Ruby
MIT License
cenit-io/cenit
Add | Locker tests
108,883
23.08.2019 14:19:22
14,400
0755646cbf99369a3f0b5b09d396207bf0f00f5d
Fix | Excluding problematic data types from rails admin configs
[ { "change_type": "MODIFY", "old_path": "app/helpers/rails_admin/application_helper_decorator.rb", "new_path": "app/helpers/rails_admin/application_helper_decorator.rb", "diff": "@@ -295,7 +295,13 @@ module RailsAdmin\ndef main_navigation\n#Patch\nnodes_stack = RailsAdmin::Config.visible_models(contr...
Ruby
MIT License
cenit-io/cenit
Fix | Excluding problematic data types from rails admin configs
108,883
31.08.2019 07:09:53
14,400
e631f0cd39130be51b017d13bd3deb7617987096
Update | Load delayed messages unless SKIP_LOAD_DELAYED_MESSAGES option
[ { "change_type": "MODIFY", "old_path": "app/models/setup/delayed_message.rb", "new_path": "app/models/setup/delayed_message.rb", "diff": "@@ -52,19 +52,6 @@ module Setup\nmodule MongoidAdapter\nextend self\n- def set_load_on_start(flag = true)\n- @load_on_start = flag\n- end\n-\n- def load_on_start?...
Ruby
MIT License
cenit-io/cenit
Update | Load delayed messages unless SKIP_LOAD_DELAYED_MESSAGES option
108,883
31.08.2019 20:40:48
14,400
9d2ef99e0f826eef092deb213463b3953aeac12d
Add | Hooks (pilot)
[ { "change_type": "ADD", "old_path": null, "new_path": "app/controllers/hook_controller.rb", "diff": "+class HookController < ActionController::Base\n+\n+ MAX_SIZE = 100 * 1024\n+\n+ def digest\n+ status = :ok\n+ json = {}\n+ if request.body.length > MAX_SIZE\n+ status = :bad_request\n+ json[:error] ...
Ruby
MIT License
cenit-io/cenit
Add | Hooks (pilot)
108,883
01.09.2019 09:33:40
14,400
72c805a751bee83951719767f7f1dd95e80c0391
Add | Hooks data processing in the background
[ { "change_type": "MODIFY", "old_path": "app/models/cenit/hook.rb", "new_path": "app/models/cenit/hook.rb", "diff": "@@ -69,7 +69,10 @@ module Cenit\ndef setup(tenant)\ntenant.switch do\nHook.all.each do |hook|\n- Cenit::Redis.set(hook_key(hook.token), tenant.id.to_s)\n+ Cenit::Redis.set(hook_key(hoo...
Ruby
MIT License
cenit-io/cenit
Add | Hooks data processing in the background
108,883
01.09.2019 09:54:33
14,400
abd1ef23a0723e8cc86d9f675430be345796e17f
Add | Setup hooks when updated
[ { "change_type": "MODIFY", "old_path": "app/models/cenit/hook.rb", "new_path": "app/models/cenit/hook.rb", "diff": "@@ -16,6 +16,12 @@ module Cenit\nbefore_save :ensure_token\n+ after_save :setup_on_adapter\n+\n+ def setup_on_adapter\n+ self.class.adapter.setup_hook(self)\n+ end\n+\ndef ensure_token...
Ruby
MIT License
cenit-io/cenit
Add | Setup hooks when updated
108,883
01.09.2019 09:55:22
14,400
577c910f89f34c35674389ed84b4311d5fe8e4e9
Add | Responding hook requests with Accepted status code
[ { "change_type": "MODIFY", "old_path": "app/controllers/hook_controller.rb", "new_path": "app/controllers/hook_controller.rb", "diff": "@@ -3,7 +3,7 @@ class HookController < ActionController::Base\nMAX_SIZE = 100 * 1024\ndef digest\n- status = :ok\n+ status = :accepted\njson = {}\nif request.body.l...
Ruby
MIT License
cenit-io/cenit
Add | Responding hook requests with Accepted status code
108,883
01.09.2019 10:43:14
14,400
871f1eba17b710eb2e3746ce5fec4e95c96b481c
Add | Sync re-generated hook tokens on Redis adapter
[ { "change_type": "MODIFY", "old_path": "app/models/cenit/hook.rb", "new_path": "app/models/cenit/hook.rb", "diff": "@@ -75,13 +75,26 @@ module Cenit\nmodule RedisAdapter\nextend self\n+ HOOK_PREFIX = 'hook_'\n+\ndef hook_key(token)\n- \"hook_#{token}\"\n+ \"#{HOOK_PREFIX}#{token}\"\n+ end\n+\n+ def ...
Ruby
MIT License
cenit-io/cenit
Add | Sync re-generated hook tokens on Redis adapter
108,883
01.09.2019 18:17:53
14,400
308175f6a10119b7370492e0f2414ff71416834c
Add | Hooks paths with access token
[ { "change_type": "MODIFY", "old_path": "config/routes.rb", "new_path": "config/routes.rb", "diff": "@@ -48,6 +48,7 @@ Cenit::Application.routes.draw do\nget '/file/:model/:field/:id/*file(.:format)', to: 'file#index'\npost 'hook/:slug', to: 'hook#digest'\n+ post 'hook/:slug/:access_token', to: 'hook...
Ruby
MIT License
cenit-io/cenit
Add | Hooks paths with access token
108,883
03.09.2019 22:16:14
14,400
e300f970d6e066a9551b66f5424b035181e92edc
Fix | Capataz cache clean callback in snippet model
[ { "change_type": "MODIFY", "old_path": "app/models/setup/snippet.rb", "new_path": "app/models/setup/snippet.rb", "diff": "@@ -33,6 +33,25 @@ module Setup\nerrors.blank?\nend\n+ after_save :clean_code_cache\n+\n+ def clean_code_cache\n+ Capataz::Cache.clean(code_key)\n+ end\n+\n+ def code_key\n+ pref...
Ruby
MIT License
cenit-io/cenit
Fix | Capataz cache clean callback in snippet model
108,883
04.09.2019 06:11:18
14,400
2c3c0fa052d08ecd4e898d17f1b677a5c88fb49c
Add | Hooks Mongoid Adapter logic
[ { "change_type": "MODIFY", "old_path": "app/models/cenit/hook.rb", "new_path": "app/models/cenit/hook.rb", "diff": "@@ -56,19 +56,49 @@ module Cenit\nend\nend\n- module MongoidAdapter\n- extend self\n+ class MongoidAdapter\n+ include Mongoid::Document\n+\n+ field :_id, type: String\n+ field :hook_id...
Ruby
MIT License
cenit-io/cenit
Add | Hooks Mongoid Adapter logic
108,883
05.09.2019 07:22:49
14,400
9b841243ec71d1435abaf73530c3b03fce1b8a3f
Add | Configuration option to use capataz cache
[ { "change_type": "MODIFY", "old_path": "config/application.rb", "new_path": "config/application.rb", "diff": "@@ -58,6 +58,8 @@ module Cenit\nend\nend\n+ Capataz::Cache.clean\n+\nSetup::CenitDataType.init!\nrequire 'mongoff/model'\n" }, { "change_type": "MODIFY", "old_path": "config/init...
Ruby
MIT License
cenit-io/cenit
Add | Configuration option to use capataz cache
108,883
05.09.2019 07:46:49
14,400
4f857d4721582427315303a8b2d7fad0f00597e6
Fix | Test contexts for capataz cache option
[ { "change_type": "MODIFY", "old_path": "spec/models/setup/algorithm_spec.rb", "new_path": "spec/models/setup/algorithm_spec.rb", "diff": "@@ -19,6 +19,8 @@ describe Setup::Algorithm do\ncontext \"when Redis client is present\", if: Cenit::Redis.client? do\n+ context \"when using capataz cache\", if:...
Ruby
MIT License
cenit-io/cenit
Fix | Test contexts for capataz cache option
108,883
08.09.2019 09:48:26
10,800
7bab446ed2cde371d63ac6acd855b38e43aa373f
Fix | Capataz cache for linked algorithms
[ { "change_type": "MODIFY", "old_path": "Gemfile.lock", "new_path": "Gemfile.lock", "diff": "@@ -35,7 +35,7 @@ GIT\nGIT\nremote: https://github.com/macarci/capataz.git\n- revision: efc1e6fbf61eb7899d71d9e9843f730f8aae4554\n+ revision: a07fed2134fb16a51ddf5f46dad5cce95703fa46\nspecs:\ncapataz (0.0.1)\...
Ruby
MIT License
cenit-io/cenit
Fix | Capataz cache for linked algorithms
108,883
08.09.2019 12:38:58
10,800
5ab0c093a63036ef05e857151a37ffd761e6124b
Add | Skipping links query
[ { "change_type": "MODIFY", "old_path": "config/initializers/capataz_monkey_patch.rb", "new_path": "config/initializers/capataz_monkey_patch.rb", "diff": "@@ -36,7 +36,7 @@ module Capataz\ncache_key = cache_key_for(code_key)\nif (code_cache = Cenit::Redis.get(cache_key))\ncode_cache = JSON.parse(code...
Ruby
MIT License
cenit-io/cenit
Add | Skipping links query
108,883
08.09.2019 12:40:23
10,800
d9ffd07003427b8e97f82f0b4f12848f761ede82
Add | Test algorithms linking in same/different namespace
[ { "change_type": "MODIFY", "old_path": "spec/models/setup/algorithm_spec.rb", "new_path": "spec/models/setup/algorithm_spec.rb", "diff": "@@ -19,17 +19,41 @@ describe Setup::Algorithm do\ncontext \"regardless configuration options\" do\n- it \"link calls to other algorithms\" do\n+ it \"link calls t...
Ruby
MIT License
cenit-io/cenit
Add | Test algorithms linking in same/different namespace
108,870
15.07.2019 17:45:54
14,400
1dacffaf779e25e2727980e1241fe5046a59f92b
Change Dockerfile build steps: -Add nginx server -Add foreman gem -Add Procfile and cenit file configurations
[ { "change_type": "MODIFY", "old_path": ".dockerignore", "new_path": ".dockerignore", "diff": ".git\n.dockerignore\n+Dockerfile\n+docker-compose.yml\n" }, { "change_type": "MODIFY", "old_path": "Dockerfile", "new_path": "Dockerfile", "diff": "@@ -19,7 +19,8 @@ RUN set -x; \\\nnode...
Ruby
MIT License
cenit-io/cenit
Change Dockerfile build steps: -Add nginx server -Add foreman gem -Add Procfile and cenit file configurations
108,870
15.07.2019 17:50:03
14,400
b4d5c200227b331ec8528249ceb891cf9f0ec3c4
Change orchestration config
[ { "change_type": "MODIFY", "old_path": "docker-compose.yml", "new_path": "docker-compose.yml", "diff": "@@ -12,10 +12,10 @@ services:\n- RABBITMQ_BIGWIG_TX_URL=amqp://cenit_rabbit:cenit_rabbit@rabbitmq/cenit_rabbit_vhost\n- UNICORN_WORKERS=5\n- MAXIMUM_UNICORN_CONSUMERS=3\n- - SKIP_MONGO_CLIENT='fal...
Ruby
MIT License
cenit-io/cenit
Change orchestration config
108,870
10.09.2019 11:55:57
14,400
4c88ffd251327a08b5e33072085cb69985c7af8b
update configuration for redirection in cluster
[ { "change_type": "MODIFY", "old_path": ".dockerignore", "new_path": ".dockerignore", "diff": ".git\n.dockerignore\n\\ No newline at end of file\n-Dockerfile\n-docker-compose.yml\n" }, { "change_type": "MODIFY", "old_path": "Dockerfile", "new_path": "Dockerfile", "diff": "@@ -23,1...
Ruby
MIT License
cenit-io/cenit
update configuration for redirection in cluster
108,883
12.09.2019 07:54:16
10,800
7a3ea00eb8e2bfe00fe1fff85d5ebe13e50a6e4c
Add | Administration origin for build in data types
[ { "change_type": "MODIFY", "old_path": "app/models/setup/cenit_data_type.rb", "new_path": "app/models/setup/cenit_data_type.rb", "diff": "@@ -2,7 +2,7 @@ module Setup\nclass CenitDataType < DataType\ninclude RailsAdmin::Models::Setup::CenitDataTypeAdmin\n- origins :cenit, -> { (Cenit.initializing? |...
Ruby
MIT License
cenit-io/cenit
Add | Administration origin for build in data types
108,868
16.09.2019 19:03:08
25,200
3982a2393ed7ea4a536d6add936cd75f85ff9b29
Update share invite slack link
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "* [Shared Collections](https://cenit.io/setup~shared_collection)\n* support@cenit.io\n-# [Cenit IO](https://cenit.io) [(https://cenit.io)](https://cenit.io)\n+# Cenit IO [(https://cenit.io)](https://cenit.io)\nIs a...
Ruby
MIT License
cenit-io/cenit
Update share invite slack link
108,870
16.09.2019 14:50:14
14,400
0470b9384b211a1d04bd6cbdfb84994b057676a2
Add support for config Redis conection
[ { "change_type": "MODIFY", "old_path": "lib/cenit/redis.rb", "new_path": "lib/cenit/redis.rb", "diff": "@@ -10,7 +10,7 @@ module Cenit\ndef client\nunless instance_variable_defined?(:@redis_client)\n- client = ::Redis.new\n+ client = ::Redis.new(host: ENV[\"REDIS_HOST\"], port: 6379, db: 15)\nclient...
Ruby
MIT License
cenit-io/cenit
Add support for config Redis conection
108,870
16.09.2019 14:50:46
14,400
56aeda4ce7cca318abd824e9d39f11a112eb8880
Add Redis configuration and environment variable
[ { "change_type": "MODIFY", "old_path": "docker-compose.yml", "new_path": "docker-compose.yml", "diff": "@@ -3,6 +3,7 @@ version: '3.7'\nvolumes:\n# We'll define a volume that will store the data from the mongo databases:\nmongodb-data: {}\n+ redis-data: {}\nservices:\ncenit:\n@@ -13,12 +14,14 @@ ser...
Ruby
MIT License
cenit-io/cenit
Add Redis configuration and environment variable
108,870
17.09.2019 11:46:51
14,400
7247af6d897c149dcdcb8a3810845e426ce4f157
Change Dockerfile to build cluster from github source directly
[ { "change_type": "MODIFY", "old_path": "Dockerfile", "new_path": "Dockerfile", "diff": "@@ -23,8 +23,9 @@ RUN set -x; \\\nnginx\n# Set an environment variable where the Rails app is installed to inside of Docker image\n+\n+RUN git clone https://github.com/cenit-io/cenit.git /var/www/cenit\nENV RAILS...
Ruby
MIT License
cenit-io/cenit
Change Dockerfile to build cluster from github source directly
108,868
22.09.2019 09:52:00
25,200
ddb9f42e37d2c67d562ebb1cc7dbbdbf4b56b7c9
Allow create a new redis instace using different options: - with a redis:// URL - with connecion variables: host, port, db, password - set default values, similar to the default in the redis gem
[ { "change_type": "MODIFY", "old_path": "lib/cenit/redis.rb", "new_path": "lib/cenit/redis.rb", "diff": "@@ -10,7 +10,21 @@ module Cenit\ndef client\nunless instance_variable_defined?(:@redis_client)\n- client = ::Redis.new(host: ENV[\"REDIS_HOST\"], port: 6379, db: 15)\n+ client =\n+ if (redis_url =...
Ruby
MIT License
cenit-io/cenit
Allow create a new redis instace using different options: - with a redis:// URL - with connecion variables: host, port, db, password - set default values, similar to the default in the redis gem
108,868
22.09.2019 12:43:10
25,200
4ba85e29d50fc76178a03e9e63d5829a42902f75
Add a new contanst BASE_MULTIPLIER_ACTIVE_TASK Avoid hard code value. Set default to 50
[ { "change_type": "MODIFY", "old_path": "lib/cenit/rabbit.rb", "new_path": "lib/cenit/rabbit.rb", "diff": "@@ -8,7 +8,7 @@ module Cenit\nclass << self\ndef maximum_active_tasks\n- @maximum__active_tasks ||= 50 * (ENV['UNICORN_CENIT_SERVER'].to_b ? Cenit.maximum_unicorn_consumers : 1)\n+ @maximum__act...
Ruby
MIT License
cenit-io/cenit
Add a new contanst BASE_MULTIPLIER_ACTIVE_TASK Avoid hard code value. Set default to 50
108,868
23.09.2019 19:49:38
25,200
6fb0e18e4957183bf15689f47dd7c4c01cf75825
Eval empty string for ENV as false in if condition
[ { "change_type": "MODIFY", "old_path": "lib/cenit/redis.rb", "new_path": "lib/cenit/redis.rb", "diff": "@@ -11,7 +11,7 @@ module Cenit\ndef client\nunless instance_variable_defined?(:@redis_client)\nclient =\n- if (redis_url = ENV['REDIS_URL'])\n+ if (redis_url = ENV['REDIS_URL']).to_b\n# specify a ...
Ruby
MIT License
cenit-io/cenit
Eval empty string for ENV as false in if condition
108,883
26.09.2019 09:30:04
10,800
0f9c421dc7df9da5c823a9b3e6e9e0f2c0d87c40
Add | Purging broken messages tokens
[ { "change_type": "MODIFY", "old_path": "app/models/setup/delayed_message.rb", "new_path": "app/models/setup/delayed_message.rb", "diff": "@@ -79,6 +79,10 @@ module Setup\ndef publish_time(delayed_message)\ndelayed_message[:publish_at]\nend\n+\n+ def purge_message(message)\n+ DelayedMessage.where(mes...
Ruby
MIT License
cenit-io/cenit
Add | Purging broken messages tokens
108,883
26.09.2019 12:59:49
10,800
e497505f4ad92ff682ff2fbe65a548af0d6c9ac0
Fix | Excluding thread_token from tasks build-in data types
[ { "change_type": "MODIFY", "old_path": "app/models/setup/task.rb", "new_path": "app/models/setup/task.rb", "diff": "@@ -17,7 +17,7 @@ module Setup\nFINISHED_STATUS = NOT_RUNNING_STATUS - [:pending]\n# TODO Include instead the current execution ID\n- build_in_data_type.excluding(:current_execution).a...
Ruby
MIT License
cenit-io/cenit
Fix | Excluding thread_token from tasks build-in data types
108,883
29.09.2019 07:51:00
10,800
5c11e2a46026276c1cce29c5144d4d40af49ab19
Add | Skip DB initialization option
[ { "change_type": "MODIFY", "old_path": "config/application.rb", "new_path": "config/application.rb", "diff": "@@ -40,6 +40,7 @@ module Cenit\nnext if ENV['SKIP_MONGO_CLIENT'].to_b\nThread.current[:cenit_initializing] = true\n+ unless ENV['SKIP_DB_INITIALIZATION']\nSetup::DelayedMessage.do_load unles...
Ruby
MIT License
cenit-io/cenit
Add | Skip DB initialization option
108,868
12.10.2019 09:41:51
25,200
ab4972e39be0a991108190f1b6b0d5444729aedb
upgrade rails admin 1.2.0
[ { "change_type": "MODIFY", "old_path": "Gemfile", "new_path": "Gemfile", "diff": "@@ -47,7 +47,7 @@ end\ngem 'mongoid'\ngem 'bson_ext'\n-gem 'rails_admin', '~> 1.1.1'\n+gem 'rails_admin', '~> 1.2.0'\ngem 'httparty'\ngem 'bunny', '~> 2.6'\n@@ -103,6 +103,7 @@ gem 'net-sftp'\ngem 'mongoid-tracer', git...
Ruby
MIT License
cenit-io/cenit
upgrade rails admin 1.2.0
108,868
12.10.2019 10:37:34
25,200
1080745ea9c947684b80ea8cb934c0a104193917
set in development cache_classes = true In other case not works properly the override of the module RailsAdmin::ApplicationHelper
[ { "change_type": "MODIFY", "old_path": "config/environments/development.rb", "new_path": "config/environments/development.rb", "diff": "@@ -4,7 +4,7 @@ Cenit::Application.configure do\n# In the development environment your application's code is reloaded on\n# every request. This slows down response ...
Ruby
MIT License
cenit-io/cenit
set in development cache_classes = true In other case not works properly the override of the module RailsAdmin::ApplicationHelper
108,883
16.10.2019 09:29:16
10,800
b7433e54faff90159fa271d197fc99bf845d7ce0
Add | Re-activation of mongoff validator
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -397,7 +397,7 @@ module Api::V3\nauth_header = auth_header.to_s.squeeze(' ').strip.split(' ')\nif auth_header.length == 2\n@access_token = access_tok...
Ruby
MIT License
cenit-io/cenit
Add | Re-activation of mongoff validator
108,883
21.10.2019 12:34:33
10,800
97f60a139becbbf93ce30348d163618d717687e8
Fix | Bundling Apps parameters links
[ { "change_type": "MODIFY", "old_path": "lib/cenit/bundler_interpreter.rb", "new_path": "lib/cenit/bundler_interpreter.rb", "diff": "@@ -30,11 +30,7 @@ module Cenit\ndef method_missing(symbol, *args, &block)\nsymbol = symbol.to_s\nif (algorithm = @__algorithms__[symbol])\n- if algorithm.is_a?(Proc)\n...
Ruby
MIT License
cenit-io/cenit
Fix | Bundling Apps parameters links
108,883
24.10.2019 13:16:17
10,800
73c546dadc3ce35ab700d6553e19ff2f5544834f
Fix | Pretty errors for many associations
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/pretty_errors.rb", "new_path": "lib/mongoff/pretty_errors.rb", "diff": "@@ -15,11 +15,9 @@ module Mongoff\n{}\nend\nif (associations[name.to_s] || associations[name.to_sym]).many?\n- association_errors = record.send(name).map do |associated|\n- mod...
Ruby
MIT License
cenit-io/cenit
Fix | Pretty errors for many associations
108,883
24.10.2019 20:13:09
10,800
1c584f6030e9ebc2d6f98254a9c641cb9db0280f
Fix | Allowing X-Query-Options header in pre-flight request
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -24,7 +24,7 @@ module Api::V3\ndef cors_headers\nallow_origin_header\nheaders['Access-Control-Allow-Credentials'] = false\n- headers['Access-Control-...
Ruby
MIT License
cenit-io/cenit
Fix | Allowing X-Query-Options header in pre-flight request
108,868
27.10.2019 09:16:56
25,200
6283dff4c75c1b81f2cb0c4d8dcf6b5427835985
Upgrade consevative haml gem
[ { "change_type": "MODIFY", "old_path": "Gemfile.lock", "new_path": "Gemfile.lock", "diff": "@@ -202,7 +202,8 @@ GEM\nrequest_store\nglobalid (0.4.2)\nactivesupport (>= 4.2.0)\n- haml (4.0.7)\n+ haml (5.1.2)\n+ temple (>= 0.8.0)\ntilt\nhaml-rails (1.0.0)\nactionpack (>= 4.0.1)\n@@ -475,6 +476,7 @@ GE...
Ruby
MIT License
cenit-io/cenit
Upgrade consevative haml gem
108,868
27.10.2019 09:47:24
25,200
b5823ef5b1fd47d2cba47f365a9e1a442dc95ab8
upgrade nokkogiri 1.10.4
[ { "change_type": "MODIFY", "old_path": "Gemfile.lock", "new_path": "Gemfile.lock", "diff": "@@ -280,7 +280,7 @@ GEM\nmimemagic (0.3.0)\nmini_magick (4.9.5)\nmini_mime (1.0.1)\n- mini_portile2 (2.3.0)\n+ mini_portile2 (2.4.0)\nminitest (5.11.3)\nmongo (2.1.2)\nbson (~> 3.0)\n@@ -305,8 +305,8 @@ GEM\n...
Ruby
MIT License
cenit-io/cenit
upgrade nokkogiri 1.10.4
108,883
29.10.2019 11:08:04
10,800
7833f9d3442f51eb5f26dd756d6a5e465f083b97
Add | JSON Path option for show API
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -87,8 +87,23 @@ module Api::V3\nend\ndef show\n+ item = @item\n+ if (json_path = request.headers['X-JSON-Path']) && json_path =~ /\\A\\$(.(^[.\\[\\]]...
Ruby
MIT License
cenit-io/cenit
Add | JSON Path option for show API
108,883
29.10.2019 11:22:11
10,800
194cb094a99dde501fd850c34a57b2bb1dfc383e
Fix | Rollback for haml gem version
[ { "change_type": "MODIFY", "old_path": "Gemfile.lock", "new_path": "Gemfile.lock", "diff": "@@ -202,8 +202,7 @@ GEM\nrequest_store\nglobalid (0.4.2)\nactivesupport (>= 4.2.0)\n- haml (5.1.2)\n- temple (>= 0.8.0)\n+ haml (4.0.7)\ntilt\nhaml-rails (1.0.0)\nactionpack (>= 4.0.1)\n@@ -476,7 +475,6 @@ GE...
Ruby
MIT License
cenit-io/cenit
Fix | Rollback for haml gem version
108,883
30.10.2019 22:58:59
10,800
d2fa3a44f65f046ec186f8f52559177c26ef535f
Add | Record ID header option for data type digest
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -24,7 +24,7 @@ module Api::V3\ndef cors_headers\nallow_origin_header\nheaders['Access-Control-Allow-Credentials'] = false\n- headers['Access-Control-...
Ruby
MIT License
cenit-io/cenit
Add | Record ID header option for data type digest
108,883
07.11.2019 19:56:22
10,800
248d75bb1143ca8107e94eaebe5630434cb6ed18
Add | with_references template option
[ { "change_type": "MODIFY", "old_path": "lib/edi/formater.rb", "new_path": "lib/edi/formater.rb", "diff": "@@ -97,7 +97,6 @@ module Edi\ninclude_id ||= (value.include?(:id) || value.include?(:_id)) if include_id.nil? && option != :ignore\nend\n[:only].each { |option| options.delete(option) if options...
Ruby
MIT License
cenit-io/cenit
Add | with_references template option
108,883
08.11.2019 08:05:54
10,800
39f4d74a60d2b4729fffc478391f0987a0c74e2d
Fix | Item not found double rendered
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -620,8 +620,7 @@ module Setup\ndef handle_get_digest(controller)\nif (id = controller.request.headers['X-Record-Id'])\ncontroller.setup_request(names...
Ruby
MIT License
cenit-io/cenit
Fix | Item not found double rendered
108,883
08.11.2019 17:55:09
10,800
e5c6df315b9f80f53fb6a10aa5dd5989beefc0b7
Fix | CORS header for X-JSON-Path
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -24,7 +24,7 @@ module Api::V3\ndef cors_headers\nallow_origin_header\nheaders['Access-Control-Allow-Credentials'] = false\n- headers['Access-Control-...
Ruby
MIT License
cenit-io/cenit
Fix | CORS header for X-JSON-Path
108,883
08.11.2019 18:14:17
10,800
d8ee84ac5d14a41cb1569e27e9afa61807b1b8e9
Fix | Recursive pretty errors
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/pretty_errors.rb", "new_path": "lib/mongoff/pretty_errors.rb", "diff": "module Mongoff\nmodule PrettyErrors\n- def pretty_errors(record)\n+ def pretty_errors(record, stack = Set.new)\nreturn {} unless record\n+ stack << record\nerrors = record.erro...
Ruby
MIT License
cenit-io/cenit
Fix | Recursive pretty errors
108,883
09.11.2019 08:51:19
10,800
97a2e65d8c098357919026f052b4bd8f08747aab
Fix | Extracting parser options by name
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -249,15 +249,17 @@ module Api::V3\nprotected\n+ PARSER_OPTIONS = %w(add_only primary_field ignore reset skip_refs_binding).collect(&:to_sym)\n+\ndef ...
Ruby
MIT License
cenit-io/cenit
Fix | Extracting parser options by name
108,883
09.11.2019 08:53:16
10,800
ca835e2df4f2b1ba3ef4e203bf11c6844f96a5bf
Fix | Removing one-to-one associations for blank parsing JSON entries
[ { "change_type": "MODIFY", "old_path": "lib/edi/parser.rb", "new_path": "lib/edi/parser.rb", "diff": "@@ -349,7 +349,7 @@ module Edi\nrecord.send(\"#{property_name}=\", do_parse_json(data_type, property_model, property_value, options, property_schema))\nend\nelse\n- record.send(\"#{property_name}=\"...
Ruby
MIT License
cenit-io/cenit
Fix | Removing one-to-one associations for blank parsing JSON entries
108,883
10.11.2019 09:20:05
10,800
25892c43a20410c480989e73050ea7b735797ae2
Add | Update association options
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -249,7 +249,7 @@ module Api::V3\nprotected\n- PARSER_OPTIONS = %w(add_only primary_field ignore reset skip_refs_binding).collect(&:to_sym)\n+ PARSER_...
Ruby
MIT License
cenit-io/cenit
Add | Update association options
108,883
10.11.2019 09:48:35
10,800
9f1425f7fd10bdf060a3e0fe685acd3c45f6d3bf
Fix | Removing one-to-many associations for blank parsing JSON entries
[ { "change_type": "MODIFY", "old_path": "lib/edi/parser.rb", "new_path": "lib/edi/parser.rb", "diff": "@@ -339,6 +339,8 @@ module Edi\nif sub_values\nrecord.send(\"#{property_name}=\", sub_values)\nend\n+ elsif json.key?(name)\n+ record.send(\"#{property_name}=\", nil)\nend\nwhen 'object'\nnext unles...
Ruby
MIT License
cenit-io/cenit
Fix | Removing one-to-many associations for blank parsing JSON entries
108,883
10.11.2019 11:14:43
10,800
135729b2ef1306de2c0cfcf0295e4845c6ba25ad
Fix | Formatting of empty record arrays associations
[ { "change_type": "MODIFY", "old_path": "lib/edi/formater.rb", "new_path": "lib/edi/formater.rb", "diff": "@@ -387,7 +387,7 @@ module Edi\ncase property_schema['type']\nwhen 'array'\nreferenced_items = can_be_referenced && property_schema['referenced'] && !property_schema['export_embedded']\n- if (va...
Ruby
MIT License
cenit-io/cenit
Fix | Formatting of empty record arrays associations
108,883
24.11.2019 23:46:32
10,800
c76b264ff4ca33bc94f71e9c1a2d790f56a3c9e6
Add | Delete digest API for Data Types (pilot)
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -103,7 +103,7 @@ module Api::V3\nend\nend\nsetup_viewport\n- render json: Template.with(item) { |template| template.to_hash(template_options) }\n+ re...
Ruby
MIT License
cenit-io/cenit
Add | Delete digest API for Data Types (pilot)
108,870
25.11.2019 15:36:44
18,000
267d2e5249be402615989590e4b91a3f752a180f
Convert to binary SKIP_DB_INITIALIZATION environment variable
[ { "change_type": "MODIFY", "old_path": "config/application.rb", "new_path": "config/application.rb", "diff": "@@ -40,7 +40,7 @@ module Cenit\nnext if ENV['SKIP_MONGO_CLIENT'].to_b\nThread.current[:cenit_initializing] = true\n- unless ENV['SKIP_DB_INITIALIZATION']\n+ unless ENV['SKIP_DB_INITIALIZATIO...
Ruby
MIT License
cenit-io/cenit
Convert to binary SKIP_DB_INITIALIZATION environment variable
108,883
28.11.2019 21:40:31
10,800
ae2788332dcbfb12bd305925006e60850dc3d286
Fix | Updating existing one to one association when matching primary fields
[ { "change_type": "MODIFY", "old_path": "lib/edi/parser.rb", "new_path": "lib/edi/parser.rb", "diff": "@@ -353,7 +353,7 @@ module Edi\nend\nreferences[property_name] = { model: property_model, criteria: property_value }\nelse\n- record.send(\"#{property_name}=\", do_parse_json(data_type, property_mod...
Ruby
MIT License
cenit-io/cenit
Fix | Updating existing one to one association when matching primary fields
108,883
02.12.2019 17:27:52
10,800
72a93def939d23883a1f60726009de7c509a299c
Fix | Ensuring OAuth tokens users
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -434,6 +434,8 @@ module Api::V3\nif auth_header.length == 2\n@access_token = access_token = Cenit::OauthAccessToken.where(token_type: auth_header[0],...
Ruby
MIT License
cenit-io/cenit
Fix | Ensuring OAuth tokens users
108,883
03.12.2019 10:08:18
10,800
9e8591a1fe57a163deb2890c8d322b8beb8d3851
Fix | Get access token tenant through the owner user
[ { "change_type": "MODIFY", "old_path": "app/models/cenit/oauth_access_token.rb", "new_path": "app/models/cenit/oauth_access_token.rb", "diff": "@@ -17,7 +17,7 @@ module Cenit\ndef get_tenant\nif access_grant.origin == :owner\n- tenant.owner.account\n+ user&.account || tenant&.owner&.account\nelse\ns...
Ruby
MIT License
cenit-io/cenit
Fix | Get access token tenant through the owner user
108,883
06.12.2019 05:06:29
10,800
45d3e9ea603b90d0db1a04ded3b23b360a94bc1e
Add | JSON parser add_new option to force create new records
[ { "change_type": "MODIFY", "old_path": "lib/edi/parser.rb", "new_path": "lib/edi/parser.rb", "diff": "@@ -239,6 +239,7 @@ module Edi\nend\ndef do_parse_json(data_type, model, json, options, json_schema, record = nil, new_record = nil, container = nil, container_schema = nil)\n+ add_new = options.del...
Ruby
MIT License
cenit-io/cenit
Add | JSON parser add_new option to force create new records
108,883
08.12.2019 22:48:33
10,800
4ffc79b9803c0a76635337359d8a50cd151ec2f1
Update | Enhancing access grant and tokens
[ { "change_type": "MODIFY", "old_path": "app/models/ability.rb", "new_path": "app/models/ability.rb", "diff": "@@ -30,6 +30,7 @@ class Ability\n{ '_id' => { '$in' => user.member_account_ids || [] } }\n] }\ncan [:destroy, :clean_up], Account, :id.in => user.account_ids - [user.account_id]\n+ can :dest...
Ruby
MIT License
cenit-io/cenit
Update | Enhancing access grant and tokens
108,883
10.12.2019 07:05:51
10,800
e7c9d9d5dab04bda93f0562b930f08a2a665340f
Add | Default spec values
[ { "change_type": "MODIFY", "old_path": "app/models/setup/api_spec.rb", "new_path": "app/models/setup/api_spec.rb", "diff": "@@ -11,10 +11,40 @@ module Setup\nfield :url, type: String\nfield :specification, type: String\n+ DEFAULT_SPEC = <<-YAML\n+swagger: '2.0'\n+info:\n+ version: 0.0.1\n+ title: ti...
Ruby
MIT License
cenit-io/cenit
Add | Default spec values
108,883
16.12.2019 22:53:51
10,800
d79cf9161084a335b63345415936805ffa9b6478
Add | Processing multipart/form-data for API V3 file upload
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -687,8 +687,14 @@ module Setup\nclass FileDataType\ndef post_digest_upload(request, options = {})\n- request.body.rewind\n- file = create_from(reques...
Ruby
MIT License
cenit-io/cenit
Add | Processing multipart/form-data for API V3 file upload
108,883
20.12.2019 05:42:49
10,800
5c5d0994f6089c71e48b409e6bf4519f9b54b85a
Add | ID and add_new options for file instantiation
[ { "change_type": "MODIFY", "old_path": "app/models/setup/file_data_type.rb", "new_path": "app/models/setup/file_data_type.rb", "diff": "@@ -122,7 +122,12 @@ module Setup\nsuper\nelse\noptions.reverse_merge!(default_attributes)\n- file = records_model.new(options.select { |key, _| %w(filename content...
Ruby
MIT License
cenit-io/cenit
Add | ID and add_new options for file instantiation
108,883
24.12.2019 06:58:52
10,800
4d339b09e5275cdd58fba8cdd7802a5ec3cbe324
Add | Descendants metadata in abstract 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": "@@ -249,6 +249,18 @@ module Setup\ndef build_schema\n@discarding ||= []\nschema = { 'type' => 'object', 'properties' => properties = {} }\n+ if model < Clas...
Ruby
MIT License
cenit-io/cenit
Add | Descendants metadata in abstract build-in data types
108,883
24.12.2019 08:46:38
10,800
bc8789749adcc7cccbab854a9aad2a22e66e1d80
Add | Bypassing and reporting Mongoff Validator errors
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/record.rb", "new_path": "lib/mongoff/record.rb", "diff": "@@ -93,6 +93,17 @@ module Mongoff\n# Mongoff::Validator.soft_validates(self, skip_nulls: true)\nerrors.clear\nMongoff::Validator.soft_validates(self, skip_nulls: true)\n+ mongoff_errors = er...
Ruby
MIT License
cenit-io/cenit
Add | Bypassing and reporting Mongoff Validator errors
108,868
29.12.2019 10:22:53
28,800
4d7f2a0ae22be224d72834ec014fb897d6a482a0
Update year 2020
[ { "change_type": "MODIFY", "old_path": "LICENSE", "new_path": "LICENSE", "diff": "MIT License\n-Copyright (c) 2019 Cenit IO Inc.\n+Copyright (c) 2020 OMNA Pte Ltd.\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the ...
Ruby
MIT License
cenit-io/cenit
Update year 2020
108,883
19.01.2020 07:05:02
10,800
cbab37f3c33b33dac74bc5f659358aa7da5f3ffc
Add | Mongoff Validator instances tests (keywords for Strings)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "# https://json-schema.org/draft/2019-09/json-schema-validation.html\n#\n#\n+\n+require 'resolv'\n+\nmodule Mongoff\nmodule Validator\nextend self\n@@ -258,7 +261,7 @@ module Mongoff\ne...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (keywords for Strings)
108,883
26.01.2020 09:58:09
10,800
0f0656911f8000484e509e706c951db864c160ba
Add | Include relations reset when collecting records
[ { "change_type": "MODIFY", "old_path": "app/models/setup/cross_shared_collection.rb", "new_path": "app/models/setup/cross_shared_collection.rb", "diff": "@@ -318,13 +318,18 @@ module Setup\nconfiguring_fields = r.klass.data_type.get_referenced_by + r.klass.configuring_fields.to_a\nconfiguring_fields...
Ruby
MIT License
cenit-io/cenit
Add | Include relations reset when collecting records
108,883
31.01.2020 17:56:01
10,800
86bbf38fa990d4e91e4b1f1d397e33dbc57efab4
Add | Accessing AWS credentials directly from ENV
[ { "change_type": "MODIFY", "old_path": "lib/cenit/file_store/aws_s3_default.rb", "new_path": "lib/cenit/file_store/aws_s3_default.rb", "diff": "@@ -71,8 +71,8 @@ module Cenit\ndef client\n@client ||= Aws::S3::Client.new(\nregion: Cenit.aws_s3_region,\n- # access_key_id: ENV['AWS_ACCESS_KEY_ID'],\n- ...
Ruby
MIT License
cenit-io/cenit
Add | Accessing AWS credentials directly from ENV
108,883
01.02.2020 18:48:21
10,800
0f53ff9a49ec4f4a0619235103821e486af6ad82
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Arrays - array items)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/record.rb", "new_path": "lib/mongoff/record.rb", "diff": "@@ -117,7 +117,7 @@ module Mongoff\nfield = field.to_sym\nattribute_key = orm_model.attribute_key(field, model: property_model = orm_model.property_model(field))\nvalue = @fields[field] || d...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Arrays - array items)
108,883
03.02.2020 20:05:55
10,800
9bdcb53a8d247298ae7bb99d526b5387b452f9bd
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Arrays - array additionalItems)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -428,15 +428,17 @@ module Mongoff\ndef check_additionalItems(items_schema, items, state, data_type, options)\nif (start_index = state[:additional_items_index]) && start_index < item...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Arrays - array additionalItems)
108,883
05.02.2020 05:26:52
10,800
27c4d2c4607f24c6518c020a2afd2ae33e8a52ea
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Arrays - [min|max]Items)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -451,7 +451,7 @@ module Mongoff\ndef check_maxItems(max, items)\nif items.is_a?(Mongoff::RecordArray) || items.is_a?(Array)\n- raise_path_less_error \"has too many items (#{instance...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Arrays - [min|max]Items)
108,883
05.02.2020 06:50:58
10,800
0daaa624194b0291f4f0848c2659842ed7a1bf93
Fix | Prevent recursive validation only for mongoff records
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -69,7 +69,7 @@ module Mongoff\nvisited = options[:visited] = Set.new\nend\nunless (soft_checked = visited.include?(instance))\n- visited << instance\n+ visited << instance if instan...
Ruby
MIT License
cenit-io/cenit
Fix | Prevent recursive validation only for mongoff records
108,883
05.02.2020 10:41:32
10,800
3a77dfbb77ac53e00bfc4d230ed603b1477c369f
Fix | Prevent relations initialization on mongoff records
[ { "change_type": "MODIFY", "old_path": "lib/cenit/utility.rb", "new_path": "lib/cenit/utility.rb", "diff": "@@ -214,7 +214,9 @@ module Cenit\nvisited << record\nblock.yield(record) if block\nif (orm_model = record.try(:orm_model))\n+ stored_properties = orm_model.stored_properties_on(record)\norm_mo...
Ruby
MIT License
cenit-io/cenit
Fix | Prevent relations initialization on mongoff records
108,883
05.02.2020 10:42:55
10,800
6e912e9cea156d9a3e8f463b7c0bc6bfe6cfd50d
Fix | Skip relation uniqueness tests but for mongoff records
[ { "change_type": "MODIFY", "old_path": "lib/edi/parser.rb", "new_path": "lib/edi/parser.rb", "diff": "@@ -333,7 +333,7 @@ module Edi\nend\nelse\nsub_value = do_parse_json(data_type, property_model, sub_value, options, items_schema, nil, nil, association, property_schema)\n- unless (sub_values || ass...
Ruby
MIT License
cenit-io/cenit
Fix | Skip relation uniqueness tests but for mongoff records
108,883
05.02.2020 11:37:33
10,800
734ec625394d6f2e5ea817e23e4ad02e3da1ee96
Fix | Using variables instead of constants in specs
[ { "change_type": "MODIFY", "old_path": "spec/integration/mongoff/grid_fs/file_spec.rb", "new_path": "spec/integration/mongoff/grid_fs/file_spec.rb", "diff": "@@ -2,21 +2,21 @@ require 'spec_helper'\ndescribe Mongoff::GridFs::File do\n- TEST_NAMESPACE = 'Mongoff GridFS Test'\n+ test_namespace = 'Mong...
Ruby
MIT License
cenit-io/cenit
Fix | Using variables instead of constants in specs
108,883
05.02.2020 11:38:03
10,800
fc18f406b328d79b1fd97db6839ca09f3e072f9c
Fix | Random negative numbers
[ { "change_type": "MODIFY", "old_path": "spec/integration/mongoff/validator_spec.rb", "new_path": "spec/integration/mongoff/validator_spec.rb", "diff": "@@ -349,7 +349,7 @@ describe Mongoff::Validator do\nend\nit 'raises an exception if the maxLength value is a negative integer' do\n- schema = { maxL...
Ruby
MIT License
cenit-io/cenit
Fix | Random negative numbers
108,883
05.02.2020 12:59:27
10,800
b66c6632cfc19ace8ad9cc08ec12f487eea6f9db
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Arrays - uniqueItems)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -470,10 +470,10 @@ module Mongoff\n_check_type(:uniqueItems, unique, Boolean)\nend\n- def check_uniqueItems(min, items)\n- if items.is_a?(Mongoff::RecordArray) || items.is_a?(Array)...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Arrays - uniqueItems)
108,883
05.02.2020 16:42:28
10,800
d5070d419548cb93a24af0fda39ee9b1b0cf9346
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Arrays - contains)
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/validator.rb", "new_path": "lib/mongoff/validator.rb", "diff": "@@ -69,7 +69,7 @@ module Mongoff\nvisited = options[:visited] = Set.new\nend\nunless (soft_checked = visited.include?(instance))\n- visited << instance if instance.is_a?(Mongoff::Recor...
Ruby
MIT License
cenit-io/cenit
Add | Mongoff Validator instances tests (Keywords for Applying Subschemas to Arrays - contains)