-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from fossasia/development
Merge dev into master
- Loading branch information
Showing
544 changed files
with
3,371 additions
and
13,979 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
|
||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
versioning-strategy: increase | ||
- package-ecosystem: "npm" | ||
directory: "/src/pretix/static/npm_dir" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Docker-pr-deploy | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
repository: | ||
description: "Repository name with owner. For example, actions/checkout" | ||
ref: | ||
description: "The branch, tag or SHA to checkout." | ||
|
||
jobs: | ||
push_to_registry: | ||
name: Push Docker image to Docker hub | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ inputs.repository }} | ||
ref: ${{ inputs.ref }} | ||
|
||
- name: Log in to Docker Hub | ||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Build and push Docker image | ||
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc | ||
with: | ||
context: . | ||
push: true | ||
tags: eventyay/eventyay-ticket:development | ||
labels: manual |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Docker PR Build | ||
|
||
on: | ||
pull_request: | ||
branches: [development, main] | ||
|
||
jobs: | ||
build_docker_image: | ||
name: Build Docker image | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build Docker image | ||
run: docker build -t eventyay-ticket:${{ github.sha }} . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,12 @@ name: Tests | |
|
||
on: | ||
push: | ||
branches: [ master ] | ||
branches: [ development, master ] | ||
paths-ignore: | ||
- 'doc/**' | ||
- 'src/pretix/locale/**' | ||
pull_request: | ||
branches: [ master ] | ||
branches: [ development, master ] | ||
paths-ignore: | ||
- 'doc/**' | ||
- 'src/pretix/locale/**' | ||
|
@@ -18,17 +18,13 @@ jobs: | |
name: Tests | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8] | ||
python-version: [3.8] | ||
database: [sqlite, postgres, mysql] | ||
exclude: | ||
- database: mysql | ||
python-version: 3.7 | ||
python-version: 3.8 | ||
- database: sqlite | ||
python-version: 3.7 | ||
- database: mysql | ||
python-version: 3.6 | ||
- database: sqlite | ||
python-version: 3.6 | ||
python-version: 3.8 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: getong/[email protected] | ||
|
@@ -57,7 +53,7 @@ jobs: | |
- name: Install system dependencies | ||
run: sudo apt update && sudo apt install gettext mysql-client | ||
- name: Install Python dependencies | ||
run: pip3 install -r src/requirements.txt -Ur src/requirements/dev.txt mysqlclient psycopg2-binary | ||
run: pip3 install -e ".[dev]" psycopg2-binary | ||
- name: Run checks | ||
run: python manage.py check | ||
working-directory: ./src | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,5 +22,5 @@ local/ | |
.project | ||
.pydevproject | ||
.DS_Store | ||
|
||
.python-version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
include LICENSE | ||
include README.rst | ||
global-include *.proto | ||
recursive-include src/pretix/static * | ||
recursive-include src/pretix/static.dist * | ||
recursive-include src/pretix/locale * | ||
recursive-include src/pretix/helpers/locale * | ||
recursive-include src/pretix/base/templates * | ||
recursive-include src/pretix/control/templates * | ||
recursive-include src/pretix/presale/templates * | ||
recursive-include src/pretix/plugins/banktransfer/templates * | ||
recursive-include src/pretix/plugins/banktransfer/static * | ||
recursive-include src/pretix/plugins/manualpayment/templates * | ||
recursive-include src/pretix/plugins/manualpayment/static * | ||
recursive-include src/pretix/plugins/paypal/templates * | ||
recursive-include src/pretix/plugins/pretixdroid/templates * | ||
recursive-include src/pretix/plugins/pretixdroid/static * | ||
recursive-include src/pretix/plugins/sendmail/templates * | ||
recursive-include src/pretix/plugins/statistics/templates * | ||
recursive-include src/pretix/plugins/statistics/static * | ||
recursive-include src/pretix/plugins/stripe/templates * | ||
recursive-include src/pretix/plugins/stripe/static * | ||
recursive-include src/pretix/plugins/ticketoutputpdf/templates * | ||
recursive-include src/pretix/plugins/ticketoutputpdf/static * | ||
recursive-include src/pretix/plugins/badges/templates * | ||
recursive-include src/pretix/plugins/badges/static * | ||
recursive-include src/pretix/plugins/returnurl/templates * | ||
recursive-include src/pretix/plugins/returnurl/static * | ||
recursive-include src/pretix/plugins/webcheckin/templates * | ||
recursive-include src/pretix/plugins/webcheckin/static * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
build: | ||
docker buildx build --progress=plain -f Dockerfile --platform=linux/amd64 \ | ||
-t eventyay/eventyay-tickets:development . |
Oops, something went wrong.