Commit graph

187 commits

Author SHA1 Message Date
Felix Nüsse 40bf5cfdb6
reintroduced fixes for nc17
Signed-off-by: Felix Nüsse <felix.nuesse@t-online.de>
2019-11-13 23:05:12 +01:00
WolFi 52b97e781e
FIX #625 fix for NC17 broke NC16 so we revert it and bump release and change max version 2019-10-21 23:15:38 +02:00
WolFi 76f4a5df97
Merge branch 'fix/issue-610' of https://github.com/gouttegd/passman into gouttegd-fix/issue-610 2019-10-20 20:48:59 +02:00
Damien Goutte-Gattat 4a1878ef0c
Escape reserved SQL keyword when notifying expired credentials.
The CronService fails to send notifications for expired credentials
due to the SQL query containing as a column name the word 'rows',
which is a reserved keyword. This is the cause of issue #490.

This patch fixes the issue simply by quoting the offending keyword.

Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>
2019-10-01 20:22:30 +01:00
Damien Goutte-Gattat aefd7bd3b0
Adjust notifier registration for Nextcloud 17 API.
This patch implements the changes recommended in issue #610
following the overhaul of the notification API introduced in
Nextcloud 17:

* Update the signature of the INotifier::prepare method.
* Use the new NotificationManager::registerNotifierService
  method instead of NotificationManager::registerNotifier
  (deprecated).

Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>
2019-10-01 20:08:11 +01:00
fnuesse deee11f454
Added compromised state to database
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
2019-01-08 21:23:27 +01:00
brantje 5ed525e4b1
Make use of icon groups 2017-10-29 14:14:08 +01:00
brantje c2c4d613d8
Add icons to credentials 2017-10-29 13:31:18 +01:00
brantje e6c1c131d6
Add icon service 2017-08-06 21:16:15 +02:00
Julius Härtl e624c0c3bc
Remove log message on cron run
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-07-10 13:22:59 +02:00
brantje acedaf1535
Code style fixes 2017-02-22 18:02:55 +01:00
brantje fd8dcc6c1c
Add feature to request vault destructions 2017-02-22 18:02:55 +01:00
brantje 514cb569fb
Add feature to move vaults to other account 2017-02-22 18:02:55 +01:00
brantje 6767322a22
Lock vault after 3 wrong attempts (Fixes #197)
Fix share button, fix shared_key not added to storedCredential after sharing (Fixes #249)
    Add password app importer. Fixes #248
    Fix version check via proxy. Fixes #237
    Fix activity app not filtering. Fixes #246
    Add EnPass txt importer. Fixes #159
    Fix for disabled share button
    Require vault key for export. Fixes #199
    Indicate that sharing only works with users that have 1 or more vaults.
    Fixes #242
    Reset tags on logout. Fixes #245
    Ability to enter OTP secret manually. Fixes #198
    Create teampass importer. Fixes #244
2017-02-17 21:25:18 +01:00
brantje d509bbd160
Fix cors headers 2017-01-19 13:39:01 +01:00
brantje fa13c071b0
Add setting to disable javascript console.
This setting is enabled by default.
Signed-off-by: brantje <brantje@gmail.com>
2017-01-18 21:01:56 +01:00
brantje a8ae7e0bda
Implement delete vault 2017-01-12 00:17:23 +01:00
brantje 331eda72ff
Clean up when a credential is deleted 2017-01-11 21:25:18 +01:00
brantje d4600833ab
Fix for uploading files 2017-01-11 20:43:52 +01:00
brantje 5f7661659a
Adjust reviewed code 2017-01-11 20:06:39 +01:00
brantje 3f4afba34f
Fixes 2017-01-11 18:09:49 +01:00
brantje 734496ebcc
Implement encryption class 2017-01-11 18:09:49 +01:00
brantje e5c8c5d1f7
Create encryption class 2017-01-11 18:09:49 +01:00
brantje f30f986d60
Fix if statements 2017-01-03 21:33:00 +01:00
brantje 863d7c4985
Add test for Settings, improve SettingsService 2016-12-30 16:59:48 +01:00
brantje a224ce4af9
Implement middleware for sharing
Check if sharing is enabled, if not return an empty array.
Signed-off-by: brantje <brantje@gmail.com>
2016-12-30 15:47:38 +01:00
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