Philipp Holzer
8c3aebc376
Bugfixings in Config
...
- replaced usage of "!<unset>!" with null-returns
- fixed bool settings (0/1)
- fixed overriding config-values
- fixed basepath problems
3 years ago
Michael
886da50474
Issue 6679: Quick fix
3 years ago
Philipp Holzer
a3d6062476
check if value is set
...
get basepath with config instead cache
3 years ago
Philipp Holzer
95deff1685
use cache for basepath
3 years ago
Philipp Holzer
218e41a818
Bugfixing index.php
3 years ago
Philipp Holzer
5e5c39b0e1
Refactored DependencyFactory for Profiler
3 years ago
Philipp Holzer
80f1feabe5
Refactoring Logging to use Configuration
3 years ago
Philipp Holzer
eafcf3592d
Config FollowUp
...
- New Configuration (Config is now only holding the instance)
- New PConfiguration (PConfig is now only holding the instance)
- Config & PConfig-Adapter don't need "ConfigCache" anymore
- DB-Connection is now outside App->reload() for better dependency-chaining
3 years ago
Philipp Holzer
0a7861da65
Dependency of callstack moved one layer up
3 years ago
Philipp Holzer
5e6e1a8025
Introducing Profiler
3 years ago
Hypolite Petovan
d7dbc632f8
Improved comment hiding interaction
...
- Remove global window.showMore and window.showFewer
- Improve global showHideComments function
- Remove frio-specific showHideComments function
3 years ago
Philipp Holzer
b79bd63231
move isDirectoryUsable to System
3 years ago
Philipp Holzer
6a9d73f7d9
Refactoring ConfigCacheLoader methods
3 years ago
Philipp Holzer
f3da5b3a2f
Bugfixing PConfig
3 years ago
Philipp Holzer
1e0e1674f2
4) Adding Factories to other entrypoints
3 years ago
Philipp Holzer
4af0119b73
3) Introducing ConfigFactory
3 years ago
Philipp Holzer
d43a8184f4
2) Refactor App->config[] into Core\PConfig
3 years ago
Philipp Holzer
be6b229534
1) Refactor App->config[] into Core\Config
3 years ago
rabuzarus
0993f3e6ef
fix isssue if friendica is installed into a subdirectory
3 years ago
Hypolite Petovan
7f2dc40601
Fix potential bugs without expected behavior change
...
- Fix uninitialized variables
- Fix potentially not set variables
- Fix wrong parameter default value
- Fix method scope
- Fix missing return value
4 years ago
Hypolite Petovan
cb3f09ae4f
Refactor namespaces
...
- Remove unused use statements
- Add required use statements
- Escape global classes
4 years ago
Hypolite Petovan
3282ce5389
Fix PHPDoc comments project-wide
4 years ago
Philipp Holzer
2e602afd3e
Add Monolog
4 years ago
Hypolite Petovan
2f49c4a058
Revert "Add monolog"
4 years ago
Philipp Holzer
6e48df2163
Refactor Loglevels
4 years ago
Philipp Holzer
6150c2fa9c
Bugfixing
4 years ago
Philipp Holzer
8f9c0fe149
Adding Develop and normal Logging instances
4 years ago
Philipp Holzer
fe8f0e0045
Add Monolog
4 years ago
Hypolite Petovan
55e54bb950
Replace deprecated Addon::callHooks with Hook::callAll
...
- Update documentation
4 years ago
fabrixxm
75daf96590
Revert "Catch HTTPExceptions in App::runFrontend()"
...
This reverts commit 58bd75f8f3
.
4 years ago
fabrixxm
89eaf508f1
Catch HTTPExceptions in App::runFrontend()
...
Set correct http response header, display error message using "404.tpl"
4 years ago
Hypolite Petovan
89cb1b276d
Move rawContent before theme initialization
4 years ago
Hypolite Petovan
af7b852d04
Insert theme init after module init but before post/content
4 years ago
Michael
2a0e18c7dd
Bugfix: Theme functions hadn't been executed anymore
4 years ago
Hypolite Petovan
f6092ebebb
Add App->mobileDetect property
4 years ago
Hypolite Petovan
979230da27
Allow theme setting in module
...
- Restore theme name caching
4 years ago
Hypolite Petovan
acaee626f5
Remove include/ requires that are now done directly from Composer
4 years ago
Hypolite Petovan
607f7daf51
Add PHP 5 compatible recursive dirname()
4 years ago
Hypolite Petovan
458981f75c
Replace x() by isset(), !empty() or defaults()
...
- Remove extraneous parentheses around empty() calls
- Remove duplicate calls to intval(), count() or strlen() after empty()
- Replace ternary operators outputting binary value with empty() return value
- Rewrite defaults() without x()
4 years ago
Michael
4a1f9a9bdd
Improved url detection for redirects
4 years ago
Hypolite Petovan
d6eb1135e5
Add support for PHP array config files
...
- Add new base config files
- Remove useless DIRECTORY_SEPARATOR instances
4 years ago
Jonny Tischbein
9aea59d4e3
Change Worker to use only MemFree in isMinMemoryReached
4 years ago
Alexandre Alapetite
4d092872a5
Escaping moved to template
...
https://github.com/friendica/friendica/pull/6147#pullrequestreview-176051481
4 years ago
Alexandre Alapetite
e45d32d5a5
Fix lack of HTML encoding for stylesheet link
...
Previous to the fix, the home page had a line like (notice the wrongly
encoded `&`):
```html
<link rel="stylesheet" href="view/theme/frio/style.pcss?f=&puid=1"
type="text/css" media="screen" />
```
4 years ago
Hypolite Petovan
09c94dba86
Add URL encoding to toggle_mobile parameter
4 years ago
Adam Magness
ffc406d819
normalise_link calls
...
implement normaliseLink function
4 years ago
Adam Magness
5276c28a78
link_compare calls
...
implement compareLink function.
4 years ago
Adam Magness
70f01d6c00
Template Engine and props to Renderer
...
move methods and props from App to Renderer
4 years ago
Adam Magness
3f74ba88c2
Move delimiter props and functions
...
move left and right delimiter functions and properties to Render class.
4 years ago
Adam Magness
35abc4bb64
get markup template
...
implement getMarkupTemplate function
4 years ago