Commit Graph

7 Commits

Author SHA1 Message Date
Julius Härtl
56e16b2d3f feat: Implement logic to import multiple boards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 14:44:57 +02:00
Max
507510f60b WIP: enh(import): import deck json exports
Signed-off-by: Max <max@nextcloud.com>
2023-08-11 14:44:57 +02:00
Julius Härtl
724a12c71f fix: Avoid failing due to uninitialized acces of systemInstance
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 14:44:57 +02:00
Max
cfa9c4d1c4 fix: crash when leaving out system parameter
The `--system` parameter can be supplied via command line
or selected afterwards.

However if none was provided the command would crash with
`TypeError: Cannot assign null to property $system`.

Handle that gracefully and make the type spec more precise
for the setSystem function.

Signed-off-by: Max <max@nextcloud.com>
2023-06-15 12:53:14 +02:00
Carl Schwan
44481e1c2a Switch from OC::$server->get to OCP\Server::get
And add a bit more typing to some classes + psalm issues

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 10:55:36 +02:00
Vitor Mattos
ccd5bce7ea Replace glob by EventDispatcher
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:50 +01:00
Vitor Mattos
f2b6934ac3 Move all classes to a sub-namespace
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:50 +01:00