Commit Graph

1687 Commits

Author SHA1 Message Date
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