Michael
f1b5e828db
Fix for the slow spawning of workers
2018-05-14 05:02:18 +00:00
Philipp Holzer
b4f5311e7f
Add Install Mode
...
- merge `friendica/develop` to `nupplaphil/install_mode`
2018-04-29 20:15:12 +02: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
Philipp Holzer
a97ad9dc42
Add Install Mode (Part 2)
...
- Added constants to class `App`
- Added global App-Mode to `dba:connect()` instead parameter `$install`
2018-04-28 12:36:40 +02:00
Philipp Holzer
d5b68cd146
Add a App-Mode with defined constants
...
- Normal Mode = 0
- Install Mode = 1
- Maintenance Mode = 2
Moved Install-Mode check to class `App`
Replaced all maintenance and install checks with $a->mode checks
2018-04-27 21:07:04 +02:00
Philipp Holzer
6973aaefc2
Add Install Mode
...
- Added $install_mode in Class App instead
- Extracted the install business logic to a new Class Install
- Replaced all $a->module == 'install' with $a->install_mode
2018-04-23 22:56:59 +02:00
Tobias Diekershoff
ef8e984c62
noreply should not be translate-able in email addresses
2018-04-11 08:17:44 +02:00
Hypolite Petovan
a86d1806ae
Add App->getSenderEmailAddress method
2018-04-06 21:47:16 -04:00
Michael
3d487c263e
Fixes missing command line argument
2018-03-31 08:19:19 +00:00
Hypolite Petovan
87f2d18554
Move *ConfigValue functions to App
2018-03-06 20:04:04 -05:00
Hypolite Petovan
22fd2409ca
Add cache to performance arrays
2018-03-04 23:13:19 -05:00
Hypolite Petovan
42c97db724
Switch register_template_engine() to the only one available
...
- get_declared_classes() can't be used with autoloading
- Removed killme() to prevent infinite loop during App object
instantiation
2018-02-02 07:46:13 -05:00
Adam Magness
07d306aa37
Finish t() for src
...
Update t() calls in src folder
2018-01-22 18:03:26 -05:00
Adam Magness
b86b04a81a
Change plugin to addon
...
change the use of plugin to addon where appropriate.
2018-01-20 07:48:22 -05:00
Hypolite Petovan
ad88b6e3af
Fix issues in App.php
...
- Fix formatting
- Add method visibility
- Remove unused properties
- Remove unused methods
- Remove unused parameters
- Fix implode parameter order (?!)
2018-01-17 00:17:58 -05:00
Hypolite Petovan
78ac7afe9c
Move process functions to Model\Process
...
- Add start|endProcess functions to Core\Worker
2018-01-17 00:17:58 -05:00
Hypolite Petovan
e36f2bb1fb
Use short form array syntax everywhere
...
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Hypolite Petovan
819592c3bd
Fix Scrutinizer issues in mod [_well_know -> contactgroup]
...
- Remove unused variables and parameter
- Updated function documentation
- Fix formatting
- Add back uninitialized variables
- Simplify nested conditions
2018-01-04 19:42:48 -05:00
Hypolite Petovan
585c00347d
Fix PHP notices in boot, index and App
...
- Use defaults() with $_GET variables in boot
- Initialize $a before checking for object member in boot
- Initilialize the $_SESSION variable for backend mode in index
- Add member variable page_offset to App
2018-01-02 08:09:49 -05:00
Michael Vogel
fa11959919
Merge pull request #4095 from MrPetovan/task/fix-phpstan-errors
...
Fix phpstan errors
2017-12-18 07:28:23 +01:00
Hypolite Petovan
4b5894817e
Fix class methods staticity/return value
2017-12-17 15:30:26 -05:00
Hypolite Petovan
916236ce2f
Fix docblocks types
2017-12-17 15:27:50 -05:00
Hypolite Petovan
10b72b0e9e
PHPStan: Fix missing requires/namespaces
2017-12-17 15:26:43 -05:00
Hypolite Petovan
f07776a78e
Add class module routing
2017-12-17 12:03:51 -05:00
Michael
8bffee43b3
Threads are now always enabled.
2017-11-28 18:54:39 +00:00
Michael
87660ac9e6
/src is now free from old style delete queries
2017-11-22 09:14:42 +00:00
Hypolite Petovan
104a1d7fd3
Move ITemplateEngine to src
...
- Fix method name format
2017-11-19 10:22:18 -05:00
Adam Magness
06c3af9b60
Move Cache to src
...
relocate the cache class to Friendica\Core namespace
2017-11-09 11:05:18 -05:00
Adam Magness
4ca68c7af0
Class file relocations
...
Issue #3878
2017-11-08 08:37:03 -05:00
Adam Magness
6189f6c8e7
Relocate class files from /include to /src/
...
dbm, Diaspora, dfrn, and NotificationsManager moved to namespace. Includes and references in files updated.
2017-11-08 08:36:48 -05:00
Hypolite Petovan
cff1de034f
Remove reference to languagedetect in library folder
2017-11-05 09:00:34 -05:00
Michael
7b833834f9
Avoid basepath problems
2017-10-11 18:21:10 +00:00
Tobias Diekershoff
071946fa78
Revert "Update languagedetect library"
2017-10-05 11:58:18 +02:00
Hypolite Petovan
ba1975ac3a
Remove references to the library/langdet folder
2017-09-27 22:40:58 -04:00
Michael
a729519de9
And some more static warnings removed
2017-08-26 10:01:50 +00:00
Michael
5adfeb0bd5
App::get_baseurl is now replaced with System::baseUrl
2017-08-26 07:32:10 +00:00
Michael
99f0c01cdd
Some more changed queries
2017-08-11 16:21:55 +00:00
Michael
03b86d3766
Now we have less than 100 insert commands, yeah
2017-08-09 23:02:57 +00:00
Michael
fce72cbbc8
Modifed "update" and "insert" function / many changed queries
2017-08-09 21:12:41 +00:00
Michael
79fe249c54
Better use a wrapper
2017-07-22 06:43:04 +00:00
Michael
7d0a7f6be9
We got rid of two workerqueue queries, yeah!
2017-06-11 19:51:18 +00:00
Hypolite Petovan
9c0d2c31e8
Replace AND and OR in PHP conditions by && and ||
2017-06-07 22:00:59 -04:00
Michael
9c46971aa5
The check for blocking processes is deactivated until further checks were performed
2017-06-06 22:18:42 +00:00
Michael
21eb9a4b2e
Fixed locking behaviour for the worker
2017-06-03 07:25:01 +00:00
Hypolite Petovan
06ea23665c
Merge pull request #3460 from annando/1705-dbclean
...
dbclean is now using the new database functions
2017-05-12 11:45:27 -04:00
Michael
6ef24890bb
dbclean is now using the new database functions / new functions for commit, rollback and transaction
2017-05-11 20:13:45 +00:00
Hypolite Petovan
39f894bd4a
Use use
instead of \
2017-05-11 11:53:04 -04:00
Michael
52a4e09711
Don't check if basepath is writable / convert App.php to unix newlines
2017-05-08 06:11:38 +00:00
Hypolite Petovan
b4f2fc4e2f
Hotfix for missing Exception class
2017-05-07 15:22:11 -04:00
Hypolite Petovan
569cd459ec
Add basepath to App
2017-05-02 23:37:57 -04:00