Roeland Jago Douma
3ff041f86d
Merge pull request #9245 from nextcloud/fix-race-condition-when-preparing-upload-folder
...
Fix race condition when preparing upload folder
2018-04-23 08:50:16 +02:00
Roeland Jago Douma
a80fcf177b
Merge pull request #9255 from nextcloud/less-deprecated-calls
...
Less deprecated calls to OCP\Util::writeLog
2018-04-23 08:04:50 +02:00
Nextcloud bot
a74fbe78a7
[tx-robot] updated from transifex
2018-04-23 00:11:49 +00:00
Julius Härtl
cbdaa8b7ce
Add min-width to trick the table width calculation in safari
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-22 23:09:15 +02:00
Morris Jobke
dd34cb7540
Less deprecated calls to OCP\Util::writeLog
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-04-22 20:41:49 +02:00
Daniel Calviño Sánchez
375a55b0ad
Fix race condition when preparing upload folder
...
Before any upload is submitted the upload is registered in a list of
known uploads; this is needed to retrieve the upload object at several
points of the upload process. When a chunked upload is submitted first a
directory to upload all the chunks is created and, once that is done,
the chunks are sent; in order to send a chunk the upload object needs to
be retrieved from the list of known uploads.
When all the active uploads were finished the list of known uploads was
cleared. However, an upload is not active until it actually starts
sending the data, so while waiting for the upload directory to be
created the upload is already in the list of known uploads yet not
active. Due to all this, if the active uploads finished while another
pending upload was waiting for the upload directory to be created that
pending upload would be removed from the list of known uploads too, and
once the directory was created and thus the chunks were sent a field of
a null upload object would be accessed thus causing a failure.
Instead of removing all the known uploads at once when the active
uploads finish now each upload is explicitly removed when it finishes.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-22 20:38:11 +02:00
Nextcloud bot
74b5ab8d39
[tx-robot] updated from transifex
2018-04-22 00:11:51 +00:00
Nextcloud bot
6b5132502e
[tx-robot] updated from transifex
2018-04-21 00:11:39 +00:00
Nextcloud bot
8748e636f6
[tx-robot] updated from transifex
2018-04-20 00:12:00 +00:00
Julius Härtl
d771f65911
Add more tests for ImageManager
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19 20:14:40 +02:00
Julius Härtl
b385f1c7d5
Fix theming tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19 20:14:40 +02:00
Julius Härtl
7f9dabd984
Make sure the custom favicon is used
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19 20:14:40 +02:00
Julius Härtl
39f44e1452
Add typehints
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19 20:14:40 +02:00
Julius Härtl
daadc1c892
Fix background color
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19 20:14:39 +02:00
Julius Härtl
5a5c125b23
Return value
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19 20:14:39 +02:00
Julius Härtl
3ad2768909
Remove unneeded preview image handling
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19 20:14:39 +02:00
Julius Härtl
d8045966de
Fix undo preview and remove duplicate code
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19 20:14:39 +02:00
Julius Härtl
d8b57924fb
Add advanced theming options to frontend
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19 20:14:39 +02:00
Julius Härtl
ee44dec0ac
Use generic image upload in theming JS
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19 20:14:38 +02:00
Julius Härtl
dfda5c683d
Use SCSS for previewing images as well
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19 20:14:38 +02:00
Julius Härtl
02d3e09c86
Move theming settings to SCSS
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19 20:14:38 +02:00
Julius Härtl
272b392cac
Move to more generic image handling and add extra images
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19 20:14:38 +02:00
Julius Härtl
fb7d73708b
Use flex based layout inside the filename table cell
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19 20:13:26 +02:00
Morris Jobke
0bae516c66
Merge pull request #9224 from nextcloud/accessibility-improvements
...
Add labels for Contacts menu and Settings, thanks to @MarcoZehe
2018-04-19 14:47:17 +02:00
Nextcloud bot
7ca526f8ac
[tx-robot] updated from transifex
2018-04-19 00:11:50 +00:00
Roeland Jago Douma
0b6e197491
Add background job to refresh federated discovery
...
Once a day refresh the information automatically in cron
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-04-18 19:20:26 +02:00
Jan-Christoph Borchardt
0d675eca56
Ensure proper color contrast according to WCAG AA
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-04-18 15:38:30 +02:00
Robin Appelman
bc3fde9f75
log more information about insufficient storage in dav plugin
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-04-17 15:29:37 +02:00
Roeland Jago Douma
63dfbb2127
Merge pull request #9162 from nextcloud/allow-lang-ocs-api
...
Add language support for user creation
2018-04-17 11:01:46 +02:00
Morris Jobke
dfffc0fdda
Merge pull request #9184 from nextcloud/bug-9150
...
Fixes issue with the large cursor on Safari in the comment section.
2018-04-17 11:00:26 +02:00
Roeland Jago Douma
cf27310505
Merge pull request #9206 from nextcloud/fix-select-text
...
Fix user selectable text for public links for text files
2018-04-17 10:56:32 +02:00
Nextcloud bot
3c250b1a35
[tx-robot] updated from transifex
2018-04-17 00:13:08 +00:00
Morris Jobke
66c92872ab
Fix user selectable text for public links for text files
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-04-16 16:36:29 +02:00
John Molakvoæ (skjnldsv)
5bd02a63a8
Fixed tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-16 15:18:33 +02:00
John Molakvoæ (skjnldsv)
6028d60038
Add language support for user creation
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-16 15:18:33 +02:00
John Molakvoæ (skjnldsv)
3e5ea9b0a9
Return proper boolean user enabled state api
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-16 15:17:02 +02:00
Nextcloud bot
85d4d9c592
[tx-robot] updated from transifex
2018-04-16 00:11:49 +00:00
Abijeet
0489643f50
Fixes issue with the large cursor on Safari in the comment section.
...
This was being caused due to the `display: inline-block` on the contenteditable div.
Signed-off-by: Abijeet <abijeetpatro@gmail.com>
2018-04-14 20:28:32 +05:30
Nextcloud bot
13b5e257ab
[tx-robot] updated from transifex
2018-04-14 00:11:46 +00:00
Nextcloud bot
b7a64f9c13
[tx-robot] updated from transifex
2018-04-13 00:11:47 +00:00
Morris Jobke
10b37a074c
Revert "Add language support for user creation in api"
2018-04-12 11:00:54 +02:00
Nextcloud bot
af53f48ce2
[tx-robot] updated from transifex
2018-04-12 00:19:20 +00:00
Morris Jobke
9260474ab6
Merge pull request #8452 from sagorika1996/folder
...
Descend into newly created folder by clicking enter again
2018-04-11 17:58:42 +02:00
Morris Jobke
e6c146121e
Merge pull request #9144 from nextcloud/allow-lang-ocs-api
...
Add language support for user creation in api
2018-04-11 16:21:32 +02:00
Roeland Jago Douma
fed9140abd
Merge pull request #9148 from nextcloud/dav-read-exception
...
transform exception during file read to sabre exceptions
2018-04-11 16:03:12 +02:00
Julius Härtl
2626d11f78
Merge pull request #9097 from nextcloud/bugfix/7661/use_mb_substr
...
Use multibyte substring
2018-04-11 15:55:55 +02:00
Morris Jobke
a18a853e68
Merge pull request #7800 from Abijeet/bug-7281
...
Fixes the usability issues with the comment section delete and edit
2018-04-11 15:27:12 +02:00
Robin Appelman
e6a7ddc1c6
transform exception during file read to sabre exceptions
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-04-11 14:45:35 +02:00
Morris Jobke
7a3ce073da
Merge pull request #8946 from nextcloud/log-exceptions-as-nested-array-2
...
Log exceptions as nested array instead of encoded json
2018-04-11 14:24:47 +02:00
Robin Appelman
15815c034f
adjust tests to new exception log format
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-04-11 11:46:36 +02:00
John Molakvoæ (skjnldsv)
89da1af889
Add language support for user creation
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-11 10:59:56 +02:00
Nextcloud bot
ecc3bc64aa
[tx-robot] updated from transifex
2018-04-11 00:21:34 +00:00
Morris Jobke
a655401382
Merge pull request #9136 from nextcloud/bugfix/noid/fix_provisioning_integrationtests
...
The integrationtests expect a string
2018-04-11 02:11:33 +02:00
Morris Jobke
38961a725f
Merge pull request #8833 from nextcloud/feature/noid/add_ldap_user_hooks
...
add anounce- and (pre/|post)RevokeUser signals for non-native backends
2018-04-11 00:44:39 +02:00
Roeland Jago Douma
a8d4b0688e
Fix tests
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-04-11 00:30:14 +02:00
Roeland Jago Douma
d363e2f0e3
The integrationtests expect a string
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-04-10 23:29:09 +02:00
Nextcloud bot
323ee3cbdc
[tx-robot] updated from transifex
2018-04-10 00:12:10 +00:00
Morris Jobke
acbcc607ea
Merge pull request #9111 from nextcloud/use-proper-bool-user-disabled-state
...
Return proper boolean and do not save enabled state in db
2018-04-09 23:39:02 +02:00
Morris Jobke
0327ef1044
Merge pull request #9108 from nextcloud/ocs-api-subadmins-quota-adduser
...
Allow user creation with subadmins and quota
2018-04-09 22:54:57 +02:00
Roeland Jago Douma
2620e16731
Merge pull request #9116 from nextcloud/rakekniven-patch-1
...
Update settings.php
2018-04-09 16:21:06 +02:00
John Molakvoæ (skjnldsv)
8b9bd37e4e
Fixed tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-09 15:13:11 +02:00
rakekniven
cde721fd0b
Update settings.php
...
Changed according to discussion.
2018-04-09 13:26:28 +02:00
Morris Jobke
21dd28e6fb
Merge pull request #9090 from nextcloud/fix/noid/ldap-format-strict-param
...
parameter provided to L10N::n() could have been a string
2018-04-09 13:00:25 +02:00
John Molakvoæ (skjnldsv)
eae55761de
Properly return boolean on enable state
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-09 11:26:26 +02:00
Nextcloud bot
5bbe6bb44e
[tx-robot] updated from transifex
2018-04-09 00:11:59 +00:00
Nextcloud bot
72e8ab14ac
[tx-robot] updated from transifex
2018-04-08 00:12:00 +00:00
rakekniven
014446447b
Update settings.php
...
Tiny l10n improvement.
Reported at Transifex: https://www.transifex.com/nextcloud/nextcloud/translate/#de_DE/user_ldap/91002448
2018-04-07 09:29:10 +02:00
Nextcloud bot
9f194bc682
[tx-robot] updated from transifex
2018-04-07 00:11:49 +00:00
John Molakvoæ (skjnldsv)
18ec4ddd2b
Allow user creation with subadmins and quota
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-06 15:30:41 +02:00
Morris Jobke
2a2ab1b871
Merge pull request #9084 from nextcloud/public-page-template-extend
...
Public page template enhancements
2018-04-06 13:16:26 +02:00
Roeland Jago Douma
4a6e31c91d
Merge pull request #8904 from nextcloud/ocs-api-get-users-details-per-groups
...
Api: return users details by groups
2018-04-06 10:52:20 +02:00
Nextcloud bot
a97b9bf605
[tx-robot] updated from transifex
2018-04-06 00:14:22 +00:00
Roeland Jago Douma
0864d1c51d
Use multibyte substring
...
Fixes #7661
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-04-05 22:26:38 +02:00
John Molakvoæ (skjnldsv)
eb4d7fba20
Rebase to master
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-05 17:12:52 +02:00
Joas Schilling
348171f311
Use abstract subclass so members can be defined
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-04-05 17:11:41 +02:00
John Molakvoæ (skjnldsv)
762002ec2e
Fixed tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-05 17:11:41 +02:00
John Molakvoæ (skjnldsv)
c103aaaf25
Trait bump
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-05 17:11:41 +02:00
John Molakvoæ (skjnldsv)
b023bfe38f
Fixed tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-05 17:09:00 +02:00
John Molakvoæ (skjnldsv)
4011ea97b1
Cast types directly
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-05 17:09:00 +02:00
John Molakvoæ (skjnldsv)
f4e84e1727
Limit and offset
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-05 17:09:00 +02:00
John Molakvoæ (skjnldsv)
68ae4394f7
Api, return users details by groups
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-04-05 17:08:59 +02:00
Julius Härtl
1624762d2f
Fix tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-05 15:40:58 +02:00
Roeland Jago Douma
6ea444b243
Merge pull request #9082 from nextcloud/feature/8795/new_webdav_url_in_web
...
Show the new dav url in the web UI
2018-04-05 14:51:52 +02:00
Arthur Schiwon
16d4ff4d39
parameter provided to L10N::n() could have been a string
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-04-05 14:50:28 +02:00
Julius Härtl
50a763e4c8
Update composer autoloader
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-05 14:27:34 +02:00
Morris Jobke
6b39186e4f
Merge pull request #9085 from nextcloud/fix-progress-bar-hidden-before-the-upload-ends
...
Fix progress bar hidden before the upload ends
2018-04-05 14:11:36 +02:00
Roeland Jago Douma
9b05413bcb
Show the new dav url in the web UI
...
Fixes #8795
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-04-05 13:59:45 +02:00
Julius Härtl
2e60f91ab1
Move external share saving to template
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-05 13:11:55 +02:00
Arthur Schiwon
f1565336bd
DI for NC's user manager
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-04-05 12:46:24 +02:00
Arthur Schiwon
373a1d5391
more consistent naming
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-04-05 12:46:15 +02:00
Arthur Schiwon
2ebf26e444
admin_audit and dav listen to announce and revoke signals
...
also place them in doc
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-04-05 12:38:43 +02:00
Arthur Schiwon
8fe914f07e
LDAP backend to emit announce and revoke signals on mapping changes
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-04-05 12:38:39 +02:00
Julius Härtl
bbeb3402b6
Move styling and menu handling to publicpage.js
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-05 12:21:39 +02:00
Julius Härtl
cc3b1179fc
Do not hide primary action text
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-05 11:32:11 +02:00
Daniel Calviño Sánchez
bcfe8431b4
Fix progress bar hidden before the upload ends
...
The jQuery File Upload plugin triggers the "stop" event once there are
no more files being uploaded (even if some of them were added when
another upload was already in progress). Therefore, the progress bar
should be hidden in the "fileuploadstop" callback.
In some cases the "stop" event is not triggered and thus the progress
bar is not hidden once no more files are being uploaded. This is caused
by a race condition and it will be fixed in another commit; except in
buggy cases like that one (that need to be fixed anyway) it is safe to
hide the progress bar in the "fileuploadstop" callback.
In any case, note that the callbacks in "fileuploaddone" may be called
after the "stop" event was triggered and handled when using chunked
uploads. In that case once all the chunks are uploaded the assembled
file is moved to its final destination, so its promise could be resolved
after the "stop" event was triggered. Therefore a different approach
would be needed to keep the progress bar visible until the chunked
upload is truly finished, but for the time being the current one is good
enough.
Before this commit the progress bar was being hidden when the first
upload finished, either successfully or with an error, no matter if
there were other files being uploaded too.
The progress bar was being explicitly hidden also when the upload was
cancelled. When an upload is cancelled all the single uploads are
aborted, which triggers a "fail" event for each of them. However, the
"stop" event is always triggered when no more files are being uploaded,
so it is triggered too once all the single uploads were aborted. As all
the single uploads are immediately aborted in a loop when the general
upload is cancelled it makes no difference to hide the progress bar when
the first single upload is aborted or when all the single uploads were
aborted, so the progress bar is no longer explicitly hidden in the
former case.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-05 11:12:33 +02:00
Julius Härtl
eb19899f8e
Move common menu templates to public API
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-05 11:09:19 +02:00
Nextcloud bot
0c12c06325
[tx-robot] updated from transifex
2018-04-05 00:11:47 +00:00
blizzz
3678d3b14a
Merge pull request #8926 from nextcloud/ocs-api-quota-fallback
...
Return quota even if user is not initialised
2018-04-04 17:19:54 +02:00
Roeland Jago Douma
d6cda3f2a6
When formatting a share node an Empty target is invalid
...
Fixes #9028
For federated shares the share table holds no target information (since
it is on the other server). So when a node is actually invalid and not
found we should not display it anymore in the shared with sections etc
and thus throw the proper exceptions.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-04-04 11:33:05 +02:00
Nextcloud bot
b90b73df6f
[tx-robot] updated from transifex
2018-04-04 00:13:26 +00:00