summaryrefslogtreecommitdiffstats
path: root/core/Migrations
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused importsChristoph Wurst2020-03-252-2/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix mismatching docblock return typesChristoph Wurst2020-03-061-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headers for 18Christoph Wurst2019-12-201-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #18224 from nextcloud/bugfix/noid/direct-editing-pathRoeland Jago Douma2019-12-111-0/+66
|\ | | | | Use file path for direct editing
| * Use file path for direct editingJulius Härtl2019-12-051-0/+66
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Update license headersChristoph Wurst2019-12-0523-27/+84
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Code style fixes and cleanupJulius Härtl2019-11-271-36/+34
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Direct editing API to allow file editing using a one-time token forJulius Härtl2019-11-271-0/+95
| | | | | | mobile apps Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Some php-cs fixesRoeland Jago Douma2019-11-2219-20/+21
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* store filecache extension fieldsRobin Appelman2019-11-131-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Set default valueJoas Schilling2019-09-271-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a displayname to the database group backendJoas Schilling2019-09-271-0/+74
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add DB table to extend filecache with metadata etag, creation time and ↵Morris Jobke2019-07-151-0/+73
| | | | | | upload time Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove method stubsDaniel Kesselberg2019-05-022-27/+0
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add second migration for addColumnDaniel Kesselberg2019-05-022-7/+74
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Pass type object instance instead of identifierDaniel Kesselberg2019-05-021-1/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge dropColumn and addColumn into changeColumnDaniel Kesselberg2019-05-021-3/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Migration to change column type from smallint to booleanDaniel Kesselberg2019-05-021-0/+86
| | | | | | On pqsql true/false is no valid value for an integer column. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Make sure all tables have named indexesJoas Schilling2019-03-272-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Also cache the resource type because it is part of the identifierJoas Schilling2019-03-011-2/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add default value, because null does not trigger unique-keyJoas Schilling2019-03-011-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Start implementing access cacheJoas Schilling2019-03-011-1/+25
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make names mandatoryJoas Schilling2019-03-011-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Basic implementation of resource and collection handlingJoas Schilling2019-03-011-0/+76
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #14025 from nextcloud/fix/authtoken_idx_lengthMorris Jobke2019-02-251-1/+1
|\ | | | | Fix authtoken index length
| * Fix authtoken index lengthRoeland Jago Douma2019-02-051-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Login flow V2Roeland Jago Douma2019-02-251-0/+101
|/ | | | | | | | This adds the new login flow. The desktop client will open up a browser and poll a returned endpoint at regular intervals to check if the flow is done. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #13358 from nextcloud/bugfix/12927-bigint-mtime-storagetimeRoeland Jago Douma2019-01-041-4/+4
|\ | | | | Install new instances with bigint filecache
| * Install new instances with bigint filecacheDaniel Kesselberg2019-01-041-4/+4
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Add twofactor_providers_uid indexRoeland Jago Douma2018-12-211-0/+1
|/ | | | | | Fixes #12943 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* allow to add labels to sharesBjoern Schiessle2018-11-011-0/+53
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Add db column to store hide download stateRoeland Jago Douma2018-10-301-0/+54
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add column to DB to store expired passwordsRoeland Jago Douma2018-10-021-0/+53
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add uid_owner and uid_initiator share tabe indicesRoeland Jago Douma2018-10-011-0/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add "password_by_talk" column to "share" table in the databaseDaniel Calviño Sánchez2018-07-241-0/+48
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* explicitely mention that the note column can be nullBjoern Schiessle2018-07-211-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* allow 'note' to be nullBjoern Schiessle2018-07-211-4/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* allow to add a personal note to a shareBjoern Schiessle2018-07-211-0/+45
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Add filecache index on mtimeRobin Appelman2018-07-191-0/+1
| | | | | | Gives searching by mtime and "recent" a proper index to use Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix updating the db row due to lacking id colArthur Schiwon2018-06-291-1/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust backend and gui to update and changelog serverArthur Schiwon2018-06-291-0/+62
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Make new classes strict and fix license headerChristoph Wurst2018-06-251-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make 2FA providers statefulChristoph Wurst2018-06-201-0/+62
| | | | | | | | | | | 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>
* Add new authtoken v2 columns to the authtoken tableRoeland Jago Douma2018-06-181-0/+54
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add parent index to share tableRoeland Jago Douma2018-06-031-0/+1
| | | | | | Fixes #9327 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add human readable description to migration stepsRobin Appelman2018-05-302-0/+15
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Certain tokens can expireRoeland Jago Douma2018-05-171-0/+56
| | | | | | | | 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>
* Also make it the uid_lower migration work on oracleRoeland Jago Douma2018-04-101-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump autoloaderRoeland Jago Douma2018-04-061-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Silence phanRoeland Jago Douma2018-04-061-0/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>