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 | 22.08.2018 11:04:07 | 10,800 | 45df475d339eb152e9eea4281c77423e565363fb | Validating scopes | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/oauth2_authorization.rb",
"new_path": "app/models/setup/oauth2_authorization.rb",
"diff": "@@ -17,6 +17,10 @@ module Setup\ndef check\nif super\nerrors.add(:client, 'provider is not OAuth 2.0 compatible') unless provider.is_a?(Setup::Oauth2Pro... | Ruby | MIT License | cenit-io/cenit | Validating scopes |
108,883 | 22.08.2018 11:05:07 | 10,800 | e03128849925eb0afa8e760077f6f9ec12bed98d | Default Oauth 2.0 scope | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/oauth2_authorization.rb",
"new_path": "app/models/setup/oauth2_authorization.rb",
"diff": "@@ -18,7 +18,7 @@ module Setup\nif super\nerrors.add(:client, 'provider is not OAuth 2.0 compatible') unless provider.is_a?(Setup::Oauth2Provider)\nscop... | Ruby | MIT License | cenit-io/cenit | Default Oauth 2.0 scope |
108,883 | 22.08.2018 13:37:14 | 10,800 | d7a3ef86b386fef977aa49d965728bcdf61af9ec | Digest OAuth scope | [
{
"change_type": "MODIFY",
"old_path": "app/assets/stylesheets/rails_admin/custom/theming.scss",
"new_path": "app/assets/stylesheets/rails_admin/custom/theming.scss",
"diff": "@@ -1633,7 +1633,15 @@ label {\ncolor: #fff;\n}\n}\n-\n+ .select2-container--bootstrap .select2-selection--multiple .select2... | Ruby | MIT License | cenit-io/cenit | Digest OAuth scope |
108,883 | 22.08.2018 14:01:55 | 10,800 | 63c0ddee8c965bc318496489f2c38b2a1c88b26e | Restoring revisions | [
{
"change_type": "MODIFY",
"old_path": "Gemfile.lock",
"new_path": "Gemfile.lock",
"diff": "@@ -97,37 +97,38 @@ GIT\nGEM\nremote: https://rubygems.org/\nspecs:\n- actionmailer (4.2.10)\n- actionpack (= 4.2.10)\n- actionview (= 4.2.10)\n- activejob (= 4.2.10)\n+ actionmailer (4.2.7.1)\n+ actionpack (... | Ruby | MIT License | cenit-io/cenit | Restoring revisions |
108,883 | 22.08.2018 17:15:32 | 10,800 | e5f695d2016dcbaf1359e7a4105a40ab589f61d3 | Cleaning API v3 | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/api/v3/api_controller.rb",
"new_path": "app/controllers/api/v3/api_controller.rb",
"diff": "@@ -3,8 +3,9 @@ module Api::V3\nbefore_action :authorize_account, except: [:new_user, :cors_check]\nbefore_action :save_request_data, :allow_origin_head... | Ruby | MIT License | cenit-io/cenit | Cleaning API v3 |
108,883 | 23.08.2018 22:58:25 | 10,800 | f1e3dc7c0f4cb989a1ac4585aad99139a3bdccfb | Cleaning API v3 (a bit more) | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/api/v3/api_controller.rb",
"new_path": "app/controllers/api/v3/api_controller.rb",
"diff": "@@ -29,13 +29,12 @@ module Api::V3\nend\ndef index\n+ setup_viewport\npage = get_page\n- res =\n- if klass\n- @template_options.delete(:inspecting)\n+ t... | Ruby | MIT License | cenit-io/cenit | Cleaning API v3 (a bit more) |
108,883 | 24.08.2018 01:28:47 | 10,800 | b52322662ff5e5645fbf5cb46a830a6a06796c89 | Pretty erros | [
{
"change_type": "MODIFY",
"old_path": "lib/mongoff/model.rb",
"new_path": "lib/mongoff/model.rb",
"diff": "@@ -5,6 +5,7 @@ module Mongoff\nclass Model\ninclude Setup::InstanceModelParser\ninclude MetadataAccess\n+ include PrettyErrors\ninclude ThreadAware\ninclude DateTimeCharts::ClassMethods\n"
... | Ruby | MIT License | cenit-io/cenit | Pretty erros |
108,883 | 24.08.2018 12:07:34 | 10,800 | a6338924aee97408d6d22ea8bbe85a7a5fff4447 | Fixing pretty errors | [
{
"change_type": "MODIFY",
"old_path": "lib/mongoff/pretty_errors.rb",
"new_path": "lib/mongoff/pretty_errors.rb",
"diff": "@@ -7,23 +7,23 @@ module Mongoff\nif errors.key?(:base) && !property?(:base)\nerrors[:'$'] = errors.delete(:base)\nend\n- for_each_association do |association|\n- name = associ... | Ruby | MIT License | cenit-io/cenit | Fixing pretty errors |
108,883 | 24.08.2018 16:08:08 | 10,800 | 6849fa367ead31476384f07b6f2991c4691672e9 | Fixing pretty errors (again) | [
{
"change_type": "MODIFY",
"old_path": "lib/mongoff/pretty_errors.rb",
"new_path": "lib/mongoff/pretty_errors.rb",
"diff": "@@ -8,14 +8,14 @@ module Mongoff\nerrors[:'$'] = errors.delete(:base)\nend\nproperties.each do |name|\n- next unless (model = property_model(name))\n+ next unless (model = prop... | Ruby | MIT License | cenit-io/cenit | Fixing pretty errors (again) |
108,883 | 26.08.2018 17:12:48 | 10,800 | 9f28f925454f2c5b9b79b3063347f34d7054cb27 | Fixing query options | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/api/v3/api_controller.rb",
"new_path": "app/controllers/api/v3/api_controller.rb",
"diff": "@@ -30,7 +30,6 @@ module Api::V3\ndef index\nsetup_viewport\n- page = get_page\ntemplate_options.delete(:inspecting)\nif (model_ignore = klass.index_ign... | Ruby | MIT License | cenit-io/cenit | Fixing query options |
108,883 | 26.08.2018 17:41:13 | 10,800 | ce929a1451598800e207199d0c4ba820abf29d95 | Fixing for pre-flight requests | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/api/v3/api_controller.rb",
"new_path": "app/controllers/api/v3/api_controller.rb",
"diff": "@@ -301,7 +301,7 @@ module Api::V3\nselector.merge!(params.reject { |key, _| %w(controller action __ns_ __model_ __id_ format api).include?(key) })\nsel... | Ruby | MIT License | cenit-io/cenit | Fixing for pre-flight requests |
108,883 | 27.08.2018 12:17:04 | 10,800 | 749807fbb03005976b5f8b5fcb550c0f3004e270 | Singing in with an Auth Token | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/sessions_controller.rb",
"new_path": "app/controllers/sessions_controller.rb",
"diff": "@@ -10,7 +10,8 @@ class SessionsController < Devise::SessionsController\n{}\nend.to_json\nclient = OAuth2::Client.new(ENV['OPEN_ID_CLIENT_ID'], ENV['OPEN_ID... | Ruby | MIT License | cenit-io/cenit | Singing in with an Auth Token |
108,883 | 27.08.2018 12:38:14 | 10,800 | 72fc6420a9cbda633eb399be1af89bc546ec5349 | Inspecting Auth Token before filtering | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/sessions_controller.rb",
"new_path": "app/controllers/sessions_controller.rb",
"diff": "class SessionsController < Devise::SessionsController\n+\n+ prepend_before_filter :inspect_auth_token\n+\nbefore_action :allow_x_frame\ndef new\n@@ -45,12 +... | Ruby | MIT License | cenit-io/cenit | Inspecting Auth Token before filtering |
108,883 | 27.08.2018 13:59:58 | 10,800 | 5fc36fcf938dd69ccb01ceff0c77a0fbb905e4d5 | Replacing the current user when using Auth Tokens | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/sessions_controller.rb",
"new_path": "app/controllers/sessions_controller.rb",
"diff": "@@ -59,6 +59,12 @@ class SessionsController < Devise::SessionsController\nend\nend\n+ def require_no_authentication\n+ r = super\n+ flash.delete(:alert) if ... | Ruby | MIT License | cenit-io/cenit | Replacing the current user when using Auth Tokens |
108,883 | 28.08.2018 22:27:45 | 10,800 | f27f11049c94efa30e838dcffeb2e0325cd60a16 | Saving bindings as defaults | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/bindings.rb",
"new_path": "app/models/setup/bindings.rb",
"diff": "@@ -23,6 +23,7 @@ module Setup\nsuper(attrs, selected_fields) do |doc|\nbinds.each do |metadata|\nif (id = Setup::Binding.id_for(doc, metadata.klass))\n+ doc.changed_attributes... | Ruby | MIT License | cenit-io/cenit | Saving bindings as defaults |
108,883 | 29.08.2018 16:44:32 | 10,800 | 924dfd554d7e24f4ec117e775ae9a3030e24a167 | Rollback default bindings | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/bindings.rb",
"new_path": "app/models/setup/bindings.rb",
"diff": "@@ -23,7 +23,6 @@ module Setup\nsuper(attrs, selected_fields) do |doc|\nbinds.each do |metadata|\nif (id = Setup::Binding.id_for(doc, metadata.klass))\n- doc.changed_attributes... | Ruby | MIT License | cenit-io/cenit | Rollback default bindings |
108,883 | 29.08.2018 16:45:02 | 10,800 | a04f333b8a1cb4218e87407a47379907b014846d | Fixing enum triggers box | [
{
"change_type": "MODIFY",
"old_path": "app/views/rails_admin/main/_form_triggers.html.erb",
"new_path": "app/views/rails_admin/main/_form_triggers.html.erb",
"diff": "{\nlabel: schema['title'] || property.titleize,\nname: property,\n- options: schema['enum'] || [],\n+ options: (schema['enum'] || []... | Ruby | MIT License | cenit-io/cenit | Fixing enum triggers box |
108,883 | 29.08.2018 16:45:56 | 10,800 | 8ca3389902aa3af07998612c25d6f1dff6e9f50c | Applying triggers/filters conditions when matching now and no obj before | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/triggers_formatter.rb",
"new_path": "app/models/setup/triggers_formatter.rb",
"diff": "@@ -50,7 +50,7 @@ module Setup\nfield_changed(obj_now, obj_before, field_name)\nelse\nr &&= condition_apply(obj_now, obj_before, field_name, condition) &&\n... | Ruby | MIT License | cenit-io/cenit | Applying triggers/filters conditions when matching now and no obj before |
108,883 | 30.08.2018 11:42:04 | 10,800 | 18390fec59b9c53b92e4fefea456f6b870942c27 | Notifying export flows processing | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/flow.rb",
"new_path": "app/models/setup/flow.rb",
"diff": "@@ -407,7 +407,9 @@ module Setup\nend - 1\ntranslation_options = nil\nconnections_present = true\n+ records_processed = false\n0.step(max, limit) do |offset|\n+ records_processed = tru... | Ruby | MIT License | cenit-io/cenit | Notifying export flows processing |
108,883 | 04.09.2018 17:10:55 | 10,800 | 320f3fe5c488d77d76cb3ab52bbe25319b13db87 | Enhancing bindings | [
{
"change_type": "MODIFY",
"old_path": "app/models/ability.rb",
"new_path": "app/models/ability.rb",
"diff": "@@ -192,7 +192,7 @@ class Ability\nend\n@@shared_allowed.each do |keys, models|\n- can keys, models, { '$or' => [{ 'origin' => 'default' }, { 'tenant_id' => user.account.id }] }\n+ can keys,... | Ruby | MIT License | cenit-io/cenit | Enhancing bindings |
108,883 | 04.09.2018 17:59:18 | 10,800 | 96480d5a21d421fcbc8fecb4334a3c0a36f7d785 | Including ID in categories build-in data type. | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/category.rb",
"new_path": "app/models/setup/category.rb",
"diff": "@@ -3,7 +3,7 @@ module Setup\ninclude CenitUnscoped\ninclude RailsAdmin::Models::Setup::CategoryAdmin\n- build_in_data_type\n+ build_in_data_type.and({ properties: { id: { type... | Ruby | MIT License | cenit-io/cenit | Including ID in categories build-in data type. |
108,883 | 05.09.2018 06:41:24 | 10,800 | c418dceb70657e766d6874f15eed2680521285c1 | Notifying remote collection pull errors | [
{
"change_type": "MODIFY",
"old_path": "lib/rails_admin/config/actions/remote_shared_collection.rb",
"new_path": "lib/rails_admin/config/actions/remote_shared_collection.rb",
"diff": "@@ -74,7 +74,9 @@ module RailsAdmin\nmsg += t('admin.actions.remote_shared_collection.try_install', object_label: ob... | Ruby | MIT License | cenit-io/cenit | Notifying remote collection pull errors |
108,883 | 04.09.2018 17:11:41 | 10,800 | 6d8383cbcb3abc5db6253a8098d7c0e23c48474a | Snippet code warnings | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/snippet_code.rb",
"new_path": "app/models/setup/snippet_code.rb",
"diff": "@@ -21,7 +21,22 @@ module Setup\ntrace_ignore :snippet_id\n- before_save do\n+ before_save :check_snippet\n+ end\n+\n+ def default_snippet_id\n+ instance_variable_get(:... | Ruby | MIT License | cenit-io/cenit | Snippet code warnings |
108,883 | 05.09.2018 11:11:41 | 10,800 | 31e9e7efdd042f980e545f710789c6d025459924 | Trace history icon | [
{
"change_type": "MODIFY",
"old_path": "app/views/rails_admin/main/dashboard.html.haml",
"new_path": "app/views/rails_admin/main/dashboard.html.haml",
"diff": ".tab-pane{class: \"fade in #{index==0 ? 'active': ''}\", id: o }\n%ol{data:{page: 1, origin: o}}\n=link_to \"#\", id: 'load_more_traces' do\... | Ruby | MIT License | cenit-io/cenit | Trace history icon |
108,883 | 05.09.2018 22:56:24 | 10,800 | 2bce8c298dd3e29c13e9e4bd23219fd41c4cc3c8 | Tuning code warnings | [
{
"change_type": "MODIFY",
"old_path": "app/models/mongoid/tracer/trace.rb",
"new_path": "app/models/mongoid/tracer/trace.rb",
"diff": "@@ -39,12 +39,12 @@ module Mongoid\n[\nSetup::Algorithm,\nSetup::Connection,\n- Setup::JsonDataType\n+ Setup::JsonDataType,\n+ Setup::Snippet\n# Setup::PlainWebhook... | Ruby | MIT License | cenit-io/cenit | Tuning code warnings |
108,883 | 05.09.2018 22:57:06 | 10,800 | 37f5447f7ccb3ff0163471d2cf8f9728a3c81c75 | Fixing compare merge button | [
{
"change_type": "MODIFY",
"old_path": "app/views/rails_admin/main/compare.html.haml",
"new_path": "app/views/rails_admin/main/compare.html.haml",
"diff": ".form-group.form-actions\n.col-sm-offset-2.col-sm-10\n- - if @diff\n+ - if @can_merge\n%button.btn.btn-danger{type: 'submit', name: '_merge', 'd... | Ruby | MIT License | cenit-io/cenit | Fixing compare merge button |
108,883 | 06.09.2018 08:50:48 | 10,800 | 302011c17460ca0a7134dd97b290140a3fcd9432 | Fixing attributes copy | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/snippet_code.rb",
"new_path": "app/models/setup/snippet_code.rb",
"diff": "@@ -68,7 +68,7 @@ module Setup\nend\nsnippet_ref.name = name\nelsif snippet_ref.changed_attributes.key?('code') && snippet_ref.origin != :default\n- self.snippet = Setu... | Ruby | MIT License | cenit-io/cenit | Fixing attributes copy |
108,883 | 06.09.2018 12:15:52 | 10,800 | 19da708abac408c82bc00c72fa7c0645107c6b25 | Code warnings field | [
{
"change_type": "MODIFY",
"old_path": "app/views/rails_admin/main/_code_warnings.html.haml",
"new_path": "app/views/rails_admin/main/_code_warnings.html.haml",
"diff": ".alert.alert-warning\n%p\n= \"Go to #{default_link} cross it to the <strong>#{@object.origin}</strong> scope\".html_safe\n+- elsif... | Ruby | MIT License | cenit-io/cenit | Code warnings field |
108,883 | 06.09.2018 12:31:13 | 10,800 | 85f5aab6edeaaa8f8b82a008507db1c2c45f6327 | Default JSON schema | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/json_data_type.rb",
"new_path": "app/models/setup/json_data_type.rb",
"diff": "@@ -24,8 +24,17 @@ module Setup\nshared_deny :simple_delete_data_type, :bulk_delete_data_type, :simple_expand, :bulk_expand\n+ DEFAULT_SCHEMA = {\n+ type: 'object',... | Ruby | MIT License | cenit-io/cenit | Default JSON schema |
108,883 | 06.09.2018 12:31:35 | 10,800 | 60eb29984186443b05983a96217d399bb6130abf | Code warnings for JSON data types | [
{
"change_type": "MODIFY",
"old_path": "lib/rails_admin/models/setup/json_data_type_admin.rb",
"new_path": "lib/rails_admin/models/setup/json_data_type_admin.rb",
"diff": "@@ -25,6 +25,8 @@ module RailsAdmin\nconfigure :schema, :json_schema\n+ configure :code_warnings, :code_warnings\n+\nconfigure :... | Ruby | MIT License | cenit-io/cenit | Code warnings for JSON data types |
108,883 | 06.09.2018 13:51:00 | 10,800 | 4f56081d3c430409fc966da1e4a0f733835b2fd0 | Code warnings for snippet code based models | [
{
"change_type": "MODIFY",
"old_path": "lib/rails_admin/models/setup/erb_template_admin.rb",
"new_path": "lib/rails_admin/models/setup/erb_template_admin.rb",
"diff": "@@ -13,6 +13,8 @@ module RailsAdmin\nhide_on_navigation\n+ configure :code_warnings, :code_warnings\n+\nconfigure :code, :code do\nc... | Ruby | MIT License | cenit-io/cenit | Code warnings for snippet code based models |
108,883 | 06.09.2018 15:39:15 | 10,800 | 76fe2939e91cdbf5338729d74c5d1426050b7fb4 | Fixing Categories ID segment | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/category.rb",
"new_path": "app/models/setup/category.rb",
"diff": "@@ -3,7 +3,14 @@ module Setup\ninclude CenitUnscoped\ninclude RailsAdmin::Models::Setup::CategoryAdmin\n- build_in_data_type.and({ properties: { id: { type: 'string' } } })\n+ ... | Ruby | MIT License | cenit-io/cenit | Fixing Categories ID segment |
108,883 | 10.09.2018 13:05:07 | 10,800 | 4521b7d337d9f171846631c527140500dfa1a6e8 | Enhancing tour | [
{
"change_type": "MODIFY",
"old_path": "Gemfile.lock",
"new_path": "Gemfile.lock",
"diff": "@@ -6,7 +6,7 @@ GIT\nGIT\nremote: https://github.com/cenit-io/cenit-home.git\n- revision: 560ca265931149bb8a6736c21208b804265cf71d\n+ revision: f211b5ecddb3194b6fa43bafae64dbbcb71e3f6b\nspecs:\ncenit-home (0.... | Ruby | MIT License | cenit-io/cenit | Enhancing tour |
108,883 | 12.09.2018 16:29:38 | 10,800 | 59b125b8ac10445b1820ba5841e1e94a842191e8 | Configuring updated at field for snippets | [
{
"change_type": "MODIFY",
"old_path": "lib/rails_admin/models/setup/snippet_admin.rb",
"new_path": "lib/rails_admin/models/setup/snippet_admin.rb",
"diff": "@@ -48,9 +48,10 @@ module RailsAdmin\nfield :name\nfield :type\nfield :description\n+ field :updated_at\nend\n- fields :namespace, :name, :typ... | Ruby | MIT License | cenit-io/cenit | Configuring updated at field for snippets |
108,883 | 14.09.2018 12:48:59 | 10,800 | f2736b18e258520001d39529f71f43f6c5c8b428 | Fixing association references persistence | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/utility.rb",
"new_path": "lib/cenit/utility.rb",
"diff": "@@ -193,7 +193,7 @@ module Cenit\nend\ndef save_references(record, options, saved, visited = Set.new)\n- return true if !record.changed? || visited.include?(record)\n+ return true if visited.i... | Ruby | MIT License | cenit-io/cenit | Fixing association references persistence |
108,883 | 17.09.2018 23:16:00 | 10,800 | 72f5245f91f54278a997a3050dd3f526b0ee1203 | Mongoff Validator | [
{
"change_type": "MODIFY",
"old_path": "lib/mongoff/metadata_access.rb",
"new_path": "lib/mongoff/metadata_access.rb",
"diff": "@@ -63,11 +63,11 @@ module Mongoff\nend\ndef property_schema(property)\n- if (sch = properties_schemas[property.to_s])\n- data_type.merge_schema(sch)\n- else\n- nil\n- end\... | Ruby | MIT License | cenit-io/cenit | Mongoff Validator |
108,883 | 17.09.2018 23:17:05 | 10,800 | e16bb9b52327feed92daafc1f8364b0554771f1b | Validation Keywords for Any Instance Type | [
{
"change_type": "MODIFY",
"old_path": "lib/mongoff/validator.rb",
"new_path": "lib/mongoff/validator.rb",
"diff": "@@ -106,6 +106,40 @@ module Mongoff\nraise \"Invalid schema type #{type}\" unless type.nil? || TYPE_MAP.key?(type.to_s.to_sym)\nend\n+ # Validation Keywords for Any Instance Type\n+\n+... | Ruby | MIT License | cenit-io/cenit | Validation Keywords for Any Instance Type |
108,883 | 17.09.2018 23:18:04 | 10,800 | b72a2a98e2afd923e4c461a1c792bc2bf583a6fb | Validation Keywords for Numeric Instances (number and integer) | [
{
"change_type": "MODIFY",
"old_path": "lib/mongoff/validator.rb",
"new_path": "lib/mongoff/validator.rb",
"diff": "@@ -139,6 +139,50 @@ module Mongoff\nraise \"is not the const value #{const}\" unless const == instance\nend\n+ # Validation Keywords for Numeric Instances (number and integer)\n+\n+ d... | Ruby | MIT License | cenit-io/cenit | Validation Keywords for Numeric Instances (number and integer) |
108,883 | 17.09.2018 23:19:17 | 10,800 | ce5878c96f80067177216fcd0ee61a2e75c061cd | Validation Keywords for Strings | [
{
"change_type": "MODIFY",
"old_path": "lib/mongoff/validator.rb",
"new_path": "lib/mongoff/validator.rb",
"diff": "@@ -184,6 +184,34 @@ module Mongoff\nraise \"must be strictly greater than #{value}\" if value && (minimum = state[:minimum]) && instance.is_a?(Numeric) && instance <= minimum\nend\n+ ... | Ruby | MIT License | cenit-io/cenit | Validation Keywords for Strings |
108,883 | 17.09.2018 23:20:11 | 10,800 | 3d5f68c2fd9e95f20ffcfd624d9b27fead025eb6 | Validation Keywords for Arrays | [
{
"change_type": "MODIFY",
"old_path": "lib/mongoff/validator.rb",
"new_path": "lib/mongoff/validator.rb",
"diff": "@@ -212,6 +212,97 @@ module Mongoff\nraise \"does not match the pattern #{value}\" if instance.is_a?(String) && !Regexp.new(value).match(instance)\nend\n+ # Validation Keywords for Arr... | Ruby | MIT License | cenit-io/cenit | Validation Keywords for Arrays |
108,883 | 17.09.2018 23:21:10 | 10,800 | 0b3952ea7ca7cb9105db4f395bbcb6c3178044e0 | Validation Keywords for Objects | [
{
"change_type": "MODIFY",
"old_path": "lib/mongoff/validator.rb",
"new_path": "lib/mongoff/validator.rb",
"diff": "@@ -303,6 +303,187 @@ module Mongoff\nend\nend\n+ # Validation Keywords for Objects\n+\n+ def check_schema_properties(value)\n+ _check_type(:properties, value, Hash)\n+ value.each do |... | Ruby | MIT License | cenit-io/cenit | Validation Keywords for Objects |
108,883 | 17.09.2018 23:36:38 | 10,800 | 966aa7ef48a6e0daa10bcbc01ef4328cd6eacedf | Checking propertyNames on object instances | [
{
"change_type": "MODIFY",
"old_path": "lib/mongoff/validator.rb",
"new_path": "lib/mongoff/validator.rb",
"diff": "@@ -484,6 +484,39 @@ module Mongoff\nend\nend\n+ def check_schema_propertyNames(schema)\n+ validate(schema)\n+ end\n+\n+ def check_propertyNames(schema, instance, state, data_type, opt... | Ruby | MIT License | cenit-io/cenit | Checking propertyNames on object instances |
108,883 | 18.09.2018 10:32:23 | 10,800 | 40d3784675b41be8dea2af32ffd7856076df7acd | Restoring old JSON schema validation until new is ready | [
{
"change_type": "MODIFY",
"old_path": "lib/mongoff/record.rb",
"new_path": "lib/mongoff/record.rb",
"diff": "@@ -91,7 +91,11 @@ module Mongoff\ndef validate\nunless @validated\n- Mongoff::Validator.soft_validates(self, skip_nulls: true)\n+ # Mongoff::Validator.soft_validates(self, skip_nulls: true)... | Ruby | MIT License | cenit-io/cenit | Restoring old JSON schema validation until new is ready |
108,883 | 18.09.2018 11:26:13 | 10,800 | cc7a11b90c8cb9dfeaad91ed80a672e40a7cefff | Enabling shared edition for the creator and current user | [
{
"change_type": "MODIFY",
"old_path": "app/models/ability.rb",
"new_path": "app/models/ability.rb",
"diff": "@@ -191,8 +191,15 @@ class Ability\ncan keys, models, { 'origin' => 'default' }\nend\n+ creator_id =\n+ if Account.current && Account.current.owner\n+ Account.current.owner.id\n+ else\n+ use... | Ruby | MIT License | cenit-io/cenit | Enabling shared edition for the creator and current user |
108,883 | 18.09.2018 12:17:34 | 10,800 | ccbf10720daed71825328467e49d61a71f6ded0a | Authorizing current user for shared edition | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/shared_configurable.rb",
"new_path": "app/models/setup/shared_configurable.rb",
"diff": "@@ -21,7 +21,8 @@ module Setup\nend\ndef do_configure_when_save?\n- shared? && User.current != creator\n+ auth_user = (Tenant.current && Tenant.current.ow... | Ruby | MIT License | cenit-io/cenit | Authorizing current user for shared edition |
108,883 | 18.09.2018 23:09:05 | 10,800 | 7244b6aa2dfef11698d43bc5bff6ca62b5a49323 | Fixing property models | [
{
"change_type": "MODIFY",
"old_path": "lib/mongoff/model.rb",
"new_path": "lib/mongoff/model.rb",
"diff": "@@ -89,10 +89,7 @@ module Mongoff\nif properties_models.key?(property)\nmodel = properties_models[property]\nelse\n- ref, property_dt = nil\n- unless Mongoff::Validator::INSTANCE_VALIDATION_KE... | Ruby | MIT License | cenit-io/cenit | Fixing property models |
108,883 | 19.09.2018 00:21:02 | 10,800 | 3f009772655a0f7272844aeab8fd07604d172b0e | Tenant find methods | [
{
"change_type": "MODIFY",
"old_path": "app/models/account.rb",
"new_path": "app/models/account.rb",
"diff": "@@ -169,6 +169,19 @@ class Account\nclass << self\n+ def find_where(expression)\n+ user_id = (user = User.current) && user.id\n+ member_account_ids = user && user.member_account_ids\n+ all(e... | Ruby | MIT License | cenit-io/cenit | Tenant find methods |
108,883 | 19.09.2018 13:42:11 | 10,800 | f72718a5fd8cbf79ed5d7385b78097ea98b16a81 | Tenant find methods accessing | [
{
"change_type": "MODIFY",
"old_path": "config/initializers/zcapataz.rb",
"new_path": "config/initializers/zcapataz.rb",
"diff": "@@ -29,7 +29,7 @@ Capataz.config do\nallow_for Setup::CrossSharedCollection, [:pull, :shared?, :to_json, :share_json, :to_xml, :to_edi]\n- allow_on [Account, Tenant], [:n... | Ruby | MIT License | cenit-io/cenit | Tenant find methods accessing |
108,883 | 19.09.2018 18:28:00 | 10,800 | e029e1d6868792205791f4a263641a86da1d8eed | Upgrading bootstrap-tour | [
{
"change_type": "MODIFY",
"old_path": "vendor/assets/javascripts/rails_admin/bootstrap-tour.min.js",
"new_path": "vendor/assets/javascripts/rails_admin/bootstrap-tour.min.js",
"diff": "/* ========================================================================\n- * bootstrap-tour - v0.10.1\n+ * boo... | Ruby | MIT License | cenit-io/cenit | Upgrading bootstrap-tour |
108,883 | 20.09.2018 10:06:21 | 10,800 | 5d9532513bf20334271a64ad4d3c1e58a9088594 | JSON Type label | [
{
"change_type": "MODIFY",
"old_path": "lib/rails_admin/models/setup/json_data_type_admin.rb",
"new_path": "lib/rails_admin/models/setup/json_data_type_admin.rb",
"diff": "@@ -7,6 +7,7 @@ module RailsAdmin\nincluded do\nrails_admin do\nnavigation_label 'Definitions'\n+ label 'JSON Type'\nweight 111\... | Ruby | MIT License | cenit-io/cenit | JSON Type label |
108,883 | 20.09.2018 14:12:10 | 10,800 | 14d9fdb572959ffc8d388b250ba629d0ebbc993e | Caching dashboard for render optimization | [
{
"change_type": "MODIFY",
"old_path": "app/helpers/rails_admin/application_helper_decorator.rb",
"new_path": "app/helpers/rails_admin/application_helper_decorator.rb",
"diff": "@@ -658,11 +658,11 @@ module RailsAdmin\ntarget\nend\n- def subdomains_left_side_menu()\n+ def subdomains_left_side_menu\n... | Ruby | MIT License | cenit-io/cenit | Caching dashboard for render optimization |
108,883 | 20.09.2018 16:08:08 | 10,800 | fa37737b345ee56922118cd64136003d5335863d | Restoring bootstrap-tour - v0.10.1 | [
{
"change_type": "MODIFY",
"old_path": "vendor/assets/javascripts/rails_admin/bootstrap-tour.min.js",
"new_path": "vendor/assets/javascripts/rails_admin/bootstrap-tour.min.js",
"diff": "/* ========================================================================\n- * bootstrap-tour - v0.12.0\n+ * boo... | Ruby | MIT License | cenit-io/cenit | Restoring bootstrap-tour - v0.10.1 |
108,883 | 20.09.2018 19:17:50 | 10,800 | 19098ae3bad52422f5b7d507f252fb84cf098d52 | Removing password confirmation | [
{
"change_type": "MODIFY",
"old_path": "Gemfile.lock",
"new_path": "Gemfile.lock",
"diff": "@@ -6,7 +6,7 @@ GIT\nGIT\nremote: https://github.com/cenit-io/cenit-home.git\n- revision: 276fae1074712bc6257e3829104b3bf0245e5ac6\n+ revision: 23de5dfbf596526aa47f7e72cd8a1971b5872885\nspecs:\ncenit-home (0.... | Ruby | MIT License | cenit-io/cenit | Removing password confirmation |
108,883 | 24.09.2018 19:47:45 | 10,800 | adc96b2879ecaddac7b64267a96322f2e0aec4f1 | Fixing scopes association scope | [
{
"change_type": "MODIFY",
"old_path": "lib/rails_admin/models/setup/oauth2_authorization_admin.rb",
"new_path": "lib/rails_admin/models/setup/oauth2_authorization_admin.rb",
"diff": "@@ -38,9 +38,13 @@ module RailsAdmin\nvisible { bindings[:object].ready_to_save? }\nassociated_collection_scope do\n... | Ruby | MIT License | cenit-io/cenit | Fixing scopes association scope |
108,883 | 24.09.2018 20:03:30 | 10,800 | 1a4cc5d95f2cc16e0bf6b949e25a8df685612137 | Fixing access token generation for auth scope | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/control.rb",
"new_path": "lib/cenit/control.rb",
"diff": "@@ -147,14 +147,16 @@ module Cenit\ndef access_token_for(auth)\nfail \"Invalid authorization class: #{auth.class}\" unless auth.is_a?(Setup::Oauth2Authorization)\n- unless (app_id = Cenit::App... | Ruby | MIT License | cenit-io/cenit | Fixing access token generation for auth scope |
108,883 | 25.09.2018 11:48:03 | 10,800 | 22449ba2cac9a771beb890f32849df3af0e37224 | Improving Apps access tokens generation | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/control.rb",
"new_path": "lib/cenit/control.rb",
"diff": "@@ -145,6 +145,20 @@ module Cenit\nset_instance_var(key, value)\nend\n+ def generate_access_token\n+ unless (app_id = app.application_id)\n+ fail 'Invalid App, the app identifier ref is broken... | Ruby | MIT License | cenit-io/cenit | Improving Apps access tokens generation |
108,883 | 25.09.2018 16:15:24 | 10,800 | 37bb963fb571ab22231aa93a4614dc15d7ba83d0 | Removing legacy method access_token_for | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/control.rb",
"new_path": "lib/cenit/control.rb",
"diff": "@@ -159,21 +159,6 @@ module Cenit\nend\nend\n- def access_token_for(auth)\n- fail \"Invalid authorization class: #{auth.class}\" unless auth.is_a?(Setup::Oauth2Authorization)\n- unless auth.cl... | Ruby | MIT License | cenit-io/cenit | Removing legacy method access_token_for |
108,883 | 25.09.2018 16:18:45 | 10,800 | 314215a41a7c7eb04f17a0d4fb30f143dbcab839 | Requiring offline_access for access tokens Apps generation | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/control.rb",
"new_path": "lib/cenit/control.rb",
"diff": "@@ -152,11 +152,11 @@ module Cenit\nunless (access_grant = Cenit::OauthAccessGrant.where(application_id_id: app_id.id).first)\nfail 'No access granted for this App'\nend\n- if access_grant.oau... | Ruby | MIT License | cenit-io/cenit | Requiring offline_access for access tokens Apps generation |
108,883 | 25.09.2018 16:19:12 | 10,800 | 01b1b806413338a79d65ff483663463525fa6cbc | Fixing App IDs tenant field rendering | [
{
"change_type": "MODIFY",
"old_path": "lib/rails_admin/models/cenit/application_id_admin.rb",
"new_path": "lib/rails_admin/models/cenit/application_id_admin.rb",
"diff": "@@ -18,12 +18,15 @@ module RailsAdmin\nconfigure :redirect_uris, :json_value\nconfigure :tenant_id do\npretty_value do\n- tenant... | Ruby | MIT License | cenit-io/cenit | Fixing App IDs tenant field rendering |
108,883 | 25.09.2018 17:38:54 | 10,800 | a3b02bdf7c34b58c6c55a51a0b1e3a6a64fb268b | Fixing Apps registration | [
{
"change_type": "MODIFY",
"old_path": "lib/rails_admin/config/actions/regist.rb",
"new_path": "lib/rails_admin/config/actions/regist.rb",
"diff": "@@ -21,8 +21,7 @@ module RailsAdmin\napp_id = @object.application_id\napp_id_config = RailsAdmin::Config.model(Cenit::ApplicationId)\nif (registration_d... | Ruby | MIT License | cenit-io/cenit | Fixing Apps registration |
108,883 | 26.09.2018 11:47:38 | 10,800 | 95fced5e929fb740565375f12f204317432f42df | Fixing Apps build-in provider validation | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/application.rb",
"new_path": "app/models/setup/application.rb",
"diff": "@@ -16,8 +16,11 @@ module Setup\naccepts_nested_attributes_for :actions, :application_parameters, allow_destroy: true\n- before_validation do\n- self.provider_id = Setup:... | Ruby | MIT License | cenit-io/cenit | Fixing Apps build-in provider validation |
108,883 | 26.09.2018 18:06:31 | 10,800 | cee51c2b599ba05c8f7f3009d21ad5543a6dedb5 | Fixing JSON type default schema | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/json_data_type.rb",
"new_path": "app/models/setup/json_data_type.rb",
"diff": "@@ -31,7 +31,7 @@ module Setup\ntype: 'string'\n}\n}\n- }.stringify_keys\n+ }.deep_stringify_keys\nafter_initialize do\nself.schema = DEFAULT_SCHEMA if new_record? ... | Ruby | MIT License | cenit-io/cenit | Fixing JSON type default schema |
108,883 | 26.09.2018 18:17:36 | 10,800 | 8350991ceedf1d861012dc2d90de8bd33e163d01 | Fixing sub-mapping ID type checking | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/mapping_converter.rb",
"new_path": "app/models/setup/mapping_converter.rb",
"diff": "@@ -22,7 +22,7 @@ module Setup\nif v.present? && map_model.property?(k)\nif map_model.associations[k]\nif v.is_a?(Hash)\n- v.delete_if { |sub_k, sub_v| %w(sou... | Ruby | MIT License | cenit-io/cenit | Fixing sub-mapping ID type checking |
108,883 | 27.09.2018 12:08:17 | 10,800 | b8083f0773790d6ac8abaf7ae649571e217e3952 | Factorizing notify parameters option | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/authorization.rb",
"new_path": "app/models/setup/authorization.rb",
"diff": "@@ -36,7 +36,9 @@ module Setup\nend\ndef sign_params(params, template_parameters = {})\n-\n+ if (template_parameters['notify_parameters'] || (respond_to?(:template_pa... | Ruby | MIT License | cenit-io/cenit | Factorizing notify parameters option |
108,883 | 27.09.2018 18:20:26 | 10,800 | 9ec96f8a725dd5344f685ea15c3ca25d38157fb7 | Oauth 2.0 API authorization | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/api/v2/api_controller.rb",
"new_path": "app/controllers/api/v2/api_controller.rb",
"diff": "@@ -4,7 +4,7 @@ module Api::V2\nbefore_action :authorize_account, except: [:new_user, :cors_check, :auth]\nbefore_action :save_request_data, except: [:c... | Ruby | MIT License | cenit-io/cenit | Oauth 2.0 API authorization |
108,883 | 01.10.2018 11:36:02 | 10,800 | 9d1abca0b03b5c6f31e36a2443a889de064688ae | Custom collection references persistence | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/utility.rb",
"new_path": "lib/cenit/utility.rb",
"diff": "@@ -195,7 +195,25 @@ module Cenit\ndef save_references(record, options, saved, visited = Set.new)\nreturn true if visited.include?(record)\nvisited << record\n- if (model = record.try(:orm_mod... | Ruby | MIT License | cenit-io/cenit | Custom collection references persistence |
108,883 | 01.10.2018 12:38:43 | 10,800 | 7d897d4e11c63609793a56f3cea9972753f5b97c | Session access tokens | [
{
"change_type": "MODIFY",
"old_path": "Gemfile.lock",
"new_path": "Gemfile.lock",
"diff": "@@ -22,7 +22,7 @@ GIT\nGIT\nremote: https://github.com/cenit-io/cenit-oauth.git\n- revision: b0c07192534c4b6bc945bb0f53f835921d92c3fc\n+ revision: ac33340e12e0a2932e41c89c18bd75f8c897268a\nspecs:\ncenit-oauth... | Ruby | MIT License | cenit-io/cenit | Session access tokens |
108,883 | 01.10.2018 16:43:14 | 10,800 | 733788a46aa3ddd03c6f6a5ddb1a4507574a6705 | Fixing count/size query conflict | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/flow.rb",
"new_path": "app/models/setup/flow.rb",
"diff": "@@ -110,7 +110,7 @@ module Setup\nif [:Import, :Export].include?(translator.type)\nrequires(:webhook)\nif translator.type == :Import\n- unless before_submit.nil? || before_submit.param... | Ruby | MIT License | cenit-io/cenit | Fixing count/size query conflict |
108,883 | 02.10.2018 10:47:10 | 10,800 | 81b7ead7b69ed5a33453669a7fd0ddd0fa7d5b83 | CORS check for Apps controller | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/app_controller.rb",
"new_path": "app/controllers/app_controller.rb",
"diff": "@@ -13,11 +13,19 @@ class AppController < ApplicationController\nrender plain: ex.message, status: :internal_server_error if @app_control && !@app_control.done?\nend\... | Ruby | MIT License | cenit-io/cenit | CORS check for Apps controller |
108,883 | 02.10.2018 13:31:44 | 10,800 | 6b449d2ef86eb0e23397460ad477985a3533bc08 | Ignore missing parameters option for pulls | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/actions.rb",
"new_path": "lib/cenit/actions.rb",
"diff": "@@ -8,11 +8,14 @@ module Cenit\npull_parameters = options[:pull_parameters] || {}\nmissing_parameters = []\n+ unless options[:ignore_missing_parameters]\nshared_collection.each_pull_parameter ... | Ruby | MIT License | cenit-io/cenit | Ignore missing parameters option for pulls |
108,883 | 03.10.2018 11:31:49 | 10,800 | 6164b7e4245e53daddc895a801ae492da932d299 | Fixing size/count query | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/flow.rb",
"new_path": "app/models/setup/flow.rb",
"diff": "@@ -139,7 +139,7 @@ module Setup\nrejects(:lot_size, :response_translator, :response_data_type)\nend\nend\n- if (bad_callbacks = after_process_callbacks.select { |c| c.parameters.count... | Ruby | MIT License | cenit-io/cenit | Fixing size/count query |
108,883 | 03.10.2018 11:33:17 | 10,800 | 9f05e98a8a340aabf32b0229f3b792bc7a9c8a26 | Fixing assigned snippet refs naming | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/snippet_code.rb",
"new_path": "app/models/setup/snippet_code.rb",
"diff": "@@ -60,8 +60,8 @@ module Setup\ndef configure_snippet\nif snippet_ref.new_record?\n- snippet_ref.namespace = namespace\n- name = snippet_name\n+ snippet_ref.namespace |... | Ruby | MIT License | cenit-io/cenit | Fixing assigned snippet refs naming |
108,883 | 03.10.2018 13:47:25 | 10,800 | c6d54d44ac9be6b6ce9114cf197b63c7e36149c4 | Skip adding dependencies when finishing collection pulls | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/collection_behavior.rb",
"new_path": "app/models/setup/collection_behavior.rb",
"diff": "@@ -67,6 +67,16 @@ module Setup\nfield :warnings, type: Array\nend\n+ def save(options = {})\n+ @add_dependencies =\n+ if options.key?(:add_dependencies)\... | Ruby | MIT License | cenit-io/cenit | Skip adding dependencies when finishing collection pulls |
108,871 | 24.07.2018 14:08:29 | 14,400 | 2291532369cc6d24081438863681657e3a8f5a86 | Fix
Allow access to join method from tasks | [
{
"change_type": "MODIFY",
"old_path": "config/initializers/zcapataz.rb",
"new_path": "config/initializers/zcapataz.rb",
"diff": "@@ -162,7 +162,7 @@ Capataz.config do\nallow_for [Mongoid::Criteria, Mongoff::Criteria], Enumerable.instance_methods(false) + Origin::Queryable.instance_methods(false) + ... | Ruby | MIT License | cenit-io/cenit | Fix
Allow access to join method from tasks |
108,871 | 24.07.2018 14:10:47 | 14,400 | a5bed87a44227f90ca9b01ee880d6e647f9b52d7 | Fix
Allow access to deactivate method from Scheduler | [
{
"change_type": "MODIFY",
"old_path": "config/initializers/zcapataz.rb",
"new_path": "config/initializers/zcapataz.rb",
"diff": "@@ -164,7 +164,7 @@ Capataz.config do\nallow_for Setup::Task, [:status, :scheduler, :state, :resume_in, :run_again, :progress, :progress=, :update, :destroy, :notificatio... | Ruby | MIT License | cenit-io/cenit | Fix
Allow access to deactivate method from Scheduler |
108,871 | 24.07.2018 14:33:30 | 14,400 | f35fd95c5d2ca2b7ead65c9c238c86667508f7ca | Fix
Allow query to OauthAuthorizationToken records | [
{
"change_type": "MODIFY",
"old_path": "config/initializers/zcapataz.rb",
"new_path": "config/initializers/zcapataz.rb",
"diff": "@@ -16,7 +16,7 @@ Capataz.config do\nSpreadsheet, Spreadsheet::Workbook, Setup::Authorization, Setup::Connection, Devise, Cenit, JWT, Setup::XsltValidator, Setup::Transla... | Ruby | MIT License | cenit-io/cenit | Fix
Allow query to OauthAuthorizationToken records |
108,871 | 04.10.2018 11:06:13 | 14,400 | e733823df314b8ee644a0839f31cac12c9d7f326 | Fix
Allow access to tenent name | [
{
"change_type": "MODIFY",
"old_path": "config/initializers/zcapataz.rb",
"new_path": "config/initializers/zcapataz.rb",
"diff": "@@ -29,7 +29,7 @@ Capataz.config do\nallow_for Setup::CrossSharedCollection, [:pull, :shared?, :to_json, :share_json, :to_xml, :to_edi, :name]\n- allow_on [Account, Tenan... | Ruby | MIT License | cenit-io/cenit | Fix
Allow access to tenent name |
108,871 | 04.10.2018 11:33:41 | 14,400 | 94f29f4a0b64c4cefdf2c4140d04c0ee022c9672 | Fix
Remove access to OauthAuthorizationToken class | [
{
"change_type": "MODIFY",
"old_path": "config/initializers/zcapataz.rb",
"new_path": "config/initializers/zcapataz.rb",
"diff": "@@ -16,7 +16,7 @@ Capataz.config do\nSpreadsheet, Spreadsheet::Workbook, Setup::Authorization, Setup::Connection, Devise, Cenit, JWT, Setup::XsltValidator, Setup::Transla... | Ruby | MIT License | cenit-io/cenit | Fix
Remove access to OauthAuthorizationToken class |
108,883 | 04.10.2018 17:21:30 | 10,800 | f914b1fd5656d6fc907a3cc5860eb3895bda3b2c | Active tenant tasks quotas | [
{
"change_type": "MODIFY",
"old_path": "app/models/ability.rb",
"new_path": "app/models/ability.rb",
"diff": "@@ -29,7 +29,8 @@ class Ability\nSetup::SystemReport,\nSetup::Operation,\nSetup::Category,\n- TourTrack\n+ TourTrack,\n+ ActiveTenant\n]\ncan [:index, :show, :edit], Setup::Configuration\nca... | Ruby | MIT License | cenit-io/cenit | Active tenant tasks quotas |
108,883 | 05.10.2018 09:11:12 | 10,800 | 4510013c243ba34909ce2deb57ca2e89d729fb1d | Tuning CORS for app controller | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/app_controller.rb",
"new_path": "app/controllers/app_controller.rb",
"diff": "@@ -22,10 +22,11 @@ class AppController < ApplicationController\ndef process_headers\nheaders.delete('X-Frame-Options')\n- headers['Access-Control-Allow-Origin'] = re... | Ruby | MIT License | cenit-io/cenit | Tuning CORS for app controller |
108,883 | 05.10.2018 13:34:35 | 10,800 | e486fe93a923f8d689968867e4247d90d6cfb71c | Access-Control-Request-Method for apps controller | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/app_controller.rb",
"new_path": "app/controllers/app_controller.rb",
"diff": "@@ -25,7 +25,8 @@ class AppController < ApplicationController\nheaders['Access-Control-Allow-Origin'] = '*'\nheaders['Access-Control-Allow-Credentials'] = false\nhead... | Ruby | MIT License | cenit-io/cenit | Access-Control-Request-Method for apps controller |
108,883 | 05.10.2018 15:53:18 | 10,800 | f5ce217fc6636d793eadf5b0068d8ec7dc605ff8 | Explicitly allowed methods for apps pre-flight requests | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/app_controller.rb",
"new_path": "app/controllers/app_controller.rb",
"diff": "@@ -25,8 +25,7 @@ class AppController < ApplicationController\nheaders['Access-Control-Allow-Origin'] = '*'\nheaders['Access-Control-Allow-Credentials'] = false\nhead... | Ruby | MIT License | cenit-io/cenit | Explicitly allowed methods for apps pre-flight requests |
108,883 | 05.10.2018 16:07:42 | 10,800 | d84afafcf63dc39910ffd4109f708ec798be5087 | Explicitly allowed methods for apps pre-flight requests (2) | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/app_controller.rb",
"new_path": "app/controllers/app_controller.rb",
"diff": "@@ -25,7 +25,7 @@ class AppController < ApplicationController\nheaders['Access-Control-Allow-Origin'] = '*'\nheaders['Access-Control-Allow-Credentials'] = false\nhead... | Ruby | MIT License | cenit-io/cenit | Explicitly allowed methods for apps pre-flight requests (2) |
108,883 | 05.10.2018 16:44:59 | 10,800 | 643cb71d66d366cad26da602dbc21ae66bf8e811 | Skipping app resolution for preflight requests | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/app_controller.rb",
"new_path": "app/controllers/app_controller.rb",
"diff": "class AppController < ApplicationController\n- before_action :authorize_account, :find_app, :find_app_control_action\n+ before_action :authorize_account, :find_app, :... | Ruby | MIT License | cenit-io/cenit | Skipping app resolution for preflight requests |
108,883 | 05.10.2018 17:20:18 | 10,800 | 3d685dcdebd8f49877206a6f1ea11793b0a83c4b | Access-Control-Request-Headers for cors check in apps controller | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/app_controller.rb",
"new_path": "app/controllers/app_controller.rb",
"diff": "@@ -24,7 +24,7 @@ class AppController < ApplicationController\nheaders.delete('X-Frame-Options')\nheaders['Access-Control-Allow-Origin'] = request.headers['Origin'] |... | Ruby | MIT License | cenit-io/cenit | Access-Control-Request-Headers for cors check in apps controller |
108,883 | 06.10.2018 10:06:31 | 10,800 | 04ad5a1a012d9bca1586a8fbd63475979e1d9944 | Factorizing callback authorizations | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/base_oauth_authorization.rb",
"new_path": "app/models/setup/base_oauth_authorization.rb",
"diff": "@@ -2,36 +2,15 @@ module Setup\nclass BaseOauthAuthorization < Setup::Authorization\ninclude CenitScoped\ninclude AuthorizationHeader\n- include... | Ruby | MIT License | cenit-io/cenit | Factorizing callback authorizations |
108,883 | 07.10.2018 12:47:50 | 10,800 | 66856659979b2cc84c22cf91c951852c9fb6f7c8 | Generic Callback Authorization | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/api/v2/api_controller.rb",
"new_path": "app/controllers/api/v2/api_controller.rb",
"diff": "@@ -240,7 +240,7 @@ module Api::V2\nif (auth = @item).is_a?(Setup::Oauth2Authorization)\nif (redirect_uri = params[:redirect_uri])\nif auth.check\n- cen... | Ruby | MIT License | cenit-io/cenit | Generic Callback Authorization |
108,883 | 08.10.2018 10:31:12 | 10,800 | 77863f7636c3e457e54f1e8df706fe8656452b05 | Prevent data type in tmp origin | [
{
"change_type": "MODIFY",
"old_path": "app/models/forms/transformation_selector.rb",
"new_path": "app/models/forms/transformation_selector.rb",
"diff": "@@ -46,6 +46,8 @@ module Forms\n:target_data_type_id\nend => [nil, data_type.id]\n}\n+ else\n+ {}\nend\nend\ncontextual_association_scope do\n"
... | Ruby | MIT License | cenit-io/cenit | Prevent data type in tmp origin |
108,883 | 08.10.2018 10:32:23 | 10,800 | f9afe010545988a1ed278afbd88280b3d3f8f10d | Collecting generic clients | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/collection_behavior.rb",
"new_path": "app/models/setup/collection_behavior.rb",
"diff": "@@ -27,6 +27,7 @@ module Setup\n:authorizations,\n:oauth_providers,\n:oauth_clients,\n+ :generic_clients,\n:oauth2_scopes\n]\n@@ -57,7 +58,8 @@ module Set... | Ruby | MIT License | cenit-io/cenit | Collecting generic clients |
108,883 | 08.10.2018 10:32:53 | 10,800 | 30a2333f9d2934708bd333bb78104fe236633a42 | Tuning callback authorization data type | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/generic_callback_authorization.rb",
"new_path": "app/models/setup/generic_callback_authorization.rb",
"diff": "@@ -4,8 +4,15 @@ module Setup\ninclude CallbackAuthorization\ninclude RailsAdmin::Models::Setup::GenericCallbackAuthorizationAdmin\n... | Ruby | MIT License | cenit-io/cenit | Tuning callback authorization data type |
108,883 | 08.10.2018 11:30:40 | 10,800 | f9e94a65e6b21f42ecd17f838dc1bb1eea940862 | Scoping data type queries | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/data_type.rb",
"new_path": "app/models/setup/data_type.rb",
"diff": "@@ -122,7 +122,15 @@ module Setup\nnil\nend\n- RECORDS_MODEL_METHODS = %w(where all count only).collect(&:to_sym)\n+ RECORDS_MODEL_METHODS = %w(all count only).collect(&:to_s... | Ruby | MIT License | cenit-io/cenit | Scoping data type queries |
108,883 | 08.10.2018 11:50:37 | 10,800 | b0da3a71adfbea5347374d430d20a24ac2393b00 | Allowing :all query method via data type | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/data_type.rb",
"new_path": "app/models/setup/data_type.rb",
"diff": "@@ -122,7 +122,7 @@ module Setup\nnil\nend\n- RECORDS_MODEL_METHODS = %w(all count only).collect(&:to_sym)\n+ RECORDS_MODEL_METHODS = %w(count only).collect(&:to_sym)\ndef wh... | Ruby | MIT License | cenit-io/cenit | Allowing :all query method via data type |
108,883 | 08.10.2018 11:51:09 | 10,800 | 4625b24188ac9a436b6566acbea7c95beefe46a2 | Allowing access to current user | [
{
"change_type": "MODIFY",
"old_path": "config/initializers/zcapataz.rb",
"new_path": "config/initializers/zcapataz.rb",
"diff": "@@ -178,7 +178,7 @@ Capataz.config do\n\"#{action}_from#{format}\"\nend\nend + [:create_from]\n- end + [:name, :slug, :to_json, :share_json, :to_edi, :to_hash, :to_xml, :... | Ruby | MIT License | cenit-io/cenit | Allowing access to current user |
108,883 | 08.10.2018 16:24:05 | 10,800 | f516c9b89acc13ad7ae979b596ade643658ffc05 | Unauthorized response for unauthorized API v3 requests | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/api/v3/api_controller.rb",
"new_path": "app/controllers/api/v3/api_controller.rb",
"diff": "@@ -391,7 +391,7 @@ module Api::V3\nend\ndef authorize_account\n- user = nil\n+ Account.current = user = nil\nif (auth_header = request.headers['Authori... | Ruby | MIT License | cenit-io/cenit | Unauthorized response for unauthorized API v3 requests |
108,883 | 08.10.2018 17:36:24 | 10,800 | 49ac02c8aacc086faa3d10802690867b8e332e32 | SMTP provider namespace config | [
{
"change_type": "MODIFY",
"old_path": "lib/rails_admin/models/setup/smtp_provider_admin.rb",
"new_path": "lib/rails_admin/models/setup/smtp_provider_admin.rb",
"diff": "@@ -12,6 +12,8 @@ module RailsAdmin\nweight 331\nlabel 'SMTP Provider'\n+ configure :namespace, :enum_edit\n+\nconfigure :address,... | Ruby | MIT License | cenit-io/cenit | SMTP provider namespace config |
108,883 | 08.10.2018 17:37:21 | 10,800 | aebedf014cf3b6ce436232eaf46faadbd82c0d91 | Skipping sub-mappings when no property model | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/mapping_converter.rb",
"new_path": "app/models/setup/mapping_converter.rb",
"diff": "@@ -358,7 +358,8 @@ module Setup\nsource_model = source_data_type.records_model\ntitles = Set.new\nsource_model.properties.each do |property|\n- property_dt =... | Ruby | MIT License | cenit-io/cenit | Skipping sub-mappings when no property model |
108,883 | 08.10.2018 17:39:10 | 10,800 | 63825c07cdd1e367c57b98f1ba593cf1d2996e10 | The Observer tenant | [
{
"change_type": "MODIFY",
"old_path": "app/models/account.rb",
"new_path": "app/models/account.rb",
"diff": "@@ -167,6 +167,14 @@ class Account\nCenit[:\"default_#{type}_notifications_span\"] || 1.hour\nend\n+ def owner_switch(&block)\n+ current_user = User.current\n+ User.current = owner\n+ switch... | Ruby | MIT License | cenit-io/cenit | The Observer tenant |
108,883 | 09.10.2018 16:44:54 | 10,800 | 4e14826dd8abc85801aa88fd9bed81cff3e56736 | Scoping tenants for administrative purposes | [
{
"change_type": "MODIFY",
"old_path": "app/models/account.rb",
"new_path": "app/models/account.rb",
"diff": "@@ -178,13 +178,17 @@ class Account\nclass << self\ndef find_where(expression)\n+ scope = all(expression)\n+ unless User.current_super_admin?\nuser_id = (user = User.current) && user.id\nmem... | Ruby | MIT License | cenit-io/cenit | Scoping tenants for administrative purposes |
108,883 | 09.10.2018 16:51:26 | 10,800 | b0f40797713a39cb469e8bb2b0a785c5809b422d | Observer tenant lookup for users and tenants | [
{
"change_type": "MODIFY",
"old_path": "app/models/account.rb",
"new_path": "app/models/account.rb",
"diff": "@@ -6,6 +6,7 @@ class Account\ninclude CredentialsGenerator\ninclude FieldsInspection\ninclude TimeZoneAware\n+ include ObserverTenantLookup\ninclude RailsAdmin::Models::AccountAdmin\nDEFAUL... | Ruby | MIT License | cenit-io/cenit | Observer tenant lookup for users and tenants |
108,883 | 09.10.2018 16:54:45 | 10,800 | 221817a37d21fdfa353ea159e5d1dd55c3c6a712 | Optimizing observer tenant lookup | [
{
"change_type": "MODIFY",
"old_path": "app/models/concerns/observer_tenant_lookup.rb",
"new_path": "app/models/concerns/observer_tenant_lookup.rb",
"diff": "@@ -5,12 +5,23 @@ module ObserverTenantLookup\nincluded do\n- after_save do\n- if (tenant = Setup::Configuration.singleton_record.observer_ten... | Ruby | MIT License | cenit-io/cenit | Optimizing observer tenant lookup |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.