Merge branch 'master' into feature/sc-178449/notify-about-the-limit-of-4096-named-maps

pull/16368/head
Moisés Calzado 3 years ago committed by GitHub
commit 0121d831bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,11 +10,12 @@ jobs:
uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5
ruby-version: 2.5.8
- run: 'gem install activesupport -v 6.1.4.4'
- name: Rubocop linter
uses: reviewdog/action-rubocop@v1
with:
rubocop_version: 1.12.1
rubocop_version: 1.23.0
github_token: ${{ secrets.github_token }}
reporter: github-pr-check
level: error

@ -6,7 +6,7 @@ require:
- rubocop-rspec
AllCops:
TargetRubyVersion: 2.4
TargetRubyVersion: 2.5
Exclude:
- "vendor/**/*"
- "db/schema.rb"

@ -20,6 +20,7 @@ Development
* Setting to enable/disable random username generation on SAML authentication process [16372](https://github.com/CartoDB/cartodb/pull/16372)
### Bug fixes / enhancements
- Fix rubocop integration [#16382](https://github.com/CartoDB/cartodb/pull/16382)
- Add marginTop to Page when notification is displayed [#16355](https://github.com/CartoDB/cartodb/pull/16355)
- Add "element" param to DO-Catalog entry function [#16343](https://github.com/CartoDB/cartodb/pull/16343)
- Add new DO Catalog route for internal usage [#16342](https://github.com/CartoDB/cartodb/pull/16342)
@ -51,6 +52,7 @@ Development
- Fix verification process for active users [#16337](https://github.com/CartoDB/cartodb/pull/16337)
- Avoid updating analysis nodes more than once when moving layers in Builder [#16279](https://github.com/CartoDB/cartodb/pull/16279)
- Fix subscription/sample filter for datasets [#16254](https://github.com/CartoDB/cartodb/pull/16254)
- Fix form to search dataset when generating a new API key [#16378](https://github.com/CartoDB/cartodb/pull/16378)
- Use fully qualified table name while creating a new map from a shared dataset [#16241](https://github.com/CartoDB/cartodb/pull/16241)
- Render tileset viewer features in front of basemap [#16333](https://github.com/CartoDB/cartodb/pull/16333)
- Rake task to migrate legacy synchronizations [#16353](https://github.com/CartoDB/cartodb/pull/16353)

@ -121,5 +121,5 @@ module.exports = CoreView.extend({
_onSearchChanged: _.debounce(function (event) {
this._userTablesModel.setQuery(event.target.value);
}, 500, this)
}, 500)
});

@ -221,7 +221,9 @@ describe('dashboard/components/table-grants/table-grants-view', function () {
view._onSearchChanged(event);
expect(userTablesModel.setQuery).toHaveBeenCalledWith(event.target.value);
setTimeout(function () {
expect(userTablesModel.setQuery).toHaveBeenCalledWith(event.target.value);
}, 600);
});
});
});

2
package-lock.json generated

@ -1,6 +1,6 @@
{
"name": "cartodb-ui",
"version": "1.0.0-assets.278",
"version": "1.0.0-assets.279",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

@ -1,6 +1,6 @@
{
"name": "cartodb-ui",
"version": "1.0.0-assets.278",
"version": "1.0.0-assets.279",
"description": "CARTO UI frontend",
"repository": {
"type": "git",

@ -3,6 +3,16 @@ require_relative '../../lib/importer/unp'
include CartoDB::Importer2
module FileUtils
class Entry_ # rubocop:disable ClassAndModuleCamelCase, DepartmentName
def copy_file(dest)
Open3.capture2('cp', path, dest)
end
end
end
describe Unp do
describe '#run' do
it 'extracts the contents of the file' do
@ -352,7 +362,8 @@ describe Unp do
FileUtils.rm_r(dir) if File.exists?(dir)
FileUtils.mkdir_p(dir)
FileUtils.cp(File.join(File.dirname(__FILE__), "../fixtures/#{filename}"), zipfile)
new_dir = File.expand_path("../fixtures/#{filename}", File.dirname(__FILE__))
FileUtils.cp(new_dir, zipfile)
zipfile
end

Loading…
Cancel
Save