Robin McCorkell
0fac2e3f3a
Unique exception for invalid autoload paths, better handling
Background jobs are tolerant of stale entries left by disabled apps,
which will cause an autoload exception.
pirms 8 gadiem
Robin McCorkell
b3acf09c60
Only add valid root for enabled apps
pirms 8 gadiem
Robin McCorkell
cdf01f0419
Split mimetype handling to new class
pirms 8 gadiem
Vincent Petry
f100ef0fc6
Prevent sharing twice with user when already a group
pirms 8 gadiem
Joas Schilling
38a164aa7a
Make sure the array exists
pirms 8 gadiem
Robin Appelman
8123df9489
setup owner when getting users for share
pirms 8 gadiem
Joas Schilling
21ba3b8737
Only query the appconfig once
pirms 8 gadiem
Lukas Reschke
f9e90e92d4
Encode HTML tags in JSON
While not encoding the HTML tags in the JSON response is perfectly fine since we set the proper mimetype as well as disable content sniffing a lot of automated code scanner do report this as security bug. Encoding them leads to less discussions and a lot of saved time.
pirms 8 gadiem
Joas Schilling
8f2110e5da
Revert "Soft fail when deleting and no entry found"
pirms 8 gadiem
Robin Appelman
4880d7729b
enable transational locking by default
pirms 8 gadiem
Robin McCorkell
c9c246a3f5
Soft fail when deleting and no entry found
pirms 8 gadiem
Robin Appelman
0f6df2e0b6
Allow creating previewss that cover the specified dimensions
pirms 8 gadiem
Robin McCorkell
5b2529b448
Delay adding OCS prefix to route collection until all is loaded
->addPrefix() iterates over all registered routes, so must be run after
all apps have had a chance to load their OCS routes.
pirms 8 gadiem
Robin McCorkell
9e9ffb1356
Allow access to full alias and mapping arrays
pirms 8 gadiem
Roeland Jago Douma
f12caf930e
Properly return 304
The ETag set in the IF_NONE_MODIFIED header is wraped in quotes (").
However the ETag that is set in response is not (yet). Also we need to
cast the ETag to a string.
* Added unit test
pirms 8 gadiem
Robin McCorkell
e60c4bada1
Decode request content only on getContent
pirms 8 gadiem
Bjoern Schiessle
37513f9411
don't read certificates if ownCloud is not installed
pirms 9 gadiem
Bjoern Schiessle
289e9130f3
make system root of key storage configurable
pirms 9 gadiem
Roeland Jago Douma
2aff11c80b
Actually validate the expire date on share
* Added more intergration tests
pirms 8 gadiem
Robin Appelman
4cb8ca1860
Check result of storage wrappers
pirms 8 gadiem
Joas Schilling
42f0651b83
Sticky the notification types of files and sharing
pirms 8 gadiem
Joas Schilling
a12d354762
Deprecate OC_L10N::get()
pirms 8 gadiem
Joas Schilling
c3c7689b67
Add a public interface for the language factory so apps can use it
pirms 8 gadiem
Bjoern Schiessle
e51fe617d8
copy always file by file to encrypt/decrypt it if needed
pirms 9 gadiem
Lukas Reschke
3d2ee95f1e
Remove last occurence of `forcessl`
This shoudl have been adjusted as well, now it's consistent with `setMagicInCookie`. While it does not have a security impact directly some automated scanners reported this all the time.
pirms 9 gadiem
Lukas Reschke
f3561e2349
Explicitly specify status code 200 as response code
Potentially fixes https://github.com/owncloud/core/issues/17586
pirms 9 gadiem
Morris Jobke
4f13f96981
Save detected l10n of browser on login
* fixes owncloud/activity#373
pirms 9 gadiem
Thomas Müller
6f6a5f6c29
Adding path to log message
pirms 9 gadiem
Vincent Petry
fe575feca8
Prevent scanner going crazy with unavailable storages
pirms 9 gadiem
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
pirms 9 gadiem
Lukas Reschke
bd13126a80
Fix master again
Caused due to merge of two PRs
pirms 9 gadiem
Joas Schilling
4e0e2eb222
Change log level of debugging logs to debug
pirms 9 gadiem
Lukas Reschke
0a1d551090
Use IClientService to check for remote ownCloud instances
1. Allows to set a timeout (though still not perfect but way better than before)
2. Allows to have unit tests
3. I also added unit tests for the existing controller code
4. Corrected PHPDoc on IClient
pirms 9 gadiem
Lukas Reschke
6a3fb0d3b3
Handle failures gracefully, remove switch
pirms 9 gadiem
Joas Schilling
36eef2ddab
Add a session wrapper to encrypt the data before storing it on disk
pirms 9 gadiem
Joas Schilling
c58316b1ae
Expand the doc blocks on the new methods
pirms 9 gadiem
Joas Schilling
6697844c01
Remove unnecessary code
pirms 9 gadiem
Vincent Petry
a2674b2b30
Additions to update page
Apps to update and to disable will always be shown.
Main title changes only when apps need updated, not core.
Added bullet style.
Exclude incompatible apps from updated apps list.
pirms 9 gadiem
Joas Schilling
389a32e92a
Add test coverage for Activity Event and Manager
pirms 9 gadiem
Morris Jobke
29decf698c
[app management] fix dependency check on install
pirms 9 gadiem
Vincent Petry
b919ae96f0
Display app names in update page for app updates
Whenever the update page is displayed for apps, show app names instead
of the core update text.
pirms 9 gadiem
Joas Schilling
4314c8fc6f
Use an IEvent object instead of a huge parameter list
pirms 9 gadiem
Joas Schilling
bc2aa14849
Extend the interfaces IManager and IConsumer to allow passing in the object
pirms 9 gadiem
Robin McCorkell
3b27603762
Revert "Fix mounting wrapped storages resulting in many-layered wrapping"
This reverts commit 75a5e6e12b
.
pirms 9 gadiem
Robin McCorkell
3bb793b6a7
Implement password authentication mechanisms
Introduces the basic password authentication mechanism, along with a
mechanism based on ownCloud credentials stored in the user session.
Change to lib/private is an extension of PermissionsMask, as
isSharable() override was missing.
Session credentials auth mechanism now disables sharing on applied
storages, as credentials will not be available.
pirms 9 gadiem
Lukas Reschke
40b87b1394
Add warning for not existing CA bundle when updating
For newer releases we shall use an integrity check. But that's a good alternative for now.
pirms 9 gadiem
Morris Jobke
8fbb0c7b49
Fix format of log/private/ocs.php
Fixes https://github.com/owncloud/core/pull/14314#discussion_r37305256
pirms 9 gadiem
Robin Appelman
beaef820cf
handle non existing job classes in $jobList->getNext
pirms 9 gadiem
Robin McCorkell
1c26755686
Only load app routes if the app has already been loaded
pirms 9 gadiem
Morris Jobke
24e20a51eb
Degrade log message about missing app in appstore to debug
* fixes #18154
pirms 9 gadiem