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.
8 years ago
Robin McCorkell
b3acf09c60
Only add valid root for enabled apps
8 years ago
Robin McCorkell
cdf01f0419
Split mimetype handling to new class
8 years ago
Vincent Petry
f100ef0fc6
Prevent sharing twice with user when already a group
8 years ago
Joas Schilling
38a164aa7a
Make sure the array exists
8 years ago
Robin Appelman
8123df9489
setup owner when getting users for share
8 years ago
Joas Schilling
21ba3b8737
Only query the appconfig once
8 years ago
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.
8 years ago
Joas Schilling
8f2110e5da
Revert "Soft fail when deleting and no entry found"
8 years ago
Robin Appelman
4880d7729b
enable transational locking by default
8 years ago
Robin McCorkell
c9c246a3f5
Soft fail when deleting and no entry found
8 years ago
Robin Appelman
0f6df2e0b6
Allow creating previewss that cover the specified dimensions
8 years ago
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.
8 years ago
Robin McCorkell
9e9ffb1356
Allow access to full alias and mapping arrays
8 years ago
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
8 years ago
Robin McCorkell
e60c4bada1
Decode request content only on getContent
8 years ago
Bjoern Schiessle
37513f9411
don't read certificates if ownCloud is not installed
9 years ago
Bjoern Schiessle
289e9130f3
make system root of key storage configurable
9 years ago
Roeland Jago Douma
2aff11c80b
Actually validate the expire date on share
* Added more intergration tests
8 years ago
Robin Appelman
4cb8ca1860
Check result of storage wrappers
8 years ago
Joas Schilling
42f0651b83
Sticky the notification types of files and sharing
8 years ago
Joas Schilling
a12d354762
Deprecate OC_L10N::get()
8 years ago
Joas Schilling
c3c7689b67
Add a public interface for the language factory so apps can use it
8 years ago
Bjoern Schiessle
e51fe617d8
copy always file by file to encrypt/decrypt it if needed
8 years ago
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.
8 years ago
Lukas Reschke
f3561e2349
Explicitly specify status code 200 as response code
Potentially fixes https://github.com/owncloud/core/issues/17586
8 years ago
Morris Jobke
4f13f96981
Save detected l10n of browser on login
* fixes owncloud/activity#373
8 years ago
Thomas Müller
6f6a5f6c29
Adding path to log message
8 years ago
Vincent Petry
fe575feca8
Prevent scanner going crazy with unavailable storages
8 years ago
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
8 years ago
Lukas Reschke
bd13126a80
Fix master again
Caused due to merge of two PRs
8 years ago
Joas Schilling
4e0e2eb222
Change log level of debugging logs to debug
8 years ago
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
9 years ago
Lukas Reschke
6a3fb0d3b3
Handle failures gracefully, remove switch
9 years ago
Joas Schilling
36eef2ddab
Add a session wrapper to encrypt the data before storing it on disk
9 years ago
Joas Schilling
c58316b1ae
Expand the doc blocks on the new methods
9 years ago
Joas Schilling
6697844c01
Remove unnecessary code
9 years ago
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.
9 years ago
Joas Schilling
389a32e92a
Add test coverage for Activity Event and Manager
9 years ago
Morris Jobke
29decf698c
[app management] fix dependency check on install
9 years ago
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.
9 years ago
Joas Schilling
4314c8fc6f
Use an IEvent object instead of a huge parameter list
9 years ago
Joas Schilling
bc2aa14849
Extend the interfaces IManager and IConsumer to allow passing in the object
9 years ago
Robin McCorkell
3b27603762
Revert "Fix mounting wrapped storages resulting in many-layered wrapping"
This reverts commit 75a5e6e12b
.
9 years ago
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.
9 years ago
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.
9 years ago
Morris Jobke
8fbb0c7b49
Fix format of log/private/ocs.php
Fixes https://github.com/owncloud/core/pull/14314#discussion_r37305256
9 years ago
Robin Appelman
beaef820cf
handle non existing job classes in $jobList->getNext
9 years ago
Robin McCorkell
1c26755686
Only load app routes if the app has already been loaded
9 years ago
Morris Jobke
24e20a51eb
Degrade log message about missing app in appstore to debug
* fixes #18154
9 years ago