summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Expose display name in JS sideVincent Petry2016-02-021-0/+32
| | | | | Adds a new method `OC.getCurrentUser` to get both the user id and display name Could be used for a future Js
* Update explanation of how to enable debug modematthias-g2016-01-301-2/+2
|
* Expose whether user is an admin through a methodVincent Petry2016-01-251-1/+13
| | | | Which is nicer than an obscure global variable
* update JS humanFileSize to use KB instead of kBMorris Jobke2016-01-191-3/+3
|
* OC.FilePath has still a valid use case when generating paths to static files ↵Thomas Müller2015-12-071-1/+0
| | | | what for generateUrl cannot be used for - closes #15604
* Support pretty URLsLukas Reschke2015-12-011-1/+5
| | | | | | | | | | | | This changeset allows ownCloud to run with pretty URLs, they will be used if mod_rewrite and mod_env are available. This means basically that the `index.php` in the URL is not shown to the user anymore. Also the not deprecated functions to generate URLs have been modified to support this behaviour, old functions such as `filePath` will still behave as before for compatibility reasons. Examples: http://localhost/owncloud/index.php/s/AIDyKbxiRZWAAjP => http://localhost/owncloud/s/AIDyKbxiRZWAAjP http://localhost/owncloud/index.php/apps/files/ => http://localhost/owncloud/apps/files/ Due to the way our CSS and JS is structured the .htaccess uses some hacks for the final result but could be worse... And I was just annoyed by all that users crying for the removal of `index.php` ;-)
* Added OC.Files.Client Webdav-based files clientVincent Petry2015-11-221-1/+0
|
* Allow creating OCS v2 links in JSJoas Schilling2015-11-161-2/+4
|
* Set "ie" CSS class for IE10, IE11Vincent Petry2015-11-101-0/+8
| | | | Fixed border in file action menu
* Close the user menu when clicking it againJoas Schilling2015-11-021-1/+1
|
* append tipsys to bodyHendrik Leppelsack2015-10-271-1/+2
|
* Merge pull request #19935 from ↵Thomas Müller2015-10-221-18/+1
|\ | | | | | | | | owncloud/issue-19916-settings-menu-hide-on-file-action Use the normal OC.menu JS for handling the Settings menu
| * Use the normal OC.menu JS for handling the Settings menuJoas Schilling2015-10-211-18/+1
| |
* | Disable app icon preview in apps page for IEVincent Petry2015-10-211-0/+9
|/ | | | | | | | | | All IE versions are not able to properly upscale SVG icons unless the said SVG files contain a "viewBox" attribute, which is not always the case. Also we cannot guarantee that all third party apps will have this attribute in their icons. So for now, app icons will not be displayed in IE instead of broken ones.
* Fix uploading avatar and root certs in IE8Vincent Petry2015-10-091-0/+1
|
* Merge pull request #19539 from owncloud/fix-multiselect-overlap-shorterThomas Müller2015-10-051-25/+43
|\ | | | | Fix filelist size issues, breadcrumb, multiselect
| * Fix filelist size issues, breadcrumb, multiselectVincent Petry2015-10-021-25/+43
| | | | | | | | | | | | | | - calculate multiselect header width to exclude scrollbar - call FileList._onResize() when sidebar is toggled ("appresized"), this also updates the breadcrumb width - moved global getScrollBarWidth() to OC.Util namespace
* | Fix moment.js "a few seconds ago" with "seconds ago"Morris Jobke2015-10-021-0/+4
|/ | | | * fixes #18627
* [IE8] Fix filetype icon sizesVincent Petry2015-09-291-0/+40
| | | | | | Added hack that uses a "filter" CSS with explicit URL to fix the "New" menu by scaling down icons and also fix the folder/filetype icon in the sidebar by scaling it up.
* Consider both hash params and query when parsing URLVincent Petry2015-09-281-3/+1
|
* implement builder pattern in tipsy shimHendrik Leppelsack2015-09-231-0/+1
|
* Disable automatic evaluation of responsesLukas Reschke2015-09-151-0/+14
| | | | | | | If a response to a $.ajax() request returns a content type of "application/javascript" JQuery would previously execute the response body. This is a pretty unexpected behaviour and can result in a bypass of our Content-Security-Policy as well as multiple unexpected XSS vectors.
* Fix controls bar calculationVincent Petry2015-08-281-3/+9
| | | | | | | | Controls bar calculation needs to take the sidebar visibility into account. Recalculation is now triggered when sidebar is toggled, using a new app-content event "appresized".
* Merge pull request #18178 from owncloud/files-sidebar-actionsJan-Christoph Borchardt2015-08-131-1/+1
|\ | | | | Sidebar file actions
| * Fix showMenu animation callbackVincent Petry2015-08-121-1/+1
| |
* | Merge pull request #18122 from owncloud/replace-tipsyJan-Christoph Borchardt2015-08-131-11/+0
|\ \ | | | | | | Replace tipsy with tooltip
| * | replace tipsys with tooltipsHendrik Leppelsack2015-08-121-11/+0
| |/
* | Merge pull request #17785 from owncloud/snapjs-sensitivityMorris Jobke2015-08-121-1/+2
|\ \ | |/ |/| fix mobile scrolling, lower sidebar sensitivity, fix #11193
| * fix mobile scrolling, lower sidebar sensitivity, fix #11193Jan-Christoph Borchardt2015-08-071-1/+2
| |