Skip to content

Commit

Permalink
Import as single squashed commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sigio committed Feb 7, 2025
0 parents commit 9d0b4c4
Show file tree
Hide file tree
Showing 2,698 changed files with 243,032 additions and 0 deletions.
1 change: 1 addition & 0 deletions .db_requirements
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v0.1.55
11 changes: 11 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.dockerignore
.github
docs
auth.json
.npmrc.auth
var
vendor
node_modules
Taskfile*.yml
compose.yml
compose.*.yml
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_size = 2

[config/**/*.{yml,yaml}]
indent_size = 4

[*.{mjs,js,ts,vue}]
indent_size = 2
127 changes: 127 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
# -----------------------------------------------------
# Environment setting (dev, prod)
# -----------------------------------------------------
###> symfony/framework-bundle ###
APP_ENV=dev
###< symfony/framework-bundle ###

APP_DEBUG=true

# -----------------------------------------------------
# Application configuration
# -----------------------------------------------------

# Unique secret for creating signatures (remember me, CSRF etc)
APP_SECRET=32f3c49be690d4c5f499093ae7dd3a7d

# Database at-rest encryption key (generated with "php bin/console generate:database-key")
DATABASE_ENCRYPTION_KEY=

# The name of the site. Used only for displaying purposes.
SITE_NAME=open.minvws.nl

# -----------------------------------------------------
# External service configuration
# -----------------------------------------------------

###> doctrine/doctrine-bundle ###
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
#
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
# DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=8.0.32&charset=utf8mb4"
# DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
DATABASE_URL="postgresql://app:[email protected]:5432/app?serverVersion=14&charset=utf8"
###< doctrine/doctrine-bundle ###

# Message bus transport method
HIGH_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/high
INGESTOR_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/ingestor
ESUPDATER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/es_updates
GLOBAL_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/global

# Url to the RabbitMQ management interface for statistics
RABBITMQ_STATS_URL=http://guest:[email protected]:15672

# External mailer
# MAILER_DSN=null://null

# Host of the Elasticsearch server
ELASTICSEARCH_HOST=http://127.0.0.1:9200
ELASTICSEARCH_USER=
ELASTICSEARCH_PASS=
ELASTICSEARCH_MTLS_CERT_PATH=
ELASTICSEARCH_MTLS_KEY_PATH=
ELASTICSEARCH_MTLS_CA_PATH=

# Host of the Tika text extraction service
TIKA_HOST=http://127.0.0.1:9998

# Redis instance that is used for document content caching
REDIS_URL=redis://localhost:6379
REDIS_TLS_CAFILE=
REDIS_TLS_LOCAL_CERT=
REDIS_TLS_LOCAL_PK=

# The name of cookie. Should start with __Host- , but cannot be prefixed
# with __Host- when running on non-TLS connections
COOKIE_NAME=WOOPID

# Issuer of the TOTP tokens, used in 2fa for the totp URI
TOTP_ISSUER=localhost

# Application mode. Could be only for balie (backend), frontend, or both
APP_MODE=BOTH

# Base URL of the application frontend (which could different from backend when APP_MODE is not BOTH)
PUBLIC_BASE_URL=http://localhost:8000

# -----------------------------------------------------
# Storage adapter to use
# Choose between aws or local
STORAGE_DOCUMENT_ADAPTER=local
STORAGE_THUMBNAIL_ADAPTER=local
STORAGE_BATCH_ADAPTER=local

# Storage adapter configuration for AWS S3/Minio
STORAGE_MINIO_REGION=eu-west-1
STORAGE_MINIO_ENDPOINT=
STORAGE_MINIO_ACCESS_KEY=
STORAGE_MINIO_SECRET_KEY=

# Bucket definitions for AWS S3/Minio
STORAGE_MINIO_DOCUMENT_BUCKET=doc_bucket
STORAGE_MINIO_THUMBNAIL_BUCKET=thumb_bucket
STORAGE_MINIO_BATCH_BUCKET=batch_bucket

# -----------------------------------------------------
# Identification number for Piwik analytics
PIWIK_ANALYTICS_ID=0

###> php-amqplib/rabbitmq-bundle ###
RABBITMQ_URL=amqp://guest:guest@localhost:5672
###< php-amqplib/rabbitmq-bundle ###

#------------------------------------------------------
# audit logger variables
# Generate keys with "php bin/console woopie:auditlog:generate-keys"
AUDITLOG_ENCRYPTION_PUB_KEY=
AUDITLOG_ENCRYPTION_PRIV_KEY=

AUDITLOG_PSR_ENCRYPTED=false
AUDITLOG_PSR_LOG_PII=false

AUDITLOG_DOCTRINE_ENCRYPTED=false
AUDITLOG_DOCTRINE_LOG_PII=false

AUDITLOG_RABBITMQ_ENCRYPTED=false
AUDITLOG_RABBITMQ_LOG_PII=false
AUDITLOG_RABBITMQ_ROUTING_KEY=auditlog

AUDITLOG_FILE_ENCRYPTED=false
AUDITLOG_FILE_LOG_PII=false
AUDITLOG_FILE_PATH=%kernel.logs_dir%/audit.log

HAS_FEATURE_VERWERKINGSREGISTER_LINK=false

CLAM_AV_MAX_FILESIZE=1073741824
3 changes: 3 additions & 0 deletions .env.ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/postgres?serverVersion=14&charset=utf8"

RABBITMQ_URL=amqp://guest:guest@localhost:5672
58 changes: 58 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# This file can be used for local development through docker-compose

APP_ENV=dev
APP_SECRET=32f3c49be690d4c5f499093ae7dd3a7d

SITE_NAME=open.minvws.nl

DATABASE_URL="postgresql://postgres:postgres@postgres:5432/postgres?serverVersion=14&charset=utf8"

HIGH_TRANSPORT_DSN=amqp://guest:guest@rabbitmq:5672/%2f/high
INGESTOR_TRANSPORT_DSN=amqp://guest:guest@rabbitmq:5672/%2f/ingestor
ESUPDATER_TRANSPORT_DSN=amqp://guest:guest@rabbitmq:5672/%2f/es_updates
GLOBAL_TRANSPORT_DSN=amqp://guest:guest@rabbitmq:5672/%2f/global

# MAILER_DSN=null://null

RABBITMQ_STATS_URL=http://guest:guest@rabbitmq:15672/api/overview
ELASTICSEARCH_HOST=http://elasticsearch:9200
ELASTICSEARCH_USER=
ELASTICSEARCH_PASS=
ELASTICSEARCH_MTLS_CERT_PATH=
ELASTICSEARCH_MTLS_KEY_PATH=
ELASTICSEARCH_MTLS_CA_PATH=

TIKA_HOST=http://tika:9998

# The key to encrypt fields in the database. Generate with "bin/console generate:database-key"
DATABASE_ENCRYPTION_KEY=

REDIS_URL=redis://redis:6379
REDIS_TLS_CAFILE=
REDIS_TLS_LOCAL_CERT=
REDIS_TLS_LOCAL_PK=

COOKIE_NAME=WOOPID

TOTP_ISSUER=localhost

APP_MODE=BOTH
PUBLIC_BASE_URL=http://localhost:8000

STORAGE_DOCUMENT_ADAPTER=local
STORAGE_THUMBNAIL_ADAPTER=local
STORAGE_BATCH_ADAPTER=local

PIWIK_ANALYTICS_ID=0

AUDITLOG_ENCRYPTION_PUB_KEY=
AUDITLOG_ENCRYPTION_PRIV_KEY=

AUDITLOG_PSR_ENCRYPTED=false
AUDITLOG_DOCTRINE_ENCRYPTED=false
AUDITLOG_RABBITMQ_ENCRYPTED=false
AUDITLOG_FILE_ENCRYPTED=false
AUDITLOG_FILE_PATH=%kernel.logs_dir%/audit.log
RABBITMQ_URL=amqp://guest:guest@rabbitmq:5672
CLAM_AV_ADDRESS=tcp://clamav:3310
CLAM_AV_MAX_FILESIZE=1073741824
20 changes: 20 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# define your env variables for the test env here
APP_ENV=test
KERNEL_CLASS='App\Kernel'
SYMFONY_DEPRECATIONS_HELPER=999999
PANTHER_APP_ENV=panther
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots

DATABASE_URL="postgresql://postgres:postgres@postgres:5432/postgres?serverVersion=14&charset=utf8"

HIGH_TRANSPORT_DSN=in-memory://
INGESTOR_TRANSPORT_DSN=in-memory://
ESUPDATER_TRANSPORT_DSN=in-memory://
GLOBAL_TRANSPORT_DSN=in-memory://

RABBITMQ_URL=amqp://guest:guest@rabbitmq:5672

# The key to encrypt fields in the database. Generate with "bin/console generate:database-key"
DATABASE_ENCRYPTION_KEY=314005005c42fb6849aa5d7ca12faba81643c03e71e3a590e1436a882e9fff8135237d39d99652bc7f35a39c87bd370fa4745276126b145b3d2e34f2c3ea105d424893ae82f92347393860d4fa9836fdb1933525e7de765a379bed5777402bc10cc6be46
# SYMFONY_DEPRECATIONS_HELPER="disabled=1"

4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* @minvws/rdo-woo-codeowners
.github/CODEOWNERS @minvws/irealisatie-operations

/tests/robot_framework @minvws/rdo-robotframework-codeowners
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/1-BUG.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Bug
description: Meld een bug.
projects: ["minvws/30"]
type: Bug
body:
- type: textarea
attributes:
label: Reproductie stappen
validations:
required: true
- type: textarea
attributes:
label: Geobserveerd gedrag
validations:
required: true
- type: textarea
attributes:
label: Verwacht gedrag
validations:
required: true
- type: dropdown
id: branch
attributes:
label: Git branch kiezen
options:
- Maak een PR naar de huidige release branch
- Maak een PR naar de main branch
validations:
required: true
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/2-USER-STORY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: User Story
description: Maak een nieuwe User Story aan
projects: ["minvws/30"]
type: User Story
body:
- type: textarea
attributes:
label: Omschrijving
validations:
required: true
- type: textarea
attributes:
label: Acceptatiecriteria
validations:
required: true
- type: textarea
attributes:
label: Privacy & Security
validations:
required: true
- type: textarea
attributes:
label: Afhankelijkheden
validations:
required: true
- type: textarea
attributes:
label: QA
validations:
required: true
- type: textarea
attributes:
label: Buiten scope
validations:
required: true
- type: markdown
attributes:
value: '[Definition of Done](https://github.com/minvws/nl-rdo-woo-web-private/blob/main/docs/technische-documentatie/definition-of-done.md)'
55 changes: 55 additions & 0 deletions .github/ISSUE_TEMPLATE/3-FEATURE.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Feature
description: Maak een nieuwe Feature aan
projects: ["minvws/30"]
type: Feature
body:
- type: textarea
attributes:
label: Omschrijving
validations:
required: true
- type: textarea
attributes:
label: Doel en waarde
validations:
required: true
- type: textarea
attributes:
label: Achtergrond informatie
validations:
required: true
- type: textarea
attributes:
label: Acceptatiecriteria - Balie/admin
validations:
required: false
- type: textarea
attributes:
label: Acceptatiecriteria - Publieke website
validations:
required: false
- type: textarea
attributes:
label: Links
validations:
required: false
- type: textarea
attributes:
label: Buiten scope
validations:
required: false
- type: textarea
attributes:
label: Non functional requirements
validations:
required: false
- type: textarea
attributes:
label: Documentatie
validations:
required: false
- type: textarea
attributes:
label: Security en privacy
validations:
required: false
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/4-GENERIC.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Blanco issue
description: Maak een blanco issue aan
projects: ["minvws/30"]
body:
- type: textarea
attributes:
label: Omschrijving
validations:
required: true
Loading

0 comments on commit 9d0b4c4

Please sign in to comment.