Commit graph

804 commits

Author SHA1 Message Date
Cyrille Bollu
50badb3fb6 Various improvements related to the recent implementation of temporary passwords
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>
2022-06-08 11:29:19 +00:00
Nextcloud bot
cc65bfe624
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-02 02:32:52 +00:00
Nextcloud bot
72bb8f6c31
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-30 02:31:52 +00:00
Nextcloud bot
5a12e8f906
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-29 02:33:23 +00:00
Carl Schwan
6d883a8572 Fix various errors reported by eslint
And also make sure eslint doesn't try to index apps-extra that contains
other repo with not necessarely the same eslint rules

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-24 10:12:18 +02:00
Nextcloud bot
17bdfb1284
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-24 02:32:52 +00:00
Nextcloud bot
74d81655e8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-23 02:31:03 +00:00
Nextcloud bot
f0e75d9c64
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-22 02:30:54 +00:00
Nextcloud bot
cb7c45b2d4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-21 02:33:50 +00:00
Carl Schwan
da49e3f3e0 Port share by mail settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-19 15:45:44 +02:00
Nextcloud bot
9c42717216
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-06 02:28:40 +00:00
Nextcloud bot
3197ae83a4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-02 13:12:35 +00:00
Nextcloud bot
20d7bf8a88
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-24 02:28:28 +00:00
Nextcloud bot
12ed5c9ff3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-21 02:28:12 +00:00
Nextcloud bot
13dbad0080
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-19 02:27:59 +00:00
Nextcloud bot
42fa300122
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-16 02:26:52 +00:00
Joas Schilling
bd6182b791
Master is now 25
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-14 22:12:53 +02:00
Vincent Petry
396db12e8e
Merge pull request #31975 from nextcloud/bugfix/31952/fix-mail-link-share-password-expiration-settings
Adjust settings for mail link password
2022-04-14 17:51:13 +02:00
Vincent Petry
82f1344d33
Adjust settings for mail link password
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-14 14:13:47 +02:00
Vincent Petry
3ca797129c
Merge pull request #31839 from nextcloud/feat/metadata-server
Add a metadata service to store file metadata
2022-04-14 13:39:31 +02:00
Carl Schwan
1c7ecfc544 Fix an issue with the search backend update
And update autoloader

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-14 12:11:02 +02:00
Vincent Petry
2c2b238008
Default to permanent link passwords
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-13 16:11:15 +02:00
Cyrille Bollu
c6a5c07041 Adds a "Request password" button to the public share authentication page for 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-04-11 21:58:24 +02:00
Nextcloud bot
d2289519a3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-06 02:27:52 +00:00
Nextcloud bot
34c9b572eb
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-05 02:28:03 +00:00
Côme Chilliet
d84e87eab9
Build autoloader with new composer version
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-30 15:40:23 +02:00
Nextcloud bot
ba1b20ad8b
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-26 02:27:51 +00:00
Nextcloud bot
d9c0799377
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-17 02:29:34 +00:00
Carl Schwan
5ce985f9be Update composer generated files to latest version
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-14 11:30:41 +01:00
Nextcloud bot
67f192e906
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-22 02:29:25 +00:00
Nextcloud bot
5ee0fb3acb
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-17 02:27:48 +00:00
Nextcloud bot
936f9dc596
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-26 02:27:35 +00:00
Nextcloud bot
562c573005
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-25 02:27:30 +00:00
Nextcloud bot
6e47104bb6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-24 02:26:40 +00:00
Nextcloud bot
d2790f75c8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-21 02:26:59 +00:00
Nextcloud bot
deca6117ba
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-19 02:27:39 +00:00
Nextcloud bot
6d95afe6f1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-15 02:27:10 +00:00
Carl Schwan
b1048864f0
Merge pull request #30600 from nextcloud/fix/30595/idn-email-share
Fix idn emails not working in shares
2022-01-13 09:24:26 +01:00
Carl Schwan
fffc19f5c3
Fix types warnings from psalm
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-12 20:33:46 +01:00
Carl Schwan
7ecb65f725
Add check before sending email that email address is valid
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-11 20:59:44 +01:00
Louis Chemineau
14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +01:00
rakekniven
a47d23c1e4 Removed obselete language files
Those files are remnants of old languages after renaming, mapping or deleting.

Fix for #30501

Related to https://github.com/nextcloud/docker-ci/issues/341
2022-01-09 22:01:52 +01:00
Joas Schilling
d49ad7ea47
Limit more contact searches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-08 18:58:54 +01:00
Nextcloud bot
0e665e0646
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-08 02:28:44 +00:00
Julius Härtl
5116bf146f
Allow to pass note when creating a share and send it with directly in the share mail when set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-03 10:17:02 +01:00
Nextcloud bot
9d6496a999
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-24 02:25:52 +00:00
Nextcloud bot
129de6079e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-23 02:25:56 +00:00
Nextcloud bot
7071d056a2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-13 02:25:42 +00:00
Joas Schilling
8e12ac290f
Master is now 24
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-11 10:11:09 +01:00
Carl Schwan
dacf2e47a3
Update to composer 2.1.11
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-11-04 12:30:11 +01:00
tobiasKaminsky
5217cb3df4
Adjust test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-21 06:52:31 +02:00
tobiasKaminsky
05c08b7ca2
Expose send_password_by_mail via capabilities
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-20 06:18:03 +02:00
Nextcloud bot
981d839806
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-20 02:23:10 +00:00
Nextcloud bot
7cebde242c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-19 02:22:47 +00:00
Nextcloud bot
509b8288a8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-16 02:23:22 +00:00
Carl Schwan
a67a12cb96
Merge pull request #29240 from nextcloud/work/admin-delegation-implementation
Add support for Delegation Settings for more apps
2021-10-15 20:59:43 +02:00
Carl Schwan
719dbafd13
Add support for Delegation Settings for more apps
* 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>
2021-10-15 18:41:00 +02:00
Joas Schilling
3adc997833
Bump autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-14 09:58:49 +02:00
Vincent Petry
5a6a0b0d3b
Update app versions for 23
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-09-28 12:21:40 +02:00
Christoph Wurst
a2bc7e2eec Update generated composer files to latest format
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-09-22 11:37:04 +02:00
Nextcloud bot
a31dd0a305
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-20 02:25:42 +00:00
Christoph Wurst
6a50c4a344
Add missing files for Composer v2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-13 15:01:02 +02:00
Nextcloud bot
9603069cc7
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-12 02:27:20 +00:00
Nextcloud bot
283f394c60
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-11 02:26:43 +00:00
Nextcloud bot
a716c35888
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-10 02:31:43 +00:00
Nextcloud bot
276b8f2315
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-02 07:35:19 +00:00
Joas Schilling
f86f594a3a
Merge pull request #27860 from J0WI/alphanumeric-rnd
Introduce ISecureRandom::CHAR_ALPHANUMERIC
2021-07-16 12:46:20 +02:00
Nextcloud bot
7f572c0645
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-15 10:37:23 +00:00
J0WI
3b656446af Introduce ISecureRandom::CHAR_ALPHANUMERIC
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-07-08 15:11:31 +02:00
Nextcloud bot
17e58f5056
[tx-robot] updated from transifex 2021-07-06 02:26:02 +00:00
Gary Kim
b78f3a57d1
Migrate HintException to OCP
Signed-off-by: Gary Kim <gary@garykim.dev>
2021-06-30 15:28:02 -04:00
Nextcloud bot
ac97873a17
[tx-robot] updated from transifex 2021-06-28 02:25:09 +00:00
John Molakvoæ
00edbc2adf
Merge pull request #27664 from nextcloud/techdebt/noid/master-is-now-23-part2
Bump app version
2021-06-25 13:17:48 +02:00
Nextcloud bot
95447d0152
[tx-robot] updated from transifex 2021-06-25 02:25:29 +00:00
Joas Schilling
655108a3dc
Bump app version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-24 16:08:39 +02:00
Joas Schilling
8b0448d407
Master is now 23
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-24 12:56:06 +02:00
Nextcloud bot
25b4f11fd5
[tx-robot] updated from transifex 2021-06-22 02:26:59 +00:00
Louis Chemineau
f0876a9e9d Update Autoloader
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-21 15:54:51 +02:00
Nextcloud bot
160d0c5161
[tx-robot] updated from transifex 2021-06-21 02:26:40 +00:00
Nextcloud bot
37a216467c
[tx-robot] updated from transifex 2021-06-05 02:28:36 +00:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +02:00
Nextcloud bot
46dbc8fa98
[tx-robot] updated from transifex 2021-06-04 02:28:13 +00:00
Nextcloud bot
719430559f
[tx-robot] updated from transifex 2021-05-30 02:24:58 +00:00
Nextcloud bot
7668d3afcd
[tx-robot] updated from transifex 2021-05-28 02:27:21 +00:00
Nextcloud bot
accfe5b82d
[tx-robot] updated from transifex 2021-05-26 02:28:28 +00:00
Nextcloud bot
3fa2437223
[tx-robot] updated from transifex 2021-05-25 02:27:20 +00:00
Nextcloud bot
8d80ee547b
[tx-robot] updated from transifex 2021-05-23 02:25:47 +00:00
Nextcloud bot
41f0cf4fca
[tx-robot] updated from transifex 2021-05-22 02:27:14 +00:00
Nextcloud bot
a6cb2973a9
[tx-robot] updated from transifex 2021-05-21 02:27:50 +00:00
Valdnet
998bcad80c
l10n: Unify spelling
Spelling unification in Nextcloud applications.

Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-05-20 09:22:58 +02:00
Nextcloud bot
0df326ab20
[tx-robot] updated from transifex 2021-05-12 02:26:16 +00:00
Christoph Wurst
99f2fa73d1
Fix usage of rename executeUpdate
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-05 10:35:25 +02:00
Nextcloud bot
e0f700b1bd
[tx-robot] updated from transifex 2021-04-29 02:26:26 +00:00
robottod
0451927994
Remove some deprecated calls from ShareByMailProvider.php
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>
2021-04-26 21:53:56 +02:00
Nextcloud bot
da17db0fdc
[tx-robot] updated from transifex 2021-04-25 02:24:52 +00:00
Nextcloud bot
539c065e8e
[tx-robot] updated from transifex 2021-04-23 02:26:10 +00:00
Nextcloud bot
8c82dd37b4
[tx-robot] updated from transifex 2021-04-19 02:26:04 +00:00
Nextcloud bot
07278ed57d
[tx-robot] updated from transifex 2021-04-16 02:25:50 +00:00
Nextcloud bot
8ef920fdf9
[tx-robot] updated from transifex 2021-04-15 02:25:10 +00:00
Nextcloud bot
bbee01117e
[tx-robot] updated from transifex 2021-04-10 02:31:13 +00:00
Nextcloud bot
9de329a4c2
[tx-robot] updated from transifex 2021-04-09 02:25:11 +00:00
Nextcloud bot
e9075b02cd
[tx-robot] updated from transifex 2021-04-06 02:25:33 +00:00
Nextcloud bot
4bea123c7a
[tx-robot] updated from transifex 2021-04-02 02:26:04 +00:00
Nextcloud bot
855b5fc638
[tx-robot] updated from transifex 2021-03-31 02:24:50 +00:00
Nextcloud bot
a9ff9670fa
[tx-robot] updated from transifex 2021-03-30 02:24:18 +00:00
Nextcloud bot
4564121c56
[tx-robot] updated from transifex 2021-03-29 02:23:55 +00:00
Nextcloud bot
630eddf41b
[tx-robot] updated from transifex 2021-03-26 02:25:32 +00:00
Nextcloud bot
9af8c0b380
[tx-robot] updated from transifex 2021-03-25 02:25:39 +00:00
Nextcloud bot
bb8a71266e
[tx-robot] updated from transifex 2021-03-24 02:25:07 +00:00
Nextcloud bot
a81408a8e1
[tx-robot] updated from transifex 2021-03-23 02:24:02 +00:00
John Molakvoæ
6b4cfc5805
Merge pull request #26231 from nextcloud/Valdnet-patch-6
l10n: Add words user and because in ShareByMailProvider.php
2021-03-22 09:42:01 +01:00
Valdnet
1dab60a79d
l10n: Add changes to text string for user 2021-03-22 09:01:45 +01:00
Daniel Calviño Sánchez
f99876997a
Remove duplicated query for email shares
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-22 06:50:47 +01:00
John Molakvoæ (skjnldsv)
0f3f6a6c54
Fix tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:50:47 +01:00
John Molakvoæ (skjnldsv)
a100186e5e
Sharing link & mail parity
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:50:45 +01:00
John Molakvoæ (skjnldsv)
100d5d9a47
Add labels to mail shares
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-22 06:34:09 +01:00
Nextcloud bot
8c7e246d98
[tx-robot] updated from transifex 2021-03-21 02:23:12 +00:00
Valdnet
4b4b1f6ff1
l10n: Add word user in ShareByMailProvider.php
Standardizing text strings with other Nextcloud applications.
2021-03-20 15:37:32 +01:00
Nextcloud bot
310e6550b1
[tx-robot] updated from transifex 2021-03-10 02:22:57 +00:00
Roeland Jago Douma
69b26c73f3 Fix some redundant casts
Happier psalm

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-08 08:51:08 +01:00
Nextcloud bot
c28542ef7f
[tx-robot] updated from transifex 2021-03-07 02:22:07 +00:00
Nextcloud bot
41f9fdab1c
[tx-robot] updated from transifex 2021-03-06 02:22:22 +00:00
Roeland Jago Douma
d247a5fb47 Sharebymail: set expiration on creation
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04 13:49:21 +01:00
Roeland Jago Douma
19e2136963 Update autoloader files
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 16:36:21 +01:00
Nextcloud bot
9a90bfba32
[tx-robot] updated from transifex 2021-03-01 02:20:19 +00:00
Nextcloud bot
24d5afb1b1
[tx-robot] updated from transifex 2021-02-28 02:19:54 +00:00
noiob
f28ee36e20 Remove double space so php-cs stops complaining
Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
2021-02-24 11:33:19 +01:00
Nextcloud bot
b89fbaf52d
[tx-robot] updated from transifex 2021-02-24 02:22:06 +00:00
Nextcloud bot
ff54a0481b
[tx-robot] updated from transifex 2021-02-23 02:39:25 +00:00
Nextcloud bot
3ff92423e2
[tx-robot] updated from transifex 2021-02-21 02:39:59 +00:00
John Molakvoæ
946430862e
Merge pull request #24978 from dems54/issue24139 2021-02-19 08:20:58 +01:00
Nextcloud bot
65cd62e875
[tx-robot] updated from transifex 2021-02-14 02:20:02 +00:00
Nextcloud bot
8bb6bb53ad
[tx-robot] updated from transifex 2021-02-06 02:20:50 +00:00
Joas Schilling
9de00f3d24
This is 22
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-03 08:38:41 +01:00
Nextcloud bot
86678ba5df
[tx-robot] updated from transifex 2021-02-01 02:19:36 +00:00
Nicolas SIMIDE
69bf0c8a9e ReplyTo option for sharebymail - Issue #24139 - Little bug fix
Signed-off-by: Nicolas SIMIDE <2083596+dems54@users.noreply.github.com>
2021-01-28 15:57:29 +01:00
dems54
1427a9a361 Update apps/sharebymail/lib/Settings/SettingsManager.php
Small nitpicks

Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Nicolas SIMIDE <2083596+dems54@users.noreply.github.com>
2021-01-28 15:57:29 +01:00
dems54
0a8d9341dd Update apps/sharebymail/lib/Settings/SettingsManager.php
Small nitpicks

Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Nicolas SIMIDE <2083596+dems54@users.noreply.github.com>
2021-01-28 15:57:29 +01:00
Nicolas SIMIDE
4ac636d252 ReplyTo option for sharebymail Issue #24139
Signed-off-by: Nicolas SIMIDE <2083596+dems54@users.noreply.github.com>
2021-01-28 15:57:29 +01:00
Christoph Wurst
299f37c5d9
Update all composer autoloader files
The format changed between 2.0.8 and 2.0.9.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-28 14:24:34 +01:00
Nextcloud bot
91864aeb40
[tx-robot] updated from transifex 2021-01-19 02:20:43 +00:00
Nextcloud bot
c8cbb73c05
[tx-robot] updated from transifex 2021-01-12 02:19:49 +00:00
Morris Jobke
24d436cb60
Remove unneeded casts that were found by Psalm
In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521)

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-01-11 13:14:41 +01:00
Nextcloud bot
364b29b1e9
[tx-robot] updated from transifex 2021-01-05 02:21:26 +00:00
Nextcloud bot
d57153940b
[tx-robot] updated from transifex 2020-12-31 02:27:04 +00:00
Nextcloud bot
f9941347e2
[tx-robot] updated from transifex 2020-12-30 02:19:06 +00:00
Nextcloud bot
083f3d2373
[tx-robot] updated from transifex 2020-12-29 02:19:50 +00:00
Nextcloud bot
dc426f1e21
[tx-robot] updated from transifex 2020-12-20 02:19:27 +00:00
Nextcloud bot
de7c54c6ba
[tx-robot] updated from transifex 2020-12-18 02:20:09 +00:00
Robin Appelman
7956cef622
rebuild autoloader scripts with 2.0.7
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-26 15:49:03 +01:00
Nextcloud bot
81bf307845
[tx-robot] updated from transifex 2020-11-25 02:18:53 +00:00
Nextcloud bot
2d7d82f525
[tx-robot] updated from transifex 2020-11-12 02:19:24 +00:00
Joas Schilling
8027dcbc6f
Don't leave cursors open when tests fail
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-09 12:28:17 +01:00
Nextcloud bot
a6719390e2
[tx-robot] updated from transifex 2020-11-03 02:19:16 +00:00
Nextcloud bot
11fca45e4c
[tx-robot] updated from transifex 2020-10-30 02:19:09 +00:00
Nextcloud bot
25b4b90fdd
[tx-robot] updated from transifex 2020-10-18 02:17:43 +00:00
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05 20:25:24 +02:00
Roeland Jago Douma
fe30bfd232
Update autloader
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-24 14:59:41 +02:00
Joas Schilling
48761481eb
Bump versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-18 09:16:45 +02:00
Nextcloud bot
b287760694
[tx-robot] updated from transifex 2020-08-25 02:17:40 +00:00
Christoph Wurst
2a054e6c04
Update the license headers for Nextcloud 20
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-24 14:54:25 +02:00
Morris Jobke
234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-12 13:55:19 +02:00
Daniel Kesselberg
4dd507675c
Generate password by password_policy app
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-11 21:58:51 +02:00
Nextcloud bot
1f42a8b5cb
[tx-robot] updated from transifex 2020-07-29 02:16:52 +00:00
Roeland Jago Douma
9c9c6961c2
Fix sharebymail tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-06 21:08:56 +02:00
Roeland Jago Douma
0bcc643d6e
Cleanup share by mail a bit
* Moved to ned IBootstrap
* Register everything via the capabilities api (So clients can use it as
  well)
  - This applies to the enforcing passwords
* Updated the sharing js code to use it
* removed app.php
* removed unused settings now
* typehints
* strict typing

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-06 09:45:08 +02:00
Nextcloud bot
c52e6c8a47
[tx-robot] updated from transifex 2020-07-04 02:16:15 +00:00
Nextcloud bot
0825530a1b
[tx-robot] updated from transifex 2020-07-03 02:17:12 +00:00
Joas Schilling
89ed2c37bf
Update share type constant usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-24 16:49:16 +02:00
Nextcloud bot
ce9d3b36df
[tx-robot] updated from transifex 2020-06-20 02:16:35 +00:00
Nextcloud bot
a5232d9805
[tx-robot] updated from transifex 2020-06-05 02:16:34 +00:00
Daniel Calviño Sánchez
e59e283cc2 Fix creating a mail share with a password
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-28 21:51:22 +02:00
Daniel Calviño Sánchez
a2b0a7c30e Extend mail shares unit tests to check the password and mail template
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-28 21:50:08 +02:00
Nextcloud bot
be7a198762
[tx-robot] updated from transifex 2020-05-24 02:15:55 +00:00
Nextcloud bot
23080fcd9c
[tx-robot] updated from transifex 2020-05-23 02:16:22 +00:00
Nextcloud bot
3b519f776a
[tx-robot] updated from transifex 2020-05-22 02:17:20 +00:00
Nextcloud bot
75d50a55b8
[tx-robot] updated from transifex 2020-05-14 02:16:36 +00:00
Joas Schilling
af1dd9f152
Bump app versions and requirements
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-07 10:29:04 +02:00
Nextcloud bot
523a8ba5c3
[tx-robot] updated from transifex 2020-04-30 02:17:11 +00:00
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-29 11:57:22 +02:00
Nextcloud bot
e56ffe5992
[tx-robot] updated from transifex 2020-04-27 02:16:13 +00:00
Nextcloud bot
6187cea304
[tx-robot] updated from transifex 2020-04-13 02:19:45 +00:00
John Molakvoæ
b5a30d5cd6
Merge pull request #20426 from nextcloud/techdebt/psr2
It is done
2020-04-11 08:21:35 +02:00
Nextcloud bot
de52e1cda7
[tx-robot] updated from transifex 2020-04-11 02:18:37 +00:00
Christoph Wurst
28f8eb5dba
Add visibility to all constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 16:54:27 +02:00
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
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-10 14:19:56 +02:00
Christoph Wurst
14c996d982
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 10:35:09 +02:00
Christoph Wurst
44577e4345
Remove trailing and in between spaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:07:47 +02:00
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 13:54:22 +02:00
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
For PSR2

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 11:48:10 +02:00
Christoph Wurst
2fbad1ed72
Fix (array) indent style to always use one tab
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 10:16:08 +02:00
Christoph Wurst
1a9330cd69
Update the license headers for Nextcloud 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31 14:52:54 +02:00
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26 16:34:56 +01:00
Christoph Wurst
2ee65f177e
Use the shorter phpunit syntax for mocked return values
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 22:21:27 +01:00
Christoph Wurst
150f39ed50
Update autoloaders for composer v1.10.1
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-19 09:48:49 +01:00
Nextcloud bot
82d4bdd770
[tx-robot] updated from transifex 2020-03-17 02:18:42 +00:00
Robin Appelman
606f685457
properly set 'hide_download' as integer
the database field is a smallint, not a boolean.

fixes postgresql tests

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-13 17:38:56 +01:00
Roeland Jago Douma
84a148aac1
Properly respect hide download on sharebymail
fixes #19484

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-13 09:20:32 +01:00
Nextcloud bot
99aa7adaef
[tx-robot] updated from transifex 2020-03-12 02:19:02 +00:00
Nextcloud bot
dccecf822d
[tx-robot] updated from transifex 2020-02-28 02:18:36 +00:00
Nextcloud bot
6a82bb1f00
[tx-robot] updated from transifex 2020-02-08 02:18:22 +00:00
Nextcloud bot
1afe8906bc
[tx-robot] updated from transifex 2020-02-07 02:20:10 +00:00
Nextcloud bot
7b5072ab61
[tx-robot] updated from transifex 2020-02-01 02:17:22 +00:00
Nextcloud bot
69d2893a75
[tx-robot] updated from transifex 2020-01-31 02:17:52 +00:00
Nextcloud bot
0585c76d16
[tx-robot] updated from transifex 2020-01-29 02:18:13 +00:00
Nextcloud bot
78d400cec2
[tx-robot] updated from transifex 2020-01-27 02:17:55 +00:00
Nextcloud bot
41fd12e998
[tx-robot] updated from transifex 2020-01-25 02:16:52 +00:00
Roeland Jago Douma
8728eab9d7
Fix app updates
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-21 14:00:58 +01:00
Nextcloud bot
5de3ea0417
[tx-robot] updated from transifex 2020-01-16 02:18:01 +00:00
Nextcloud bot
4359394f44
[tx-robot] updated from transifex 2020-01-15 02:18:22 +00:00
Christoph Wurst
6127c288e8 Fix license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-13 14:23:49 +01:00
exner104
5c517baf98
additional fix to #18730 #18733
regarding to advice from @kesselb
2020-01-08 10:40:52 +01:00
exner104
44eba5cdc6
Wrong email sender fix #18730
Wrong email sender in app sharebymail when sending password to owner fix #18730
2020-01-08 09:47:55 +01:00
Nextcloud bot
32f79c9f0c
[tx-robot] updated from transifex 2020-01-06 02:27:21 +00:00
Nextcloud bot
c81e05db98
[tx-robot] updated from transifex 2019-12-22 02:28:34 +00:00
Nextcloud bot
d1cf6aa71a
[tx-robot] updated from transifex 2019-12-21 02:26:35 +00:00
Nextcloud bot
37fcf92bac
[tx-robot] updated from transifex 2019-12-09 02:16:28 +00:00
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05 15:38:45 +01:00
Nextcloud bot
109755e2d3
[tx-robot] updated from transifex 2019-12-02 02:16:54 +00:00
Roeland Jago Douma
669302e570
Merge pull request #18064 from nextcloud/feature/php74
Add php7.4 support
2019-11-28 08:36:10 +01:00
Nextcloud bot
563f9153a2
[tx-robot] updated from transifex 2019-11-28 02:16:54 +00:00
Roeland Jago Douma
3a7cf40aaa
Mode to modern phpunit
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27 15:27:18 +01:00
Roeland Jago Douma
8d4346d656
Fix more tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27 13:34:42 +01:00
Roeland Jago Douma
c007ca624f
Make phpunit8 compatible
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27 13:34:41 +01:00
Roeland Jago Douma
68748d4f85
Some php-cs fixes
* 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>
2019-11-22 20:52:10 +01:00
Nextcloud bot
37ef64d24e
[tx-robot] updated from transifex 2019-11-21 02:16:02 +00:00
Nextcloud bot
afa0f2c0d8
[tx-robot] updated from transifex 2019-11-20 02:16:19 +00:00
Nextcloud bot
9a460f9e39
[tx-robot] updated from transifex 2019-11-12 02:16:12 +00:00
Robin Appelman
ef2fb51065
remove missed manual Application instance constructions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-11-04 19:51:37 +01:00
Roeland Jago Douma
8085ca4cc4
Get all shares as iterable
Sometimes we need all shares or rather a specific subset of shares but
creating dedicated functions is a pain. This just returns an iterable
object for all shares so we can loop over them without allocating all
the memory on the system.

It should not be used by any user called code. But in an occ command or
background job it is fine IMO.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-30 09:45:27 +01:00
Nextcloud bot
d633b451df
[tx-robot] updated from transifex 2019-10-24 02:15:26 +00:00
Nextcloud bot
c6b9f073ed
[tx-robot] updated from transifex 2019-10-14 02:15:09 +00:00
Nextcloud bot
c99fcd63f8
[tx-robot] updated from transifex 2019-09-25 02:14:47 +00:00
Nextcloud bot
8cc41974a4
[tx-robot] updated from transifex 2019-09-17 12:33:26 +00:00
Nextcloud bot
365f30b05b
[tx-robot] updated from transifex 2019-09-08 02:16:42 +00:00
Nextcloud bot
1a7310f4b3
[tx-robot] updated from transifex 2019-09-06 02:15:01 +00:00
Roeland Jago Douma
04ef434af0
Development is 18 now!
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-05 11:26:35 +02:00
Nextcloud bot
cdd491c706
[tx-robot] updated from transifex 2019-08-28 02:15:26 +00:00
Nextcloud bot
6725ad213f
[tx-robot] updated from transifex 2019-08-19 02:14:56 +00:00
Nextcloud bot
b3880452bb
[tx-robot] updated from transifex 2019-08-18 02:15:40 +00:00
Nextcloud bot
11cf253f52
[tx-robot] updated from transifex 2019-08-10 02:14:48 +00:00
Nextcloud bot
cb83d0646a
[tx-robot] updated from transifex 2019-08-09 02:14:15 +00:00
Nextcloud bot
a1afdac31a
[tx-robot] updated from transifex 2019-08-01 02:15:27 +00:00
Nextcloud bot
74eb2894a7
[tx-robot] updated from transifex 2019-07-30 02:14:45 +00:00
Nextcloud bot
57f2ea22c7
[tx-robot] updated from transifex 2019-07-29 02:14:59 +00:00
Nextcloud bot
b481750d00
[tx-robot] updated from transifex 2019-07-28 02:15:26 +00:00
Nextcloud bot
a024dcfc81
[tx-robot] updated from transifex 2019-07-22 02:15:59 +00:00
Nextcloud bot
9249a810fb
[tx-robot] updated from transifex 2019-07-21 02:15:10 +00:00
Nextcloud bot
8427ecf685
[tx-robot] updated from transifex 2019-07-05 02:14:09 +00:00
Nextcloud bot
853a1a586a
[tx-robot] updated from transifex 2019-07-04 02:13:48 +00:00