Commit graph

1763 commits

Author SHA1 Message Date
Jan-Christoph Borchardt
cee7bfef16
filepicker: improve layout and style
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2016-10-19 14:18:21 +02:00
Robin Appelman
14f78369d7
Use a table for the filepicker list and add size column
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-19 14:18:21 +02:00
Robin Appelman
590016a978
use fileclient to get the filelist for the filepicker
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-19 14:18:21 +02:00
Robin Appelman
b6ce73cf14
Allow selecting a folder after using the breadcrumb
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-19 14:18:21 +02:00
Robin Appelman
f002a2d2f6
Allow selecting the root folder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-19 14:18:19 +02:00
Vincent Petry
361f008c70
Make it possible to filter by tags with REPORT method
Enhanced the REPORT method on the Webdav endpoint and added a
"oc:favorite" filter rule. When set, it will return a flat list of
results filtered with only favorite files.

The web UI was also adjusted to use this REPORT method instead of the
private API endpoint.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-19 11:06:29 +02:00
Jan-Christoph Borchardt
cf5d30387b Merge pull request #1641 from nextcloud/log-in-button
bring back dedicated log in button to make log in more usable
2016-10-17 18:28:27 +02:00
Robin Appelman
6d43942125
filepicker styling
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-14 17:36:08 +02:00
Robin Appelman
8d093e976a
use mimetype icons in filepicker if there is no preview
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-14 17:32:23 +02:00
blizzz
17fa45a292 Merge pull request #1704 from nextcloud/avatar_dropdown
[us] Show avatar in share drop down
2016-10-12 15:38:38 +02:00
Morris Jobke
bf56b8c620 Merge pull request #1702 from nextcloud/fix_tooltip_nc
Use Nextcloud in share tooltip
2016-10-11 20:27:31 +02:00
Morris Jobke
675230f86d Merge pull request #1407 from nextcloud/multiline_comments
Bring back multiline comments
2016-10-11 16:17:51 +02:00
Thomas Müller
e6b51cb54c
[9.2] Show avatar in share drop down (#25976)
* Show avatar in share drop down

* Fix share autocomplete vertical align with avatar

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-11 15:53:27 +02:00
Roeland Jago Douma
09eac6b96b
Use Nextcloud in share tooltip
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-11 14:53:40 +02:00
Roeland Jago Douma
de69f7a899
Fix HTML
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-10 12:57:57 +02:00
Morris Jobke
2d507c4144
align layout of other link shares
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-10 12:53:14 +02:00
Roeland Jago Douma
8d1e6eb9b2
Display link reshares
* No longer filterout all other link shares
* Display link shares in shareelist (below normal shares)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-10 12:53:14 +02:00
Jan-Christoph Borchardt
3141680feb bring back dedicated log in button to make log in more usable 2016-10-06 16:48:10 +02:00
Morris Jobke
6d688e89c1 Merge pull request #1453 from nextcloud/do-not-reload-if-connection-lost
do not reload the page if the server is (temporarily) unreachable
2016-10-06 14:58:02 +02:00
Roeland Jago Douma
c5d24a6b07
Add autosize 2016-10-04 13:04:54 +02:00
Christoph Wurst
5ae6d62811
do not reload the page if the server is (temporarily) unreachable 2016-10-03 10:24:47 +02:00
Roeland Jago Douma
092eae4966
Move options to the right 2016-10-03 09:06:52 +02:00
Roeland Jago Douma
e343d6fb01
can share => can reshare 2016-10-03 09:06:52 +02:00
Roeland Jago Douma
5cda383460
Make can edit checkbox work for file shares 2016-10-03 09:06:51 +02:00
Christoph Wurst
7533fcb977
move unshare button out of popover menu; keep menu opened on re-render 2016-10-03 09:06:51 +02:00
Christoph Wurst
1181ac14f7
move sharing options into popover menu 2016-10-03 09:06:51 +02:00
Vincent Petry
f07d146644
Display "Share" alt text for share action icon (#26158)
Downstreaming of https://github.com/owncloud/core/pull/26158

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 10:30:11 +02:00
Simon Eisenmann
c80c5ad958 Fixup getURLParameter behavior
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 ('').
2016-09-16 16:11:08 +02:00
Simon Eisenmann
1e9d523046 Return '' instead of 'null'
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.
2016-09-16 16:11:01 +02:00
Simon Eisenmann
1a240a23e5 Pass redirect_url through setup form
When accessing a 'not set up' Nextcloud with a redirect_url parameter
the parameter will is added to the setup POST request, resulting in the
requested redirect after setup is complete.

This is required in scenarios where Nextcloud is used as authorization
provider like on the Spreedbox to allow redirection to the required page
when normally a login form would be shown but the setup form is shown
instead.
2016-09-13 12:32:17 +02:00
Sujith Haridasan
c15ba6ccf8
Choose button remains disbaled for httpd/unix-directory
This is not correct. Hence in this patch we validate
if the mimetype is 'httpd/unix-directory'. If so we
don't disable it.

This patch addresses solution for issue: 26034

Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com>
2016-09-12 16:46:15 +02:00
Lukas Reschke
06fa486706 Merge pull request #1158 from nextcloud/cache_avatars
Cache avatars
2016-09-05 15:08:43 +02:00
Joas Schilling
fe9ffd29a7
Always use the js console when available 2016-09-05 11:25:47 +02:00
Joas Schilling
ee1c1b39b2
Update live timestamps to give a more live feeling 2016-09-01 09:02:36 +02:00
Morris Jobke
da1c51882b
update to proper icons and run occ command to update JS file 2016-08-30 10:33:43 +02:00
Roeland Jago Douma
14136295b7
Cache avatars properly
* Set proper caching headers for avatars (15 minutes)
* For our own avatar use some extra logic to invalidate when we update
2016-08-30 09:00:16 +02:00
Christoph Wurst
907e832de4 Merge pull request #1115 from nextcloud/fix_146
Link 'Allow editing' => 'Allow upload and editing'
2016-08-29 19:48:51 +02:00
Joas Schilling
8dd5bbe7fe Merge pull request #1135 from nextcloud/choose-buttons
Choose button remains disabled unless files are chosen
2016-08-29 15:51:54 +02:00
Sujith Haridasan
14c81f8a3a
Choose button remains disabled unless files are chosen
from filepicker

This is will help user to understand that you can only
click choose button once the files are selected from the
file picker. This addresses the solution for issue 16106

Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com>
2016-08-29 14:25:26 +02:00
Vincent Petry
e8c2d62c6b
Users page lazy multiselect group dropdowns
Instead of pre-rendering all multiselects with lots of group entries,
the current groups are now displayed as simple labels.
Behind the labels there is a pencil icon like for other fields.
When clicking the pencil icon, the dropdown will be spawned and will
open itself.
Upon closing of the dropdown, the label comes back with the updated
selection and the dropdown is destroyed.
2016-08-29 13:34:13 +02:00
Roeland Jago Douma
8fca6d21a6
Link 'Allow editing' => 'Allow upload and editing'
Fixes #146
2016-08-28 21:50:31 +02:00
Lukas Reschke
ccbbf61ed6 Merge pull request #968 from Faldon/fixing_spinner_animation
Fixing infinite spinner animation
2016-08-27 22:43:03 +02:00
Arthur Schiwon
9b01574465
adjust js tests 2016-08-25 13:47:14 +02:00
Arthur Schiwon
44f3fcc187
fix internal links in security & setup warnings, resolves #1048 2016-08-25 13:24:50 +02:00
Roeland Jago Douma
fc6e8bdf3f Merge pull request #1000 from nextcloud/mail_icon_share
Make e-mail icon visible
2016-08-22 09:13:56 +02:00
Roeland Jago Douma
4cc908bf9b
Make e-mail icon visible
Fixes #996

* Make mail icon visible
* Opacity to .5
* Add tooltip
2016-08-21 14:37:08 +02:00
Roeland Jago Douma
555ea93b1c
Fix some jshint issues in core/js/share* 2016-08-19 21:03:25 +02:00
Lukas Reschke
365797d4b4 Merge pull request #964 from nextcloud/master-aedae12db5ebfaf56bec91b736fb8a569cecf16f
[master] In cases where the server dictates the link share expiration…
2016-08-19 12:16:56 +02:00
Thomas Pulzer
58f9340d93 Fixing infinite spinner animation
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
2016-08-19 10:50:51 +02:00
Thomas Müller
497ae34e88
[master] In cases where the server dictates the link share expiration the date is not updated on consequitive changes and enable/disable actions 2016-08-19 10:24:52 +02:00
Roeland Jago Douma
a774efb0f9
Update mimetypes 2016-08-19 09:55:38 +02:00
Morris Jobke
8e08b8c04e Revert "Fixing infinite spinning animation on user menu ctrl+click" 2016-08-18 11:46:00 +02:00
Morris Jobke
3e7710c0d8 Merge pull request #778 from nextcloud/Faldon-user_menu_ui
Fixing infinite spinning animation on user menu ctrl+click
2016-08-18 08:40:13 +02:00
Faldon
14bf180837 Removed debug code. 2016-08-11 16:43:07 +02:00
Thomas Pulzer
b2b7fa4854 Fixed user and main menu closing on right mouse button click.
Fixed wrong variable assignment when trying to open link in new window.
2016-08-11 07:22:13 +02:00
Lukas Reschke
7e23351bf0 Merge pull request #677 from nextcloud/app-menu-fix
Fix closing app menu on mobile
2016-08-10 00:28:04 +02:00
Roeland Jago Douma
7a4e5d8f40
Open exiration date picker directly on toggle 2016-08-09 19:55:58 +02:00
Thomas Pulzer
c5033670d5
Changed app and user menu delegates to mousedown events.
Added proper handling of primary mouse button click with and without ctrl-/meta-key modifier.
Added handlig of middle mouse button click.
2016-08-09 11:58:32 +02:00
Thomas Pulzer
8c9961aa22
Added OS X meta key check for stopping spinning animation in app and user menu. 2016-08-09 11:58:32 +02:00
Thomas Pulzer
1ab9477ac1
Fixed user menu to not show spinner on ctrl+click.
Fixes #616
2016-08-09 11:58:32 +02:00
Jan-Christoph Borchardt
835dc59d6a reduce info on update screens, introduce button to refresh 2016-08-04 12:48:25 +02:00
Vincent Petry
0f3674a446
Group incoming shares for resharing in JS 2016-08-03 10:16:28 +02:00
Julius Haertl
6b807af619
Fix closing app menu on mobile 2016-07-31 11:57:03 +02:00
Julius Haertl
217b52085d
Fix javascript tests for sidebar animation 2016-07-30 16:30:05 +02:00
Julius Haertl
fdcba04c98
Add animation to app-content 2016-07-30 16:24:04 +02:00
Jan-Christoph Borchardt
fe8d13c935 slight animation for the sidebar for better feedback what happens 2016-07-29 12:08:12 +02:00
Robin Appelman
03c17ff614 dont load filelist previews if we know we dont have one 2016-07-27 12:59:43 +02:00
Morris Jobke
8c7d7d7746 Merge pull request #507 from nextcloud/run-le-script
Update emails and license headers with latest changes
2016-07-21 23:27:15 +02:00
William Bargent
6da54a6987 Merge pull request #374 from lpszBuffer/master
Alters 'No Internet Connection' error message. #181
2016-07-21 18:55:58 +01:00
Joas Schilling
0215b004da
Update with robin 2016-07-21 18:13:58 +02:00
Joas Schilling
ba87db3fcc
Fix others 2016-07-21 18:13:57 +02:00
Derek
b236100619 Alters 'No Internet Connection' error message. #181 2016-07-20 19:12:10 -05:00
Lukas Reschke
020a2a6958 Merge pull request #476 from nextcloud/port-same-site-cookies
[master] Port Same-Site Cookies to master
2016-07-20 21:35:02 +02:00
Roeland Douma
9f219f55f2 Merge pull request #467 from nextcloud/use-clipboard-api
Use clipboard api
2016-07-20 20:11:08 +02:00
Lukas Reschke
a299fa38a9
[master] Port Same-Site Cookies to master
Fixes https://github.com/nextcloud/server/issues/50
2016-07-20 18:37:57 +02:00
Morris Jobke
032e6b1701 Merge pull request #473 from nextcloud/ux-improvement-share-dialog
only show additional edit permissions for folders
2016-07-20 18:34:55 +02:00
Bjoern Schiessle
77d2338bd2
only show additional edit permissions for folders 2016-07-20 15:24:51 +02:00
Thomas Müller
4d67429cf0
Use an icon to set the email instead of a button with string 2016-07-20 15:07:46 +02:00
Thomas Müller
daaa3ded8d
Add clipboard button to public share link 2016-07-20 15:07:41 +02:00
Joas Schilling
45c99c226b
Fix the HTML encoding when uploading a folder in FF when using french l10n 2016-07-20 13:03:27 +02:00
Joas Schilling
1df65e9872
Don't need update permissions on hidden files 2016-07-14 10:25:53 +02:00
Joas Schilling
7b62a8de05
Add delete permissions to the default (new in oc9.1) 2016-07-14 10:25:24 +02:00
Morris Jobke
2eb48426af
Use tooltip for background jobs info tooltip 2016-07-13 13:01:17 +02:00
Morris Jobke
ba16fd0d33 Merge branch 'master' into sync-master 2016-07-07 11:29:46 +02:00
Hendrik Leppelsack
61e604c2d9 adjusts tests to removal of svg fallback 2016-07-01 16:36:37 +02:00
Hendrik Leppelsack
c47833718f remove svg classes 2016-07-01 16:36:37 +02:00
Hendrik Leppelsack
11be3d6276 remove png references in core 2016-07-01 16:36:37 +02:00
Hendrik Leppelsack
bc5c89e9c0 remove javascript png fallback for svg 2016-07-01 16:36:37 +02:00
Vincent Petry
ba95297c5c Merge pull request #25262 from owncloud/fed-sharing-error
Only save federated share after remote server is notified
2016-07-01 16:20:39 +02:00
Morris Jobke
b6397ef73a Merge pull request #236 from nextcloud/master-sync-upstream
[Master] sync upstream
2016-06-28 09:02:03 +02:00
Lukas Reschke
6670d37658 Merge remote-tracking branch 'upstream/master' into master-sync-upstream 2016-06-27 18:23:00 +02:00
Vincent Petry
199c8e304c Merge pull request #25250 from owncloud/linkshare-includedeletewithuploadperms
Add explicit delete permission to link shares
2016-06-27 12:14:05 +02:00
Lukas Reschke
27b699bdbc Migrate logic to dynamic controller
Also adds support for having custom login backgrounds
2016-06-27 10:26:23 +02:00
Vincent Petry
93f29f57c5 Merge pull request #25129 from owncloud/remove-ie
Remove ie8+9 support
2016-06-27 10:20:47 +02:00
Lukas Reschke
7a9d60d87e
Merge remote-tracking branch 'upstream/master' into master-upstream-sync 2016-06-26 12:55:05 +02:00
Robin Appelman
ee674844f2 better detect errors in fed sharing response 2016-06-24 15:56:33 +02:00
Vincent Petry
955635c7aa Add explicit delete permission to link shares
Link shares always allowed deletion, however internally the permissions
were stored as 7 which lacked delete permissions. This created an
inconsistency in the Webdav permissions.

This fix makes sure we include delete permissions in the share
permissions, which now become 15.

In case a client is still passing 7 for legacy reasons, it gets
converted automatically to 15.
2016-06-24 09:48:48 +02:00
Vincent Petry
dc78d26f2a Merge pull request #25239 from owncloud/setupchecks-preventreload
Don't reload page in case of auth errors during setup checks
2016-06-24 09:47:55 +02:00
Hendrik Leppelsack
e5d8726859 remove ie8+9 support 2016-06-23 12:34:53 +02:00
Vincent Petry
97f1813695
Don't reload page in case of auth errors during setup checks
If an error occurs during setup checks, do not let the global ajax
error handler reload the page.
2016-06-23 11:54:49 +02:00