John Molakvoæ (skjnldsv)
d89edb28c4
move migration
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years ago
John Molakvoæ (skjnldsv)
644686c0ec
Create cards if none
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years ago
John Molakvoæ (skjnldsv)
938c63e3a2
Repair Step
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years ago
John Molakvoæ (skjnldsv)
5a1d353372
Migration step
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years ago
Bjoern Schiessle
f377a61f90
allow to add labels to shares
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
5 years ago
Roeland Jago Douma
81f37401f9
Add db column to store hide download state
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
John Molakvoæ (skjnldsv)
161608b1f1
move migration
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years ago
John Molakvoæ (skjnldsv)
0a238983c6
fixup! Create cards if none
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years ago
John Molakvoæ (skjnldsv)
eb5a20bc80
Create cards if none
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years ago
John Molakvoæ (skjnldsv)
4dee1e06a3
Repair Step
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years ago
John Molakvoæ (skjnldsv)
f50f82b974
Migration step
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years ago
Roeland Jago Douma
efef053960
Add column to DB to store expired passwords
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma
b82cbe04df
Add uid_owner and uid_initiator share tabe indices
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Daniel Calviño Sánchez
49fd17ff14
Add "password_by_talk" column to "share" table in the database
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years ago
Bjoern Schiessle
7bdedfba48
explicitely mention that the note column can be null
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
6 years ago
Bjoern Schiessle
94c7052482
allow 'note' to be null
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
6 years ago
Bjoern Schiessle
a93f2a648b
allow to add a personal note to a share
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
6 years ago
Robin Appelman
91d3e48ab3
Add filecache index on mtime
Gives searching by mtime and "recent" a proper index to use
Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years ago
Arthur Schiwon
89c3010d14
fix updating the db row due to lacking id col
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years ago
Arthur Schiwon
25d9c3e529
adjust backend and gui to update and changelog server
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years ago
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
2f59f389d2
Add parent index to share table
Fixes #9327
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Robin Appelman
b40629ac8c
Add human readable description to migration steps
Signed-off-by: Robin Appelman <robin@icewind.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
Roeland Jago Douma
24cfee8cdd
Also make it the uid_lower migration work on oracle
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Roeland Jago Douma
31454c2072
Bump autoloader
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Roeland Jago Douma
f90299face
Silence phan
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Roeland Jago Douma
7a7d424e91
Add an uid_lower column to the oc_users table
Add a new column.
In the postSchemaChange copy over the values (with lower).
This should work just fine as this is a very simple operation.
Even if you have 1M users in the db backend this should be fast
enough.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Joas Schilling
d971b104ed
Do not cache the settings/sections in the database anymore
This caused more troubles then it had benefits, especially
when an app got disabled or was removed without being disabled.
Signed-off-by: Joas Schilling <coding@schilljs.com>
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
Bjoern Schiessle
de98581421
add index for share_with table for newly created tables
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
6 years ago
Morris Jobke
31c5c2a592
Change @georgehrke's email
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Joas Schilling
697d4c8847
Install new instances with bigint filecache
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
ab8ca3b5c2
Don't change the filecache schema on update
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
c65e591e88
Restore the sequencial order
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
ce3bcf7e28
Migrate all core id columns to bigint
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
d5c2b98207
Fix missing "unsigned" on integer columns
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
1c2f628d8e
Fix headers
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
601f795122
Make sure the accounts table exists
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
5e04254d40
Install from migrations
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
bbfc044ac5
Add migration for personal settings stuff
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago