Julius Haertl
d3d49c1e98
Apply firefox workaroud to svg filters
...
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-08 09:55:29 +01:00
Joas Schilling
6c27b74e75
Fix the push state
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-07 12:51:32 +01:00
Julius Haertl
71275ced28
Workaround for disappearing app icons for Firefox before version 51
...
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-04 15:39:04 +01:00
Joas Schilling
890f752a6b
Merge pull request #1452 from nextcloud/appconfig-endpoint
...
Appconfig endpoint
2016-10-25 10:57:48 +02:00
Vincent Petry
25d9dce067
JS utility function to compare paths
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-24 21:45:00 +02:00
Joas Schilling
0b1fb180a5
Make AppConfig part of the public API
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-21 09:09:23 +02:00
Morris Jobke
867f72a485
Remove deprecated breadcrumbs implementation
...
* was replaced by the version in files/
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-20 12:18:33 +02:00
Morris Jobke
33c3293d05
Remove OC.localStorage and object method
...
* use the localstorage APIs of the browser instead
* use new Object() instead
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-20 12:16:44 +02:00
Christoph Wurst
5ae6d62811
do not reload the page if the server is (temporarily) unreachable
2016-10-03 10:24:47 +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
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
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
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
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
Julius Haertl
6b807af619
Fix closing app menu on mobile
2016-07-31 11:57:03 +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
Hendrik Leppelsack
c47833718f
remove svg classes
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
Hendrik Leppelsack
e5d8726859
remove ie8+9 support
2016-06-23 12:34:53 +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
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
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
Robin McCorkell
bd9a380d53
Delay reloading the page if an ajax error occurs, show notification
2016-04-20 16:31:04 +01: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
2d772eaaa8
Debounce heartbeat ajax calls to lower the number of requests
...
fixes #22397
2016-04-18 14:19:26 +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
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
Vincent Petry
06e7856400
Adjust core unit tests for unload/reload cases
2016-03-23 10:53:40 +01:00
Vincent Petry
d00f95578b
Stronger fix for navigate away detection
2016-03-22 18:29:19 +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
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
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
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
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
matthias-g
41c87531ff
Update explanation of how to enable debug mode
2016-01-30 18:26:10 +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