Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
4998567
feat: add QueryConfig class for configurable SQL queries
vitormattos May 15, 2026
81be72e
refactor: integrate QueryConfig for configurable database queries
vitormattos May 15, 2026
4a79ead
fix: use QueryConfig for password update queries
vitormattos May 15, 2026
81c57af
test: add QueryConfig unit tests
vitormattos May 15, 2026
90e1444
ci: add GitHub Actions workflows
vitormattos May 15, 2026
6a040eb
chore: add REUSE.toml for SPDX compliance
vitormattos May 15, 2026
ea2c794
chore: update composer configuration and dependencies
vitormattos May 15, 2026
5d3212b
docs: update appinfo with SPDX headers and metadata
vitormattos May 15, 2026
0596e9c
docs: add comprehensive documentation with SQL query customization
vitormattos May 15, 2026
c144929
chore: add phpunit build artifacts to gitignore
vitormattos May 15, 2026
09b2f0f
chore: add SPDX headers to HashPassword helper
vitormattos May 15, 2026
a7eac83
ci: add REUSE SPDX compliance check workflow
vitormattos May 15, 2026
9cc4130
ci: preserve Nextcloud template SPDX headers in workflows
vitormattos May 15, 2026
d10f4b3
chore: add LICENSES directory with SPDX license files
vitormattos May 15, 2026
6afa34b
fix: remove unused CC0-1.0 license from REUSE configuration
vitormattos May 15, 2026
c1673e9
chore: add CODEOWNERS file
vitormattos May 15, 2026
df7614f
chore: restore CC0-1.0 license for CODEOWNERS file
vitormattos May 15, 2026
e3d952d
fix: SPDX header
vitormattos May 15, 2026
f6520f1
fix: SPDX header
vitormattos May 15, 2026
4cb9cb0
fix: typo
vitormattos May 15, 2026
f0996ad
fix: correct SPDX header in .gitignore for REUSE compliance
vitormattos May 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/appinfo/info.xml @vitormattos
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# SPDX-FileCopyrightText: 2026 LibreCode coop and contributors
# SPDX-License-Identifier: AGPL-3.0-or-later

github: libresign
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# SPDX-FileCopyrightText: 2026 LibreCode coop and contributors
# SPDX-License-Identifier: AGPL-3.0-or-later

version: 2
updates:
# Maintain dependencies for Composer
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
42 changes: 42 additions & 0 deletions .github/workflows/lint-info-xml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 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: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

name: Lint info.xml

on:
pull_request:
push:
branches:
- main

permissions:
contents: read

concurrency:
group: lint-info-xml-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
xml-linters:
runs-on: ubuntu-latest

name: info.xml lint
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Download schema
run: wget https://raw.githubusercontent.com/nextcloud/appstore/master/nextcloudappstore/api/v1/release/info.xsd

- name: Lint info.xml
uses: ChristophWurst/xmllint-action@36f2a302f84f8c83fceea0b9c59e1eb4a616d3c1 # v1.2
with:
xml-file: ./appinfo/info.xml
xml-schema-file: ./info.xsd
56 changes: 56 additions & 0 deletions .github/workflows/lint-php.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# 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: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

name: Lint PHP

on:
pull_request:
push:
branches:
- main

permissions:
contents: read

concurrency:
group: lint-php-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
php-lint:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.2', '8.3']

name: php-lint PHP ${{ matrix.php-versions }}

steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Validate composer
run: composer validate --strict --no-check-publish

- name: Install dependencies
run: composer install --no-interaction --prefer-dist

- name: Lint
run: composer run lint
53 changes: 53 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# 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-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

name: PHPUnit

on:
pull_request:
push:
branches:
- main

permissions:
contents: read

concurrency:
group: phpunit-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
phpunit:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.2', '8.3']

name: PHPUnit PHP ${{ matrix.php-versions }}

steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install dependencies
run: composer install --no-interaction --prefer-dist

- name: PHPUnit
run: composer run test:unit
28 changes: 28 additions & 0 deletions .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# SPDX-FileCopyrightText: 2026 LibreCode coop and contributors
# SPDX-License-Identifier: AGPL-3.0-or-later

name: REUSE Compliance Check

on:
pull_request:
push:
branches:
- main

permissions:
contents: read

concurrency:
group: reuse-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
reuse-compliance:
name: REUSE Compliance Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: REUSE Compliance Check
uses: fsfe/reuse-action@v6
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# SPDX-FileCopyrightText: 2026 LibreCode coop and contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
/vendor/
/build/
.phpunit.cache/
Loading
Loading