Commit Graph

55 Commits

Author SHA1 Message Date
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Philipp Holzer 3b7d4ce600
[rendertime] Fix empty minimal_time 2022-11-28 19:51:56 +01:00
Philipp Holzer 18783e11c7
Move Browser & Upload to own namespace 2022-11-27 01:25:58 +01:00
Philipp Holzer 2f0671ee6e
Move FileBrowser to own namespace & Bugfix album usage 2022-11-27 00:28:29 +01:00
Philipp Holzer 6fb41f9429
[rendertime] Adapt ignored_modules 2022-11-26 22:27:17 +01:00
Roland Häder 6bf18b47a8
Changed:
- convert double-quotes to single
2022-07-28 03:54:30 +02:00
Roland Häder 06b15a6ed0
Changes:
- added missing type-hints
- avoided local variables
- added some documentation
- changed double-quotes to single
2022-06-30 13:33:22 +02:00
Roland Häder 93267b5b83
Fixed wrong type-hint + "imported" class 2022-06-23 07:45:59 +02:00
Roland Häder 04df7f6e05
Changes:
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02:00
Michael Vogel 2413c74b72
Apply suggestions from code review
Co-authored-by: Philipp <admin+Github@philipp.info>
2021-12-12 23:08:52 +01:00
Michael ce42fc43ce Rendertime: Admin configuration added 2021-12-12 05:57:21 +00:00
Philipp Holzer 82cef20e60
Split and delete `ModuleController`
- $moduleName is part of the argument string => App\Arguments
- $isBackend boolean already part of App\Mode::isBackend()
- $module is now the direct return of App\Router::getModule()
- ModuleController::run() moved to BaseModule::run()
2021-11-27 12:42:12 +01:00
Michael 6a349e7fd9 Support for cleared boot.php 2021-11-04 20:32:16 +00:00
Michael df257362c4 Rednertime: "Parser" is now "session" 2021-07-27 13:57:36 +00:00
Michael f11b6a1080 Cleaned up parameters 2020-12-10 00:03:00 +00:00
Michael ed672a36f5 Support for more fields 2020-12-09 22:42:45 +00:00
Michael 8340f3b1f4 Rendertime: Additional fields for the profiler 2020-12-09 22:10:44 +00:00
Michael a0344101f1 Rendertime: possibility to define a minimal value for displaying the execution times 2020-11-20 09:02:39 +00:00
Hypolite Petovan 203672cf27 [various] Remove redundant uninstall functions
- All hooks (current and obsolete) are removed automatically during addon uninstall
2020-07-27 08:30:41 -04:00
Philipp Holzer f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
Philipp Holzer 48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
Philipp Holzer 9d9384f5ed
Remove deprecated App::module - replace with DI::module()->getName() 2019-12-27 21:55:19 +01:00
Philipp Holzer 5060f3c0aa
Remove deprecated App::is_mobile/is_tablet - replace with DI::mode()->isMobile()/isTablet() 2019-12-27 21:55:18 +01:00
Philipp Holzer 33dae7eb94
Refactor dynamic App::getProfiler() to static DI::profiler() 2019-12-27 21:55:16 +01:00
Hypolite Petovan acdd62da3e [various] Replace deprecated defaults() calls by ?? operator 2019-10-17 11:08:46 -04:00
Philipp Holzer 771fb35875
Adding type-hint 2019-02-20 17:28:38 +01:00
Philipp Holzer 0d24814086
Adding type-hint 2019-02-20 17:28:32 +01:00
Philipp Holzer a5d77d4413
adding test 2019-02-20 17:27:35 +01:00
Philipp Holzer 51d89255cc
Fixing rendertime 2019-02-20 17:27:33 +01:00
Roland Häder 35974aced9
Fixed parser error 2019-02-18 18:28:55 +01:00
Roland Häder e1fdf03f02
Fixes:
- `$a->performance['id']` is outdated, there is now `$a->getProfiler()->get('id')`
- `AS` is no constant but a keyword (see `foreach()`)
- added curly braces

Signed-off-by: Roland Häder <roland@mxchange.org>
2019-02-18 18:20:00 +01:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Michael Vogel 475299e642 Avoid warnings in addons (#639)
* Avoid warnings in addons

* And some warnings removed

* And more ...

* And some more ...

* Added comment

* And again ...

* And again ...

* Partly reworked "newmemberwidget"

* And more warnings ...

* The next round
2018-07-10 08:30:23 -04:00
ben-utzer 9d02744c21
Just a spelling mistake
Vvogel changed to Vogel
2018-04-01 15:13:49 +05:30
Adam Magness b191d5716c Remove sprintf with translations
don't use sprintf with translation functions
2018-01-23 22:59:20 -05:00
Adam Magness 0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00
Hypolite Petovan 27b60e003f Use short form array syntax everywhere 2018-01-15 08:15:33 -05:00
Tobias Diekershoff f8d9efe8c7 some files were executable, now they are not 2017-12-07 14:26:26 +01:00
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
Hypolite Petovan 8fa3f2415a Replace and/AND and or/OR by && and || 2017-06-08 21:20:27 -04:00
Michael Vogel 73e98a4814 Merge remote-tracking branch 'upstream/master' into 1609-ignorelist-rendertime
Conflicts:
	rendertime/rendertime.php
2016-09-15 09:55:58 +00:00
Michael Vogel 1ffa5387c5 Rendertime: Ignorelist for page where rendertime doesn't look good. 2016-09-15 09:52:30 +00:00
Michael Vogel 00c15c8efc Rendertime: We now additionally show the db write time. 2016-08-27 09:13:44 +00:00
Michael Vogel b6a44a2339 Rendertime: Show the value for session creation 2016-06-23 20:26:50 +02:00
Michael Vogel 118d086e32 frio_hovercard is now in the core. Rendertime has a changed description. 2016-05-31 22:12:19 +02:00
Michael Vogel bc578db2b3 Rendertime: Optionally show the callstack 2016-01-17 14:56:05 +01:00
Michael Vogel bf52de030f Updated addon descriptions and readme files for several addons. 2015-11-14 09:22:32 +01:00
Michael Vogel a01db4346a Don't show the rendertime data and jappix in minimal mode. 2015-09-26 11:00:16 +02:00
Michael Vogel bbc8a1328d pumpio, statusnet, tumblr, twitter, wordpress: Changed the way, shares are displayed
twitter: Look for the entities when importing tweets.
2014-01-26 09:53:12 +01:00
Michael Vogel b2abeb50be twitter: now the automatic picture import for imported tweets should avoid duplicate pictures and such stuff. (not totally - but better) 2013-12-02 00:43:47 +01:00