Tom Needham
e3ae453ee5
Fix line lengths in share dialog unit tests
2015-10-21 13:30:42 +00:00
Tom Needham
8a6d22d751
Add JS tests for share autocompletion handling
2015-10-21 12:46:08 +00:00
Joas Schilling
a0437591db
Use the normal OC.menu JS for handling the Settings menu
2015-10-21 13:59:30 +02:00
Tom Needham
2ca5b1aa1f
Add test for remote share info tooltop
2015-10-21 10:00:29 +00:00
Vincent Petry
89e3860e1a
Disable app icon preview in apps page for IE
...
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.
2015-10-21 10:50:06 +02:00
Vincent Petry
1e64968ff7
Allow leaving update page when errors occurred
2015-10-20 13:29:44 +02:00
Vincent Petry
06ddd40886
Prevent leaving the DB update page while in progress
2015-10-20 13:28:48 +02:00
Christoph Wurst
9778094a25
fix filepicker loading spinner
2015-10-19 23:43:12 +02:00
Vincent Petry
90e34e26bd
Fix spinner positions in share tab
...
Also fix missing spinner when removing link share
2015-10-16 15:54:27 +02:00
Vincent Petry
3af2ad0cd9
Fix DOM element ids in share dialog
...
- Rely on class names instead of global ids
- When global ids are needed for label+checkbox, append the view id
(cid) to the element's id
This fixes the checkboxes when multiple sidebars exist in the DOM.
2015-10-16 10:54:45 +02:00
Thomas Müller
8d5aff9db5
Merge pull request #19631 from owncloud/share-emailsenterror
...
Fix share email sending feedback
2015-10-14 12:51:32 +02:00
Thomas Müller
a83e003ae3
Merge pull request #19645 from owncloud/file-conflict-disablecontinue
...
Disable "Continue" button in conflict dialog when no selection
2015-10-14 12:39:37 +02:00
Thomas Müller
f34b97bc98
Merge pull request #19699 from owncloud/hutchic-issue-18241-reload-page-link
...
refs #18241 Make the 'please reload this page' a clickable link
2015-10-14 12:39:19 +02:00
Morris Jobke
2f9f963616
[update] show default error message if empty message
2015-10-14 09:41:47 +02:00
Colin Hutchinson
f49c1039c4
refs #18241 Make the 'please reload this page' a clickable link
2015-10-10 14:14:01 -04:00
Vincent Petry
c7aef6c368
Fix uploading avatar and root certs in IE8
2015-10-09 11:19:05 +02:00
Morris Jobke
3c005bc020
Check .conflicts for checkboxes
2015-10-08 17:13:28 +02:00
Roeland Jago Douma
08600a7ed5
Add unit tests for sending e-mail for link shares
2015-10-08 16:39:25 +02:00
Vincent Petry
4bf19d4472
Fix share email sending feedback
...
Redisplay email address after failure
2015-10-08 16:39:12 +02:00
Vincent Petry
cba1aae073
Disable "Continue" button in conflict dialog when no selection
2015-10-08 12:27:33 +02:00
Thomas Müller
0385a62363
Merge pull request #19597 from owncloud/update-license-headers
...
update licence headers via script
2015-10-06 11:18:35 +02:00
Morris Jobke
b519965408
[admin] check for correct PHP memcached module
2015-10-06 08:51:47 +02:00
Thomas Müller
ea72d90617
Merge pull request #19553 from owncloud/properly_format_date_shareview
...
Use DD-MM-YYYY consistently in share sidebar
2015-10-05 22:02:12 +02:00
Morris Jobke
b945d71384
update licence headers via script
2015-10-05 21:15:52 +02:00
Roeland Jago Douma
8c459a895d
Do not remove linkshare if there is none
...
If the password is enforced we can't create a link share right away but
just show the password field. Untoggling the link sharing should not try
to remove the share.
* Added unit test
2015-10-05 21:12:27 +02:00
Thomas Müller
681ab05e4d
Merge pull request #19539 from owncloud/fix-multiselect-overlap-shorter
...
Fix filelist size issues, breadcrumb, multiselect
2015-10-05 09:48:31 +02:00
Roeland Jago Douma
96deeca34d
Use DD-MM-YYYY consistently in share sidebar
...
We used to display the response from the server. Which is in non ISO8601
format. Now this is weird since the datepickers shows us 'DD-MM-YYYY'
once a date is chosen.
Now use momentJS to properly format the date.
* Unit tests updated
2015-10-04 11:38:29 +02:00
Vincent Petry
f135128664
Fix filelist size issues, breadcrumb, multiselect
...
- 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
2015-10-02 18:03:48 +02:00
Thomas Müller
ff89824135
Merge pull request #19272 from owncloud/mimetypes-enhanced
...
Introduce a few new mimetypes for code, fix recursive mimetype aliases
2015-10-02 17:50:34 +02:00
Vincent Petry
1562da3691
Focus on share field after first display
2015-10-02 16:39:27 +02:00
Roeland Jago Douma
57ceee13a9
Updated some mimetypes
...
* c++ and cpp now both map to code
2015-10-02 15:28:23 +02:00
Robin McCorkell
aeb20675dd
Allow recursive mimetype aliases
...
application/xml -> text/html -> text/code
2015-10-02 15:28:23 +02:00
Robin McCorkell
cd7aff47e1
Introduce a few new mimetypes for code
2015-10-02 15:28:23 +02:00
Thomas Müller
594a3e4e22
Merge pull request #19523 from owncloud/fix-seconds-ago
...
Fix moment.js "a few seconds ago" with "seconds ago"
2015-10-02 14:11:46 +02:00
Morris Jobke
4b3a5a257f
Fix moment.js "a few seconds ago" with "seconds ago"
...
* fixes #18627
2015-10-02 10:51:51 +02:00
Vincent Petry
5dff9d88cb
Make sure the conflict dialog is loaded before adding conflicts
2015-10-02 09:55:43 +02:00
Thomas Müller
eeac6e2ab1
Merge pull request #19454 from owncloud/ie8-madness-returns
...
[IE8] Fix file type sizes and popover menus in file list
2015-09-30 15:15:38 +02:00
Thomas Müller
67609699bc
Merge pull request #19443 from owncloud/sharedialog-passworderror
...
Fix share link password error
2015-09-30 11:08:04 +02:00
Vincent Petry
dbb6692468
[IE8] Fix filetype icon sizes
...
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.
2015-09-29 18:28:31 +02:00
Olivier Paroz
a1c419dc71
Use Hermite resampling for comparator canvas previews
2015-09-29 16:35:24 +02:00
Vincent Petry
8def1383c8
Fix share link password error
...
- only allow submitting the password once, single request
- display error in tooltip
2015-09-29 15:30:01 +02:00
Thomas Müller
037cce7f05
Merge pull request #19418 from owncloud/fix-parsehashquery
...
Consider both hash params and query when parsing URL
2015-09-29 13:21:34 +02:00
Vincent Petry
71dabc6c13
Consider both hash params and query when parsing URL
2015-09-28 18:37:40 +02:00
Vincent Petry
a823a79f12
Show loading spinner for first fetch of shares
...
Whenever the sidebar first loads shares, show a spinner instead of an
empty content
2015-09-28 15:57:57 +02:00
Thomas Müller
4d8be8822c
Merge pull request #19363 from owncloud/checkboxes-sidebar
...
Restyle checkboxes in sidebar
2015-09-28 10:54:55 +02:00
Hendrik Leppelsack
0ae931ed57
fix sidebar spinner
2015-09-25 20:48:47 +02:00
Hendrik Leppelsack
2ee36dc4de
restyle checkboxes in sidebar
2015-09-25 11:54:26 +02:00
Hendrik Leppelsack
604f5783fd
fix multiselect
2015-09-25 00:51:39 +02:00
Thomas Müller
846b826867
Merge pull request #18517 from owncloud/17753_to_master
...
Fix preview of old file on public upload conflicts
2015-09-24 15:20:00 +02:00
Thomas Müller
d7a923671f
Merge pull request #19305 from owncloud/share-hasusershares
...
Fix ShareItemModel.hasUserShares to only check shares of current item
2015-09-24 14:57:23 +02:00
Vincent Petry
76e30d0df7
Expiration date was always a string
2015-09-24 12:21:19 +02:00
Vincent Petry
0db9b28f3f
Fix ShareItemModel.hasUserShares to only check shares of current item
...
The shares array is based on what the server returns and can contain
share info for parent folders.
hasUserShares is now fixed to ignore parent folders and only checks for
shares on the current item.
2015-09-23 14:41:13 +02:00
Vincent Petry
6ea27e2b03
Fix parsing int attributes from share.php response
...
Sometimes the attributes returned by share.php are integers but packaged
as strings.
This fix makes sure that such attributes are parsed as integers
2015-09-23 12:16:47 +02:00
Thomas Müller
0c283dc020
Merge pull request #19220 from individual-it/fix_19164
...
re initialize OC.Share.currentShares OC.Share.itemShares
2015-09-23 11:41:20 +02:00
Thomas Müller
53a167eae9
Merge pull request #19279 from owncloud/share-fixbogusentry
...
Fix bogus entry that appears when switching with arrow keys
2015-09-23 11:30:50 +02:00
Hendrik Leppelsack
3f0a870908
implement builder pattern in tipsy shim
2015-09-23 09:27:44 +02:00
Vincent Petry
03ca76f54f
Fix bogus entry that appears when switching with arrow keys
2015-09-22 17:16:20 +02:00
Lukas Reschke
4201f59402
Update mimetypes
2015-09-22 16:43:29 +02:00
Individual IT Services
976942bb61
re initialize OC.Share.currentShares OC.Share.itemShares
...
otherwise old values are kept.
fix for #19164
2015-09-21 17:01:50 +05:45
Hendrik Leppelsack
964cfc8e08
fix missing checkboxes in file comparator
2015-09-21 12:57:34 +02:00
Olivier Paroz
04b14df35c
Fix preview of old file on public upload conflicts
2015-09-20 12:38:21 +02:00
Olivier Paroz
9776d60b57
Typo
2015-09-19 10:34:19 +02:00
Thomas Müller
08ae1e8183
Merge pull request #19008 from owncloud/jquery_avatar_tests
...
JS tests for jquery.avatar
2015-09-18 17:31:18 +02:00
Hendrik Leppelsack
7c80c8e484
fix missing checkboxes in share dialog
2015-09-17 16:25:10 +02:00
Vincent Petry
6141ea12b1
Port share.css styles to the sidebar panel
2015-09-16 07:23:29 +02:00
Vincent Petry
36e452a472
Fix cruds button in share dialog
...
Only toggle the current row
2015-09-16 07:23:29 +02:00
Vincent Petry
02d68d0613
Removed obsolete tests
2015-09-16 07:23:29 +02:00
Vincent Petry
f439c07ba9
Fix allow reshare for owner when sharing with self through group
2015-09-16 07:23:29 +02:00
Vincent Petry
996639f4fb
More unit tests for share dialog
2015-09-16 07:23:29 +02:00
Vincent Petry
886f1ed660
Update JS unit tests for share dialog (WIP)
2015-09-16 07:23:29 +02:00
Vincent Petry
41f16e821a
Remove unused/obsoleted OC.Share code
...
The sharing dialog has been moved to ShareDialogView
2015-09-16 07:23:29 +02:00
Vincent Petry
1933bcfa92
Implement email autocomplete for link share
2015-09-16 07:23:29 +02:00
Vincent Petry
62ff78787a
Implement email share link
2015-09-16 07:23:29 +02:00
Vincent Petry
aeee19b3f2
Implement "notify by email" checkbox in share dialog
2015-09-16 07:23:29 +02:00
Vincent Petry
e0a2004f4c
Clear field after adding user
2015-09-16 07:23:28 +02:00
Vincent Petry
06b11dd602
Fix shares list events
...
Some events need preventing default like unshare, but setting
permissions doesn't.
2015-09-16 07:23:28 +02:00
Vincent Petry
e90065881d
Bring back the share icon and update its status
...
Display share icon in file list row.
Update share icon status when the sharing state changed.
2015-09-16 07:23:28 +02:00
Vincent Petry
8194d092e7
Add expiration date handling in share tab
2015-09-16 07:23:28 +02:00
Arthur Schiwon
c2ff2ca982
cleanup
2015-09-16 07:23:28 +02:00
Arthur Schiwon
a0fa7186f5
make permission/cruds checkboxes work
2015-09-16 07:23:28 +02:00
Arthur Schiwon
c7453b4db1
toggle visibility of detailed cruds permissions
2015-09-16 07:23:28 +02:00
Arthur Schiwon
d4bbc062be
cleanup
2015-09-16 07:23:28 +02:00
Arthur Schiwon
a5b0ea031d
make unshare work
2015-09-16 07:23:28 +02:00
Arthur Schiwon
7ae84e0e5c
make 'Allow editing' (aka public upload) checkbox work
2015-09-16 07:23:28 +02:00
Arthur Schiwon
6d832359b6
fix allow upload checkbox appeareance
2015-09-16 07:23:28 +02:00
Arthur Schiwon
9fe6d7c568
implements setting and removing password for link shares, including forced ones
2015-09-16 07:23:28 +02:00
Arthur Schiwon
5dfaa0c82d
mark url on click
2015-09-16 07:23:27 +02:00
Arthur Schiwon
f29b51682b
share and unshare via link (not yet password). also some internal changes to reduce unnecessary rendering
2015-09-16 07:23:27 +02:00
Arthur Schiwon
4c702aa8fd
format groups and remotes in autocomplete list
2015-09-16 07:23:27 +02:00
Arthur Schiwon
258a2e2696
now you even can share
2015-09-16 07:23:27 +02:00
Arthur Schiwon
858a2a4e6c
display expiration info
2015-09-16 07:23:27 +02:00
Arthur Schiwon
ce1b0c650e
show link share
2015-09-16 07:23:27 +02:00
Arthur Schiwon
5dc2c35ce5
fixed set of possible permissions for remote shares
2015-09-16 07:23:27 +02:00
Arthur Schiwon
60abfcdab1
old OC.Share.addShareWith now reimplemented
2015-09-16 07:23:27 +02:00
Arthur Schiwon
44ecdde10d
sharee list view: better handle collections
2015-09-16 07:23:27 +02:00
Arthur Schiwon
5db1db38ef
continue to reimplement sharee list view. still WIP
2015-09-16 07:23:27 +02:00
Arthur Schiwon
c17d022ca4
started to implement sharee list view. not completed yet, do not cry please.
2015-09-16 07:23:27 +02:00
Arthur Schiwon
f62a3be590
cleanup
2015-09-16 07:23:26 +02:00
Arthur Schiwon
755d4016b1
set default value and remove now superflous method
2015-09-16 07:23:26 +02:00
Arthur Schiwon
f2fb20ed1c
no auto-fetch in model
2015-09-16 07:23:26 +02:00
Arthur Schiwon
fdb95613e9
simplification, and throwing where throwing is needed
2015-09-16 07:23:26 +02:00
Arthur Schiwon
6af6024e17
integraton noshare part into ShareDialogLinkShareView
2015-09-16 07:23:26 +02:00
Arthur Schiwon
8f3884145e
less stupid initalization of subviews
2015-09-16 07:23:26 +02:00
Arthur Schiwon
ffd4e0dc5a
split off expirationView
2015-09-16 07:23:26 +02:00
Arthur Schiwon
f9c232c4ce
split off linkShareView
2015-09-16 07:23:26 +02:00
Arthur Schiwon
277b786886
ShareDialogResharerInfoView improvements
2015-09-16 07:23:26 +02:00
Arthur Schiwon
dcb084a617
split ShareDialogResharerInfoView from base view
2015-09-16 07:23:26 +02:00
Arthur Schiwon
1bd6942be7
show tooltips and load avatar
2015-09-16 07:23:25 +02:00
Arthur Schiwon
e3fd96fa8e
improve doc
2015-09-16 07:23:25 +02:00
Arthur Schiwon
a57ff13a23
move remaining global settings to configModel
2015-09-16 07:23:25 +02:00
Arthur Schiwon
83d91ddf20
further work on reimplementing the dialog layout
2015-09-16 07:23:25 +02:00
Arthur Schiwon
b015eff2e9
improve reshare rendering part and move permission calculation to model
2015-09-16 07:23:25 +02:00
Arthur Schiwon
97b5fe0b1e
switch to async item loading, take care stuff is updated subsequently
2015-09-16 07:23:25 +02:00
Arthur Schiwon
e6edc3e05d
make loadItems work async if a callback is provided
...
not beautiful, but good enough. share.js will not be around too much longer.
2015-09-16 07:23:25 +02:00
Arthur Schiwon
7971bc1ac0
model now extends Backbone's model and isadjusted
2015-09-16 07:23:25 +02:00
Arthur Schiwon
1651b8212c
started to port the Model to Backbone`s
2015-09-16 07:23:25 +02:00
Arthur Schiwon
ea6e380efe
remove possibly unreliable code and fix JSdoc
2015-09-16 07:23:25 +02:00
Arthur Schiwon
e7b5921206
share dialog view takes advantage of OC.Backbone.View
2015-09-16 07:23:25 +02:00
Arthur Schiwon
edd163a611
refactor share dialog for multi-purpose use (dropdown, sidebar) and better maintainability
2015-09-16 07:23:25 +02:00
Lukas Reschke
f2d63d3518
Disable automatic evaluation of responses
...
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.
2015-09-15 11:42:13 +02:00
Lukas Reschke
cd90685af1
Do not add sensitive request headers for cross domain requests
...
Prevents leaking the CSRF token to another third-party domain by mistake.
2015-09-15 11:42:13 +02:00
Roeland Jago Douma
1601e8acfe
Added js tests for jquery.avatar
...
* Ceil avatar request size
2015-09-14 10:17:24 +02:00
Jan-Christoph Borchardt
d03db5ac0d
Merge pull request #18682 from owncloud/quota-select-style
...
Makes settings quota select like multiselect.
2015-09-03 00:36:11 +02:00
Jan-Christoph Borchardt
a55f81e774
use proper triangle for multiselect dropdowns as well
2015-09-03 00:35:09 +02:00
Vincent Petry
a808837ec9
Add apps unit test
2015-08-30 17:14:57 +02:00
Vincent Petry
7303b68577
Fix controls bar calculation
...
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".
2015-08-28 12:23:57 +02:00
Lukas Reschke
a93d4d5bf6
Merge pull request #18609 from owncloud/login-layout
...
log in screen improvement & simplification
2015-08-27 23:25:52 +02:00
Jan-Christoph Borchardt
cea3247d49
show feedback spinner for log in process
2015-08-27 21:08:46 +02:00
Jan-Christoph Borchardt
1a8f921a3d
simpler style for filetype icons
2015-08-27 19:20:49 +02:00
Morris Jobke
202af1e322
fix unit tests
2015-08-26 11:39:22 +02:00
Jan-Christoph Borchardt
898243a5ee
fix share icons of shared items being placed off on mobile
2015-08-26 10:27:55 +02:00
Jan-Christoph Borchardt
a262be5141
Merge pull request #18550 from owncloud/mobile-shared-style
...
fix being able to distinguish shared items on mobile
2015-08-25 17:08:34 +02:00
Jan-Christoph Borchardt
cc898cf346
fix being able to distinguish shared items on mobile
2015-08-25 14:45:39 +02:00
Vincent Petry
a86602a157
Properly hide sidebar when switching between files app sections
...
Since there are multiple sidebars, one for each files app section, we
need to hide the correct ones.
2015-08-25 11:07:47 +02:00
Morris Jobke
2817eecf19
Fix regression
...
* fixes #18529
2015-08-24 17:38:32 +02:00
Morris Jobke
e88b380973
Remove DEBUG constant and use config value
...
* introduces config.php option 'debug' that defaults to false
* migrate DEBUG constant to config value
2015-08-24 15:14:05 +02:00
Lukas Reschke
84d1e36ff9
Remove requesttoken for avatars
...
First step for https://github.com/owncloud/core/issues/11915
2015-08-23 16:49:12 +02:00
Hasso Tepper
acc5a7d6cc
Make short versions of weekday/month names translatable
2015-08-21 10:17:36 +03:00
Roeland Jago Douma
8eefc5c4e1
Move remaining setupchecks to new fomat
2015-08-18 14:42:57 +02:00
Jan-Christoph Borchardt
12eec397e3
Merge pull request #17975 from owncloud/settings_admin_warning_levels
...
Settings admin warning levels
2015-08-18 13:38:08 +02:00
Jan-Christoph Borchardt
4e53b5922d
Merge pull request #18178 from owncloud/files-sidebar-actions
...
Sidebar file actions
2015-08-13 17:17:10 +02:00
Jan-Christoph Borchardt
970440f604
Merge pull request #18122 from owncloud/replace-tipsy
...
Replace tipsy with tooltip
2015-08-13 09:12:53 +02:00
Morris Jobke
6f909b19cc
Merge pull request #17785 from owncloud/snapjs-sensitivity
...
fix mobile scrolling, lower sidebar sensitivity, fix #11193
2015-08-12 23:20:08 +02:00
Hendrik Leppelsack
e5444a1a5d
replace tipsys with tooltips
2015-08-12 23:09:49 +02:00
Vincent Petry
aac7c19ab7
Fix showMenu animation callback
2015-08-12 17:28:55 +02:00
Jan-Christoph Borchardt
d04a6bce6f
Merge pull request #17709 from owncloud/fileactions-dropdown
...
Move file actions to dropdown
2015-08-11 15:13:59 +02:00
Vincent Petry
984ae8140d
Fixed file actions menu to close when reclicking trigger
...
FileActionsMenu is now a backbone view.
The trigger and highlight handling is now done in the
FileActions.showMenu() method using events.
2015-08-11 11:35:46 +02:00
Vincent Petry
a5aa03a1a6
Load backbone when running unit tests
2015-08-11 11:35:21 +02:00
Robin McCorkell
2579999373
Add setup check for reverse proxy header configuration
2015-08-10 23:28:16 +01:00
Thomas Müller
9650f3ecbe
Merge pull request #17919 from rullzer/php_supported_check
...
Display warning in security & setup warnings if php version is EOL
2015-08-10 23:03:35 +02:00
Vincent Petry
86e1eaf370
Inline actions using default renderer are now always permanent
...
Default renderer like the favorite icon can decide whether to use the
permanent class or not.
Fixed sharing code to properly update the icon according to sharing
state modifications.
2015-08-10 15:57:21 +02:00
Vincent Petry
ca34921cdf
Implement file actions dropdown
...
File actions now have two types "inline" and "dropdown". The default is
"dropdown".
The file actions will now be shown in a dropdown menu.
2015-08-10 14:12:34 +02:00
Jan-Christoph Borchardt
db40682b1f
fix mobile scrolling, lower sidebar sensitivity, fix #11193
2015-08-07 18:36:27 +02:00
Vincent Petry
604694630b
Set momentJS locale to en during unit test runs
2015-08-07 01:22:45 +02:00
Vincent Petry
ae27f90efe
Fix app-content scrollbar when app-sidebar is open
2015-08-07 01:22:45 +02:00
Arthur Schiwon
a81251454d
fix show/hide app sidebar functions
2015-08-07 01:22:44 +02:00
Arthur Schiwon
5af59c6871
rename sidebar element and use css and js utility functions to core
2015-08-07 01:22:43 +02:00
Arthur Schiwon
67bb5712e4
make available as OC.Backbone to avoid conflicts
2015-08-06 12:08:42 +02:00
Morris Jobke
5699fff889
Merge pull request #17175 from owncloud/add-download-feedback
...
Add loading spinner to download icon
2015-07-30 16:34:35 +02:00
Roeland Jago Douma
8bde72c4bd
All setup messages are now properly types
2015-07-30 09:57:08 +02:00
Roeland Jago Douma
5d15051da4
Allow setupchecks to specify a warning level
2015-07-30 09:57:08 +02:00
Thomas Müller
5ed38a75d6
Remove remainings of mssql
2015-07-29 18:19:31 +02:00
Morris Jobke
81d9066dc5
Merge pull request #17489 from owncloud/fix-share-time-as-string
...
Fix parsing of sharetime as string
2015-07-29 10:15:17 +02:00
Roeland Jago Douma
72ba67815e
Display warning in security & setup warnings if php version is EOL
2015-07-29 10:07:01 +02:00
Lukas Reschke
0d515de13e
Detect old NSS and OpenSSL versions
...
This will detect old NSS and OpenSSL versions and show appropriate errors in the admin interface.
Fixes https://github.com/owncloud/core/issues/17901
2015-07-28 15:32:19 +02:00
Morris Jobke
5a0d410488
tests for _parseTime with hex and empty strings
2015-07-28 14:20:55 +02:00
Morris Jobke
ebfbb97e66
Fix parsing of sharetime as string
...
In some cases the ajax/share.php will return the share time as string.
If this is the case it would get parsed completely wrong and cause the
share dropdown to not work anymore. This change will properly cast the
string to an interger and also fallback if this is not possible.
2015-07-28 08:56:15 +02:00
Morris Jobke
4076f84f88
Merge pull request #17910 from owncloud/fix-modified-tooltip
...
Fix tooltip for modification time
2015-07-28 08:41:26 +02:00
Hendrik Leppelsack
f67477206b
fixed tooltip for modified date
2015-07-27 15:56:03 +02:00
Hendrik Leppelsack
6574dfcf23
remove title option from tipsy shim
2015-07-26 17:22:53 +02:00
Lukas Reschke
56cff46dc3
Add fallback
to shim
...
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
2015-07-25 22:10:21 +02:00
Bernhard Posselt
582f07950f
Merge pull request #17075 from owncloud/bootstrap-tooltip
...
Replace jQuery tipsy with bootstrap tooltip
2015-07-23 19:25:09 +02:00
Thomas Müller
d93535b5cb
Adding error handling in case setting the password fails
2015-07-23 09:39:26 +02:00
Thomas Müller
c00211034d
Merge pull request #17490 from owncloud/fix-closest
...
Fix browser compatibility issue for element.closest()
2015-07-17 14:10:35 +02:00
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