Vincent Petry
5575443be9
Fix redundant headers in files dav client
...
The defaultHeaders are already injected with the xhrProvider, so no need
to pass them again a second time.
2016-02-16 17:37:12 +01:00
Thomas Müller
be65ba4089
Merge pull request #22383 from owncloud/better-sharee-translations
...
Do not use string concatination for translations
2016-02-15 11:16:16 +01:00
Thomas Müller
2054dbd4c8
Merge pull request #22350 from owncloud/fix_22304
...
WebUI feedback when sharing
2016-02-15 10:45:42 +01:00
Joas Schilling
c8ddbc385c
Do not use string concatination for translations
2016-02-15 09:20:15 +01:00
Roeland Jago Douma
33ef240b39
Search tags case insensitive
...
fixes : #22352
* Added unit tests
2016-02-14 20:41:39 +01:00
Thomas Müller
11707dffce
Merge pull request #22351 from owncloud/fix_22277
...
show remote server on federated share auto-complete
2016-02-13 18:25:04 +01:00
Thomas Müller
761e9cf3a4
Merge pull request #21837 from owncloud/recipients-error-message
...
First try for shareWithField error message
2016-02-12 16:09:37 +01:00
Bjoern Schiessle
862e28f006
show remote server on auto complete
2016-02-12 15:52:51 +01:00
Roeland Jago Douma
92c131b481
Updated unit tests
2016-02-12 14:31:00 +01:00
Roeland Jago Douma
51b55d5320
Provide proper feedback when creating a share in the webUI
...
Fixes #22304
Creating a share is not instant (especially not for federated shares) so
we should show that something is happening in the webUI properly.
2016-02-12 14:01:15 +01:00
Roeland Jago Douma
b786523bb7
Clear error when removing text
2016-02-12 10:25:42 +01:00
Roeland Jago Douma
113bfb0b07
Update tooltip on new search
2016-02-12 10:04:33 +01:00
Julian Müller
de4824077e
First try for shareWithField error message
...
Second try for ShareWithField error message
2016-02-12 10:04:30 +01:00
Roeland Jago Douma
a823485638
Reload list of shares on directory change
2016-02-11 11:06:26 +01:00
Roeland Jago Douma
f5be48d81d
Calculate the share statuses in js from the OCS Response
...
Right now this is only done on page load. We should do it on each
directory traversal.
2016-02-11 11:03:11 +01:00
Roeland Jago Douma
1301ec9351
Only show link shares for the current user
...
Currently we have no way to display multiple links in the UI.
So just display the link share for the current user.
Fixes #22275
2016-02-10 16:00:55 +01:00
Roeland Jago Douma
630bee749b
Only show link spinner if the share exists
...
If there is no share to delete do not set the spinner.
Fixes #21726
2016-02-10 11:08:15 +01:00
Lukas Reschke
abc675d87e
Move update notification code into app
...
Moves the update notification code in a single app. This is required since we want to use SSO for the new updater and for this have some code running in ownCloud as well (and we don't want that in core neccessarily). This app can provide that in the future, right now it's only the update notification itself. Will continue working on the SSO right away but wanted to keep the PR small.
Furthermore also makes some more code unit-testable...
2016-02-09 18:05:51 +01:00
Vincent Petry
e378a757ff
Add system tags filter section for files app
2016-02-09 10:59:29 +01:00
Thomas Müller
a35d5625e0
Merge pull request #22186 from owncloud/show-different-unsupported-failure-message
...
Don't show "report this to the community" when the upgrade is unsuppo…
2016-02-08 16:45:32 +01:00
Lukas Reschke
25aad470c1
Add message with reference to forum post
2016-02-08 10:45:46 +01:00
Morris Jobke
4032cc0166
Don't show "report this to the community" when the upgrade is unsupported
...
* fixes #21367
2016-02-08 09:19:16 +01:00
Vincent Petry
995a825dac
Make JS Webdav work again with IE9-IE10
2016-02-05 14:48:10 +01:00
Thomas Müller
f9aa5d2971
Merge pull request #22133 from owncloud/add-check-for-content
...
Add check for content
2016-02-04 17:40:31 +01:00
Thomas Müller
e22b2d8b63
Merge pull request #22130 from owncloud/fix-jsunit-filesclient
...
Fix jsunit filesclient
2016-02-04 16:49:58 +01:00
Lukas Reschke
5ba6148bfe
Add check for content
...
The response may be a redirect which is always followed by jQuery. Thus leading to false positives depending on the server configuration (e.g. when it issues a 302)
To prevent that there is also a check performed on the response content.
2016-02-04 16:13:27 +01:00
Vincent Petry
23f0515771
Fix JS DAV files client unit tests
...
Instead of trying to mock the promise, just stub davclient.js' request
object.
2016-02-04 15:39:18 +01:00
Vincent Petry
8782004742
Small fixes in Dav files client
...
Remove double leading slash in path.
Add utf-8 in default content type.
2016-02-04 15:38:54 +01:00
Faruk Uzun
6ffd8f3e0d
Introduce some mimetypes for richdocuments
...
* application/vnd.lotus-wordpro
* application/vnd.visio
* application/vnd.wordperfect
* application/msonenote
2016-02-04 13:48:21 +02:00
Roeland Jago Douma
aef43816c2
host and hostname are different things
...
host can contain the port (host of http://example.com:1234 is
example.com:1234) while hostname never contains a port. They can however
be similar. If you navigate to http://example.com then both host and
hostname will be example.com.
* Fixed docs
* added getHostName function
2016-02-03 11:28:07 +01:00
Vincent Petry
d81c00304f
Fix parsing empty Webdav property nodes
...
Return empty string instead of undefined
2016-02-02 18:01:15 +01:00
Vincent Petry
3b581b051f
Expose display name in JS side
...
Adds a new method `OC.getCurrentUser` to get both the user id and
display name Could be used for a future Js
2016-02-02 18:01:15 +01:00
Vincent Petry
29386eccf9
Add pagination support for comments GUI
2016-02-02 18:01:15 +01:00
Vincent Chan
59cfeae2cd
changed variables to lowercase
2016-02-02 10:32:50 +01:00
Vincent Chan
faf48e42b7
Move data protection check to javascript
...
fixes #20199
2016-02-01 18:57:58 +01:00
Thomas Müller
e23cd35019
Merge pull request #21953 from owncloud/make-enable_avatars-more-robust
...
Make enable_avatars setting more robust
2016-02-01 14:08:40 +01:00
matthias-g
41c87531ff
Update explanation of how to enable debug mode
2016-01-30 18:26:10 +01:00
Thomas Müller
45609d95d4
Merge pull request #21992 from owncloud/share-dialog-error-handling
...
Properly forward error messages in share dialog
2016-01-29 14:42:57 +01:00
Joas Schilling
c925bfdcd6
Trim tag names to avoid problems
2016-01-28 20:41:47 +01:00
Vincent Petry
df3f6fee10
Properly forward error messages in share dialog
2016-01-28 17:18:33 +01:00
Vincent Petry
7e1de0e3c2
Fix share default expiration date calculation
...
Now using UTC dates with moment js to accurately add the number of days
2016-01-28 15:25:34 +01:00
Vincent Petry
b063ddb05b
Share dialog use OCS API
2016-01-28 15:25:34 +01:00
Thomas Müller
de8852a760
Merge pull request #21958 from owncloud/systemtags-style
...
Use boxes for system tags, shorten permission text
2016-01-28 12:54:52 +01:00
Vincent Petry
1473e156f4
Use boxes for system tags, shorten permission text
...
Permission text now doesn't appear when all permissions are there, or
shows as "invisible" or "not assignable", which should better cover all
use cases.
Changed select2 style to use boxes in the input field.
2016-01-28 11:24:13 +01:00
Morris Jobke
1601d9235a
Make enable_avatars setting more robust
...
* handles the setting in the same way everywhere
* fixes #21949
2016-01-27 15:17:25 +01:00
Vincent Petry
714d8c2424
Fix system tags conflict situations
...
Does not disrupt the UX whenever a tag or association was created
concurrently. The input field will adjust itself as if the tag was
already there in the first place.
2016-01-27 15:09:59 +01:00
Vincent Petry
cfba90a78d
Fix system tags proppatch with booleans
...
Backbone webdav adapter now converts booleans and ints to strings.
Fixed system tags to use "true" / "false" strings for booleans instead
of 1 / 0.
2016-01-27 11:09:43 +01:00
Joas Schilling
4ea0d3c05d
Deprecate getFirstWeekDay() and getDateFormat() in favor of l()
2016-01-26 14:02:31 +01:00
Vincent Petry
0a1350d5ac
System tags sidebar selector now respects permissions
...
For admins: display the namespace behind the tag name.
For users: no namespace, don't display non-assignable tags in the
dropdown, display already assigned non-assignable tags with a different
style
2016-01-25 10:45:02 +01:00
Vincent Petry
d4198607ec
Expose whether user is an admin through a method
...
Which is nicer than an obscure global variable
2016-01-25 10:07:47 +01:00