Commit Graph

280 Commits

Author SHA1 Message Date
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 6c443aeaf0 Move addon-specific config to config/addon.ini.php 2018-07-11 22:56:52 -04:00
Hypolite Petovan d86bf8eb45 [pumpio/twitter] Replace global $a with BaseObject::getApp() 2018-07-10 08:41:32 -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
Tobias Diekershoff 93c564ecc5 updated CS translation of the pumpio addon THX Aditoo 2018-06-12 16:19:21 +02:00
Hypolite Petovan 97108080c2
Merge pull request #608 from annando/delete
Changed function that will be private in the future
2018-05-29 10:00:18 -04: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
Tobias Diekershoff fed141ba05 update to the FI translations THX kris 2018-05-20 19:38:15 +02:00
Tobias Diekershoff 50f5c7e251 update to the FI translation THX Kris 2018-04-17 07:21:08 +02:00
Tobias Diekershoff eb5eb5986d update to the FI translations 2018-04-09 15:00:17 +02:00
Tobias Diekershoff 85815a8810 added FI translations to many addons THX Kris 2018-04-06 13:58:38 +02:00
Tobias Diekershoff 29b930ade4 pumpio PL translation 2018-04-01 18:45:34 +02:00
fabrixxm 3f7685d8a8 Merge branch 'master' into develop 2018-03-23 11:52:12 +01:00
fabrixxm bfd8e37fb8 Update IT strings 2018-03-19 21:28:00 +01: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
Tobias Diekershoff f8d9efe8c7 some files were executable, now they are not 2017-12-07 14:26:26 +01: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 18784a484b Additional work for PR 3778 2017-10-12 16:10:42 +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
Michael c431befd8e There is only the worker left, so we can remove some old stuff 2017-06-21 12:03:06 +00:00
Hypolite Petovan 8fa3f2415a Replace and/AND and or/OR by && and || 2017-06-08 21:20:27 -04:00
Hypolite Petovan 0111149248 Add use Friendica\App to addons 2017-04-30 19:40:55 -04:00
Tobias Diekershoff bb04495f5b Merge pull request #407 from annando/removed_lockpath
Deprecated parts removed
2017-03-09 09:23:46 +01:00
Michael 12994aaccd Deprecated parts removed 2017-03-09 06:58:36 +00:00
Fabio b5701ac885 Update IT strings 2017-01-18 14:04:53 +01: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
Tobias Diekershoff 631c7724b6 ES translation work THX Albert 2016-11-18 07:57:19 +01:00
Tobias Diekershoff aa8c44dcc8 some more PT BR translations THX Beatriz Vital 2016-08-23 07:46:05 +02: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
Simó Albert i Beltran 2639993766 Fix pumpio README typo 2015-10-03 12:03:55 +02:00
Michael Vogel efac4cfbf4 Only execute the sync if the pumpio plugin is enabled 2015-09-26 11:17:12 +02:00
Michael Vogel e5b0d810e2 Merge remote-tracking branch 'upstream/master' 2015-09-13 19:09:31 +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
Tobias Diekershoff 09ba184198 FR update to the addon translations 2015-08-31 18:56:09 +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
Tobias Diekershoff 4533ed9a34 updating the addon translations, missed some files due missing git fu 2015-04-03 13:17:32 +02:00
Tobias Diekershoff be2e3e6bf7 update of the addon translations 2015-04-03 12:30:50 +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
Tobias Diekershoff 1038ae0174 IT: imported translations 2014-09-14 22:01:44 +02:00
tobiasd e60a9e61fd Merge pull request #211 from tobiasd/20140622
get translations from transifex over here
2014-09-06 23:27:31 +02:00
Tobias Diekershoff 214e7d9b1c CS: added translation from transifex 2014-09-06 17:59:46 +02:00
Tobias Diekershoff 951f9dc006 RO: added translation for the addons from transifex 2014-09-06 17:58:41 +02:00
Tobias Diekershoff fed12ae5a9 added more messages.po files for addons 2014-09-06 13:15:05 +02: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
Michael Vogel 85e3edcb4f fbsync: Code reworked. Still not ready. 2013-10-27 22:27:33 +01: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