Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-14Adjust settings for mail link passwordVincent Petry
Rename the settings and invert the meaning. Increase default interval to one hour. Changed the interval to be a number of seconds, to align with other setting styles. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-11Adds a "Request password" button to the public share authentication page for ↵Cyrille Bollu
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>
2022-01-12Fix types warnings from psalmCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-11Add check before sending email that email address is validCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-03Allow to pass note when creating a share and send it with directly in the ↵Julius Härtl
share mail when set Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-21Adjust testtobiasKaminsky
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-07-08Introduce ISecureRandom::CHAR_ALPHANUMERICJ0WI
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-06-30Migrate HintException to OCPGary Kim
Signed-off-by: Gary Kim <gary@garykim.dev>
2021-06-04Update php licensesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22Fix testsJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22Add labels to mail sharesJohn Molakvoæ (skjnldsv)
Now the email is shown on a second line if a label is set. Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-04Sharebymail: set expiration on creationRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-28ReplyTo option for sharebymail Issue #24139Nicolas SIMIDE
Signed-off-by: Nicolas SIMIDE <2083596+dems54@users.noreply.github.com>
2020-11-09Don't leave cursors open when tests failJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-05Format code to a single space around binary operatorsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-24Update the license headers for Nextcloud 20Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-12Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke
\PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-11Generate password by password_policy appDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-06Fix sharebymail testsRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-24Update share type constant usageJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-28Fix creating a mail share with a passwordDaniel Calviño Sánchez
When a mail share was created with a password the given password was not hashed, so it was not possible to open the share with that password. Moreover, if passwords were enforced the given password was ignored and a new one was set (although in this case it was hashed so it worked as expected). Now the given password is properly hashed and not overriden. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-28Extend mail shares unit tests to check the password and mail templateDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-04-29Update license headers for 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Format control structures, classes, methods and functionChristoph Wurst
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>
2020-04-09Remove trailing and in between spacesChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09Unify function spacing to PSR2 recommendationChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09Use exactly one empty line after the namespace declarationChristoph Wurst
For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09Fix (array) indent style to always use one tabChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31Update the license headers for Nextcloud 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26Use the shorter phpunit syntax for mocked return valuesChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-13Properly respect hide download on sharebymailRoeland Jago Douma
fixes #19484 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-05Update license headersChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-11-27Mode to modern phpunitRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27Fix more testsRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27Make phpunit8 compatibleRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-22Some php-cs fixesRoeland Jago Douma
* 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>
2018-12-04Unshare from mail activity is missingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-10-30OCA\ShareByMail\Capabilities unit testMasterOfDeath
OCA\ShareByMail\Capabilities unit test Signed-off-by: Rinat Gumirov <rinat.gumirov@mail.ru>
2018-07-24Honour "sendPasswordByTalk" property in mail sharesDaniel Calviño Sánchez
When a password was set for a mail share an e-mail was sent to the recipient with the password. Now the e-mail is no longer sent if the password is meant to be sent by Talk. However, before the e-mail was not sent when the share was updated but the password was not changed. Now an e-mail is sent in that case too if switching from a password sent by Talk to a password sent by mail. On the other hand, when switching from a password sent by mail to a password sent by Talk it is mandatory to change the password; otherwise the recipient would already have access to the share without having to call the sharer to verify her identity. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-24Store "sendPasswordByTalk" property of mail shares in the databaseDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-21fix unit testsBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2017-10-26Use ::class in test mocks of dav appMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-10-24Use ::class in test mocksMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-10-18Set the data from the templateJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-25expect call of getSlogan() exactly twiceStephan Müller
Signed-off-by: Stephan Müller <mail@stephanmueller.eu> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-08-26Allow the expiration date to be set to nullMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-05-08don't mention the owner of a file in case of a re-share by mail. The ↵Bjoern Schiessle
recipient doesn't care about the owner and probably don't even know it Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2017-04-20fix unit testsBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2017-04-20respect password policy for auto generated passwordsBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2017-04-20allow admin to enforce password on mail sharesBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>