Joas Schilling
d879354ccb
Use lib/ instead of src/ because that is what people are used to
10 years ago
Joas Schilling
ee3457aec0
Register the PSR-4 path on loadApp
10 years ago
Thomas Müller
5e055ca6c1
Move uninstall repair step execution to the correct place
10 years ago
Thomas Müller
e049953d1a
OC_Installer -> \OC\Installer
10 years ago
Thomas Müller
54f45f95f5
Adding repair steps for install and uninstall - fixes #24306
10 years ago
Roeland Jago Douma
368be8894c
Move non PSR-4 files from lib/private root to legacy
As discussed we move all old style classes (OC_FOO_BAR) to legacy.
Then from there we can evaluate the need to convert them back or if they
can be fully deprecated/deleted.
10 years ago
Thomas Müller
2ee7d2485c
Introduce background repair steps
10 years ago
Thomas Müller
3aa77960ef
Adding pre- and post-migration repair steps
10 years ago
Thomas Müller
d0030aad6c
Remove deprecated HTTPHelper from InfoParser
10 years ago
Thomas Müller
7fea9974b7
In case an app has issues while loading the app is disabled and request processing continues
10 years ago
Morris Jobke
f5beeec833
Properly handle return values of OC_App::getAppInfo()
* fixes #23668
10 years ago
Lukas Reschke
c353d51810
Remove Scrutinizer Auto Fixer
10 years ago
Thomas Müller
bfde96a623
Fix PHPDoc of OC_App::loadApps()
10 years ago
Morris Jobke
6cd3fa2ed7
Remove not needed variable
10 years ago
Morris Jobke
ef49f6ef5d
Properly handle return code of OC_App::getAppPath
* fixes #20128
* getAppPath could return false, but it was not handled everywhere
10 years ago
Thomas Müller
8b165c5ed5
No longer evaluate appinfo/version
10 years ago
Morris Jobke
75e6734ef4
Remove OC_Helper::imagePath and use the proper public interface
10 years ago
Thomas Müller
682821c71e
Happy new year!
10 years ago
Robin Appelman
ae7c49f93c
Use appconfig for getAppVersions
10 years ago
Lukas Reschke
c009d5dcc1
Verify signature of apps with level "Official" coming from the appstore
This change will verify the signature of all apps with the level "Official" coming from the appstore or if they have been signed before.
10 years ago
Lukas Reschke
e43bf54503
Assume apps from the appstore are compatible with the current version
Filtering is done server-side already so only compatible apps are delivered. Otherwise this leads to a ton of error messages as the info.xml cannot be read at that state.
Fixes https://github.com/owncloud/core/issues/21556
10 years ago
Lukas Reschke
88c7face07
Inject OCSClient
Fixes https://github.com/owncloud/core/issues/21451
10 years ago
Morris Jobke
ed98cdf532
Use OCP\Util::getVersion instead of the internal private implementation
10 years ago
Roeland Jago Douma
6fb60815c5
Use SystemConfig internally
10 years ago
Roeland Jago Douma
82bf99c0cf
Get rid of legacy OC_Config
We were still using the lecagy class OC_Config all over the place. Which
was a wrapper around the new class OC\Config
10 years ago
Roeland Jago Douma
9fe3d2f1f8
OC_Helper::linkToRoute is deprecated
Replaced all calls to OC_Helper::linkToRoute with
OC::$server->getURLGenerator()->linkToRoute
10 years ago
Lukas Reschke
715f89a9d9
Sanitize the appId passed to `findAppInDirectories`
Would have prevented quite some security bugs in the past. Nice hardening for now.
10 years ago
Morris Jobke
46a6c6d70b
remove OC_App::getActiveNavigationEntry - not unsed anymore
10 years ago
Morris Jobke
e6d4496fc2
Remove unused setActiveNavigationEntry of OC_App - it's also in OCP\App
10 years ago
Lukas Reschke
c6f6a8758b
Drop OC_SubAdmin and replace usages
10 years ago
Thomas Müller
5a5bcccd0d
Don't show apps which are always enabled in the app manager
10 years ago
Thomas Müller
6fc59f85b6
Store list of apps which cannot be disabled in shipped.json
10 years ago
Morris Jobke
8366ce2767
deduplicate @xenopathic
10 years ago
Morris Jobke
b945d71384
update licence headers via script
10 years ago
Joas Schilling
9da4869cd4
Correctly check whether an app is shipped
10 years ago
Thomas Müller
2ea2ec0004
Show 'Apps' in the browser title when app management is open
10 years ago
Lukas Reschke
7c6d811584
Prefer OCS Id from database
To be consistent with other logic the app id from the database needs to be prefered. Especially when it comes to be able to replace an outdated OCS id.
10 years ago
Robin McCorkell
862afd80b3
Restore loadApp() autoload registration
Also changes the autoloader validRoots into a hashmap to try and reduce
duplicate entries
10 years ago
Lukas Reschke
8e1b403b16
Catch apps which have been removed manually
10 years ago
Lukas Reschke
4680691ca6
Define allowed app roots earlier
The autoloader needs to be run before including the app.php, otherwise it depends on what app gets executed first and apps that rely on the dependency of other apps in app.php may break.
10 years ago
Robin McCorkell
b06bc409e0
Rebuild app navigation in JS
Retrieve all app navigations to prevent reloading appinfo/app.php and
causing an error when the app isn't fully loaded. The addition/deletion
logic has been moved to JS, simplifying a lot of code.
10 years ago
Robin McCorkell
b3acf09c60
Only add valid root for enabled apps
10 years ago
Morris Jobke
29decf698c
[app management] fix dependency check on install
10 years ago
Robin McCorkell
1c26755686
Only load app routes if the app has already been loaded
10 years ago
Joas Schilling
32ccd66214
Revert "make knowledge base url configurable"
This reverts commit 8fb89056bd .
10 years ago
Joas Schilling
c16fd29f29
Revert "Only load app routes if the app has already been loaded"
This reverts commit 50ebea41f6 .
10 years ago
Robin McCorkell
50ebea41f6
Only load app routes if the app has already been loaded
10 years ago
Bjoern Schiessle
8fb89056bd
make knowledge base url configurable
10 years ago
Thomas Müller
d3b58d147f
Allow upgrade of not enabled apps
11 years ago
RealRancor
1300204586
Add is_dir check to getAllApps() function
11 years ago