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
21.05.2018 13:28:01
14,400
7e154bdcdb35e1cb634eb2a6c9e36981319e652e
Delegating connections lookup on operations
[ { "change_type": "MODIFY", "old_path": "app/models/setup/resource.rb", "new_path": "app/models/setup/resource.rb", "diff": "@@ -41,7 +41,7 @@ module Setup\nsubmit_method = \"#{submit_method}!\"\nend\noperation.resource = self\n- operation.send(submit_method, *args, &block)\n+ operation.upon(@connect...
Ruby
MIT License
cenit-io/cenit
Delegating connections lookup on operations
108,883
22.05.2018 11:37:30
14,400
918d539aef7c7e23bf82bf09ce58d82ba3b06edf
Hiding AWS authorizations
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/models/setup/aws_authorization_admin.rb", "new_path": "lib/rails_admin/models/setup/aws_authorization_admin.rb", "diff": "@@ -11,6 +11,8 @@ module RailsAdmin\nconfigure :metadata, :json_value\n+ child_visible false\n+\nconfigure :status do\npre...
Ruby
MIT License
cenit-io/cenit
Hiding AWS authorizations
108,883
22.05.2018 14:21:08
14,400
2c362c0b39811b38421cfb871667de7ded0a7e44
Fixing notifications for new transformations hierarchy
[ { "change_type": "MODIFY", "old_path": "app/models/setup/converter.rb", "new_path": "app/models/setup/converter.rb", "diff": "@@ -356,7 +356,7 @@ module Setup\nsource_data_type_id: '__source_data_type_id__',\ntarget_data_type_id: target_data_type_id\n},\n- types: types = [Setup::Renderer.to_s],\n+ t...
Ruby
MIT License
cenit-io/cenit
Fixing notifications for new transformations hierarchy
108,868
22.05.2018 21:19:25
25,200
dda011c3a56024b2c34313bc8457ab1a3fc44cd0
created application.example.yml and remove from readme
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -196,41 +196,7 @@ If RabbitMQ is correctly installed when you run the rails server you should see:\nIt uses Figaro gem to manage app configuration using ENV. Any of this variable is required to run a local serve...
Ruby
MIT License
cenit-io/cenit
created application.example.yml and remove from readme
108,883
24.05.2018 10:01:32
14,400
45d7ace44bbf540ec88811d4b1315379d6074a70
Configuring time_zone on users
[ { "change_type": "MODIFY", "old_path": "app/models/account.rb", "new_path": "app/models/account.rb", "diff": "@@ -5,6 +5,7 @@ class Account\ninclude Cenit::MultiTenancy\ninclude CredentialsGenerator\ninclude FieldsInspection\n+ include TimeZoneAware\ninclude RailsAdmin::Models::AccountAdmin\nDEFAULT...
Ruby
MIT License
cenit-io/cenit
Configuring time_zone on users
108,883
24.05.2018 11:21:08
14,400
b26783495bd6ec6bac9f57e707992ccf306bd28a
Hiding roles metadata
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/models/role_admin.rb", "new_path": "lib/rails_admin/models/role_admin.rb", "diff": "@@ -10,7 +10,9 @@ module RailsAdmin\nvisible { User.current_super_admin? }\n- configure :metadata, :json_value\n+ configure :metadata, :json_value do\n+ visible...
Ruby
MIT License
cenit-io/cenit
Hiding roles metadata
108,868
26.05.2018 09:41:17
25,200
4eaf8ace0dc5e27cf018874b0962a5b764f5a924
Update image references in Readme
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "-![homepage](https://user-images.githubusercontent.com/4213488/33235908-f9a066d2-d1f8-11e7-9e30-8e64ac04f310.png)\n+![cenit_io](https://user-images.githubusercontent.com/4213488/40578188-bcbf8a58-60c4-11e8-96d7-198...
Ruby
MIT License
cenit-io/cenit
Update image references in Readme
108,883
28.05.2018 09:30:30
14,400
895d1c6c066363157e309b47456c92265c158d40
Fixing token method CASE
[ { "change_type": "MODIFY", "old_path": "app/models/setup/oauth_authorization.rb", "new_path": "app/models/setup/oauth_authorization.rb", "diff": "@@ -34,7 +34,7 @@ module Setup\noptions[:request_token_url] ||= request_token_endpoint\noptions[:authorize_url] ||= authorization_endpoint\noptions[:acces...
Ruby
MIT License
cenit-io/cenit
Fixing token method CASE
108,868
28.05.2018 08:47:26
25,200
343537b636c08a2b82f3fd0b7d38b83dfb9b2ce3
fixed loading assets for layout used in cenit apps
[ { "change_type": "MODIFY", "old_path": "app/views/layouts/cenit.html.haml", "new_path": "app/views/layouts/cenit.html.haml", "diff": "= csrf_meta_tag\n= stylesheet_link_tag \"application.css\", media: :all\n= stylesheet_link_tag \"rails_admin/rails_admin.css\", media: :all\n+ = javascript_include_ta...
Ruby
MIT License
cenit-io/cenit
fixed loading assets for layout used in cenit apps
108,868
02.06.2018 20:08:26
25,200
831ce5992c3729ff6944fc9534987bc27b0d50ce
Fix error ra.filter-box.js
[ { "change_type": "MODIFY", "old_path": "app/assets/javascripts/rails_admin/ra.filter-box.js", "new_path": "app/assets/javascripts/rails_admin/ra.filter-box.js", "diff": "+//rails_admin-1.0 ready\n(function($) {\nvar filters;\n$.filters = filters = {\n+ options: {\n+ save_button_label: 'Save Filter'\...
Ruby
MIT License
cenit-io/cenit
Fix error ra.filter-box.js
108,868
03.06.2018 11:05:58
25,200
8678ac737fe6b6ded73af840f57cabff16379887
fix buttons to show the amount of start and folks
[ { "change_type": "MODIFY", "old_path": "app/views/layouts/rails_admin/_default_layout.html.haml", "new_path": "app/views/layouts/rails_admin/_default_layout.html.haml", "diff": "%i.fa.fa-heart-o{ title: 'We love Open Source'}\n%span= 'Open Source'\n%br\n- .git-buttons\n%iframe.col-sm-6{:frameborder ...
Ruby
MIT License
cenit-io/cenit
fix buttons to show the amount of start and folks
108,883
04.06.2018 15:23:58
14,400
38389833fd7dd8e230cb1f3279d6fa1641e39dc9
Tuning transformations config
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/models/setup/converter_transformation_admin.rb", "new_path": "lib/rails_admin/models/setup/converter_transformation_admin.rb", "diff": "@@ -17,6 +17,8 @@ module RailsAdmin\nconfigure :namespace, :enum_edit\n+ configure :discard_events, :toggle_...
Ruby
MIT License
cenit-io/cenit
Tuning transformations config
108,883
06.06.2018 09:34:51
14,400
ce656fe81bbd34b5ed8baeb30d7ace6309e06e95
Fixing swagger spec editor
[ { "change_type": "MODIFY", "old_path": "app/helpers/rails_admin/swagger_helper.rb", "new_path": "app/helpers/rails_admin/swagger_helper.rb", "diff": "@@ -118,12 +118,13 @@ module RailsAdmin\ndef swagger_set_spec\nspec = request.body.read\n- if (@object.specification != spec)\n- @object.specification...
Ruby
MIT License
cenit-io/cenit
Fixing swagger spec editor
108,868
09.06.2018 22:53:48
25,200
75dd9fc2b760387da6125c61120948a7be14a6e0
Fix js action_save in ra.remote-form
[ { "change_type": "MODIFY", "old_path": "app/assets/javascripts/rails_admin/ra.remote-form.js", "new_path": "app/assets/javascripts/rails_admin/ra.remote-form.js", "diff": "return false;\n}).html(cancelButtonText);\n- dialog.find('.save-action').unbind().click(function(){\n+ dialog.find('.save-action...
Ruby
MIT License
cenit-io/cenit
Fix js action_save in ra.remote-form
108,883
14.06.2018 15:54:20
14,400
5b5edcfaa8d02b7a8b7751ce7130a138a838144f
Configuring webhook namespace field
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/models/setup/webhook_admin.rb", "new_path": "lib/rails_admin/models/setup/webhook_admin.rb", "diff": "@@ -10,7 +10,7 @@ module RailsAdmin\nvisible false\nobject_label_method { :custom_title }\n- configure :namespace\n+ configure :namespace, :en...
Ruby
MIT License
cenit-io/cenit
Configuring webhook namespace field
108,883
14.06.2018 15:54:36
14,400
15c84dcd36f583e589c28a7ec040d06ff0fda7ea
Fixing pull parameters
[ { "change_type": "MODIFY", "old_path": "app/models/setup/cross_shared_collection.rb", "new_path": "app/models/setup/cross_shared_collection.rb", "diff": "@@ -133,7 +133,22 @@ module Setup\ndef validates_pull_parameters\nwith_errors = false\n- data = send(installed ? :pull_data : :data)\n+ data =\n+ ...
Ruby
MIT License
cenit-io/cenit
Fixing pull parameters
108,883
15.06.2018 10:25:21
14,400
8b45c6cda3077d87ae6641fec63426c0e839c1e0
Fixing namespace enums for operations
[ { "change_type": "MODIFY", "old_path": "app/models/setup/operation.rb", "new_path": "app/models/setup/operation.rb", "diff": "@@ -43,6 +43,10 @@ module Setup\n(resource && resource.template_parameters) || []\nend\n+ def namespace_enum\n+ (resource && resource.namespace_enum) || []\n+ end\n+\ndef nam...
Ruby
MIT License
cenit-io/cenit
Fixing namespace enums for operations
108,883
15.06.2018 10:56:40
14,400
86c1411be7d189c8ef07ca1ecaf567bd25376129
Fixing namespace enums for operations (again)
[ { "change_type": "MODIFY", "old_path": "app/models/setup/operation.rb", "new_path": "app/models/setup/operation.rb", "diff": "@@ -43,10 +43,6 @@ module Setup\n(resource && resource.template_parameters) || []\nend\n- def namespace_enum\n- (resource && resource.namespace_enum) || []\n- end\n-\ndef nam...
Ruby
MIT License
cenit-io/cenit
Fixing namespace enums for operations (again)
108,883
17.06.2018 23:41:51
14,400
2d7b3a56258eb8088ef029833602ef20c3394a40
AWS3 default file store
[ { "change_type": "MODIFY", "old_path": "config/initializers/cenit.rb", "new_path": "config/initializers/cenit.rb", "diff": "@@ -142,7 +142,7 @@ Cenit.config do\nchart_data_request_interval 3000\n- file_stores Cenit::FileStore::LocalDb, Cenit::FileStore::AwsS3\n+ file_stores Cenit::FileStore::LocalDb...
Ruby
MIT License
cenit-io/cenit
AWS3 default file store
108,883
18.06.2018 10:33:20
14,400
944272061c1f8302d7a911cf2fc819016bf0ba4c
Factorizing AWS S3 file stores
[ { "change_type": "MODIFY", "old_path": "lib/cenit/file_store/aws_s3.rb", "new_path": "lib/cenit/file_store/aws_s3.rb", "diff": "@@ -6,81 +6,19 @@ module Cenit\nmodule FileStore\nmodule AwsS3\nextend Base\n+ extend AwsS3Default\nextend self\ndef label\n'AWS-S3'\nend\n- ###\n- # Save file content.\n- ...
Ruby
MIT License
cenit-io/cenit
Factorizing AWS S3 file stores
108,883
19.06.2018 06:33:25
14,400
4351603cf787d2716edbcd7b35743b08b3e31d09
Public read option for file stores
[ { "change_type": "MODIFY", "old_path": "app/models/setup/file_data_type.rb", "new_path": "app/models/setup/file_data_type.rb", "diff": "@@ -202,7 +202,7 @@ module Setup\nend\nend\n- delegate :file_store, to: :file_store_config\n+ delegate :file_store, :public_read, to: :file_store_config\nclass << s...
Ruby
MIT License
cenit-io/cenit
Public read option for file stores
108,883
19.06.2018 15:21:40
14,400
24d3284ce22e81ebe5c4a159ce4fcd3c85b99891
Including public URL property on files
[ { "change_type": "MODIFY", "old_path": "lib/cenit/file_store/aws_s3_default.rb", "new_path": "lib/cenit/file_store/aws_s3_default.rb", "diff": "@@ -109,6 +109,10 @@ module Cenit\ndef object_key(file)\n\"#{tenant_id}/#{file.orm_model.data_type.id}/#{Digest::MD5.hexdigest(file.id.to_s)}\"\nend\n+\n+ d...
Ruby
MIT License
cenit-io/cenit
Including public URL property on files
108,883
20.06.2018 14:14:04
14,400
a211d7c1f3aaec69f9d7607f337482657b42507d
Fixing mapping for embedded models
[ { "change_type": "MODIFY", "old_path": "app/models/setup/mapping_converter.rb", "new_path": "app/models/setup/mapping_converter.rb", "diff": "@@ -27,9 +27,16 @@ module Setup\nelse\nvalue.delete(k)\nend\n+ else\n+ case map_model.property_schema(k)['type']\n+ when 'object'\n+ value.delete(k) unless v....
Ruby
MIT License
cenit-io/cenit
Fixing mapping for embedded models
108,868
20.06.2018 21:10:41
25,200
25aba6a296e33ab3739d25cbfb5111e8346c9f3d
update slack shared invite
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -416,4 +416,4 @@ 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
update slack shared invite
108,883
21.06.2018 10:16:04
14,400
0778c8531af55ee4501472c2b7290a285a23fe46
Rescuing broken file store migrations
[ { "change_type": "MODIFY", "old_path": "app/models/setup/file_store_migration.rb", "new_path": "app/models/setup/file_store_migration.rb", "diff": "@@ -16,25 +16,38 @@ module Setup\nif (data_type = Setup::FileDataType.where(id: (data_type_id = message[:data_type_id])).first)\nbegin\nconfig = data_ty...
Ruby
MIT License
cenit-io/cenit
Rescuing broken file store migrations
108,883
25.06.2018 13:21:09
14,400
6f7b5d07a02a8b0c330142a17152790dd640b1ab
Decoding files on AWS S3 stores
[ { "change_type": "MODIFY", "old_path": "lib/cenit/file_store/aws_s3_default.rb", "new_path": "lib/cenit/file_store/aws_s3_default.rb", "diff": "@@ -25,7 +25,7 @@ module Cenit\nobject(file) do |obj|\nif data.is_a?(String)\n- obj.put(opts.merge(body: data))\n+ obj.put(opts.merge(body: file.decode(data...
Ruby
MIT License
cenit-io/cenit
Decoding files on AWS S3 stores
108,883
03.07.2018 20:07:51
14,400
2e5c5e2b2482674b5a2a9af7249a08a19d703736
Object types with additional properties
[ { "change_type": "MODIFY", "old_path": "app/models/setup/data_type.rb", "new_path": "app/models/setup/data_type.rb", "diff": "@@ -73,6 +73,10 @@ module Setup\nfalse\nend\n+ def additional_properties?\n+ false\n+ end\n+\ndef data_type_storage_collection_name\nAccount.tenant_collection_name(data_type_...
Ruby
MIT License
cenit-io/cenit
Object types with additional properties
108,883
05.07.2018 16:57:16
14,400
dd62763c6cb9e50bee5b9b58afcd26309d2c5f1b
Refresh token strategy for Lazada REST API
[ { "change_type": "MODIFY", "old_path": "app/models/setup/base_oauth_provider.rb", "new_path": "app/models/setup/base_oauth_provider.rb", "diff": "@@ -50,6 +50,7 @@ module Setup\n[\n'Google v4',\n'Intuit Reconnect API V1',\n+ 'Lazada REST API',\n'custom',\n'default',\n'none'\n@@ -157,6 +158,49 @@ mod...
Ruby
MIT License
cenit-io/cenit
Refresh token strategy for Lazada REST API
108,868
07.07.2018 23:03:51
25,200
a44d7a7afc3574f4a53094f3a8e8a08f945c00ea
Add condition for verify recatcha in contact form
[ { "change_type": "MODIFY", "old_path": "app/controllers/contact_us/contacts_controller.rb", "new_path": "app/controllers/contact_us/contacts_controller.rb", "diff": "@@ -4,7 +4,8 @@ module ContactUs\ndef create\n@contact = ContactUs::Contact.new(permitted_attributes)\nbegin\n- if verify_recaptcha(mo...
Ruby
MIT License
cenit-io/cenit
Add condition for verify recatcha in contact form
108,868
08.07.2018 10:59:17
25,200
05d5a3fe8ad0dc7f07abac8534d63c1f5dadcfd7
added thanks satic page after send a contact us message
[ { "change_type": "MODIFY", "old_path": "app/controllers/contact_us/contacts_controller.rb", "new_path": "app/controllers/contact_us/contacts_controller.rb", "diff": "@@ -6,7 +6,7 @@ module ContactUs\nbegin\nverify_recaptcha = (ENV['ENABLE_RERECAPTCHA'] || false).to_b && ENV['RECAPTCHA_SITE_KEY'].pre...
Ruby
MIT License
cenit-io/cenit
added thanks satic page after send a contact us message
108,883
09.07.2018 13:12:17
14,400
f82e661ba3a65d2dc967574a436399f8708fd8a3
Adjusting hierarchy selector
[ { "change_type": "MODIFY", "old_path": "app/models/forms/child_model_selector.rb", "new_path": "app/models/forms/child_model_selector.rb", "diff": "@@ -16,16 +16,24 @@ module Forms\n@parent_model ||= parent_model_name.constantize\nend\n+ def default_children_types\n+ a = parent_model.descendants.to_...
Ruby
MIT License
cenit-io/cenit
Adjusting hierarchy selector
108,883
09.07.2018 13:13:29
14,400
cf7afb9ee38027102c360ac5504ecd40e1d8422d
Lazada custom authorization
[ { "change_type": "MODIFY", "old_path": "app/models/setup/authorization.rb", "new_path": "app/models/setup/authorization.rb", "diff": "@@ -26,6 +26,10 @@ module Setup\nauthorized? ? :success : :danger\nend\n+ def sign(msg)\n+\n+ end\n+\ndef method_missing(symbol, *args)\nhashes = []\nif symbol.to_s.s...
Ruby
MIT License
cenit-io/cenit
Lazada custom authorization
108,883
09.07.2018 13:52:45
14,400
327fae694552ca00098941ea7e16421ec344e1ea
Fixing string concat
[ { "change_type": "MODIFY", "old_path": "app/models/setup/lazada_authorization.rb", "new_path": "app/models/setup/lazada_authorization.rb", "diff": "@@ -26,7 +26,7 @@ module Setup\ntemplate_parameters = msg[:template_parameters] || {}\npath = URI.parse(\ntemplate_parameters[:url].to_s.gsub(%r{\\/+\\Z...
Ruby
MIT License
cenit-io/cenit
Fixing string concat
108,883
09.07.2018 15:48:58
14,400
f07732997230b90a647aa01c4016ffae769458f3
Authorization signing parameters
[ { "change_type": "MODIFY", "old_path": "app/models/setup/authorization.rb", "new_path": "app/models/setup/authorization.rb", "diff": "@@ -26,7 +26,7 @@ module Setup\nauthorized? ? :success : :danger\nend\n- def sign(msg)\n+ def sign_params(params, template_parameters = {})\nend\n" }, { "chan...
Ruby
MIT License
cenit-io/cenit
Authorization signing parameters
108,883
09.07.2018 15:56:41
14,400
37ae9746eb62698273924095357bf136f9a62834
Authorization signing parameters (fixed)
[ { "change_type": "MODIFY", "old_path": "app/models/setup/lazada_authorization.rb", "new_path": "app/models/setup/lazada_authorization.rb", "diff": "@@ -10,13 +10,10 @@ module Setup\ndef token_params(params = {}, template_parameters = {})\nsuper\n- sign(\n- parameters: params,\n- template_parameters:...
Ruby
MIT License
cenit-io/cenit
Authorization signing parameters (fixed)
108,883
09.07.2018 16:10:34
14,400
4647bf47fd219ed3b0b316ca480dfcb70d51be5c
Authorization signing parameters (fixed, again)
[ { "change_type": "MODIFY", "old_path": "app/models/setup/lazada_authorization.rb", "new_path": "app/models/setup/lazada_authorization.rb", "diff": "@@ -10,10 +10,7 @@ module Setup\ndef token_params(params = {}, template_parameters = {})\nsuper\n- sign_params(params, template_parameters: {\n- url: cl...
Ruby
MIT License
cenit-io/cenit
Authorization signing parameters (fixed, again)
108,883
09.07.2018 16:46:38
14,400
880eb7b65405f3bb76d0c73fcbdb24a7950151ad
Decoupling token params & headers
[ { "change_type": "MODIFY", "old_path": "app/models/setup/base_oauth_authorization.rb", "new_path": "app/models/setup/base_oauth_authorization.rb", "diff": "@@ -80,16 +80,19 @@ module Setup\nparams\nend\n+ def token_headers(headers = {}, template_parameters = {})\n+ client.conformed_request_token_hea...
Ruby
MIT License
cenit-io/cenit
Decoupling token params & headers
108,883
09.07.2018 17:21:10
14,400
879fd43f2fb47c6e40724815c63bb313785eb182
Refactoring params signing
[ { "change_type": "MODIFY", "old_path": "app/models/setup/base_oauth_provider.rb", "new_path": "app/models/setup/base_oauth_provider.rb", "diff": "@@ -164,25 +164,15 @@ module Setup\nfail 'Missing client configuration' unless client\nfail 'Missing OAuth provider configuration' unless authorization.pr...
Ruby
MIT License
cenit-io/cenit
Refactoring params signing
108,883
10.07.2018 10:32:16
14,400
9f241d5c75848a29dc4968bb8262fe31a815fb4d
Including code in token params
[ { "change_type": "MODIFY", "old_path": "app/models/setup/base_oauth_authorization.rb", "new_path": "app/models/setup/base_oauth_authorization.rb", "diff": "@@ -89,6 +89,9 @@ module Setup\nend\ndef token_params(params = {}, template_parameters = {})\n+ if (code = template_parameters[:code])\n+ params...
Ruby
MIT License
cenit-io/cenit
Including code in token params
108,883
10.07.2018 11:35:29
14,400
108de2904bbcad6f7cae94b1e273e7ba10df0c91
Custom Oauth 2.0 client for HTTP requests
[ { "change_type": "MODIFY", "old_path": "app/models/setup/base_oauth_authorization.rb", "new_path": "app/models/setup/base_oauth_authorization.rb", "diff": "@@ -89,9 +89,6 @@ module Setup\nend\ndef token_params(params = {}, template_parameters = {})\n- if (code = template_parameters[:code])\n- params...
Ruby
MIT License
cenit-io/cenit
Custom Oauth 2.0 client for HTTP requests
108,883
10.07.2018 11:55:43
14,400
73ecf9174e2f06af9d29b785bb3ce0d75caf7514
Tracing oauth2 request data
[ { "change_type": "MODIFY", "old_path": "app/models/setup/lazada_authorization.rb", "new_path": "app/models/setup/lazada_authorization.rb", "diff": "@@ -31,6 +31,7 @@ module Setup\nparams['timestamp'] = (Time.now.utc.to_f * 1000).to_i\nsign = (path + params.sort.flatten.join).hmac_hex_sha256(client.g...
Ruby
MIT License
cenit-io/cenit
Tracing oauth2 request data
108,883
10.07.2018 12:30:25
14,400
25b28ed4ff0e9095f9def8a1f94efbaf317ec454
Removing tailing delimitor from the Lazada API path for signature
[ { "change_type": "MODIFY", "old_path": "app/models/setup/lazada_authorization.rb", "new_path": "app/models/setup/lazada_authorization.rb", "diff": "@@ -21,6 +21,7 @@ module Setup\n('/' + template_parameters[:path].to_s).gsub(%r{\\/+}, '/').strip\n).path.to_s\npath.gsub!(/\\A\\/rest/, '')\n+ path.gsu...
Ruby
MIT License
cenit-io/cenit
Removing tailing delimitor from the Lazada API path for signature
108,883
10.07.2018 12:43:16
14,400
c5724cbb753232b1d4ce348ed7771cffc1460617
Removing OAuth 2.0 request tracing
[ { "change_type": "MODIFY", "old_path": "app/models/setup/lazada_authorization.rb", "new_path": "app/models/setup/lazada_authorization.rb", "diff": "@@ -32,7 +32,6 @@ module Setup\nparams['timestamp'] = (Time.now.utc.to_f * 1000).to_i\nsign = (path + params.sort.flatten.join).hmac_hex_sha256(client.g...
Ruby
MIT License
cenit-io/cenit
Removing OAuth 2.0 request tracing
108,883
11.07.2018 11:21:48
14,400
6d79437e14b10695a58cd6050f38c37c75538530
Braking Tasks
[ { "change_type": "MODIFY", "old_path": "app/models/setup/task.rb", "new_path": "app/models/setup/task.rb", "diff": "@@ -179,6 +179,10 @@ module Setup\nfail NotImplementedError\nend\n+ def brake(message = nil)\n+ raise Broken.new(message)\n+ end\n+\ndef unschedule\nfinish(:unscheduled, \"Task ##{id} ...
Ruby
MIT License
cenit-io/cenit
Braking Tasks
108,883
11.07.2018 11:53:19
14,400
688eb920a400d340faf050f53b8270cf7cdbcba1
Breaking the current task
[ { "change_type": "MODIFY", "old_path": "app/models/setup/task.rb", "new_path": "app/models/setup/task.rb", "diff": "@@ -179,7 +179,7 @@ module Setup\nfail NotImplementedError\nend\n- def brake(message = nil)\n+ def break(message = nil)\nraise Broken.new(message)\nend\n@@ -295,6 +295,14 @@ module Set...
Ruby
MIT License
cenit-io/cenit
Breaking the current task
108,871
11.07.2018 17:17:43
14,400
24a1f84a8fb75493d0d15719d6df2a34d403acba
Fix Allow know who is current tenant
[ { "change_type": "MODIFY", "old_path": "config/initializers/zcapataz.rb", "new_path": "config/initializers/zcapataz.rb", "diff": "@@ -28,7 +28,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 know who is current tenant
108,883
12.07.2018 13:50:04
14,400
ffec2d2b5925f42a02c70958e2e770ca887b3e49
Re-Captcha for registration
[ { "change_type": "MODIFY", "old_path": "app/assets/stylesheets/rails_admin/custom/theming.scss", "new_path": "app/assets/stylesheets/rails_admin/custom/theming.scss", "diff": "@@ -762,7 +762,14 @@ ul#main-accordion .panel-heading .nav-icon {\n.user-auth .local-forms {\nposition: relative;\noverflow:...
Ruby
MIT License
cenit-io/cenit
Re-Captcha for registration
108,883
13.07.2018 09:28:43
14,400
21b41d4a090094193d829f8278bc3b26960778b2
Fixing label visibility
[ { "change_type": "MODIFY", "old_path": "app/assets/stylesheets/rails_admin/custom/theming.scss", "new_path": "app/assets/stylesheets/rails_admin/custom/theming.scss", "diff": "@@ -762,7 +762,7 @@ ul#main-accordion .panel-heading .nav-icon {\n.user-auth .local-forms {\nposition: relative;\noverflow: ...
Ruby
MIT License
cenit-io/cenit
Fixing label visibility
108,883
13.07.2018 21:13:59
14,400
9955e391aba4b9e3b69d94b52562528b7772d44b
Conditionally notify parameters
[ { "change_type": "MODIFY", "old_path": "app/models/setup/lazada_authorization.rb", "new_path": "app/models/setup/lazada_authorization.rb", "diff": "@@ -23,6 +23,7 @@ module Setup\npath.gsub!(/\\A\\/rest/, '')\npath.gsub!(/\\/\\Z/, '')\nself.class.sign_params(client, path, params)\n+ Tenant.notify(me...
Ruby
MIT License
cenit-io/cenit
Conditionally notify parameters
108,883
13.07.2018 21:38:54
14,400
8c5e34baa6966952c0211485fa586dee366a87a0
Conditionally notify parameters (part 2)
[ { "change_type": "MODIFY", "old_path": "app/models/setup/lazada_authorization.rb", "new_path": "app/models/setup/lazada_authorization.rb", "diff": "@@ -23,7 +23,9 @@ module Setup\npath.gsub!(/\\A\\/rest/, '')\npath.gsub!(/\\/\\Z/, '')\nself.class.sign_params(client, path, params)\n- Tenant.notify(me...
Ruby
MIT License
cenit-io/cenit
Conditionally notify parameters (part 2)
108,868
14.07.2018 08:56:29
25,200
d15951bbb7cc7892e5c5ebf951dca6f392646775
change redirect to thanks.html
[ { "change_type": "MODIFY", "old_path": "app/controllers/contact_us/contacts_controller.rb", "new_path": "app/controllers/contact_us/contacts_controller.rb", "diff": "@@ -6,7 +6,7 @@ module ContactUs\nbegin\nverified = ENV['ENABLE_RERECAPTCHA'].to_b.blank? || ENV['RECAPTCHA_SITE_KEY'].blank? || verif...
Ruby
MIT License
cenit-io/cenit
change redirect to thanks.html
108,868
14.07.2018 18:51:36
25,200
7c43246a07e919eb681a656d4b18671b3203c151
Add new endpoint thanks to contact us and remove static page. Main reason is allow this page be tracking for google analytic
[ { "change_type": "MODIFY", "old_path": "app/assets/stylesheets/framework_and_overrides.css.scss", "new_path": "app/assets/stylesheets/framework_and_overrides.css.scss", "diff": "@@ -254,3 +254,105 @@ section {\n}\n}\n}\n+\n+.page202 {\n+ height: 100%;\n+ display: table;\n+ height: 100%;\n+ left: 0;\...
Ruby
MIT License
cenit-io/cenit
Add new endpoint thanks to contact us and remove static page. Main reason is allow this page be tracking for google analytic
108,883
16.07.2018 13:27:00
14,400
1866b14ce5c630bd1b3536b20292850419439d5a
Pull tasks callback
[ { "change_type": "MODIFY", "old_path": "app/models/setup/pulling_field.rb", "new_path": "app/models/setup/pulling_field.rb", "diff": "@@ -12,9 +12,9 @@ module Setup\nfail 'Option class_name not supplied' unless (klass = options[:class])\nbelongs_to field, class_name: klass.to_s, inverse_of: nil\nkla...
Ruby
MIT License
cenit-io/cenit
Pull tasks callback
108,883
17.07.2018 09:35:19
14,400
12b055639467d588261f100cc516c7fe045764ff
Fixing app token parameters args
[ { "change_type": "MODIFY", "old_path": "app/models/setup/application.rb", "new_path": "app/models/setup/application.rb", "diff": "@@ -77,11 +77,11 @@ module Setup\nCenit::MultiTenancy.tenant_model.current\nend\n- def conformed_request_token_parameters\n+ def conformed_request_token_parameters(templa...
Ruby
MIT License
cenit-io/cenit
Fixing app token parameters args
108,883
17.07.2018 09:56:51
14,400
8874ed34bffc0e63d7fbeb32fef04507f76fbf70
Fixing time span field
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/config/fields/types/time_span.rb", "new_path": "lib/rails_admin/config/fields/types/time_span.rb", "diff": "@@ -35,6 +35,7 @@ module RailsAdmin\nv = scaled_v\ncurrent_metric = m\nelse\n+ str = \"#{v}#{current_metric} #{str}\"\nbreak\nend\nend\n...
Ruby
MIT License
cenit-io/cenit
Fixing time span field
108,883
17.07.2018 11:22:05
14,400
cdcc0f98cbc9cba877208d2b7e645bb4b617be9b
Multi-Tenant OAuth scope
[ { "change_type": "MODIFY", "old_path": "app/views/oauth/_description.html.haml", "new_path": "app/views/oauth/_description.html.haml", "diff": "if cenit_oauth_scope.offline_access?\nbasic[Cenit::OauthScope::OFFLINE_ACCESS_TOKEN]= true\nend\n+ if cenit_oauth_scope.multi_tenant?\n+ basic[Cenit::OauthS...
Ruby
MIT License
cenit-io/cenit
Multi-Tenant OAuth scope
108,883
18.07.2018 11:26:41
14,400
b974e32e8fd108b8879eb53155b2bb5c73f29ad1
Asynchronous run callback
[ { "change_type": "MODIFY", "old_path": "app/models/setup/algorithm.rb", "new_path": "app/models/setup/algorithm.rb", "diff": "@@ -167,7 +167,7 @@ module Setup\nrc\nend\n- def run_asynchronous(*args)\n+ def run_asynchronous(*args, &block)\noptions =\nif args.last.is_a?(Hash)\nargs.pop\n@@ -185,7 +185...
Ruby
MIT License
cenit-io/cenit
Asynchronous run callback
108,883
18.07.2018 14:34:25
14,400
221c3634590fd0cec9ee4fd9f1955d7e4c36092b
Relocating Persistence Exception declaration
[ { "change_type": "MODIFY", "old_path": "app/models/setup/target_handler_transformation.rb", "new_path": "app/models/setup/target_handler_transformation.rb", "diff": "@@ -12,5 +12,22 @@ module Setup\nend\noptions[:result] = target\nend\n+\n+ class PersistenceException < Exception\n+\n+ attr_reader :r...
Ruby
MIT License
cenit-io/cenit
Relocating Persistence Exception declaration
108,883
19.07.2018 10:39:45
14,400
18166e37fd2ce079dacd8a7cafec5b8144e86b96
Checking authorizations before authorize
[ { "change_type": "MODIFY", "old_path": "app/models/setup/authorization.rb", "new_path": "app/models/setup/authorization.rb", "diff": "@@ -12,7 +12,16 @@ module Setup\nfield :authorized, type: Boolean\n- before_save { self.authorized = authorized?; errors.blank? }\n+ before_save :check\n+\n+ def chec...
Ruby
MIT License
cenit-io/cenit
Checking authorizations before authorize
108,883
19.07.2018 11:09:33
14,400
767a56dde6fdd1d032f60435e4ac1b11732a3dd8
Tuning notification attachments
[ { "change_type": "MODIFY", "old_path": "app/models/setup/webhook_common.rb", "new_path": "app/models/setup/webhook_common.rb", "diff": "@@ -200,23 +200,21 @@ module Setup\nend.to_h\nattachment_body = JSON.pretty_generate(attachment_body)\nend\n- attachment = {\n- filename: DateTime.now.strftime('%Y-...
Ruby
MIT License
cenit-io/cenit
Tuning notification attachments
108,883
19.07.2018 13:25:12
14,400
0514dc4e7644ec23fbdbc6ad934a2b007137554a
Enhancing tenant members
[ { "change_type": "MODIFY", "old_path": "app/models/ability.rb", "new_path": "app/models/ability.rb", "diff": "@@ -55,9 +55,8 @@ class Ability\ncan :pull, Setup::CrossSharedCollection, installed: true\ncan [:edit, :destroy], Setup::CrossSharedCollection, owner_id: user.id\ncan :reinstall, Setup::Cros...
Ruby
MIT License
cenit-io/cenit
Enhancing tenant members
108,883
19.07.2018 14:46:04
14,400
aa9cabf68fbb542b9d14b3791b9e49eea343be9b
Super admin enabled option
[ { "change_type": "MODIFY", "old_path": "app/models/concerns/fields_inspection.rb", "new_path": "app/models/concerns/fields_inspection.rb", "diff": "@@ -12,7 +12,7 @@ module FieldsInspection\ndef inspect_updated_fields\nif @inspect_fields\n- inspecting_fields = self.class.inspecting_fields\n+ inspect...
Ruby
MIT License
cenit-io/cenit
Super admin enabled option
108,883
19.07.2018 18:37:05
14,400
4a565449b06a6aefd6f33f65f64b45e0ffebe599
Improving user dropdown menu
[ { "change_type": "MODIFY", "old_path": "app/helpers/rails_admin/application_helper_decorator.rb", "new_path": "app/helpers/rails_admin/application_helper_decorator.rb", "diff": "@@ -179,41 +179,39 @@ module RailsAdmin\ndef edit_user_link\n# Patch\ninspecting = false\n- account_config = nil\n- accoun...
Ruby
MIT License
cenit-io/cenit
Improving user dropdown menu
108,883
19.07.2018 23:41:57
14,400
71ed052f47cedb35b94020c842f068dd7640abf7
Enabling stateless OAuth 1.0 authorize action
[ { "change_type": "MODIFY", "old_path": "lib/cenit/control.rb", "new_path": "lib/cenit/control.rb", "diff": "@@ -110,15 +110,19 @@ module Cenit\ndef authorize(auth)\ncase auth\n- when Setup::Oauth2Authorization\n+ when Setup::BaseOauthAuthorization\nif auth.check\ncenit_token = OauthAuthorizationToke...
Ruby
MIT License
cenit-io/cenit
Enabling stateless OAuth 1.0 authorize action
108,883
20.07.2018 10:23:20
14,400
817a2beff2ebca85d750742900b3982c6b17df85
Fixing account scope
[ { "change_type": "MODIFY", "old_path": "app/models/account.rb", "new_path": "app/models/account.rb", "diff": "@@ -47,8 +47,8 @@ class Account\ndefault_scope -> {\nif User.current && !::User.current_super_admin?\nwhere('$or' => [\n- { owner_id: User.current.id },\n- { :id.in => User.current.member_ac...
Ruby
MIT License
cenit-io/cenit
Fixing account scope
108,883
20.07.2018 10:38:55
14,400
02150999bd69ef132f186155beee06961c55504a
Removing account default scope (already handled by authorization adapter)
[ { "change_type": "MODIFY", "old_path": "app/models/account.rb", "new_path": "app/models/account.rb", "diff": "@@ -44,17 +44,6 @@ class Account\nfield :index_max_entries, type: Integer, default: DEFAULT_INDEX_MAX_ENTRIES\n- default_scope -> {\n- if User.current && !::User.current_super_admin?\n- wher...
Ruby
MIT License
cenit-io/cenit
Removing account default scope (already handled by authorization adapter)
108,883
20.07.2018 12:06:44
14,400
b853010dda56a020ad0670232389f3eff73fb397
Optimizing tenants accessibility
[ { "change_type": "MODIFY", "old_path": "app/models/ability.rb", "new_path": "app/models/ability.rb", "diff": "@@ -55,7 +55,10 @@ class Ability\ncan :pull, Setup::CrossSharedCollection, installed: true\ncan [:edit, :destroy], Setup::CrossSharedCollection, owner_id: user.id\ncan :reinstall, Setup::Cro...
Ruby
MIT License
cenit-io/cenit
Optimizing tenants accessibility
108,883
30.07.2018 15:03:47
14,400
c54b96e31aa4a6dc49a232ee2d786b88ef699a04
CORS Origin header for apps
[ { "change_type": "MODIFY", "old_path": "app/controllers/app_controller.rb", "new_path": "app/controllers/app_controller.rb", "diff": "class AppController < ApplicationController\nbefore_action :authorize_account, :find_app, :find_app_control_action\n- before_action :allow_x_frame\n+ before_action :p...
Ruby
MIT License
cenit-io/cenit
CORS Origin header for apps
108,883
30.07.2018 15:09:36
14,400
4aaaff32936e1a099b879281aa556eb546beb7bd
Allowing OAuth 2.0 authorization constant
[ { "change_type": "MODIFY", "old_path": "config/initializers/zcapataz.rb", "new_path": "config/initializers/zcapataz.rb", "diff": "@@ -15,7 +15,8 @@ Capataz.config do\nXmldsig, Xmldsig::SignedDocument, Zip, Zip::OutputStream, Zip::InputStream, StringIO, MIME::Mail, MIME::Text, MIME::Multipart::Mixed,...
Ruby
MIT License
cenit-io/cenit
Allowing OAuth 2.0 authorization constant
108,883
30.07.2018 21:42:49
14,400
258e5afa2bba9a7577fc8c7726e0d5d9c939f1fa
Signing out via GET
[ { "change_type": "MODIFY", "old_path": "config/initializers/devise.rb", "new_path": "config/initializers/devise.rb", "diff": "@@ -225,7 +225,7 @@ Devise.setup do |config|\n# config.navigational_formats = ['*/*', :html]\n# The default HTTP method used to sign out a resource. Default is :delete.\n- co...
Ruby
MIT License
cenit-io/cenit
Signing out via GET
108,883
01.08.2018 15:18:34
14,400
da8949effd4492ed4310101c858b89d9edef5f4d
Checking user account
[ { "change_type": "MODIFY", "old_path": "app/models/user.rb", "new_path": "app/models/user.rb", "diff": "@@ -95,7 +95,14 @@ class User\nerrors.blank?\nend\n- before_save :check_attributes, :ensure_token, :validates_time_zone!\n+ before_save :check_attributes, :ensure_token, :validates_time_zone!, :ch...
Ruby
MIT License
cenit-io/cenit
Checking user account
108,883
01.08.2018 15:20:18
14,400
22f0f6f4e0e0123bfdd8534322752b2b5e6bbc76
Fixing account member authorization
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v1/api_controller.rb", "new_path": "app/controllers/api/v1/api_controller.rb", "diff": "@@ -276,7 +276,11 @@ module Api::V1\ntoken = request.headers['X-Hub-Access-Token']\nAccount.set_current_with_connection(key, token) if key || token\nend...
Ruby
MIT License
cenit-io/cenit
Fixing account member authorization
108,883
01.08.2018 16:36:56
14,400
93e8c67d9ab8164f4fc0ab93baf633726e90683b
Fixing CORS check
[ { "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 :authorize_account, except: [:new_user]\n+ before_action :authorize_account...
Ruby
MIT License
cenit-io/cenit
Fixing CORS check
108,883
01.08.2018 16:37:59
14,400
7312551583a2a3258495b82a9686bec9ea67d5bc
Fixing update OAuth scope
[ { "change_type": "MODIFY", "old_path": "app/models/cenit/oauth_scope_decorator.rb", "new_path": "app/models/cenit/oauth_scope_decorator.rb", "diff": "@@ -7,7 +7,7 @@ module Cenit\ncase action\nwhen :new, :upload_file\nCenit::OauthScope::CREATE_TOKEN\n- when :update\n+ when :edit, :update\nCenit::Oau...
Ruby
MIT License
cenit-io/cenit
Fixing update OAuth scope
108,883
04.08.2018 12:13:47
14,400
77b6706027957591e6ce80a6bdb847ed0e5e83bc
Default refresh token for build-in OAuth 2.0 provider
[ { "change_type": "MODIFY", "old_path": "app/models/setup/oauth2_provider.rb", "new_path": "app/models/setup/oauth2_provider.rb", "diff": "@@ -24,6 +24,7 @@ module Setup\nend\noauth_provider.response_type = :code\noauth_provider.token_method = :POST\n+ oauth_provider.refresh_token_strategy = :default...
Ruby
MIT License
cenit-io/cenit
Default refresh token for build-in OAuth 2.0 provider
108,883
06.08.2018 16:21:12
14,400
84266b689e24d5cedcc182e9ef431f151adc6db0
Tuning default refresh token strategy
[ { "change_type": "MODIFY", "old_path": "app/models/setup/base_oauth_provider.rb", "new_path": "app/models/setup/base_oauth_provider.rb", "diff": "@@ -79,28 +79,33 @@ module Setup\nend\ndef default_refresh_token(authorization)\n- unless authorization.authorized_at + authorization.token_span > Time.no...
Ruby
MIT License
cenit-io/cenit
Tuning default refresh token strategy
108,883
07.08.2018 11:57:09
14,400
a17cc2a90c25073e907da6f7c8c7752dbb855df7
API viewport option like GraphQL semantic
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -31,10 +31,10 @@ module Api::V3\npage = get_page\nres =\nif klass\n- @render_options.delete(:inspecting)\n+ @template_options.delete(:inspecting)\nif...
Ruby
MIT License
cenit-io/cenit
API viewport option like GraphQL semantic
108,883
07.08.2018 16:10:59
14,400
ebda9c7d15152dc42063c4e1d2265a7aa2502171
The Digest API
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -4,7 +4,7 @@ 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
The Digest API
108,883
13.08.2018 10:27:10
10,800
969606f9e3488c07dd4e8556b6e9d483625390a5
Raw properties option
[ { "change_type": "MODIFY", "old_path": "lib/edi/formater.rb", "new_path": "lib/edi/formater.rb", "diff": "@@ -332,7 +332,7 @@ module Edi\ninclude_id = include_id.call(record)\nend\nif include_id\n- entries = do_store(json, 'id', record.id, options)\n+ entries = do_store(json, options[:raw_properties...
Ruby
MIT License
cenit-io/cenit
Raw properties option
108,883
13.08.2018 10:27:50
10,800
0e29a7e7ee53a5bc53010d99279b48a5293b4506
Data type API digest
[ { "change_type": "MODIFY", "old_path": "app/models/setup/data_type.rb", "new_path": "app/models/setup/data_type.rb", "diff": "@@ -143,6 +143,22 @@ module Setup\nend\nend\n+ def digest(data, options = {})\n+ unless data.is_a?(Hash)\n+ data = data.to_s\n+ data = data.blank? ? nil : JSON.parse(data.to_...
Ruby
MIT License
cenit-io/cenit
Data type API digest
108,883
13.08.2018 10:28:12
10,800
c4dd41c57e8fcc420d25c3ea0e771f2a10a60245
Updating CORS allowed headers
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -22,7 +22,7 @@ module Api::V3\ndef cors_headers\nallow_origin_header\nheaders['Access-Control-Allow-Credentials'] = false\n- headers['Access-Control-...
Ruby
MIT License
cenit-io/cenit
Updating CORS allowed headers
108,883
13.08.2018 14:35:10
10,800
ceea20efc3ac3481e73953b47c13da704492e099
Allowing super admins to switch to any tenant
[ { "change_type": "MODIFY", "old_path": "app/models/user.rb", "new_path": "app/models/user.rb", "diff": "@@ -98,7 +98,7 @@ class User\nbefore_save :check_attributes, :ensure_token, :validates_time_zone!, :check_account\ndef check_account\n- unless accounts.where(id: account_id).exists? || member_acco...
Ruby
MIT License
cenit-io/cenit
Allowing super admins to switch to any tenant
108,883
13.08.2018 14:59:21
10,800
e521ae3638c109a36e8815781ee6f956edfb2685
Removing unused models
[ { "change_type": "DELETE", "old_path": "app/models/setup/representation.rb", "new_path": null, "diff": "-module Setup\n- class Representation\n- include CenitScoped\n- include NamespaceNamed\n- include JsonMetadata\n- include RailsAdmin::Models::Setup::RepresentationAdmin\n-\n- belongs_to :section, ...
Ruby
MIT License
cenit-io/cenit
Removing unused models
108,883
13.08.2018 15:01:44
10,800
319c1f4392430f851b86de3e48c469ee5d15d2e7
Fixing connection role inverse relation names
[ { "change_type": "MODIFY", "old_path": "app/models/setup/connection_role.rb", "new_path": "app/models/setup/connection_role.rb", "diff": "@@ -6,7 +6,7 @@ module Setup\nbuild_in_data_type.referenced_by(:namespace, :name)\n- has_and_belongs_to_many :webhooks, class_name: Setup::Webhook.to_s, inverse_o...
Ruby
MIT License
cenit-io/cenit
Fixing connection role inverse relation names
108,883
14.08.2018 09:31:02
10,800
498ed1686f008c1eb41bbe09fc3287624ee8095c
Limit zero option
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -65,9 +65,7 @@ module Api::V3\nitem.default_hash(@template_options)\nend\ncount = items.count\n- {\n- json: {\n- total_pages: (count * 1.0 / get_limi...
Ruby
MIT License
cenit-io/cenit
Limit zero option
108,883
15.08.2018 10:24:28
10,800
927fa98dfe62e068ece5376bced7816e08b16863
Fixing user save with no tenant
[ { "change_type": "MODIFY", "old_path": "app/models/user.rb", "new_path": "app/models/user.rb", "diff": "@@ -98,7 +98,7 @@ class User\nbefore_save :check_attributes, :ensure_token, :validates_time_zone!, :check_account\ndef check_account\n- unless super_admin? || accounts.where(id: account_id).exists...
Ruby
MIT License
cenit-io/cenit
Fixing user save with no tenant
108,883
16.08.2018 13:29:22
10,800
cff5a36e40112e7b1a8daadac418dce99f05cb40
Default API parsers and template for files
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -62,7 +62,9 @@ module Api::V3\nend\nitems = select_items\nitems_data = items.map do |item|\n- item.default_hash(@template_options)\n+ Template.with(i...
Ruby
MIT License
cenit-io/cenit
Default API parsers and template for files
108,883
16.08.2018 13:57:44
10,800
c072a95d9ea5258a13ee052340a3330423ae30bb
Digest API options
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -260,8 +260,15 @@ module Api::V3\nend\ndef digest\n- if @item.respond_to?(:digest)\n- render @item.digest(@webhook_body)\n+ if @item.respond_to?(meth...
Ruby
MIT License
cenit-io/cenit
Digest API options
108,883
16.08.2018 14:19:20
10,800
d31656978b7b35c3102e26eca843117b482c0205
File digest API
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -22,7 +22,7 @@ module Api::V3\ndef cors_headers\nallow_origin_header\nheaders['Access-Control-Allow-Credentials'] = false\n- headers['Access-Control-...
Ruby
MIT License
cenit-io/cenit
File digest API
108,883
16.08.2018 17:41:52
10,800
c3efdd450179b57129359df41efe17ea1344b724
Including schema in build-in file data types
[ { "change_type": "MODIFY", "old_path": "app/models/setup/file_data_type.rb", "new_path": "app/models/setup/file_data_type.rb", "diff": "@@ -7,6 +7,15 @@ module Setup\nvalidates_presence_of :namespace\nbuild_in_data_type.referenced_by(:namespace, :name).with(:namespace, :name, :id_type, :title, :slug...
Ruby
MIT License
cenit-io/cenit
Including schema in build-in file data types
108,883
17.08.2018 16:06:37
10,800
0bbb073090c918da8219e93c3552c0c038e67036
Sending parameters as application/www-form-urlencode via POST
[ { "change_type": "MODIFY", "old_path": "app/models/setup/webhook_common.rb", "new_path": "app/models/setup/webhook_common.rb", "diff": "@@ -184,6 +184,10 @@ module Setup\n.reject! { |_, value| value.nil? }\nhalt_anyway = false\nbegin\n+ if body.nil? && headers['Content-Type'] == 'application/x-www-f...
Ruby
MIT License
cenit-io/cenit
Sending parameters as application/www-form-urlencode via POST
108,883
21.08.2018 12:40:54
10,800
b17d469e6ab7875736396fceaee1f8d3458b8275
Checking empty body for application/x-www-form-urlencoded
[ { "change_type": "MODIFY", "old_path": "app/models/setup/webhook_common.rb", "new_path": "app/models/setup/webhook_common.rb", "diff": "@@ -184,7 +184,7 @@ module Setup\n.reject! { |_, value| value.nil? }\nhalt_anyway = false\nbegin\n- if body.nil? && headers['Content-Type'] == 'application/x-www-fo...
Ruby
MIT License
cenit-io/cenit
Checking empty body for application/x-www-form-urlencoded
108,883
21.08.2018 13:27:04
10,800
608b84de31f9fb8a56d108f47bd9419d15f26357
Build-in data types IDs
[ { "change_type": "MODIFY", "old_path": "app/models/setup/build_in_data_type.rb", "new_path": "app/models/setup/build_in_data_type.rb", "diff": "@@ -248,7 +248,7 @@ module Setup\ndef build_schema\n@discarding ||= []\n- schema = { 'type' => 'object', 'properties' => properties = { '_id' => { 'type' =>...
Ruby
MIT License
cenit-io/cenit
Build-in data types IDs
108,883
21.08.2018 13:28:33
10,800
ce9273c2cf56afbc1dec5be95b0baf4d25ec8b90
Enhancing digest API with paths
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v3/api_controller.rb", "new_path": "app/controllers/api/v3/api_controller.rb", "diff": "@@ -260,7 +260,9 @@ module Api::V3\nend\ndef digest\n- if @item.respond_to?(method = \"#{request.method.to_s.downcase}_digest\") || @item.respond_to?(me...
Ruby
MIT License
cenit-io/cenit
Enhancing digest API with paths
108,883
21.08.2018 13:31:13
10,800
1b8ff795133c4550441b7c704f56a35ff1a1d807
Fixing JSON mongoff validator
[ { "change_type": "MODIFY", "old_path": "app/models/setup/schema_handler.rb", "new_path": "app/models/setup/schema_handler.rb", "diff": "@@ -103,12 +103,17 @@ module Setup\nend\ndef find_ref_schema(ref, root_schema = schema)\n+ fragment = ''\n+ data_type = self\n+ sch =\nif ref.is_a?(String) && ref.s...
Ruby
MIT License
cenit-io/cenit
Fixing JSON mongoff validator
108,883
21.08.2018 13:50:12
10,800
69df5d65d811b8ec2bcfccd1517b5975bfb4da55
Fixing build-in slug
[ { "change_type": "MODIFY", "old_path": "app/models/setup/cenit_data_type.rb", "new_path": "app/models/setup/cenit_data_type.rb", "diff": "@@ -76,7 +76,11 @@ module Setup\nend\ndef slug\n- build_in.model.to_s.split('::').last.underscore\n+ if (model = build_in.model)\n+ model.to_s.split('::').last.un...
Ruby
MIT License
cenit-io/cenit
Fixing build-in slug
108,883
21.08.2018 13:53:56
10,800
dea4a132b08f710341dfcfea9c91685b4323d9f3
Fixing build-in slug (again)
[ { "change_type": "MODIFY", "old_path": "app/models/setup/cenit_data_type.rb", "new_path": "app/models/setup/cenit_data_type.rb", "diff": "@@ -76,8 +76,8 @@ module Setup\nend\ndef slug\n- if (model = build_in.model)\n- model.to_s.split('::').last.underscore\n+ if (m = build_in) && (m = m.model)\n+ m....
Ruby
MIT License
cenit-io/cenit
Fixing build-in slug (again)
108,883
21.08.2018 13:58:32
10,800
489bc22ff51921ed2138c5a2505453679451e3e9
Checking viewport
[ { "change_type": "MODIFY", "old_path": "lib/edi/formater.rb", "new_path": "lib/edi/formater.rb", "diff": "@@ -335,7 +335,7 @@ module Edi\nif (include_id = options[:include_id]).respond_to?(:call)\ninclude_id = include_id.call(record)\nend\n- if include_id || viewport['id'] || viewport['_id']\n+ if i...
Ruby
MIT License
cenit-io/cenit
Checking viewport
108,883
21.08.2018 15:23:50
10,800
725703b95245fd534d7fe8180b29ec26d2c65e46
Fixing JSON Schema default reader
[ { "change_type": "MODIFY", "old_path": "lib/json-schema/schema/cenit_reader.rb", "new_path": "lib/json-schema/schema/cenit_reader.rb", "diff": "@@ -24,7 +24,7 @@ module JSON\nend\nend\n- def absolute_ref_uri(ref, parent_uri)\n+ def absolute_ref_uri(ref, parent_uri, validator)\nif (schema = schema_fi...
Ruby
MIT License
cenit-io/cenit
Fixing JSON Schema default reader
108,883
21.08.2018 17:00:49
10,800
e48bba8849959a90e983eabd4d3b979765dccc96
Fixing default mongoff records IDs
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/record.rb", "new_path": "lib/mongoff/record.rb", "diff": "@@ -15,9 +15,6 @@ module Mongoff\ndef initialize(model, attributes = nil, new_record = true)\n@orm_model = model\n@document = BSON::Document.new\n- unless (id_schema = model.property_schema(...
Ruby
MIT License
cenit-io/cenit
Fixing default mongoff records IDs