Commit graph

161 commits

Author SHA1 Message Date
brantje
7bb1839184
Refactor settings, create SettingsService
Fix settings not working in ownCloud
Signed-off-by: brantje <brantje@gmail.com>
2016-12-30 13:37:40 +01:00
brantje
9ab74be344
Check if shared_key exists
Remove value set by php

Replace DoesNotExistException with Exeption
2016-12-29 12:29:48 +01:00
brantje
858195834d
Add settings page, non functional
Implement disable context menu

Implemement disable http warning

Implement vault key strength setting

Implement share settings

Implement version check setting
2016-12-28 21:34:59 +01:00
brantje
fc3c019895
Don't publish an activity if there is no user
Signed-off-by: brantje <brantje@gmail.com>
2016-12-21 14:41:43 +01:00
brantje
63e089f363
Remove some unused code 2016-12-19 18:43:15 +01:00
brantje
892965e869
Fix for NC12 $container->getDb() 2016-12-19 18:04:00 +01:00
brantje
0cf6deeb65
Add missing phpdoc 2016-10-23 12:14:43 +02:00
brantje
f1bab7dd68
Add license header to files 2016-10-19 17:45:50 +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
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
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
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
Marcos Zuriaga
114df3e948
Attempt to fix pgsql fails 2016-10-15 01:48:33 +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
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
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
1a74def8dc
Remove unused code 2016-10-12 20:16:37 +02:00
Marcos Zuriaga
61dbcedfa4
Removed unused var from mapper constructor 2016-10-12 19:23:12 +02:00
Marcos Zuriaga
5186648889
Added unit test for SharingACLMapper
Renamed some vars
Added launch_phpunit.sh to gitignore
2016-10-12 19:08:59 +02:00
Marcos Zuriaga
9c53219346
Removed unused method and variable 2016-10-11 23:15:45 +02:00
Marcos Zuriaga
1f30ccc963
Added Database testing base class
Added VaultMapper unit tests
Edited some VaultMapper docs and changed a function to use the Utils implementation
Added coverage phpunit annotations
2016-10-11 01:41:32 +02:00
Marcos Zuriaga
64930bb106
Create unit tests for Vault database model
Fix some typos in phpdoc of vault db model
2016-10-09 17:53:20 +02:00
Marcos Zuriaga
bc0f47a8e5
Unit tests for ShareRequest model
Fixes bug with asACLJson result data in sharerequest
2016-10-09 14:52:23 +02:00
Marcos Zuriaga
1e8d742c01
Utils class simplification of microtime method
utils unit tests
2016-10-08 18:24:30 +02:00
brantje
adb7dd582b
Remove comment
Fix if statement

Add return

Add return

Remove assignment
2016-10-08 15:00:07 +02:00
brantje
6dc3ddf63f
Revert "Scrutinizer Auto-Fixes"
This reverts commit 33ef75ac2f.
2016-10-08 13:45:34 +02:00
Scrutinizer Auto-Fixer
33ef75ac2f Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-10-07 23:01:16 +00:00
brantje
12764c5a4f
Remove ->__toString() call 2016-10-08 00:11:40 +02:00
brantje
fe690de354
Fix travis errors in Utility/PermissionEntity 2016-10-08 00:06:51 +02:00
brantje
724a3b33ff
Fix travis errors in ShareService 2016-10-08 00:05:43 +02:00
brantje
80289b1a71
Fix travis errors in CronService 2016-10-08 00:05:08 +02:00
brantje
ea8ee93efd
Fix travis errors in CredentialService 2016-10-08 00:04:36 +02:00
brantje
41360eed89
Fix travis errors in SharingMapper 2016-10-08 00:04:12 +02:00
brantje
1abe75c959
Fix travis errors in Activity class 2016-10-08 00:02:16 +02:00
brantje
bbcee22431
Fix travis errors in share controller 2016-10-07 23:57:42 +02:00
brantje
c94df47a9f
Vault use guids 2016-10-07 12:58:41 +02:00
brantje
8e80bb529a
Credentials use guids 2016-10-07 12:45:11 +02:00
brantje
5ff5414f2c
Fix merge conflict 2016-10-05 18:27:56 +02:00
brantje
a77ae301f5
Stared to work on revisions 2016-10-05 18:24:36 +02:00
Marcos Zuriaga
d0fbc485d0
Improved pending request permissions update
PHP doc improvements and additions
Changes on the utility class
2016-10-05 18:24:22 +02:00
brantje
e6aef00193
Downloading shared files works 2016-10-05 16:58:19 +02:00
brantje
f80263dff0
Add route to update revisions 2016-10-05 14:30:28 +02:00
brantje
b01afb4f3d
Add route for updating file 2016-10-05 14:09:15 +02:00