]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
10 years agoMove trusted domain check to init()
Lukas Reschke [Fri, 5 Sep 2014 12:10:35 +0000 (14:10 +0200)]
Move trusted domain check to init()

handleRequest() is not called from remote.php or public.php which made these files party available but all included apps in there produced errors.

As the expected behaviour is anyways that a trusted domain warning is shown I moved this to init()

Fixes https://github.com/owncloud/core/issues/10064

10 years agoadd / to url to match route
Jörn Friedrich Dreyer [Thu, 4 Sep 2014 11:58:37 +0000 (13:58 +0200)]
add / to url to match route

10 years agoScroll to new file/folder after adding
Vincent Petry [Thu, 4 Sep 2014 10:33:38 +0000 (12:33 +0200)]
Scroll to new file/folder after adding

When creating a new file from the menu, the list now scrolls to that
file.

10 years agoFixed scrollto for search results
Vincent Petry [Thu, 4 Sep 2014 10:20:11 +0000 (12:20 +0200)]
Fixed scrollto for search results

Now passing the "scrollto" URL argument to the file list class which
will also automatically scroll and highlight the matching element.

This code is triggered by the search box when in a different folder and
also by the activity app.

10 years agoAdd isAppstoreEnabled instead of hijacking the URL
Lukas Reschke [Tue, 26 Aug 2014 08:20:51 +0000 (10:20 +0200)]
Add isAppstoreEnabled instead of hijacking the URL

10 years agoRemove different URL for EE
Lukas Reschke [Sun, 24 Aug 2014 18:22:15 +0000 (20:22 +0200)]
Remove different URL for EE

This can now be achieved by setting `appstoreenabled` to `false` in config.php

10 years agoAdded permission check for drag and drop
Vincent Petry [Thu, 4 Sep 2014 17:58:49 +0000 (19:58 +0200)]
Added permission check for drag and drop

When dropping files onto a read-only folder, a notification
is now shown instead of attempting to upload.

This for both the drag for upload and drag from inside the file list
cases.

Backport of f1bfe35cda2f11d1b38726cf2d4f879427b2c8d5 from master

10 years agoMerge pull request #10878 from owncloud/remove_leftover
Jörn Friedrich Dreyer [Fri, 5 Sep 2014 09:59:12 +0000 (11:59 +0200)]
Merge pull request #10878 from owncloud/remove_leftover

remove a left over that uselessly fetches all users

10 years agoremove a left over that uselessly fetches all users
Arthur Schiwon [Fri, 5 Sep 2014 08:27:34 +0000 (10:27 +0200)]
remove a left over that uselessly fetches all users

10 years agoAdded unit tests for cache of enabled apps
Vincent Petry [Wed, 3 Sep 2014 09:01:59 +0000 (11:01 +0200)]
Added unit tests for cache of enabled apps

10 years agoAdded test for needUpgrade for core
Vincent Petry [Tue, 2 Sep 2014 15:28:05 +0000 (17:28 +0200)]
Added test for needUpgrade for core

10 years agoFix upgrade process when apps enabled for specific groups
Vincent Petry [Tue, 2 Sep 2014 12:30:46 +0000 (14:30 +0200)]
Fix upgrade process when apps enabled for specific groups

Fix issue where the currently logged user was causing side-effects when
upgrading.
Now setting incognito mode (no user) on update to make sure the whole
apps list is taken into account with getEnabledApps() or isEnabled().

10 years agoMerge pull request #10558 from owncloud/ajaxify_user_list_for_files_external_stable7
Lukas Reschke [Thu, 4 Sep 2014 11:16:52 +0000 (13:16 +0200)]
Merge pull request #10558 from owncloud/ajaxify_user_list_for_files_external_stable7

Ajaxify user list for files external stable7

10 years agoHighlight every uploaded files and scroll down to the last one
pdessauw [Thu, 19 Jun 2014 18:11:57 +0000 (14:11 -0400)]
Highlight every uploaded files and scroll down to the last one

Backport of 0d078e48ce71d35bf240ec2b3d48a37f1b96115a from master

10 years agoMerge pull request #10823 from oparoz/patch-1
Vincent Petry [Thu, 4 Sep 2014 08:20:50 +0000 (10:20 +0200)]
Merge pull request #10823 from oparoz/patch-1

Typo in whichOpenOffice test

10 years agoTyp in whichOpenOffice test
Olivier Paroz [Tue, 2 Sep 2014 20:11:49 +0000 (22:11 +0200)]
Typ in whichOpenOffice test

10 years agoMerge pull request #10789 from owncloud/fix-z-index
Raghu Nayyar [Tue, 2 Sep 2014 19:33:51 +0000 (01:03 +0530)]
Merge pull request #10789 from owncloud/fix-z-index

fix z-index of navigation sidebar for mobile devices

10 years agorussian translation backport. closes #10759
Volkan Gezer [Tue, 2 Sep 2014 15:53:52 +0000 (17:53 +0200)]
russian translation backport. closes #10759

10 years agofix z-index of navigation sidebar for mobile devices
Morris Jobke [Sun, 31 Aug 2014 17:41:58 +0000 (19:41 +0200)]
fix z-index of navigation sidebar for mobile devices

10 years agoupdate public interface for getUserFolder
Morris Jobke [Sun, 31 Aug 2014 09:16:40 +0000 (11:16 +0200)]
update public interface for getUserFolder

10 years agoAdd optional user ID parameter for getUseFolder
Morris Jobke [Sun, 31 Aug 2014 07:49:19 +0000 (09:49 +0200)]
Add optional user ID parameter for getUseFolder

10 years agoretrieve local users, groups and group members in a sorted way
Arthur Schiwon [Fri, 29 Aug 2014 13:17:37 +0000 (15:17 +0200)]
retrieve local users, groups and group members in a sorted way

10 years agoallow empty hostname and dots in service name for oracle autosetup
Jörn Friedrich Dreyer [Thu, 28 Aug 2014 13:54:28 +0000 (15:54 +0200)]
allow empty hostname and dots in service name for oracle autosetup

10 years agoBackport of #9214
Arthur Schiwon [Wed, 25 Jun 2014 12:04:06 +0000 (14:04 +0200)]
Backport of #9214

Wizad: email attribute detection

remove Access as hard dependency, inject it instead

add unit test for mail detection

write log message, if original value was changed

undo falsely changed log file

trigger email detection by Wizard upon any user filter filter change. before it happenend only upon user automatic list filter creation, but not on manual editing

adjust static method vars as well

10 years agoAdd missing 'personal' mount configuration option
Robin McCorkell [Fri, 29 Aug 2014 08:08:46 +0000 (09:08 +0100)]
Add missing 'personal' mount configuration option

10 years agouser mgmt: move 'Show storage location' and 'Show last log in' to settings area
Jan-Christoph Borchardt [Thu, 28 Aug 2014 22:08:01 +0000 (00:08 +0200)]
user mgmt: move 'Show storage location' and 'Show last log in' to settings area

10 years agoAdds 2 checkboxes at the top of userlist in the settings, to display/hide optional...
Stephane V [Wed, 16 Jul 2014 20:23:15 +0000 (22:23 +0200)]
Adds 2 checkboxes at the top of userlist in the settings, to display/hide optional columns
This fixes #9367.

10 years agodefine min height/width for icon classes to make sure they show
Jan-Christoph Borchardt [Fri, 29 Aug 2014 10:05:01 +0000 (12:05 +0200)]
define min height/width for icon classes to make sure they show

10 years agoallow horizontal scrollbar for personal and admin settings
Jan-Christoph Borchardt [Thu, 28 Aug 2014 16:17:50 +0000 (18:17 +0200)]
allow horizontal scrollbar for personal and admin settings

10 years agoEnhancement: Adds input styles to input type dates too.
raghunayyar [Thu, 28 Aug 2014 14:53:19 +0000 (16:53 +0200)]
Enhancement: Adds input styles to input type dates too.

10 years agofix wizard test, adjust to changed parameters of the tested method, introduced by...
Arthur Schiwon [Tue, 26 Aug 2014 08:50:00 +0000 (10:50 +0200)]
fix wizard test, adjust to changed parameters of the tested method, introduced by 9caa354cfc1f73159f335646ca89be4db72b125e

10 years agobackport of #8623
Arthur Schiwon [Fri, 16 May 2014 16:03:15 +0000 (18:03 +0200)]
backport of #8623

set result entry identifier earlier, i.e. before a continue for the same level can happen. otherwise  will always get the same value and we end up in an infinite loop

add unit test to make sure the infinite loop never comes back

Conflicts:
apps/user_ldap/tests/wizard.php

10 years agoEscape error messages
Lukas Reschke [Wed, 27 Aug 2014 15:01:51 +0000 (17:01 +0200)]
Escape error messages

10 years ago7.0.2 v7.0.2
Frank Karlitschek [Tue, 26 Aug 2014 10:03:37 +0000 (12:03 +0200)]
7.0.2

10 years agoRedirect user after clicking on link
Lukas Reschke [Fri, 22 Aug 2014 14:01:03 +0000 (16:01 +0200)]
Redirect user after clicking on link
Use DI

10 years agoExpose setSystemValue
Lukas Reschke [Fri, 22 Aug 2014 13:53:23 +0000 (15:53 +0200)]
Expose setSystemValue

10 years agoAdd a trusted domain wizard
Lukas Reschke [Thu, 21 Aug 2014 20:22:35 +0000 (22:22 +0200)]
Add a trusted domain wizard

Adds a little button to the trusted domain warning, if an admin clicks on the warning he will be redirected to ownCloud and asked whether he want to trust this domain.

By far not the cleanest code, or clean at all, but does the job and I don't see a reason to make a lot of changes for this little improvement.

10 years agoDo not load apps when an upgrade is due
Vincent Petry [Thu, 24 Jul 2014 14:53:30 +0000 (16:53 +0200)]
Do not load apps when an upgrade is due

This makes it still possible to update from the command line, but
disables custom commands from apps

10 years agoWarn user on resetting passwords via occ when encryption is enabled
kondou [Fri, 22 Aug 2014 14:11:54 +0000 (16:11 +0200)]
Warn user on resetting passwords via occ when encryption is enabled

10 years agoStream downloads from Swift object stores without downloading it first
Robin Appelman [Fri, 22 Aug 2014 12:11:21 +0000 (14:11 +0200)]
Stream downloads from Swift object stores without downloading it first

10 years agoFix share dropdown when links are not allowed
Vincent Petry [Thu, 21 Aug 2014 11:49:02 +0000 (13:49 +0200)]
Fix share dropdown when links are not allowed

When links are not allowed, the email field does not exist and
autocomplete returns null. This causes Javascript errors.

The fix prevents entering the bogus block when links aren't allowed, as
it doesn't make sense to enter it in such cases anyway.

Backport of 98d06094e70d657907b139431624740acde3bbd9 from master

10 years agofix deletion of shares
Jörn Friedrich Dreyer [Thu, 21 Aug 2014 13:11:21 +0000 (15:11 +0200)]
fix deletion of shares

10 years agoDo not close container/slider when clicking on single select field
Vincent Petry [Fri, 15 Aug 2014 10:43:24 +0000 (12:43 +0200)]
Do not close container/slider when clicking on single select field

10 years agoit does not affect gravity on planet earth, but only for tipsy
Arthur Schiwon [Wed, 13 Aug 2014 12:20:14 +0000 (14:20 +0200)]
it does not affect gravity on planet earth, but only for tipsy

10 years agomake singleselect check for gravity wish, and make it south for default quota
Arthur Schiwon [Tue, 12 Aug 2014 16:04:52 +0000 (18:04 +0200)]
make singleselect check for gravity wish, and make it south for default quota

10 years agoreplace spaces with tabs in apps.js
Morris Jobke [Thu, 21 Aug 2014 06:39:59 +0000 (08:39 +0200)]
replace spaces with tabs in apps.js

10 years agoFix default quota settings field
Vincent Petry [Mon, 11 Aug 2014 14:37:48 +0000 (16:37 +0200)]
Fix default quota settings field

The default quota settings field is initially hidden which makes it
impossible for singleSelect() to make its width measurements.

This fix uses the app navigation slide "show" event to defer the
singleSelect() initialization on the default quota field.

Refactored setQuota() into UserList._updateQuota().
Refactored duplicate event handler code into UserList.onQuotaSelect().

10 years agoUse global apps slide toggle logic
Vincent Petry [Mon, 11 Aug 2014 14:34:24 +0000 (16:34 +0200)]
Use global apps slide toggle logic

Remove local app settings slide logic and make it use the global one
triggered by the "data-apps-slide-toggle" attribute.

10 years agoTrigger events when app-settings visibility changes
Vincent Petry [Mon, 11 Aug 2014 14:29:15 +0000 (16:29 +0200)]
Trigger events when app-settings visibility changes

10 years ago7.0.2 RC1 v7.0.2RC1
Frank Karlitschek [Thu, 21 Aug 2014 03:36:33 +0000 (05:36 +0200)]
7.0.2 RC1

10 years agouse S3Client::encodeKey(), fixes #8325
Jörn Friedrich Dreyer [Thu, 14 Aug 2014 15:23:19 +0000 (17:23 +0200)]
use S3Client::encodeKey(), fixes #8325

10 years agoadd unit test for #8325
Jörn Friedrich Dreyer [Thu, 14 Aug 2014 13:46:14 +0000 (15:46 +0200)]
add unit test for #8325

10 years agoReturn whole file if range request cannot be granted due to encryption
Vincent Petry [Thu, 14 Aug 2014 13:18:49 +0000 (15:18 +0200)]
Return whole file if range request cannot be granted due to encryption

Whenenver range headers are set and encryption is enabled, it is not
possible to automatically fseek() to the proper position.

To avoid returning corrupt/invalid data or causing a decryption error,
the range headers are stripped so that the SabreDAV code in httpGet()
returns the whole file.

Backport of cc8c1d8e0776bda7f4c7c28e11984144a4861df3 from master

10 years agoreplace chosen with select2 to provide ajaxified user and group selection for files_e...
Jörn Friedrich Dreyer [Thu, 8 May 2014 13:25:46 +0000 (15:25 +0200)]
replace chosen with select2 to provide ajaxified user and group selection for files_external, fixes #7499

remove minified select2 js

show avatars for users, simpler results

remove unneeded users and groups from settings template

fix css, escape user and group names

10 years agoadd select2 to app specific thirdparty
Jörn Friedrich Dreyer [Thu, 8 May 2014 13:23:06 +0000 (15:23 +0200)]
add select2 to app specific thirdparty

10 years agobackport of #10340
Arthur Schiwon [Mon, 11 Aug 2014 14:40:41 +0000 (16:40 +0200)]
backport of #10340

better check whether string resembles a DN, fixes #9887

adjust login test to code changes

unify tests

10 years agoEnsure that filename is prefixed with a slash
Joas Schilling [Thu, 14 Aug 2014 14:48:30 +0000 (16:48 +0200)]
Ensure that filename is prefixed with a slash

10 years agoDo not filemtime() on "." directory. Use empty string instead
Joas Schilling [Mon, 11 Aug 2014 15:05:35 +0000 (17:05 +0200)]
Do not filemtime() on "." directory. Use empty string instead

Fix #9928

10 years agoRemove doubled slash between folder and path
Joas Schilling [Mon, 11 Aug 2014 14:50:52 +0000 (16:50 +0200)]
Remove doubled slash between folder and path

10 years agoremove obsolete 'Download preparing' message for zip downloads, fix #3755
Jan-Christoph Borchardt [Tue, 19 Aug 2014 14:44:28 +0000 (16:44 +0200)]
remove obsolete 'Download preparing' message for zip downloads, fix #3755

10 years agofix multiselect bar offset on shared page
Jan-Christoph Borchardt [Tue, 19 Aug 2014 13:51:10 +0000 (15:51 +0200)]
fix multiselect bar offset on shared page

10 years agofix undefined variable
Robin Appelman [Mon, 18 Aug 2014 13:30:46 +0000 (15:30 +0200)]
fix undefined variable

10 years agoonly set core version at the end
Robin Appelman [Mon, 4 Aug 2014 11:42:16 +0000 (13:42 +0200)]
only set core version at the end

10 years agoSet maintaince mode when updating an app from the app store
Robin Appelman [Fri, 25 Jul 2014 11:40:51 +0000 (13:40 +0200)]
Set maintaince mode when updating an app from the app store

10 years agoAlso set the app version when updating from app store
Robin Appelman [Fri, 25 Jul 2014 11:38:44 +0000 (13:38 +0200)]
Also set the app version when updating from app store

10 years agoSend feedback from upgrading apps to the upgrade ui
Robin Appelman [Thu, 24 Jul 2014 15:51:41 +0000 (17:51 +0200)]
Send feedback from upgrading apps to the upgrade ui

10 years agoAllow loading app without checking the upgrade
Robin Appelman [Thu, 24 Jul 2014 15:51:28 +0000 (17:51 +0200)]
Allow loading app without checking the upgrade

10 years agoextract upgrade parts to their own methods
Robin Appelman [Thu, 24 Jul 2014 15:18:54 +0000 (17:18 +0200)]
extract upgrade parts to their own methods

10 years agohandle service not available exceptions in index, remote and public.php
Robin Appelman [Thu, 24 Jul 2014 15:18:10 +0000 (17:18 +0200)]
handle service not available exceptions in index, remote and public.php

10 years agoThrow an exception when we try to load an app that needs to be upgraded
Robin Appelman [Thu, 24 Jul 2014 15:16:34 +0000 (17:16 +0200)]
Throw an exception when we try to load an app that needs to be upgraded

10 years agoExtend OC_Util::needUpgrade to also catch app upgrades
Robin Appelman [Thu, 24 Jul 2014 15:15:38 +0000 (17:15 +0200)]
Extend OC_Util::needUpgrade to also catch app upgrades

10 years agoHide sharing sections in files app when sharing API is disabled
Vincent Petry [Mon, 18 Aug 2014 14:33:29 +0000 (16:33 +0200)]
Hide sharing sections in files app when sharing API is disabled

Backport of 1de5ae8845393be599e543efde45d22db989658a from master

10 years agoproperly encode groups as json, not ',' separated
Jörn Friedrich Dreyer [Mon, 18 Aug 2014 17:47:50 +0000 (19:47 +0200)]
properly encode groups as json, not ',' separated

10 years agoFix copyright
Lukas Reschke [Thu, 14 Aug 2014 15:28:20 +0000 (17:28 +0200)]
Fix copyright

10 years agofix broken unit tests
Bjoern Schiessle [Thu, 14 Aug 2014 15:21:52 +0000 (17:21 +0200)]
fix broken unit tests

10 years agoupdate unit tests with configurable share folder
Bjoern Schiessle [Thu, 14 Aug 2014 11:08:58 +0000 (13:08 +0200)]
update unit tests with configurable share folder

10 years agomake share folder configurable
Bjoern Schiessle [Wed, 13 Aug 2014 10:55:14 +0000 (12:55 +0200)]
make share folder configurable

10 years agoset incognitoMode to true, getUser should always return false during public upload
Bjoern Schiessle [Mon, 18 Aug 2014 14:39:25 +0000 (16:39 +0200)]
set incognitoMode to true, getUser should always return false during public upload

10 years agofix color of links in warnings, fix #10480
Jan-Christoph Borchardt [Mon, 18 Aug 2014 14:40:32 +0000 (16:40 +0200)]
fix color of links in warnings, fix #10480

10 years agoAdd a note about overwritewebroot when using system cron
Joas Schilling [Mon, 18 Aug 2014 07:40:42 +0000 (09:40 +0200)]
Add a note about overwritewebroot when using system cron

If the current webroot is non-empty but the webroot from the config is,
and system cron is used, the URL generator fails to build valid URLs.
So we notify the admin to set it up correctly.

Fix #9995

10 years agoAdded upgrade notice to avoid timeouts
Vincent Petry [Mon, 18 Aug 2014 13:05:55 +0000 (15:05 +0200)]
Added upgrade notice to avoid timeouts

10 years agoFixed folder icon update routine when share owner exists
Vincent Petry [Fri, 15 Aug 2014 14:19:50 +0000 (16:19 +0200)]
Fixed folder icon update routine when share owner exists

Whenever a folder has a "data-share-owner" attribute, the icon is now
properly updated to a shared folder icon.

Backport of 607ea636be4a5a48b6abec8df3eaefe20fe4a1ba from master

10 years agocheck if array index ocsid is set before accessing it
Georg Ehrke [Sun, 17 Aug 2014 20:26:14 +0000 (22:26 +0200)]
check if array index ocsid is set before accessing it

10 years agoMake skeleton directory configurable.
Stefan Rado [Fri, 15 Aug 2014 23:07:42 +0000 (01:07 +0200)]
Make skeleton directory configurable.

10 years agoFix unit test
Lukas Reschke [Fri, 15 Aug 2014 12:15:27 +0000 (14:15 +0200)]
Fix unit test

10 years agoMove authentication failed logging to checkPassword
Lukas Reschke [Fri, 15 Aug 2014 10:13:00 +0000 (12:13 +0200)]
Move authentication failed logging to checkPassword

Fixes https://github.com/owncloud/core/issues/10366

10 years agoMerge pull request #10440 from owncloud/enforce-debug
Clark Tomlinson [Fri, 15 Aug 2014 13:03:29 +0000 (09:03 -0400)]
Merge pull request #10440 from owncloud/enforce-debug

Remove ability to trigger DEBUG mode via cookie

10 years agochange error text color to white for better contrast, fix #10424
Jan-Christoph Borchardt [Fri, 15 Aug 2014 08:51:39 +0000 (10:51 +0200)]
change error text color to white for better contrast, fix #10424

10 years agoCompare upload limit against biggest file
Oliver Gasser [Tue, 12 Aug 2014 17:32:21 +0000 (19:32 +0200)]
Compare upload limit against biggest file

When uploading multiple files from the web interface, compare the PHP
upload limit against the largest file, not against the sum of all files.

10 years agoUpdate public.php
pzy [Mon, 19 May 2014 17:53:27 +0000 (19:53 +0200)]
Update public.php

added tag to make facebook load a preview picture

Update public.php

add check ifMimeSupported and put the thumbsize in a variable

generate preview for all supported mimes

10 years agoin order to prevent false-positives on the code checker - exec and eval will not...
Thomas Müller [Thu, 14 Aug 2014 08:48:42 +0000 (10:48 +0200)]
in order to prevent false-positives on the code checker - exec and eval will not longer be grepped for

10 years agowe need the recipient as a additional parameter to know for which share the notificat...
Bjoern Schiessle [Wed, 13 Aug 2014 15:02:51 +0000 (17:02 +0200)]
we need the recipient as a additional parameter to know for which share the notification was send

10 years agoFix issue when no apps are enabled
Vincent Petry [Mon, 11 Aug 2014 13:32:56 +0000 (15:32 +0200)]
Fix issue when no apps are enabled

Properly initialize $apps array

10 years agonew unit test added
Bjoern Schiessle [Mon, 11 Aug 2014 10:02:33 +0000 (12:02 +0200)]
new unit test added

10 years agono error if we try to delete a file which no longer exists
Bjoern Schiessle [Fri, 8 Aug 2014 14:16:01 +0000 (16:16 +0200)]
no error if we try to delete a file which no longer exists

10 years agono special action for folder named 'Shared' needed
Bjoern Schiessle [Fri, 8 Aug 2014 14:13:47 +0000 (16:13 +0200)]
no special action for folder named 'Shared' needed

10 years agoadd error message if user wants to rename a file which no longer exists
Bjoern Schiessle [Fri, 8 Aug 2014 14:11:07 +0000 (16:11 +0200)]
add error message if user wants to rename a file which no longer exists

10 years agoCast file id's to int so we can compare them properly
Robin Appelman [Wed, 13 Aug 2014 16:06:28 +0000 (18:06 +0200)]
Cast file id's to int so we can compare them properly

10 years agotrigger lazy loading earlier, fix #9823
Jan-Christoph Borchardt [Thu, 7 Aug 2014 22:27:31 +0000 (00:27 +0200)]
trigger lazy loading earlier, fix #9823

10 years agoMerge pull request #10406 from owncloud/japanese-stable7
Thomas Müller [Wed, 13 Aug 2014 21:57:14 +0000 (23:57 +0200)]
Merge pull request #10406 from owncloud/japanese-stable7

fix japanese lang code