Skip to content
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
6277d73
2314: add regions and playlists in screen processor to avoid multiple…
Sep 25, 2024
aa9cd51
2314: add regionsAndPlaylists and groups to screeninput
Sep 26, 2024
3b9be3a
2314: add deleteAllRelationsForARegion, to delete screen playlists an…
Sep 26, 2024
1231e39
2314: add cascade: ['persist', 'remove'] to playlistScreenRegions on …
Sep 26, 2024
591b8ec
2314: delete playlists and save groups
Sep 26, 2024
74cb181
2314: make psalm happy
Sep 26, 2024
49fda45
2314: psalm will never be happy
Sep 26, 2024
444d32c
2314: coding standards appyl
Sep 26, 2024
0f863e1
2314: update changelog
Sep 26, 2024
2686840
2314: update baseline
Sep 26, 2024
24dc479
2314: update changelog
Sep 26, 2024
1cca81f
2314: update-api-spec
Oct 1, 2024
0f39176
2314: delete playlists that is removed in frontend, save new playlists
Oct 7, 2024
1d0c374
2314: handle playlist weight
Oct 7, 2024
55e921e
2314: coding standards apply
Oct 7, 2024
a9edd7b
2314: markdown remove indentation for code sections
Oct 7, 2024
ec37986
2314: code analysis
Oct 7, 2024
9267955
2314: update api spec
Oct 7, 2024
2b7dbf4
2314: composer update "symfony/*" --with-dependencies
Oct 8, 2024
da4e13e
2314: avoid deleting all groups and readding
Oct 8, 2024
a1f35fe
2314: coding standards apply
Oct 8, 2024
10d1308
2314: test with todo
Oct 9, 2024
2cfe1d3
2314: replace todo with screen id
Oct 9, 2024
2ee824c
2314: changelog
Oct 9, 2024
863cc43
2314: update changelog
Oct 9, 2024
cb6970c
2314: remove annotation used locally
Oct 9, 2024
9c327c1
2314: fixes from comment on pr
Oct 9, 2024
5c6ccf2
2314: add handling of changed weight
Oct 10, 2024
c98d07a
2314: comment on pr, move function to entity instead of processor
Oct 16, 2024
0947605
2314: update changed variable name
Oct 16, 2024
7a2f1e7
2314: wrap changelog
Oct 16, 2024
3861ee8
2314: supress psalm InvalidArgument
Oct 22, 2024
2daf652
2314: screen processor lint
Oct 22, 2024
22e8cd9
2314: lint broke psalm, readd psalm
Oct 22, 2024
c5a33ab
2314: add phpdoc_to_comment false to php-cs-fixer
Oct 22, 2024
b2f4849
2314: update changelog
Oct 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ All notable changes to this project will be documented in this file.

- [#214](https://github.com/os2display/display-api-service/pull/214)
- Updated endSessionUrl to be nullable.

- [#213](https://github.com/os2display/display-api-service/pull/213)
- Add regions and groups to `ScreenInput.php`
- Add "cascade: persist remove" to PlaylistScreenRegion
- Save playlist/regions in `ScreenProcessor.php` (as an alternative to sending multiple requests)
- Save groups in `ScreenProcessor.php`
- Update psalm baseline
- Add regions/playlists and groups to POST screen test
- `composer update symfony/* --with-dependencies`

- [#193](https://github.com/os2display/display-api-service/pull/193)
- Adds support for interactive slides.
- Adds interactivity for creating quick bookings from a slide through Microsoft Graph.
Expand Down
31 changes: 16 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,16 +258,16 @@ the coding standard for the project.

- PHP files [PHP Coding Standards Fixer](https://cs.symfony.com/)

```shell
docker compose exec phpfpm composer coding-standards-check
```
```shell
docker compose exec phpfpm composer coding-standards-check
```

- Markdown files (markdownlint standard rules)

```shell
docker run --rm -v .:/app --workdir=/app node:20 npm install
docker run --rm -v .:/app --workdir=/app node:20 npm run coding-standards-check
```
```shell
docker run --rm -v .:/app --workdir=/app node:20 npm install
docker run --rm -v .:/app --workdir=/app node:20 npm run coding-standards-check
```

#### YAML

Expand All @@ -281,23 +281,24 @@ To attempt to automatically fix coding style issues

- PHP files [PHP Coding Standards Fixer](https://cs.symfony.com/)

```sh
docker compose exec phpfpm composer coding-standards-apply
```
```sh
docker compose exec phpfpm composer coding-standards-apply
```

- Markdown files (markdownlint standard rules)

```shell
docker run --rm -v .:/app --workdir=/app node:18 npm install
docker run --rm -v .:/app --workdir=/app node:18 npm run coding-standards-apply
```
```shell
docker run --rm -v .:/app --workdir=/app node:18 npm install
docker run --rm -v .:/app --workdir=/app node:18 npm run coding-standards-apply
```

## Tests

Run automated tests:

```shell
docker compose exec phpfpm composer tests
docker compose exec phpfpm composer test setup
docker compose exec phpfpm composer test
```

Disable or hide deprecation warnings using the [`SYMFONY_DEPRECATIONS_HELPER` environment
Expand Down
Loading