Christoph Wurst
7be465febe
Make new classes strict and fix license header
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
13d93f5b25
Make 2FA providers stateful
This adds persistence to the Nextcloud server 2FA logic so that the server
knows which 2FA providers are enabled for a specific user at any time, even
when the provider is not available.
The `IStatefulProvider` interface was added as tagging interface for providers
that are compatible with this new API.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Roeland Jago Douma
8eec3a9c9a
Add new authtoken v2 columns to the authtoken table
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Roeland Jago Douma
6b7cf46727
Certain tokens can expire
However due to the nature of what we store in the token (encrypted
passwords etc). We can't just delete the tokens because that would make
the oauth refresh useless.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Joas Schilling
4a5282ba21
Fix the type hints of migrations and correctly inject the wrapped schema into migrations
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Roeland Jago Douma
4ac32223da
Add indexes to cards and cards_properties tables
Fixes #6170
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Joas Schilling
55d9d24370
Fix database structure of twofactor backupcodes app to match 12
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
fe6e8c2710
Fix dropping tables and handle the prefix automatically
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
543c181ec5
Move twofactor_backupcodes to migrations
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
5d9d1b1cb5
Allow to check the schema in pre and post as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
194ef1a171
Adjust the code to use our interface and abstract
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
15eec7b83c
Start migrations
Fixme:
- Install and update of apps
- No revert on live systems (debug only)
- Service adjustment to our interface
- Loading via autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
cd79eb1b2c
Remove 2FA backup codes on user deletion
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Christoph Wurst
2f30a71b19
make sure files end with emtpy line
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
7 years ago
Christoph Wurst
85e4febc24
ignore code we're unable to test
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
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
root
bd65a17203
Nextcloud license header for new files
8 years ago
root
32fb6beac3
final changes
8 years ago
root
02ec8b1726
New LDAPProvider for user_ldap
8 years ago
Joas Schilling
ba87db3fcc
Fix others
8 years ago
Thomas Müller
682821c71e
Happy new year!
8 years ago
Thomas Müller
bacf1603ff
Adding ocs/v2.php with status code mapper
9 years ago
Morris Jobke
f63915d0c8
update license headers and authors
9 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
9 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
9 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
9 years ago
Tom Needham
a4f270a9ce
Add placeholder app.php for provisioning_api so app is detected
9 years ago
Jörn Friedrich Dreyer
799fb46927
add missing @deprecated annotation to legacy classes
10 years ago
Andrew Brown
8a223eb62d
Move legacy search to 'lib/private/legacy'
This fixes errors where apps would try to start providers using
OC_Search and would fail. Also, made OC_Search simply inherit from
\OC\Search.
10 years ago
Jörn Friedrich Dreyer
afd24385a8
fix formatting
11 years ago
Andrew Brown
a6583d3976
Add legacy adapters for file search
11 years ago
Andrew Brown
ac72828eae
Move to new namespace convention and add new result sub-classing
11 years ago
Bernhard Posselt
587a8df566
remove controller serializers
10 years ago
Bernhard Posselt
1d45239c65
adjust license headers to new mail address
10 years ago
Bernhard Posselt
80648da431
implement most of the basic stuff that was suggested in #8290
10 years ago
Thomas Müller
9c9dc276b7
move the private namespace OC into lib/private - OCP will stay in lib/public
Conflicts:
lib/private/vcategories.php
10 years ago
Thomas Müller
fde9cabe97
initial import of appframework
11 years ago
Bart Visscher
5bfe4adbaa
Whitespace cleanup
11 years ago
Thomas Tanghus
7f0c69eb0e
Added CRUDS permissions to the OCP namespace. Implements issue #345
11 years ago
Sam Tuke
8b01286a5d
Merged branch 'master'
11 years ago
Bart Visscher
0365f8fd01
Remove php close at end of file
12 years ago
Robin Appelman
7761765a4b
change licencing headers for sqlite3 driver
12 years ago
Robin Appelman
600219c8c0
sqlite3 driver for mdb2
the only problem that I found with it so far is that it gives a database locked error on login,
the rest seems to work fine but more testing is required.
13 years ago
Jakob Sack
132695ceb1
Start of the refactoring. Commit is quite big because I forgot to use git right from the beginning. Sorry.
13 years ago
Martin T. H. Sandsmark
64d4d57615
fix permissions, start to implement private data api
14 years ago
Robin
ede1c64edd
port OC_DB to MDB2
14 years ago