Commit Graph

272 Commits (93a91a95e95bcf4457fe0c6e2a809e20069df06a)

Author SHA1 Message Date
Adam Magness 1ac32c622e Functions moved to Strings class
implement functions from Strings class
2018-11-09 07:09:15 -05:00
Adam Magness 1af505701b Revert "update function calls"
This reverts commit b8df74beca.
2018-11-05 13:09:22 -05:00
Adam Magness b8df74beca update function calls
update function calls to new class
2018-11-05 07:47:04 -05:00
Adam Magness 7f1fda43ae Update function calls
update function calls to new names
2018-11-04 08:24:49 -05:00
Adam Magness 1a2b0b2565 Implement xml functions
implement functions moved to xml class
2018-11-03 13:16:21 -04:00
Adam Magness c9a8974165 Logger Levels
update logger levels
2018-10-30 09:48:09 -04:00
Adam Magness 49eff56e5d Core Logger
implement log() function.
more to squash


Core Logger Class

implement log() function
2018-10-29 19:40:18 -04:00
Tobias Diekershoff 3f6239bb2b some more get_hostname to getHostName changes 2018-10-11 13:24:39 +02:00
Philipp Holzer 2e8d9ba39b
Bugfixing for CurlResult 2018-10-11 07:40:57 +02:00
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Michael a5183985d1 One single notice ... 2018-09-09 06:25:55 +00:00
Michael 2db9b497bd removed code 2018-08-29 17:55:36 +00:00
Michael 5e86fb1b9e Pumpio does connect now again. 2018-08-29 17:09:19 +00:00
Michael 564235debd Removed notices that still had been creeping around ... 2018-08-17 03:23:00 +00:00
Michael Vogel 28b699573c Use the Item class instead of DBA calls when possible (#705) 2018-08-15 07:23:53 +02:00
Michael Vogel 10086f940d And again removed notices (#700)
* And again removed notices

* Sometimes there doesn't seem to be a content, then we don't continue
2018-08-12 07:52:21 +02:00
Roland Häder c8371bc521 Rewrite: (#680)
- replace usage of deprecated NETWORK_* with Protocol::*
2018-08-11 22:40:48 +02:00
Michael c0d7330b45 We should quit on not getting data 2018-08-01 19:14:28 +00:00
Michael 74353e7f2d Some more notices in addons 2018-08-01 17:28:55 +00:00
Michael 06c6bfc88d And some more notices ... 2018-07-31 18:10:34 +00:00
Michael 7f02ca32c9 And now for something complete different ... notices 2018-07-31 16:22:05 +00:00
Michael 8e77528e23 Notice fix: The variabe had never been defined 2018-07-31 02:04:45 +00:00
Roland Häder 93fb5a6151 [cross] Moved CONTACT_* constants to class Friendica\Model\Contact (#670)
* [cross] Moved CONTACT_* constants to class Friendica\Model\Contact

* Other PR request:
- renamed Contact::CONTACT_IS_* to just plain Contact::* :-) (MrPetovan)
2018-07-28 01:34:38 -04:00
Michael Vogel 31d0fac64a Some more notices fixed (#672) 2018-07-26 15:20:12 -04:00
Michael Vogel 429b9c9f4a
Merge branch 'develop' into notices-again 2018-07-24 04:19:48 +02:00
Hypolite Petovan 522e8e58c2 [multiple] Rename dbesc to DBA::escape 2018-07-23 15:35:22 -04:00
Hypolite Petovan f4ad0d3721 Rename DBA::is_result to DBA::isResult 2018-07-23 15:02:59 -04:00
Hypolite Petovan 332ea212b5 Rename DBM method calls to DBA method calls 2018-07-23 15:02:10 -04:00
Roland Häder a9da9db7eb [pumpio] Fixes/imports: (#661)
* [pumpio] Fixes/imports:
- added curly braces and spaces for better readability
- merged 2 `if()` blocks into one for lesser nested code blocks
- added type-hint `App` and `array` where applyable
- better "import" (`use` under PHP) classes and not reference them directly,
  reducing and improving readability

* [pumpio] Fixes:
- x() is deprecated, let's use !empty() instead
- added spaces for better readability

* [pumpio] Fixes:
- added missing App "imports" (thanks to MrPetovan)
- added type-hint array for $b
- added some spaces
2018-07-22 12:01:05 -04:00
Michael 1f9c353bae And again some removed notices 2018-07-22 06:41:30 +00:00
Hypolite Petovan 57505bdf82 [multiple] Rename Friendica\Database\dba to Friendica\Database\DBA 2018-07-20 08:20:48 -04:00
Tobias Diekershoff 9463696159
Merge pull request #650 from annando/post-type
We don't store the "type" parameter anymore
2018-07-20 12:53:12 +02:00
Hypolite Petovan abc76a42ae [multiple] Move \dba to \Friendica\Database\dba
- Updated use statement lists
2018-07-19 22:18:02 -04:00
Michael Vogel 3940618a4a
Merge pull request #633 from MrPetovan/task/4889-move-config-to-config
Move configuration to config/
2018-07-18 11:04:38 +02:00
Michael cdd510909f We don't store the "type" parameter anymore 2018-07-18 05:49:41 +00:00
Michael Vogel e74ccf35c9 Some notices had been removed / expiring of item related tables in twitter (#643)
* Some notices had been removed / expiring of item related tables in twitter

* Some more ...
2018-07-15 14:40:20 -04:00
Hypolite Petovan 9e1e088c09 [various] Replace direct accesses to $a->config with Config::get 2018-07-10 08:41:32 -04:00
Hypolite Petovan 9cc5f29dad [pumpio] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:41:31 -04:00
Michael Vogel 475299e642 Avoid warnings in addons (#639)
* Avoid warnings in addons

* And some warnings removed

* And more ...

* And some more ...

* Added comment

* And again ...

* And again ...

* Partly reworked "newmemberwidget"

* And more warnings ...

* The next round
2018-07-10 08:30:23 -04:00
Michael 5e72da205c And again .. 2018-06-28 16:43:06 +00:00
Michael a4b61a4157 Even more standards 2018-06-28 16:39:25 +00:00
Michael 26541c5b75 It's all about standards ... 2018-06-28 05:21:13 +00:00
Michael 337464c6b0 Fix: Wrong variable name in "if" / Some reworked parts 2018-06-24 05:02:09 +00:00
Michael f8916bf9d9 Pumpio: Fix for wrong item class function call 2018-06-23 10:51:45 +00:00
Tobias Diekershoff 9bec9f2e9a missing use DBM 2018-06-19 18:34:40 +02:00
Michael 0d204c07da More item calls have been converted to current functions 2018-06-18 05:15:46 +00:00
Michael 392bb7d5aa Remove direct item sql queries 2018-06-17 06:20:47 +00:00
Michael e1714de8ad New function for generating item URIs 2018-06-16 06:46:25 +00:00
Michael 476302afc5 Return values 2018-05-29 12:36:44 +00:00
Michael 5c668bd6e9 Changed function that will be private in the future 2018-05-29 05:24:25 +00:00
Hypolite Petovan ab0f359602 Replace htmlt2* with HTML class methods
- Remove references to include/html2*.php
2018-03-07 16:48:34 -05:00
Hypolite Petovan 88ca2f5a1e Remove references to include/bbcode.php 2018-02-14 22:04:06 -05:00
Hypolite Petovan 91fd77af3b Refactor bbcode() into BBCode::convert() 2018-02-14 21:43:40 -05:00
Hypolite Petovan f4e38b6ee9 Fix use statements 2018-02-14 21:43:27 -05:00
Michael d29890613e Simpler form 2018-02-06 16:24:35 +00:00
Michael 8b049a96bd Direct calls to the database are replace by class calls to the item class 2018-02-06 14:24:24 +00:00
Hypolite Petovan 1900da6c42 Move Temporal::convert() to DateTimeFormat::convert() 2018-02-03 11:40:39 -05:00
Hypolite Petovan cbc89d147d Add Temporal::utc() shorthand to Temporal::convert() 2018-02-03 11:40:39 -05:00
Hypolite Petovan e4f32f8ac8 Add Temporal::utcNow() 2018-02-03 11:40:38 -05:00
Hypolite Petovan 6d23de1bdb Add Temporal::MYSQL constant 2018-02-03 11:40:38 -05:00
Hypolite Petovan b24690e8df Refactor datetime_convert() into Temporal::convert() 2018-02-03 11:40:38 -05:00
Hypolite Petovan 48935de469 [pumpio] Fix comment 2018-01-30 23:42:22 -05:00
Michael 229b21d7b2 New methods in item class 2018-01-28 11:19:38 +00:00
Adam Magness f151406355 Review updates
update renamed and moved functions
2018-01-27 11:23:04 -05:00
Adam Magness ca3c45101e Network was moved to src
update all function calls to use class, insert use statements and remove require_once statements
2018-01-27 08:52:02 -05:00
Adam Magness b191d5716c Remove sprintf with translations
don't use sprintf with translation functions
2018-01-23 22:59:20 -05:00
Adam Magness f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness 3db056fe79 Other addons
found a few more
2018-01-22 17:58:55 -05:00
Adam Magness 96c41e5623 Update strings
update strings to contain addon
2018-01-20 11:01:59 -05:00
Adam Magness 0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00
Michael 3b093a1bff We now use the new delete function for items 2018-01-19 05:36:01 +00:00
Hypolite Petovan 27b60e003f Use short form array syntax everywhere 2018-01-15 08:15:33 -05:00
Hypolite Petovan a66a4959f5 Rename selectOne to selectFirst 2018-01-10 08:37:11 -05:00
Hypolite Petovan 3e141d268e Fix formatting 2018-01-09 22:27:40 -05:00
Hypolite Petovan ca6e477701 Replace dba::select(limit => 1) by dba::selectOne() 2018-01-09 22:27:30 -05:00
Hypolite Petovan 58495893b9 Remove group_member.uid in pumpio 2017-12-14 22:52:08 -05:00
Hypolite Petovan 6e6f64a537 Remove references to include/group.php 2017-12-09 13:50:44 -05:00
Hypolite Petovan 2dc299ff17 Use new Model methods for group 2017-12-09 13:50:29 -05:00
Hypolite Petovan 31823eb729
Revert "Revert "Move objects to src"" 2017-12-08 00:18:01 -05:00
Michael Vogel cf45cafea2
Revert "Move objects to src" 2017-12-08 05:24:41 +01:00
Hypolite Petovan 34396fedfe Move Objects to Model
- Object\Photo -> Object\Image and Model\Photo
- Object\Contact -> Model\Contact
- Model\GlobalContact -> Model\GContact
2017-12-07 20:16:42 -05:00
Michael e8975125cf Some includes hadn't been removed 2017-12-01 22:37:46 +00:00
Adam Magness 7b6bc4777c Updates
Updates from review changes to main friendica project
2017-11-29 17:38:05 -05:00
Adam Magness 30fa9ac76c Photo to namespace
updates for Photo class moving to Friendica\Object namespace.
2017-11-29 12:38:39 -05:00
Michael b3d73b1255 Publiv forum posts aren't transmitted via the connectors anymore 2017-11-25 23:56:18 +00:00
Hypolite Petovan ec0c2e837d Move Contact to src
- Add relevant use statements
- Change method calls
- Remove mentions to include/Contact.php
2017-11-19 17:09:54 -05:00
Adam Magness b638efe8f9 GContact renamed
Rename and update references for GlobalContact
2017-11-13 12:20:30 -05:00
Adam Magness 9c618c80af Review updates
changes from review for function name changes.
2017-11-13 01:52:26 -05:00
Adam Magness 7be5dd110c GContact moved to src
Update references to socgraph to GContact namespace functions. Related to https://github.com/friendica/friendica/issues/3878
2017-11-12 23:33:14 -05:00
Tobias Diekershoff 916c359eb0 use pconfig::delete in pumpio addon 2017-11-11 07:23:15 +01:00
Hypolite Petovan 42eefed6e6
Merge pull request #445 from annando/new-worker
Support for the new worker class
2017-11-10 14:49:54 -05:00
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
Michael 3d907bfc53 Support for the new worker class 2017-11-05 15:07:52 +00:00
Michael 642ab7f76f "remote self" should work now with the addons 2017-09-06 16:16:33 +00:00
Michael 582e5d9bcc Issue 3636: Avoid warning messages 2017-08-20 20:51:07 +00:00
Hypolite Petovan 8fa3f2415a Replace and/AND and or/OR by && and || 2017-06-08 21:20:27 -04:00
Michael 12994aaccd Deprecated parts removed 2017-03-09 06:58:36 +00:00
Michael fd0ef2f2c7 Pumpio: Optimised query 2017-01-17 19:01:27 +00:00
Michael 21605a52c9 Some speed improvements 2017-01-15 12:23:40 +00:00
Michael bd791b95ac pump.io: Store the id, optimized SQL query 2016-12-09 16:23:42 +00:00
Michael Vogel c5ff442c39 Make it work with master branch, part 2 2016-07-02 12:24:32 +02:00
Michael Vogel edbf318262 Make pumpio available for the master branch 2016-07-02 12:18:51 +02:00
Michael Vogel 2baf1090c3 Pumpio now has a better contact management 2016-07-02 11:22:31 +02:00
Michael Vogel aee1165eb1 Pumpio: Posted videos look better now 2016-05-15 23:18:18 +02:00
Michael Vogel 91757d72d8 App.net/Pump.io/GNU Social/Twitter: Support for new notifications 2016-02-13 13:44:57 +01:00
Michael Vogel bed435d76a Updated function call for updating the global contacts. 2016-01-06 15:10:22 +01:00
Michael Vogel 3b54203d80 The gcontact table will now be filled instead of the unique_contacts 2016-01-05 15:35:49 +01:00
Michael Vogel bf52de030f Updated addon descriptions and readme files for several addons. 2015-11-14 09:22:32 +01:00
Michael Vogel ba560c191b Improved reachable check 2015-11-03 01:10:07 +01:00
Michael Vogel f48b4ae535 Pumpio: Timeout should now work 2015-11-03 00:42:04 +01:00
Michael Vogel efac4cfbf4 Only execute the sync if the pumpio plugin is enabled 2015-09-26 11:17:12 +02:00
Michael Vogel b2508c127f Pumpio: Start the syncronisation as a forked process to avoid stale connections 2015-09-13 19:08:10 +02:00
Michael Vogel bcd20d5763 The "id" field is now filled in the notifications. This is needed for the new condensed notifications. 2015-04-26 14:43:42 +02:00
Michael Vogel e98c299cd2 Support for new "share_header" function 2015-04-06 14:04:40 +02:00
Michael Vogel 584f58e573 Improved loop detection for Google+, Pump.io, Twitter and GNU Social 2015-03-22 08:55:45 +01:00
Michael Vogel 43f43cb508 pumpio-Bugfix: Comments had a wrong network value in some cases. 2015-03-09 20:03:48 +01:00
Michael Vogel 4769c81e26 GNU Social, Pump.io, Twitter: Improved check for posts that originally come from friendica to prevent mirroring them. 2015-02-08 10:48:04 +01:00
Michael Vogel a8a37ee6fc app.net, acebook, pumpio, statusnet, twitter: Support for the new database fields in contact and unique_contacts. 2015-01-09 07:07:07 +01:00
Michael Vogel 029726c1df pumpio: Threads should be now more complete than before. (Due to some flaws in the pumpio-api htere were mostly missing some comments) 2014-11-10 23:00:39 +01:00
Michael Vogel 1766a42b1a pumpio: prevent a warning message because of a missing parameter 2014-08-25 14:19:09 +02:00
Michael Vogel 3ec6970d09 The GUID in the link to the items has to be encoded, since it could contain special characters 2014-08-09 09:13:13 +02:00
Michael Vogel c95f70d449 appnet, fbsync, pumpio, statusnet, twitter: Setting the object-type according to the posting
Bugfix for replies from pumpio to pictures.
2014-07-22 00:40:02 +02:00
Michael Vogel ca9bd8b877 Removing blanks with tabs 2014-06-10 20:13:11 +02:00
Michael Vogel 2284e21c0a Re-enabling a once stopped mirroring now doesn't flood the timeline with old posts anymore. 2014-05-29 22:10:54 +02:00
Michael Vogel 2394ee288a pump.io: Removed some debug output 2014-05-21 06:43:11 +02:00
Michael Vogel 4741beffe3 pump.io: preventing that a reenabling of the mirror option causes a flood of old posts 2014-05-16 07:50:09 +02:00
Michael Vogel a43f2041d3 pump.io: Mirroring looked for the wrong date. Thanks to sazius for finding this. 2014-05-15 23:20:11 +02:00
Michael Vogel e1810b5e72 Pumpio: Showing the side menu in the connection process. 2014-05-03 11:53:48 +02:00
Michael Vogel a477266bd9 Mark facebook and faceboo_restrict as unsupported, change version number of fbsync. 2014-04-29 14:23:39 +02:00
Michael Vogel 2e96c60a47 Reduce the opacity of the network settings icon when disabled. 2014-04-24 16:18:36 +02:00
Michael Vogel e97a64a735 The connector settings are now with logo. 2014-04-24 10:33:16 +02:00
Michael Vogel ce997a0367 The title for the settings now contain the words "import, "export" or "Mirror" according to their function. 2014-04-04 11:14:45 +02:00
Michael Vogel 503ec7d072 Removed the word "Settings" from the settings. This information is redundant. 2014-03-16 20:50:36 +01:00
Michael Vogel c4578aafa0 Improved SQL scripts 2014-03-16 19:13:57 +01:00
Michael Vogel bbc8a1328d pumpio, statusnet, tumblr, twitter, wordpress: Changed the way, shares are displayed
twitter: Look for the entities when importing tweets.
2014-01-26 09:53:12 +01:00
Michael Vogel d45b869d46 pumpio: Unique contacts are now used as well. 2014-01-02 22:30:37 +01:00
tobiasd 0b459e8379 Merge pull request #166 from annando/master
inflate/deflate settings
2013-12-01 02:25:26 -08:00
Michael Vogel 27ccb34334 pumpio: inflate/deflate settings, problem with embedded pictures 2013-11-30 21:22:41 +01:00
Tobias Diekershoff 5c5c23acb0 wording submit -> save settings 2013-11-19 14:10:27 +01:00
tobiasd 14676e5b0d Merge pull request #157 from annando/master
Bidirectional twitter sync - and some small fixes
2013-10-20 05:55:45 -07:00
Michael Vogel 8133e1ced2 Merge remote-tracking branch 'upstream/master' 2013-10-20 13:01:06 +02:00
Michael Vogel 29b149b8b5 pumpio: switch for a reshare added to let it look differently.. 2013-10-20 12:29:39 +02:00
Michael Vogel 9ad282fe93 pumpio: Avoiding some SQL warnings 2013-10-19 00:27:22 +02:00
Tobias Diekershoff e3959ff3c7 pumpio: PHP fixes for 5.4 not warn all time 2013-10-10 12:10:40 +02:00
Michael Vogel 88a0cac5a6 pumpio: no redirection after successfull authentification. 2013-10-03 13:41:08 +02:00
Michael Vogel 4ceb72d208 Merge remote-tracking branch 'upstream/master' 2013-10-02 22:20:32 +02:00
Michael Vogel bcf5b407c5 pumpio: changed logger 2013-10-02 22:19:28 +02:00
Tobias Diekershoff 4fa6a3015f array_reverse in line 1233 sometimes got no array as 1st arg 2013-10-02 08:38:56 +02:00
Michael Vogel 8e799b0216 pumpio: Connecting to pumpio should be made much more easier 2013-09-29 21:56:37 +02:00
Michael Vogel b8213b207a pumpio: corrected some typos 2013-09-29 12:12:17 +02:00