Philipp Holzer
318a3ca785
Create own base URL class which holds the whole base url business logic
2019-04-09 08:31:16 +02:00
Michael
1b339547f3
Fix warning
2019-04-09 05:17:02 +00:00
Hypolite Petovan
d6d31f43a1
Add App\Router dependency injection to App
...
- Moved collectRoutes method from App to App\Router
2019-04-05 23:16:12 -04:00
Hypolite Petovan
42b360f479
Implement feedback changes to App\Router
...
- Add class PhpDoc
- Switch Router->routeCollector scope to protected
- Added getter for Router->routeCollector
- Added EOF new line
- Removed unused use statement
- Improved App->collectRoutes PhpDoc
2019-04-04 07:29:26 -04:00
Hypolite Petovan
993f4e5fcc
Add sample route for /itemsource
...
- Fix missing item guid not displaying in Module\Itemsource
2019-04-03 23:36:37 -04:00
Hypolite Petovan
61b6ab7e3e
Add Router to App
...
- Create new Friendica\App\Router class
- Add route_collection hook
- Add route dispatching in App->runFrontend
2019-04-03 23:35:24 -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
3de1fc3097
Hotfix for App->registerStylesheet
...
- Wrong condition for strpos()
- Follow-up to #6953
2019-03-31 06:00:20 -04:00
Philipp
e5cc35cb45
Merge pull request #6953 from tobiasd/20190330-csspath
...
check if BasePath is empty to prevent mangeled up CSS path
2019-03-31 10:12:40 +02:00
Tobias Diekershoff
16f44a8237
dont check but only copy if BasePath is present
2019-03-31 08:53:25 +02:00
Philipp Holzer
e0b1f4f251
Hardening ConfigUpgrade
2019-03-30 18:54:22 +01:00
Tobias Diekershoff
bb8216cbc8
check if BasePath is empty to prevent mangeled up CSS path
2019-03-30 11:13:27 +01:00
Hypolite Petovan
34208bf966
Add manifest module to backend module list
2019-03-25 22:08:01 -04:00
Philipp Holzer
23654ce566
Added Update checks
...
- Logging
- Console
- Admin overview
2019-03-24 22:51:30 +01:00
Philipp Holzer
49def0dc27
Adding ConfigFileSaver and tests
2019-03-24 13:47:35 +01:00
Philipp Holzer
383a6715c3
Added first version of ConfigCacheSaver
2019-03-23 19:34:54 +01:00
Philipp Holzer
dda26a46f5
Rename Core\Conifg to $this->config
2019-03-23 19:34:54 +01:00
Philipp Holzer
0f93a467a7
Rename basepath to getBasePath()
2019-03-23 19:34:53 +01:00
Hypolite Petovan
5480c56811
Add missing ConfigCacheLoader constructor parameter in App
2019-03-23 00:19:22 -04:00
Philipp Holzer
1a2527cdba
Move AppMode
2019-03-22 23:22:32 -04:00
Michael
0aab620d32
Enable remote authentication with HTTP Signatures
2019-03-19 06:44:51 +00:00
Philipp
a5d86fe787
Add default value for config.sitename in App::initHead
...
- Protect $this->page['title'] even more
Co-Authored-By: MrPetovan <hypolite@mrpetovan.com>
2019-03-04 07:54:51 -05:00
Hypolite Petovan
8fdf1db032
Restore module custom title display
2019-03-04 06:47:40 -05:00
Hypolite Petovan
1a0398a5b3
Merge pull request #6723 from nupplaphil/issue/6658-worker_id
...
Adding worker ID to log
2019-02-23 08:38:08 -05:00
Hypolite Petovan
c1896eee34
Merge pull request #6725 from nupplaphil/6691-rendertime-fix
...
Addon loading fix
2019-02-22 23:53:11 -05:00
Philipp Holzer
3aae84edd1
[rendertime] Timing problem during addon config read
2019-02-23 01:24:08 +01:00
Philipp Holzer
40e9bbeb88
cleanup
2019-02-23 00:53:31 +01:00
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
2019-02-22 23:51:13 +01:00
Philipp Holzer
cec6f49023
Removed unused code
2019-02-22 20:24:10 +01:00
Michael
886da50474
Issue 6679: Quick fix
2019-02-20 21:06:52 +00:00
Philipp Holzer
a3d6062476
check if value is set
...
get basepath with config instead cache
2019-02-18 11:29:42 +01:00
Philipp Holzer
95deff1685
use cache for basepath
2019-02-18 01:15:55 +01:00
Philipp Holzer
218e41a818
Bugfixing index.php
2019-02-18 00:53:00 +01:00
Hypolite Petovan
256e845c5d
Merge pull request #6641 from nupplaphil/config_followup
...
Config FollowUp
2019-02-17 17:56:31 -05:00
Philipp Holzer
5e5c39b0e1
Refactored DependencyFactory for Profiler
2019-02-17 21:12:12 +01:00
Philipp Holzer
80f1feabe5
Refactoring Logging to use Configuration
2019-02-17 20:43:52 +01:00
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
2019-02-17 20:40:27 +01: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
d7dbc632f8
Improved comment hiding interaction
...
- Remove global window.showMore and window.showFewer
- Improve global showHideComments function
- Remove frio-specific showHideComments function
2019-02-14 22:24:34 -05:00
Philipp Holzer
b79bd63231
move isDirectoryUsable to System
2019-02-05 22:30:18 +01:00
Philipp Holzer
6a9d73f7d9
Refactoring ConfigCacheLoader methods
2019-02-05 22:27:57 +01:00
Philipp Holzer
f3da5b3a2f
Bugfixing PConfig
2019-02-03 23:22:05 +01:00
Philipp Holzer
1e0e1674f2
4) Adding Factories to other entrypoints
2019-02-03 22:46:50 +01:00
Philipp Holzer
4af0119b73
3) Introducing ConfigFactory
2019-02-03 22:22:04 +01:00
Philipp Holzer
d43a8184f4
2) Refactor App->config[] into Core\PConfig
2019-02-03 19:04:41 +01:00
Philipp Holzer
be6b229534
1) Refactor App->config[] into Core\Config
2019-02-03 18:54:25 +01:00
rabuzarus
0993f3e6ef
fix isssue if friendica is installed into a subdirectory
2019-01-30 01:00:40 +01:00
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
2019-01-21 11:04:19 -05: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