Jan-Christoph Borchardt
cf5d30387b
Merge pull request #1641 from nextcloud/log-in-button
...
bring back dedicated log in button to make log in more usable
2016-10-17 18:28:27 +02:00
Robin Appelman
6d43942125
filepicker styling
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-14 17:36:08 +02:00
Robin Appelman
8d093e976a
use mimetype icons in filepicker if there is no preview
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-14 17:32:23 +02:00
blizzz
17fa45a292
Merge pull request #1704 from nextcloud/avatar_dropdown
...
[us] Show avatar in share drop down
2016-10-12 15:38:38 +02:00
Morris Jobke
bf56b8c620
Merge pull request #1702 from nextcloud/fix_tooltip_nc
...
Use Nextcloud in share tooltip
2016-10-11 20:27:31 +02:00
Morris Jobke
675230f86d
Merge pull request #1407 from nextcloud/multiline_comments
...
Bring back multiline comments
2016-10-11 16:17:51 +02:00
Thomas Müller
e6b51cb54c
[9.2] Show avatar in share drop down ( #25976 )
...
* Show avatar in share drop down
* Fix share autocomplete vertical align with avatar
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-11 15:53:27 +02:00
Roeland Jago Douma
09eac6b96b
Use Nextcloud in share tooltip
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-11 14:53:40 +02:00
Roeland Jago Douma
de69f7a899
Fix HTML
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-10 12:57:57 +02:00
Morris Jobke
2d507c4144
align layout of other link shares
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-10 12:53:14 +02:00
Roeland Jago Douma
8d1e6eb9b2
Display link reshares
...
* No longer filterout all other link shares
* Display link shares in shareelist (below normal shares)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-10 12:53:14 +02:00
Jan-Christoph Borchardt
3141680feb
bring back dedicated log in button to make log in more usable
2016-10-06 16:48:10 +02:00
Morris Jobke
6d688e89c1
Merge pull request #1453 from nextcloud/do-not-reload-if-connection-lost
...
do not reload the page if the server is (temporarily) unreachable
2016-10-06 14:58:02 +02:00
Roeland Jago Douma
c5d24a6b07
Add autosize
2016-10-04 13:04:54 +02:00
Christoph Wurst
5ae6d62811
do not reload the page if the server is (temporarily) unreachable
2016-10-03 10:24:47 +02:00
Roeland Jago Douma
092eae4966
Move options to the right
2016-10-03 09:06:52 +02:00
Roeland Jago Douma
e343d6fb01
can share => can reshare
2016-10-03 09:06:52 +02:00
Roeland Jago Douma
5cda383460
Make can edit checkbox work for file shares
2016-10-03 09:06:51 +02:00
Christoph Wurst
7533fcb977
move unshare button out of popover menu; keep menu opened on re-render
2016-10-03 09:06:51 +02:00
Christoph Wurst
1181ac14f7
move sharing options into popover menu
2016-10-03 09:06:51 +02:00
Vincent Petry
f07d146644
Display "Share" alt text for share action icon ( #26158 )
...
Downstreaming of https://github.com/owncloud/core/pull/26158
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 10:30:11 +02:00
Simon Eisenmann
c80c5ad958
Fixup getURLParameter behavior
...
This commit further changes the behavior of getURLParmeter to handle
encoded parameter values and returns the decoded string and improves
behavior for parameters without value and multiple equals and other
similar cases which did not work before. See the comments at
http://stackoverflow.com/questions/1403888/get-escaped-url-parameter for
a list of the issues handled by the updated implementation.
This change does not change the general behavior of the function. Empty
or non existing parameters still return an empty string ('').
2016-09-16 16:11:08 +02:00
Simon Eisenmann
1e9d523046
Return '' instead of 'null'
...
This commit changes the behavior of getURLParameter(name) to return an
empty string when the parameter is not set or has empty value. Before it
returned 'null' as string.
2016-09-16 16:11:01 +02:00
Simon Eisenmann
1a240a23e5
Pass redirect_url through setup form
...
When accessing a 'not set up' Nextcloud with a redirect_url parameter
the parameter will is added to the setup POST request, resulting in the
requested redirect after setup is complete.
This is required in scenarios where Nextcloud is used as authorization
provider like on the Spreedbox to allow redirection to the required page
when normally a login form would be shown but the setup form is shown
instead.
2016-09-13 12:32:17 +02:00
Sujith Haridasan
c15ba6ccf8
Choose button remains disbaled for httpd/unix-directory
...
This is not correct. Hence in this patch we validate
if the mimetype is 'httpd/unix-directory'. If so we
don't disable it.
This patch addresses solution for issue: 26034
Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com>
2016-09-12 16:46:15 +02:00
Lukas Reschke
06fa486706
Merge pull request #1158 from nextcloud/cache_avatars
...
Cache avatars
2016-09-05 15:08:43 +02:00
Joas Schilling
fe9ffd29a7
Always use the js console when available
2016-09-05 11:25:47 +02:00
Joas Schilling
ee1c1b39b2
Update live timestamps to give a more live feeling
2016-09-01 09:02:36 +02:00
Morris Jobke
da1c51882b
update to proper icons and run occ command to update JS file
2016-08-30 10:33:43 +02:00
Roeland Jago Douma
14136295b7
Cache avatars properly
...
* Set proper caching headers for avatars (15 minutes)
* For our own avatar use some extra logic to invalidate when we update
2016-08-30 09:00:16 +02:00
Christoph Wurst
907e832de4
Merge pull request #1115 from nextcloud/fix_146
...
Link 'Allow editing' => 'Allow upload and editing'
2016-08-29 19:48:51 +02:00
Joas Schilling
8dd5bbe7fe
Merge pull request #1135 from nextcloud/choose-buttons
...
Choose button remains disabled unless files are chosen
2016-08-29 15:51:54 +02:00
Sujith Haridasan
14c81f8a3a
Choose button remains disabled unless files are chosen
...
from filepicker
This is will help user to understand that you can only
click choose button once the files are selected from the
file picker. This addresses the solution for issue 16106
Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com>
2016-08-29 14:25:26 +02:00
Vincent Petry
e8c2d62c6b
Users page lazy multiselect group dropdowns
...
Instead of pre-rendering all multiselects with lots of group entries,
the current groups are now displayed as simple labels.
Behind the labels there is a pencil icon like for other fields.
When clicking the pencil icon, the dropdown will be spawned and will
open itself.
Upon closing of the dropdown, the label comes back with the updated
selection and the dropdown is destroyed.
2016-08-29 13:34:13 +02:00
Roeland Jago Douma
8fca6d21a6
Link 'Allow editing' => 'Allow upload and editing'
...
Fixes #146
2016-08-28 21:50:31 +02:00
Lukas Reschke
ccbbf61ed6
Merge pull request #968 from Faldon/fixing_spinner_animation
...
Fixing infinite spinner animation
2016-08-27 22:43:03 +02:00
Arthur Schiwon
9b01574465
adjust js tests
2016-08-25 13:47:14 +02:00
Arthur Schiwon
44f3fcc187
fix internal links in security & setup warnings, resolves #1048
2016-08-25 13:24:50 +02:00
Roeland Jago Douma
fc6e8bdf3f
Merge pull request #1000 from nextcloud/mail_icon_share
...
Make e-mail icon visible
2016-08-22 09:13:56 +02:00
Roeland Jago Douma
4cc908bf9b
Make e-mail icon visible
...
Fixes #996
* Make mail icon visible
* Opacity to .5
* Add tooltip
2016-08-21 14:37:08 +02:00
Roeland Jago Douma
555ea93b1c
Fix some jshint issues in core/js/share*
2016-08-19 21:03:25 +02:00
Lukas Reschke
365797d4b4
Merge pull request #964 from nextcloud/master-aedae12db5ebfaf56bec91b736fb8a569cecf16f
...
[master] In cases where the server dictates the link share expiration…
2016-08-19 12:16:56 +02:00
Thomas Pulzer
58f9340d93
Fixing infinite spinner animation
...
setupMainMenu() & setupUserMenu():
Changed click delegate to add the spinner animation only the primary mouse button was clicked without ctrl- or meta-key modifier
Adding mouseup delegate to hide the menu if the middle mouse button was clicked.
Redone #778
2016-08-19 10:50:51 +02:00
Thomas Müller
497ae34e88
[master] In cases where the server dictates the link share expiration the date is not updated on consequitive changes and enable/disable actions
2016-08-19 10:24:52 +02:00
Roeland Jago Douma
a774efb0f9
Update mimetypes
2016-08-19 09:55:38 +02:00
Morris Jobke
8e08b8c04e
Revert "Fixing infinite spinning animation on user menu ctrl+click"
2016-08-18 11:46:00 +02:00
Morris Jobke
3e7710c0d8
Merge pull request #778 from nextcloud/Faldon-user_menu_ui
...
Fixing infinite spinning animation on user menu ctrl+click
2016-08-18 08:40:13 +02:00
Faldon
14bf180837
Removed debug code.
2016-08-11 16:43:07 +02:00
Thomas Pulzer
b2b7fa4854
Fixed user and main menu closing on right mouse button click.
...
Fixed wrong variable assignment when trying to open link in new window.
2016-08-11 07:22:13 +02:00
Lukas Reschke
7e23351bf0
Merge pull request #677 from nextcloud/app-menu-fix
...
Fix closing app menu on mobile
2016-08-10 00:28:04 +02:00
Roeland Jago Douma
7a4e5d8f40
Open exiration date picker directly on toggle
2016-08-09 19:55:58 +02:00
Thomas Pulzer
c5033670d5
Changed app and user menu delegates to mousedown events.
...
Added proper handling of primary mouse button click with and without ctrl-/meta-key modifier.
Added handlig of middle mouse button click.
2016-08-09 11:58:32 +02:00
Thomas Pulzer
8c9961aa22
Added OS X meta key check for stopping spinning animation in app and user menu.
2016-08-09 11:58:32 +02:00
Thomas Pulzer
1ab9477ac1
Fixed user menu to not show spinner on ctrl+click.
...
Fixes #616
2016-08-09 11:58:32 +02:00
Jan-Christoph Borchardt
835dc59d6a
reduce info on update screens, introduce button to refresh
2016-08-04 12:48:25 +02:00
Vincent Petry
0f3674a446
Group incoming shares for resharing in JS
2016-08-03 10:16:28 +02:00
Julius Haertl
6b807af619
Fix closing app menu on mobile
2016-07-31 11:57:03 +02:00
Julius Haertl
217b52085d
Fix javascript tests for sidebar animation
2016-07-30 16:30:05 +02:00
Julius Haertl
fdcba04c98
Add animation to app-content
2016-07-30 16:24:04 +02:00
Jan-Christoph Borchardt
fe8d13c935
slight animation for the sidebar for better feedback what happens
2016-07-29 12:08:12 +02:00
Robin Appelman
03c17ff614
dont load filelist previews if we know we dont have one
2016-07-27 12:59:43 +02:00
Morris Jobke
8c7d7d7746
Merge pull request #507 from nextcloud/run-le-script
...
Update emails and license headers with latest changes
2016-07-21 23:27:15 +02:00
William Bargent
6da54a6987
Merge pull request #374 from lpszBuffer/master
...
Alters 'No Internet Connection' error message. #181
2016-07-21 18:55:58 +01:00
Joas Schilling
0215b004da
Update with robin
2016-07-21 18:13:58 +02:00
Joas Schilling
ba87db3fcc
Fix others
2016-07-21 18:13:57 +02:00
Derek
b236100619
Alters 'No Internet Connection' error message. #181
2016-07-20 19:12:10 -05:00
Lukas Reschke
020a2a6958
Merge pull request #476 from nextcloud/port-same-site-cookies
...
[master] Port Same-Site Cookies to master
2016-07-20 21:35:02 +02:00
Roeland Douma
9f219f55f2
Merge pull request #467 from nextcloud/use-clipboard-api
...
Use clipboard api
2016-07-20 20:11:08 +02:00
Lukas Reschke
a299fa38a9
[master] Port Same-Site Cookies to master
...
Fixes https://github.com/nextcloud/server/issues/50
2016-07-20 18:37:57 +02:00
Morris Jobke
032e6b1701
Merge pull request #473 from nextcloud/ux-improvement-share-dialog
...
only show additional edit permissions for folders
2016-07-20 18:34:55 +02:00
Bjoern Schiessle
77d2338bd2
only show additional edit permissions for folders
2016-07-20 15:24:51 +02:00
Thomas Müller
4d67429cf0
Use an icon to set the email instead of a button with string
2016-07-20 15:07:46 +02:00
Thomas Müller
daaa3ded8d
Add clipboard button to public share link
2016-07-20 15:07:41 +02:00
Joas Schilling
45c99c226b
Fix the HTML encoding when uploading a folder in FF when using french l10n
2016-07-20 13:03:27 +02:00
Joas Schilling
1df65e9872
Don't need update permissions on hidden files
2016-07-14 10:25:53 +02:00
Joas Schilling
7b62a8de05
Add delete permissions to the default (new in oc9.1)
2016-07-14 10:25:24 +02:00
Morris Jobke
2eb48426af
Use tooltip for background jobs info tooltip
2016-07-13 13:01:17 +02:00
Morris Jobke
ba16fd0d33
Merge branch 'master' into sync-master
2016-07-07 11:29:46 +02:00
Hendrik Leppelsack
61e604c2d9
adjusts tests to removal of svg fallback
2016-07-01 16:36:37 +02:00
Hendrik Leppelsack
c47833718f
remove svg classes
2016-07-01 16:36:37 +02:00
Hendrik Leppelsack
11be3d6276
remove png references in core
2016-07-01 16:36:37 +02:00
Hendrik Leppelsack
bc5c89e9c0
remove javascript png fallback for svg
2016-07-01 16:36:37 +02:00
Vincent Petry
ba95297c5c
Merge pull request #25262 from owncloud/fed-sharing-error
...
Only save federated share after remote server is notified
2016-07-01 16:20:39 +02:00
Morris Jobke
b6397ef73a
Merge pull request #236 from nextcloud/master-sync-upstream
...
[Master] sync upstream
2016-06-28 09:02:03 +02:00
Lukas Reschke
6670d37658
Merge remote-tracking branch 'upstream/master' into master-sync-upstream
2016-06-27 18:23:00 +02:00
Vincent Petry
199c8e304c
Merge pull request #25250 from owncloud/linkshare-includedeletewithuploadperms
...
Add explicit delete permission to link shares
2016-06-27 12:14:05 +02:00
Lukas Reschke
27b699bdbc
Migrate logic to dynamic controller
...
Also adds support for having custom login backgrounds
2016-06-27 10:26:23 +02:00
Vincent Petry
93f29f57c5
Merge pull request #25129 from owncloud/remove-ie
...
Remove ie8+9 support
2016-06-27 10:20:47 +02:00
Lukas Reschke
7a9d60d87e
Merge remote-tracking branch 'upstream/master' into master-upstream-sync
2016-06-26 12:55:05 +02:00
Robin Appelman
ee674844f2
better detect errors in fed sharing response
2016-06-24 15:56:33 +02:00
Vincent Petry
955635c7aa
Add explicit delete permission to link shares
...
Link shares always allowed deletion, however internally the permissions
were stored as 7 which lacked delete permissions. This created an
inconsistency in the Webdav permissions.
This fix makes sure we include delete permissions in the share
permissions, which now become 15.
In case a client is still passing 7 for legacy reasons, it gets
converted automatically to 15.
2016-06-24 09:48:48 +02:00
Vincent Petry
dc78d26f2a
Merge pull request #25239 from owncloud/setupchecks-preventreload
...
Don't reload page in case of auth errors during setup checks
2016-06-24 09:47:55 +02:00
Hendrik Leppelsack
e5d8726859
remove ie8+9 support
2016-06-23 12:34:53 +02:00
Vincent Petry
97f1813695
Don't reload page in case of auth errors during setup checks
...
If an error occurs during setup checks, do not let the global ajax
error handler reload the page.
2016-06-23 11:54:49 +02:00
Vincent Petry
4a2fb1b4cb
Init the headers in iedavclient.js
2016-06-22 16:58:06 +02:00
Lukas Reschke
2b493e2f9d
Merge remote-tracking branch 'upstream/master' into master-sync-upstream
2016-06-21 11:18:22 +02:00
Robin Appelman
8485f5bcb1
Prevent the advanced options toggle in the setup from acting as a link
2016-06-16 15:25:56 +02:00
Morris Jobke
3720bae3ec
fix setup page strengthify
...
* fixes #105
2016-06-15 15:27:30 +02:00
Morris Jobke
5e2726c0e7
Change name of the product in update message
...
* also update all german translations
* fixes #96
2016-06-14 17:02:55 +02:00
Arthur Schiwon
ca43c49709
smaller files drop fixes
...
* fix infinite spinner on blacklisted files
* move HTML to template
* indentation
2016-06-11 15:15:37 +02:00
Lukas Reschke
842cc2a788
Merge pull request #19 from nextcloud/files-drop
...
add "hide file list" option
2016-06-10 18:29:09 +02:00
Lukas Reschke
0b00a06a0d
Fix indentation
2016-06-09 18:17:04 +02:00
Lukas Reschke
5fdde426eb
Add fancy layout
2016-06-09 17:55:26 +02:00
Bjoern Schiessle
bb54ab0db8
add hide file list option
2016-06-09 15:15:17 +02:00
Vincent Petry
fb087a0261
Use temporary htaccesstest.txt for data dir security check
2016-06-07 18:36:13 +02:00
Lukas Reschke
aba539703c
Update license headers
2016-05-26 19:57:24 +02:00
Vincent Petry
66e93561da
Rename "not-assignble" to "restricted"
2016-05-20 17:56:02 +02:00
Vincent Petry
88740f035d
Act on effective system tag canAssign permission
...
Whenever the server returns true for the can-assign Webdav property of
a system tag, it means the current user is allowed to assign,
regardless of the value of user-assignable.
This commit brings the proper logic to the web UI to make it possible
for users to assign when they have the permission.
2016-05-20 17:56:02 +02:00
Morris Jobke
0543f8a839
Merge pull request #24397 from owncloud/sort-share-links
...
Reordered share link settings
2016-05-10 18:42:10 +02:00
Lukas Reschke
e8e72aa910
Merge pull request #24434 from owncloud/permalinks
...
Permalinks
2016-05-10 09:44:50 +02:00
skjnldsv
ea3cc2661d
New animated loader
2016-05-09 07:54:43 +02:00
Vincent Petry
254576e1f7
Do not encode slashes in "dir" URL param in files JS
2016-05-06 17:00:22 +02:00
Vincent Petry
fdeafef6a0
Auto-add fileid in URL for currently displayed folder
2016-05-06 16:46:59 +02:00
Vincent Chan
e07901b63b
Reordered share link settings
...
closes #24122
2016-05-02 20:33:45 +02:00
Björn Schießle
606b756a94
Merge pull request #23918 from owncloud/cruds-for-federated-shares
...
bring back CRUDS permissions for federated shares
2016-04-22 14:50:42 +02:00
Lukas Reschke
2c4ef37025
Merge pull request #24126 from owncloud/err-reload-delay
...
Delay reloading the page if an ajax error occurs, show notification
2016-04-22 11:23:39 +02:00
Robin McCorkell
62024d74d4
Add test for reload delay
2016-04-20 22:09:59 +01:00
Morris Jobke
6b66f2dfb4
Merge pull request #23990 from owncloud/heartbeat-debounce
...
Debounce heartbeat ajax calls to lower the number of requests
2016-04-20 21:23:10 +02:00
Thomas Müller
1ab27ddd4a
Merge pull request #24081 from owncloud/migrate-deprecated-jquery-v1-functions
...
migrate deprecated jQuery 1.x functions
2016-04-20 20:38:38 +02:00
Björn Schießle
2a6a336e87
always share with same default permissions, no special handling for remote shares
2016-04-20 17:47:33 +02:00
Robin McCorkell
bd9a380d53
Delay reloading the page if an ajax error occurs, show notification
2016-04-20 16:31:04 +01:00
Christoph Wurst
e4a8456d01
replace $().attr('checked') by $().prop('checked', state) or $().is(':checked')
2016-04-19 16:20:17 +02:00
Christoph Wurst
05d203a989
replace $.parseJSON() by JSON.parse()
2016-04-19 15:06:42 +02:00
Christoph Wurst
59e268763c
remove deprecated jQuery.browser
2016-04-19 11:55:40 +02:00
Christoph Wurst
e7f07ba02e
extract mail view for sending share invitations
...
fixes #22947
2016-04-19 11:37:23 +02:00
Thomas Müller
7186975e35
Merge pull request #23993 from owncloud/update-to-jquery2
...
Update jquery to version 2.2.3
2016-04-19 10:26:08 +02:00
Christoph Wurst
2d772eaaa8
Debounce heartbeat ajax calls to lower the number of requests
...
fixes #22397
2016-04-18 14:19:26 +02:00
Bjoern Schiessle
4ab02c0c76
bring back CRUDS permissions for federated shares
2016-04-18 12:02:03 +02:00
Christoph Wurst
5900e46f01
Turn off jQuery animations when testing
2016-04-18 10:41:02 +02:00
John Molakvoæ
e11b39a248
Fix rgb values
...
Fix was required because values was too big for rgb and breaking the brightness calculation.
Now we have the initial sat (70%) and the reduction to 60 if too bright working again.
2016-04-18 09:29:42 +02:00
Christoph Wurst
3e1f1ccc76
downgrade jquery, update jquery-migrate
2016-04-15 13:55:23 +02:00
Christoph Wurst
621d1e2128
update jquery to version 2.2.3
2016-04-14 12:47:35 +02:00
Christoph Wurst
97d553b57a
close navigation menu when opening app in new tab ( #23914 )
2016-04-14 11:53:20 +02:00
Christoph Wurst
a2572ffec7
add loading feedback to user menu entries ( #23916 )
...
fixes #19857
2016-04-14 11:53:09 +02:00
Morris Jobke
e03d289b70
Use 6 months as SSL STS header threshold
...
* this uses 6 months (6 * 30 * 24 * 60 * 60 = 15552000)
* old value was half a year (365 / 2 * 24 * 60 * 60 = 15768000)
* fixes #23957
2016-04-13 08:47:34 +02:00
John Molakvoæ
28571e6361
Updated color generator
...
Separated the main function to allow special use without dom manipulation.
2016-04-06 19:34:50 +02:00
Morris Jobke
1f7e02e4d4
Add detailed logs hidden and show them on request
2016-04-04 12:34:18 +02:00
Thomas Müller
1bf4c75e8b
Show individual sql schema migration steps during upgrade - on web as well as on the command line
2016-04-04 12:34:18 +02:00
Stefan Weil
62a5952a72
core: Fix typos (found by codespell)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-04-04 10:57:17 +02:00
Jan-Christoph Borchardt
a0e2eae7de
Merge pull request #23638 from owncloud/new-placeholder-colours-generator
...
New colour generator
2016-04-03 12:26:22 +02:00
John Molakvoæ
dcc28a3ad7
New colour generator
2016-04-01 18:00:47 +02:00
Vincent Petry
8d11c3b87b
Merge pull request #23487 from owncloud/core-globalajaxerrorwhengoingaway
...
Detect user navigating away, don't interpret as ajax error
2016-04-01 17:03:55 +02:00
Vincent Petry
06e7856400
Adjust core unit tests for unload/reload cases
2016-03-23 10:53:40 +01:00
Thomas Müller
61c5717281
Merge pull request #23463 from owncloud/lets-consistently-use-no-referer
...
Consistently use rel=noreferrer
2016-03-23 09:14:54 +01:00
Vincent Petry
d00f95578b
Stronger fix for navigate away detection
2016-03-22 18:29:19 +01:00
Roeland Jago Douma
cf3e740ae8
Fix js strings if group sharing is disabled
2016-03-22 17:13:34 +01:00
Vincent Petry
6ed8acb15d
Firefox returns 303 on cross-domain redirect
...
Added 303 to catch SSO cross-domain redirect in Firefox.
2016-03-22 16:55:43 +01:00
Vincent Petry
ad1167a44d
Detect user navigating away, don't interpret as ajax error
...
Whenever a user navigates away, all ajax calls will fail with the same
result like a cross-domain redirect (SSO). To distinguish these cases,
we need to detect whether the error is a result of the user navigating
away. For this, we introduce a new flag that will be set in
"beforeunload".
Additional handling was required for false positives in case "beforeunload" is
used (ex: cancelled upload) and the user cancelled the navigation.
2016-03-22 16:54:01 +01:00
Thomas Müller
2db67c3308
Merge pull request #23386 from owncloud/share-keepoptioncheckboxinblocks
...
Keep share checkboxes together
2016-03-21 18:05:16 +01:00
Thomas Müller
86581f6626
Merge pull request #22065 from owncloud/systemtags-create-same-prefix
...
Allow creating tags where another one with same prefix exists
2016-03-21 11:15:49 +01:00
Lukas Reschke
6ad957906e
Consistently use rel=noreferrer
...
When linking to external entities we should consistently use rel=noreferrer
2016-03-20 15:27:20 +01:00
Vincent Petry
9ef24b9a0f
Keep share checkboxes together
...
- removed leading spaces before markup which can affect rendering in
some cases
- added shareOption CSS class to group and keep share option checkbox +
label
- moved ".showCruds" arrow into the matching shareOption to keep the
arrow together with the checkbox
2016-03-18 11:59:57 +01:00
Lukas Reschke
2ca3c0d461
Adjust wording a bit
...
**Before:**
> Your PHP version (5.4.16) is no longer supported by PHP. We encourage you to upgrade your PHP version to take advantage of performance and security updates provided by PHP.
**After:**
> You are currently running PHP 5.4.0. We encourage you to upgrade your PHP version to take advantage of performance and security updates provided by the PHP Group as soon as your distribution supports it.
Fixes https://github.com/owncloud/enterprise/issues/1170
2016-03-11 17:39:35 +01:00
Roeland Jago Douma
19347187d8
Fix MKCOL for IE11 as well
...
Using https://github.com/owncloud/core/pull/22274 we have to patch the
iedavclient.js as well.
2016-03-10 13:36:26 +01:00
Thomas Müller
4324d302bc
Merge pull request #22872 from owncloud/password-change-tooltip-text
...
Update error text for link passwords
2016-03-07 14:46:27 +01:00
Morris Jobke
49b7fc107a
Update error text for link passwords
...
* this removes the old tooltip first before showing
the new one to update the text - otherwise the old
text will be shown
2016-03-04 18:11:42 +01:00
prastut
aa8bdc7f14
trigger login if remember_login checked
2016-03-04 00:22:04 +05:30
Lukas Reschke
933f60e314
Update author information
...
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
2016-03-01 17:25:15 +01:00
Thomas Müller
71e5de3865
Merge pull request #22677 from owncloud/allow-to-overwrite-single-l10n-string-via-theme
...
Allow to overwrite a single language string via the theme folder
2016-03-01 08:26:28 +01:00
Vincent Petry
0091df2bc8
Improved JS L10N bundle merging + tests
2016-02-29 17:39:21 +01:00
Joas Schilling
78570a5f72
Allow to overwrite a single language string via the theme folder
2016-02-26 13:56:02 +01:00
Thomas Müller
c6c15ba825
Merge pull request #22608 from owncloud/collaborative-tags
...
Rename system tags app to collaborative tags
2016-02-26 10:47:40 +01:00
Joas Schilling
4471f359b1
Rename system tags app to collaborative tags
2016-02-26 09:14:28 +01:00
Vincent Petry
b634f1e2c7
Make more action icons themable + style fixes
...
Action icons now appear properly in public link page.
More actions are now CSS icons.
2016-02-25 23:01:07 +01:00
Roeland Jago Douma
92cff0984d
Make file actions use icon CSS classes
...
This makes theming of file actions possible
2016-02-25 22:49:52 +01:00
Vincent Petry
1add45ae6a
Tweak tooltip style for recipients
2016-02-25 11:18:30 +01:00
Joas Schilling
edbc1060ce
Add the uid on hover for sharing autocomplete
2016-02-24 09:57:02 +01:00
Vincent Petry
27544144ce
Fix unit tests affected by side effects
...
The notification tests were not restoring the clock properly, but
indirectly helped other tests pass.
Since now we're restoring the clock properly, the other tests were fixed
to still work.
2016-02-22 17:25:32 +01:00
Vincent Petry
8ea80e114a
Accumulate notifications instead of blinking
...
This makes it possible to display multiple notifications.
If the options.type is set to "error", it will also add a close button.
2016-02-22 17:25:32 +01:00
Thomas Müller
8abdcb8085
Fix error ins source language strings
...
https://www.transifex.com/owncloud-org/owncloud/translate/#en_GB/core/50786279
https://www.transifex.com/owncloud-org/owncloud/translate/#en_GB/settings-1/50555028
2016-02-19 15:04:16 +01:00
Lukas Reschke
9b3c4e8dc4
Require CSRF token for non WebDAV authenticated requests
2016-02-18 11:18:36 +01:00
Thomas Müller
7af7d18cfa
Merge pull request #16783 from owncloud/handle-redirects-global
...
Adding global error handler for ajax calls which run into redirection…
2016-02-17 14:49:04 +01:00
Thomas Müller
7b0f83b616
Merge pull request #22445 from owncloud/files-client-sendpropfindheaders
...
Files DAV client send propfind headers
2016-02-17 11:32:16 +01:00
Thomas Müller
92e5160003
Merge pull request #22452 from owncloud/fix_22441
...
Unlock sharee input field when sharing fails
2016-02-17 10:59:03 +01:00
Roeland Jago Douma
a9a3947e61
Do not clear sharee input on failed share
2016-02-17 09:21:17 +01:00
Roeland Jago Douma
e1fd86ccb6
Unlock sharee input field when sharing fails
...
Fixes #22441
When addShares fails (for whatever reason) we should unlock the sharee
input field so the user does not have to reload the page.
2016-02-17 09:21:12 +01:00
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
Roeland Jago Douma
d8f91b0e82
Allow searching for single user
2016-02-16 16:23:09 +01:00
Vincent Petry
b8b77709c0
Add handler for global ajax errors
2016-02-15 12:48:47 +01:00
Thomas Müller
294dcb4eff
Adding global error handler for ajax calls which run into redirections or unauthorized responses
2016-02-15 12:47:18 +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 Petry
22be3867f1
Allow creating tags where another one with same prefix exists
...
When creating a new entry, compare the full tag name and not only the
prefix.
2016-02-02 10:42:35 +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
Morris Jobke
0161928fc3
Add check for .well-known URL in the root of the webservers URL
...
* fixes #20012
2016-01-08 23:27:29 +01:00
Joas Schilling
334a6d57a3
Check the correct config for displaying the "notify by email" option
2016-01-08 14:15:06 +01:00
Roeland Jago Douma
6bd15856b2
Added js tests for the Sharee API usage
2015-12-30 10:46:19 +01:00
Roeland Jago Douma
49031e0744
Fix unit tests
2015-12-30 08:58:04 +01:00
Roeland Jago Douma
f99fcd5dd6
Filter out share owner in sharee suggestion list
2015-12-30 08:58:04 +01:00