Commit Graph

370 Commits

Author SHA1 Message Date
Michael 476facde61 Onepoll moved as well 2017-11-12 18:50:35 +00:00
Michael 521e213e7a I will never understand git ... 2017-11-12 07:26:04 +00:00
Michael 1aa8f56662 The cronhooks are now changed 2017-11-12 07:24:49 +00:00
Michael 06ce34eda1 The worker can now call methods in the worker namespace 2017-11-12 07:21:23 +00:00
Adam Magness 4d146acf90 Smilies to src
Move Smilies to Friendica\Content namespace.

Related to #3878
2017-11-11 07:21:15 -05:00
Adam Magness bc49fc974c Capitalized XML
Acronym classes should be capitalized
2017-11-10 07:45:33 -05:00
Adam Magness 0226aa1f15 Spelling
spelling correction for simplexmlelement
2017-11-10 07:18:24 -05:00
Adam Magness d49da294b3 Add uses
added DomXPath and SimpleXMLElement
2017-11-10 07:18:24 -05:00
Adam Magness f245bc8359 Move xml to namespace
Relocate xml from include to src
Related to #3878
2017-11-10 07:18:24 -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
Hypolite Petovan a49901eaa2 Fix missing Crypto class error 2017-11-09 03:47:12 -05:00
Hypolite Petovan ee5b9de6ad Reverting RINO crypto code to php-encryption version 1.2 2017-11-09 03:20:18 -05:00
Hypolite Petovan d5aff9ac31 Fix php-encryption version 2 compatibility issues 2017-11-09 02:35:11 -05:00
Hypolite Petovan acd65aade1 Switch to new php-encryption library version
- Remove references to library/ files
- Add namespace to library classes
2017-11-09 02:21:37 -05:00
Adam Magness cfd8ae389c Review updates
changes based on review comments.
2017-11-08 20:08:42 -05:00
Adam Magness d7dc51ecc1 Coding Standards
Guess who got phpcs configured.
Updated phpcs.xml based on Developer_Intro document.
2017-11-08 17:02:50 -05:00
Adam Magness ca5d5acb7e Another use
use Cache
2017-11-08 08:51:01 -05:00
Adam Magness a307991ee5 Use more
More use statements based on error logs.
2017-11-08 08:37:03 -05:00
Adam Magness d857473026 Use Statements
More use statements based on error logs
2017-11-08 08:37:03 -05:00
Adam Magness 3581889fbd DFRN Update
missing use statement
2017-11-08 08:37:03 -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
Michael 5a6fa4ae87 Some more 2017-11-07 21:53:11 +00:00
Adam Magness 1a83b80dbd Review Updates
Reverted changes made to .sql file and Errant use statement in Probe class.
2017-11-07 06:43:34 -05:00
Adam Magness 0dfa57948f Issue-#3873
Replace deprecated functions with new syntax.
2017-11-07 06:24:39 -05:00
Michael 28701a8df3 Some small correction 2017-11-06 15:38:15 +00:00
Michael 4ebb76e5a6 Changed explanation 2017-11-06 15:32:34 +00:00
Michael 930309d2ec Merge remote-tracking branch 'upstream/develop' into worker-class 2017-11-05 17:23:53 +00:00
Michael 84c3c0753e Now we use only dba functions 2017-11-05 17:13:37 +00:00
Michael 70c08dee1d Some more improvements 2017-11-05 15:28:55 +00:00
Hypolite Petovan cff1de034f Remove reference to languagedetect in library folder 2017-11-05 09:00:34 -05:00
Michael 478e363967 proc_run was replaced 2017-11-05 12:15:53 +00:00
Michael da212a28a2 New worker class that does all the work 2017-11-05 10:33:46 +00:00
Michael e2224a2ddc Some Webfinger clean up 2017-10-28 11:48:29 +00:00
Michael 0b7e8b7fb4 Hubzilla doesn't return the handle in the hcard 2017-10-27 06:17:24 +00:00
Michael c309c8bde4 Improve the way the callstack is built 2017-10-17 20:51:46 +00:00
Michael 1506886947 Bugfix: Range checking with ParseUrl made problems - we now use the standard 2017-10-15 19:29:58 +00: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
Tobias Diekershoff c22920edba Merge pull request #3743 from MrPetovan/task/update-languagedetect
Update languagedetect library
2017-10-05 08:49:17 +00:00
Michael 42a8f27034 Semaphore lock deactivated for PHP lower 5.6.1 2017-09-30 07:51:09 +00:00
Hypolite Petovan ba1975ac3a Remove references to the library/langdet folder 2017-09-27 22:40:58 -04:00
Michael d72e6b2c82 Bugfix for better mail import 2017-09-23 22:53:44 +00:00
Michael 78d4386332 We are now probing differently for webfinger data 2017-09-04 19:13:33 +00:00
Michael 1cc50a80f4 Only update if there is a change 2017-08-30 19:33:16 +00:00
Michael 0083c16e87 Better updating of contacts 2017-08-30 18:05:41 +00:00
Michael 4bc2076763 Avoid warnings from probe 2017-08-29 04:51:02 +00: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 3c24bed412 New class "System" 2017-08-26 06:04:21 +00:00
Michael c09c806f78 Probing sometimes failed / problems with some web servers 2017-08-24 07:56:46 +00:00
Michael 51dca9b034 Compatibility with pleroma added 2017-08-21 20:21:04 +00:00
Michael 6c9953809a Improved position of "close" 2017-08-15 10:10:09 +00:00
Michael b14b44e8a8 Merge remote-tracking branch 'upstream/develop' into dba-2 2017-08-12 07:37:06 +00:00
Michael 7052da745c Issue 3615: Probing sometimes returned an empty "addr" field 2017-08-11 21:50:46 +00:00
Michael 99f0c01cdd Some more changed queries 2017-08-11 16:21:55 +00:00
Michael 33b61ab262 Database connections should be closed 2017-08-10 06:33:24 +00:00
Michael f1a57dd9c6 Avoid an error 2017-08-09 23:08:25 +00:00
Michael 03b86d3766 Now we have less than 100 insert commands, yeah 2017-08-09 23:02:57 +00:00
Michael 69a3f66d56 Just more simplyfication 2017-08-09 21:34:39 +00:00
Michael fce72cbbc8 Modifed "update" and "insert" function / many changed queries 2017-08-09 21:12:41 +00:00
Michael a5e7f7bf70 We don't need an order. 2017-08-09 07:57:33 +00:00
Michael 64718b53d1 Works now 2017-08-09 06:16:19 +00:00
Michael ae8098eaf2 Config now works with the new database routines 2017-08-09 05:53:07 +00:00
rabuzarus 28eb5d57a7 fix some method names (camelcase) in Probe.php and Lock.php 2017-08-02 13:09:42 +02:00
Michael 955229e131 Fix incomplete webfinger data for OStatus 2017-07-25 21:46:14 +00:00
Michael 79fe249c54 Better use a wrapper 2017-07-22 06:43:04 +00:00
Michael 41ec057813 Avoid "Invalid argument" warning in probing. 2017-07-11 17:34:38 +00:00
Michael 363322ba78 Issue 3571 and Diaspora mail bugfix 2017-07-10 22:35:32 +00:00
Alexandre Alapetite 080da4777d Use unset after unlock
https://github.com/friendica/friendica/pull/3554#issuecomment-313741392
2017-07-08 11:03:41 +02:00
Alexandre Alapetite 84972623f7 Order of semaphore processing 2017-07-07 18:26:43 +02:00
Alexandre Alapetite 329ab7d153 More general check for semaphore 2017-06-28 22:38:22 +02:00
Alexandre Alapetite 4eaa6b94a6 Hide semaphone warning
https://github.com/friendica/friendica/issues/3553
2017-06-28 18:38:18 +02:00
Michael 4515c36f69 Semaphore based locking and hopefully the fix for the workerqueue 2017-06-28 04:53:11 +00:00
Michael 1301a29505 It's faster without locks, gnarl ... 2017-06-12 19:20:50 +00:00
Michael 16df7715b9 Avoid locking problems in lock class 2017-06-12 15:42:54 +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 e3d5dcf049 Beware of camels 2017-06-06 17:42:47 +00:00
Michael 286b2da7a9 Added documentation and renamed function 2017-06-06 17:25:28 +00:00
Michael 5dfa513b62 Only wait when you have a timout value at all 2017-06-06 04:22:18 +00:00
Michael 2b04865cdb We found the handbrake ... 2017-06-05 22:41:33 +00:00
Michael b86c4d539e Locking waits now for a shorter period. DB locking is used at other locations as well 2017-06-05 14:59:53 +00:00
Michael 30b24a2908 Locking seems to work great now 2017-06-04 18:59:50 +00:00
Michael bca5776e9c Lock now can use the memcache as well 2017-06-04 15:59:20 +00:00
Michael d2cb87a200 Database locks are now having its very own functions 2017-06-04 12:59:29 +00:00
Michael 5de03c1b27 Locks now work - ready to be used in the wild 2017-06-04 08:36:08 +00:00
Michael 32f61016d3 Overhauled "lock" functionality 2017-06-04 07:26:21 +00:00
Michael 21eb9a4b2e Fixed locking behaviour for the worker 2017-06-03 07:25:01 +00:00
Michael 609649557b Better handling of timeout issues while probing 2017-05-31 03:46:43 +00:00
Michael a32de855cc Don't quit if the own host cannot be reached via SSL 2017-05-29 19:14:44 +00:00
Michael 860887557a Some more logging for the probing 2017-05-28 05:38:12 +00:00
Hypolite Petovan 471056e989 Merge pull request #3488 from annando/ptobr-no-cache
Probing via web frontend shouldn't use the cache.
2017-05-23 17:21:10 -04:00
Michael 07e318e991 some more logging 2017-05-23 20:19:39 +00:00
Michael c84a2fb1a3 Bugfix ParseUrl: Only fetch a range to avoid memory issues 2017-05-23 05:26:22 +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 f6fe11ff49 Small bugfix for PR 3454 2017-05-08 20:01:18 +00:00
rabuzarus 3d5ff8bab3 remove use of PConfig Class from Probe class because we don't use it here 2017-05-08 19:04:01 +02:00
rabuzarus 8a2ffffe71 Bugfix: correct uninitialized variables 2017-05-08 19:02:34 +02:00
rabuzarus 035c79f355 add some spaces for better readability 2017-05-08 18:28:30 +02:00
rabuzarus 8830d20ed0 rename some variables for comprehensibility 2017-05-08 18:07:06 +02:00
rabuzarus 51372bc314 improve readability 2017-05-08 17:36:04 +02:00
rabuzarus 450a4920fd apply coding standard 2017-05-08 17:06:57 +02:00
rabuzarus cc8a3a4101 rename methods of the Probe class to camelCase 2017-05-08 16:19:10 +02:00
Michael 52a4e09711 Don't check if basepath is writable / convert App.php to unix newlines 2017-05-08 06:11:38 +00:00
Michael a8caeefb52 And even more global classes ... 2017-05-07 22:21:12 +00:00
Michael Vogel d9f8fbeb4f Merge pull request #3449 from Hypolite/improvement/move-probe-to-src
Hotfix: Yet more global classes to escape
2017-05-08 00:18:53 +02:00
Hypolite Petovan f123f6df10 Yet more global classes to escape 2017-05-07 18:12:26 -04:00
Michael Vogel 6680ce1dd7 Merge pull request #3445 from Hypolite/improvement/move-probe-to-src
Move Probe to src
2017-05-07 23:14:22 +02:00
Hypolite Petovan b4f2fc4e2f Hotfix for missing Exception class 2017-05-07 15:22:11 -04:00
Hypolite Petovan 36e515ee6d Move Probe to src 2017-05-07 14:44:30 -04:00
Hypolite Petovan 569cd459ec Add basepath to App 2017-05-02 23:37:57 -04:00
Hypolite Petovan 3437e73ae4 Yet more standards 2017-05-02 23:37:50 -04:00
Hypolite Petovan ce866ad39b Remove unrecommended leading backslash for fully qualified namespaces 2017-05-02 23:37:06 -04:00
Hypolite Petovan 4b16de6d80 Fix wrong class name case
- Use leading backslash for non-namespace class names in App
2017-05-02 23:36:46 -04:00
Hypolite Petovan 20043914e6 Move App to src
- Add `use Friendica\App;` wherever needed
2017-05-02 22:59:36 -04:00
Hypolite Petovan 799e60aa62 Replace existing autoloader with Composer-supplied
- Move Friendica namespace to `src`
- Move required `ezyang/htmlpurifier` to vendor
- Remove existing static autoloader
- Change boot.php reference to the autoloader
2017-03-31 23:02:38 -04:00