No description
Find a file
2021-02-16 21:15:37 -03:00
.github github actions and gitignore 2021-02-16 21:15:37 -03:00
.tx Changed default language from pt_BR to en_US to all front texts 2021-02-10 08:55:56 -03:00
appinfo Create a route 2021-02-15 10:55:44 -03:00
cfssl Rollback commit 2021-02-04 21:21:53 -03:00
docs Use the default package manager of project 2021-02-16 20:53:10 -03:00
dsv Rollback commit 2021-02-04 21:21:53 -03:00
img Merge branch 2021-02-11 16:43:14 -03:00
l10n Translate to pt_BR and en_US README file 2021-02-09 12:09:38 -03:00
lib Remove unused argument 2021-02-16 12:14:53 -03:00
src Define to scooped css 2021-02-15 17:23:01 -03:00
templates Merge remote-tracking branch 'origin/main' into feature-add-webhook 2021-02-08 17:40:12 -03:00
tests Fix much bugs 2021-02-15 16:19:23 -03:00
.eslintignore Remove signature path button 2021-02-02 11:30:14 -03:00
.eslintrc.js Rollback commit 2021-02-04 21:21:53 -03:00
.gitattributes Rollback commit 2021-02-04 21:21:53 -03:00
.gitignore github actions and gitignore 2021-02-16 21:15:37 -03:00
.l10nignore Config to translate all text. 2021-02-08 18:04:51 -03:00
.npmignore Config to translate all text. 2021-02-08 18:04:51 -03:00
.php_cs.dist Rollback commit 2021-02-04 21:21:53 -03:00
babel.config.js Rollback commit 2021-02-04 21:21:53 -03:00
composer.json Remove run node codes in composer.json 2021-02-16 21:13:56 -03:00
composer.lock Add footer 2021-02-16 11:05:23 -03:00
LICENSE Rollback commit 2021-02-04 21:21:53 -03:00
Makefile Remove run node codes in composer.json 2021-02-16 21:13:56 -03:00
package-lock.json Rollback commit 2021-02-04 21:21:53 -03:00
package.json Rollback commit 2021-02-04 21:21:53 -03:00
phpunit.xml Rollback commit 2021-02-04 21:21:53 -03:00
README.md Update README.md 2021-02-15 18:52:06 -03:00
stylelint.config.js Rollback commit 2021-02-04 21:21:53 -03:00
webpack.js Rollback commit 2021-02-04 21:21:53 -03:00

Test Status

LibreSign

Nextcloud app to sign PDF documents

Setup

Java and JSignPDF

Add the follow to Nextcloud PHP container Dockerfile

# Install Java and JsignPDF
RUN mkdir -p /usr/share/man/man1
RUN apt-get install -y default-jre
RUN curl -OL https://sourceforge.net/projects/jsignpdf/files/stable/JSignPdf%201.6.4/JSignPdf-1.6.4.zip \
    && unzip JSignPdf-1.6.4.zip -d /opt \
    && rm JSignPdf-1.6.4.zip

With CFSS server

Don't is necessary if you use a docker setup

Up a cfssl server using this code:

https://github.com/cloudflare/cfssl

The URL of server you will use in Admin settings

With docker-compose

  • put the file /cfssl/entrypoint.sh in cfssl folder
  • Add the volume ./cfssl:/cfssl in Nextcloud service
  • Create a new server using the following code:
  cfssl:
    image: cfssl/cfssl
    volumes:
      - ./cfssl:/cfssl
    working_dir: /cfssl
    entrypoint: /bin/bash
    command:
      - /cfssl/entrypoint.sh

Admin settings

Go to Settings > Security and fill the necessary values for root certificate:

CN: CommonName
OU: OrganizationalUnit
O: Organization
C: CountryName
API: http://cfssl:8888/api/v1/cfssl/
Config path: /cfssl/

Go to Settings > Basic Settings and configure email settings. Is mandatory.

API documentation

API