summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
Commit message (Collapse)AuthorAgeFilesLines
* Make sure it is a functionJoas Schilling2016-11-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to check it via the APIJoas Schilling2016-11-181-2/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Introduce the UI for password confirmationJoas Schilling2016-11-181-0/+64
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Apply firefox workaroud to svg filtersJulius Haertl2016-11-081-1/+3
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Fix the push stateJoas Schilling2016-11-071-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Workaround for disappearing app icons for Firefox before version 51Julius Haertl2016-11-041-0/+11
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Merge pull request #1452 from nextcloud/appconfig-endpointJoas Schilling2016-10-251-1/+2
|\ | | | | Appconfig endpoint
| * Make AppConfig part of the public APIJoas Schilling2016-10-211-1/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | JS utility function to compare pathsVincent Petry2016-10-241-0/+22
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove deprecated breadcrumbs implementationMorris Jobke2016-10-201-117/+0
| | | | | | * was replaced by the version in files/ Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove OC.localStorage and object methodMorris Jobke2016-10-201-76/+0
| | | | | | | * use the localstorage APIs of the browser instead * use new Object() instead Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* do not reload the page if the server is (temporarily) unreachableChristoph Wurst2016-10-031-1/+19
|
* Fixup getURLParameter behaviorSimon Eisenmann2016-09-161-3/+4
| | | | | | | | | | | | 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 ('').
* Return '' instead of 'null'Simon Eisenmann2016-09-161-1/+1
| | | | | | 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.
* Always use the js console when availableJoas Schilling2016-09-051-4/+1
|
* Update live timestamps to give a more live feelingJoas Schilling2016-09-011-0/+7
|
* Fixing infinite spinner animationThomas Pulzer2016-08-191-5/+28
| | | | | | | | 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
* Revert "Fixing infinite spinning animation on user menu ctrl+click"Morris Jobke2016-08-181-25/+9
|
* Merge pull request #778 from nextcloud/Faldon-user_menu_uiMorris Jobke2016-08-181-9/+25
|\ | | | | Fixing infinite spinning animation on user menu ctrl+click
| * Removed debug code.Faldon2016-08-111-1/+0
| |
| * Fixed user and main menu closing on right mouse button click.Thomas Pulzer2016-08-111-7/+8
| | | | | | | | Fixed wrong variable assignment when trying to open link in new window.
| * Changed app and user menu delegates to mousedown events.Thomas Pulzer2016-08-091-4/+13
| | | | | | | | | | Added proper handling of primary mouse button click with and without ctrl-/meta-key modifier. Added handlig of middle mouse button click.
| * Added OS X meta key check for stopping spinning animation in app and user menu.Thomas Pulzer2016-08-091-2/+2
| |
| * Fixed user menu to not show spinner on ctrl+click.Thomas Pulzer2016-08-091-3/+10
| | | | | | | | Fixes #616
* | Fix closing app menu on mobileJulius Haertl2016-07-311-0/+4
|/
* Fix the HTML encoding when uploading a folder in FF when using french l10nJoas Schilling2016-07-201-2/+2
|
* remove svg classesHendrik Leppelsack2016-07-011-1/+1
|
* remove javascript png fallback for svgHendrik Leppelsack2016-07-011-94/+9
|
* remove ie8+9 supportHendrik Leppelsack2016-06-231-25/+5
|
* Merge pull request #24434 from owncloud/permalinksLukas Reschke2016-05-101-3/+39
|\ | | | | Permalinks
| * Do not encode slashes in "dir" URL param in files JSVincent Petry2016-05-061-1/+6
| |
| * Auto-add fileid in URL for currently displayed folderVincent Petry2016-05-061-2/+33
| |
* | New animated loaderskjnldsv2016-05-091-1/+1
|/
* Merge pull request #24126 from owncloud/err-reload-delayLukas Reschke2016-04-221-1/+2
|\ | | | | Delay reloading the page if an ajax error occurs, show notification
| * Delay reloading the page if an ajax error occurs, show notificationRobin McCorkell2016-04-201-1/+2
| |
* | Merge pull request #23990 from owncloud/heartbeat-debounceMorris Jobke2016-04-201-3/+9
|\ \ | | | | | | Debounce heartbeat ajax calls to lower the number of requests
| * | Debounce heartbeat ajax calls to lower the number of requestsChristoph Wurst2016-04-181-3/+9
| | | | | | | | | | | | fixes #22397
* | | replace $.parseJSON() by JSON.parse()Christoph Wurst2016-04-191-3/+0
| | |
* | | remove deprecated jQuery.browserChristoph Wurst2016-04-191-4/+8
| |/ |/|
* | close navigation menu when opening app in new tab (#23914)Christoph Wurst2016-04-141-0/+4
| |
* | add loading feedback to user menu entries (#23916)Christoph Wurst2016-04-141-0/+15
|/ | | fixes #19857
* core: Fix typos (found by codespell)Stefan Weil2016-04-041-2/+2
| | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Adjust core unit tests for unload/reload casesVincent Petry2016-03-231-2/+2
|
* Stronger fix for navigate away detectionVincent Petry2016-03-221-2/+10
|
* Firefox returns 303 on cross-domain redirectVincent Petry2016-03-221-1/+1
| | | | Added 303 to catch SSO cross-domain redirect in Firefox.
* Detect user navigating away, don't interpret as ajax errorVincent Petry2016-03-221-1/+26
| | | | | | | | | | | 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.
* Accumulate notifications instead of blinkingVincent Petry2016-02-221-50/+120
| | | | | This makes it possible to display multiple notifications. If the options.type is set to "error", it will also add a close button.
* Add handler for global ajax errorsVincent Petry2016-02-151-4/+61
|
* Adding global error handler for ajax calls which run into redirections or ↵Thomas Müller2016-02-151-0/+7
| | | | unauthorized responses
* host and hostname are different thingsRoeland Jago Douma2016-02-031-2/+19
| | | | | | | | | | 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