Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Michael
d3e167c77c
All references to boot.php are now removed
2022-10-19 20:38:25 +00:00
Roland Häder
14bf72e4fe
Changes:
...
- added some documentation
- added type-hints
2022-06-20 02:48:05 +02:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Michael
c89533a70b
Support for stacked profiler analysis
2021-07-27 04:57:29 +00:00
Michael
5a87ccf026
Getter/Setter for theme info
2021-07-25 19:39:10 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Hypolite Petovan
cd84f9a921
Reduce number of calls to Hook::delete when uninstalling addons/themes
...
- Add a sweeping Hook deletion on theme uninstall (like for addons)
2020-07-27 08:24:55 -04:00
Hypolite Petovan
afb882048e
Generate callstack value from inside Profiler::saveTimestamp
...
- Save a massive amount of time computing callstacks when profiling is disabled
2020-07-27 02:33:05 -04:00
Hypolite Petovan
39a87b1f54
Add check for semi-colon existence in theme file comment lines
...
- Address https://github.com/friendica/friendica/issues/8000#issuecomment-592946450
2020-03-01 14:19:46 -05:00
Hypolite Petovan
1a8110234f
Move /settings/display module to src/
2020-02-20 05:37:06 -05:00
Hypolite Petovan
b9325251e8
Add Theme::getBackgroundColor and Theme::getThemeColor methods
2020-02-19 10:28:57 -05:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
Philipp Holzer
3411ced833
Move Config::set() to DI::config()->set()
2020-01-19 21:21:53 +01:00
Philipp Holzer
6c36fd9e01
Move Config::get() to DI::config()->get()
2020-01-19 21:21:13 +01:00
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
Philipp Holzer
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls
2019-12-30 23:00:08 +01:00
Philipp Holzer
181529f3df
Refactor dynamic App::getProfiler() to static DI::profiler()
2019-12-29 20:17:42 +01:00
Philipp Holzer
388b963714
Replace BaseObject class with DI::* calls
2019-12-29 20:17:38 +01:00
Philipp Holzer
1de3f186d7
Introduce new DI container
...
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
Philipp Holzer
7ebd5e6b15
Themese are now saved just once
2019-12-01 08:43:50 +01:00
Hypolite Petovan
440d3eb9c4
Simplify Theme::getPathForfile to expand its uses
2019-11-28 12:27:16 -05:00
Hypolite Petovan
6df37afb82
Various feedback items
...
- Add logger call on theme install failure
- Add todo in Module\Admin\DBSync
2019-05-02 09:55:49 -04:00
Hypolite Petovan
fb503e82bf
Normalize how we store enabled addons/themes in config value to straight comma-separated list
2019-05-02 09:52:54 -04:00
Hypolite Petovan
9227aab837
Add system.allowed_themes config key handling in Core\Theme
...
- Add Theme::setAllowedList method
- Update the allowed theme list on theme install/uninstall
- Add theme file inclusion on uninstall allowing for theme_uninstall function to be called
- Removing logging from frontend methods
2019-05-02 09:52:42 -04:00
Hypolite Petovan
b529c03a20
Sanitize theme path items
...
- Sanitize theme style/color/scheme path items
2019-03-31 21:52:48 -04:00
Hypolite Petovan
6aac84dc8e
Add Theme::getAllowedList method
2019-03-31 21:41:38 -04:00
Philipp Holzer
0a7861da65
Dependency of callstack moved one layer up
2019-02-16 23:17:10 +01:00
Philipp Holzer
5e6e1a8025
Introducing Profiler
2019-02-16 23:11:30 +01:00
Hypolite Petovan
cb3f09ae4f
Refactor namespaces
...
- Remove unused use statements
- Add required use statements
- Escape global classes
2019-01-21 10:43:42 -05:00
Hypolite Petovan
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
Hypolite Petovan
a9b8eb4d56
Refactor Theme::getStylesheetPath to return faster if theme style.php doesn't exist
2019-01-12 02:26:16 -05:00
Hypolite Petovan
abf20368b0
Rework Profile::getThemeUid to ignore query parameter and include $a->profile_uid
...
- Use new version in frio default.php file
- Use new version in Theme::getStylesheetPath
2019-01-12 02:23:01 -05:00
Hypolite Petovan
6d1bc974a0
Add time parameter for iOS Safari to stylesheet URL
2019-01-11 20:49:16 -05:00
Hypolite Petovan
ffcd9fb78d
Revert "Change stylesheet path name for mobile browsers"
2019-01-11 20:01:42 -05:00
Hypolite Petovan
e447375cdd
Merge branch '2019.01-rc' into bug/6334-escape-get-app
2019-01-06 16:38:48 -05:00
Hypolite Petovan
cb635fb3cb
Change stylesheet path name for mobile browsers
2019-01-04 20:18:31 -05:00
Hypolite Petovan
5e1ceb57de
Escape global namespaced get_app() calls
...
- Add deprecated status
2019-01-03 21:27:36 -05:00
Hypolite Petovan
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
Philipp Holzer
5a02e39a65
Rename App Methods
...
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
Hypolite Petovan
fde3d6f870
Replace current_theme() and current_theme_url() calls
2018-04-28 18:37:25 -04:00
Hypolite Petovan
964bf3f3cc
Add new methods to src
...
- Add App::getCurrentTheme()
- Add App::getCurrentThemeStylesheetPath()
- Add Theme::getStylesheetPath()
2018-04-28 18:30:13 -04:00
Hypolite Petovan
acbc733dce
Fix formatting in Core\Theme
2018-04-28 18:28:23 -04:00
Michael
15a857e411
Line endings are converted to unix style
2018-02-09 03:49:49 +00:00
Adam Magness
d07536e032
Update Theme functions and calls
...
Update function names and calls for Theme class.
2018-01-20 07:48:22 -05:00
Adam Magness
213f6ae1a1
Create Addon and Theme classes
...
Create Addon and Theme classes and functions from plugin.php to appropriate class.
2018-01-20 07:48:22 -05:00