Skip to content

Commit

Permalink
Merge pull request #310 from studiometa/release/1.0.0-alpha.10
Browse files Browse the repository at this point in the history
Release/1.0.0 alpha.10
  • Loading branch information
coraliebach authored Nov 11, 2024
2 parents 240feee + c559f96 commit 654a34f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 37 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]


## [v1.0.0-alpha.10](https://github.com/studiometa/ui/compare/1.0.0-alpha.9..1.0.0-alpha.10) (2024-11-07)

### Added

- Add the administration of demos from the back-office (4d534ca)
- Add user authentification (27b68b5)

## [v1.0.0-alpha.9](https://github.com/studiometa/ui/compare/1.0.0-alpha.8..1.0.0-alpha.9) (2024-10-15)

### Added
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@studiometa/ui-workspace",
"version": "1.0.0-alpha.9",
"version": "1.0.0-alpha.10",
"private": true,
"workspaces": [
"packages/*"
Expand Down
34 changes: 0 additions & 34 deletions packages/docs/.symfony/src/Controller/DemoController.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,38 +27,4 @@ public function api_index(EntityManagerInterface $entityManager): JsonResponse

return $this->json($demos);
}

// #[Route('/demo/{id}/edit', name: 'demo_edit', methods: ['GET'])]
// public function update(EntityManagerInterface $entityManager, int $id): Response
// {
// $demo = $entityManager->getRepository(Demo::class)->find($id);

// if (!$demo) {
// throw $this->createNotFoundException(
// 'No demo found for id ' . $id
// );
// }

// $current_date = new \DateTimeImmutable('now', new \DateTimeZone("Europe/Paris"));
// $demo->setUpdatedAt($current_date);
// $entityManager->flush();
// }

// #[Route('/demo/{id}/edit', name: 'demo_edit', methods: ['POST'])]
// public function update(EntityManagerInterface $entityManager, int $id): Response
// {
// $demo = $entityManager->getRepository(Demo::class)->find($id);

// if (!$demo) {
// throw $this->createNotFoundException(
// 'No demo found for id ' . $id
// );
// }

// $current_date = new \DateTimeImmutable('now', new \DateTimeZone("Europe/Paris"));
// $demo->setUpdatedAt($current_date);
// $entityManager->flush();

// return $this->redirectToRoute('demos_list');
// }
}

0 comments on commit 654a34f

Please sign in to comment.