Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://github.com/alfio-event/alf.io/issues/1125 #1303

Open
wants to merge 218 commits into
base: 2.0-M4-maintenance
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
218 commits
Select commit Hold shift + click to select a range
b0cb38c
[Gradle Release Plugin] - new version commit: '2.0-M5-SNAPSHOT'.
cbellone Jan 31, 2022
19be24b
update README
cbellone Jan 31, 2022
e5e26fc
update gradle and dependencies
cbellone Jan 31, 2022
7125250
update dependencies, remove deprecated properties
cbellone Jan 31, 2022
0fc9167
update errorprone
cbellone Jan 31, 2022
c193753
update sourceCompatibility to 17
cbellone Jan 31, 2022
da5e4e6
fix workflows
cbellone Jan 31, 2022
c4c4b1b
revert removal of getter/setter in TicketReservationModification
syjer Feb 5, 2022
96130f4
add system-wide banner message
cbellone Mar 11, 2022
a7add77
update frontend version
cbellone Mar 11, 2022
4cbbf9f
CSP: add hash for inline script used by angular 'css optimization'
syjer Mar 11, 2022
82d2a26
a11y: add custom amount label
cbellone Mar 11, 2022
bb52c7c
update italian translation
cbellone Mar 11, 2022
14c1792
a11y: signal that link opens in a new tab
cbellone Mar 11, 2022
c2b5165
a11y: signal that link opens in a new tab
cbellone Mar 11, 2022
316dd8f
add pdf ua support (#1057)
syjer Mar 13, 2022
908a533
refactor: use pattern matching
cbellone Mar 11, 2022
0f1249d
update frontend version
cbellone Mar 11, 2022
ad39233
update ML link
cbellone Mar 13, 2022
65744fd
update ML links
cbellone Mar 13, 2022
8df7410
deny requests to admin API if ApiKey is null
cbellone Mar 15, 2022
f83742f
remove ie11 from e2e test matrix (#1066)
syjer Mar 18, 2022
b6dafe5
update frontend
syjer Mar 19, 2022
c636fb5
fix org-level promo codes
cbellone Mar 18, 2022
e11f5a6
update frontend version
cbellone Mar 19, 2022
54c2330
update frontend
syjer Mar 20, 2022
841555e
remove Log4j2, Slf4j and UtilityClass annotations see #1068 (#1067)
syjer Mar 25, 2022
bc0161d
configure markdown-capable custom footer for emails (HTML and plaintext)
cbellone Mar 25, 2022
ab617a2
remove lombok.SneakyThrows (#1069)
syjer Mar 25, 2022
a41b227
improve output of additional-field-value for checkbox fields
cbellone Mar 26, 2022
f54fb15
#1054 prevent duplications when in demo mode
cbellone Mar 27, 2022
1385288
#1054 fix deletion of old organizations
cbellone Mar 27, 2022
7769f1b
Delombok RequiredArgsConstructor (#1070)
syjer Mar 29, 2022
268d786
run local test with minimum supported PostgreSQL version
cbellone Mar 29, 2022
ee72c8b
update Spring boot version to the latest version (CVE-2022-22950)
cbellone Mar 29, 2022
6cad465
update spring version to fix CVE-2022-22965
cbellone Apr 2, 2022
d9871e0
Delombok AllArgsConstructor (#1072)
syjer Apr 11, 2022
06779a7
add missing @JsonCreator / @JsonProperty
syjer Apr 15, 2022
dc1e07d
add test for checking if we are able to deserialize json -> java obje…
syjer Apr 15, 2022
941e3a1
add test for checking if we are able to deserialize json -> java obje…
syjer Apr 15, 2022
27d9176
refactor instanceof
syjer Apr 15, 2022
fcc6af2
Delombok tostring / equal (#1077)
syjer May 11, 2022
89dc921
event metadata might be null
cbellone Apr 15, 2022
4688c6c
update subscriptions' max_entries following descriptor's update
cbellone Apr 15, 2022
9027b3e
update subscriptions' max_entries following descriptor's update
cbellone Apr 15, 2022
8b0dc91
ensure there is at least one active category
cbellone Apr 15, 2022
2a2f14b
fix test
cbellone Apr 15, 2022
fc3ae14
#1075 - display an additional button if attendee has additional data
cbellone Apr 16, 2022
c45d9fb
#1075 - refactor BookingInfoTicket: move to upper package
cbellone Apr 20, 2022
6a58484
Refactor BookingInfoText
cbellone Apr 20, 2022
67efc0b
#1075 - refactor BookingInfoTicket: move BookingInfoTicketLoader to a…
cbellone Apr 20, 2022
65fb50a
#1075 - display attendee full data
cbellone Apr 21, 2022
eb52b33
demo mode: delete old API Keys and subscriptions
cbellone Apr 23, 2022
38e378f
fix tests
cbellone Apr 23, 2022
5d03408
fix after cherry-picking from M4
cbellone May 11, 2022
6aa2fd0
add .sdkmanrc for switching JDK version
cbellone May 14, 2022
394e727
cherry-pick reservation APIs #1083
cbellone May 29, 2022
14d5add
add SameSite attribute to cookies (#1082)
cbellone Jun 3, 2022
d0a4d52
fix #1087 - API for linking Subscriptions to an Event
cbellone Jun 6, 2022
a83793f
update frontend version
cbellone Jun 6, 2022
13f33fe
#1082 align meta tag name for xsrf token
syjer Jun 6, 2022
5ac8999
#1082 fix session resolve uri for public case
syjer Jun 6, 2022
7b4acf8
add frontend for admin and public
cbellone Jun 6, 2022
f7fd831
apply suggested migrations (#1088)
cbellone Jun 6, 2022
656e615
prevent 403 errors when user is not owner
cbellone Jun 10, 2022
07d747e
add flag for hiding additional payment information for offline payments
cbellone Jun 16, 2022
4e58d4f
fix #1090 - add invoice number to the list of search fields
cbellone Jun 16, 2022
65cd921
update frontend version
cbellone Jun 16, 2022
0c67ba4
ensure rest api don't change (#1092)
syjer Jul 3, 2022
98facd0
use configurable description length also for subscriptions
cbellone Jun 17, 2022
9c6e758
fix #1093: hide remove button + fix credit note generation logic
cbellone Jul 8, 2022
c998657
allow organizers to download all billing documents
cbellone Jul 9, 2022
6c75461
implement subscription api (#1097)
cbellone Jul 23, 2022
35a84a3
rename script
cbellone Jul 29, 2022
1d90205
update codeql-analysis.yml
cbellone Jul 29, 2022
079466a
do not allow free tickets release after the event is over
cbellone Jul 29, 2022
a3000ee
when validating the payment provider for an event, don't filter out u…
syjer Aug 13, 2022
fa252a9
#1100 - do not fail when option is blank (#1102)
cbellone Aug 14, 2022
b1d0409
better handling of offline payments
cbellone Aug 16, 2022
a0c419e
display statistics for countries
cbellone Aug 24, 2022
904577d
move custom header text after the actual header
cbellone Aug 24, 2022
f83476e
choose whether to send notification on pending payment credit
cbellone Aug 25, 2022
3d10787
mobile app search (#1099)
cbellone Aug 26, 2022
5efd877
increase readability of confirmation email
cbellone Sep 5, 2022
cf652a9
add missing filter
cbellone Sep 5, 2022
d788b50
do not return null for additionalInfo
cbellone Sep 6, 2022
ec03578
support adding organizer's email as reply-to if enabled (#1109)
cbellone Sep 16, 2022
25b1669
fix compilation (and tests) errors
cbellone Sep 17, 2022
b8950b0
update frontend version
cbellone Sep 17, 2022
bd0d658
filter out correctly the additional item status count, fix #1108 (#1112)
syjer Sep 18, 2022
3982928
do a right outer join in event statistics view to handle the case of …
syjer Sep 18, 2022
2c0821f
display statistics for DISCOUNT and ACCESS codes
cbellone Sep 27, 2022
4933936
enable "Category" to be printed as additional information on the badge
cbellone Sep 30, 2022
34597fe
fix discount inconsistency when a discount code is partially applied
cbellone Oct 7, 2022
756ee43
embed public frontend (#1118)
cbellone Oct 21, 2022
6470ef4
rephrase instructions
cbellone Oct 31, 2022
3a9b921
load IndexController only in a LIVE environment
cbellone Nov 11, 2022
0069cf4
update Apple WWDRCA certificate before it expires
cbellone Nov 1, 2022
19e12e9
fix styling
cbellone Nov 11, 2022
63826a5
update dependencies
cbellone Nov 18, 2022
b602f0a
fix poll UI styling
cbellone Nov 18, 2022
ee0c463
use typed form
cbellone Nov 18, 2022
c9585b0
(WIP) init admin app
cbellone Nov 27, 2022
791bf8e
fix license header
cbellone Nov 27, 2022
aa91406
fix e2e test (#1143)
syjer Dec 2, 2022
79a27ce
use openapi-diff instead of ad hoc (#1146)
syjer Dec 5, 2022
2ef7187
#1148 - add SECURITY.md
cbellone Dec 8, 2022
e032fd5
restrict protocols (#1149)
syjer Dec 9, 2022
fcb749c
Admin initial setup (#1151)
syjer Dec 9, 2022
43f1069
escape HTML in group name and description (#1155)
cbellone Dec 9, 2022
e8f4fbf
Admin initial setup: add filtering + some icons (#1156)
syjer Dec 13, 2022
cf13324
Admin initial setup: event stubs + org selector + load current org + …
syjer Dec 16, 2022
c0fbc1d
Promo code usage details (#1126) (cherry-picked from c0079c7e89cd10e8…
cbellone Oct 30, 2022
be56393
Embedded customization (#1144) - cherry picked from 586cf796893849c82…
cbellone Dec 3, 2022
a2bd9e8
Reservation API: add attendees (#1158) - cherry-picked from 493b3e771…
cbellone Dec 16, 2022
42faf0d
fix errors after merge
cbellone Dec 18, 2022
fd76037
fix #1159 stripe api compatibility (cherry-picked from b98c08c93dc756…
cbellone Dec 21, 2022
39f08b9
Multi level menu (#1161)
cbellone Dec 23, 2022
b0f3732
refactor mvc security (#1162)
cbellone Dec 28, 2022
7d190d8
try to set default success URL
cbellone Dec 28, 2022
7d0c2ad
fix routing
syjer Dec 28, 2022
f5cb7fd
redirect to login if session has expired
cbellone Dec 28, 2022
b6709eb
menu styling + refactor routing for event
syjer Dec 30, 2022
b9588d7
load event
syjer Dec 30, 2022
579f109
#1068 some lombok annotation removal -> record conversion
syjer Dec 30, 2022
8893df3
#1068 some lombok annotation removal -> record conversion
syjer Dec 30, 2022
3995a9b
#1068 some lombok annotation removal -> record conversion
syjer Dec 30, 2022
94458f6
remove @With + fix errorProne warning on equals
cbellone Dec 30, 2022
a9a540b
update README for translations
cbellone Jan 2, 2023
a55090c
#1068 remove Setter lombok annotation
syjer Jan 3, 2023
6ca18f6
#1068 remove additional lombok annotation
syjer Jan 3, 2023
df2a791
#1068 remove additional lombok annotation
syjer Jan 3, 2023
aa357c6
#1068 remove additional lombok annotation
syjer Jan 3, 2023
ce9f8c0
#1068 additional removal of lombok annotations
syjer Jan 4, 2023
d22b5a3
introduce common-frontend (#1167)
cbellone Jan 7, 2023
9db0c0d
fix Sonarcloud suggestions
cbellone Jan 7, 2023
6f46fa4
fix angular.json proxy configuration
syjer Jan 12, 2023
9c30a0c
revert xsrf in common module, it seems to cause a circular DI problem…
syjer Jan 13, 2023
233101e
add missing encodeURIComponent
cbellone Jan 13, 2023
e7bea82
create Subscription reservation via API (#1183)
cbellone Jan 28, 2023
ed8a5fb
update API descriptor.json
cbellone Dec 3, 2022
afe62ad
Subscription integration improvements (#1187) - cherry-picked from 5d…
cbellone Feb 3, 2023
fc30659
fix compilation errors after cherry-pick
cbellone Feb 3, 2023
e7a1fd9
API to retrieve check-in log (#1188) (cherry-picked from 976f88a03f1d…
cbellone Feb 3, 2023
c7c45da
fix compilation errors after cherry-pick
cbellone Feb 4, 2023
f8bac1b
Improve Event API (cherry-picked from e1e6b4d80b0bc403b9f9f8dd529946c…
cbellone Feb 4, 2023
07ed478
update API descriptor.json
cbellone Feb 5, 2023
9d2945a
add docs for SUBSCRIPTION_ASSIGNED_GENERATE_METADATA
cbellone Feb 5, 2023
a0cea27
fix broken links
cbellone Feb 7, 2023
f3415c5
Custom vat application (#1193) - cherry-picked from 4f7f5ca62bbfd0969…
cbellone Feb 10, 2023
f09bfe8
fix errors after cherry-pick
cbellone Feb 12, 2023
0ea5d7b
implement reservation export (#1194) - cherry-picked from 1e9bedf25c3…
cbellone Feb 11, 2023
9dcc5f4
fix errors after cherry-pick
cbellone Feb 12, 2023
debbb9d
add the possibility to hide PIN on subscriptions (cherry-picked from …
cbellone Feb 12, 2023
283f14a
fix errors after cherry-pick
cbellone Feb 12, 2023
b2343cf
do not include PIN in the email if configuration forbids it
cbellone Feb 15, 2023
a00c724
Fix spring-session <-> spring security integration + session removal …
syjer Mar 4, 2023
94e2923
fix various findings (#1200) (#1201)
syjer Mar 7, 2023
1cc0f0e
fix ff failure in e2e test (#1203)
syjer Mar 24, 2023
6deef4b
try to run tests against testcontainers PGSQL (cherry-picked from 969…
cbellone Feb 19, 2023
46c6767
update actions versions
cbellone Feb 19, 2023
5924e65
remove vat for a specific category (#1198) - cherry-picked from d4f8b…
cbellone Mar 4, 2023
50c88e8
fix wrong export query, add new fields
cbellone Mar 4, 2023
fd5f026
getCategoriesWithNoTaxes: fix case when list is empty
syjer Mar 6, 2023
a5a8183
prevent NPE on free events
cbellone Mar 10, 2023
660bffe
Refactor payment confirmation (#1202) - cherry-picked from fb568c3ce1…
cbellone Mar 20, 2023
b1be0f4
try to build arm64 image
cbellone Mar 20, 2023
27fc690
bugfix: recalculate reservation total price if there are tax-exempt c…
cbellone Mar 24, 2023
0580cab
Implement support for keeping multiple sponsor scans of the same atte…
cbellone Mar 25, 2023
7d12c36
Preload language (#1192) - cherry-picked from 69d363880ed70b2961156c9…
cbellone Mar 26, 2023
c9a16ab
Fix user admin check (#1206) - cherry-picked from 1852400f3472afa23b7…
syjer Mar 30, 2023
2b62418
fix build
cbellone Mar 31, 2023
674e54d
fix e2e build
cbellone Mar 31, 2023
7cf4e5d
revert to a valid tag
cbellone Mar 31, 2023
51ea8a1
try again with 4.4.1
cbellone Mar 31, 2023
217d475
update frontend to https://github.com/alfio-event/alf.io-public-front…
cbellone Mar 31, 2023
0090f38
update translations
cbellone Apr 7, 2023
da74af6
resize uploaded images (#1209) - cherry-picked from daea7766774ddaf0a…
cbellone Apr 7, 2023
e25baa6
fix failing test
cbellone Apr 7, 2023
2607a1c
consider event end date when calculating offline payment deadline
cbellone Apr 11, 2023
a29b9af
fix old reservations (confirmed / payment pending)
cbellone Apr 14, 2023
5dbf010
update invoice layout + flag to send proforma invoice when italian E…
cbellone Apr 14, 2023
c821aa9
fix failing test
cbellone Apr 14, 2023
4d49956
add italian translation
cbellone Apr 17, 2023
b4d7bb4
Admin frontend UI organization : list create - edit (#1212)
Lorslux Apr 28, 2023
9b90dd1
Users management crud + organization selector fixed (#1217)
Lorslux May 5, 2023
5f3bff2
fix org-selector: remove unused class
syjer May 5, 2023
babe92b
close options dialog on success
cbellone Apr 19, 2023
a814713
display "+VAT" only if needed
cbellone Apr 21, 2023
84a704e
request made with a system API Key must skip row level security
cbellone Apr 21, 2023
8959805
Recognize API calls authenticated by System API Key as ADMIN
cbellone Apr 22, 2023
dd31cbd
delete email messages when deleting organization
cbellone Apr 26, 2023
5260350
additional check when accessing user
cbellone Apr 26, 2023
261dced
update wording on IT e-invoice
cbellone Apr 29, 2023
c74ec1f
customize reservation flow
cbellone Apr 29, 2023
a5ba60c
Google Wallet integration (#1215)
cbellone May 3, 2023
0acff7e
remove fake (test) data
cbellone May 5, 2023
9de1ffc
fix wrong title
cbellone May 5, 2023
8a740dc
fix google wallet button path
cbellone May 5, 2023
19072ba
case insensitive qr code (#1218)
cbellone May 6, 2023
ec0549e
fix failing tests
cbellone May 8, 2023
416be20
cherry-pick wallet-related modifications
cbellone May 9, 2023
d7e319c
fix reverse proxy error when description is too long. Truncate to 102…
cbellone May 9, 2023
2c4c671
fix load user type
cbellone May 11, 2023
27fee32
UI Apikey management (#1219)
Lorslux May 12, 2023
a2fc287
fix errors in markdown
cbellone May 19, 2023
32c5a05
UI event list (#1241)
Lorslux May 26, 2023
5180a58
Payments list (#1240) - cherry-picked from 51c2edabc4f01cb7154d700ba5…
cbellone May 26, 2023
34c400a
fix test
cbellone May 30, 2023
444c573
fix styling
cbellone May 30, 2023
c6f06bb
Added docs for Mollie (#1236)
StanMar-bit Jun 7, 2023
ecc8276
UI event detail with graphs (#1243)
Lorslux Jun 12, 2023
d177dcf
Translate (#1247)
Lorslux Jun 13, 2023
45583aa
Event datail part 2 (#1248)
Lorslux Jun 16, 2023
9a77550
update public frontend
cbellone Jun 25, 2023
107e72a
fix imports; remove .vscode and ignore it
cbellone Jun 25, 2023
8c837a0
Check for null value with the appropriate assertion method (#1282)
valery1707 Oct 6, 2023
7dbb6c6
Added voucher code in attendees data
Dec 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
57 changes: 19 additions & 38 deletions .github/workflows/build-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,59 +7,37 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
postgresql: ['9.6','14']
services:
postgres:
image: postgres:${{ matrix.postgresql }}
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
# needed because the postgres container does not provide a healthcheck
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
postgresql: ['10','15']
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v1
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: actions/cache@v1
- uses: actions/cache@v3
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradlew') }}
restore-keys: |
${{ runner.os }}-gradlew-
- name: Set up JDK 11
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
- name: Set up DB
run: |
sudo apt-get install --yes postgresql-client
psql -h 127.0.0.1 -U postgres postgres -c 'create database alfio;' -f src/test/resources/init-db-user.sql
env:
PGPASSWORD: postgres
java-version: 17
distribution: temurin
- name: Build with Gradle
run: ./gradlew build distribution jacocoTestReport -Dspring.profiles.active=travis -Ddbenv=PGSQL-TRAVIS -Dpgsql${{ matrix.postgresql }}
run: ./gradlew dist jacocoTestReport -Dpgsql.version=${{ matrix.postgresql }}
- name: upload to sonarcloud
if: ${{ github.repository == 'alfio-event/alf.io' && matrix.postgresql == '14'}}
run: ./gradlew sonarqube
env:
SONARCLOUD_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: upload-to-coveralls
# if: matrix.postgresql == '13' # run only once
# run: ./gradlew coveralls
# env:
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: 'Upload Build'
if: ${{ github.repository == 'alfio-event/alf.io' && matrix.postgresql == '9.6'}}
uses: actions/upload-artifact@v2
if: ${{ github.repository == 'alfio-event/alf.io' && matrix.postgresql == '10'}}
uses: actions/upload-artifact@v3
with:
name: dist
path: build
Expand All @@ -71,23 +49,26 @@ jobs:
name: Push dev image
steps:
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: dist
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Configure Docker
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Login to Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.CR_USER }}
password: ${{ secrets.CR_PAT }}
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v3.x
uses: rlespinasse/github-slug-action@v4.4.1
- name: Push Docker image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./dockerize
tags: |
ghcr.io/alfio-event/alf.io/dev-${{ env.GITHUB_REF_SLUG }}:latest
platforms: linux/amd64,linux/arm64
push: true
18 changes: 7 additions & 11 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,24 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java

- name: Set up JDK 11
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: temurin

- name: Build with Gradle
run: ./gradlew build -x test
Expand All @@ -51,4 +47,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
15 changes: 8 additions & 7 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,27 @@ jobs:
if: github.repository == 'alfio-event/alf.io'
strategy:
matrix:
browser: ['chrome', 'firefox', 'safari', 'ie11']
browser: ['chrome', 'firefox', 'safari']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v1
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: actions/cache@v1
- uses: actions/cache@v3
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradlew') }}
restore-keys: |
${{ runner.os }}-gradlew-
- name: Set up JDK 11
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: temurin
- name: 'BrowserStack Env Setup'
uses: 'browserstack/github-actions/setup-env@master'
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ out/
alfio-itest
.gradletasknamecache
public/
!frontend/projects/public
node_modules/
lsp
3 changes: 3 additions & 0 deletions .sdkmanrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=17.0.3-zulu
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ The open source ticket reservation system.
## Warning

As the work for Alf.io [v2](https://github.com/alfio-event/alf.io/milestones) has started, this branch may contain **unstable** and **untested** code.
If you want to build and deploy alf.io by yourself, we strongly suggest you to use the [2.0-M3-maintenance](https://github.com/alfio-event/alf.io/tree/2.0-M3-maintenance) branch, as it contains production-ready code.
If you want to build and deploy alf.io by yourself, we strongly suggest you to use the [2.0-M4-maintenance](https://github.com/alfio-event/alf.io/tree/2.0-M4-maintenance) branch, as it contains production-ready code.

## Prerequisites

You should have installed Java version **11** (e.g. [Oracle's](http://www.oracle.com/technetwork/java/javase/downloads/index.html), [OpenJDK](http://openjdk.java.net/install/), or any other distribution) to build and run alf.io. Please note that for the build process the JDK is required.
You should have installed Java version **17** (e.g. [Oracle's](http://www.oracle.com/technetwork/java/javase/downloads/index.html), [OpenJDK](http://openjdk.java.net/install/), or any other distribution) to build and run alf.io. Please note that for the build process the JDK is required.

Postgresql version 9.6 or later.
Postgresql version 10 or later.

Additionally, the database user that creates and uses the tables should not be a "SUPERUSER", or else the row security policy checks will not be applied.

Expand All @@ -46,7 +46,7 @@ You must specify a project property at the command line, such as
```
The local "bootRun" task has the following prerequisites:

- a PostgreSQL (version 9.6 or later) instance up and running on localhost:5432
- a PostgreSQL (version 10 or later) instance up and running on localhost:5432
- a _postgres_ user having a password: _password_
- a database named _alfio_

Expand Down Expand Up @@ -153,10 +153,10 @@ However, if you decide to do so, then you need to make a couple of changes:
docker build -t alfio/alf.io ./build/dockerize
```

### About the included AppleWWDRCA.cer
### About the included AppleWWDRCAG4.cer

The certificate at src/main/resources/alfio/certificates/AppleWWDRCA.cer has been imported for https://github.com/ryantenney/passkit4j#usage functionality.
It will expire the 02/07/23 (as https://www.apple.com/certificateauthority/).
The certificate at src/main/resources/alfio/certificates/AppleWWDRCAG4.cer has been imported for https://github.com/ryantenney/passkit4j#usage functionality.
It will expire the 2030-10-12 (YYYY-MM-DD - as of https://www.apple.com/certificateauthority/).

## Available spring profiles:

Expand All @@ -174,7 +174,7 @@ This project exists thanks to all the people who contribute.

### Translation Contributors (POEditor)

A big "Thank you" goes also to our translators, who help us on [POEditor](https://poeditor.com/join/project/ttBYTmPYdr):
A big "Thank you" goes also to our translators, who help us on [POEditor](https://github.com/alfio-event/alf.io/tree/master/src/main/resources/alfio/i18n):

(we show the complete name/profile only if we have received explicit consent to do so)

Expand Down
25 changes: 25 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Security Policy

## Supported Versions

We support the latest major release, which is at the moment **2.0-M4**.
In case of direct or transitive vulnerability in that code, we'll release a new version as soon as possible.
Please follow us on [Twitter](https://twitter.com/alfio_event) for release announcements, and keep your alf.io updated!

| Version | Supported |
| ------- | ------------------ |
| 2.0-M4 | :white_check_mark: |
| 2.0-M3 | :x: |
| 2.0-M2 | :x: |
| 2.0-M1 | :x: |

## Note about the master branch

We consider the "master" branch to be always a "Work in Progress", and as such it might contain vulnerabilities.
Before each release we'll run an additional scan on [SonarCloud](https://sonarcloud.io/summary/overall?id=alfio-event_alf.io) and fix all the security-releated findings.
That branch should not be deployed in production. If you do that, you're on your own.


## Reporting a Vulnerability

Please reach out via email to `security @ alf.io` (remove spaces), we'll reply as soon as possible. Thank you for sharing responsibly!
Loading