You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@resilientdb.apache.org by ju...@apache.org on 2025/02/11 04:09:48 UTC
(incubator-resilientdb-resvault) branch main updated: add license
This is an automated email from the ASF dual-hosted git repository.
junchao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb-resvault.git
The following commit(s) were added to refs/heads/main by this push:
new cce9aee add license
cce9aee is described below
commit cce9aee367d9927ef20a22ff28256d533003f585
Author: junechen <ju...@tencent.com>
AuthorDate: Tue Feb 11 12:09:43 2025 +0800
add license
---
config-overrides.js | 22 ++++++++++++++++++++++
public/background.js | 23 ++++++++++++++++++++++-
public/content.js | 24 +++++++++++++++++++++++-
src/App.js | 23 ++++++++++++++++++++++-
src/App.test.js | 21 +++++++++++++++++++++
src/context/GlobalContext.js | 23 ++++++++++++++++++++++-
src/css/App.css | 23 ++++++++++++++++++++++-
src/index.css | 21 +++++++++++++++++++++
src/pages/Login.jsx | 23 ++++++++++++++++++++++-
src/pages/SignUp.jsx | 23 ++++++++++++++++++++++-
src/setupTests.js | 21 +++++++++++++++++++++
webpack.config.js | 23 ++++++++++++++++++++++-
12 files changed, 262 insertions(+), 8 deletions(-)
diff --git a/config-overrides.js b/config-overrides.js
index 47654a6..deca892 100644
--- a/config-overrides.js
+++ b/config-overrides.js
@@ -1,3 +1,25 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*
+*/
+
+
+
// config-overrides.js
module.exports = function override(config, env) {
if (env === 'production') {
diff --git a/public/background.js b/public/background.js
index 7f724cd..055e77d 100644
--- a/public/background.js
+++ b/public/background.js
@@ -1,3 +1,24 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*
+*/
+
+
let faviconUrls = {};
// Helper functions
@@ -726,4 +747,4 @@ chrome.runtime.onMessage.addListener(function (request, sender, sendResponse) {
return true; // Keep the message channel open for async sendResponse
}
-});
\ No newline at end of file
+});
diff --git a/public/content.js b/public/content.js
index c23efc9..a7503ee 100644
--- a/public/content.js
+++ b/public/content.js
@@ -1,3 +1,25 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*
+*/
+
+
+
/*global chrome*/
// Function to get full hostname from URL
@@ -450,4 +472,4 @@ function handleTransactionSubmit({ amount, data, recipient }) {
}
}
);
-}
\ No newline at end of file
+}
diff --git a/src/App.js b/src/App.js
index 4fc7b1f..6219bc1 100644
--- a/src/App.js
+++ b/src/App.js
@@ -1,3 +1,24 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*
+*/
+
+
/*global chrome*/
import './css/App.css';
import React, { useContext } from 'react';
@@ -37,4 +58,4 @@ function App() {
);
}
-export default App;
\ No newline at end of file
+export default App;
diff --git a/src/App.test.js b/src/App.test.js
index 1f03afe..2f56226 100644
--- a/src/App.test.js
+++ b/src/App.test.js
@@ -1,3 +1,24 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*
+*/
+
+
import { render, screen } from '@testing-library/react';
import App from './App';
diff --git a/src/context/GlobalContext.js b/src/context/GlobalContext.js
index 04e068c..4e8a6f4 100644
--- a/src/context/GlobalContext.js
+++ b/src/context/GlobalContext.js
@@ -1,3 +1,24 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*
+*/
+
+
/*global chrome*/
import React, { createContext, useState, useEffect } from 'react';
import CryptoJS from 'crypto-js';
@@ -402,4 +423,4 @@ export const GlobalProvider = ({ children }) => {
{children}
</GlobalContext.Provider>
);
-};
\ No newline at end of file
+};
diff --git a/src/css/App.css b/src/css/App.css
index 3007d8b..5eaac71 100644
--- a/src/css/App.css
+++ b/src/css/App.css
@@ -1,3 +1,24 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*
+*/
+
+
/*==============================================
[Main stylesheet style.css]
@@ -3805,4 +3826,4 @@ tr:hover {
display: flex;
align-items: center;
justify-content: center;
-}
\ No newline at end of file
+}
diff --git a/src/index.css b/src/index.css
index ec2585e..0ed5a7a 100644
--- a/src/index.css
+++ b/src/index.css
@@ -1,3 +1,24 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*
+*/
+
+
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
diff --git a/src/pages/Login.jsx b/src/pages/Login.jsx
index a2d5bea..866e896 100644
--- a/src/pages/Login.jsx
+++ b/src/pages/Login.jsx
@@ -1,3 +1,24 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*
+*/
+
+
/*global chrome*/
import '../css/App.css';
import CryptoJS from "crypto-js"; // Changed to default import
@@ -231,4 +252,4 @@ function Login() {
);
}
-export default Login;
\ No newline at end of file
+export default Login;
diff --git a/src/pages/SignUp.jsx b/src/pages/SignUp.jsx
index 1301621..d07bdee 100644
--- a/src/pages/SignUp.jsx
+++ b/src/pages/SignUp.jsx
@@ -1,3 +1,24 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*
+*/
+
+
/*global chrome*/
import '../css/App.css';
import CryptoJS from "crypto-js";
@@ -217,4 +238,4 @@ function SignUp() {
);
}
-export default SignUp;
\ No newline at end of file
+export default SignUp;
diff --git a/src/setupTests.js b/src/setupTests.js
index 8f2609b..af62eb3 100644
--- a/src/setupTests.js
+++ b/src/setupTests.js
@@ -1,3 +1,24 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*
+*/
+
+
// jest-dom adds custom jest matchers for asserting on DOM nodes.
// allows you to do things like:
// expect(element).toHaveTextContent(/react/i)
diff --git a/webpack.config.js b/webpack.config.js
index 25f2991..ebaa891 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,3 +1,24 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*
+*/
+
+
const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const path = require('path');
@@ -33,4 +54,4 @@ module.exports = {
}),
new ReactRefreshWebpackPlugin(),
],
-};
\ No newline at end of file
+};