Public application form
  • PHP 70.6%
  • JavaScript 17.8%
  • CSS 11.6%
Find a file
2026-07-27 14:47:34 +02:00
appinfo minor changes 2026-07-27 14:15:49 +02:00
css initial commit 2026-07-22 09:40:03 +02:00
js initial commit 2026-07-22 09:40:03 +02:00
l10n initial commit 2026-07-22 09:40:03 +02:00
lib popravek na verzijo 34 - dela na pol 2026-07-27 14:08:29 +02:00
templates initial commit 2026-07-22 09:40:03 +02:00
.gitignore initial commit 2026-07-22 09:40:03 +02:00
composer.json initial commit 2026-07-22 09:40:03 +02:00
README.md minor changes 2026-07-27 14:47:34 +02:00

PAF - Public Application Form

Nextcloud plugin for managing public applications.

Installation

  1. Copy paf folder to /var/www/nextcloud/apps/
  2. Set permissions: sudo chown -R www-data:www-data /var/www/nextcloud/apps/paf
  3. Enable plugin: sudo -u www-data php occ app:enable paf
  4. Run migration: sudo -u www-data php occ db:upgrades

Features

  • Create applications with: naziv, pravna oseba, identifikacija, datum, status
  • Save to database
  • View all applications (users see only their own, admins see all)
  • Edit and delete applications

Nekaj bash ukazov za deploy

rsync -av --exclude='.git' . /home/jivancic/apps-data-ssd/docker/nextcloud/default/apps/paf
sudo podman cp . nextcloud:/var/www/html/custom_apps/paf

sudo podman exec -u 33 nextcloud php /var/www/html/occ app:enable paf

sudo podman exec nextcloud chmod -R 755 /var/www/html/apps/paf/
sudo podman exec nextcloud chown -R www-data:www-data /var/www/html/apps/paf

# Check
sudo podman exec -u 33 nextcloud php /var/www/html/occ app:list | grep paf

curl http://localhost:9090/custom_apps/paf/

Structure

paf/
├── appinfo/
│   ├── info.xml
│   ├── app.php
│   ├── routes.php
│   └── app.svg
├── lib/
│   ├── Controller/
│   │   ├── ApplicationController.php
│   │   └── PageController.php
│   ├── Service/
│   │   └── ApplicationService.php
│   ├── Db/
│   │   ├── Application.php
│   │   └── ApplicationMapper.php
│   └── Migration/
│       └── Version20260721000000.php
├── templates/
│   ├── main.php
│   ├── form.php
│   └── list.php
├── css/
│   └── style.css
├── js/
│   └── app.js
├── l10n/
│   └── sl_SI.po
├── composer.json
├── .gitignore
└── README.md