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 | 09.10.2018 17:32:35 | 10,800 | 8ded429831f331a044d1bdc7e0b36cc454c59c2d | Fixing generic callback authorization config | [
{
"change_type": "MODIFY",
"old_path": "lib/rails_admin/models/setup/generic_callback_authorization_admin.rb",
"new_path": "lib/rails_admin/models/setup/generic_callback_authorization_admin.rb",
"diff": "@@ -7,10 +7,10 @@ module RailsAdmin\nincluded do\nrails_admin do\nnavigation_label 'Security'\n-... | Ruby | MIT License | cenit-io/cenit | Fixing generic callback authorization config |
108,883 | 09.10.2018 18:53:43 | 10,800 | 55a99e40251526a60e1aab23bede9b9cf90ae7aa | SHA256 and to_hex utilities | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/core_ext.rb",
"new_path": "lib/cenit/core_ext.rb",
"diff": "@@ -202,6 +202,14 @@ class String\nOpenSSL::HMAC.hexdigest(openssl_digest[:sha256], key.to_s, self)\nend\n+ def sha256\n+ openssl_digest[:sha256].digest(self)\n+ end\n+\n+ def to_hex\n+ each... | Ruby | MIT License | cenit-io/cenit | SHA256 and to_hex utilities |
108,883 | 10.10.2018 16:07:21 | 10,800 | d35be8878455df3790a2e53ecfa058991f2b986f | Tuning ability config | [
{
"change_type": "MODIFY",
"old_path": "app/models/ability.rb",
"new_path": "app/models/ability.rb",
"diff": "@@ -100,7 +100,7 @@ class Ability\nnon_root.each do |action|\nmodels = allowed_hash[key = action.authorization_key]\ndenied = (excluded_actions.include?(:all) || excluded_actions.include?(ac... | Ruby | MIT License | cenit-io/cenit | Tuning ability config |
108,883 | 10.10.2018 17:52:22 | 10,800 | 84d6ad61ecc33ad614a3f9c2f23495805960d807 | Optimizing ability | [
{
"change_type": "MODIFY",
"old_path": "app/models/ability.rb",
"new_path": "app/models/ability.rb",
"diff": "@@ -5,57 +5,25 @@ class Ability\ninclude CanCan::Ability\nattr_reader :user\n+ attr_reader :deferred_abilities\ndef initialize(user)\n+ @deferred_abilities = []\n+\ncan :access, :rails_admin... | Ruby | MIT License | cenit-io/cenit | Optimizing ability |
108,883 | 11.10.2018 11:16:12 | 10,800 | 05354d53f91227988b30e129bf78074bed80f401 | Fixing JSON parsing with null entry values | [
{
"change_type": "MODIFY",
"old_path": "lib/edi/parser.rb",
"new_path": "lib/edi/parser.rb",
"diff": "@@ -348,8 +348,8 @@ module Edi\nend\nelse\nnext if updating && ((property_name == '_id' || primary_fields.include?(name.to_sym)) && !record.send(property_name).nil?)\n- unless (property_value = json... | Ruby | MIT License | cenit-io/cenit | Fixing JSON parsing with null entry values |
108,883 | 11.10.2018 12:21:47 | 10,800 | bae3e098721fec937796e8319c6cb8f62376c1ce | Including client template parameters on callback authorizations | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/authorization_client_common.rb",
"new_path": "app/models/setup/authorization_client_common.rb",
"diff": "@@ -16,10 +16,10 @@ module Setup\nend\ndef inject_template_parameters(hash)\n- hash['identifier'] = get_identifier\n- hash['secret'] = get... | Ruby | MIT License | cenit-io/cenit | Including client template parameters on callback authorizations |
108,883 | 11.10.2018 16:31:44 | 10,800 | 4d799d8dbf0d6a373dab0919ac4f2ab18e037246 | Fixing parameters signer arguments | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/generic_callback_authorization.rb",
"new_path": "app/models/setup/generic_callback_authorization.rb",
"diff": "@@ -53,7 +53,7 @@ module Setup\nend\ndef sign_params(params, template_parameters = {})\n- parameters_signer.run(params, template_par... | Ruby | MIT License | cenit-io/cenit | Fixing parameters signer arguments |
108,883 | 12.10.2018 10:36:04 | 10,800 | 301bced448bb14c400ec6c9a425948b621157a61 | Trying template parameters injection | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/callback_authorization.rb",
"new_path": "app/models/setup/callback_authorization.rb",
"diff": "@@ -86,7 +86,7 @@ module Setup\nend\ndef inject_template_parameters(hash)\n- client && client.inject_template_parameters(hash)\n+ client && client.t... | Ruby | MIT License | cenit-io/cenit | Trying template parameters injection |
108,883 | 15.10.2018 20:29:23 | 10,800 | d7ce8190938c51537c66f536943fc869441badb1 | Flow processing options | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/flow.rb",
"new_path": "app/models/setup/flow.rb",
"diff": "@@ -425,6 +425,9 @@ module Setup\nparameters: template_parameters,\ntask: message[:task]\n}\n+ if (options = message[:template_options]).is_a?(Hash)\n+ translation_options[:options] = ... | Ruby | MIT License | cenit-io/cenit | Flow processing options |
108,883 | 16.10.2018 09:41:45 | 10,800 | 3f9bcd12e465e38696bc887351df2c4105ca3529 | Asynchronous tasks executions by default | [
{
"change_type": "MODIFY",
"old_path": "app/models/forms/generate_options.rb",
"new_path": "app/models/forms/generate_options.rb",
"diff": "@@ -10,7 +10,7 @@ module Forms\nedit do\nfield :override_data_types do\nvisible do\n- Cenit.asynchronous_data_type_generation || bindings[:object].instance_vari... | Ruby | MIT License | cenit-io/cenit | Asynchronous tasks executions by default |
108,883 | 16.10.2018 09:58:38 | 10,800 | e017a7ebaa234d7e7e70d41e2da6af172059753f | Tuning execution tenant mismatch report | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/rabbit.rb",
"new_path": "lib/cenit/rabbit.rb",
"diff": "@@ -85,6 +85,7 @@ module Cenit\nmessage = message.with_indifferent_access\nmessage_token = message.delete(:token)\nif (token = TaskToken.where(token: message_token).first)\n+ ActiveTenant.dec_ta... | Ruby | MIT License | cenit-io/cenit | Tuning execution tenant mismatch report |
108,883 | 16.10.2018 13:21:06 | 10,800 | 4afa68289a840d2696c23cd8e2948d41b0d78652 | Keeping mismatch tenant tokens | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/rabbit.rb",
"new_path": "lib/cenit/rabbit.rb",
"diff": "@@ -86,7 +86,6 @@ module Cenit\nmessage_token = message.delete(:token)\nif (token = TaskToken.where(token: message_token).first)\nActiveTenant.dec_tasks_for(token.tenant)\n- token.destroy\nCenit... | Ruby | MIT License | cenit-io/cenit | Keeping mismatch tenant tokens |
108,883 | 16.10.2018 15:09:23 | 10,800 | d2b26891f424470d3f23ff9589dfb409bf3538cc | Reporting missing task tokens | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/rabbit.rb",
"new_path": "lib/cenit/rabbit.rb",
"diff": "@@ -48,9 +48,11 @@ module Cenit\nend\ntokens.delete_all\nmessage[:task_id] = task.id.to_s\n- message = TaskToken.create(data: message.to_json,\n+ message = TaskToken.create(\n+ data: message.to_... | Ruby | MIT License | cenit-io/cenit | Reporting missing task tokens |
108,883 | 16.10.2018 18:04:17 | 10,800 | 357e791d6d58dca33bf0fe2ee1b8b4b04b067c65 | Tracking task tokens errors | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/rabbit.rb",
"new_path": "lib/cenit/rabbit.rb",
"diff": "@@ -48,11 +48,18 @@ module Cenit\nend\ntokens.delete_all\nmessage[:task_id] = task.id.to_s\n- message = TaskToken.create(\n+ token = TaskToken.create(\ndata: message.to_json,\ntask: task,\nuser:... | Ruby | MIT License | cenit-io/cenit | Tracking task tokens errors |
108,883 | 16.10.2018 18:37:55 | 10,800 | a84abe365f7a63fe03871978c0dca8ba14333c5d | Using tenant owner by default | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/rabbit.rb",
"new_path": "lib/cenit/rabbit.rb",
"diff": "@@ -95,8 +95,13 @@ module Cenit\nmessage = message.with_indifferent_access\nif (message_token = message.delete(:token))\nif (token = TaskToken.where(token: message_token).first)\n- Cenit::MultiT... | Ruby | MIT License | cenit-io/cenit | Using tenant owner by default |
108,883 | 16.10.2018 18:39:29 | 10,800 | 333bfb79eeef3bce131fe37993de6207e1c043b3 | Task messages rejected or acknowledged exclusive | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/rabbit.rb",
"new_path": "lib/cenit/rabbit.rb",
"diff": "@@ -208,8 +208,10 @@ module Cenit\ntag: channel.generate_consumer_tag(Cenit.rabbit_mq_queue))\nnew_consumer = queue.subscribe(consumer_tag: new_rabbit_consumer.tag, manual_ack: true) do |deliver... | Ruby | MIT License | cenit-io/cenit | Task messages rejected or acknowledged exclusive |
108,883 | 17.10.2018 13:28:46 | 10,800 | 7f34f3e839fa62ea7081767aea52e4d160c9440d | Skipping task token for joining tasks | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/rabbit.rb",
"new_path": "lib/cenit/rabbit.rb",
"diff": "@@ -36,17 +36,19 @@ module Cenit\nreturn Setup::SystemNotification.create(message: \"Task instance for #{task_class} could not be persisted: #{task.errors.full_messages.to_sentence}\")\nend\nend... | Ruby | MIT License | cenit-io/cenit | Skipping task token for joining tasks |
108,883 | 17.10.2018 15:58:51 | 10,800 | 2e920866fdc6ea392950119dad912694107ad25b | SCHEDULER_LOOKUP_INTERVAL option | [
{
"change_type": "MODIFY",
"old_path": "config/initializers/cenit.rb",
"new_path": "config/initializers/cenit.rb",
"diff": "@@ -58,7 +58,7 @@ Cenit.config do\nmin_scheduler_interval 60\n- scheduler_lookup_interval 60\n+ scheduler_lookup_interval ENV['SCHEDULER_LOOKUP_INTERVAL'] || 60\ndefault_delay ... | Ruby | MIT License | cenit-io/cenit | SCHEDULER_LOOKUP_INTERVAL option |
108,883 | 18.10.2018 10:01:36 | 10,800 | a3e72d24e9213c41ad3e1cd641ceee67544f3477 | Active tenant penalties | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/core_ext.rb",
"new_path": "lib/cenit/core_ext.rb",
"diff": "@@ -96,10 +96,6 @@ end\nclass String\n- def delay(s)\n- sleep(s)\n- end\n-\ndef to_title\ntitle =\ngsub(/([A-Z])(\\d)/, '\\1 \\2').\n"
},
{
"change_type": "MODIFY",
"old_path": "... | Ruby | MIT License | cenit-io/cenit | Active tenant penalties |
108,883 | 18.10.2018 10:17:25 | 10,800 | e30686033aca9cffb44b5634e6ef70edc28d620a | Updating cache quotas | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/rabbit.rb",
"new_path": "lib/cenit/rabbit.rb",
"diff": "@@ -262,6 +262,8 @@ module Cenit\npublish_options[:headers] = { unscheduled: true } if delayed_message.unscheduled\nchannel.default_exchange.publish(delayed_message.message, publish_options)\nAc... | Ruby | MIT License | cenit-io/cenit | Updating cache quotas |
108,883 | 18.10.2018 10:24:45 | 10,800 | 2e93110f7400bdf25ff39d7cefa31910bfec67a9 | Fixing tenant key | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/rabbit.rb",
"new_path": "lib/cenit/rabbit.rb",
"diff": "@@ -250,7 +250,7 @@ module Cenit\ndispatched_ids = []\ntenant_tasks = {}\nActiveTenant.where(:tasks.gt => 0).each do |active_tenant|\n- tenant_tasks[active_tenant.id] = active_tenant.tasks\n+ te... | Ruby | MIT License | cenit-io/cenit | Fixing tenant key |
108,883 | 19.10.2018 20:31:26 | 10,800 | 92d5db7e1f2f699c5f0020ef4e52e7c0e198b498 | Reporting bundling algorithm error | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/bundler_interpreter.rb",
"new_path": "lib/cenit/bundler_interpreter.rb",
"diff": "@@ -149,6 +149,8 @@ module Cenit\nself_send_prefixer: self,\niteration_counter_prefix: \"alg#{algorithm.id}_it\",\ninvoke_counter_prefix: \"alg#{algorithm.id}_invk\")\n... | Ruby | MIT License | cenit-io/cenit | Reporting bundling algorithm error |
108,883 | 21.10.2018 09:23:19 | 10,800 | 1a3c64ca483b1f53a1e91516091a18eb84665adc | Run script reports | [
{
"change_type": "MODIFY",
"old_path": "lib/rails_admin/config/actions/run_script.rb",
"new_path": "lib/rails_admin/config/actions/run_script.rb",
"diff": "@@ -28,6 +28,7 @@ module RailsAdmin\n@output = @object.run(@input = params.delete(:input))\nend\nrescue Exception => ex\n+ Setup::SystemReport.c... | Ruby | MIT License | cenit-io/cenit | Run script reports |
108,883 | 21.10.2018 12:49:11 | 10,800 | b97b3f5d303efd1ef1d55cd97370e6fc06c10bd3 | Bundling terms of services | [
{
"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: 135bbc1555aa575ee9fb03f631c83c42dbb1e584\n+ revision: 1c26745cb0ee3e775795936b1e7d37e0ed1a7c6c\nspecs:\ncenit-home (0.... | Ruby | MIT License | cenit-io/cenit | Bundling terms of services |
108,883 | 23.10.2018 11:18:23 | 10,800 | 45573ba23f61c5695ce7186e677e4d2121fe2957 | Catching map attributes | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/mapping_converter.rb",
"new_path": "app/models/setup/mapping_converter.rb",
"diff": "@@ -10,6 +10,20 @@ module Setup\nvalidates_presence_of :target_data_type, :map_attributes\n+ before_save :catch_map_attributes\n+\n+ def catch_map_attributes\... | Ruby | MIT License | cenit-io/cenit | Catching map attributes |
108,883 | 23.10.2018 11:19:53 | 10,800 | c2695d5a204cf5464a35116ce988b837a9f9caf3 | Checking late pending references | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/utility.rb",
"new_path": "lib/cenit/utility.rb",
"diff": "@@ -68,17 +68,19 @@ module Cenit\noptions ||= {}\nreferences = {}\nfor_each_node_starting_at(record, options) do |obj|\n- if (record_refs = obj.instance_variable_get(:@_references))\n+ if (rec... | Ruby | MIT License | cenit-io/cenit | Checking late pending references |
108,883 | 23.10.2018 11:46:54 | 10,800 | 9c1b92fa992abba66b060e57b6e17159655f702e | Don't do it again by default | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/utility.rb",
"new_path": "lib/cenit/utility.rb",
"diff": "@@ -160,7 +160,7 @@ module Cenit\nend\ndef while_modifying(hash)\n- do_it = :again\n+ do_it = nil\nstart_size = hash.size + 1\nwhile do_it == :again || (hash.present? && hash.size < start_size... | Ruby | MIT License | cenit-io/cenit | Don't do it again by default |
108,883 | 25.10.2018 12:42:38 | 10,800 | 95eec4120e3fa8b6b06eaef026522cd17c1deea4 | Alive task status | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/file_store_migration.rb",
"new_path": "app/models/setup/file_store_migration.rb",
"diff": "@@ -58,7 +58,7 @@ module Setup\nclass << self\ndef migrating?(data_type)\n- Setup::FileStoreMigration.where(:status.in => Setup::Task::RUNNING_STATUS, d... | Ruby | MIT License | cenit-io/cenit | Alive task status |
108,883 | 26.10.2018 16:07:06 | 10,800 | 1bb5e1d25c62b00ad09c1f18e904f84f27422fdd | Filling user profile using Token ID | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/sessions_controller.rb",
"new_path": "app/controllers/sessions_controller.rb",
"diff": "@@ -31,8 +31,14 @@ class SessionsController < Devise::SessionsController\n(id_token = JWT.decode(id_token, nil, false, verfify_expiration: false)[0]) &&\nid... | Ruby | MIT License | cenit-io/cenit | Filling user profile using Token ID |
108,883 | 29.10.2018 14:01:01 | 10,800 | b5a43df24e69d06124dc17bca0559ba7f085265b | Accessing API v3 only via OAuth 2.0 | [
{
"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- Account.current = user = nil\n+ Account.current = User.current = error_description = n... | Ruby | MIT License | cenit-io/cenit | Accessing API v3 only via OAuth 2.0 |
108,883 | 29.10.2018 14:07:14 | 10,800 | 165694f1f86f0956ca450917ef3d9b847dd557bd | Enhancing user profile | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/sessions_controller.rb",
"new_path": "app/controllers/sessions_controller.rb",
"diff": "@@ -33,8 +33,10 @@ class SessionsController < Devise::SessionsController\nresource = resource_class.find_or_create_by(email: id_token['email'])\nresource.co... | Ruby | MIT License | cenit-io/cenit | Enhancing user profile |
108,883 | 29.10.2018 16:40:34 | 10,800 | 4b867d51e63c15ab6902791531b1272f0cc8ea91 | Fixing type selector | [
{
"change_type": "MODIFY",
"old_path": "app/models/rails_admin/config/actions/new_decorator.rb",
"new_path": "app/models/rails_admin/config/actions/new_decorator.rb",
"diff": "@@ -51,7 +51,7 @@ module RailsAdmin\nelsif request.post? || request.patch? # CREATE / COPY\n# Patch\n- if (model = @abstract... | Ruby | MIT License | cenit-io/cenit | Fixing type selector |
108,883 | 29.10.2018 17:18:47 | 10,800 | dd6604398178bb1fdb0a1ea866723896d6e7e602 | App Authorization model | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "app/models/setup/app_authorization.rb",
"diff": "+module Setup\n+ class AppAuthorization < Setup::Oauth2Authorization\n+ include CenitScoped\n+ include RailsAdmin::Models::Setup::AppAuthorizationAdmin\n+\n+ build_in_data_type.with(:namespace, :n... | Ruby | MIT License | cenit-io/cenit | App Authorization model |
108,883 | 30.10.2018 12:15:37 | 10,800 | 6f5c02867fbf43e76bd6e65c97e3db6fb44efbe8 | Fixing early count query | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/data_type.rb",
"new_path": "app/models/setup/data_type.rb",
"diff": "@@ -43,7 +43,7 @@ module Setup\ndef validates_configuration\ninvalid_algorithms = []\n- before_save_callbacks.each { |algorithm| invalid_algorithms << algorithm unless algori... | Ruby | MIT License | cenit-io/cenit | Fixing early count query |
108,883 | 30.10.2018 19:08:35 | 10,800 | cafb631ed6ed2a56bdf814a6b3625cfc5037389c | Fixing associated IDs lookup | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/utility.rb",
"new_path": "lib/cenit/utility.rb",
"diff": "@@ -337,12 +337,20 @@ module Cenit\nrescue\nnil\nend\n+ new_criteria = {}\ncriteria.each do |key, value|\nif (a = associations[key])\ncriteria.delete(key)\n- criteria[a.foreign_key] = { '$in' ... | Ruby | MIT License | cenit-io/cenit | Fixing associated IDs lookup |
108,883 | 31.10.2018 11:21:49 | 10,800 | da5b189dd59484096fbfa58a9dd7c056112bacb2 | Accessing user profile | [
{
"change_type": "MODIFY",
"old_path": "config/initializers/zcapataz.rb",
"new_path": "config/initializers/zcapataz.rb",
"diff": "@@ -196,7 +196,7 @@ Capataz.config do\ndeny_for Cenit::Control, [:model_adapter, :controller, :view]\n- allow_for User, [:id, :name, :number, :email, :sign_in_count, :cre... | Ruby | MIT License | cenit-io/cenit | Accessing user profile |
108,883 | 31.10.2018 13:05:23 | 10,800 | fb64db4264b505de6a3b0cc94be9d26a78b20fce | Forcing task token tenant! | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/rabbit.rb",
"new_path": "lib/cenit/rabbit.rb",
"diff": "@@ -85,13 +85,18 @@ module Cenit\ndef process_message(message, options = {})\nunless message.is_a?(Hash)\n- message = JSON.parse(message) rescue { token: message }\n+ message =\n+ begin\n+ JSON.... | Ruby | MIT License | cenit-io/cenit | Forcing task token tenant! |
108,883 | 31.10.2018 16:37:46 | 10,800 | e6da1a4887965a60f6100901f78ae530a0b10350 | Preserving password when authenticating via OAuth | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/sessions_controller.rb",
"new_path": "app/controllers/sessions_controller.rb",
"diff": "@@ -32,7 +32,9 @@ class SessionsController < Devise::SessionsController\nid_token['email'].present? && id_token['email_verified']\nresource = resource_class... | Ruby | MIT License | cenit-io/cenit | Preserving password when authenticating via OAuth |
108,883 | 31.10.2018 18:05:05 | 10,800 | 26cda71e859fee1eeaa88b94785cd753d5671794 | Cleaning up task token and delayed messages | [
{
"change_type": "MODIFY",
"old_path": "app/models/account.rb",
"new_path": "app/models/account.rb",
"diff": "@@ -156,6 +156,8 @@ class Account\nswitch do\nCenit::ApplicationId.where(:id.in => Cenit::Oauth.app_model.all.collect(&:application_id_id)).delete_all\nend\n+ TaskToken.where(tenant_id: id).... | Ruby | MIT License | cenit-io/cenit | Cleaning up task token and delayed messages |
108,883 | 05.11.2018 13:12:06 | 10,800 | 5d55da7afb685789ede2f5a25121770f464388b4 | Tasks before run callback | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/task.rb",
"new_path": "app/models/setup/task.rb",
"diff": "@@ -144,6 +144,15 @@ module Setup\nend\nThread.current[:task_token] = thread_token.token\ncurrent_execution.start(time: time)\n+ before_run_ex = nil\n+ do_run =\n+ begin\n+ before_run\... | Ruby | MIT License | cenit-io/cenit | Tasks before run callback |
108,883 | 05.11.2018 16:23:51 | 10,800 | c021b63f32bad6835859e1c4319d51b7c499b3f5 | Bringing to front allow_origin_header callback | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/api/v3/api_controller.rb",
"new_path": "app/controllers/api/v3/api_controller.rb",
"diff": "module Api::V3\nclass ApiController < ApplicationController\n+ before_action :allow_origin_header\nbefore_action :authorize_account, except: [:new_user,... | Ruby | MIT License | cenit-io/cenit | Bringing to front allow_origin_header callback |
108,883 | 05.11.2018 17:28:43 | 10,800 | 21ba4b9be180b4719b3e783ee8652221e4213961 | Fixing method visibility | [
{
"change_type": "MODIFY",
"old_path": "app/models/cenit/oauth_scope.rb",
"new_path": "app/models/cenit/oauth_scope.rb",
"diff": "@@ -262,6 +262,28 @@ module Cenit\nsuper_methods.dup\nend\n+ def can?(action, model)\n+ return false unless (data_type = model.try(:data_type))\n+ method =\n+ case action... | Ruby | MIT License | cenit-io/cenit | Fixing method visibility |
108,883 | 05.11.2018 17:29:26 | 10,800 | ff8dbca1ef6324fb56867bfc9560a906d0eb0ae5 | Process headers before authorizing action | [
{
"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, except: :cors_check\nbefore_action :process_head... | Ruby | MIT License | cenit-io/cenit | Process headers before authorizing action |
108,883 | 07.11.2018 15:02:59 | 10,800 | dc27c2555644f3fe22777e21c8a718856336d5ac | Fixing snippet name presence | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/snippet_code.rb",
"new_path": "app/models/setup/snippet_code.rb",
"diff": "@@ -61,7 +61,7 @@ module Setup\ndef configure_snippet\nif snippet_ref.new_record?\nsnippet_ref.namespace ||= namespace\n- name = snippet_ref.name || snippet_name\n+ nam... | Ruby | MIT License | cenit-io/cenit | Fixing snippet name presence |
108,883 | 08.11.2018 07:13:11 | 10,800 | 499b9a5c22d7de94a0328f7af21a18520efb33bf | Fixing algorithm output validation | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/algorithm.rb",
"new_path": "app/models/setup/algorithm.rb",
"diff": "@@ -201,20 +201,20 @@ module Setup\nend\nrc = Cenit::BundlerInterpreter.run(self, *input)\n- if rc.present?\n+ if rc\nif store_output\nunless output_datatype\nfail 'Execution... | Ruby | MIT License | cenit-io/cenit | Fixing algorithm output validation |
108,883 | 08.11.2018 17:33:49 | 10,800 | c7c957c166f6e233a8be0f5eec5066eb222a89f1 | Useful shortcuts | [
{
"change_type": "MODIFY",
"old_path": "app/models/user.rb",
"new_path": "app/models/user.rb",
"diff": "@@ -119,6 +119,10 @@ class User\nread_attribute(:name) || \"#{given_name} #{family_name}\".strip.presence\nend\n+ def short_name\n+ given_name.presence || name.presence\n+ end\n+\ndef picture_url(... | Ruby | MIT License | cenit-io/cenit | Useful shortcuts |
108,883 | 12.11.2018 13:51:14 | 10,800 | 09a9795b32a9dfd043dff579fb0fce5a73b998eb | Fixing snippet namespace auto generation | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/snippet_code.rb",
"new_path": "app/models/setup/snippet_code.rb",
"diff": "@@ -60,7 +60,7 @@ module Setup\ndef configure_snippet\nif snippet_ref.new_record?\n- snippet_ref.namespace ||= namespace\n+ snippet_ref.namespace = snippet_ref.namespac... | Ruby | MIT License | cenit-io/cenit | Fixing snippet namespace auto generation |
108,883 | 13.11.2018 16:49:33 | 10,800 | 2517bdb5ee3c0f640be73c8c2276246d1bc0d577 | Options for initializers configuration | [
{
"change_type": "MODIFY",
"old_path": "app/helpers/rails_admin/application_helper_decorator.rb",
"new_path": "app/helpers/rails_admin/application_helper_decorator.rb",
"diff": "@@ -352,9 +352,28 @@ module RailsAdmin\ndefinitions_index = main_labels.length\nend\n+ before_lis = ''\n+ after_lis = ''\n... | Ruby | MIT License | cenit-io/cenit | Options for initializers configuration |
108,883 | 15.11.2018 14:40:09 | 10,800 | 7a92e8282c3bf69a99552637a0d394cdb1fbaf08 | Fixing snippet namespace ref | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/snippet_code.rb",
"new_path": "app/models/setup/snippet_code.rb",
"diff": "@@ -63,7 +63,7 @@ module Setup\nsnippet_ref.namespace = snippet_ref.namespace.presence || namespace\nname = snippet_ref.name.presence || snippet_name\ni = 0\n- while Se... | Ruby | MIT License | cenit-io/cenit | Fixing snippet namespace ref |
108,883 | 15.11.2018 14:40:57 | 10,800 | ef4d09e8636f681a7daaab9e4d3c46c8141f03f4 | Crossing records before catching pull data | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/collection_behavior.rb",
"new_path": "app/models/setup/collection_behavior.rb",
"diff": "@@ -227,6 +227,7 @@ module Setup\nend\nend\nend\n+ reload\nend\ndef shared?\n"
},
{
"change_type": "MODIFY",
"old_path": "app/models/setup/cro... | Ruby | MIT License | cenit-io/cenit | Crossing records before catching pull data |
108,883 | 17.11.2018 16:48:33 | 10,800 | 49470ea0d6e46c5adfae725435ddb8098ea7f485 | Comfirmable by default | [
{
"change_type": "MODIFY",
"old_path": "app/assets/stylesheets/framework_and_overrides.css.scss",
"new_path": "app/assets/stylesheets/framework_and_overrides.css.scss",
"diff": "@@ -50,6 +50,9 @@ section {\nmargin-top: 20px;\n}\n+.user-auth {\n+ padding-top: 20px;\n+}\n.user-auth .panel-heading a,\n... | Ruby | MIT License | cenit-io/cenit | Comfirmable by default |
108,883 | 17.11.2018 17:17:04 | 10,800 | 44ec64cb28902f5d4da7da6755c8581b4d57366c | Cenit IO Inc. | [
{
"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: 1c26745cb0ee3e775795936b1e7d37e0ed1a7c6c\n+ revision: 497230877a070656dff869ca020ecc86b8ea7873\nspecs:\ncenit-home (0.... | Ruby | MIT License | cenit-io/cenit | Cenit IO Inc. |
108,883 | 19.11.2018 15:32:31 | 10,800 | 293b1ec7f2b09994af1dc4799c9be6ce8f407bbb | Route draw listeners | [
{
"change_type": "MODIFY",
"old_path": "config/routes.rb",
"new_path": "config/routes.rb",
"diff": "@@ -120,4 +120,16 @@ Cenit::Application.routes.draw do\nmatch '/:model_name/:id/swagger/*path' => 'rails_admin/main#swagger', via: [:all]\nget '/:model_name/*id', to: 'rails_admin/main#show'\n+\n+ Cen... | Ruby | MIT License | cenit-io/cenit | Route draw listeners |
108,883 | 19.11.2018 16:23:12 | 10,800 | d53eaeccf652d1c646adcd58aa6901586299e26d | Devise confirmations only for authenticated users | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "app/controllers/confirmations_controller.rb",
"diff": "+class ConfirmationsController < Devise::ConfirmationsController\n+ before_action :allow_x_frame\n+\n+ def new\n+ if signed_in?\n+ super\n+ else\n+ redirect_to new_session_path(User)\n+ end\... | Ruby | MIT License | cenit-io/cenit | Devise confirmations only for authenticated users |
108,883 | 20.11.2018 13:56:50 | 10,800 | 708e23a875c1ea521b4e3bc6a21195fc29e3fdf4 | Devise confirmation status via XHR | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/confirmations_controller.rb",
"new_path": "app/controllers/confirmations_controller.rb",
"diff": "class ConfirmationsController < Devise::ConfirmationsController\n- before_action :allow_x_frame\n+ before_action :allow_x_frame, :check_signed_in\... | Ruby | MIT License | cenit-io/cenit | Devise confirmation status via XHR |
108,883 | 22.11.2018 09:50:40 | 10,800 | 64d268e22d547ccc3203800076fde1f189a03c89 | Namespace modules | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/rails_admin/application_controller_decorator.rb",
"new_path": "app/controllers/rails_admin/application_controller_decorator.rb",
"diff": "@@ -7,7 +7,7 @@ module RailsAdmin\ndef to_model_name(param_model_name)\nmodel_name = param_model_name.spli... | Ruby | MIT License | cenit-io/cenit | Namespace modules |
108,883 | 22.11.2018 14:10:27 | 10,800 | 35533b2dc43446ae28d42048ae2a8119291a2b16 | Fixing bulk data type deletion | [
{
"change_type": "MODIFY",
"old_path": "app/views/rails_admin/main/delete_data_types.haml",
"new_path": "app/views/rails_admin/main/delete_data_types.haml",
"diff": "%form{method: 'delete', class: 'form-horizontal denser', action: url_for(action: @action.action_name)}\n- (@bulk_ids || []).each do |i... | Ruby | MIT License | cenit-io/cenit | Fixing bulk data type deletion |
108,883 | 24.11.2018 00:29:05 | 10,800 | 0d3f410f76a19d527df2fd6f46f8b85ec118695b | Locker locking | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/locker.rb",
"new_path": "lib/cenit/locker.rb",
"diff": "@@ -2,6 +2,16 @@ module Cenit\nmodule Locker\nclass << self\n+ def locking(obj)\n+ if lock(obj)\n+ begin\n+ yield if block_given?\n+ ensure\n+ unlock(obj)\n+ end\n+ end\n+ end\n+\ndef lock(obj)\... | Ruby | MIT License | cenit-io/cenit | Locker locking |
108,883 | 24.11.2018 12:33:00 | 10,800 | 9c5bc93c517a23ca474b08484ac32d416f116e75 | Removing cenit_cmd gem. | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -84,15 +84,11 @@ gem 'parser'\ngem 'oauth'\ngem 'bootstrap-wysihtml5-rails', '> 0.3.1.24'\n-gem 'cenit_cmd', git: 'https://github.com/openjaf/cenit_cmd.git'\n-gem 'jeweler'\n-gem 'github_api'\ngem 'captcha'\ngem \"r... | Ruby | MIT License | cenit-io/cenit | Removing cenit_cmd gem. |
108,883 | 27.11.2018 09:45:50 | 10,800 | 9956a6f029c4d12feed4b6ba3ec944dc550051e7 | Upgrading oauth2 | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -88,7 +88,7 @@ gem 'captcha'\ngem \"recaptcha\", require: \"recaptcha/rails\"\ngem 'httmultiparty'\n-gem 'oauth2', '1.0.0'\n+gem 'oauth2'\ngem 'exception_notification'\ngem 'mime'\n"
},
{
"change_type": "MOD... | Ruby | MIT License | cenit-io/cenit | Upgrading oauth2 |
108,883 | 28.11.2018 10:36:29 | 10,800 | 47b871a339beba51b122697fd6a8165cf257b33c | Reset schema cache when resetting snippet | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/json_data_type.rb",
"new_path": "app/models/setup/json_data_type.rb",
"diff": "@@ -50,6 +50,14 @@ module Setup\nsuper\nend\n+ def set_relation(name, relation)\n+ r = super\n+ if name == :snippet\n+ @schema = nil\n+ end\n+ r\n+ end\n+\ndef sche... | Ruby | MIT License | cenit-io/cenit | Reset schema cache when resetting snippet |
108,883 | 28.11.2018 10:38:08 | 10,800 | 080c113c114e367a6cef84d931927db5c12e9506 | Fixing lazy dependencies when binding references | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/optimizer.rb",
"new_path": "app/models/setup/optimizer.rb",
"diff": "@@ -7,11 +7,9 @@ module Setup\ndef regist_data_types(data_types)\ndata_types = [data_types] unless data_types.is_a?(Enumerable)\n- if (data_type = data_types.first)\n- ns_has... | Ruby | MIT License | cenit-io/cenit | Fixing lazy dependencies when binding references |
108,871 | 28.11.2018 12:06:38 | 18,000 | 4f3ff0912657d8f406c1111768dd9b7875e647a6 | Add
Add wrapper to fail method to throw exceptions | [
{
"change_type": "MODIFY",
"old_path": "config/initializers/zcapataz.rb",
"new_path": "config/initializers/zcapataz.rb",
"diff": "@@ -31,7 +31,7 @@ Capataz.config do\nallow_on [Account, Tenant], [:find_where, :find_all, :switch, :notify, :data_type, :current, :name]\n- allow_on Cenit, [:homepage, :n... | Ruby | MIT License | cenit-io/cenit | Add
Add wrapper to fail method to throw exceptions |
108,871 | 28.11.2018 12:06:51 | 18,000 | d2deee4242c0577052516efffb0d7d4728582710 | Add
Add wrapper to respond_to controller method | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/control.rb",
"new_path": "lib/cenit/control.rb",
"diff": "@@ -80,6 +80,12 @@ module Cenit\nargs[0].to_s =~ /\\Arender_.+\\Z/ || super\nend\n+ def respond_to(&block)\n+ @controller.respond_to do |format|\n+ block.call(format)\n+ end\n+ end\n+\ndef ren... | Ruby | MIT License | cenit-io/cenit | Add
Add wrapper to respond_to controller method |
108,883 | 28.11.2018 14:10:36 | 10,800 | 724524ac7f37e5f565cae7d352953e99298b9f1b | Skip segment tag option | [
{
"change_type": "MODIFY",
"old_path": "lib/edi/formater.rb",
"new_path": "lib/edi/formater.rb",
"diff": "@@ -519,7 +519,7 @@ module Edi\nreturn output unless record\nfield_sep = options[:field_separator]\nsegment =\n- if (edi_options = schema['edi'] || {})['virtual']\n+ if (edi_options = schema['ed... | Ruby | MIT License | cenit-io/cenit | Skip segment tag option |
108,883 | 29.11.2018 11:20:46 | 10,800 | 944f0630fecae99bbc066231be24969e91747b60 | Custom callback authorization ID and params | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/oauth_controller.rb",
"new_path": "app/controllers/oauth_controller.rb",
"diff": "@@ -57,15 +57,21 @@ class OauthController < ApplicationController\nbegin\nauthorization.metadata[:redirect_token] = redirect_token = Devise.friendly_token\nredire... | Ruby | MIT License | cenit-io/cenit | Custom callback authorization ID and params |
108,883 | 29.11.2018 12:44:26 | 10,800 | b4b852d4a321b2d7a0b622369dd3ff19545b412f | Fixing legacy code | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/webhook_common.rb",
"new_path": "app/models/setup/webhook_common.rb",
"diff": "@@ -312,7 +312,7 @@ module Setup\nattachment: attachment,\nskip_notification_level: options[:skip_notification_level] || options[:notify_request]\n)\n- msg[:timeout... | Ruby | MIT License | cenit-io/cenit | Fixing legacy code |
108,883 | 30.11.2018 15:27:54 | 10,800 | 3e5c2d12ce5c67c57e0680b186094700e4f68c1e | Asynchronous persistence action | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/rails_admin/main_controller_decorator.rb",
"new_path": "app/controllers/rails_admin/main_controller_decorator.rb",
"diff": "@@ -207,5 +207,22 @@ module RailsAdmin\noptions = options.merge(criteria: params[:c]) if params[:c].present?\nmodel_conf... | Ruby | MIT License | cenit-io/cenit | Asynchronous persistence action |
108,883 | 03.12.2018 17:36:40 | 10,800 | 8cbbdda169bfca92a4c7000bc86684d54174396e | Updating both access and refresh tokens | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/base_oauth_provider.rb",
"new_path": "app/models/setup/base_oauth_provider.rb",
"diff": "@@ -87,12 +87,16 @@ module Setup\n)\nbody = JSON.parse(http_response.body)\nif http_response.code == 200\n- authorization.update!(\n+ update_data = {\naut... | Ruby | MIT License | cenit-io/cenit | Updating both access and refresh tokens |
108,883 | 05.12.2018 10:35:24 | 10,800 | 696aee030a81e98bd42316d8e36449f82c6d5a17 | Default OAuth callback URL | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/callback_authorization.rb",
"new_path": "app/models/setup/callback_authorization.rb",
"diff": "@@ -46,7 +46,7 @@ module Setup\nend\ndef callback_url\n- \"#{Cenit.oauth2_callback_site}/oauth/callback\"\n+ \"#{Cenit.homepage}/oauth/callback\"\ne... | Ruby | MIT License | cenit-io/cenit | Default OAuth callback URL |
108,883 | 06.12.2018 16:24:21 | 10,800 | c33a6f3f9cab755cd5b627bccca8202b28284b4d | Fixing Callback Authorization test | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/control.rb",
"new_path": "lib/cenit/control.rb",
"diff": "@@ -116,7 +116,7 @@ module Cenit\ndef authorize(auth, parameters = {})\ncase auth\n- when Setup::BaseOauthAuthorization\n+ when Setup::CallbackAuthorization\nif auth.save\ncenit_token = Callba... | Ruby | MIT License | cenit-io/cenit | Fixing Callback Authorization test |
108,883 | 06.12.2018 16:57:01 | 10,800 | 3a72b2e69b4e9880bedcbe74ebf643dfe42928f8 | hex_sha256 utility method | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/core_ext.rb",
"new_path": "lib/cenit/core_ext.rb",
"diff": "@@ -206,6 +206,10 @@ class String\nopenssl_digest[:sha256].digest(self)\nend\n+ def hex_sha256\n+ openssl_digest[:sha256].hexdigest(self)\n+ end\n+\ndef to_hex\neach_byte.map { |b| b.to_s(16... | Ruby | MIT License | cenit-io/cenit | hex_sha256 utility method |
108,883 | 06.12.2018 18:20:30 | 10,800 | ea48f6a861d71dde5aaeab31a667216e46ae2225 | Digest API v3 for flow execution | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/api/v3/api_controller.rb",
"new_path": "app/controllers/api/v3/api_controller.rb",
"diff": "@@ -643,6 +643,23 @@ module Setup\n}\nend\nend\n+\n+ class Flow\n+\n+ def post_digest(request, options = {})\n+ begin\n+ message = JSON.parse(request.bo... | Ruby | MIT License | cenit-io/cenit | Digest API v3 for flow execution |
108,883 | 07.12.2018 08:33:03 | 10,800 | aaab4a943d95689bf2b11ca4dfc6661ccaaa8788 | Custom remote client headers and params for refresh token request | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/base_oauth_provider.rb",
"new_path": "app/models/setup/base_oauth_provider.rb",
"diff": "@@ -74,10 +74,13 @@ module Setup\ndef default_refresh_token(authorization)\nif (refresh_token = authorization.refresh_token) &&\n(authorization.authorized... | Ruby | MIT License | cenit-io/cenit | Custom remote client headers and params for refresh token request |
108,883 | 07.12.2018 12:26:46 | 10,800 | 48935297e82fa54fee3b7bc94b140a6ec8ce288d | Custom Gemfile | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -130,3 +130,9 @@ gem 'diffy'\ngem 'pdf-forms', '~> 1.1', '>= 1.1.1'\ngem 'combine_pdf', '1.0.4'\n+\n+custom_gemfile_name = 'custom_Gemfile'\n+\n+if File.exist?(custom_gemfile_name)\n+ instance_eval File.read(custom_... | Ruby | MIT License | cenit-io/cenit | Custom Gemfile |
108,883 | 10.12.2018 16:44:57 | 10,800 | 23e6e6e875110871135f4021134c76a2206e147e | Capatizing tenant records | [
{
"change_type": "MODIFY",
"old_path": "app/models/account.rb",
"new_path": "app/models/account.rb",
"diff": "@@ -178,6 +178,11 @@ class Account\nUser.current = current_user\nend\n+ def get_owner\n+ fail 'Illegal access to tenant owner' unless User.current_super_admin?\n+ owner\n+ end\n+\nclass << s... | Ruby | MIT License | cenit-io/cenit | Capatizing tenant records |
108,883 | 10.12.2018 17:40:37 | 10,800 | 708c763a8c28014b05e28ec859234c516a9689c0 | Current tenant API | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/api/v3/api_controller.rb",
"new_path": "app/controllers/api/v3/api_controller.rb",
"diff": "@@ -489,6 +489,8 @@ module Api::V3\ndef find_item\nif (id = params[:__id_]) == 'me' && klass == User\nid = User.current_id\n+ elsif id == 'current' && k... | Ruby | MIT License | cenit-io/cenit | Current tenant API |
108,883 | 11.12.2018 08:49:13 | 10,800 | 02017b50917f933a0d37ca2e7279e26b39e808de | Restoring OAuth access token default tenant | [
{
"change_type": "MODIFY",
"old_path": "app/models/cenit/oauth_access_token.rb",
"new_path": "app/models/cenit/oauth_access_token.rb",
"diff": "@@ -15,6 +15,14 @@ module Cenit\n# Nothing here\nend\n+ def get_tenant\n+ if access_grant.origin == :owner\n+ tenant.owner.account\n+ else\n+ super\n+ end\n... | Ruby | MIT License | cenit-io/cenit | Restoring OAuth access token default tenant |
108,883 | 11.12.2018 09:24:39 | 10,800 | 0b65c3f51912ac70fbb2755e910e00075ef03fb6 | Lookup messages utility | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/rabbit.rb",
"new_path": "lib/cenit/rabbit.rb",
"diff": "@@ -249,7 +249,13 @@ module Cenit\ndef start_scheduler\nif init\n@scheduler_job = Rufus::Scheduler.new.interval \"#{Cenit.scheduler_lookup_interval}s\" do\n- begin\n+ lookup_messages\n+ end\n+ p... | Ruby | MIT License | cenit-io/cenit | Lookup messages utility |
108,883 | 11.12.2018 11:16:13 | 10,800 | b35a0bed21272a0fa0fde55497300c2741b26a4f | Allowing tenant switching | [
{
"change_type": "MODIFY",
"old_path": "config/initializers/zcapataz.rb",
"new_path": "config/initializers/zcapataz.rb",
"diff": "@@ -31,7 +31,7 @@ Capataz.config do\nallow_on [Account, Tenant], [:find_where, :find_all, :switch, :notify, :data_type, :current]\n- allow_for [Account, Tenant], [:id, :n... | Ruby | MIT License | cenit-io/cenit | Allowing tenant switching |
108,883 | 11.12.2018 14:37:45 | 10,800 | 6b31b2c3f2919da3a9ac9a2742fecc33336fdcf3 | Custom OAuth2 authenticator mode (none) for Lazada | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/lazada_authorization.rb",
"new_path": "app/models/setup/lazada_authorization.rb",
"diff": "@@ -8,6 +8,10 @@ module Setup\nauth_template_parameters access_token: ->(oauth2_auth) { oauth2_auth.fresh_access_token }\n+ def create_http_client(optio... | Ruby | MIT License | cenit-io/cenit | Custom OAuth2 authenticator mode (none) for Lazada |
108,883 | 11.12.2018 15:43:03 | 10,800 | 9a36931b6695c8b80bc384820dbe87387059b419 | Removing unnecessary task | [
{
"change_type": "DELETE",
"old_path": "lib/tasks/oauth.rake",
"new_path": null,
"diff": "-# this code should be add in lib/tasks/oauth.rake\n-require 'highline/import'\n-\n-namespace :admin do\n- desc \"Create admin username and password\"\n- task :create => :environment do\n- # see last line where... | Ruby | MIT License | cenit-io/cenit | Removing unnecessary task |
108,883 | 11.12.2018 16:40:23 | 10,800 | 87cd191e09083ce1a726cfa6a69950ca49b8fb6b | Updating gems for assets pre-compiling | [
{
"change_type": "MODIFY",
"old_path": "Gemfile.lock",
"new_path": "Gemfile.lock",
"diff": "@@ -193,7 +193,7 @@ GEM\ncombine_pdf (1.0.4)\nruby-rc4 (>= 0.1.5)\ncommonjs (0.2.7)\n- concurrent-ruby (1.0.5)\n+ concurrent-ruby (1.1.3)\ncoveralls (0.8.9)\njson (~> 1.8)\nrest-client (>= 1.6.8, < 2)\n@@ -23... | Ruby | MIT License | cenit-io/cenit | Updating gems for assets pre-compiling |
108,883 | 11.12.2018 17:25:44 | 10,800 | e8fb7cc8da92568fcf1cdbf0a671f4294c455f58 | Attach default access tokens to the origin tenant | [
{
"change_type": "MODIFY",
"old_path": "app/models/cenit/oauth_access_token.rb",
"new_path": "app/models/cenit/oauth_access_token.rb",
"diff": "@@ -15,14 +15,6 @@ module Cenit\n# Nothing here\nend\n- def get_tenant\n- if access_grant.origin == :owner\n- tenant.owner.account\n- else\n- super\n- end\n... | Ruby | MIT License | cenit-io/cenit | Attach default access tokens to the origin tenant |
108,883 | 12.12.2018 23:46:25 | 10,800 | 476c953ac2e010e089c126b1715127228cd26054 | Enabling distinct query | [
{
"change_type": "MODIFY",
"old_path": "config/initializers/zcapataz.rb",
"new_path": "config/initializers/zcapataz.rb",
"diff": "@@ -162,7 +162,7 @@ Capataz.config do\n:encode64, :decode64, :urlsafe_encode64, :new_io, :get_input_stream, :open, :new_document\n] + Setup::Webhook.method_enum\n- allow_... | Ruby | MIT License | cenit-io/cenit | Enabling distinct query |
108,883 | 13.12.2018 15:29:25 | 10,800 | 08281067e5d724c7fa5550c140a772a31ba7f594 | Releasing visible restriction | [
{
"change_type": "MODIFY",
"old_path": "lib/rails_admin/config/actions/delete_all.rb",
"new_path": "lib/rails_admin/config/actions/delete_all.rb",
"diff": "@@ -3,10 +3,6 @@ module RailsAdmin\nmodule Actions\nclass DeleteAll < RailsAdmin::Config::Actions::Base\n- register_instance_option :visible? do... | Ruby | MIT License | cenit-io/cenit | Releasing visible restriction |
108,883 | 13.12.2018 17:23:04 | 10,800 | 257b32102bdab9bfeda01c465e0a2e0c8a9c3717 | Refactoring flow scope evaluators | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/flow.rb",
"new_path": "app/models/setup/flow.rb",
"diff": "@@ -100,7 +100,13 @@ module Setup\nrejects(:scope_evaluator)\nwhen :evaluation\nunless requires(:scope_evaluator)\n- errors.add(:scope_evaluator, 'must receive one parameter') unless s... | Ruby | MIT License | cenit-io/cenit | Refactoring flow scope evaluators |
108,883 | 14.12.2018 14:27:41 | 10,800 | fc9a3b4c24202898f08cf1807cb736ab5277e85b | Custom header partials | [
{
"change_type": "MODIFY",
"old_path": "app/views/layouts/rails_admin/pjax.html.haml",
"new_path": "app/views/layouts/rails_admin/pjax.html.haml",
"diff": ".fixed-top-area\n= breadcrumb\n.scrollable-container\n+ - Cenit.options.keys.grep(/header:partial\\Z/).each do |partial_ref|\n+ = render partial... | Ruby | MIT License | cenit-io/cenit | Custom header partials |
108,883 | 17.12.2018 10:19:35 | 10,800 | e021c5f784871e506f491abc10cfceda833ceda1 | Using absolute URLs for confirmation instructions | [
{
"change_type": "MODIFY",
"old_path": "app/views/devise/mailer/confirmation_instructions.html.erb",
"new_path": "app/views/devise/mailer/confirmation_instructions.html.erb",
"diff": "<br/>\nHowever, if you indeed signed up for an account on our platform, please click the\nfollowing link to complete... | Ruby | MIT License | cenit-io/cenit | Using absolute URLs for confirmation instructions |
108,883 | 17.12.2018 14:13:38 | 10,800 | 6fe15e0cca065a0d77676ca0343358760c2dbb4e | Fixing :except method missing | [
{
"change_type": "MODIFY",
"old_path": "lib/rails_admin/models/mongoid/tracer/trace_admin.rb",
"new_path": "lib/rails_admin/models/mongoid/tracer/trace_admin.rb",
"diff": "@@ -18,7 +18,7 @@ module RailsAdmin\njson_formatter do\nproc do |traces, options|\n- attrs = %w(model_label target_show_url obje... | Ruby | MIT License | cenit-io/cenit | Fixing :except method missing |
108,883 | 18.12.2018 18:34:24 | 10,800 | aed37df78ecea11efeb766e940a297190719ff0c | XMLRPC utility (pilot) | [
{
"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 | XMLRPC utility (pilot) |
108,873 | 19.12.2018 18:03:15 | 18,000 | 2bf2d34364b3acef10943d5c1218a3907f21b529 | [UPD] Cenit XMLRPC
Avoid the tag "params" when no arguments are passed to the method "method_call".
Added some validations and modified the response in the "parse" method. | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/xmlrpc.rb",
"new_path": "lib/cenit/xmlrpc.rb",
"diff": "@@ -7,12 +7,13 @@ module Cenit\nend\ndef method_missing(symbol, *args)\n- Encoder.encode(\n- methodCall: {\n- methodName: symbol,\n- params: args.collect { |p| { param: Encoder.hash_encode(p) } ... | Ruby | MIT License | cenit-io/cenit | [UPD] Cenit XMLRPC
- Avoid the tag "params" when no arguments are passed to the method "method_call".
- Added some validations and modified the response in the "parse" method. |
108,873 | 20.12.2018 11:32:52 | 18,000 | 83347cadd3d851e46d8e9c86e76db1de166e8721 | [RMK] Cenit XMLRPC
Use symbol keys notation.
For convenience keep parse(xml) for generic XMLRPC format parsing into a Hash and include a new method "parse_method_response(xml)" to parse an XMLRPC response. | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/xmlrpc.rb",
"new_path": "lib/cenit/xmlrpc.rb",
"diff": "@@ -8,11 +8,11 @@ module Cenit\ndef method_missing(symbol, *args)\nbody_request = {\n- \"methodCall\" => {\n- \"methodName\" => symbol\n+ :methodCall => {\n+ :methodName => symbol\n}\n}\n- body_... | Ruby | MIT License | cenit-io/cenit | [RMK] Cenit XMLRPC
- Use symbol keys notation.
- For convenience keep parse(xml) for generic XMLRPC format parsing into a Hash and include a new method "parse_method_response(xml)" to parse an XMLRPC response. |
108,873 | 20.12.2018 12:19:40 | 18,000 | 706758e090b5e4e56d5136f384942f28c070b29f | [RMK] Cenit XMLRPC
Optimized the code. | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/xmlrpc.rb",
"new_path": "lib/cenit/xmlrpc.rb",
"diff": "@@ -22,15 +22,15 @@ module Cenit\ndef parse_method_response(xml)\nparsing_xml = Encoder.hash_decode(Hash.from_xml(xml))\n- raise \"No valid method response!\" unless parsing_xml['methodName'].ni... | Ruby | MIT License | cenit-io/cenit | [RMK] Cenit XMLRPC
- Optimized the code. |
108,883 | 21.12.2018 13:46:43 | 10,800 | bc02415e041a573251953d734391bf22bc938596 | Handling tenant-less messages | [
{
"change_type": "MODIFY",
"old_path": "lib/cenit/rabbit.rb",
"new_path": "lib/cenit/rabbit.rb",
"diff": "@@ -266,7 +266,8 @@ module Cenit\nquota = opts[:quota] || tasks_quota(tenant_tasks.size)\ndelayed_message_digester = proc do |delayed_message|\n- if (tenant = delayed_message.tenant) && (tenant_... | Ruby | MIT License | cenit-io/cenit | Handling tenant-less messages |
108,883 | 21.12.2018 22:37:14 | 10,800 | 362233527c190fd23b57a91a4df4238f0b22735e | Running scripts in task execution context | [
{
"change_type": "MODIFY",
"old_path": "app/models/script.rb",
"new_path": "app/models/script.rb",
"diff": "@@ -18,7 +18,7 @@ class Script\n[]\nend\n- def run(input)\n- instance_eval(code)\n+ def run(task)\n+ task.instance_eval(code)\nend\nend\n"
},
{
"change_type": "MODIFY",
"old_path":... | Ruby | MIT License | cenit-io/cenit | Running scripts in task execution context |
108,879 | 04.01.2019 14:27:47 | 18,000 | aab27befc56c59cdf36e0e5889b609c1ee15d016 | Changed Slack invitacion url | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -415,4 +415,5 @@ Thank you for your contributions:\n[apisDir-link]: https://github.com/APIs-guru/openapi-directory/tree/master/APIs\n[twitterFollow-image]: https://img.shields.io/twitter/follow/cenit_io.svg?styl... | Ruby | MIT License | cenit-io/cenit | Changed Slack invitacion url |
108,883 | 07.01.2019 15:50:46 | 10,800 | 8e90db5d1449931e28888748d37b62fadc3c9756 | Frozen origin for the Build-In Cenit OAuth provider | [
{
"change_type": "MODIFY",
"old_path": "app/models/setup/oauth2_provider.rb",
"new_path": "app/models/setup/oauth2_provider.rb",
"diff": "@@ -15,12 +15,16 @@ module Setup\nSetup::Oauth2Scope.find_or_create_by(origin: origin, provider_id: id, name: '{{scope}}')\nend\n+ def can_cross?(origin)\n+ (id !... | Ruby | MIT License | cenit-io/cenit | Frozen origin for the Build-In Cenit OAuth provider |
108,883 | 09.01.2019 19:15:14 | 10,800 | 3eaa323377e2f2a614bc395102a9469b1b3430ff | Symbolizing options keys | [
{
"change_type": "MODIFY",
"old_path": "lib/edi/formater.rb",
"new_path": "lib/edi/formater.rb",
"diff": "@@ -114,6 +114,7 @@ module Edi\nend\noptions[:viewport] = viewport\nend\n+ options.symbolize_keys!\nend\ndef parse_viewport(value)\n"
},
{
"change_type": "MODIFY",
"old_path": "lib/e... | Ruby | MIT License | cenit-io/cenit | Symbolizing options keys |
108,883 | 09.01.2019 19:51:12 | 10,800 | 5bc9a72069300078b6dafdeae6112b1183025096 | Fixing missing symbolize_keys method | [
{
"change_type": "MODIFY",
"old_path": "lib/edi/formater.rb",
"new_path": "lib/edi/formater.rb",
"diff": "@@ -114,7 +114,11 @@ module Edi\nend\noptions[:viewport] = viewport\nend\n- options.symbolize_keys!\n+ options.keys.each do |option|\n+ if option.is_a?(String)\n+ options[option.to_sym] = value\... | Ruby | MIT License | cenit-io/cenit | Fixing missing symbolize_keys method |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.