diff --git a/.babelrc b/.babelrc index 68bb7a3a..72bb335b 100644 --- a/.babelrc +++ b/.babelrc @@ -1,3 +1,19 @@ +/* + * 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. + */ { "presets": ["@babel/preset-env"], "plugins": [ diff --git a/.gitignore b/.gitignore index 8d50f9ab..c1072aa9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,19 @@ +# 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. .idea /node_modules/* /logs/* diff --git a/README.md b/README.md index ae4e83ee..774caed9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,22 @@ + + # Apache Flagon UserALE.js ![Node.js CI](https://github.com/apache/flagon-useralejs/workflows/Node.js%20CI/badge.svg) diff --git a/cypress.config.js b/cypress.config.js index f269aedb..8fcdb140 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -1,3 +1,19 @@ +/* + * 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 { defineConfig } = require('cypress') module.exports = defineConfig({ diff --git a/example/README.md b/example/README.md index debafeb4..b6d89569 100644 --- a/example/README.md +++ b/example/README.md @@ -1,3 +1,21 @@ + # The UserALE.js Example Utility This directory provides diff --git a/example/custom-non-user-events-example/README.md b/example/custom-non-user-events-example/README.md index f4de34c2..27bbb405 100644 --- a/example/custom-non-user-events-example/README.md +++ b/example/custom-non-user-events-example/README.md @@ -1,3 +1,21 @@ + ## Logging Custom, Non-User Events Examples UserALE.js' API provides significant customization options; you can use it extend UserALE.js' out-of-the-box capabilities and log non-user events. diff --git a/example/log-attribute-example/README.md b/example/log-attribute-example/README.md index f7b6f7ae..7f6a8940 100644 --- a/example/log-attribute-example/README.md +++ b/example/log-attribute-example/README.md @@ -1,3 +1,21 @@ + # HTML attribute logging The following is an example outlining how to log HTML attributes with UserALE.js, and parse some common syntaxs found in attributes. diff --git a/example/log-label-example/README.md b/example/log-label-example/README.md index a17a89eb..0929053d 100644 --- a/example/log-label-example/README.md +++ b/example/log-label-example/README.md @@ -1,3 +1,21 @@ + # Custom Log Label Examples The following are examples illustrating how to add custom labels to logs generated by UserALE.js. Custom labels are diff --git a/example/react-app-example/.gitignore b/example/react-app-example/.gitignore index 4d29575d..b0227dfe 100644 --- a/example/react-app-example/.gitignore +++ b/example/react-app-example/.gitignore @@ -1,3 +1,20 @@ +# 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. + # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # dependencies diff --git a/example/react-app-example/README.md b/example/react-app-example/README.md index 974c9553..bdf716d9 100644 --- a/example/react-app-example/README.md +++ b/example/react-app-example/README.md @@ -1,3 +1,21 @@ + # Apache Flagon UseraALE.js React Example This example was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). It demonstrates UserALE.js `autostart` configurations and `start()`, `stop()` exports. diff --git a/example/react-app-example/src/logo.svg b/example/react-app-example/src/logo.svg index 9dfc1c05..41119570 100644 --- a/example/react-app-example/src/logo.svg +++ b/example/react-app-example/src/logo.svg @@ -1 +1,19 @@ + \ No newline at end of file diff --git a/example/webpackUserAleExample/.gitignore b/example/webpackUserAleExample/.gitignore index 4c0ed706..5d5dcf03 100644 --- a/example/webpackUserAleExample/.gitignore +++ b/example/webpackUserAleExample/.gitignore @@ -1,3 +1,19 @@ +# 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. .idea /node_modules/* /logs/* diff --git a/example/webpackUserAleExample/README.md b/example/webpackUserAleExample/README.md index d4c9dab4..ca29e3a9 100644 --- a/example/webpackUserAleExample/README.md +++ b/example/webpackUserAleExample/README.md @@ -1,3 +1,21 @@ + # The UserALE.js Webpack Example Utility This example provides: diff --git a/src/UserALEWebExtension/README.md b/src/UserALEWebExtension/README.md index b409dcf5..0f1b3092 100644 --- a/src/UserALEWebExtension/README.md +++ b/src/UserALEWebExtension/README.md @@ -1,3 +1,21 @@ + # UserALE Web Extension The UserALE.js Web Extension is designed to enable user activity logging across any page they visit, regardless of domain. To achieve this, we repackaged our UserALE.js library into a WebExtension compliant format to allow portability between browsers.