Roeland Jago Douma
7b09d11924
Use a case insensitive search for email
...
Fixes #7084
Now entering wrongly cased email (roeland@ instead of Roeland@) for
password reset etc. Will also work.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 15:19:15 +07:00
Roeland Jago Douma
9f6ee5b939
Only trust the X-FORWARDED-HOST header for trusted proxies
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-19 08:48:18 +07:00
Daniel Calviño Sánchez
9f0272ffd9
Add acceptance tests for comments on shared files and folders
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-07 14:08:09 +07:00
John Molakvoæ (skjnldsv)
7028362604
Log and continue on Dav reader failure
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-05 21:54:50 +07:00
Morris Jobke
9838c91a5c
Add setup check for pending bigint conversion
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-12-05 17:53:42 +07:00
Morris Jobke
f4b582ec44
Update casing of PHP inside method name
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-12-04 23:34:39 +07:00
Morris Jobke
ec9d58b21d
Add setup check for recommended PHP modules (i.e. Imagick, intl)
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-12-04 23:34:39 +07:00
Morris Jobke
96450a9e9b
Merge pull request #12692 from nextcloud/storage-no-encryption-interface-15
...
[15] Add interface to allow storages from opting out of encryption
2018-11-29 22:01:14 +07:00
Roeland Jago Douma
c602d1b751
Merge pull request #12736 from nextcloud/backport/12424/stable15
...
[stable15] Add pipe mode for sendmail
2018-11-29 19:36:30 +07:00
Daniel Kesselberg
cbff5fabe7
Add testcases for pipe mode
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-11-29 16:44:36 +07:00
Robin Appelman
7cdc04a793
update encryption wrapper tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-29 16:36:35 +07:00
John Molakvoæ (skjnldsv)
6c14b57337
Fix tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-29 10:17:01 +07:00
Robin Appelman
9ee94afe7e
Fix folder path containing leading slash when getting mount root by id
...
This fixes collabora on public link shared groupfolders
Fixes https://github.com/nextcloud/groupfolders/issues/225
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-28 19:07:11 +07:00
Daniel Calviño Sánchez
c6ca6b03eb
Rename "FilesSharingAppContext" to "PublicShareContext"
...
Having both "FilesAppSharingContext" and "FilesSharingAppContext" was
confusing, so "FilesSharingAppContext" was renamed to a more descriptive
name.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 21:08:59 +07:00
Daniel Calviño Sánchez
9354de01bb
Extract locators and steps for sharing in Files app to their own context
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 21:08:58 +07:00
Daniel Calviño Sánchez
65192469c8
Extract sharing related acceptance tests to their own feature files
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 21:08:58 +07:00
Daniel Calviño Sánchez
39e5493072
Add acceptance tests for folders that can not be reshared
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 21:08:58 +07:00
Daniel Calviño Sánchez
41fff0932c
Add acceptance tests for resharing a folder with another user
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 21:08:58 +07:00
Daniel Calviño Sánchez
e435574613
Add acceptance test for checking that the owner can see reshares
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 21:08:58 +07:00
Daniel Calviño Sánchez
976fa8487f
Add acceptance test for resharing a file with another user
...
To reshare a file there must be at least three enabled users in the
system; although it would be possible to run the steps to create a third
user in the scenarios that need it for convenience a third enabled user
besides "admin" and "user0" was added to the default setup.
In a similar way, a new step was added too to login as a given user
name, similar to the steps to log in as "user0" and as "admin".
Finally, another actor, "Jim", was introduced for those scenarios which
should be played by three standard actors (that is, without a special
configuration like "Rubeus").
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 21:08:58 +07:00
Daniel Calviño Sánchez
aa19e89645
Add acceptance tests for sharing a folder with another user
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 21:08:58 +07:00
Daniel Calviño Sánchez
6ca82176a4
Add acceptance tests for sharing a file with another user
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 21:08:58 +07:00
Daniel Calviño Sánchez
ad0adaea95
Wait for the comment to be added before changing to another file
...
If the server is too slow, changing to a different file immediately
after sending a new comment but without waiting for the comment to be
shown for the original file could cause the new comment to be shown for
the current file instead.
This is, indeed, a bug in the comments. However, it is not possible to
test it reliably in the acceptance tests, as it depends on how fast the
server adds the message and how fast the client changes to a different
file; sometimes the test would fail and sometimes it would not.
Therefore, now it is waited for the comment to be added before changing
to another file, as in this case it can be reliably tested that changing
to a different file does not cause the comments from the previous file
to be shown in the current file (this was a different bug already fixed
and due to which this test was added in the first place).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 16:55:32 +07:00
Daniel Calviño Sánchez
4c88b12a28
Wait for the empty content element to be shown
...
When the "Comments" tab is open the empty content element is always in
the DOM, although it is only shown once the message collection was
fetched and there were no messages. Due to this it is necessary to
explicitly wait for it to be shown instead of relying on the implicit
wait made to find the element; otherwise it would be found immediately
and if the collection was not fetched yet it would not be visible,
causing the test to fail.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 16:55:32 +07:00
Morris Jobke
db6fad3eee
Merge pull request #12571 from TheLastProject/feature/make_connectivity_check_domains_changeable
...
Make connectivity check domains configurable
2018-11-22 13:42:54 +07:00
Sylvia van Os
935bb25639
Make connectivity check domains configurable
...
Signed-off-by: Sylvia van Os <sylvia@hackerchick.me>
2018-11-22 10:57:16 +07:00
Morris Jobke
ede53e06c1
Merge pull request #12553 from nextcloud/bugfix/noid/allow-empty-string-in-getAbsoluteURL
...
Allow empty string in get absolute url
2018-11-22 10:26:23 +07:00
Daniel Calviño Sánchez
1d1708688f
Add acceptance tests for showing again the input field for tags
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-22 05:26:45 +07:00
Daniel Calviño Sánchez
57ffa9ea73
Add acceptance tests for opening and closing again the details view
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-22 05:26:01 +07:00
Daniel Calviño Sánchez
94645ed754
Add acceptance tests for marking a file as favorite in the details view
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-22 05:25:12 +07:00
Daniel Calviño Sánchez
139e2218d1
Add acceptance tests for switching to the comments of another file
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-22 05:20:26 +07:00
Joas Schilling
b8fcf6e9b3
Allow empty strings in getAbsoluteURL
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-20 13:36:16 +07:00
Joas Schilling
2b18b9ae96
Update the URLGenerator test to current state of art
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-20 13:36:15 +07:00
Morris Jobke
cc6c30e769
Merge pull request #12494 from nextcloud/cache-notfound-id
...
return the correct value when trying to get a non existing item from cache by id
2018-11-20 09:51:18 +07:00
Robin Appelman
aa6f7947ba
add test for non existing file by id
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-19 17:37:59 +07:00
Morris Jobke
5af6289959
Merge pull request #12401 from pachulo/fix/11107/fix-php-mail-warning
...
Fix the warning appearing in the admin section when mail_smtpmode is not configured
2018-11-19 15:23:45 +07:00
Morris Jobke
8e4f0f9d17
Use the proper default values
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-19 10:57:51 +07:00
Kyle Fazzari
9561a7a1e2
Verify that isPhpMailerUsed uses config as expected
...
Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
2018-11-14 08:41:38 +07:00
John Molakvoæ (skjnldsv)
2b7832d0c9
Fix breakpoint and shrinking of the content + list
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-14 17:19:35 +07:00
Morris Jobke
fd8eeccb15
Merge pull request #11942 from nextcloud/techdebt/noid/use-count-function
...
Use the defined func()->count() instead of manual counting
2018-11-12 17:43:56 +07:00
Morris Jobke
859dd1e742
Merge pull request #12371 from nextcloud/bugfix/12369/catch-unique-constraint-violation-exception-in-insertIfNotExist
...
Catch UniqueConstraintViolationException inside insertIfNotExist
2018-11-12 13:41:00 +07:00
Morris Jobke
8e60006744
Exception is not thrown anymore
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-12 12:22:04 +07:00
Julius Härtl
26b160cc43
Make sure to always load the latest icons-vars.css file
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-12 11:00:56 +07:00
Joas Schilling
bb352fb667
Use the defined func()->count() instead of manual counting
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-08 15:44:45 +07:00
Daniel Calviño Sánchez
b5977bef2e
Adjust acceptance tests to changes in public share page menu
...
The "Download" item in the menu of public share pages is no longer shown
in wide (>768px) windows (although the element is in the DOM and shown
if resized to a narrow window).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-08 13:19:15 +07:00
Roeland Jago Douma
25fe324f41
Merge pull request #12313 from nextcloud/generated-avatar-major-cleanup
...
Clear avatar cache with frontend repair
2018-11-08 10:28:09 +07:00
John Molakvoæ (skjnldsv)
a9eef37456
Clear avatar cache with frontend repair
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-08 08:31:21 +07:00
Morris Jobke
ab3543380c
Merge pull request #11836 from nextcloud/bugfix/2443/comment-mentions-with-spaces
...
Comment mentions with spaces
2018-11-07 16:27:36 +07:00
Joas Schilling
10ba0bed8a
Match mentions when the username is wrapped in quotes
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-07 12:33:44 +07:00
Daniel Kesselberg
04a316aa67
Add test that unique constraint is working
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-11-06 21:29:20 +07:00