Michael
0548099f6c
The config class now makes less database reads.
4 years ago
Roland Häder
98b7270295
Coding convention applied:
- space between "if" and brace
- curly braces on conditional blocks
Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
include/lock.php
4 years ago
Roland Häder
abff6372dd
Coding convention applied:
- space between "if" and brace
- curly braces on conditional blocks
Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
include/lock.php
4 years ago
Roland Häder
fb676335db
Coding convention applied:
- space between "if" and brace
- curly braces on conditional blocks
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
a905522eb5
Cleanup for #3010 - added spaces, thanks to @annando .
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
6a8a36f12d
More usage of dbm::is_result($r) instead of count($r):
- count() returns very different results and never a boolean (not even false on
error condition).
- therefore you should NOT use it in boolean expressions. This still *can* be
done in PHP because of its lazyness. But it is discouraged if it comes to
more clean code.
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Michael Vogel
501c45def5
Some more improved queries
5 years ago
Michael Vogel
1caa87dce6
Restructured the way, processes are inserted and removed
5 years ago
Michael Vogel
22f32d9721
New process table for a better detection of running workers
5 years ago
Michael Vogel
4961fb3a45
Unused indexes removed, queries changed
5 years ago
Roland Haeder
3e701b90ac
Continued rewriting:
- use dba::is_result() everywhere (where I found the old, bad way)
- converted some spaces -> tabs for code
- converted some CRLF -> LF as mixures of both is not good
Signed-off-by: Roland Haeder <roland@mxchange.org>
5 years ago
Michael Vogel
65d6d45f8c
Changed parameter order
5 years ago
Michael Vogel
beb2346cfc
The function to check for maxload and the lockfile is centralized
5 years ago
Michael Vogel
ec9c9f0be7
Don't create lock files if the process is called from the poller via the worker
5 years ago
Matthew Exon
0ae83e41a2
Use get_temppath() instead of hard-coded '/tmp' to store cookiejar
5 years ago
Matthew Exon
4007876b84
Use more cookies to allow processing of the NYT feed
Conflicts:
include/Scrape.php
5 years ago
Michael Vogel
c66b4387bf
dfrn functions could now work/Removed unused code
5 years ago
rabuzarus
3df5c17124
reformat todo according to doxygen style
5 years ago
Michael Vogel
f42a3c9bc6
Update the contact table as well.
6 years ago
Michael Vogel
32e8f3468d
Moved some functionality back to the cron. Speed up things
6 years ago
Michael Vogel
d3a6ebfe7e
The worker is now working
6 years ago
Michael Vogel
fd239ebf7b
Try to repair OStatus subscriptions
6 years ago
Michael Vogel
d5a48c4621
Code beautification
6 years ago
Michael Vogel
9717fa82fe
New field "created" in gcontacts. New option for timeframe when polling global contacts
6 years ago
Michael Vogel
3622f1a335
Do some caching
6 years ago
Michael Vogel
639f94f8b9
Onepoll: mark the last request failure for this contact
6 years ago
Michael Vogel
fca8aecc9b
Show "Redmatrix" as network name.
6 years ago
Michael Vogel
65468bf202
Moved the needed include to a better place.
6 years ago
Michael Vogel
9106baf10f
Some more test code removed
6 years ago
Michael Vogel
fe137a92ef
Automatically update contact data.
6 years ago
Michael Vogel
75797c61f2
Improved logging with receiving mails
6 years ago
Matthew Exon
1c31dca5d6
Support feeds without XML headers
6 years ago
Michael Vogel
cce561708a
Replaced $argv and $argc with the $_SERVER array
6 years ago
Michael Vogel
4fb059095f
Performance stuff: Caching for getsiteinfo function, check before running onepoll.php
6 years ago
Michael Vogel
ed1dce93d6
Usage of /display/(guid) as path instead of /display/(user)/(id)
Bugfix for adding tags to photos
7 years ago
Michael Vogel
5114e018d0
Setting "verb" for postings from Diaspora, Feeds and Mails
7 years ago
Michael Vogel
5ed5773f57
The temporary paths (temp, lock, itemcache) are now detected automatically when used.
7 years ago
Michael Vogel
e32f9c4fff
Dead processes will be deleted when they are running for more than 9 minutes.
7 years ago
Michael Vogel
6b8585d48d
Database stuff. New table "thread". Changing "left join" to "inner join", removing "limit 1" at update and delete.
7 years ago
Michael Vogel
7ba1416e64
SQL: Query for showing group posts is improved, order by comment date now work again
8 years ago
Michael Vogel
759015e5fd
Removed many "limit 1" at update and delete queries since they were superflous und generated massiv logfile entries
8 years ago
Michael Vogel
9a1a666f24
Some changes to let pumpio react similar to facebook.
8 years ago
Michael Vogel
ed33d28e61
redoing the change concerning the hostname.
8 years ago
Michael Vogel
e746c4955b
Added an option to configure the hostname manually. And there was a problem when APC wasn't present.
8 years ago
Michael Vogel
4dcd00cf4b
Lockfile for onepoll, removing old smarty3 cache files.
8 years ago
Fabrixxm
4748b6c4c3
remove unneeded logger function
8 years ago
Fabrixxm
0a1697d13a
add pubsubhubbub support to feed contacts
8 years ago
Michael Vogel
111495423c
Imported mails were deleted the second time the poller ran - when moving or deleting of mails was activated.
8 years ago
Zach Prezkuta
fcab22b80f
run limit_body_size on imported emails, which don't go through consume_feed
8 years ago
friendica
4b2de6fdf2
if snautofollow - make all SN contacts writable
8 years ago