Côme Chilliet
8bcc2d352e
chore: Fix missing template parameter for IEventListener
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
4 months ago
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst
3174012adf
Add event dispatcher to OCP
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years ago
Roeland Jago Douma
c557314262
Clear notification to generate backup code once codes are generated
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Christoph Wurst
f8fe7488a5
Fix state propragation of the backup codes provider
Starting with Nextcloud 14, the server knows the enabled/disabled
state of 2fa providers. While it will query that information if it's
unknown (on first use), it won't notice any changes. Thus, providers
have to propagate that information themselves.
Ref https://github.com/nextcloud/twofactor_totp/pull/263
Ref https://github.com/nextcloud/twofactor_u2f/pull/210
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years ago
Morris Jobke
72bb7c3074
Fix PHP doc for API docs
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Morris Jobke
f6ef3b6464
add proper type hinting
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Christoph Wurst
ad757805ca
Pass the exception context to the crash reporter
This should allow better reports as often the app id is passed
as context. While this is not used right now, I'd like to have this
for NC13 as adding it later will break the interface for existing apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
4c5593998a
Add a mechanism to register crach reporters
This adds a crash reporter registry, which is meant for third party apps
to hook into the error logging/reporting chain. This way, external tools
like Sentry can be used to track and aggregate system crashes.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
f27b7fa8d1
Do not use underscores in PSR4 namespaces of the backup codes app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
7 years ago
Joas Schilling
60c22dd074
Fix more sniffing
7 years ago
Christoph Wurst
8acb734854
add 2fa backup codes app
* add backup codes app unit tests
* add integration tests for the backup codes app
7 years ago
Joas Schilling
0215b004da
Update with robin
7 years ago
Joas Schilling
6d80efc2a4
Fix WebDav
8 years ago
Joas Schilling
957a13d879
Remove unnecessary imports
8 years ago
Joas Schilling
cdc5470f7e
Fix the use of traits
8 years ago
Sergio Bertolin
9d44576819
Restructured FeatureContext to reuse some parts and run two servers in parallel
8 years ago
Sergio Bertolin
a2938385f9
Making webdav path configurable
8 years ago
Sergio Bertolin
dd10e1d538
modified makedavrequest to return response
8 years ago
Sergio Bertolin
ee4a18a16c
added test about resharing
8 years ago
Sergio Bertolin
81e0a3ea22
Added test and logic for deleting all group shares
8 years ago
Sergio Bertolin
630ba2fd09
Added test for shared_with_me parameter
8 years ago
Sergio Bertolin
a990e0ac1d
Added some requirements for first test case
8 years ago
Joas Schilling
90b020cf88
Delete when it is a directory...
8 years ago
Joas Schilling
fbcdf17089
Fix doc blocks
8 years ago
Sergio Bertolin
eb6a13c231
Added a test including all the fields of the share update and checking output
8 years ago
Sergio Bertolin
7aeda7c99a
Added a test and logic for checking answer of public shares
8 years ago
Sergio Bertolin
7aa6e9b643
Added test to get info of a specific share id
Check fields of the share response
Added missing fields to check if their values are numbers
8 years ago
Sergio Bertolin
e34872141e
Added tests about getting shares of a file and a test for deleting a user from a group which doesn't exist
8 years ago
Sergio Bertolin
1a51d4c4c7
Added changes in the verification of sharing get responses
8 years ago
Sergio Bertolin
3b7690f842
added test for deleting a share
8 years ago
Sergio Bertolin
0593381522
Added general function to create shares in preconditions.
8 years ago
Sergio Bertolin
0f27b719ea
enhancements to pre and post conditions
8 years ago
Thomas Müller
fcc2a0c830
Upgrade behat to 3.0.x and use @BeforeScenario and @AfterScenario to clean up users
8 years ago
Sergio Bertolin
d11b69bfb9
added sharing feature file
added logic necessary for preconditions and postconditions of sharing tests
Added sharing by link tests and sharing with group
Added test which reproduces issue 19950 (adding expiration date)
refactored given and then statements to be preconditions and not operations
8 years ago
Sergio Bertolin
64ea35af05
added tests for apps
8 years ago
Sergio Bertolin
5e9dc381b4
added test for getting users of a group being subadmin
8 years ago
Sergio Bertolin
5703483e99
using canonize in assertEquals for arrays
8 years ago
Sergio Bertolin
488728a0fa
Added more tests and fixed a problem with asort which was returning false positives
8 years ago
Morris Jobke
d78f6852c7
Fix whitespace issues in integration tests
8 years ago
Sergio Bertolin
8f91426e0a
changing indentation, vertical elements and previous existance of users and groups
8 years ago
Sergio Bertolin
957d60cd0a
ordering arrays before comparing
8 years ago
Sergio Bertolin
1b0e128b44
checking users and groups
8 years ago
Sergio Bertolin
bb9f568654
lists getting ready
8 years ago
Roeland Jago Douma
b0babfc847
[Intergration] Throw error if exception not thrown
8 years ago
Sergio Bertolin
0c1a657282
restored assertions in existance of users and groups
8 years ago
Sergio Bertolin
fd709b4b49
Being explicit between http and ocs return codes
8 years ago
Sergio Bertolin
0e3836ed48
Return the actual ocs return codes and check it
8 years ago
Sergio Bertolin
186aff5dea
added some deletion logic
8 years ago