3e797547a3
Warnings fixed
2018-07-08 09:37:05 +00:00
065b83d148
Fixed memcache & unittests
2018-07-07 20:07:07 +02:00
80a4e6263f
Added Unittests for cache
...
fixed Lock & Cache bugs
2018-07-07 19:46:16 +02:00
1dafaa69c5
bug in memcached clear function
2018-07-07 18:43:55 +02:00
f95c420801
bug in redis delete function
2018-07-07 18:39:33 +02:00
1ffe0cfd81
Added Lock Unittests & Bugfixings
...
Added Redis Lock Unittests
Added Memcached Lock Unittests
Fixed a bug in dba
Fixed a bug in RedisLock
2018-07-07 16:15:03 +02:00
Michael Vogel
3eec97aa6e
Merge pull request #5314 from MrPetovan/task/4889-fix-tests
...
Fix tests after enabling PHP Notices
2018-07-06 22:14:01 +02:00
5a28ad7377
AbstractCacheDriver now working for each CacheDriver
2018-07-05 22:01:33 +02:00
749b167fd9
AbstractCacheDriver now working for each CacheDriver
2018-07-05 21:54:20 +02:00
34cea93a8b
Bugfixings for Cache-Lock
...
- used wrong cachekey in set
- therefore added an abstraction to avoid wrong key concatenation
- forgot to increase the db-version to 1275
2018-07-05 21:47:52 +02:00
e41e7d2edd
Fixings
...
- fixed test for semaphore
- fixed some issues
- changed namespace in Tests back to "src/"
- changed namings
2018-07-05 20:57:31 +02:00
906bb25972
code standards / simplifications
2018-07-05 07:59:56 +02:00
aac94d1d74
Adding multihost - locking
...
Adding Unit-Tests for it
2018-07-04 23:37:22 +02:00
Hypolite Petovan
6776c4e3f9
Fix some undefined variable/index notices in tests
2018-07-02 07:44:55 -04:00
ad5ee75159
Deleting parameter-types of methods (lack of support in PHP 5.6)
2018-06-28 23:06:14 +02:00
4b7be15560
Deleting return-types of methods
2018-06-28 23:02:00 +02:00
3f7e4f5bb6
redesign of locking & caching
...
- New Factory "CacheDriverFactory" for Cache and Locks
- Adding Redis/Memcached Locking
- Moved Lock to Core
- other improvements
2018-06-28 22:57:17 +02:00
dd085ae592
minor changes
2018-06-26 23:42:26 +02:00
a57e6cfa1b
Moved Lock.php back to Utils
2018-06-26 23:28:07 +02:00
0218d16335
Lock abstraction (like the Cache)
...
- adding interface
- adding seperate drivers
- moving Lock to the Core package
2018-06-26 22:31:04 +02:00
b03db4643f
The fetch function now centrally controls the content
2018-06-24 10:48:29 +00:00
Hypolite Petovan
a5550b4702
Merge pull request #5253 from rabuzarus/20180616_-_magic_auth_test_2
...
Port hubzillas OpenWebAuth - remote authentification
2018-06-20 17:46:04 -04:00
miqrogroove
12d0f4bf3c
Add Comments to Worker Exponent Implementation
2018-06-20 06:43:57 -04:00
miqrogroove
9cde4aa109
Make Load Exponent Configurable
2018-06-20 06:22:53 -04:00
miqrogroove
97cabcecf2
Unify Worker Load Formulas
2018-06-20 06:06:20 -04:00
00124f9ac0
Makes the linear load calculation optional
2018-06-20 04:38:50 +00:00
miqrogroove
0dbddb240c
Update Worker.php
2018-06-19 18:55:55 -04:00
miqrogroove
7e4d7b9aac
Fix logic errors in tooMuchWorkers()
...
There are probably a dozen different ways to do this, so this is not necessarily the "right" way.
2018-06-19 18:53:02 -04:00
962fbc9166
Many "fetch_first" had been replaced
2018-06-19 21:33:07 +00:00
rabuzarus
1c7f4e3c63
port hubzillas OpenWebAuth - remote authentification
2018-06-18 23:05:44 +02:00
6e10de9284
New function to fetch item data especially for users
2018-06-17 17:05:17 +00:00
bb79b8f4ac
More item calls have been replaced with the new functions
2018-06-15 22:30:49 +00:00
e97a3c25e7
Multiple daemon improvements (foreground, faster spawning)
2018-06-15 18:18:20 +00:00
71b017bfad
Merge pull request #5219 from annando/abstraction-2
...
Reworked notifications / use of Item class to fetch data
2018-06-15 09:54:50 +02:00
02fef0bcf5
Reworked notifications ("alt pager" added) / use of Item class to fetch data
2018-06-15 05:50:28 +00:00
rabuzarus
b8186ba98b
Frio: provide a template for received contact suggestions
2018-06-14 17:05:23 +02:00
1304dae0d3
Bugfix: In the daemon mode we forgot to call the cron jobs
2018-06-06 03:48:04 +00:00
Hypolite Petovan
973ece09c5
Merge pull request #5157 from annando/daemon
...
Workers can now be started exclusively from the daemon and other workers
2018-06-03 12:18:47 -04:00
8a34895a23
Use magicLink whenever possible
2018-06-02 08:05:06 +00:00
371f511954
Respect "don't fork"
2018-06-02 05:17:32 +00:00
3034170088
DBStruxture can now create "memory" tables as well
2018-06-02 05:03:23 +00:00
28f8beebfc
Workers can now be started exclusively from the daemon and other workers
2018-06-01 22:09:27 +00:00
Hypolite Petovan
93daf7883e
Merge branch 'master' into develop
...
- Updated new develop version label
- Incremented database build number
2018-06-01 07:30:04 -04:00
Alexandre Alapetite
f980516545
Fix PoToPhp
...
https://github.com/friendica/friendica/pull/5072#issuecomment-389754406
2018-05-17 08:12:55 +02:00
538760d9da
No direct $a->config['foo'] needed when Config::get() is around ...
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:50:05 +02:00
751394fc1d
Redis:
...
- added support for redis server:
// Required to actually have this cache driver active:
$a->config['system']['cache_driver'] = 'redis';
// ---- OPTIONAL/DEFAULT: ----
$a->config['system']['redis_host'] = '127.0.0.1';
$a->config['system']['redis_port'] = 6379;
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:50:05 +02:00
fe1e7b92f2
Continued:
...
- system,worker_dont_fork may not be set, always set default to "false" to
have it properly set as Config::get() may one day behave differently
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:50:05 +02:00
f1b5e828db
Fix for the slow spawning of workers
2018-05-14 05:02:18 +00:00
Marcus Müller
64a799198a
[TASK] Automatic installation: Install theme
2018-05-13 12:50:53 +02:00
7e28e3e5f4
using \PDO instead PDO (bugfix)
2018-05-04 19:48:01 +02:00