Commit Graph

275 Commits (1f60d4e9c51866ce1e44dff67f88f09b84399b89)

Author SHA1 Message Date
Philipp Holzer 8562422ee2
Move internal recursion-counter to the end of all cur/fetchUrl parameters 2019-06-10 14:34:53 +02:00
Hypolite Petovan 09967cc664 [various] Remove /display/{nick}/{id} URL structure publishing 2019-05-05 22:03:22 -04:00
Hypolite Petovan c2970ad6d5 [various] Replace HTML string by structured array in jot_networks hook 2019-03-24 22:44:50 -04:00
Michael c60b749469 Avoid some notices in the statusnet addon 2019-03-03 05:28:58 +00:00
Philipp Holzer 0e264465ac
Split goaway to System::externalRedirectTo() and App->internalRedirect() 2019-02-04 01:50:39 +01:00
Philipp Holzer e825cbc7a1
renamed System::redirectTo to System::redirect 2019-02-04 01:50:30 +01:00
Philipp Holzer a1254b4c85
wrong indent 2019-02-04 01:50:17 +01:00
Philipp Holzer 3d3a11fa46
Replaced goaway() with System::redirectTo() 2019-02-04 01:50:15 +01:00
Tobias Diekershoff 08206fdcc0 Merge branch 'master' into develop 2019-01-21 10:04:26 +01:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Hypolite Petovan 85b5715a44 Remove require include/* 2018-12-26 00:36:43 -05:00
Michael Vogel 742fffe7e7
Merge pull request #779 from MrPetovan/task/remove-x
Replace x() by !empty() or defaults()
2018-12-01 16:34:08 +01:00
Hypolite Petovan d836593a3b Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
2018-11-30 09:11:56 -05:00
Hypolite Petovan 8f72b9ca9a [various] Remove useless rawurlencode calls 2018-11-22 09:39:38 -05:00
Michael d1919f0497 Added a hook to check if the hook needs to be forked at all 2018-11-10 16:20:19 +00:00
Adam Magness 4a667f640f Function renamed
update function calls
2018-11-09 13:32:45 -05:00
Adam Magness 1ac32c622e Functions moved to Strings class
implement functions from Strings class
2018-11-09 07:09:15 -05:00
Adam Magness 9079480d4a move to Renderer class
update functions calls for new Renderer class.
2018-10-31 10:55:15 -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
Philipp Holzer d197bf4c2b
Bugfix - Replacing goaway() 2018-10-24 20:09:36 +02:00
Hypolite Petovan 2454a963e0 [statusnet] Fix Undefined variable: id 2018-10-16 20:06:44 -04:00
Michael f17f7cc5bf Statusnet: One notice removed 2018-10-13 17:53:46 +00:00
Tobias Diekershoff 3f6239bb2b some more get_hostname to getHostName changes 2018-10-11 13:24:39 +02:00
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Michael 9ba24d0de9 One tiny little notice got hide deep in the code ... 2018-08-19 07:21:45 +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
Roland Häder c8371bc521 Rewrite: (#680)
- replace usage of deprecated NETWORK_* with Protocol::*
2018-08-11 22:40:48 +02:00
Michael bf1c968788 Issue 3535: Don't use the GNU Social address if the connector isn't activated 2018-08-09 19:38:26 +00:00
Michael 54b62fab1d And again removed notices 2018-08-09 04:16:56 +00:00
Michael 7f02ca32c9 And now for something complete different ... notices 2018-07-31 16:22:05 +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
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
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 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
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 a39b9b47d2 Some gravity clarification 2018-06-28 05:21:57 +00:00
Michael 8e24de90ba Some more replaced item SQL queries 2018-06-21 06:23:27 +00:00
Michael 5e4f985243 Don't use "count" 2018-06-17 17:50:13 +00:00
Michael c66dcf96ac New user based item function 2018-06-17 17:04:23 +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
Hypolite Petovan aaf031258f Move Model\Item::getPlaintextPost to Model\ItemContent::getPlaintextPost 2018-04-21 20:50:58 -04:00
Hypolite Petovan 776aae9147 Move BBCode::toPlaintext to Item::getPlaintextPost 2018-04-21 04:28:02 -04: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
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 cb2c9f836f [statusnet] Remove reference to Slinky 2018-01-30 23:42:42 -05:00
Hypolite Petovan 429448786d Move StatusNet addon dependencies in own library subfolder
- Move CodebirdSN to library/codebirdsn.php
- Move StatusNetOAuth class to library/statusnetoauth.php
- Copy TwitterOAuth to library/twitteroauth.php
- Copy OAuth1 to library/OAuth1.php
2018-01-28 22:25:31 -05:00
Michael Vogel e090ee2990
Revert "Move TwitterOAuth to Composer, part 2 : StatusNet and Tumblr" 2018-01-28 23:47:32 +01:00
Hypolite Petovan 7afef6b87f Move StatusNet addon dependencies in own library subfolder
- Move CodebirdSN to library/codebirdsn.php
- Move StatusNetOAuth class to library/statusnetoauth.php
- Copy TwitterOAuth to library/twitteroauth.php
- Copy OAuth1 to library/OAuth1.php
2018-01-28 14:38:03 -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 9e3ebd61a2 Method moved to Plaintext
the shorten method moved to Plaintext class
2018-01-26 20:30:38 -05:00
Adam Magness 9c9088069a Plaintext was renamed to BBCode
update class name
2018-01-26 20:04:00 -05:00
Adam Magness 7b95efedd1 Update function calls
update function calls and remove require_once
2018-01-26 19:26:37 -05:00
Adam Magness f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness c71f7b0e1a Update function names
update function names and hook calls
2018-01-20 08:57:41 -05:00
Adam Magness 0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05: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
Michael Vogel 007cbc881e
Merge pull request #483 from MrPetovan/task/fix-scrutinizer-issues
Fix unused code in buffer, statusnet and twitter
2018-01-04 20:59:43 +01:00
Michael Vogel 7dcfa83312
Merge pull request #480 from MrPetovan/task/4092-move-auth-to-src
Move auth to src
2018-01-04 18:43:46 +01:00
Hypolite Petovan ba96796363 Fix unused code in buffer, statusnet and twitter
- Remove unused argument in plaintext()
2018-01-04 12:15:53 -05:00
Hypolite Petovan bfc8ede4e8 Use Content\OEmbed
- Remove references to include/oembed
2017-12-31 21:06:03 -05:00
Hypolite Petovan 575a285951 Use Login module
- Simplify goaway calls
2017-12-31 21:04:02 -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 7857d1e4a0 Massive reformatting of StatusNet
- Fixed unreachable code line 1550
- Renamed the relevant use statements
2017-12-07 20:47:23 -05:00
Michael 56bc1bae18 Some more old photos ... 2017-12-02 08:03:59 +00: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
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 64369ebfa4 use pconfig::delete in gnusocial addon 2017-11-11 07:22:24 +01:00
Adam Magness 718f739df2 PConfig update
updates to use PConfig::load()
2017-11-07 11:10:01 -05:00
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
Michael 642ab7f76f "remote self" should work now with the addons 2017-09-06 16:16:33 +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 b59c0e54a8 The URI of mirrored posts are now looking more standard 2016-11-15 06:36:52 +00:00
Michael dea5b33632 Prevent posting loops 2016-11-07 05:23:19 +00:00
Michael Vogel 2baf1090c3 Pumpio now has a better contact management 2016-07-02 11:22:31 +02:00