aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/js.js
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| |
* | Fixed file actions menu to close when reclicking triggerVincent Petry2015-08-111-2/+7
| | | | | | | | | | | | FileActionsMenu is now a backbone view. The trigger and highlight handling is now done in the FileActions.showMenu() method using events.
* | Implement file actions dropdownVincent Petry2015-08-101-12/+44
| | | | | | | | | | | | File actions now have two types "inline" and "dropdown". The default is "dropdown". The file actions will now be shown in a dropdown menu.
* | Fix app-content scrollbar when app-sidebar is openVincent Petry2015-08-071-2/+2
|/
* Merge pull request #17175 from owncloud/add-download-feedbackMorris Jobke2015-07-301-1/+31
|\ | | | | Add loading spinner to download icon
| * refactoring into proper methodsMorris Jobke2015-07-071-1/+31
| |
* | Merge pull request #17910 from owncloud/fix-modified-tooltipMorris Jobke2015-07-281-1/+0
|\ \ | | | | | | Fix tooltip for modification time
| * | fixed tooltip for modified dateHendrik Leppelsack2015-07-271-1/+0
| | |
* | | remove title option from tipsy shimHendrik Leppelsack2015-07-261-3/+1
|/ /
* | Add `fallback` to shimLukas Reschke2015-07-251-0/+2
| | | | | | | | | | | | Tipsy also supported the `fallback` element which will now not work anymore. To enhance compatibility we shall also implement it in the shim. Fixes https://github.com/owncloud/core/issues/17870
* | Merge pull request #17075 from owncloud/bootstrap-tooltipBernhard Posselt2015-07-231-0/+58
|\ \ | | | | | | Replace jQuery tipsy with bootstrap tooltip
| * | fix tipsy not updating on reinitializationHendrik Leppelsack2015-07-081-2/+5
| | |
| * | remove debug messagesHendrik Leppelsack2015-07-061-3/+0
| | |
| * | replaced tipsy with bootstrap tooltipHendrik Leppelsack2015-06-221-0/+58
| | |
* | | Merge pull request #17599 from owncloud/fix-joinpaths-trailingslashMorris Jobke2015-07-131-4/+14
|\ \ \ | | | | | | | | Fix OC.joinPaths with empty arguments
| * | | Fix OC.joinPaths with empty argumentsVincent Petry2015-07-131-4/+14
| | | | | | | | | | | | | | | | | | | | When empty arguments are given, the leading or trailing slash was not detected properly.
* | | | Add helper functions for host, port and webrootVincent Petry2015-07-131-0/+45
|/ / / | | | | | | | | | | | | | | | These should be used in the future instead of location.*. It will make it possible to stub these methods for writing unit tests and simulating different URL schemes.
* | / Add OC.joinPaths for convenient path joiningVincent Petry2015-07-101-0/+42
| |/ |/|
* | let buttons hide the sidebarHendrik Leppelsack2015-06-161-1/+1
|/
* remove slow fade animation for tipsy tooltipJan-Christoph Borchardt2015-04-151-10/+10
|
* Don't stop event execution for menu item clickMorris Jobke2015-04-091-2/+4
| | | | * fixes #12326 - the settings menu is closed now, because the event is executed