aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Migration
Commit message (Collapse)AuthorAgeFilesLines
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-213-25/+11
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(db): Apply query prepared statementsdbQueriesExecStmt2Git'Fellow2024-10-171-11/+5
| | | | | | | | | | | | | | | | Fix: psalm fix: bad file fix: bug chore: add batch chore: add batch chore: add batch fix: psalm
* chore(files_sharing): Add migration attribute for `share.reminder_sent` columnFerdinand Thiessen2024-09-061-0/+7
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files_sharing): reminder for link shares with expiration dateStefan Cherniakov2024-09-031-0/+36
| | | | Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-253-3/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-06-068-156/+16
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-234-4/+4
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Adds a "Request password" button to the public share authentication page for ↵Cyrille Bollu2022-04-111-0/+51
| | | | | | | | | | | | | | | | | | shares of type TYPE_EMAIL, when the "video verification" checkbox isn't checked. Users accessing non-anonymous public shares (TYPE_EMAIL shares) can now request a temporary password themselves. - Creates a migration step for the files_sharing app to add the 'password_expiration_time' attribute to the oc_shares table. - Makes share temporary passwords' expiration time configurable via a system value. - Adds a system config value to allow permanent share passwords -Fixes a typo in a comment in apps/files_sharing/src/components/SharingEntryLink.vue See https://github.com/nextcloud/server/issues/31005 Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
* Set oc_share_external.name column length to 4000 to remove arbitrary limitationCôme Chilliet2022-04-041-0/+56
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-046-14/+9
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Drop redundant indesRoeland Jago Douma2021-02-162-1/+55
| | | | | | | Those indexes are already covered by others. So those can just be used. THose extra indexes just take up space. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Migrate internal classes to the OCP db col typesChristoph Wurst2021-01-122-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Also add missing oc_share_external.share_type columnVincent Petry2020-12-232-0/+13
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Adjust share_external tableVincent Petry2020-12-232-0/+72
| | | | | | | Add column "parent" if missing. Drop column "lastscan" if exists. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Adjust defaultJulius Härtl2020-12-081-2/+44
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move columns to bigintJulius Härtl2020-12-081-3/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Migrate files_sharing to migrations and move remote_id to a string in ↵Julius Härtl2020-12-081-0/+90
| | | | | | share_external Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update share type constant usageJoas Schilling2020-06-242-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-103-4/+0
| | | | | | | | | | | | | | | 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>
* Update license headersChristoph Wurst2019-12-053-3/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix "Invalid parameter number: mixed named and positional parameters"Joas Schilling2019-11-121-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Accept existing shares on updateJoas Schilling2019-11-121-0/+79
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix array method usages with a proper callMorris Jobke2018-01-251-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix the share type of guest shares when migrating from ownCloudJoas Schilling2017-05-121-0/+82
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move the file sharing app to migrationJoas Schilling2017-05-121-0/+97
Signed-off-by: Joas Schilling <coding@schilljs.com>