mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-17 13:08:48 +01:00
feat: add spdx headers
Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
parent
c16314578d
commit
6ab29c0ac2
107 changed files with 425 additions and 419 deletions
22
.github/workflows/reuse.yml
vendored
Normal file
22
.github/workflows/reuse.yml
vendored
Normal file
|
|
@ -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
AUTHORS
Normal file
8
AUTHORS
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
# Authors
|
||||
|
||||
- Vinicios Gomes <viniciusgomesviana@gmail.com>
|
||||
- Vitor Mattos <vitor@php.rio>
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
22
src/App.vue
22
src/App.vue
|
|
@ -1,24 +1,6 @@
|
|||
<!--
|
||||
- @copyright Copyright (c) 2021 Lyseon Tech <contato@lt.coop.br>
|
||||
-
|
||||
- @author Lyseon Tech <contato@lt.coop.br>
|
||||
- @author Vinicios Gomes <viniciusgomesvaian@gmail.com>
|
||||
-
|
||||
- @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>
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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 />
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,22 +1,6 @@
|
|||
<!--
|
||||
- @copyright Copyright (c) 2024 Vitor Mattos <vitor@php.rio>
|
||||
-
|
||||
- @author Vitor Mattos <vitor@php.rio>
|
||||
-
|
||||
- @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>
|
||||
|
|
|
|||
|
|
@ -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%"
|
||||
|
|
|
|||
|
|
@ -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="{
|
||||
|
|
|
|||
|
|
@ -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')" />
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}%`}" />
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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()">
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -1,22 +1,6 @@
|
|||
<!--
|
||||
- @copyright Copyright (c) 2024 Vitor Mattos <vitor@php.rio>
|
||||
-
|
||||
- @author Vitor Mattos <vitor@php.rio>
|
||||
-
|
||||
- @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>
|
||||
|
|
|
|||
|
|
@ -1,24 +1,6 @@
|
|||
<!--
|
||||
- @copyright Copyright (c) 2021 Lyseon Tech <contato@lt.coop.br>
|
||||
-
|
||||
- @author Lyseon Tech <contato@lt.coop.br>
|
||||
- @author Vinicios Gomes <viniciusgomesvaian@gmail.com>
|
||||
-
|
||||
- @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>
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -1,22 +1,6 @@
|
|||
<!--
|
||||
- @copyright Copyright (c) 2024 Vitor Mattos <vitor@php.rio>
|
||||
-
|
||||
- @author Vitor Mattos <vitor@php.rio>
|
||||
-
|
||||
- @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>
|
||||
|
|
|
|||
|
|
@ -1,22 +1,6 @@
|
|||
<!--
|
||||
- @copyright Copyright (c) 2024 Vitor Mattos <vitor@php.rio>
|
||||
-
|
||||
- @author Vitor Mattos <vitor@php.rio>
|
||||
-
|
||||
- @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>
|
||||
|
|
|
|||
|
|
@ -1,25 +1,7 @@
|
|||
<!--
|
||||
- @copyright Copyright (c) 2021 Lyseon Tech <contato@lt.coop.br>
|
||||
-
|
||||
- @author Lyseon Tech <contato@lt.coop.br>
|
||||
- @author Vinicios Gomes <viniciusgomesvaian@gmail.com>
|
||||
-
|
||||
- @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>
|
||||
<router-view />
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
.modal-wrapper.--scroll {
|
||||
/*!
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
.modal-wrapper.--scroll {
|
||||
.modal-container {
|
||||
overflow-y: scroll !important;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
.libre-table {
|
||||
/*!
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
.libre-table {
|
||||
background-color: white;
|
||||
color: #363636;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
@import 'table';
|
||||
/*!
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
@import 'table';
|
||||
@import 'modal-mods';
|
||||
|
||||
.flex{display: flex;}
|
||||
|
|
|
|||
|
|
@ -1 +1,5 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
export { default as filesService } from './service.js'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
import { deburr } from 'lodash-es'
|
||||
|
||||
import axios from '@nextcloud/axios'
|
||||
|
|
|
|||
|
|
@ -1 +1,5 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
export { default as settingsService } from './service.js'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
/* eslint-disable valid-jsdoc */
|
||||
import { isEmpty } from 'lodash-es'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
const SIGN_STATUS = Object.freeze({
|
||||
DRAFT: 0,
|
||||
ABLE_TO_SIGN: 1,
|
||||
|
|
|
|||
|
|
@ -1,24 +1,6 @@
|
|||
/**
|
||||
* @copyright Copyright (c) 2021 Lyseon Techh <contato@lt.coop.br>
|
||||
*
|
||||
* @author Lyseon Tech <contato@lt.coop.br>
|
||||
* @author Vinicios Gomes <viniciosgomesviana@gmail.com>
|
||||
*
|
||||
* @license AGPL-3.0-or-later
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
import { createPinia, PiniaVuePlugin } from 'pinia'
|
||||
|
|
|
|||
|
|
@ -1,24 +1,6 @@
|
|||
/**
|
||||
* @copyright Copyright (c) 2021 Lyseon Techh <contato@lt.coop.br>
|
||||
*
|
||||
* @author Lyseon Tech <contato@lt.coop.br>
|
||||
* @author Vinicios Gomes <viniciosgomesviana@gmail.com>
|
||||
*
|
||||
* @license AGPL-3.0-or-later
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
import { loadState } from '@nextcloud/initial-state'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
import { Option } from '@marionebl/option'
|
||||
|
||||
import { translate as t } from '@nextcloud/l10n'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,11 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
/**
|
||||
* @param {string} to To this
|
||||
* @param {string} from From this
|
||||
*/
|
||||
export const isExternal = (to, from) => {
|
||||
if (from.path === '/') {
|
||||
return to.path.startsWith('/p/')
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
// import store from './store'
|
||||
|
||||
// Init LibreSign
|
||||
|
|
|
|||
22
src/main.js
22
src/main.js
|
|
@ -1,24 +1,6 @@
|
|||
/**
|
||||
* @copyright Copyright (c) 2021 Lyseon Techh <contato@lt.coop.br>
|
||||
*
|
||||
* @author Lyseon Tech <contato@lt.coop.br>
|
||||
* @author Vinicios Gomes <viniciosgomesviana@gmail.com>
|
||||
*
|
||||
* @license AGPL-3.0-or-later
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
import { createPinia, PiniaVuePlugin } from 'pinia'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
import Vue from 'vue'
|
||||
import Vuelidate from 'vuelidate'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,23 +1,6 @@
|
|||
/**
|
||||
* @copyright Copyright (c) 2021 Lyseon Techh <contato@lt.coop.br>
|
||||
*
|
||||
* @author Lyseon Tech <contato@lt.coop.br>
|
||||
*
|
||||
* @license AGPL-3.0-or-later
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
import Vue from 'vue'
|
||||
|
|
|
|||
|
|
@ -1 +1,5 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
export const fetchDocuments = async () => {}
|
||||
|
|
|
|||
|
|
@ -1,24 +1,6 @@
|
|||
/**
|
||||
* @copyright Copyright (c) 2021 Lyseon Techh <contato@lt.coop.br>
|
||||
*
|
||||
* @author Lyseon Tech <contato@lt.coop.br>
|
||||
* @author Vinicios Gomes <viniciosgomesviana@gmail.com>
|
||||
*
|
||||
* @license AGPL-3.0-or-later
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
import { createPinia, PiniaVuePlugin } from 'pinia'
|
||||
|
|
|
|||
|
|
@ -1,24 +1,6 @@
|
|||
/**
|
||||
* @copyright Copyright (c) 2021 Lyseon Techh <contato@lt.coop.br>
|
||||
*
|
||||
* @author Lyseon Tech <contato@lt.coop.br>
|
||||
* @author Vinicios Gomes <viniciosgomesviana@gmail.com>
|
||||
*
|
||||
* @license AGPL-3.0-or-later
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
import Vue, { set } from 'vue'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
const state = {
|
||||
code: 0,
|
||||
message: '',
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
const state = {
|
||||
file: {},
|
||||
files: [],
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
import { defaults } from 'lodash-es'
|
||||
|
||||
import { loadState } from '@nextcloud/initial-state'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
const state = {
|
||||
status: false,
|
||||
}
|
||||
|
|
|
|||
22
src/tab.js
22
src/tab.js
|
|
@ -1,24 +1,6 @@
|
|||
/**
|
||||
* @copyright Copyright (c) 2021 Lyseon Techh <contato@lt.coop.br>
|
||||
*
|
||||
* @author Lyseon Tech <contato@lt.coop.br>
|
||||
* @author Vinicios Gomes <viniciosgomesviana@gmail.com>
|
||||
*
|
||||
* @license AGPL-3.0-or-later
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
import { createPinia, PiniaVuePlugin } from 'pinia'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
/**
|
||||
* @param {string} email The email to validate
|
||||
*/
|
||||
export const validateEmail = (email) => {
|
||||
const reg = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/
|
||||
return !!reg.test(email)
|
||||
|
|
|
|||
|
|
@ -1,24 +1,6 @@
|
|||
/**
|
||||
* @copyright Copyright (c) 2021 Lyseon Techh <contato@lt.coop.br>
|
||||
*
|
||||
* @author Lyseon Tech <contato@lt.coop.br>
|
||||
* @author Vinicios Gomes <viniciosgomesviana@gmail.com>
|
||||
*
|
||||
* @license AGPL-3.0-or-later
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
import Vue from 'vue'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<div class="content-account">
|
||||
<div class="user">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<div v-if="enabledFlow" class="documents">
|
||||
<h1>{{ t('libresign', 'Your profile documents') }}</h1>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<div class="user-display-password">
|
||||
<NcButton :wide="true"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<div class="signature-fav">
|
||||
<header>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<div class="signatures">
|
||||
<h1>{{ t('libresign', 'Your signatures') }}</h1>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<script>
|
||||
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,24 +1,6 @@
|
|||
<!--
|
||||
- @copyright Copyright (c) 2021 Lyseon Tech <contato@lt.coop.br>
|
||||
-
|
||||
- @author Lyseon Tech <contato@lt.coop.br>
|
||||
- @author Vinicios Gomes <viniciusgomesvaian@gmail.com>
|
||||
-
|
||||
- @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>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<NcDialog v-if="signMethodsStore.modal.createPassword"
|
||||
:name="t('libresign', 'Password Creation')"
|
||||
|
|
|
|||
|
|
@ -1,24 +1,6 @@
|
|||
<!--
|
||||
- @copyright Copyright (c) 2021 Lyseon Tech <contato@lt.coop.br>
|
||||
-
|
||||
- @author Lyseon Tech <contato@lt.coop.br>
|
||||
- @author Vinicios Gomes <viniciusgomesvaian@gmail.com>
|
||||
-
|
||||
- @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>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<ProgressBar v-if="loading" infinity />
|
||||
<div v-else class="is-fullwidth container-account-docs-to-validate with-sidebar--full">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<div class="container">
|
||||
<div class="container-image">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<NcDialog v-if="signMethodsStore.modal.readCertificate"
|
||||
:name="t('libresign', 'Certificate data')"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<div class="wrapper">
|
||||
<div class="header">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<div class="container">
|
||||
<div id="container-request">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
/* eslint-disable no-new */
|
||||
<template>
|
||||
<NcDialog v-if="signMethodsStore.modal.resetPassword"
|
||||
|
|
|
|||
|
|
@ -1,24 +1,6 @@
|
|||
<!--
|
||||
- @copyright Copyright (c) 2021 Lyseon Tech <contato@lt.coop.br>
|
||||
-
|
||||
- @author Lyseon Tech <contato@lt.coop.br>
|
||||
- @author Vinicios Gomes <viniciusgomesvaian@gmail.com>
|
||||
-
|
||||
- @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>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<div class="form-group">
|
||||
<label for="optionalAttribute">{{ t('libresign', 'Optional attributes') }}</label>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<NcSettingsSection :name="name" :description="description">
|
||||
<div class="certificate-engine-content">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<NcSettingsSection :name="name" :description="description">
|
||||
<NcCheckboxRadioSwitch type="switch"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<!-- eslint-disable vue/no-v-html -->
|
||||
|
||||
<template>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<NcSettingsSection :name="name" :description="description">
|
||||
<div class="default-user-folder-content">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<NcSettingsSection :name="name" :description="description">
|
||||
<NcNoteCard v-if="errors.length > 0" type="error" heading="Error">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<NcSettingsSection :name="name">
|
||||
<p>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<NcSettingsSection :name="name" :description="description">
|
||||
<NcCheckboxRadioSwitch type="switch"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<NcSettingsSection :name="name" :description="description">
|
||||
<div v-for="(identifyMethod, index) in identifyMethods"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<NcSettingsSection :name="name" :description="description">
|
||||
<div class="legal-information-content">
|
||||
|
|
|
|||
|
|
@ -1,24 +1,6 @@
|
|||
<!--
|
||||
- @copyright Copyright (c) 2021 Lyseon Tech <contato@lt.coop.br>
|
||||
-
|
||||
- @author Lyseon Tech <contato@lt.coop.br>
|
||||
- @author Vinicios Gomes <viniciusgomesvaian@gmail.com>
|
||||
-
|
||||
- @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>
|
||||
|
|
|
|||
|
|
@ -1,24 +1,6 @@
|
|||
<!--
|
||||
- @copyright Copyright (c) 2021 Lyseon Tech <contato@lt.coop.br>
|
||||
-
|
||||
- @author Lyseon Tech <contato@lt.coop.br>
|
||||
- @author Vinicios Gomes <viniciusgomesvaian@gmail.com>
|
||||
-
|
||||
- @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>
|
||||
|
|
|
|||
|
|
@ -1,24 +1,6 @@
|
|||
<!--
|
||||
- @copyright Copyright (c) 2021 Lyseon Tech <contato@lt.coop.br>
|
||||
-
|
||||
- @author Lyseon Tech <contato@lt.coop.br>
|
||||
- @author Vinicios Gomes <viniciusgomesvaian@gmail.com>
|
||||
-
|
||||
- @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>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<NcSettingsSection :name="name">
|
||||
<p>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<div class="main-view">
|
||||
<TopBar :sidebar-toggle="true" />
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<NcDialog size="normal"
|
||||
:can-close="!loading"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<NcDialog v-if="signMethodsStore.modal.sms"
|
||||
:name="t('libresign', 'Sign with your cellphone number.')"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<div class="document-sign">
|
||||
<div class="sign-elements">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<div class="container-timeline">
|
||||
<div class="content-timeline">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
|
||||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<div class="container">
|
||||
<div class="image">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
const stylelintConfig = require('@nextcloud/stylelint-config')
|
||||
|
||||
module.exports = stylelintConfig
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue