Morris Jobke
e18d0e26f6
Merge pull request #17599 from owncloud/fix-joinpaths-trailingslash
...
Fix OC.joinPaths with empty arguments
2015-07-13 17:25:27 +02:00
Vincent Petry
b56a57e21c
Add helper functions for host, port and webroot
...
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.
2015-07-13 15:26:01 +02:00
Vincent Petry
1b7d42c569
Fix OC.joinPaths with empty arguments
...
When empty arguments are given, the leading or trailing slash was not
detected properly.
2015-07-13 10:57:52 +02:00
Morris Jobke
ee7ccc9c3d
Merge pull request #17559 from owncloud/js-joinpathsutility
...
Add OC.joinPaths for convenient path joining
2015-07-10 17:07:19 +02:00
Vincent Petry
fbc03b43b9
More tests for joinPaths
2015-07-10 15:31:58 +02:00
Vincent Petry
a7c7d394ec
Merge pull request #17555 from owncloud/update-test-libraries
...
Update JS unit test libs
2015-07-10 15:11:53 +02:00
Vincent Petry
119e27166e
Add OC.joinPaths for convenient path joining
2015-07-10 13:02:28 +02:00
Vincent Petry
9d71542ee4
Update JS unit test libs
...
Update sinon to 1.15.4.
Update karma-jasmine to 0.3.0
Update jasmine to 2.3.4
This brings a bunch of new useful functions for unit testing.
2015-07-10 11:21:47 +02:00
Roeland Jago Douma
eea56dc309
MimeTypes now also supports httpd/unix-directory
...
Since we both use dir and httpd/unix-directory in OC they should map to
the same icon.
Fixes #17527
2015-07-09 14:19:31 +02:00
Roeland Jago Douma
5c381ea532
Move calls to Files.getMimeIcon to OC.MimeType.getIconUrl
2015-07-09 13:40:13 +02:00
Hendrik Leppelsack
4d289dc590
fix browser compatibility issue for element.closest
2015-07-08 22:58:08 +02:00
Hendrik Leppelsack
6f547a9960
fix tipsy not updating on reinitialization
2015-07-08 10:53:17 +02:00
Morris Jobke
3f5aa27d49
refactoring into proper methods
2015-07-07 15:16:37 +02:00
Vincent Petry
993e7eeec7
Keep update page when there are warnings
...
Whenever there were warnings during an update, the page will not be
redirected any more.
2015-07-07 13:38:24 +02:00
Roeland Jago Douma
c8145cdbd6
Javascript mimetype icon resolver
...
This makes it possible to retrieve the icon for mimetypes in javascript.
It makes no additional queries to the server to retrieve the mimetype.
* config/mimetypealiases.json added
* mimetype.js: this is where the logic resides to convert from mimetype
to icon url
* mimetypelist.js: generated file with a list of mimetype mapping (aliases)
and the list of icon files
* ./occ maintenance:mimetypesjs : new command for occ to gernerate
mimetypes.js
* unit tests updated and still work
* javascript tests added
* theming support
* folder of the theme is now present in javascript (OC.theme.folder)
2015-07-06 16:32:10 +02:00
Hendrik Leppelsack
00b97dfbb1
remove debug messages
2015-07-06 13:27:24 +02:00
Hendrik Leppelsack
8621d176db
moved tooltip.js to vendor scripts
2015-06-22 15:38:32 +02:00
Hendrik Leppelsack
68463182da
deminified tooltip.js
2015-06-22 14:11:32 +02:00
Hendrik Leppelsack
f66e9af9a0
replaced tipsy with bootstrap tooltip
2015-06-22 13:32:06 +02:00
Lukas Reschke
3b0b1a7ceb
Merge pull request #16973 from owncloud/button-close-sidebar
...
Let buttons hide the sidebar
2015-06-17 22:37:10 +02:00
Morris Jobke
9a0b0ba488
Merge pull request #16893 from owncloud/fixSlideToggle
...
Fix childs of slideToggle not sliding the target
2015-06-17 16:06:47 +02:00
Hendrik Leppelsack
e8507372e3
let buttons hide the sidebar
2015-06-16 19:41:20 +02:00
Lukas Reschke
eec8d776b7
Align recommended settings
...
This aligns the recommended setting with the max-age of `15768000` as described in our documentation. Furthermore it fixes some logical problems with the code, unit tests has been added as well.
Fixes https://github.com/owncloud/core/issues/16673
2015-06-15 10:39:25 +02:00
Hendrik Leppelsack
58afa465f9
fix childs of slideToggle not sliding the target
2015-06-11 18:26:14 +02:00
Morris Jobke
7b7b21d328
Upgrade jquery-migrate to 1.2.1
2015-06-09 09:14:42 +02:00
Morris Jobke
d2f3710ede
Merge pull request #16623 from owncloud/oparoz-fix-file-conflict-preview
...
Get a 96x96 preview for file conflict resolution
2015-06-02 09:36:51 +02:00
Thomas Müller
b522baaaa6
Merge pull request #16650 from owncloud/fix-sqlite-only-setup
...
[setup] Disable buttons only in the case they are present
2015-06-01 12:11:49 +02:00
Morris Jobke
b521109881
[setup] Disable buttons only in the case they are present
...
* fixes #16648
2015-06-01 11:01:42 +02:00
Olivier Paroz
f05ac47eb6
Escape single quotes
2015-05-29 18:34:38 +02:00
Olivier Paroz
6aeaa6954b
Fix for parenthesis
2015-05-29 17:49:26 +02:00
Olivier Paroz
4e364311f1
Get a 96x96 preview for file conflict resolution
2015-05-29 13:49:51 +02:00
Roeland Jago Douma
bf491183c1
Properly format remote recipients
...
* A list of recipients can now be properly formatted with remote shares.
Before the shares where simply shown in full in the "Shared with others"
section.
* Unit tests updated and added
2015-05-27 16:22:34 +02:00
Thomas Müller
07c6e523b1
Merge pull request #16565 from owncloud/add-urandom-check
...
Add check for availability of /dev/urandom
2015-05-26 16:53:11 +02:00
Lukas Reschke
bc6d17ed74
Add check for availability of /dev/urandom
...
Without /dev/urandom being available to read the medium RNG will rely only on the following components on a Linux system:
1. MicroTime: microtime() . memory_get_usage() as seed and then a garbage collected microtime for loop
2. MTRand: chr((mt_rand() ^ mt_rand()) % 256)
3. Rand: chr((rand() ^ rand()) % 256)
4. UniqId: Plain uniqid()
An adversary with the possibility to predict the seed used by the PHP process may thus be able to predict future tokens which is an unwanted behaviour.
One should note that this behaviour is documented in our documentation to ensure that users get aware of this even without reading our documentation this will add a post setup check to the administrative interface.
Thanks to David Black from d1b.org for bringing this again to our attention.
2015-05-26 14:16:07 +02:00
Vincent Petry
d7c18b04bd
Merge pull request #16521 from owncloud/unbold-placeholder-image
...
use normal font weight instead of bold for image placeholders
2015-05-26 12:55:05 +02:00
Roeland Jago Douma
914c74ea9b
Unit tests for #16511
...
Make sure that password is updated on focusout of the password field or
on pressing enter in the password field.
2015-05-22 15:09:21 +02:00
Jan-Christoph Borchardt
79c5790a72
use normal font weight instead of bold for image placeholders
2015-05-22 03:26:30 +02:00
Thomas Müller
54a6ba47c0
Merge pull request #12401 from owncloud/add-limit-parameter-to-getSharewith
...
Remove hard coded limit of 15 from getShareWith
2015-05-19 12:40:37 +02:00
Morris Jobke
176b9674d2
Add hint about additional PHP database modules
...
* fixes #16391
2015-05-18 22:59:35 +02:00
Vincent Petry
d15471abd4
Merge pull request #15738 from rullzer/fix_15611
...
Fix to make sure expiration date is properly set
2015-05-18 11:26:12 +02:00
Roeland Jago Douma
b090a32d23
Reset share dialog values so we start out clean
...
* Unit test
2015-05-18 10:08:09 +02:00
Roeland Jago Douma
efd6fec57d
Fix to make sure expiration date is properly set
...
This did not happen correctly when the password was enforced since a
different code path was taken.
* moved generation of the default date string to separate function
* added unit test
2015-05-18 09:35:47 +02:00
Thomas Müller
2cafbc803a
Merge pull request #16242 from owncloud/use-oc-webroot
...
Use OC.webroot instead of calculating the URL
2015-05-15 18:10:18 +02:00
Craig Morrissey
ca341a8d59
add support for limit request parameter to getShareWith
2015-05-15 18:03:18 +02:00
Lukas Reschke
baa9503442
Use OC.webroot instead of calculating the URL
...
Calculating the URL is error-prone as it doesn't work when for example `public.php` is requested and might even be harmful as it could leak sensitive information.
Since `oc.js` is even available when maintenance mode is available it is better to use the global `OC.webroot` that is not controlled by any user.
2015-05-11 17:01:57 +02:00
Morris Jobke
de04501c97
add max-width of 600px to filepicker
2015-05-06 11:15:48 +02:00
Morris Jobke
e0640a0232
Resize filepicker on window size change
...
* add 20 px space to each direction -> 10px padding to left, right, top and bottom
* fixes #16100
2015-05-06 11:00:23 +02:00
Morris Jobke
c3fb021acf
Merge pull request #16017 from owncloud/proper-update-notification
...
Use OC.Notification for update notifications
2015-05-06 09:28:42 +02:00
Joas Schilling
59c657da53
Merge pull request #15772 from owncloud/issue-15771-dont-restrict-permissions-for-share-owner
...
Do not restrict permissions for the original owner
2015-05-04 15:07:37 +02:00
Morris Jobke
cd516eedcd
Use OC.Notification for update notifications
...
* instead of a static rendering inside PHP use the
JS OC.Notification.showTemporary to hide the
notification after 7 seconds automatically
* fixes #14811
2015-05-03 17:26:03 +02:00
Jan-Christoph Borchardt
4dd8a22e51
also add title to multiselect create new element, fix #15954
2015-05-01 13:47:37 -04:00
Jan-Christoph Borchardt
3dfa05c0d0
add title to multiselect list items so longer group names are visible, fix #15819
2015-04-29 13:53:29 -04:00
Vincent Petry
93cf51389a
Added unit test for reshare by share owner
2015-04-29 10:34:37 +02:00
Joas Schilling
4d53706d4c
Do not restrict permissions for the original owner
2015-04-29 10:34:36 +02:00
Roeland Jago Douma
b971029652
Added unit tests
2015-04-17 09:38:09 +02:00
Roeland Jago Douma
595adfd193
moved from html to $('html') to fix unit tests
2015-04-17 09:38:09 +02:00
Roeland Jago Douma
c456f5dee1
Reset sharedialog values
2015-04-17 09:38:09 +02:00
Jan-Christoph Borchardt
04ca5b8160
remove slow fade animation for remaining tipsy tooltips
2015-04-15 12:25:10 +02:00
Jan-Christoph Borchardt
9332c8c266
remove slow fade animation for tipsy tooltip
2015-04-15 09:10:21 +02:00
Morris Jobke
59efcb63a3
fix filepicker
...
* add ability to filter for mimetype
* fixes #15526
* fixes #11563
2015-04-13 10:38:08 +02:00
Morris Jobke
473d3e14c8
more robust share dialog
2015-04-10 09:12:37 +02:00
Vincent Petry
10ffa3b770
Merge pull request #15512 from owncloud/autoclose-settings-menu
...
Don't stop event execution for menu item click
2015-04-09 19:53:43 +02:00
Morris Jobke
51e4633187
Don't stop event execution for menu item click
...
* fixes #12326 - the settings menu is closed now, because the event is executed
2015-04-09 18:32:33 +02:00
Morris Jobke
b9eaa386c4
Merge pull request #15235 from owncloud/remote-share-hint
...
Hint for remote sharing syntax
2015-04-09 14:54:57 +02:00
Joas Schilling
6f51beac23
Correctly generate the doc link via go.php
2015-04-09 12:30:18 +02:00
Joas Schilling
4a01d5c588
Fix config usage
2015-04-09 12:19:42 +02:00
Jan-Christoph Borchardt
7f237223e5
fix remote share info icon for IE8
2015-04-09 12:11:42 +02:00
Jan-Christoph Borchardt
65dc958418
add admin documentation hints to Federated Cloud Sharing and cron
2015-04-09 12:07:05 +02:00
Jan-Christoph Borchardt
000b09ee7a
add more present info about remote shares, fix layout of inputs
2015-04-09 10:16:29 +02:00
Morris Jobke
78ec7543d5
Fix maintenance refresh interval
...
* fix XMLHttpRequest - send after callback is registered
* check for correct type of value - it's a boolean
* return correct content-type in status.php
2015-04-08 18:02:00 +02:00
Joas Schilling
81ec1c8a1a
Remove hardcoded link to performance docs
2015-04-07 12:25:30 +02:00
Robin McCorkell
4f0abd910c
Merge pull request #15269 from owncloud/migrate-checksetup-and-add-memcache
...
Add check for activated local memcache
2015-03-30 11:24:44 +01:00
Lukas Reschke
397264f361
Add more spacing to the file picker dialog
...
Without this the first `>` looked somewhat off, to test this change go to the personal settings and choose a profile picture in a subfolder.
2015-03-28 14:19:27 +01:00
Lukas Reschke
65202d2a18
Add check for activated local memcache
...
Also used the opportunity to refactor it into an AppFramework controller so that we can unit test it.
Fixes https://github.com/owncloud/core/issues/14956
2015-03-28 13:59:22 +01:00
Morris Jobke
5aa81833f9
Merge pull request #15260 from owncloud/adjust-controls-bar-width
...
adjust controls bar width to not overlay scrollbar
2015-03-27 11:56:22 +01:00
Morris Jobke
a62f38a18b
Merge pull request #15225 from owncloud/make-setups-for-users-that-tend-to-use-owncloud-on-not-proper-machines-a-little-bit-more-secure
...
Add some generic default headers as well via PHP
2015-03-27 09:54:40 +01:00
Jan-Christoph Borchardt
701cb27a9e
fix scrutinizer issues
2015-03-27 09:38:41 +01:00
Jan-Christoph Borchardt
d728b85fdd
adjust controls bar width to not overlay scrollbar
2015-03-27 01:34:55 +01:00
Robin McCorkell
c2909355bf
Merge pull request #14925 from owncloud/ext-mountoptions-ui
...
Mount options GUI for external storage
2015-03-26 21:36:34 +00:00
Lukas Reschke
9d1ce53cb1
Add some generic default headers as well via PHP
2015-03-26 22:32:57 +01:00
Jan-Christoph Borchardt
0d3bea37c3
correct remote share hint
2015-03-26 20:30:51 +01:00
Morris Jobke
0a589d938c
fix enforced password for share in IE8
2015-03-26 20:05:41 +01:00
Bjoern Schiessle
aab5f6b6df
add remote share status to the config
2015-03-26 18:32:46 +01:00
Jan-Christoph Borchardt
d32e3870d2
add hint in Share placeholder on remote share syntax
2015-03-26 18:30:55 +01:00
Jan-Christoph Borchardt
e3d60ee5b0
Merge pull request #14958 from owncloud/dropdown-style
...
popover style for apps and user dropdown menus
2015-03-26 18:07:35 +01:00
Jan-Christoph Borchardt
d1db727d1f
mock up missing elements in the tests
2015-03-26 17:13:50 +01:00
Jan-Christoph Borchardt
e7dcc01017
only move dropdown triangle when navigation is opened, fix timing bug
2015-03-26 17:01:35 +01:00
Jan-Christoph Borchardt
f0b0287333
adjust animations of Share, Versions and others to OC.menuSpeed
2015-03-26 12:21:40 +01:00
Jan-Christoph Borchardt
30b745fc59
reintroduce quick animation for menus
2015-03-26 11:59:30 +01:00
Jenkins for ownCloud
b585d87d9d
Update license headers
2015-03-26 11:44:36 +01:00
Vincent Petry
ca6b715b31
Added ext storage mount options GUI
...
Added option to disable autoscan of external storages
Mount option file system scan is now an int
Move priority field to avoid undefined field in storage options
All input elements inside the storage options block get parsed into
storage options.
Moving the priority field outside prevents it to appear in the storage
config, as expected. It is still parsed by special code.
2015-03-26 11:21:03 +01:00
Jan-Christoph Borchardt
07335c844a
fix log in issue, fix arrow position, make dropdown work in Firefox
2015-03-26 11:12:02 +01:00
Jan-Christoph Borchardt
d7414fbf0d
move triangle of apps dropdown to align with app name triangle
2015-03-26 00:43:11 +01:00
Jan-Christoph Borchardt
095197d1a7
popover style for apps and user dropdown menus
2015-03-26 00:40:30 +01:00
Daniel Hansson
8ee1fa98df
Don't use hardcoded date and time
...
Use local time instead. http://momentjs.com/
2015-03-24 13:41:55 +01:00
Daniel Hansson
946a7c3a83
Use 24h format instead of 12h format
...
Use correct time format in WebUI
2015-03-24 11:20:20 +01:00
Vincent Petry
ce5d2ab7db
Revert "Change to 24H format instead of 12H format"
...
This reverts commit 8279dde97a
.
2015-03-24 11:08:53 +01:00
Daniel Hansson
8279dde97a
Change to 24H format instead of 12H format
...
Update how the time shows in WebUI.
My first PR to core, woha. :)
2015-03-23 22:05:44 +01:00
Morris Jobke
10eeb35167
Merge pull request #15121 from owncloud/email-sent-unbold
...
unbold share email sent notification
2015-03-23 18:57:20 +01:00
Jan-Christoph Borchardt
fd8a134dd2
unbold share email sent notification
2015-03-23 16:53:20 +01:00