Commit graph

742 commits

Author SHA1 Message Date
brantje
f1bab7dd68
Add license header to files 2016-10-19 17:45:50 +02:00
brantje
d9dc7f8704
No need to mock localstorage 2016-10-17 19:40:17 +02:00
brantje
a288f92eed
Merge branch 'karmaTests' 2016-10-17 19:36:38 +02:00
brantje
e83bcd3242
Make scrutinizer happy 2016-10-17 19:29:05 +02:00
brantje
0d0f5bc7a0
Start with a few credentialCtrl tests 2016-10-17 19:25:47 +02:00
brantje
e84da75f05
Add required files for karma 2016-10-17 18:43:33 +02:00
Marcos Zuriaga
02ef0187ef
Added missing classes to coverage
Added missing @covers annotations
2016-10-16 20:35:14 +02:00
Marcos Zuriaga
0fefb19a8e
Include controllers in code coverage calculation 2016-10-16 19:57:20 +02:00
Marcos Zuriaga
50b85491d9
Typos and improvements on the readme 2016-10-16 19:35:22 +02:00
Marcos
75f541e2c9 Merge branch 'master' into phpunit 2016-10-16 19:07:20 +02:00
Marcos Zuriaga
7f208004e0
Finished credential mapper tests
Fixed some security flaws on the credential update method in the credential mapper class
2016-10-16 19:02:43 +02:00
brantje
dbecc027ab
Merge branch 'searchBox' 2016-10-16 18:28:45 +02:00
brantje
1a4c1346cc
Better searchbox behaviour.
Add a clear icon.
2016-10-16 18:08:59 +02:00
brantje
94d4f30948
Merge branch 'backgroundJob' 2016-10-16 13:28:19 +02:00
brantje
bb554a8407
Remove deprecated cron 2016-10-16 13:21:27 +02:00
brantje
ef6eb74415
Fix count 2016-10-15 22:37:23 +02:00
brantje
3524cded0d
Limit it to 20 credential for preformance reasons 2016-10-15 22:35:29 +02:00
brantje
11f427904c
Fix getRandomCredentialByVaultId for sqllite 2016-10-15 22:34:45 +02:00
brantje
ce49cae86e
Update @covers 2016-10-15 22:19:04 +02:00
brantje
306c267b1b
Fix test and typo 2016-10-15 22:18:44 +02:00
Marcos Zuriaga
8a30328a73
Added partial test
Fixed bug with null data in the mock datasets
Edited mock data so there it's some expired credentials
Added some phpdocs
2016-10-15 21:03:50 +02:00
Marcos Zuriaga
41b0005e7c
Added credential revision mapper unit test 2016-10-15 19:27:43 +02:00
Marcos Zuriaga
a327103bc0
Removed some pgsql useless check 2016-10-15 17:55:07 +02:00
Marcos Zuriaga
2713741eac
Merge branch 'phpunit' of github.com:nextcloud/passman into phpunit 2016-10-15 17:54:35 +02:00
Marcos Zuriaga
95509e3558
Added file mapper test
Updated database test mock data and added missing tables
Changed some wrong phpdoc
Added some phpdoc
2016-10-15 17:53:22 +02:00
brantje
aad51c8064
Remove pgsql tests 2016-10-15 15:22:52 +02:00
Marcos Zuriaga
114df3e948
Attempt to fix pgsql fails 2016-10-15 01:48:33 +02:00
Marcos Zuriaga
4086f22212
Refactored helper to use nextcloud query builder
hoping this fixes the test problems with pgsql
2016-10-15 01:42:14 +02:00
Marcos Zuriaga
0779d79cca
Fix sqlite bug, hope the mysql problem is not happening on other systems and the sql statement works on all the other systems 2016-10-14 23:37:16 +02:00
Marcos Zuriaga
c91c9cb6d8
Add more vervosity to the travis phpunit run
Skip test that fails by unknown php witchery and mark as incomplete
Changed some incomplete annotation
2016-10-14 23:30:54 +02:00
Marcos Zuriaga
52c072631d
Added unit tests agains sharerequest mapper
Added some helper functions on the database helper test
Renamed method so it's less confusing
2016-10-14 22:39:06 +02:00
brantje
7be6f8c0a1
Small fix for navigating away 2016-10-14 15:49:08 +02:00
brantje
f4c245e0e3
Merge branch 'fixImporterDecleration' 2016-10-14 15:49:08 +02:00
brantje
8b31278429
Merge branch 'navigateAwayWarning' 2016-10-14 15:49:08 +02:00
brantje
c324f46413
Clean up 2016-10-14 15:49:08 +02:00
brantje
9a466e2c3f
Merge branch 'fixPassPackDescription' 2016-10-14 15:49:08 +02:00
brantje
47d594c023
Add a warning when a reencryptCredential is running 2016-10-14 15:49:08 +02:00
brantje
d5a123abf4
Use global namespace for importers 2016-10-14 15:49:08 +02:00
brantje
456b3742d6
Merge branch 'passmanImportDescription' 2016-10-14 15:49:08 +02:00
brantje
9b7931d5a0
Correct passpack description 2016-10-14 15:49:08 +02:00
brantje
d7cef52bac
Merge branch 'resharingMessage' 2016-10-14 15:49:08 +02:00
brantje
f3703f6991
Add description field to import 2016-10-14 15:49:08 +02:00
brantje
60e89c84a7
Merge branch 'updateReadme' 2016-10-14 15:49:08 +02:00
brantje
32816aa32d
Show a message when a user changes the "shared" with list 2016-10-14 15:49:08 +02:00
brantje
6f690164f2
Update readme 2016-10-14 15:49:08 +02:00
Marcos Zuriaga
286476a546
Fixed some types on sharerequest entity
Added partial unit test for sharerequest mapper
Changed some assertEquals to assertSame so we don't do loosy type checks
2016-10-14 15:39:33 +02:00
brantje
fdbff0d0f6
Update readme 2016-10-12 23:06:11 +02:00
brantje
0fe250cfe1
Update readme 2016-10-12 22:24:08 +02:00
brantje
5e1b457c14
Check if description is set before replacing newlines 2016-10-12 21:56:35 +02:00
brantje
401da2bd55
Merge branch 'removeUnusedCode' 2016-10-12 20:54:08 +02:00