Skip to content

Commit

Permalink
feat: add spdx headers
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Oct 26, 2024
1 parent c163145 commit 6ab29c0
Show file tree
Hide file tree
Showing 107 changed files with 425 additions and 419 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization

# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
#
# SPDX-License-Identifier: CC0-1.0

name: REUSE Compliance Check

on: [pull_request]

jobs:
reuse-compliance-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1

- name: REUSE Compliance Check
uses: fsfe/reuse-action@3ae3c6bdf1257ab19397fab11fd3312144692083 # v4.0.0
8 changes: 8 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!--
- SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Authors

- Vinicios Gomes <[email protected]>
- Vitor Mattos <[email protected]>
4 changes: 4 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
const babelConfig = require('@nextcloud/babel-config')

module.exports = babelConfig
2 changes: 2 additions & 0 deletions redocly.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
apis:
openapi@v1:
root: ./openapi.json
Expand Down
22 changes: 2 additions & 20 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
<!--
- @copyright Copyright (c) 2021 Lyseon Tech <[email protected]>
-
- @author Lyseon Tech <[email protected]>
- @author Vinicios Gomes <[email protected]>
-
- @license GNU AGPL version 3 or any later version
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-
- SPDX-FileCopyrightText: 2021 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->

<template>
Expand Down
4 changes: 4 additions & 0 deletions src/Components/Bullet/Bullet.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div class="bullet__wrapper">
<span class="bullet__name">
Expand Down
4 changes: 4 additions & 0 deletions src/Components/Chip.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<span class="ship-component" :class="`ship-component-${state}`">
<slot />
Expand Down
4 changes: 4 additions & 0 deletions src/Components/Draw/Draw.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<NcDialog v-if="mounted"
class="draw-signature"
Expand Down
4 changes: 4 additions & 0 deletions src/Components/Draw/Editor.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div class="container-draw">
<div class="actions">
Expand Down
4 changes: 4 additions & 0 deletions src/Components/Draw/FileUpload.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div class="draw-file-input">
<div class="file-input-container">
Expand Down
4 changes: 4 additions & 0 deletions src/Components/Draw/TextInput.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div class="container-draw">
<div class="canva-container">
Expand Down
4 changes: 4 additions & 0 deletions src/Components/Draw/options.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
export const SignatureImageDimensions = Object.freeze({
height: 100,
width: 350,
Expand Down
4 changes: 4 additions & 0 deletions src/Components/File/File.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div v-if="currentNodeId > 0" class="content-file" @click="openSidebar">
<img v-if="previewUrl && backgroundFailed !== true"
Expand Down
4 changes: 4 additions & 0 deletions src/Components/InputAction/InputAction.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<form @submit="e => e.preventDefault()">
<input v-model="value"
Expand Down
4 changes: 4 additions & 0 deletions src/Components/InputAction/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
/**
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import InputAction from './InputAction.vue'
export default InputAction
6 changes: 5 additions & 1 deletion src/Components/InputAction/styles.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
form{
/*!
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
form{
display: flex;
flex-direction: row !important;
border: 1px solid #cecece;
Expand Down
20 changes: 2 additions & 18 deletions src/Components/LeftSidebar/LeftSidebar.vue
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
<!--
- @copyright Copyright (c) 2024 Vitor Mattos <[email protected]>
-
- @author Vitor Mattos <[email protected]>
-
- @license GNU AGPL version 3 or any later version
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->

<template>
Expand Down
4 changes: 4 additions & 0 deletions src/Components/PdfEditor/PdfEditor.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<VuePdfEditor ref="vuePdfEditor"
width="100%"
Expand Down
4 changes: 4 additions & 0 deletions src/Components/PdfEditor/Signature.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div class="absolute left-0 top-0 select-none"
:style="{
Expand Down
4 changes: 4 additions & 0 deletions src/Components/PreviewSignature/PreviewSignature.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div>
<NcLoadingIcon v-if="loading" :size="64" :name="t('libresign', 'Loading file')" />
Expand Down
4 changes: 4 additions & 0 deletions src/Components/PreviewSignature/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import PreviewSignature from './PreviewSignature.vue'

export default PreviewSignature
4 changes: 4 additions & 0 deletions src/Components/ProgressBar.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div class="libre-progress" :class="{ infinity }">
<span :style="{width: infinity ? false : `${value}%`}" />
Expand Down
4 changes: 4 additions & 0 deletions src/Components/Request/AccountOrEmail.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div id="account-or-email">
<label for="account-or-email-input">{{ t('libresign', 'Search signer') }}</label>
Expand Down
4 changes: 4 additions & 0 deletions src/Components/Request/IdentifySigner.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div class="identifySigner">
<AccountOrEmail v-if="methods.account.enabled || methods.email.enabled"
Expand Down
4 changes: 4 additions & 0 deletions src/Components/Request/SignDetail/partials/PageNavigation.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<nav :style="{ width }" class="page-navigation">
<button :disabled="!allowPrevious" class="primary" @click="previous">
Expand Down
4 changes: 4 additions & 0 deletions src/Components/Request/SignDetail/partials/SignerRow.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<NcListItem v-bind="{ to, 'counter-number': hasElement ? '📎' : undefined }"
:name="displayName"
Expand Down
4 changes: 4 additions & 0 deletions src/Components/Request/VisibleElements.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<NcDialog v-if="modal"
:name="document.name"
Expand Down
4 changes: 4 additions & 0 deletions src/Components/RightSidebar/AppFilesTab.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div>
<h3 v-if="filesStore.getSubtitle()">
Expand Down
4 changes: 4 additions & 0 deletions src/Components/RightSidebar/RequestSignatureTab.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div v-if="filesStore.identifyingSigner"
id="request-signature-identify-signer">
Expand Down
4 changes: 4 additions & 0 deletions src/Components/RightSidebar/RightSidebar.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<NcAppSidebar v-if="sidebarStore.isVisible()"
ref="rightAppSidebar"
Expand Down
20 changes: 2 additions & 18 deletions src/Components/RightSidebar/SignTab.vue
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
<!--
- @copyright Copyright (c) 2024 Vitor Mattos <[email protected]>
-
- @author Vitor Mattos <[email protected]>
-
- @license GNU AGPL version 3 or any later version
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->

<template>
Expand Down
22 changes: 2 additions & 20 deletions src/Components/Settings/CroppedLayoutSettings.vue
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
<!--
- @copyright Copyright (c) 2021 Lyseon Tech <[email protected]>
-
- @author Lyseon Tech <[email protected]>
- @author Vinicios Gomes <[email protected]>
-
- @license GNU AGPL version 3 or any later version
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-
- SPDX-FileCopyrightText: 2021 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->

<template>
Expand Down
4 changes: 4 additions & 0 deletions src/Components/Signers/Signer.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div>
<NcListItem :name="signer.displayName"
Expand Down
4 changes: 4 additions & 0 deletions src/Components/Signers/Signers.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<ul>
<Signer v-for="(signer, index) in signers"
Expand Down
20 changes: 2 additions & 18 deletions src/Components/TopBar/SidebarToggle.vue
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
<!--
- @copyright Copyright (c) 2024 Vitor Mattos <[email protected]>
-
- @author Vitor Mattos <[email protected]>
-
- @license GNU AGPL version 3 or any later version
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->

<template>
Expand Down
Loading

0 comments on commit 6ab29c0

Please sign in to comment.