Skip to content

Commit

Permalink
CicD
Browse files Browse the repository at this point in the history
  • Loading branch information
SelimMEZLINI committed Oct 2, 2024
1 parent 6aabd06 commit 19d2d7c
Show file tree
Hide file tree
Showing 873 changed files with 260 additions and 0 deletions.
Empty file modified .env
100644 → 100755
Empty file.
Empty file modified .github/SECURITY.md
100644 → 100755
Empty file.
135 changes: 135 additions & 0 deletions .github/workflows/1_0_build_image_and_push_to_manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
name: build_and_push_to_manifest
on:
push:
branches:
- "*"
# tags:
# - '*.*.*'
pull_request:
workflow_dispatch:
env:
GITLAB_REGISTRY: registry.gitlab.com/target-digital-transformation/devops
DEFAULT_MOULE: true ## true, ingore, default is true
SECOND_MODULE: null ## null, ignore, ${MODULE_NAME}, default is null
SECOND_MODULE_FOR_COMMON: "common2 common3"
THIRD_MODULE: null
THIRD_MODULE_FOR_COMMON: "common4 common5"

jobs:
build_and_push_image:
name: build and push docker image
if: contains(github.ref, 'refs/heads/')
# if: contains(github.ref, 'refs/tags/')
runs-on: [self-hosted, linux, k8s]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.22.5'

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20.11.0

- name: Build Admin dashboard UI
run: npm --prefix=./ui ci && npm --prefix=./ui run build

- name: Run tests
run: go test ./...

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build
run: |
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -o main main.go
- name: Docker image name env
run: |
echo "GITLAB_IMAGE_NAME=${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}:${GITHUB_SHA::8}"
echo "GITLAB_IMAGE_NAME=${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}:${GITHUB_SHA::8}" >> $GITHUB_ENV
echo "GITLAB_IMAGE_NAME_SECOND_MODULE=${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${SECOND_MODULE}:${GITHUB_SHA::8}"
echo "GITLAB_IMAGE_NAME_SECOND_MODULE=${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${SECOND_MODULE}:${GITHUB_SHA::8}" >> $GITHUB_ENV
echo "GITLAB_IMAGE_NAME_THIRD_MODULE=${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${THIRD_MODULE}:${GITHUB_SHA::8}"
echo "GITLAB_IMAGE_NAME_THIRD_MODULE=${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${THIRD_MODULE}:${GITHUB_SHA::8}" >> $GITHUB_ENV
- name: Build docker image
# permission change due to: actions/upload-artifact#38
# https://github.com/gliderlabs/docker-alpine/issues/307#issuecomment-357247928
run: |
if [ "$DEFAULT_MOULE" != "ignore" ] ;then
docker build -f Dockerfile -t $GITLAB_IMAGE_NAME .
fi
if [ "$SECOND_MODULE" != "ignore" ] && [ "$SECOND_MODULE" != "null" ] && [ "$SECOND_MODULE" != "" ];then
echo "-----build the SECOND_MODULE docker image----"
docker build -f- -t $GITLAB_IMAGE_NAME_SECOND_MODULE . <<EOF
FROM alpine:3.14
EOF
fi
if [ "$THIRD_MODULE" != "ignore" ] && [ "$THIRD_MODULE" != "null" ] && [ "$THIRD_MODULE" != "" ];then
echo "-----build the THIRD_MODULE docker image----"
docker build -f- -t $GITLAB_IMAGE_NAME_THIRD_MODULE . <<EOF
FROM alpine:3.14
EOF
fi
- name: Push image to gitlab registry
run: |
echo ${{ secrets.GITLAB_CR_PAT }} | docker login registry.gitlab.com -u ${{ secrets.GITLAB_CR_USER }} --password-stdin
if [ "$DEFAULT_MOULE" != "ignore" ] ;then
echo "docker push $GITLAB_IMAGE_NAME"
docker push $GITLAB_IMAGE_NAME
fi
if [ "$SECOND_MODULE" != "ignore" ] && [ "$SECOND_MODULE" != "null" ] && [ "$SECOND_MODULE" != "" ];then
docker push $GITLAB_IMAGE_NAME_SECOND_MODULE
fi
if [ "$THIRD_MODULE" != "ignore" ] && [ "$THIRD_MODULE" != "null" ] && [ "$THIRD_MODULE" != "" ];then
docker push $GITLAB_IMAGE_NAME_THIRD_MODULE
fi
push_to_manifest:
runs-on: [self-hosted, linux, k8s]
name: push to manifest
if: ${{ github.ref != 'tag' }}
needs:
- build_and_push_image
steps:
- name: Checkout manifest repo
uses: actions/checkout@v2
with:
repository: tespkg/tes_manifests
token: ${{ secrets.TES_MANIFEST_TOKEN }}

# - name: Set up tools
# uses: tespkg/action@set_up_tools

# - name: Push to dev
# ## your main branch
# ## push the image name to env-dev/${{ github.repository }}
# if: ${{ github.ref == 'refs/heads/develop' }}
# uses: tespkg/action@deploy_to_dev
# with:
# ALIAS_GITHUB_REPOSITORY: ${{ github.repository }}
# TES_ENV: dev

- name: Push to mixed
## push the image name to env-mixed/${{ github.repository }}-${branch}
## fill your spec branch
if: ${{ github.ref == 'REPLACEME' }}
uses: tespkg/action@deploy_to_dev
with:
ALIAS_GITHUB_REPOSITORY: ${{ github.repository }}
TES_ENV: mixed
125 changes: 125 additions & 0 deletions .github/workflows/2_0_push_chart_and_sync_to_server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
name: push helm chart

env:
GITLAB_REGISTRY: registry.gitlab.com/target-digital-transformation/devops
DEFAULT_MOULE: true ## true, ingore, default is true
SECOND_MODULE: "null" ## null, ignore, ${MODULE_NAME}, default is null
SECOND_MODULE_FOR_COMMON: "common2 common3"
THIRD_MODULE: ignore
THIRD_MODULE_FOR_COMMON: "common4 common5"
# TES_MANIFEST_TEMPOARAY: ${{ secrets.TES_MANIFEST_TEMPOARAY }}
ALIAS_GITHUB_REPOSITORY: ${{ github.repository }}
HELM_REPO: https://chartmuseum.dev.meeraspace.com/
HELM_USER: ${{ secrets.HELM_USER }}
HELM_PASSWORD: ${{ secrets.HELM_PASSWORD }}
TES_ENV: dev

on:
push:
tags:
- '*.*.*'

jobs:
tag_image:
runs-on: self-hosted
name: tag and push image
if: contains(github.ref, 'refs/tags/')
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- id: tag_image
name: Tag and Push image to gitlab registry
run: |
echo ${{ secrets.GITLAB_CR_PAT }} | docker login registry.gitlab.com -u ${{ secrets.GITLAB_CR_USER }} --password-stdin
IMAGE_TAG=`echo ${GITHUB_REF} | awk -F "/" '{print $3}'`
if [[ ${IMAGE_TAG} == v* ]]; then IMAGE_TAG=`echo ${IMAGE_TAG:1}`; fi
echo ${IMAGE_TAG}
if [ "$DEFAULT_MOULE" != "ignore" ] ;
then
docker pull ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}:${GITHUB_SHA::8}
docker tag ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}:${GITHUB_SHA::8} ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}:${IMAGE_TAG}
docker tag ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}:${GITHUB_SHA::8} ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}:latest
docker push ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}
docker push ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}:${IMAGE_TAG}
fi
if [ "$SECOND_MODULE" != "ignore" ] && [ "$SECOND_MODULE" != "null" ] && [ "$SECOND_MODULE" != "" ] ;
then
docker pull ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${SECOND_MODULE}:${GITHUB_SHA::8}
docker tag ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${SECOND_MODULE}:${GITHUB_SHA::8} ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${SECOND_MODULE}:${IMAGE_TAG}
docker tag ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${SECOND_MODULE}:${GITHUB_SHA::8} ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${SECOND_MODULE}:latest
docker push ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${SECOND_MODULE}
docker push ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${SECOND_MODULE}:${IMAGE_TAG}
fi
if [ "$THIRD_MODULE" != "ignore" ] && [ "$THIRD_MODULE" != "null" ] && [ "$THIRD_MODULE" != "" ] ;
then
docker pull ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${THIRD_MODULE}:${GITHUB_SHA::8}
docker tag ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${THIRD_MODULE}:${GITHUB_SHA::8} ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${THIRD_MODULE}:${IMAGE_TAG}
docker tag ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${THIRD_MODULE}:${GITHUB_SHA::8} ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${THIRD_MODULE}:latest
docker push ${GITLAB_REGISTRY}/${GITHUB_REPOSITORY}-${THIRD_MODULE}
fi
push_chart_to_helm_repo:
runs-on: self-hosted
name: push chart to helm repo
if: contains(github.ref, 'refs/tags/')
needs:
- tag_image
steps:
- name: Checkout source repo
if: contains(github.ref, 'mixedmanual')
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Get branch Name
if: contains(github.ref, 'mixedmanual')
run: |
git log --oneline --decorate | head -1
BRANCH_NAME=`git log --oneline --decorate | head -1 | awk -Forigin/ '{print $2}' | awk -F')' '{print $1}'`
echo "BRANCH_NAME: ${BRANCH_NAME}"
echo "BRANCH_NAME=${BRANCH_NAME}" >> $GITHUB_ENV
- name: Checkout manifest repo
uses: actions/checkout@v2
with:
repository: tespkg/tes_manifests
token: ${{ secrets.TES_MANIFEST_TOKEN }}

- name: Set up tools
uses: tespkg/action@set_up_tools

- name: push_incubator_chart
uses: tespkg/action@push_incubator_chart
with:
ALIAS_GITHUB_REPOSITORY: ${{ github.repository }}

sync_helm_chart_to_env:
runs-on: self-hosted
name: sync helm chart to env
if: contains(github.ref, 'refs/tags/')
needs:
- push_chart_to_helm_repo
steps:
- name: Checkout manifest repo
uses: actions/checkout@v2
with:
repository: tespkg/tes_manifests
token: ${{ secrets.TES_MANIFEST_TOKEN }}

# - name: Set up tools
# uses: tespkg/action@set_up_tools

- name: auto sync to env-test
uses: tespkg/action@sync_helm_chart
with:
ALIAS_GITHUB_REPOSITORY: ${{ github.repository }}
TES_ENV: test

# - name: auto sync to env-test2
# uses: tespkg/action@sync_helm_chart
# with:
# ALIAS_GITHUB_REPOSITORY: ${{ github.repository }}
# TES_ENV: test2
Empty file modified .github/workflows/release.yaml
100644 → 100755
Empty file.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified .goreleaser.yaml
100644 → 100755
Empty file.
Empty file modified CHANGELOG.md
100644 → 100755
Empty file.
Empty file modified CHANGELOG_8_15.md
100644 → 100755
Empty file.
Empty file modified CONTRIBUTING.md
100644 → 100755
Empty file.
Empty file modified Dockerfile
100644 → 100755
Empty file.
Empty file modified LICENSE.md
100644 → 100755
Empty file.
Empty file modified Makefile
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified apis/admin.go
100644 → 100755
Empty file.
Empty file modified apis/admin_test.go
100644 → 100755
Empty file.
Empty file modified apis/api_error.go
100644 → 100755
Empty file.
Empty file modified apis/api_error_test.go
100644 → 100755
Empty file.
Empty file modified apis/backup.go
100644 → 100755
Empty file.
Empty file modified apis/backup_test.go
100644 → 100755
Empty file.
Empty file modified apis/base.go
100644 → 100755
Empty file.
Empty file modified apis/base_test.go
100644 → 100755
Empty file.
Empty file modified apis/collection.go
100644 → 100755
Empty file.
Empty file modified apis/collection_test.go
100644 → 100755
Empty file.
Empty file modified apis/file.go
100644 → 100755
Empty file.
Empty file modified apis/file_test.go
100644 → 100755
Empty file.
Empty file modified apis/health.go
100644 → 100755
Empty file.
Empty file modified apis/health_test.go
100644 → 100755
Empty file.
Empty file modified apis/logs.go
100644 → 100755
Empty file.
Empty file modified apis/logs_test.go
100644 → 100755
Empty file.
Empty file modified apis/middlewares.go
100644 → 100755
Empty file.
Empty file modified apis/middlewares_test.go
100644 → 100755
Empty file.
Empty file modified apis/realtime.go
100644 → 100755
Empty file.
Empty file modified apis/realtime_test.go
100644 → 100755
Empty file.
Empty file modified apis/record_auth.go
100644 → 100755
Empty file.
Empty file modified apis/record_auth_test.go
100644 → 100755
Empty file.
Empty file modified apis/record_crud.go
100644 → 100755
Empty file.
Empty file modified apis/record_crud_test.go
100644 → 100755
Empty file.
Empty file modified apis/record_helpers.go
100644 → 100755
Empty file.
Empty file modified apis/record_helpers_test.go
100644 → 100755
Empty file.
Empty file modified apis/serve.go
100644 → 100755
Empty file.
Empty file modified apis/settings.go
100644 → 100755
Empty file.
Empty file modified apis/settings_test.go
100644 → 100755
Empty file.
Empty file modified cmd/admin.go
100644 → 100755
Empty file.
Empty file modified cmd/admin_test.go
100644 → 100755
Empty file.
Empty file modified cmd/serve.go
100644 → 100755
Empty file.
Empty file modified cms-api.md
100644 → 100755
Empty file.
Empty file modified core/app.go
100644 → 100755
Empty file.
Empty file modified core/base.go
100644 → 100755
Empty file.
Empty file modified core/base_backup.go
100644 → 100755
Empty file.
Empty file modified core/base_backup_test.go
100644 → 100755
Empty file.
Empty file modified core/base_settings_test.go
100644 → 100755
Empty file.
Empty file modified core/base_test.go
100644 → 100755
Empty file.
Empty file modified core/collections_cache.go
100644 → 100755
Empty file.
Empty file modified core/db_cgo.go
100644 → 100755
Empty file.
Empty file modified core/db_nocgo.go
100644 → 100755
Empty file.
Empty file modified core/db_pg.go
100644 → 100755
Empty file.
Empty file modified core/events.go
100644 → 100755
Empty file.
Empty file modified core/events_test.go
100644 → 100755
Empty file.
Empty file modified core/log_printer.go
100644 → 100755
Empty file.
Empty file modified daos/admin.go
100644 → 100755
Empty file.
Empty file modified daos/admin_test.go
100644 → 100755
Empty file.
Empty file modified daos/base.go
100644 → 100755
Empty file.
Empty file modified daos/base_retry.go
100644 → 100755
Empty file.
Empty file modified daos/base_retry_test.go
100644 → 100755
Empty file.
Empty file modified daos/base_test.go
100644 → 100755
Empty file.
Empty file modified daos/collection.go
100644 → 100755
Empty file.
Empty file modified daos/collection_test.go
100644 → 100755
Empty file.
Empty file modified daos/external_auth.go
100644 → 100755
Empty file.
Empty file modified daos/external_auth_test.go
100644 → 100755
Empty file.
Empty file modified daos/log.go
100644 → 100755
Empty file.
Empty file modified daos/log_test.go
100644 → 100755
Empty file.
Empty file modified daos/param.go
100644 → 100755
Empty file.
Empty file modified daos/param_test.go
100644 → 100755
Empty file.
Empty file modified daos/record.go
100644 → 100755
Empty file.
Empty file modified daos/record_expand.go
100644 → 100755
Empty file.
Empty file modified daos/record_expand_test.go
100644 → 100755
Empty file.
Empty file modified daos/record_table_sync.go
100644 → 100755
Empty file.
Empty file modified daos/record_table_sync_test.go
100644 → 100755
Empty file.
Empty file modified daos/record_test.go
100644 → 100755
Empty file.
Empty file modified daos/settings.go
100644 → 100755
Empty file.
Empty file modified daos/settings_test.go
100644 → 100755
Empty file.
Empty file modified daos/table.go
100644 → 100755
Empty file.
Empty file modified daos/table_test.go
100644 → 100755
Empty file.
Empty file modified daos/view.go
100644 → 100755
Empty file.
Empty file modified daos/view_test.go
100644 → 100755
Empty file.
Empty file modified db_init.sql
100644 → 100755
Empty file.
Empty file modified docker-compose-mafwr.yml
100644 → 100755
Empty file.
Empty file modified docker-compose.yml
100644 → 100755
Empty file.
Empty file modified examples/base/.env
100644 → 100755
Empty file.
Empty file modified examples/base/.gitignore
100644 → 100755
Empty file.
Empty file modified examples/base/main.go
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/base/pb_migrations_mafwr_cms/1725524228_created_sso.js
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified forms/admin_login.go
100644 → 100755
Empty file.
Empty file modified forms/admin_login_test.go
100644 → 100755
Empty file.
Empty file modified forms/admin_password_reset_confirm.go
100644 → 100755
Empty file.
Empty file modified forms/admin_password_reset_confirm_test.go
100644 → 100755
Empty file.
Empty file modified forms/admin_password_reset_request.go
100644 → 100755
Empty file.
Empty file modified forms/admin_password_reset_request_test.go
100644 → 100755
Empty file.
Empty file modified forms/admin_upsert.go
100644 → 100755
Empty file.
Empty file modified forms/admin_upsert_test.go
100644 → 100755
Empty file.
Empty file modified forms/apple_client_secret_create.go
100644 → 100755
Empty file.
Empty file modified forms/apple_client_secret_create_test.go
100644 → 100755
Empty file.
Empty file modified forms/backup_create.go
100644 → 100755
Empty file.
Empty file modified forms/backup_create_test.go
100644 → 100755
Empty file.
Empty file modified forms/backup_upload.go
100644 → 100755
Empty file.
Empty file modified forms/backup_upload_test.go
100644 → 100755
Empty file.
Empty file modified forms/base.go
100644 → 100755
Empty file.
Empty file modified forms/collection_upsert.go
100644 → 100755
Empty file.
Empty file modified forms/collection_upsert_test.go
100644 → 100755
Empty file.
Empty file modified forms/collections_import.go
100644 → 100755
Empty file.
Empty file modified forms/collections_import_test.go
100644 → 100755
Empty file.
Empty file modified forms/realtime_subscribe.go
100644 → 100755
Empty file.
Empty file modified forms/realtime_subscribe_test.go
100644 → 100755
Empty file.
Empty file modified forms/record_email_change_confirm.go
100644 → 100755
Empty file.
Empty file modified forms/record_email_change_confirm_test.go
100644 → 100755
Empty file.
Empty file modified forms/record_email_change_request.go
100644 → 100755
Empty file.
Empty file modified forms/record_email_change_request_test.go
100644 → 100755
Empty file.
Empty file modified forms/record_oauth2_login.go
100644 → 100755
Empty file.
Empty file modified forms/record_oauth2_login_test.go
100644 → 100755
Empty file.
Empty file modified forms/record_password_login.go
100644 → 100755
Empty file.
Empty file modified forms/record_password_login_test.go
100644 → 100755
Empty file.
Empty file modified forms/record_password_reset_confirm.go
100644 → 100755
Empty file.
Empty file modified forms/record_password_reset_confirm_test.go
100644 → 100755
Empty file.
Empty file modified forms/record_password_reset_request.go
100644 → 100755
Empty file.
Empty file modified forms/record_password_reset_request_test.go
100644 → 100755
Empty file.
Empty file modified forms/record_upsert.go
100644 → 100755
Empty file.
Empty file modified forms/record_upsert_test.go
100644 → 100755
Empty file.
Empty file modified forms/record_verification_confirm.go
100644 → 100755
Empty file.
Empty file modified forms/record_verification_confirm_test.go
100644 → 100755
Empty file.
Empty file modified forms/record_verification_request.go
100644 → 100755
Empty file.
Empty file modified forms/record_verification_request_test.go
100644 → 100755
Empty file.
Empty file modified forms/settings_upsert.go
100644 → 100755
Empty file.
Empty file modified forms/settings_upsert_test.go
100644 → 100755
Empty file.
Empty file modified forms/test_email_send.go
100644 → 100755
Empty file.
Empty file modified forms/test_email_send_test.go
100644 → 100755
Empty file.
Empty file modified forms/test_s3_filesystem.go
100644 → 100755
Empty file.
Empty file modified forms/test_s3_filesystem_test.go
100644 → 100755
Empty file.
Empty file modified forms/validators/file.go
100644 → 100755
Empty file.
Empty file modified forms/validators/file_test.go
100644 → 100755
Empty file.
Empty file modified forms/validators/model.go
100644 → 100755
Empty file.
Empty file modified forms/validators/model_test.go
100644 → 100755
Empty file.
Empty file modified forms/validators/record_data.go
100644 → 100755
Empty file.
Empty file modified forms/validators/record_data_test.go
100644 → 100755
Empty file.
Empty file modified forms/validators/string.go
100644 → 100755
Empty file.
Empty file modified forms/validators/string_test.go
100644 → 100755
Empty file.
Empty file modified forms/validators/validators.go
100644 → 100755
Empty file.
Empty file modified go.mod
100644 → 100755
Empty file.
Empty file modified go.sum
100644 → 100755
Empty file.
Empty file modified golangci.yml
100644 → 100755
Empty file.
Empty file modified mails/admin.go
100644 → 100755
Empty file.
Empty file modified mails/admin_test.go
100644 → 100755
Empty file.
Empty file modified mails/base.go
100644 → 100755
Empty file.
Empty file modified mails/record.go
100644 → 100755
Empty file.
Empty file modified mails/record_test.go
100644 → 100755
Empty file.
Empty file modified mails/templates/admin_password_reset.go
100644 → 100755
Empty file.
Empty file modified mails/templates/html_content.go
100644 → 100755
Empty file.
Empty file modified mails/templates/layout.go
100644 → 100755
Empty file.
Empty file modified mails/templates/password_login_alert.go
100644 → 100755
Empty file.
Empty file modified migrations/1640988000_init.go
100644 → 100755
Empty file.
Empty file modified migrations/1673167670_multi_match_migrate.go
100644 → 100755
Empty file.
Empty file modified migrations/1677152688_rename_authentik_to_oidc.go
100644 → 100755
Empty file.
Empty file modified migrations/1679943780_normalize_single_multiple_values.go
100644 → 100755
Empty file.
Empty file modified migrations/1679943781_add_indexes_column.go
100644 → 100755
Empty file.
Empty file modified migrations/1685164450_check_fk.go
100644 → 100755
Empty file.
Empty file modified migrations/1689579878_renormalize_single_multiple_values.go
100644 → 100755
Empty file.
Empty file modified migrations/1690319366_reset_null_values.go
100644 → 100755
Empty file.
Empty file modified migrations/1690454337_transform_relations_to_views.go
100644 → 100755
Empty file.
Empty file modified migrations/1691747913_resave_views.go
100644 → 100755
Empty file.
Empty file modified migrations/1692609521_copy_display_fields.go
100644 → 100755
Empty file.
Empty file.
Empty file modified migrations/1702134272_set_default_json_max_size.go
100644 → 100755
Empty file.
Empty file modified migrations/1718706525_add_login_alert_column.go
100644 → 100755
Empty file.
Empty file modified migrations/logs/1640988000_init.go
100644 → 100755
Empty file.
Empty file modified migrations/logs/1660821103_add_user_ip_column.go
100644 → 100755
Empty file.
Empty file modified migrations/logs/1677760279_uppsercase_method.go
100644 → 100755
Empty file.
Empty file modified migrations/logs/1699187560_logs_generalization.go
100644 → 100755
Empty file.
Empty file modified models/admin.go
100644 → 100755
Empty file.
Empty file modified models/admin_test.go
100644 → 100755
Empty file.
Empty file modified models/backup_file_info.go
100644 → 100755
Empty file.
Empty file modified models/base.go
100644 → 100755
Empty file.
Empty file modified models/base_test.go
100644 → 100755
Empty file.
Empty file modified models/collection.go
100644 → 100755
Empty file.
Empty file modified models/collection_test.go
100644 → 100755
Empty file.
Empty file modified models/external_auth.go
100644 → 100755
Empty file.
Empty file modified models/external_auth_test.go
100644 → 100755
Empty file.
Empty file modified models/log.go
100644 → 100755
Empty file.
Empty file modified models/param.go
100644 → 100755
Empty file.
Empty file modified models/param_test.go
100644 → 100755
Empty file.
Empty file modified models/record.go
100644 → 100755
Empty file.
Empty file modified models/record_test.go
100644 → 100755
Empty file.
Empty file modified models/request.go
100644 → 100755
Empty file.
Empty file modified models/request_info.go
100644 → 100755
Empty file.
Empty file modified models/request_info_test.go
100644 → 100755
Empty file.
Empty file modified models/request_test.go
100644 → 100755
Empty file.
Empty file modified models/schema/schema.go
100644 → 100755
Empty file.
Empty file modified models/schema/schema_field.go
100644 → 100755
Empty file.
Empty file modified models/schema/schema_field_test.go
100644 → 100755
Empty file.
Empty file modified models/schema/schema_test.go
100644 → 100755
Empty file.
Empty file modified models/settings/settings.go
100644 → 100755
Empty file.
Empty file modified models/settings/settings_templates.go
100644 → 100755
Empty file.
Empty file modified models/settings/settings_test.go
100644 → 100755
Empty file.
Empty file modified models/table_info.go
100644 → 100755
Empty file.
Empty file modified plugins/ghupdate/ghupdate.go
100644 → 100755
Empty file.
Empty file modified plugins/ghupdate/ghupdate_test.go
100644 → 100755
Empty file.
Empty file modified plugins/ghupdate/release.go
100644 → 100755
Empty file.
Empty file modified plugins/ghupdate/release_test.go
100644 → 100755
Empty file.
Empty file modified plugins/jsvm/binds.go
100644 → 100755
Empty file.
Empty file modified plugins/jsvm/binds_test.go
100644 → 100755
Empty file.
Empty file modified plugins/jsvm/form_data.go
100644 → 100755
Empty file.
Empty file modified plugins/jsvm/form_data_test.go
100644 → 100755
Empty file.
Empty file modified plugins/jsvm/internal/types/generated/embed.go
100644 → 100755
Empty file.
Empty file modified plugins/jsvm/internal/types/generated/types.d.ts
100644 → 100755
Empty file.
Empty file modified plugins/jsvm/internal/types/types.go
100644 → 100755
Empty file.
Empty file modified plugins/jsvm/jsvm.go
100644 → 100755
Empty file.
Empty file modified plugins/jsvm/mapper.go
100644 → 100755
Empty file.
Empty file modified plugins/jsvm/mapper_test.go
100644 → 100755
Empty file.
Empty file modified plugins/jsvm/pool.go
100644 → 100755
Empty file.
Empty file modified plugins/migratecmd/automigrate.go
100644 → 100755
Empty file.
Empty file modified plugins/migratecmd/migratecmd.go
100644 → 100755
Empty file.
Empty file modified plugins/migratecmd/migratecmd_test.go
100644 → 100755
Empty file.
Empty file modified plugins/migratecmd/templates.go
100644 → 100755
Empty file.
Empty file modified pocketbase.go
100644 → 100755
Empty file.
Empty file modified pocketbase_test.go
100644 → 100755
Empty file.
Empty file modified resolvers/multi_match_subquery.go
100644 → 100755
Empty file.
Empty file modified resolvers/record_field_resolve_runner.go
100644 → 100755
Empty file.
Empty file modified resolvers/record_field_resolver.go
100644 → 100755
Empty file.
Empty file modified resolvers/record_field_resolver_test.go
100644 → 100755
Empty file.
Empty file modified resolvers/resolvers.go
100644 → 100755
Empty file.
Empty file modified tests/api.go
100644 → 100755
Empty file.
Empty file modified tests/app.go
100644 → 100755
Empty file.
Empty file modified tests/data/.gitignore
100644 → 100755
Empty file.
Empty file modified tests/data/data.db
100644 → 100755
Empty file.
Empty file modified tests/data/logs.db
100644 → 100755
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading

0 comments on commit 19d2d7c

Please sign in to comment.