Commit graph

206 commits

Author SHA1 Message Date
binsky 5183d8eb58 fix showing Passman app icon in application header whether access is restricted to a certain group or not #694 2021-05-25 23:56:13 +02:00
binsky eddef5af57 improve Admin.php 2021-03-23 00:25:45 +01:00
binsky 9d47d0f28d revert some method return type declarations that were IDE optimizations 2021-03-22 23:55:44 +01:00
binsky 80d76f4697 verify that deleting a credential will delete all related shares; fix #664 2021-03-22 20:10:00 +01:00
binsky 8b2eeb9eb2 fix setting a custom icon on credential creation 2021-03-22 17:47:25 +01:00
binsky b14fb90120 migrate L10NFactory access; migrate some other deprecations 2021-03-16 21:10:15 +01:00
binsky d7ff5587c3 add named parameters in Provider.php; set php7.4 as min php version 2021-03-16 17:36:04 +01:00
binsky e405d71b5b Merge branch 'nc22-ready' of github.com:binsky08/passman into migrations-2 2021-03-16 17:33:27 +01:00
binsky 66f3150619 remove named parameters as these are only supported from php7.4; set php7.2 as min php version 2021-03-16 17:17:35 +01:00
binsky c7c3f24215 migrate deprecated (database access) methods 2021-03-14 19:02:52 +01:00
binsky 7065a60686 migrate admin additional settings implementation 2021-03-13 20:05:16 +01:00
binsky 3358d5de8b migrate logging and password expiration notifications 2021-03-13 18:58:21 +01:00
binsky 6a103d8c8c disable registering the personal additional settings page since there is only a number printed 2021-03-13 00:48:07 +01:00
binsky 0fd6f276fc rename disable_global_search_inclusion setting to enable_global_search 2021-03-12 22:53:57 +01:00
binsky ca2717d610 add option to disable the global search inclusion 2021-03-12 22:04:40 +01:00
binsky 860611525a fix sprintf call; set minimum NextCloud version to 20 2021-03-12 17:25:56 +01:00
binsky 16839713e5 implement global nextcloud search credential handling 2021-03-12 16:31:01 +01:00
binsky 990ecf3534 add search provider for global nextcloud search 2021-03-12 03:58:01 +01:00
binsky db7e020360 migrate app.php to AppInfo\Application 2021-03-12 02:56:15 +01:00
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