summaryrefslogtreecommitdiffstats
path: root/core/Migrations
Commit message (Collapse)AuthorAgeFilesLines
* Format control structures, classes, methods and functionChristoph Wurst2020-04-1013-15/+2
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use a blank line after the opening tagChristoph Wurst2020-04-091-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #19761 from ↵Roeland Jago Douma2020-04-061-3/+6
|\ | | | | | | | | nextcloud/bugfix/19658/add_missing_index_to_original_migration Add missing index to original migration
| * Create Mount IDs as BigInt by defaultGeorg Ehrke2020-03-031-3/+6
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Merge pull request #19890 from nextcloud/enh/comments-reference-idJoas Schilling2020-04-021-0/+4
|\ \ | | | | | | Add optional comments reference_id
| * | Add optional column oc_comments.reference_idJoas Schilling2020-03-311-0/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #20241 from nextcloud/fix/license-headers-19Roeland Jago Douma2020-04-011-0/+1
|\ \ \ | | | | | | | | Update the license headers for Nextcloud 19
| * | | Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| |/ / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / / Start with webauthnRoeland Jago Douma2020-03-311-0/+45
|/ / | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | 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>