Vincent Chan
06b2f11e57
refactoring code
2016-02-10 15:28:14 +01:00
Vincent Chan
e7859f705c
Remember previous state of remember login checkbox
...
fixes #22205
2016-02-10 12:37:38 +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
Thomas Müller
44043cb1d7
Merge pull request #21811 from owncloud/fix-unauthenticated-avatar
...
Show default placeholder if avatar image can't be fetched
2016-01-25 10:01:23 +01:00
Joas Schilling
f108dbfa6a
Move getDescriptiveTag to core
2016-01-21 15:56:25 +01:00
Morris Jobke
b188de242e
Show default placeholder if avatar image can't be fetched
...
* fixes owncloud/documents#601
* ref #14564
2016-01-20 15:18:57 +01:00
Vincent Petry
ffba6d0a7e
Added system tags GUI in sidebar
...
Added files details sidebar panel to assign/unassign/rename/delete
system tags.
2016-01-19 16:24:26 +01:00
Vincent Petry
8d41cbb97a
Implement toggleselect extension for select2
...
To make it possible to toggle selected values inside the dropdown
2016-01-19 16:24:26 +01:00
Morris Jobke
6e096936e5
update JS humanFileSize to use KB instead of kB
2016-01-19 10:51:57 +01:00
Joas Schilling
50557b19b6
Run the command once again
2016-01-18 11:13:25 +01:00
Vincent Petry
857c316bda
Backbone transport for Webdav
2016-01-16 11:28:04 +01:00
Thomas Müller
b1ee51f255
Merge pull request #21630 from owncloud/add-some-security-headers-as-hardening
...
Add X-Download-Options and X-Permitted-Cross-Domain-Policies
2016-01-13 10:33:58 +01:00
Thomas Müller
c5a200c419
Merge pull request #21653 from owncloud/update-license-headers-2016
...
Update license headers 2016
2016-01-13 08:29:42 +01:00
Thomas Müller
682821c71e
Happy new year!
2016-01-12 15:02:18 +01:00
Thomas Müller
2493cfede9
Merge pull request #21640 from owncloud/add-config-to-disable-wellknown-check
...
Add config switch to disable the .well-known URL check
2016-01-12 14:46:09 +01:00
Lukas Reschke
4d0dcd3c53
Add X-Download-Options and X-Permitted-Cross-Domain-Policies
...
Two small security hardenings for our IE users and those with Adobe products. Aligns it more with https://github.com/twitter/secureheaders#secureheaders---
2016-01-12 10:37:16 +01:00
Morris Jobke
8b6b042ffd
Add config switch to disable the .well-known URL check
2016-01-12 09:53:23 +01:00
Morris Jobke
a6c7cdd75e
Show the well-known URL check as info instead of error
...
* ref https://github.com/owncloud/core/pull/21562#issuecomment-170344549
2016-01-12 09:18:20 +01:00