Commit Graph

76 Commits

Author SHA1 Message Date
Julius Härtl
6114c28b10 Remove unneeded cardId parameters
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-11 12:21:37 +02:00
Julius Härtl
76a1cc0618 Always set self/blob csp when displaying attachments
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-24 20:01:46 +02:00
Julius Härtl
52febb396c Fix php cs issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-22 19:57:19 +02:00
Julius Härtl
bb6790882a Let new shares only use the current users permissions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-04 12:58:14 +02:00
Julius Härtl
17c63989b1 Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-01 20:52:13 +02:00
Julius Härtl
d6eac1b11a Add frontend for assigning groups to cards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-01 20:52:09 +02:00
Julius Härtl
7fb7fbc0d1 Fix unit tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-12 08:11:42 +01:00
Julius Härtl
bdc149aa6b Move default board creation to Application and cleanup code
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-26 12:14:51 +01:00
Julius Härtl
61e4d807b7 Merge remote-tracking branch 'origin/vue' into master-merge-vue 2020-01-25 10:42:05 +01:00
Julius Härtl
e5edd96b74 Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-08 21:50:17 +01:00
Julius Härtl
2089f5df73 Merge remote-tracking branch 'origin/master' into vue 2019-12-17 20:36:16 +01:00
Julius Härtl
4c0512f0b7 Bump phpunit and fix CI
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-12-17 20:25:57 +01:00
Julius Härtl
6eb8c117a3 Fix tests after reordering has changed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 16:30:01 +02:00
Jakob
d3efff0ce7 default board color is now blue
Signed-off-by: Jakob <jakob.roehrl@web.de>
2019-09-10 12:33:19 +02:00
Julius Härtl
8b8db54309 Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-30 13:42:26 +02:00
Julius Härtl
efaed4140d Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-28 19:21:39 +01:00
Julius Härtl
ed3991b7bd Share with circles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-27 18:10:43 +01:00
Julius Härtl
33ca8a1827 Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-19 22:43:53 +01:00
Julius Härtl
3156f69717 Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-05 10:10:18 +01:00
Julius Härtl
0528bd59d1 Fix tests for group restrictions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-04 09:25:35 +01:00
Julius Härtl
a026ebf094 Add change database helper
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-05 14:53:01 +01:00
Julius Härtl
e0ac86ac1f Inject user manager
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-09 13:08:27 +02:00
Julius Härtl
e29efe8935 Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-09 13:08:27 +02:00
Julius Härtl
eea5803ae5 Fix existing service tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-09-06 10:05:03 +02:00
Julius Härtl
4c300bf432 Adjust tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-09-06 10:05:02 +02:00
Ryan Fletcher
aba7d02cfe Added BadRequestException checks in DefaultBoardService. Fixed bug in DefaultBoardService BadRequestException checks.
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
2018-08-15 21:15:22 +02:00
Julius Härtl
2482dc963a Fix BoardServiceTest
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-15 21:15:18 +02:00
Ryan Fletcher
e8c53d71aa fixed more unit tests.
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
2018-08-15 21:15:17 +02:00
Ryan Fletcher
e0049cf07b Resolved unit tests errors, down from 36 to 9.
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
2018-08-15 21:15:17 +02:00
Manuel Arno Korfmann
94e1b86eaf fixed bugs where labels would dissappear
Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info>
2018-08-15 20:33:31 +02:00
Manuel Arno Korfmann
5ddfb66633 Card,Stack undo delete: CardServiceTest fix
Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info>

Stack,Card undo delete: Test Fix 2

Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info>

Card, Stack undo delete: Test fix 3

Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info>

Card,Stack undo delete: Test fix 4

Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info>

Stack, Card undo delete: Relative time in deleted entity listings

Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info>

Card, Stack undo delete: Test Fix 5

Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info>

Test Fix 6

Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info>

Test Fix 7

Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info>

fix codacy

Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info>
2018-08-15 20:33:31 +02:00
Julius Härtl
1948c303f2 Add missing import statement
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-28 12:25:23 +02:00
steav
fdc1f275c5 Add tests for card assignment notification
Signed-off-by: steav <steav8@gmail.com>
2018-07-28 12:17:28 +02:00
steav
1276dddc37 Fix failing CardServiceTest
Signed-off-by: steav <steav8@gmail.com>
2018-07-28 12:17:28 +02:00
Ryan Fletcher
04cb5f656d Mocked up $this->l10n calls in DefaultBoardServiceTest
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
2018-07-13 08:53:21 -04:00
Ryan Fletcher
3863c7497b Used $l10n references in my unit test, this should allow it pass.
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
2018-07-12 12:15:46 -04:00
Ryan Fletcher
8d4dbd4d82 Fixed up code styles as per review by juliushaertl
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
2018-07-12 11:17:11 -04:00
Ryan Fletcher
ba378ea00b First attempt at using l10n
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
2018-07-11 15:00:08 -04:00
Ryan Fletcher
2002841c61 Wrote unit tests for checkFirstRun method in the default board service
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
2018-07-11 12:59:40 -04:00
Ryan Fletcher
712ab9e0bc Corrected testCreateDefaultBoard()
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
2018-07-11 11:49:20 -04:00
Ryan Fletcher
e07fc0a2c7 Corrected missing import and missing parameter in defaultBoardServiceTest
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
2018-07-11 10:49:46 -04:00
Ryan Fletcher
61fb68f4cf Added a unit test against DefaultBoardService->TestCreateDefaultBoard()
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
2018-07-11 10:20:42 -04:00
Julius Härtl
cb25643741 Fetch file from rootFolder instead of IAppData to use StreamResponse when displaying
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-05 18:42:33 +02:00
Julius Härtl
b0f7bef279 Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-25 18:05:02 +02:00
Julius Härtl
63ad39dd2d Unit tests for missing service methods
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-19 18:00:07 +02:00
Julius Härtl
a83b50bb97 return empty result
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-19 18:00:06 +02:00
Julius Härtl
0f50f8d1d9 Use generic Exception
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-19 18:00:06 +02:00
Julius Härtl
7ad8080f82 Add unit tests for new classes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-19 18:00:06 +02:00
Julius Härtl
04b0807a12 Adapt existing unit tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-19 18:00:04 +02:00
Julius Härtl
31965bf40c Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-03-02 19:00:18 +01:00