aboutsummaryrefslogtreecommitdiffstats
path: root/apps/sharebymail/lib
Commit message (Collapse)AuthorAgeFilesLines
* refactor: move to new activity exceptionrefactor/move-to-new-activity-exceptionAnna Larch2024-09-171-2/+3
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(files_sharing): Add missing check for null & use bool instead of int for ↵Stefan Cherniakov2024-09-031-1/+1
| | | | | | reminder_sent field Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
* fix(files_sharing): Make share reminders more stable & fix issuesStefan Cherniakov2024-09-031-1/+3
| | | | Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-252-8/+8
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* feat: Use new password context in sharing APIFerdinand Thiessen2024-08-221-1/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(sharebymail): improve share email formatskjnldsv2024-08-061-16/+37
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): phpunit & openapi fixesskjnldsv2024-07-121-14/+33
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: psalm, cs, autoloader and lintskjnldsv2024-07-121-10/+13
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(files_sharing): refactor share password mailskjnldsv2024-07-121-44/+66
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): allow mixed values in share attributes and allow ↵skjnldsv2024-07-121-14/+48
| | | | | | storing email arrays Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(files_sharing): refactor mail handlingskjnldsv2024-07-121-13/+32
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): implement IShareProviderWithNotification and refactor ↵skjnldsv2024-07-121-15/+22
| | | | | | sendMailNotification Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): add `new file request` optionskjnldsv2024-07-121-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-06-026-143/+12
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* refactor: remove non-shallow getSharesInFolderRobin Appelman2024-05-011-6/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* ShareByMailProvider: getAccessList: set correct value for 'public'Adam Serbinski2024-03-211-1/+2
| | | | | | | | PDOStatement::rowCount behavior is undefined for SELECT statements for some database types, therefore manually set the value for 'public' based on actual results fetched. Signed-off-by: Adam Serbinski <adam@serbinski.com>
* ShareByMailProvider: getAccessList: set both array keys 'public' and 'mail'Adam Serbinski2024-03-211-1/+2
| | | | | | | | To preserve prior behaviour where 'public' was set 'true' if there are any mail recipients. The 'mail' key will be an array of email recipients. Signed-off-by: Adam Serbinski <adam@serbinski.com>
* ShareByMailProvider: getAccessList: recommended style changesAdam Serbinski2024-03-211-1/+1
| | | | Signed-off-by: Adam Serbinski <adam@serbinski.com>
* ShareByMailProvider: getAccessList: add token to returned arrayAdam Serbinski2024-03-211-2/+3
| | | | | | This allows the share URI to be regenerated. Signed-off-by: Adam Serbinski <adam@serbinski.com>
* ShareByMailProvider: getAccessList: return full list of recipientsAdam Serbinski2024-03-211-4/+12
| | | | | | | | Previously was returning only boolean true if the Node was shared by email, or false if not. Now provides an array containing the list of email share recipients. Signed-off-by: Adam Serbinski <adam@serbinski.com>
* fix: also filter by storage when getting shares in folderRobin Appelman2024-03-061-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: phpunitJohn Molakvoæ2024-02-131-2/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat: rename users to account or personVincent Petry2024-02-131-2/+2
| | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-2/+2
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat(files): add sharing icon in headerJohn Molakvoæ2023-09-021-2/+11
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* sharebymail: remove ILogger and upgrade to PHP 8 syntaxBenjamin Gaussorgues2023-08-301-175/+59
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* sharebymail: Add OpenAPI specjld31032023-07-101-0/+21
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Get rid of all useless calls to setParsedSubject now that setRichSubject is ↵Côme Chilliet2022-11-291-69/+24
| | | | | | able to do it Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Make sure to not pass null to DateTime::createFromFormatCôme Chilliet2022-11-141-3/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use user name cache in activity providersJoas Schilling2022-08-191-21/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add argument to getSharesInFolder enable deep share lookupLouis Chemineau2022-07-261-4/+8
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix email shares not being shown to other usersRichard Steinmetz2022-06-171-1/+1
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Various improvements related to the recent implementation of temporary passwordsCyrille Bollu2022-06-081-1/+17
| | | | | | | | | | | | | | | for mail shares: 1- Changes style of "forgot password?" and "Back" button 2- Adds information about share password's expiration time in the emails sent. 3- Shows password expiration time in the Share menu 4- Fixes an issue when the message "Password expires..." would be shown for non email share types (which don't have temporary passswords) 5- At share's creation, password should only be sent when it's a permanent one See also https://github.com/nextcloud/server/issues/31952 Signed-off-by: Cyrille Bollu <cyrpub@bollu.be> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Port share by mail settings to vueCarl Schwan2022-05-191-12/+9
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Adjust settings for mail link passwordVincent Petry2022-04-141-1/+1
| | | | | | | | | 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>
* Default to permanent link passwordsVincent Petry2022-04-131-1/+1
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Adds a "Request password" button to the public share authentication page for ↵Cyrille Bollu2022-04-111-20/+37
| | | | | | | | | | | | | | | | | | 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>
* Fix types warnings from psalmCarl Schwan2022-01-121-7/+7
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add check before sending email that email address is validCarl Schwan2022-01-111-0/+10
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Limit more contact searchesJoas Schilling2021-12-081-1/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to pass note when creating a share and send it with directly in the ↵Julius Härtl2021-12-031-5/+14
| | | | | | share mail when set Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Expose send_password_by_mail via capabilitiestobiasKaminsky2021-10-201-1/+8
| | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
* Add support for Delegation Settings for more appsCarl Schwan2021-10-151-3/+18
| | | | | | | | | * This adds support for the sharing, groupware, theming and user_ldap app * This adds some code who disapeared during a rebase in the initial delegation PR (provisioning_api) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Introduce ISecureRandom::CHAR_ALPHANUMERICJ0WI2021-07-081-1/+1
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Migrate HintException to OCPGary Kim2021-06-301-1/+1
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-046-12/+15
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* l10n: Unify spellingValdnet2021-05-201-2/+2
| | | | | | Spelling unification in Nextcloud applications. Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Fix usage of rename executeUpdateChristoph Wurst2021-05-051-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove some deprecated calls from ShareByMailProvider.phprobottod2021-04-261-14/+14
| | | | | | This moves the execute calls to the executeQuery and executeUpdate calls Resulting in less calls to deprecated functions Signed-off-by: rtod <robottod@protonmail.com>