Commit Graph

5842 Commits

Author SHA1 Message Date
Nextcloud bot cb6e16ab5c
[tx-robot] updated from transifex 2016-09-17 00:10:14 +00: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
Roeland Jago Douma e1820a8e4a
Bump handlebars to version 4.0.5 2016-09-16 15:27:56 +02:00
Roeland Jago Douma 6cbde6329f Merge pull request #1405 from nextcloud/update_moment_js
update moment.js to 2.15
2016-09-14 14:33:20 +02:00
Lukas Reschke c5189a93db Merge pull request #1375 from nextcloud/display-that-updating-failed-for-htaccess
Display an error when updating .htaccess failed
2016-09-14 14:26:41 +02:00
Georg Ehrke a097c1af91
update moment.js to 2.15 2016-09-14 13:53:47 +02:00
Nextcloud bot 7ffadc7e26
[tx-robot] updated from transifex 2016-09-14 00:10:31 +00: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
Joas Schilling 1675542df4
Display an error when updating .htaccess failed 2016-09-13 10:51:48 +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
Nextcloud bot 341d4f0c01
[tx-robot] updated from transifex 2016-09-10 00:09:19 +00:00
Nextcloud bot f5aafdc897
[tx-robot] updated from transifex 2016-09-09 00:09:31 +00:00
Roeland Jago Douma e18fecae47 Merge pull request #1297 from nextcloud/catch-exceptions-with-invalid-passwords
Catch the exception of the password policy app
2016-09-08 19:54:27 +02:00
Nextcloud bot b992bf2142
[tx-robot] updated from transifex 2016-09-08 00:10:21 +00:00
Roeland Jago Douma df01bddd92 Merge pull request #1296 from Dominante/gitignore-fix
Fix bug #1293
2016-09-07 16:27:46 +02:00
Tuukka Verho a45a703d49 Remove duplicated line 2016-09-07 11:37:00 +03:00
Joas Schilling 83c46f0541
Fix typo 2016-09-07 09:32:20 +02:00
Joas Schilling c0ecdf6402
Catch the exception of the password policy app 2016-09-07 09:28:42 +02:00
Joas Schilling 0027304b5f Merge pull request #1210 from nextcloud/bump_symfony_console
[3rparty] Bump symfony/console
2016-09-07 09:23:47 +02:00
Your Name baf0d9c709 Fix bug #1293 2016-09-07 09:57:04 +03:00
Nextcloud bot 1110ef52ed
[tx-robot] updated from transifex 2016-09-07 00:09:25 +00:00
Roeland Jago Douma 4b8de8ba8e
Fix dbconvert 2016-09-06 21:20:02 +02:00
Roeland Jago Douma b57a1063a3
Move install over to QuestionHelper 2016-09-06 21:20:02 +02:00
Roeland Jago Douma 25546b6c83
Convert resetpassword to question helper 2016-09-06 21:20:01 +02:00
Roeland Jago Douma a9c6c351cb
Move to question helper 2016-09-06 21:20:01 +02:00
Roeland Jago Douma 1ec5e8a1ab
Switch user:report from deprecated tablehelper to table 2016-09-06 21:20:01 +02:00
Joas Schilling 7c0951244a
Deprecate getEditionString() 2016-09-06 16:05:28 +02:00
Joas Schilling 20b636f382
Also fix "occ status" 2016-09-06 14:13:59 +02:00
Nextcloud bot 5d48809609
[tx-robot] updated from transifex 2016-09-06 00:09:18 +00:00
Roeland Jago Douma 6740c627b8
Move AvatarController over to FileDisplayResponse 2016-09-05 15:11:45 +02:00
Lukas Reschke 06fa486706 Merge pull request #1158 from nextcloud/cache_avatars
Cache avatars
2016-09-05 15:08:43 +02:00
Morris Jobke 8741acf8a6 Merge pull request #1270 from nextcloud/issue-1265-always-use-js-console-when-available
Always use the js console when available
2016-09-05 13:03:02 +02:00
Joas Schilling fe9ffd29a7
Always use the js console when available 2016-09-05 11:25:47 +02:00
Christoph Wurst 8acb734854
add 2fa backup codes app
* add backup codes app unit tests
* add integration tests for the backup codes app
2016-09-05 08:51:13 +02:00
Nextcloud bot 8b484eedf0
[tx-robot] updated from transifex 2016-09-05 00:09:10 +00:00
Nextcloud bot fc02c4a980
[tx-robot] updated from transifex 2016-09-04 00:09:21 +00:00
Nextcloud bot e7f618ef14
[tx-robot] updated from transifex 2016-09-03 00:09:24 +00:00
Nextcloud bot ab876619dc
[tx-robot] updated from transifex 2016-09-02 00:09:11 +00:00
Roeland Jago Douma 1a43aaf8b4 Merge pull request #1219 from coderkun/issue-1110-tabindex
Add attribute “tabindex” to login form (fixes #1110)
2016-09-01 14:15:29 +02:00
Joas Schilling ee1c1b39b2
Update live timestamps to give a more live feeling 2016-09-01 09:02:36 +02:00
Nextcloud bot 4a5cd74fb2
[tx-robot] updated from transifex 2016-09-01 00:09:24 +00:00
coderkun 56862e3fdc Add attribute “tabindex” to login form (fixes #1110) 2016-08-31 21:58:10 +02:00
Lukas Reschke 2685129184 Merge pull request #1188 from nextcloud/2fa-redirect-default-app
redirect to default app after solving the 2FA challenge
2016-08-31 19:46:38 +02:00
Joas Schilling ef34b49e43 Merge pull request #1187 from nextcloud/danysz-master
Update the mime types with the relevant types for "apple-iWorks"
2016-08-30 12:57:43 +02:00
Roeland Jago Douma 83490e90ef Merge pull request #1089 from nextcloud/allow-to-prevent-previews
Check if the file isReadable() before sending a (cached) preview
2016-08-30 11:33:48 +02:00
Christoph Wurst 0a0c7a9b92 redirect to default app after solving the 2FA challenge 2016-08-30 11:10:45 +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
Morris Jobke e341bde8b9 Merge pull request #1172 from nextcloud/core_cleanup
Core controller cleanup
2016-08-30 08:32:55 +02:00
Lukas Reschke 1702abc204 Merge pull request #1169 from nextcloud/2fa-single-provider
redirect to 2fa provider if there's only one active for the user
2016-08-29 21:54:18 +02:00
Roeland Jago Douma b1a090f357
AvatarController use proper JSONResponse
* Do not rely on DataResponse magic. We want JSON so use JSON
* Fix tests
2016-08-29 21:52:14 +02:00
Roeland Jago Douma f6423f74e3
Minor cleanup in core Controllers 2016-08-29 21:52:09 +02:00
Roeland Jago Douma c0ed865ab2
UserController does not require Defaults 2016-08-29 21:14:50 +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
Christoph Wurst 291dd0bd31 redirect to 2fa provider if there's only one active for the user 2016-08-29 18:36:39 +02:00
Joas Schilling 402feb9e13 Merge pull request #1136 from nextcloud/fix-16041
Modified overflow in multiselector
2016-08-29 15:57:33 +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
Joas Schilling 1bcb5cc6dc Merge pull request #1131 from nextcloud/add-padding
Adds padding and max-width to the input for the sign up page. (#25959)
2016-08-29 15:46:59 +02:00
Sergio Bertolín d35db68093
Modified overflow in multiselector 2016-08-29 14:28:00 +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
Raghu Nayyar cdd9b6a694
Adds padding and max-width to the input for the sign up page. (#25959) 2016-08-29 14:19:31 +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
Joas Schilling f41c8c0089
Check if the file isReadable() before sending a (cached) preview 2016-08-29 10:58:57 +02:00
Roeland Jago Douma 8fca6d21a6
Link 'Allow editing' => 'Allow upload and editing'
Fixes #146
2016-08-28 21:50:31 +02:00
Raghu Nayyar b580c3664d Merge pull request #1093 from nextcloud/mail-fontstack
use proper font stack for email
2016-08-28 10:30:50 +02:00
Jan-Christoph Borchardt eced19a8f9 Merge pull request #1097 from nextcloud/2fa-cancel-login-styling
Small design fixes for "Cancel login" link on the 2FA challenge page
2016-08-27 23:19:08 +02:00
Jan-Christoph Borchardt 1431720279 Merge pull request #1098 from nextcloud/2fa-challenge-styling
2fa challenge styling
2016-08-27 23:14: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
Lukas Reschke 8bf9be2167 Merge pull request #1058 from nextcloud/avatarController_cleanup
Avatar controller cleanup
2016-08-27 22:25:34 +02:00
Jan-Christoph Borchardt eb6c549d74 fix double semicolon 2016-08-27 22:13:58 +02:00
Christoph Wurst 78bb02d27a
list 2FA providers as buttons 2016-08-27 12:27:05 +02:00
Christoph Wurst 4a91673154
use centered h2 for 2FA page headers 2016-08-27 11:33:15 +02:00
Christoph Wurst c93c5d142e
fix 2fa challenge page wording 2016-08-27 11:12:12 +02:00
Christoph Wurst dc57b89f37
reorder 2fa challenge HTML 2016-08-27 11:12:12 +02:00
Christoph Wurst 9db99eab36
2fa cancel login styling 2016-08-27 11:03:39 +02:00
Jan-Christoph Borchardt 042c744ac6 use proper font stack for email 2016-08-26 22:59:24 +02:00
Lukas Reschke 56367d19ac Merge pull request #1088 from nextcloud/core_tags_cleanup
Tag cleanup
2016-08-26 17:55:30 +02:00
Joas Schilling 89c78bbce4 Merge pull request #1031 from nextcloud/2fa-infinite-redirect-loop
prevent infinite redirect loops if the there is no 2fa provider to pass
2016-08-26 16:03:05 +02:00
Roeland Jago Douma 68ea287ed7
Remove the core tag routes since they are broken
Private internal stuff that nobody *should* be using anyways.
But on top of that already broken for a long time. So nobody could be
using it even.
2016-08-26 15:00:18 +02:00
Roeland Jago Douma 36481a0a2a
Remove unused core wrappers 2016-08-25 22:00:18 +02:00
Roeland Jago Douma 2f03853fb9
AvatarController cleanup
* Use all DI components
* Let the AppFramework resolve the AvatarController
* Update unit tests
* Unit tests no longer require DB
2016-08-25 21:39:14 +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
Lukas Reschke 593f2f638e
Add cachebuster to icons.css 2016-08-24 20:59:17 +02:00
Christoph Wurst 6af2efb679
prevent infinite redirect loops if the there is no 2fa provider to pass
This fixes infinite loops that are caused whenever a user is about to solve a 2FA
challenge, but the provider app is disabled at the same time. Since the session
value usually indicates that the challenge needs to be solved before we grant access
we have to remove that value instead in this special case.
2016-08-24 10:49:23 +02:00
Joas Schilling 736e884e9a
Move the reset token to core app 2016-08-23 15:01:38 +02:00
Joas Schilling 139fb8de94
Remove "password reset token" after successful login 2016-08-23 12:54:45 +02:00
Lukas Reschke e0ae67545e Merge pull request #956 from nextcloud/fix_952
When using permalinks don't error out if file id can't be found
2016-08-23 00:58:25 +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 8a6b5a1d86
Remove uninterpreted PHP
This is in an HTML file. The PHP won't be executed 🙈
2016-08-19 14:24:26 +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
Marius Blüm 91e8b33ca2 Merge pull request #959 from nextcloud/map_mobi
Update mimetypes
2016-08-19 11:21:53 +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 3ccd69707e Merge pull request #865 from nextcloud/ocs_config
Move OCS route /config to proper controller
2016-08-19 09:39:05 +02:00
Roeland Jago Douma 54f79a28f6
When using permalinks don't error out if file id can't be found
Fixes #952

* Use only the index route (since it went to showFile anyways)
* Fix tests
* Use getUserFolder to force init of users mounts
2016-08-19 08:15:30 +02:00